/*!
Theme Name: Botiga
Theme URI: https://athemes.com/theme/botiga/
Update URI: https://cero47.com/cero47-custom-theme/
Author: aThemes
Author URI: https://athemes.com
Description: Botiga is a fast, lightweight WooCommerce theme for building modern online stores and eCommerce websites. It works with both Elementor and the WordPress block editor to assemble pages quickly. A clean, modern design with deep customization keeps your shop, product, cart, and checkout pages on brand. Built from the ground up with clean code for strong performance and Core Web Vitals, Botiga is fully responsive, mobile-optimized, translation- and RTL-ready, and SEO-friendly, with dedicated WooCommerce styling and layout options to help you sell more. Trusted by 10,000+ stores with a 4.9-star rating. Start fast by importing a ready-made store demo: https://athemes.com/theme/botiga/#demos
Version: 2.5.0
Tested up to: 7.1
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botiga
Tags: e-commerce, custom-menu, custom-logo, grid-layout, featured-images, right-sidebar, left-sidebar, custom-colors, editor-style, theme-options, threaded-comments, translation-ready, blog, one-column, two-columns, rtl-language-support, custom-background, custom-header, footer-widgets, post-formats, wide-blocks, full-width-template

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Botiga is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/* =========================================================
   CERO47 - FORMULARIOS CONSISTENTES EN TODO EL SITIO
   Ningún input cambia de color al enfocar/autocompletar.
   Selects y valores seleccionados quedan centrados verticalmente.
   ========================================================= */

body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
body textarea,
body select {
	background-color: #fff !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	box-shadow: none !important;
}

body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):hover,
body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):active,
body textarea:hover,
body textarea:focus,
body textarea:active,
body select:hover,
body select:focus,
body select:active {
	background-color: #fff !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
	box-shadow: none !important;
	outline: none !important;
}

/* Chrome / Edge / Safari autofill: conservar fondo blanco */
body input:-webkit-autofill,
body input:-webkit-autofill:hover,
body input:-webkit-autofill:focus,
body input:-webkit-autofill:active,
body textarea:-webkit-autofill,
body textarea:-webkit-autofill:hover,
body textarea:-webkit-autofill:focus,
body textarea:-webkit-autofill:active,
body select:-webkit-autofill,
body select:-webkit-autofill:hover,
body select:-webkit-autofill:focus,
body select:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 1000px #fff inset !important;
	box-shadow: 0 0 0 1000px #fff inset !important;
	-webkit-text-fill-color: #111 !important;
	color: #111 !important;
	caret-color: #111 !important;
	transition: background-color 9999s ease-out 0s !important;
}

/* Select2 / WooCommerce: nunca gris/azul y texto centrado verticalmente */
body .select2-container--default .select2-selection--single {
	background: #fff !important;
	box-shadow: none !important;
}

body .select2-container--default .select2-selection--single .select2-selection__rendered {
	height: 100% !important;
	display: flex !important;
	align-items: center !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	color: #111 !important;
	background: #fff !important;
	line-height: normal !important;
}

body .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: #666 !important;
}

body .select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 50% !important;
	transform: translateY(-50%) !important;
}

body .select2-dropdown,
body .select2-search--dropdown,
body .select2-results,
body .select2-results__options,
body .select2-results__option {
	background-color: #fff !important;
	color: #111 !important;
}

body .select2-search--dropdown .select2-search__field,
body .select2-search--dropdown .select2-search__field:hover,
body .select2-search--dropdown .select2-search__field:focus {
	background: #fff !important;
	color: #111 !important;
	-webkit-text-fill-color: #111 !important;
}

/* Hover seleccionado limpio: gris muy suave, nunca bloque oscuro */
body .select2-container--default .select2-results__option--highlighted[aria-selected],
body .select2-container--default .select2-results__option--highlighted[data-selected] {
	background: #f2f2ef !important;
	color: #111 !important;
}

body .select2-container--default .select2-results__option[aria-selected="true"],
body .select2-container--default .select2-results__option[data-selected="true"] {
	background: #f2f2ef !important;
	color: #111 !important;
	font-weight: 700 !important;
}

/* Select nativo: valor centrado verticalmente */
body select {
	min-height: 52px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	line-height: 52px !important;
}

/* CERO47 - formularios siempre blancos y consistentes */
html body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html body textarea,
html body select,
html body .woocommerce input.input-text,
html body .woocommerce textarea {
	background-color:#fff !important;
	background-image:none !important;
	color:#111 !important;
	-webkit-text-fill-color:#111 !important;
	box-shadow:none !important;
}

html body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):hover,
html body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):focus,
html body input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):active,
html body textarea:hover,
html body textarea:focus,
html body textarea:active,
html body select:hover,
html body select:focus,
html body select:active,
html body .woocommerce input.input-text:hover,
html body .woocommerce input.input-text:focus,
html body .woocommerce input.input-text:active {
	background-color:#fff !important;
	background-image:none !important;
	color:#111 !important;
	-webkit-text-fill-color:#111 !important;
	box-shadow:none !important;
	outline:none !important;
}

/* Chrome / Edge / Safari autofill: NO cambiar de color */
html body input:-webkit-autofill,
html body input:-webkit-autofill:hover,
html body input:-webkit-autofill:focus,
html body input:-webkit-autofill:active,
html body textarea:-webkit-autofill,
html body textarea:-webkit-autofill:hover,
html body textarea:-webkit-autofill:focus,
html body textarea:-webkit-autofill:active,
html body select:-webkit-autofill,
html body select:-webkit-autofill:hover,
html body select:-webkit-autofill:focus,
html body select:-webkit-autofill:active,
html body .woocommerce input.input-text:-webkit-autofill,
html body .woocommerce input.input-text:-webkit-autofill:hover,
html body .woocommerce input.input-text:-webkit-autofill:focus,
html body .woocommerce input.input-text:-webkit-autofill:active {
	-webkit-appearance:none !important;
	appearance:none !important;
	color-scheme:light !important;
	background-color:#fff !important;
	background-image:none !important;
	-webkit-box-shadow:0 0 0 1000px #fff inset !important;
	box-shadow:0 0 0 1000px #fff inset !important;
	-webkit-text-fill-color:#111 !important;
	color:#111 !important;
	caret-color:#111 !important;
	transition:background-color 9999s ease-out 0s !important;
}

/* Select2: valores perfectamente centrados y siempre blancos */
html body .select2-container--default .select2-selection--single {
	display:flex !important;
	align-items:center !important;
	min-height:52px !important;
	background:#fff !important;
	box-shadow:none !important;
}
html body .select2-container--default .select2-selection--single .select2-selection__rendered {
	display:flex !important;
	align-items:center !important;
	width:100% !important;
	height:100% !important;
	line-height:normal !important;
	padding-top:0 !important;
	padding-bottom:0 !important;
	color:#111 !important;
	background:#fff !important;
}
html body .select2-container--default .select2-selection--single .select2-selection__arrow {
	top:50% !important;
	transform:translateY(-50%) !important;
}
html body .select2-container--default .select2-selection--single .select2-selection__placeholder {
	color:#666 !important;
}
html body .select2-dropdown,
html body .select2-search--dropdown,
html body .select2-results,
html body .select2-results__options,
html body .select2-results__option {
	background:#fff !important;
	color:#111 !important;
}
html body .select2-search--dropdown .select2-search__field,
html body .select2-search--dropdown .select2-search__field:hover,
html body .select2-search--dropdown .select2-search__field:focus {
	background:#fff !important;
	color:#111 !important;
	-webkit-text-fill-color:#111 !important;
}
html body .select2-container--default .select2-results__option--highlighted[aria-selected],
html body .select2-container--default .select2-results__option--highlighted[data-selected],
html body .select2-container--default .select2-results__option[aria-selected="true"],
html body .select2-container--default .select2-results__option[data-selected="true"] {
	background:#f2f2ef !important;
	color:#111 !important;
}

/* =========================================================
   CERO47 - AVISO DE PRODUCTO AÑADIDO
   ========================================================= */
body.woocommerce .woocommerce-notices-wrapper .woocommerce-message{
	margin:0 0 34px !important;
	padding:0 !important;
	border:0 !important;
	background:transparent !important;
	color:#111 !important;
	box-shadow:none !important;
}
body.woocommerce .woocommerce-notices-wrapper .woocommerce-message:before,
body.woocommerce .woocommerce-notices-wrapper .woocommerce-message:after{
	display:none !important;
	content:none !important;
}
body.woocommerce .c47-added-notice{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	align-items:center;
	gap:28px;
	width:100%;
	padding:24px 26px;
	border:1px solid #d9d9d4;
	border-left:4px solid #000;
	background:#f7f7f5;
	box-sizing:border-box;
}
body.woocommerce .c47-added-notice__copy{
	display:flex;
	flex-direction:column;
	gap:5px;
	min-width:0;
}
body.woocommerce .c47-added-notice__eyebrow{
	color:#6f6f6a;
	font-size:9px;
	line-height:1;
	font-weight:900;
	letter-spacing:.16em;
	text-transform:uppercase;
}
body.woocommerce .c47-added-notice__copy strong{
	color:#000;
	font-size:16px;
	line-height:1.25;
	font-weight:950;
}
/* Icono del carrito: conserva el enlace directo a /cart/ y nunca muestra
   la ventana del mini-carrito al pasar el cursor o recibir foco. */
html body .site-header-cart > .widget_shopping_cart,
html body .site-header-cart:hover > .widget_shopping_cart,
html body .site-header-cart:focus-within > .widget_shopping_cart,
html body.bt-mini-cart-hovered .site-header-cart > .widget_shopping_cart{
  display:none!important;visibility:hidden!important;opacity:0!important;
  pointer-events:none!important;
}
html body .site-header-cart .cart-contents{pointer-events:auto!important;cursor:pointer!important;}

/* CERO47 / bolita del carrito: conservar el fondo blanco y hacer visible
   la cifra negra, incluso si Botiga cambia el color de su cabecera. */
html body .bhfb-component-woo_icons .site-header-cart .cart-count .count-number,
html body .site-header-cart .cart-count .count-number {
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  background-color:#fff!important;
  border-color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:17px!important;
  text-align:center!important;
}

body.woocommerce .c47-added-notice__copy>span:last-child{
	color:#666;
	font-size:11px;
	line-height:1.45;
}
body.woocommerce .c47-added-notice__actions{
	display:flex;
	align-items:center;
	gap:12px;
	flex-wrap:wrap;
	justify-content:flex-end;
}
body.woocommerce .c47-added-notice__cart,
body.woocommerce .c47-added-notice__continue,
body.woocommerce .c47-added-notice__checkout{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:46px;
	padding:0 18px;
	border-radius:0 !important;
	text-decoration:none !important;
	font-size:9px;
	font-weight:950;
	letter-spacing:.08em;
	text-transform:uppercase;
	white-space:nowrap;
	box-sizing:border-box;
}
body.woocommerce .c47-added-notice__cart,
body.woocommerce .c47-added-notice__continue{
	border:1px solid #000;
	background:#fff;
	color:#000 !important;
}
body.woocommerce .c47-added-notice__cart:hover,
body.woocommerce .c47-added-notice__cart:focus,
body.woocommerce .c47-added-notice__continue:hover,
body.woocommerce .c47-added-notice__continue:focus{
	background:#efefec;
	color:#000 !important;
}
body.woocommerce .c47-added-notice__checkout{
	border:1px solid #000;
	background:#000;
	color:#fff !important;
}
body.woocommerce .c47-added-notice__checkout:hover,
body.woocommerce .c47-added-notice__checkout:focus{
	background:#222;
	color:#fff !important;
}
@media(max-width:760px){
	body.woocommerce .c47-added-notice{
		grid-template-columns:1fr;
		gap:18px;
		padding:20px;
	}
	body.woocommerce .c47-added-notice__actions{
		width:100%;
		justify-content:stretch;
	}
	body.woocommerce .c47-added-notice__cart,
	body.woocommerce .c47-added-notice__continue,
	body.woocommerce .c47-added-notice__checkout{
		flex:1 1 100%;
		width:100%;
	}
}

/* =========================================================
   CERO47 — páginas informativas: fondo BLANCO puro
   Sin crema / beige / amarillo.
   ========================================================= */

/* CONTACTO */
body.page-id-48,
body.page-id-48 .site,
body.page-id-48 .content-wrapper,
body.page-id-48 #primary,
body.page-id-48 .entry-content,
body.page-id-48 .c47contact,
body.page-id-48 .c47contact .main,
body.page-id-48 .c47contact .aside-email,
body.page-id-48 .c47contact input[type="text"],
body.page-id-48 .c47contact input[type="email"],
body.page-id-48 .c47contact select,
body.page-id-48 .c47contact textarea,
body.page-id-48 .c47contact .c47-upload-box,
body.page-id-48 .c47contact .wpcf7-response-output{
	background:#fff!important;
}

/* INFORMACIÓN */
body.page-id-30,
body.page-id-30 .site,
body.page-id-30 .content-wrapper,
body.page-id-30 #primary,
body.page-id-30 .entry-content,
body.page-id-30 .c47clear{
	background:#fff!important;
}
body.page-id-30 .c47clear{
	--white:#fff!important;
	--paper:#fff!important;
}
body.page-id-30 .c47clear .important,
body.page-id-30 .c47clear .menu a,
body.page-id-30 .c47clear .topics,
body.page-id-30 .c47clear .faq{
	background:#fff!important;
}

/* SEGUIMIENTO */
body.page-id-26,
body.page-id-26 .site,
body.page-id-26 .content-wrapper,
body.page-id-26 #primary,
body.page-id-26 .entry-content,
body.page-id-26 .c47track,
body.page-id-26 .c47track .main,
body.page-id-26 .c47track .help,
body.page-id-26 .c47track .woocommerce input.input-text,
body.page-id-26 .c47track .woocommerce-error,
body.page-id-26 .c47track .woocommerce-info,
body.page-id-26 .c47track .woocommerce-message{
	background:#fff!important;
}

/* LA MARCA */
body.page-id-19,
body.page-id-19 .site,
body.page-id-19 .content-wrapper,
body.page-id-19 #primary,
body.page-id-19 .entry-content,
body.page-id-19 .c47m,
body.page-id-19 .c47m .identity,
body.page-id-19 .c47m .labels{
	background:#fff!important;
}
body.page-id-19 .c47m{
	--white:#fff!important;
}

/* AYUDA */
html body.page-id-28,
html body.page-id-28 .site,
html body.page-id-28 .content-wrapper,
html body.page-id-28 #primary,
html body.page-id-28 .entry-content,
html body.page-id-28 .c47help,
html body.page-id-28 .c47help .hero,
html body.page-id-28 .c47help .main,
html body.page-id-28 .c47help .card{
	background:#fff!important;
}
html body.page-id-28 .c47help{
	--white:#fff!important;
	--paper:#fff!important;
}

/* MI CUENTA */
html body.page-id-147,
html body.page-id-147 .site,
html body.page-id-147 .content-wrapper,
html body.page-id-147 #primary,
html body.page-id-147 .entry-content{
	background:#fff!important;
}
html body.page-id-147 .c47-account__main,
html body.page-id-147 .c47-account .woocommerce-MyAccount-content,
html body.page-id-147 .c47-account .c47-welcome,
html body.page-id-147 .c47-account .c47-dash a,
html body.page-id-147 .c47-account .woocommerce-info,
html body.page-id-147 .c47-account .woocommerce-message,
html body.page-id-147 .c47-account .woocommerce-error,
html body.page-id-147 .c47-account table.shop_table,
html body.page-id-147 .c47-account table.woocommerce-orders-table,
html body.page-id-147 .c47-account table.shop_table th,
html body.page-id-147 .c47-account table.woocommerce-orders-table th,
html body.page-id-147 .c47-account .woocommerce-Address,
html body.page-id-147 .c47-account .woocommerce-Address-title .edit,
html body.page-id-147 .c47-account input,
html body.page-id-147 .c47-account textarea,
html body.page-id-147 .c47-account select{
	background:#fff!important;
	background-color:#fff!important;
	background-image:none!important;
}

/* SEGUIMIENTO — cubrir todos los fondos claros */
html body.page-id-26 .c47track,
html body.page-id-26 .c47track .main,
html body.page-id-26 .c47track .panel,
html body.page-id-26 .c47track .help,
html body.page-id-26 .c47track .strip,
html body.page-id-26 .c47track table.shop_table,
html body.page-id-26 .c47track .woocommerce input.input-text,
html body.page-id-26 .c47track .woocommerce-error,
html body.page-id-26 .c47track .woocommerce-info,
html body.page-id-26 .c47track .woocommerce-message{
	background:#fff!important;
}

/* CONTACTO — todos los controles y paneles claros */
html body.page-id-48 .c47contact,
html body.page-id-48 .c47contact .main,
html body.page-id-48 .c47contact .form-panel,
html body.page-id-48 .c47contact .aside-email,
html body.page-id-48 .c47contact input[type="text"],
html body.page-id-48 .c47contact input[type="email"],
html body.page-id-48 .c47contact select,
html body.page-id-48 .c47contact textarea,
html body.page-id-48 .c47contact .c47-upload-box,
html body.page-id-48 .c47contact .wpcf7-response-output{
	background:#fff!important;
}

/* INFORMACIÓN */
html body.page-id-30 .c47clear,
html body.page-id-30 .c47clear .important,
html body.page-id-30 .c47clear .find,
html body.page-id-30 .c47clear .menu a,
html body.page-id-30 .c47clear .topics,
html body.page-id-30 .c47clear .faq{
	background:#fff!important;
}
html body.page-id-30 .c47clear{
	--white:#fff!important;
	--paper:#fff!important;
}

/* LA MARCA — todas las secciones claras */
html body.page-id-19 .c47m,
html body.page-id-19 .c47m .identity,
html body.page-id-19 .c47m .labels,
html body.page-id-19 .c47m .section:not(.black):not(.closing){
	background:#fff!important;
}

/* TÉRMINOS / PRIVACIDAD */
html body.page-id-32,
html body.page-id-32 .site,
html body.page-id-32 .content-wrapper,
html body.page-id-32 #primary,
html body.page-id-32 .entry-content,
html body.page-id-34,
html body.page-id-34 .site,
html body.page-id-34 .content-wrapper,
html body.page-id-34 #primary,
html body.page-id-34 .entry-content{
	background:#fff!important;
}

/* WooCommerce y formularios generales: jamás crema/amarillo */
/* Fondo exterior oscuro: evita franjas blancas detrás del encabezado fijo
   y al alcanzar los límites del desplazamiento en cualquier página. */
html,
html body,
html body #page {
	background-color:#000!important;
}
html body .content-wrapper,
html body .woocommerce,
html body .woocommerce form,
html body .woocommerce .form-row,
html body .woocommerce input.input-text,
html body .woocommerce textarea,
html body .woocommerce select,
html body .select2-container--default .select2-selection--single{
	background-color:#fff!important;
}
html body .bhfb-header,
html body .site-header,
html body .site-footer,
html body #colophon{
	background-color:#000!important;
}

/* SELECT2 / MI CUENTA — selección negra, texto blanco */
html body .select2-container--default .select2-results__option--highlighted[aria-selected],
html body .select2-container--default .select2-results__option--highlighted[data-selected],
html body .select2-container--default .select2-results__option[aria-selected="true"],
html body .select2-container--default .select2-results__option[data-selected="true"]{
	background:#000!important;
	color:#fff!important;
}

/* FICHAS DE PRODUCTO — fondo blanco continuo en escritorio.
   El contenedor central ya es blanco; antes el fondo exterior negro
   dejaba grandes franjas laterales alrededor de todos los productos.
   No modificar el encabezado, menú, tienda, carrito ni versión móvil. */
@media (min-width:1025px) {
	html body.single-product.custom-background,
	html body.single-product #page.site {
		background:#fff!important;
		background-color:#fff!important;
	}
}

/* El logotipo gráfico es toda la identidad visible del header. */
.bhfb .site-branding .site-description,.bhfb .site-branding p.site-description{display:none!important;}

/* LOGIN: columnas pegadas al encabezado y sin espacios del tema. */
body.page-id-258 #content,body.page-id-258 .site-content,body.page-id-258 .container.content-wrapper,body.page-id-258 #primary,body.page-id-258 .entry-content{margin-top:0!important;padding-top:0!important;}
body.page-id-258 .c47auth,body.page-id-258 .c47auth .shell{margin-top:0!important;}

/* CERO47: todos los campos de acceso y formularios deben ser blancos,
   incluso si Chrome o Safari autocompletan correo y contraseña.
   El enfoque usa contorno negro, nunca relleno azul/amarillo. */
html body input[type="email"],
html body input[type="password"],
html body input[type="text"],
html body input[type="tel"],
html body input[type="search"],
html body input[type="number"],
html body textarea {
  background-color:#fff!important;
  color:#111!important;
  caret-color:#111!important;
  accent-color:#000!important;
}
html body input[type="email"]:focus,
html body input[type="password"]:focus,
html body input[type="text"]:focus,
html body input[type="tel"]:focus,
html body input[type="search"]:focus,
html body input[type="number"]:focus,
html body textarea:focus {
  background-color:#fff!important;
  border-color:#111!important;
  outline:2px solid #111!important;
  outline-offset:0!important;
  box-shadow:none!important;
}
html body input:-webkit-autofill,
html body input:-webkit-autofill:hover,
html body input:-webkit-autofill:focus,
html body input:autofill,
html body textarea:-webkit-autofill {
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  -webkit-text-fill-color:#111!important;
  background-color:#fff!important;
  caret-color:#111!important;
  transition:background-color 99999s ease-out 0s!important;
}
/* El login usa reglas locales muy específicas: igualar el autocompletado. */
html body.page-id-258 .c47auth input.input-text:-webkit-autofill,
html body.page-id-258 .c47auth input.input-text:-webkit-autofill:focus,
html body.page-id-258 .c47auth input.input-text:autofill {
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;
  box-shadow:0 0 0 1000px #fff inset!important;
  -webkit-text-fill-color:#111!important;
  background-color:#fff!important;
}
/* El texto seleccionado en correo/contraseña y en formularios conserva
   la identidad blanco/negro en lugar del azul del navegador. */
html body input::selection,html body textarea::selection,
html body .woocommerce input::selection,html body .c47auth input::selection{
 background:#111!important;color:#fff!important;
}
html body input:focus-visible,html body textarea:focus-visible,
html body .woocommerce input:focus-visible,html body .woocommerce textarea:focus-visible{
 outline:2px solid #111!important;outline-offset:0!important;
 box-shadow:none!important;background-color:#fff!important;
}

/* Evitar que el lienzo de las páginas interiores quede negro en móvil. */
@media(max-width:1024px) {
  html body:not(.home) #page.site {background:#fff!important;background-color:#fff!important;}
}

/* Con logo gráfico no duplicar el nombre escrito en el encabezado. */
html body .site-branding:has(.custom-logo-link) .site-title {display:none!important;}

/* PRODUCTO — logo CERO47 negro en bloque de detalles */
.single-product .c47-details__logo img{
	filter:brightness(0) saturate(100%)!important;
	opacity:1!important;
}

/* CERO47 — fondo exterior real de toda la tienda (incluye rebote iOS). */
html, html body, html body.custom-background, html body #page.site {
	background:#000!important;
	background-color:#000!important;
}

/* Páginas interiores sobre lienzo blanco; el exterior html/body sigue
   negro para no mostrar flashes de fondo al llegar al final del scroll.
   Esto evita márgenes negros en productos, carrito y páginas informativas. */
html body:not(.home) #page.site {
	background:#fff!important;
	background-color:#fff!important;
}

/* Botiga agrega 60–100px de margen superior al contenido móvil.
   Con nuestro encabezado fijo ese margen deja una franja blanca.
   Corregir en TODAS las páginas móviles sin alterar separación desktop. */
@media (max-width:1024px) {
	html body #page.site .container.content-wrapper {
		margin-top:0!important;
	}
}

/* En INICIO, el hero arranca inmediatamente después del encabezado. */
html body.home #page.site .container.content-wrapper {
	background:transparent!important;
	background-color:transparent!important;
	padding-top:0!important;
}

/* CERO47 / LOGIN: el borde derecho de la contraseña debe quedar cerrado;
   el ojo se coloca dentro del campo en vez de ocupar ancho adicional. */
html body.page-id-258 .c47auth .password-input {
  position:relative!important;
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
}
html body.page-id-258 .c47auth .password-input input#password {
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  height:58px!important;
  box-sizing:border-box!important;
  padding:0 56px 0 16px!important;
  border:1px solid #aaa!important;
  border-radius:0!important;
  background:#fff!important;
  color:#000!important;
}
html body.page-id-258 .c47auth .password-input .show-password-input {
  position:absolute!important;
  top:50%!important;
  right:8px!important;
  left:auto!important;
  transform:translateY(-50%)!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  z-index:2!important;
}
@media(max-width:620px) {
  html body.page-id-258 .c47auth .password-input input#password {height:54px!important;}
}

/* CERO47 / LOGIN — impedir fondo azul al autocompletar la contraseña
   en Chrome, Edge y Safari. No aplicar color a los demás formularios. */
html body.page-id-258 .c47auth .password-input input#password,
html body.page-id-258 .c47auth .password-input input#password:hover,
html body.page-id-258 .c47auth .password-input input#password:focus,
html body.page-id-258 .c47auth .password-input input#password:focus-visible,
html body.page-id-258 .c47auth .password-input input#password:-webkit-autofill,
html body.page-id-258 .c47auth .password-input input#password:-webkit-autofill:hover,
html body.page-id-258 .c47auth .password-input input#password:-webkit-autofill:focus,
html body.page-id-258 .c47auth .password-input input#password:-webkit-autofill:active,
html body.page-id-258 .c47auth .password-input input#password:autofill {
  color-scheme:light!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#000!important;
  -webkit-text-fill-color:#000!important;
  caret-color:#000!important;
  -webkit-box-shadow:inset 0 0 0 1000px #fff!important;
  box-shadow:inset 0 0 0 1000px #fff!important;
  -webkit-background-clip:padding-box!important;
  background-clip:padding-box!important;
  transition:background-color 99999s ease-out 0s!important;
}
html body.page-id-258 .c47auth .password-input .show-password-input,
html body.page-id-258 .c47auth .password-input .show-password-input:hover,
html body.page-id-258 .c47auth .password-input .show-password-input:focus {
  background:transparent!important;
  box-shadow:none!important;
  outline:none!important;
}


/* CERO47 · contraste estable en estados interactivos (18 octubre 2026).
   Mantener legibilidad sin colores ajenos a la paleta blanco/negro/gris. */
html body.page-id-147 .c47-account .c47-dash a,
html body.page-id-147 .c47-account .c47-dash a:hover,
html body.page-id-147 .c47-account .c47-dash a:focus,
html body.page-id-147 .c47-account .c47-dash a:active,
html body.page-id-147 .c47-account .c47-dash a:focus-visible {
  background:#fff!important;
  color:#111!important;
  opacity:1!important;
  -webkit-text-fill-color:#111!important;
}
html body.page-id-147 .c47-account .c47-dash a :is(h1,h2,h3,h4,p,span,strong,small,b,em),
html body.page-id-147 .c47-account .c47-dash a:is(:hover,:focus,:active,:focus-visible) :is(h1,h2,h3,h4,p,span,strong,small,b,em) {
  color:#111!important;
  opacity:1!important;
  -webkit-text-fill-color:#111!important;
}
html body.page-id-147 .c47-account .c47-dash a:hover,
html body.page-id-147 .c47-account .c47-dash a:focus-visible {
  border-color:#111!important;
  box-shadow:inset 0 0 0 1px #111!important;
}
html body :is(.woocommerce,.c47auth,.c47-account,.c47contact,.c47track,.c47help,.c47clear)
:is(.button,input[type="submit"],input[type="button"],.wp-element-button):is(:hover,:focus,:focus-visible,:active),
html body .woocommerce :is(.button,.button.alt,button.button):is(:hover,:focus-visible,:active) {
  background-color:#111!important;
  border-color:#111!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
html body :is(.woocommerce,.c47auth,.c47-account,.c47contact,.c47track,.c47help,.c47clear)
:is(.button,input[type="submit"],input[type="button"]):is(:hover,:focus-visible,:active) :is(span,strong,small,b) {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
html body :is(.woocommerce,.c47auth,.c47-account,.c47contact,.c47track,.c47help,.c47clear)
:is(input:not([type="checkbox"]):not([type="radio"]),textarea,select):is(:hover,:focus,:focus-visible) {
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  background-color:#fff!important;
  opacity:1!important;
}
html body :is(.woocommerce,.c47auth,.c47-account,.c47contact,.c47track,.c47help,.c47clear)
:is(input,textarea)::placeholder {color:#595959!important;opacity:1!important}
html body :is(.woocommerce,.c47auth,.c47-account,.c47contact,.c47track,.c47help,.c47clear)
:is(input,textarea):focus::placeholder {color:#595959!important;opacity:1!important}
html body :is(.woocommerce,.c47auth,.c47-account,.c47contact,.c47track,.c47help,.c47clear)
:is(a,button,input,select,textarea):focus-visible {
  outline:2px solid #555!important;
  outline-offset:2px;
}

/* CERO47 · lectura consistente sobre fondos oscuros y claros.
   Corrección basada en los estados identificados en 15 páginas (18/10/2026). */
html body.page-id-147 .c47-account__brand h1 {
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
html body.page-id-147 .c47-account__brand h1 span {
  color:#c4c4c4!important;
  -webkit-text-fill-color:#c4c4c4!important;
  opacity:1!important;
}
html body.page-id-147 .c47-account__brand .c47-account__eyebrow,
html body.page-id-147 .c47-account__brand-copy small {
  color:#b0b0b0!important;
  -webkit-text-fill-color:#b0b0b0!important;
}
html body.page-id-147 .c47-account .woocommerce-MyAccount-navigation li.is-active a,
html body.page-id-147 .c47-account .woocommerce-MyAccount-navigation a:is(:hover,:focus,:focus-visible,:active) {
  background-color:#111!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
html body.page-id-147 .c47-account .woocommerce-MyAccount-navigation li:not(.is-active) a:not(:hover):not(:focus) {
  background-color:transparent!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  opacity:1!important;
}
html body.page-id-147 .c47-account .c47-welcome,
html body.page-id-147 .c47-account .c47-welcome :is(a,strong,span) {
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  opacity:1!important;
}
html body .select2-container--default .select2-results__option--highlighted[aria-selected],
html body .select2-container--default .select2-results__option--highlighted[data-selected],
html body .select2-container--default .select2-results__option[aria-selected="true"],
html body .select2-container--default .select2-results__option[data-selected="true"],
html body .select2-container--default .select2-results__option--highlighted :is(span,small,strong),
html body .select2-container--default .select2-results__option[aria-selected="true"] :is(span,small,strong) {
  background-color:#111!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
html body.page-id-28 .c47help .card .c47-btn:is(:hover,:focus,:focus-visible,:active),
html body.page-id-30 .c47clear .menu a:is(:hover,:focus,:focus-visible,:active),
html body.page-id-30 .c47clear .btn:not(.dark .btn):is(:hover,:focus,:focus-visible,:active) {
  background-color:#fff!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
  opacity:1!important;
}
html body.page-id-28 .c47help .contact .c47-btn:is(:hover,:focus,:focus-visible,:active),
html body.page-id-30 .c47clear .dark .btn:is(:hover,:focus,:focus-visible,:active),
html body.page-id-30 .c47clear .final-links a:is(:hover,:focus,:focus-visible,:active) {
  background-color:#000!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
}
html body.page-id-32 .entry-content :is(a,button):is(:hover,:focus-visible),
html body.page-id-34 .entry-content :is(a,button):is(:hover,:focus-visible) {
  opacity:1!important;
}

/* CERO47 · Ajustes accesibles auditados 18-10-2026.
   Contraste de etiquetas y navegación con teclado, sin tocar pasarelas externas. */
html body :is(input:not([type=hidden]),textarea,select):focus-visible{
  outline:2px solid #555!important;
  outline-offset:2px!important;
}
html body .c47auth .card-head .kicker,
html body .c47auth .switch,
html body .c47auth .card-head .muted,
html body .c47auth .woocommerce-privacy-policy-text{
  color:#555!important;
  -webkit-text-fill-color:#555!important;
}
html body.woocommerce-cart .c47-step:not(.is-active){
  color:#555!important;
  -webkit-text-fill-color:#555!important;
}
html body.woocommerce-cart .c47-step:not(.is-active)::before{
  background:#dededb!important;
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}
html body.woocommerce-cart .c47-step.is-active::before{
  background:#000!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}
html body .c47-home .c47-num,
html body .c47-home .c47-feature-info .c47-overline{
  color:#555!important;
}
@media (prefers-reduced-motion:reduce){
  html body .c47-home .c47-ticker-track{animation:none!important;}
  html body .c47-home .c47-feature-media img,
  html body .c47-home .c47-product-image img{transition:none!important;}
}

/* Etiquetas pequeñas sobre fondos claros: contraste mínimo legible. */
html body .c47help .kicker,
html body .c47help .card-num,
html body .c47clear .imp span,
html body .c47clear .menu .mnum,
html body .c47clear .topic-num,
html body .c47clear .faq-kicker,
html body .c47track .strip-item small,
html body .c47-progress .p-kicker,
html body .c47-progress .stage-state,
html body .c47-progress .current-box small,
html body .c47privacy .meta,
html body .c47privacy .kicker,
html body .c47privacy summary .n,
html body .c47legal .meta,
html body .c47legal .intro .kicker,
html body .c47legal summary .n {
  color:#555!important;
  -webkit-text-fill-color:#555!important;
}
/* Las secciones negras conservan etiquetas claras y legibles. */
html body .c47help .contact .kicker,
html body .c47clear .dark .topic-num,
html body .c47clear .dark .answer strong {
  color:#bdbdbd!important;
  -webkit-text-fill-color:#bdbdbd!important;
}

/* Etiquetas de encabezados oscuros: evitar gris oscuro sobre negro. */
html body .c47legal .hero .meta{color:#bdbdbd!important;-webkit-text-fill-color:#bdbdbd!important;}

/* Evitar mostrar el fondo del documento en el rebote vertical móvil. */
@media (max-width:1024px) {
	/* Permitir el gesto nativo de tirar hacia abajo para recargar en móviles. */
	html, html body { overscroll-behavior-y:auto; }
	/* El rebote del navegador no debe mostrar blanco entre el header fijo
	   y el contenido. Mantenemos activo el pull-to-refresh nativo. */
	html { background-color:#000!important; }
	html body { background-color:#000!important; }
	html body .site-content { background-color:#fff!important; }
	header.bhfb.bhfb-header.bhfb-mobile {
	  background:#000!important;
	  box-shadow:0 2px 0 0 #000!important;
	  -webkit-backface-visibility:hidden;
	  backface-visibility:hidden;
	}
	header.bhfb.bhfb-header.bhfb-mobile .bhfb-main_header_row {
	  box-shadow:0 2px 0 0 #000!important;
	}
	html body #page.site {background-color:#000!important;}
	header.bhfb.bhfb-header.bhfb-mobile,
	header.bhfb.bhfb-header.bhfb-mobile .bhfb-rows,
	header.bhfb.bhfb-header.bhfb-mobile .bhfb-main_header_row {
		background-color:#000!important;
	}
}

