/*!
 * MD Black Friday · MayorDent
 * Versión oscura de mayordent.cl: SOLO cambia colores (negro → gris claro).
 * No agrega textos, adornos, animaciones ni cambia tamaños o formas.
 * El rojo de MayorDent se mantiene solo donde ya estaba (botones rojos, contador del carrito, % de descuento).
 * Todo vive bajo html.mdbf: sin esa clase este archivo no cambia nada.
 * Solo pantalla: al imprimir (p. ej. Términos y Condiciones) se ve el diseño normal.
 */
@media screen {

/* =========================================================
   0. Paleta: de negro a gris claro
   ========================================================= */
html.mdbf {
  --bf-bg: #0b0b0b;        /* fondo de página */
  --bf-bg-2: #111111;      /* paneles laterales */
  --bf-surface: #171717;   /* tarjetas, cajas */
  --bf-surface-2: #1f1f1f; /* campos, cajas internas */
  --bf-surface-3: #2a2a2a; /* hover, filas destacadas */
  --bf-line: #2f2f2f;      /* bordes suaves */
  --bf-line-2: #444444;    /* bordes visibles */
  --bf-strong: #6b6b6b;    /* contornos marcados */
  --bf-text: #f2f2f2;      /* títulos y texto principal */
  --bf-text-2: #d4d4d4;    /* texto de lectura */
  --bf-muted: #a3a3a3;     /* texto secundario */
  --bf-light: #e5e5e5;     /* lo que antes era negro (botones, activos) */

  color-scheme: dark;
  background: var(--bf-bg) !important;
  scrollbar-color: var(--bf-line-2) var(--bf-bg);

  /* Variables de plugins (se heredan hacia abajo) */
  --crp-bg: var(--bf-surface) !important;
  --crp-panel: var(--bf-surface-2) !important;
  --crp-dark: var(--bf-text) !important;
  --yith-wcwtl-input-email-border-color: var(--bf-line-2) !important;
  --yith-wcwtl-input-email-color: var(--bf-text) !important;
  --yith-wcwtl-input-email-placeholder-color: var(--bf-muted) !important;
  --iti-dropdown-bg: var(--bf-surface-2) !important;
  --iti-border-color: var(--bf-line-2) !important;
  --iti-hover-color: rgba(255, 255, 255, .06) !important;
  --iti-icon-color: var(--bf-muted) !important;
}

/* =========================================================
   1. Base: fondo, texto, enlaces, títulos
   ========================================================= */
html.mdbf body,
html.mdbf body.custom-background {
  background: var(--bf-bg) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf #wrapper { background: var(--bf-bg) !important; }

/* Enlaces (sin tocar el texto blanco de los botones) */
html.mdbf a:not(.button):not([class*="btn"]) { color: var(--bf-text); }
html.mdbf a:not(.button):not([class*="btn"]):hover { color: #fff; }

html.mdbf h1, html.mdbf h2, html.mdbf h3,
html.mdbf h4, html.mdbf h5, html.mdbf h6 { color: var(--bf-text) !important; }
html.mdbf h2.wp-block-heading a,
html.mdbf h3.wp-block-heading a { color: #fff !important; }

html.mdbf hr,
html.mdbf hr.wp-block-separator { background-color: var(--bf-line) !important; color: var(--bf-line) !important; border-color: var(--bf-line) !important; }

/* Contenido largo (descripciones, blog, páginas) */
html.mdbf .entry-content,
html.mdbf .post-content,
html.mdbf .woocommerce-Tabs-panel,
html.mdbf .woocommerce-product-details__short-description { color: var(--bf-text-2) !important; }
html.mdbf .entry-content a:not(.button):not(.wp-block-button__link),
html.mdbf .post-content a:not(.button):not(.wp-block-button__link),
html.mdbf .woocommerce-Tabs-panel a:not(.button) { color: #fff; }

/* Fondos blancos pegados desde Word u otros sitios dentro del contenido */
html.mdbf .entry-content [style*="background-color: #fff"],
html.mdbf .entry-content [style*="background-color: #FFF"],
html.mdbf .entry-content [style*="background-color: rgb(255, 255, 255)"],
html.mdbf .entry-content [style*="background: #fff"],
html.mdbf .woocommerce-Tabs-panel [style*="background-color: #fff"],
html.mdbf .woocommerce-Tabs-panel [style*="background-color: #FFF"],
html.mdbf .woocommerce-Tabs-panel [style*="background-color: rgb(255, 255, 255)"],
html.mdbf .woocommerce-Tabs-panel [style*="background: #fff"] { background-color: transparent !important; }

/* Tablas */
html.mdbf table,
html.mdbf table th,
html.mdbf table td { border-color: var(--bf-line) !important; }
html.mdbf table th { color: var(--bf-text) !important; }

/* =========================================================
   2. Cabecera (tema Smart Home)
   ========================================================= */
html.mdbf .header.thb-main-header,
html.mdbf .thb-main-header { background: #000 !important; }

/* Logo JPG blanco → negro con letras blancas; el rojo se mantiene */
html.mdbf .logo-holder img,
html.mdbf .fc-checkout__branding img,
html.mdbf .side-panel .logo-holder img,
html.mdbf #footer .widget_media_image img[src*="MayorDent"] {
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: lighten;
}

html.mdbf .thb-full-menu > li > a,
html.mdbf .thb-navbar a { color: var(--bf-text-2) !important; }
html.mdbf .thb-full-menu > li > a:hover,
html.mdbf .thb-full-menu .menu-item.current-menu-item > a { color: #fff !important; }
html.mdbf .thb-full-menu .sub-menu,
html.mdbf .thb-dropdown-style {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .thb-full-menu .sub-menu li { background: transparent !important; border-color: var(--bf-line) !important; }
html.mdbf .thb-full-menu .sub-menu li a { color: var(--bf-text-2) !important; }
html.mdbf .thb-full-menu .sub-menu li a:hover { color: #fff !important; }

html.mdbf .mobile-toggle span { background: var(--bf-text) !important; }

/* Carrito del tema (cuando no está la cabecera nueva) */
html.mdbf body:not(.mdcb-activo) .thb-secondary-area .thb-quick-cart .thb-quick-cart-inner {
  background: var(--bf-light) !important;
  color: #000 !important;
}
html.mdbf body:not(.mdcb-activo) .thb-secondary-area .thb-quick-cart .thb-quick-cart-inner * { color: #000 !important; }
html.mdbf .thb-secondary-area .thb-quick-cart .thb-header-after-cart { color: var(--bf-light) !important; border-color: var(--bf-light) !important; }
html.mdbf .thb-secondary-area .thb-quick-cart .thb-secondary-cart {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
  color: var(--bf-text-2) !important;
}

/* =========================================================
   3. Cabecera nueva (plugin mayordent-cabecera-buscador)
   ========================================================= */
html.mdbf body.mdcb-activo .header .header-logo-row > .row > .mdcb-hola,
html.mdbf body.mdcb-activo .mdcb-hola { color: var(--bf-text-2) !important; }
html.mdbf body.mdcb-activo .mdcb-hola a { color: #fff !important; }
html.mdbf body.mdcb-activo .mdcb-nota,
html.mdbf body.mdcb-activo .mdcb-nota * { color: var(--bf-light) !important; }

html.mdbf body.mdcb-activo .mdcb-sep {
  background: var(--bf-line) !important;
  box-shadow: 0 0 0 100vmax var(--bf-line) !important;
}

/* Menú superior y sus desplegables */
html.mdbf body.mdcb-activo .header-logo-row .thb-full-menu > li > a { color: var(--bf-text-2) !important; }
html.mdbf body.mdcb-activo .header-logo-row .thb-full-menu > li > a:hover { color: #fff !important; }
html.mdbf body.mdcb-activo .header-logo-row .thb-full-menu > li > .sub-menu {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf body.mdcb-activo .header-logo-row .thb-full-menu .sub-menu li a { color: var(--bf-text-2) !important; }
html.mdbf body.mdcb-activo .header-logo-row .thb-full-menu .sub-menu li a:hover {
  background: var(--bf-surface-3) !important;
  color: #fff !important;
}

/* Buscador */
html.mdbf body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
  background: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-strong) !important;
}
html.mdbf body.mdcb-activo .mdcb-buscador .dgwt-wcas-search-focused .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input,
html.mdbf body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus { border-color: var(--bf-light) !important; }
html.mdbf body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: var(--bf-muted) !important; }
/* Lupa (ícono gris oscuro) → gris claro */
html.mdbf body.mdcb-activo .mdcb-buscador .dgwt-wcas-sf-wrapp::before { filter: brightness(0) invert(.75); }

/* Sugerencias del buscador */
html.mdbf body.mdcb-activo .dgwt-wcas-suggestions-wrapp,
html.mdbf body.mdcb-activo .dgwt-wcas-details-wrapp {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf body.mdcb-activo .dgwt-wcas-suggestion-selected { background: var(--bf-surface-3) !important; }
html.mdbf body.mdcb-activo .dgwt-wcas-st { color: var(--bf-text-2) !important; }
html.mdbf body.mdcb-activo .dgwt-wcas-suggestion strong { color: #fff !important; }
html.mdbf body.mdcb-activo .dgwt-wcas-suggestion-headline .dgwt-wcas-st { color: var(--bf-muted) !important; }
html.mdbf body.mdcb-activo .dgwt-wcas-suggestion-more .dgwt-wcas-st-more { color: #fff !important; }

/* Carrito: ícono gris oscuro → claro; el contador rojo se mantiene */
html.mdbf body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner { color: var(--bf-text) !important; }
html.mdbf body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner:hover { color: #fff !important; }
html.mdbf body.mdcb-activo .header .thb-quick-cart .thb-quick-cart-inner::before { filter: invert(1); }

/* Barra de categorías y sus paneles */
html.mdbf body.mdcb-activo .mdcb-cats__boton,
html.mdbf body.mdcb-activo .mdcb-cat__link,
html.mdbf body.mdcb-activo .mdcb-cat__boton { color: var(--bf-text-2) !important; }
html.mdbf body.mdcb-activo .mdcb-cats__todas:hover .mdcb-cats__boton,
html.mdbf body.mdcb-activo .mdcb-cats__todas.is-open .mdcb-cats__boton,
html.mdbf body.mdcb-activo .mdcb-cat__link:hover,
html.mdbf body.mdcb-activo .mdcb-cat__boton:hover,
html.mdbf body.mdcb-activo .mdcb-cat.is-open > .mdcb-cat__boton,
html.mdbf body.mdcb-activo .mdcb-cats .is-actual { color: #fff !important; }

html.mdbf body.mdcb-activo .mdcb-cats__panel,
html.mdbf body.mdcb-activo .mdcb-cat__panel {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf body.mdcb-activo .mdcb-cats__panel a,
html.mdbf body.mdcb-activo .mdcb-cat__sub { color: var(--bf-text-2) !important; }
html.mdbf body.mdcb-activo .mdcb-cat__nietos a { color: var(--bf-muted) !important; }
html.mdbf body.mdcb-activo .mdcb-cats__panel a:hover,
html.mdbf body.mdcb-activo .mdcb-cat__sub:hover,
html.mdbf body.mdcb-activo .mdcb-cat__nietos a:hover {
  background: var(--bf-surface-3) !important;
  color: #fff !important;
}
html.mdbf body.mdcb-activo .mdcb-cat__todo {
  color: #fff !important;
  border-bottom-color: var(--bf-line) !important;
}

/* =========================================================
   4. Buscador (FiboSearch) fuera de la cabecera nueva
   ========================================================= */
html.mdbf input.dgwt-wcas-search-input,
html.mdbf .dgwt-wcas-search-input {
  background: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .dgwt-wcas-search-input::placeholder { color: var(--bf-muted) !important; }
html.mdbf .dgwt-wcas-ico-magnifier path,
html.mdbf .dgwt-wcas-close path { fill: var(--bf-text-2) !important; }
html.mdbf .dgwt-wcas-suggestions-wrapp,
html.mdbf .dgwt-wcas-details-wrapp {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .dgwt-wcas-suggestion,
html.mdbf .dgwt-wcas-st,
html.mdbf .dgwt-wcas-details-wrapp * { color: var(--bf-text-2) !important; border-color: var(--bf-line) !important; }
html.mdbf .dgwt-wcas-suggestion-selected,
html.mdbf .dgwt-wcas-suggestion:hover { background: var(--bf-surface-3) !important; }

/* Carrusel de categorías con íconos (si vuelve a usarse) */
html.mdbf .seccion-dental-container { background: transparent !important; }
html.mdbf .seccion-dental-container .btn-nav { background: var(--bf-surface-3) !important; color: var(--bf-text) !important; }
html.mdbf .dental-card,
html.mdbf .dental-card span,
html.mdbf .dental-card p { color: var(--bf-text-2) !important; }

/* Barra superior antigua (md-topbar), por si se vuelve a activar */
html.mdbf .md-topbar { background: #000 !important; color: var(--bf-text) !important; }
html.mdbf .md-topbar a { color: var(--bf-text) !important; }
html.mdbf .md-topbar-marquee { background: var(--bf-surface-3) !important; color: var(--bf-text) !important; }

/* =========================================================
   5. Tarjetas de producto (listados, home, relacionados)
   ========================================================= */
html.mdbf .products .product .thb-product-inner-wrapper,
html.mdbf .wc-block-grid__products .product .thb-product-inner-wrapper {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
}
html.mdbf .products .product .thb-product-inner-wrapper:hover,
html.mdbf .wc-block-grid__products .product .thb-product-inner-wrapper:hover { border-color: var(--bf-strong) !important; }

/* Foto: fondo gris claro para que las fotos (fondo blanco) no queden como recuadros */
html.mdbf .products .product figure.product-thumbnail,
html.mdbf .wc-block-grid__products .product figure.product-thumbnail { background: #ededed !important; }
html.mdbf .products .product figure.product-thumbnail img { mix-blend-mode: multiply; }

html.mdbf .products .product .woocommerce-loop-product__title,
html.mdbf .products .product .woocommerce-loop-product__title a,
html.mdbf .wc-block-grid__products .product .woocommerce-loop-product__title a { color: var(--bf-text) !important; }
html.mdbf .products .product .woocommerce-loop-product__title a:hover { color: #fff !important; }
html.mdbf .products .product .asp-psw-product-subttile-loop { color: var(--bf-muted) !important; }

/* Marca (etiqueta negra del tema) */
html.mdbf .mg-brand-wrapper.mg-brand-wrapper-category { background: var(--bf-surface-3) !important; color: var(--bf-text) !important; }
html.mdbf .mg-brand-wrapper.mg-brand-wrapper-category a,
html.mdbf .mg-brand-wrapper.mg-brand-wrapper-category a:hover { color: var(--bf-text) !important; }

/* Precios */
html.mdbf .amount { color: var(--bf-text); }
html.mdbf .products .product .price,
html.mdbf .products .product .price > .amount,
html.mdbf .products .product .price > .amount bdi,
html.mdbf .products .product .price ins .amount,
html.mdbf .products .product .price ins bdi,
html.mdbf .products .product .price .woocommerce-Price-currencySymbol,
html.mdbf .products .product .price del ~ ins,
html.mdbf .products .product .price del ~ ins *,
html.mdbf .products .product .price del ~ ins .amount,
html.mdbf .products .product .price del ~ ins bdi { color: #fff !important; }
html.mdbf .products .product .price del,
html.mdbf .products .product .price del .amount,
html.mdbf .products .product .price del bdi,
html.mdbf .products .product .price del .woocommerce-Price-currencySymbol { color: #8c8c8c !important; }

/* % de descuento: rojo de marca, igual que antes */
html.mdbf .products .product .price .md-pct,
html.mdbf .thb-product-detail .product-information .price .md-pct { color: #fff !important; }

/* Recuadro "IVA inc." junto al precio */
html.mdbf .products .product .price del ~ ins::after,
html.mdbf .thb-product-detail .product-information .price del ~ ins::after {
  background: transparent !important;
  color: var(--bf-text-2) !important;
  border-color: var(--bf-strong) !important;
}

html.mdbf .md-rating-num,
html.mdbf .md-reviews-link { color: var(--bf-muted) !important; }
html.mdbf .md-reviews-link:hover { color: #fff !important; }
html.mdbf .products .product a.added_to_cart { color: var(--bf-text) !important; }

/* =========================================================
   6. Listado / tienda: filtros, orden, paginación, barra lateral
   ========================================================= */
html.mdbf .woocommerce-breadcrumb,
html.mdbf .thb-breadcrumb,
html.mdbf .breadcrumbs { color: var(--bf-muted) !important; }
html.mdbf .woocommerce-breadcrumb a,
html.mdbf .thb-breadcrumb a { color: var(--bf-text-2) !important; }

html.mdbf .thb-filter-bar,
html.mdbf .thb-filter-bar > div,
html.mdbf .woocommerce-ordering,
html.mdbf .thb-products-per-page {
  background: transparent !important;
  color: var(--bf-text-2) !important;
  border-color: var(--bf-line) !important;
}
html.mdbf .thb-filter-bar .thb-products-per-page .per-page-variation { color: var(--bf-muted) !important; }
html.mdbf .thb-filter-bar .thb-products-per-page .per-page-variation:hover,
html.mdbf .thb-filter-bar .thb-products-per-page .per-page-variation.active { color: #fff !important; }

html.mdbf .widget,
html.mdbf .sidebar .widget,
html.mdbf .thb-shop-sidebar .widget {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf .widget .thb-widget-title,
html.mdbf .widget .widget-title,
html.mdbf .widget h6 { color: var(--bf-text) !important; }
html.mdbf .widget .thb-widget-title span:after { border-bottom-color: var(--bf-light) !important; }
html.mdbf .widget ul a { color: var(--bf-text-2) !important; }
html.mdbf .widget ul a:hover,
html.mdbf .widget.widget_product_categories li.active > a { color: #fff !important; }
html.mdbf .widget .count { color: var(--bf-muted) !important; }

html.mdbf .widget.widget_price_filter .price_slider { background: var(--bf-line-2) !important; }
html.mdbf .widget.widget_price_filter .price_slider .ui-slider-range { background: var(--bf-light) !important; }
html.mdbf .widget.widget_price_filter .price_slider .ui-slider-handle {
  background: var(--bf-light) !important;
  border-color: #000 !important;
}
html.mdbf .widget.widget_price_filter .price_slider_amount,
html.mdbf .widget.widget_price_filter .price_label { color: var(--bf-text-2) !important; }
html.mdbf .widget.widget_price_filter .price_slider_amount .button { color: var(--bf-text) !important; }

html.mdbf .woocommerce-pagination .page-numbers,
html.mdbf .pagination .page-numbers {
  color: var(--bf-text-2) !important;
  border-color: var(--bf-line-2) !important;
  background: transparent !important;
}
html.mdbf .woocommerce-pagination .page-numbers.current,
html.mdbf .woocommerce-pagination .page-numbers:hover,
html.mdbf .pagination .page-numbers.current,
html.mdbf .pagination .page-numbers:hover {
  background: var(--bf-light) !important;
  border-color: var(--bf-light) !important;
  color: #000 !important;
}

/* Paneles laterales: menú móvil, filtros, carrito lateral */
html.mdbf .side-panel,
html.mdbf #mobile-menu,
html.mdbf #side-filters,
html.mdbf #side-cart {
  background: var(--bf-bg-2) !important;
  color: var(--bf-text-2) !important;
  border-color: var(--bf-line) !important;
}
html.mdbf .side-panel header.side-panel-header,
html.mdbf .side-panel-header {
  background: var(--bf-bg-2) !important;
  border-color: var(--bf-line) !important;
  color: var(--bf-text) !important;
}
html.mdbf .side-panel .thb-close { background: var(--bf-surface-3) !important; border-color: var(--bf-line-2) !important; color: var(--bf-text) !important; }
html.mdbf .side-panel .thb-close span { background: var(--bf-text) !important; }
html.mdbf #mobile-menu a,
html.mdbf .thb-mobile-menu a { color: var(--bf-text) !important; }
html.mdbf #mobile-menu a:hover,
html.mdbf .thb-mobile-menu a:hover { color: #fff !important; }
html.mdbf .thb-mobile-menu li,
html.mdbf .thb-mobile-menu .sub-menu { border-color: var(--bf-line) !important; background: transparent !important; }
html.mdbf .thb-mobile-menu li.menu-item-has-children > a span:after { border-top-color: var(--bf-light) !important; }
html.mdbf .click-capture { background: rgba(0, 0, 0, .6) !important; }

/* =========================================================
   7. Ficha de producto
   ========================================================= */
html.mdbf .thb-product-main-row,
html.mdbf .row.thb-product-main-row,
html.mdbf .thb-product-main-row > .columns,
html.mdbf .thb-product-detail .product-information { background: transparent !important; }

html.mdbf .woocommerce-product-gallery {
  background: #ededed !important;
  border-color: var(--bf-line) !important;
}
html.mdbf .woocommerce-product-gallery__image img,
html.mdbf .woocommerce-product-gallery .product-thumbnails img { mix-blend-mode: multiply; }

html.mdbf .thb-product-detail .product_title,
html.mdbf .product_title.entry-title { color: var(--bf-text) !important; }

html.mdbf .thb-product-detail .product-information .price,
html.mdbf .thb-product-detail .product-information .price > .amount,
html.mdbf .thb-product-detail .product-information .price > .amount bdi,
html.mdbf .thb-product-detail .product-information .price ins .amount,
html.mdbf .thb-product-detail .product-information .price .woocommerce-Price-currencySymbol,
html.mdbf .thb-product-detail .product-information .price del ~ ins,
html.mdbf .thb-product-detail .product-information .price del ~ ins *,
html.mdbf .summary .price,
html.mdbf .summary .price > .amount,
html.mdbf .summary .price del ~ ins,
html.mdbf .summary .price del ~ ins * { color: #fff !important; }
html.mdbf .thb-product-detail .product-information .price del,
html.mdbf .thb-product-detail .product-information .price del .amount,
html.mdbf .thb-product-detail .product-information .price del bdi { color: #8c8c8c !important; }
html.mdbf .wc-qse-precio-ref,
html.mdbf .wc-qse-precio-ref * { color: var(--bf-muted) !important; }

html.mdbf .summary .stock,
html.mdbf .thb-product-detail .stock { color: var(--bf-text-2) !important; }
html.mdbf .thb-product-detail .product-information .out-of-stock,
html.mdbf .summary .stock.out-of-stock { color: #fff !important; background: transparent !important; }

html.mdbf .mg-brand-wrapper-product,
html.mdbf .mg-brand-wrapper-product a { color: var(--bf-text) !important; }

/* Cantidad */
html.mdbf .quantity,
html.mdbf .quantity.buttons_added {
  background: var(--bf-surface-2) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .quantity input.qty,
html.mdbf .quantity .plus,
html.mdbf .quantity .minus {
  background: transparent !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}

html.mdbf .product_meta,
html.mdbf .product_meta > span { color: var(--bf-muted) !important; }
html.mdbf .product_meta .sku,
html.mdbf .product_meta a { color: var(--bf-text-2) !important; }
html.mdbf .product_meta a:hover { color: #fff !important; }

/* Pestañas: la activa era negra → gris claro */
html.mdbf .wc-tabs-wrapper .wc-tabs,
html.mdbf .woocommerce-tabs ul.tabs { border-color: var(--bf-line) !important; }
html.mdbf .wc-tabs-wrapper .wc-tabs li a,
html.mdbf .woocommerce-tabs ul.tabs li a { color: var(--bf-muted) !important; background: transparent !important; }
html.mdbf .wc-tabs-wrapper .wc-tabs li a:hover { color: #fff !important; }
html.mdbf .wc-tabs-wrapper .wc-tabs li.active a,
html.mdbf .woocommerce-tabs ul.tabs li.active a { background: var(--bf-light) !important; color: #000 !important; }

html.mdbf section.related > h2,
html.mdbf section.upsells > h2,
html.mdbf .related.products > h2 { border-color: var(--bf-line) !important; }

html.mdbf .commentlist .comment,
html.mdbf .commentlist .review,
html.mdbf #reviews .comment_container { border-color: var(--bf-line) !important; background: transparent !important; }
html.mdbf .commentlist .description,
html.mdbf .commentlist .meta { color: var(--bf-text-2) !important; }

/* =========================================================
   8. Formularios
   ========================================================= */
html.mdbf input[type="text"],
html.mdbf input[type="email"],
html.mdbf input[type="tel"],
html.mdbf input[type="password"],
html.mdbf input[type="number"],
html.mdbf input[type="search"],
html.mdbf input[type="url"],
html.mdbf input[type="date"],
html.mdbf input[type="datetime-local"],
html.mdbf textarea,
html.mdbf select,
html.mdbf .select2-container .select2-selection,
html.mdbf .choices__inner,
html.mdbf .choices__list--dropdown,
html.mdbf .choices__list[aria-expanded] {
  background-color: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf input:focus,
html.mdbf textarea:focus,
html.mdbf select:focus { border-color: var(--bf-light) !important; }
html.mdbf input::placeholder,
html.mdbf textarea::placeholder { color: var(--bf-muted) !important; }
html.mdbf option { background: var(--bf-surface-2); color: var(--bf-text); }
html.mdbf input[type="checkbox"],
html.mdbf input[type="radio"] { accent-color: var(--bf-light); }
html.mdbf label { color: var(--bf-text-2); }
/* La flecha de los selectores del tema es un PNG oscuro: se reemplaza por una gris clara */
html.mdbf select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%23d4d4d4' stroke-width='1.8'/%3E%3C/svg%3E") !important;
}

html.mdbf .select2-container .select2-selection__rendered { color: var(--bf-text) !important; }
html.mdbf .select2-dropdown {
  background: var(--bf-surface-2) !important;
  border-color: var(--bf-line-2) !important;
  color: var(--bf-text) !important;
}
html.mdbf .select2-results__option { color: var(--bf-text-2) !important; }
html.mdbf .select2-results__option--highlighted,
html.mdbf .select2-results__option[aria-selected="true"] { background: var(--bf-light) !important; color: #000 !important; }
html.mdbf .choices__item--choice.is-highlighted { background: var(--bf-surface-3) !important; }

/* Botones del tema que eran negros → gris claro con texto negro.
   Los botones rojos (añadir al carrito, buscar, pasos del checkout) NO se tocan. */
html.mdbf .woocommerce-cart .button[name="apply_coupon"],
html.mdbf .wc-proceed-to-checkout .checkout-button,
html.mdbf a.checkout-button.button.alt,
html.mdbf #place_order,
html.mdbf .fc-place-order-button,
html.mdbf .woocommerce-mini-cart__buttons .button,
html.mdbf .woocommerce-form-login__submit,
html.mdbf .woocommerce-form-register__submit,
html.mdbf .woocommerce-Button,
html.mdbf .woocommerce-ResetPassword .button,
html.mdbf .woocommerce-address-fields .button,
html.mdbf .woocommerce-MyAccount-content .button,
html.mdbf .widget.widget_price_filter .price_slider_amount .button,
html.mdbf .wp-block-search__button,
html.mdbf #respond input[type="submit"],
html.mdbf .woocommerce #review_form #submit {
  background: var(--bf-light) !important;
  color: #000 !important;
  border-color: var(--bf-light) !important;
}
html.mdbf .woocommerce-cart .button[name="apply_coupon"]:hover,
html.mdbf .wc-proceed-to-checkout .checkout-button:hover,
html.mdbf #place_order:hover,
html.mdbf .fc-place-order-button:hover,
html.mdbf .woocommerce-mini-cart__buttons .button:hover,
html.mdbf .woocommerce-form-login__submit:hover,
html.mdbf .woocommerce-Button:hover,
html.mdbf .wp-block-search__button:hover { background: #fff !important; color: #000 !important; }
/* Botón sin fondo ("Actualizar carrito") */
html.mdbf .woocommerce-cart .button[name="update_cart"] { color: var(--bf-text) !important; border-color: var(--bf-line-2) !important; }

/* WPForms: se oscurecen campos y etiquetas; el botón conserva su color */
html.mdbf .wpforms-container,
html.mdbf div.wpforms-container-full {
  --wpforms-field-background-color: var(--bf-surface-2) !important;
  --wpforms-field-text-color: var(--bf-text) !important;
  --wpforms-field-border-color: var(--bf-line-2) !important;
  --wpforms-field-border-color-spare: var(--bf-line-2) !important;
  --wpforms-field-menu-color: var(--bf-surface-2) !important;
  --wpforms-label-color: var(--bf-text) !important;
  --wpforms-label-sublabel-color: var(--bf-muted) !important;
}

/* YITH lista de espera */
html.mdbf #yith-wcwtl-output,
html.mdbf .yith-wcwtl-output {
  background: var(--bf-surface-2) !important;
  border-color: var(--bf-line-2) !important;
  color: var(--bf-text-2) !important;
}

/* =========================================================
   9. Avisos de WooCommerce
   ========================================================= */
html.mdbf .woocommerce-message,
html.mdbf .woocommerce-info,
html.mdbf .woocommerce-error,
html.mdbf .thb-temp-message,
html.mdbf .woocommerce-notice {
  background: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .woocommerce-message::before,
html.mdbf .woocommerce-info::before,
html.mdbf .thb-temp-message::before { color: var(--bf-light) !important; }
html.mdbf .woocommerce-message a,
html.mdbf .woocommerce-info a,
html.mdbf .woocommerce-error a,
html.mdbf .woocommerce-message .button,
html.mdbf .woocommerce-info .button { color: #fff !important; background: transparent !important; }

/* =========================================================
   10. Carrito
   ========================================================= */
html.mdbf body.woocommerce-cart .woocommerce > .row,
html.mdbf body.woocommerce-cart .woocommerce .row { background: transparent !important; }
html.mdbf .shop_table,
html.mdbf .shop_table td,
html.mdbf .shop_table th { background: transparent !important; color: var(--bf-text-2) !important; }
html.mdbf .shop_table .product-name a { color: var(--bf-text) !important; }
html.mdbf .shop_table .product-thumbnail img,
html.mdbf .woocommerce-mini-cart-item img,
html.mdbf .fc-checkout-order-review .product-thumbnail img { background: #fff; }
html.mdbf .cart_totals,
html.mdbf .cart-collaterals .cart_totals {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .cart_totals .order-total,
html.mdbf .cart_totals .order-total .amount { color: #fff !important; }
html.mdbf a.remove,
html.mdbf .remove_from_cart_button {
  background: transparent !important;
  color: var(--bf-muted) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf a.remove:hover { color: #000 !important; background: var(--bf-light) !important; border-color: var(--bf-light) !important; }
html.mdbf .woocommerce-mini-cart__total,
html.mdbf .woocommerce-mini-cart__buttons,
html.mdbf .woocommerce-mini-cart-item { border-color: var(--bf-line) !important; }
html.mdbf .woocommerce-mini-cart-item a { color: var(--bf-text) !important; }

/* =========================================================
   11. Checkout (Fluid Checkout, diseño classic)
   ========================================================= */
html.mdbf body.woocommerce-page {
  --fluidcheckout--page--background-color: var(--bf-bg) !important;
  --fluidcheckout--header--background-color: #000 !important;
  --fluidcheckout--footer--background-color: #000 !important;
  --fluidcheckout--section--background-color: var(--bf-surface) !important;
  --fluidcheckout--section--border-color: var(--bf-line) !important;
  --fluidcheckout--section--shadow-color: transparent !important;
  --fluidcheckout--section--shadow-color--large-screen: transparent !important;
  --fluidcheckout--order-summary--background-color: var(--bf-surface) !important;
  --fluidcheckout--order-summary--border-color: var(--bf-line-2) !important;
  --fluidcheckout--order-summary--shadow-color: transparent !important;
  --fluidcheckout--order-summary--shadow-color--large-screen: transparent !important;
  --fluidcheckout--order-summary--image-border-color: var(--bf-line) !important;
  --fluidcheckout--order-summary--image-shadow-color: transparent !important;
  --fluidcheckout--option-box--border-color--hover: var(--bf-line-2) !important;
  --fluidcheckout--option-box--label-border-color: var(--bf-line-2) !important;
  --fluidcheckout--option-box--label-border-color--hover: var(--bf-muted) !important;
  --fluidcheckout--option-box--label-border-color--checked: var(--bf-light) !important;
  --fluidcheckout--field--background-color: var(--bf-surface-2) !important;
  --fluidcheckout--field--background-color--accent: var(--bf-surface-3) !important;
  --fluidcheckout--field--text-color: var(--bf-text) !important;
  --fluidcheckout--field--border-color: var(--bf-line-2) !important;
  --fluidcheckout--field--border-color--focus: var(--bf-light) !important;
  --fluidcheckout--cart-item--quantity-background-color: var(--bf-surface-2) !important;
  --fluidcheckout--cart-item--quantity-background-color--disabled: var(--bf-surface-3) !important;
  --fluidcheckout--color--dark-grey: var(--bf-text-2) !important;
  --fluidcheckout--color--darker-grey: var(--bf-text) !important;
  --fluidcheckout--color--grey: var(--bf-muted) !important;
  --fluidcheckout--color--light-grey: var(--bf-line-2) !important;
  --fluidcheckout--color--lighter-grey: var(--bf-surface-3) !important;
}
html.mdbf .fc-checkout-header,
html.mdbf header.fc-checkout-header { background: #000 !important; border-color: var(--bf-line) !important; }
html.mdbf .fc-checkout-header a,
html.mdbf .fc-checkout-header button { color: var(--bf-text) !important; }
html.mdbf a.fc-checkout__cart-link { background: var(--bf-surface-2) !important; color: var(--bf-text) !important; border-color: var(--bf-line-2) !important; }
html.mdbf main.fc-main,
html.mdbf .fc-wrapper { background: transparent !important; }
html.mdbf .fc-checkout-step,
html.mdbf section.fc-checkout-step,
html.mdbf .fc-checkout-order-review__inner,
html.mdbf .fc-cart-section,
html.mdbf .fc-sidebar .fc-checkout-order-review__inner {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf .fc-step__substep-title,
html.mdbf .fc-step__title,
html.mdbf .fc-checkout-order-review-title { color: var(--bf-text) !important; }
html.mdbf .fc-contact-login__content,
html.mdbf .create-account,
html.mdbf .fc-field-group.create-account,
html.mdbf .fc-step__substep-text,
html.mdbf .fc-coupon-codes__coupon,
html.mdbf .woocommerce-checkout-payment,
html.mdbf #payment,
html.mdbf #payment .payment_box,
html.mdbf .fc-shipping-method__no-shipping-methods {
  background: var(--bf-surface-2) !important;
  border-color: var(--bf-line-2) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf #payment .payment_box::before { border-bottom-color: var(--bf-surface-2) !important; }
html.mdbf .fc-contact-login__separator-text { background: var(--bf-surface) !important; color: var(--bf-muted) !important; }
html.mdbf .fc-progress-bar__inner { background: transparent !important; }
html.mdbf .fc-progress-bar__steps { background: var(--bf-line-2) !important; }
html.mdbf .fc-progress-bar__bar,
html.mdbf .fc-progress-bar__steps > * { background-color: var(--bf-light) !important; }
html.mdbf .fc-progress-bar__count,
html.mdbf .fc-progress-bar__current-step { color: var(--bf-muted) !important; }
html.mdbf tr.order-total,
html.mdbf .fc-checkout-order-review tr.order-total,
html.mdbf .shop_table tr.order-total th,
html.mdbf .shop_table tr.order-total td { background: var(--bf-surface-3) !important; color: var(--bf-text) !important; }
html.mdbf tr.order-total .amount { color: #fff !important; }
html.mdbf .fc-checkout-order-review .shop_table,
html.mdbf .fc-checkout-order-review td,
html.mdbf .fc-checkout-order-review th { color: var(--bf-text-2) !important; }
html.mdbf .fc-step__substep-edit,
html.mdbf a.fc-step__substep-edit { color: #fff !important; }

/* Selector "Enviar a domicilio / Retiro en sucursal" (rl-entrega) */
html.mdbf .rl-entrega button.rl-entrega__opcion {
  background: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .rl-entrega button.rl-entrega__opcion:hover { border-color: var(--bf-muted) !important; }
html.mdbf .rl-entrega button.rl-entrega__opcion.is-activa {
  background: var(--bf-surface-3) !important;
  border-color: var(--bf-light) !important;
}
html.mdbf .rl-entrega button.rl-entrega__opcion::before { background: var(--bf-surface) !important; border-color: var(--bf-muted) !important; }
html.mdbf .rl-entrega button.rl-entrega__opcion.is-activa::before { border-color: var(--bf-light) !important; }
html.mdbf .rl-entrega__titulo { color: var(--bf-text) !important; }
html.mdbf .rl-entrega__detalle { color: var(--bf-muted) !important; }

/* Avisos de md-privacidad ("pedido cerrado", formularios) */
html.mdbf .mdp-aviso-cerrado,
html.mdbf .mdp-doc .mdp-destacado,
html.mdbf .mdp-destacado {
  background: var(--bf-surface-2) !important;
  border-color: var(--bf-line-2) !important;
  border-left-color: var(--bf-light) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf .mdp-aviso-cerrado * { color: inherit !important; }
html.mdbf .mdp-aviso-cerrado strong,
html.mdbf .mdp-aviso-cerrado b { color: #fff !important; }
html.mdbf .mdp-aviso-form,
html.mdbf .mdp-aviso-form [style*="color"] { color: var(--bf-muted) !important; }
html.mdbf .mdp-aviso-form a { color: #fff !important; }

/* Mi cuenta */
html.mdbf .woocommerce-MyAccount-navigation li,
html.mdbf .woocommerce-MyAccount-navigation ul { border-color: var(--bf-line) !important; }
html.mdbf .woocommerce-MyAccount-navigation a { color: var(--bf-text-2) !important; }
html.mdbf .woocommerce-MyAccount-navigation .is-active a,
html.mdbf .woocommerce-MyAccount-navigation a:hover { color: #fff !important; }
html.mdbf .woocommerce-form-login,
html.mdbf .woocommerce-form-register,
html.mdbf .woocommerce-ResetPassword,
html.mdbf form.checkout_coupon,
html.mdbf .woocommerce-order-overview,
html.mdbf .woocommerce-customer-details address {
  background: transparent !important;
  border-color: var(--bf-line) !important;
  color: var(--bf-text-2) !important;
}

/* =========================================================
   12. Páginas legales y FAQ (md-privacidad): texto claro, solo color
   ========================================================= */
html.mdbf .mdp-doc { color: var(--bf-text-2) !important; }
html.mdbf .mdp-doc p,
html.mdbf .mdp-doc li,
html.mdbf .mdp-doc td { color: var(--bf-text-2) !important; }
html.mdbf .mdp-doc strong,
html.mdbf .mdp-doc b,
html.mdbf .mdp-doc h2 { color: #fff !important; }
html.mdbf .mdp-doc a { color: #fff !important; }
html.mdbf .mdp-doc-meta,
html.mdbf .mdp-doc .mdp-doc-meta,
html.mdbf .mdp-doc .mdp-doc-meta strong { color: var(--bf-muted) !important; }
html.mdbf .mdp-doc .mdp-table,
html.mdbf .mdp-doc .mdp-destacado .mdp-table { background: transparent !important; }
html.mdbf .mdp-doc .mdp-table th { color: #fff !important; }
html.mdbf .mdp-doc .mdp-table th,
html.mdbf .mdp-doc .mdp-table td { border-color: var(--bf-line-2) !important; }
html.mdbf .mdp-print {
  background: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}

html.mdbf .mdp-faq-item {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
}
html.mdbf .mdp-faq-item summary { color: #fff !important; }
html.mdbf .mdp-faq-item[open] summary { border-bottom-color: var(--bf-line) !important; }
html.mdbf .mdp-faq-a,
html.mdbf .mdp-faq-a p { color: var(--bf-text-2) !important; }

html.mdbf .schema-faq-question { color: #fff !important; }
html.mdbf .schema-faq-answer { color: var(--bf-text-2) !important; }

/* =========================================================
   13. Sucursales (mdgeo), reseñas, blog
   ========================================================= */
html.mdbf .mdgeo-suc {
  --mg-ink: var(--bf-text) !important;
  --mg-muted: var(--bf-muted) !important;
  --mg-line: var(--bf-line) !important;
  --mg-soft: var(--bf-surface-2) !important;
  --mg-ok: #d4d4d4 !important;
  --mg-ok-bg: var(--bf-surface-3) !important;
  --mg-warn: #d4d4d4 !important;
  --mg-warn-bg: var(--bf-surface-3) !important;
}
html.mdbf .mdgeo-suc .mdgeo-card { background: var(--bf-surface) !important; border-color: var(--bf-line) !important; }
html.mdbf .mdgeo-suc .is-muted { background: transparent !important; color: var(--bf-muted) !important; }
html.mdbf .mdgeo-suc .mdgeo-btn-ghost {
  background: transparent !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}

html.mdbf .crc-heading { color: #fff !important; }
html.mdbf .crc-stats,
html.mdbf .crc-card {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf .crc-card__author,
html.mdbf .crc-stats__avg { color: #fff !important; }
html.mdbf .crc-card__date,
html.mdbf .crc-stats__total,
html.mdbf .crc-stats__bar-label,
html.mdbf .crc-stats__bar-pct,
html.mdbf .crc-loadmore__counter { color: var(--bf-muted) !important; }
html.mdbf .crc-card__content { color: var(--bf-text-2) !important; }
html.mdbf .crc-card__product,
html.mdbf .crc-card__avatar { background: var(--bf-surface-2) !important; border-color: var(--bf-line) !important; color: var(--bf-text) !important; }
html.mdbf .crc-card__product-name,
html.mdbf .crc-card__product-link { color: var(--bf-text-2) !important; }
html.mdbf .crc-card__verified { color: var(--bf-text-2) !important; }
html.mdbf .crc-stats__bar-track { background: var(--bf-line-2) !important; }
html.mdbf .crc-stats__bar-fill { background: var(--bf-light) !important; }
html.mdbf .crc-btn { background: var(--bf-surface-3) !important; color: var(--bf-text) !important; border-color: var(--bf-line-2) !important; }
html.mdbf .crc-dot { background: var(--bf-line-2) !important; }
html.mdbf .crc-dot.is-active,
html.mdbf .crc-dot.active { background: var(--bf-light) !important; }
html.mdbf .crc-search__input,
html.mdbf .crc-search__results,
html.mdbf .crc-search__active {
  background: var(--bf-surface-2) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .crc-loadmore-btn { background: var(--bf-surface-3) !important; color: var(--bf-text) !important; border-color: var(--bf-line-2) !important; }

html.mdbf .wp-block-latest-posts__post-title { color: var(--bf-text) !important; }
html.mdbf .wp-block-latest-posts__post-title:hover { color: #fff !important; }
html.mdbf .wp-block-latest-posts__post-date,
html.mdbf .post-meta,
html.mdbf .post-date { color: var(--bf-muted) !important; }

html.mdbf .md-related-post-card,
html.mdbf .md-related-product-card {
  background: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
  color: var(--bf-text-2) !important;
}
html.mdbf .md-related-post-title,
html.mdbf .md-related-product-title,
html.mdbf .md-related-posts-title,
html.mdbf .md-related-products-title { color: #fff !important; }
html.mdbf .md-related-post-excerpt { color: var(--bf-text-2) !important; }
html.mdbf .md-related-product-image { background: #fff; }

/* =========================================================
   14. Pie de página
   ========================================================= */
html.mdbf #footer,
html.mdbf footer.footer,
html.mdbf .subfooter,
html.mdbf .md-cfs-footer-nav,
html.mdbf .mdp-legal-links {
  background: #000 !important;
  color: var(--bf-muted) !important;
  border-color: var(--bf-line) !important;
}
html.mdbf #footer .widget,
html.mdbf #footer .widget_media_image { background: transparent !important; }
html.mdbf #footer a,
html.mdbf .subfooter a,
html.mdbf .md-cfs-footer-nav a,
html.mdbf .mdp-legal-links a { color: var(--bf-text-2) !important; }
html.mdbf #footer a:hover,
html.mdbf .subfooter a:hover,
html.mdbf .md-cfs-footer-nav a:hover,
html.mdbf .mdp-legal-links a:hover { color: #fff !important; }
html.mdbf .md-cfs-footer-title { color: #fff !important; }

/* =========================================================
   15. Flotantes, popups, cookies
   ========================================================= */
html.mdbf #scroll_to_top {
  background: var(--bf-surface-3) !important;
  color: var(--bf-text) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf #scroll_to_top svg,
html.mdbf #scroll_to_top path { fill: currentColor !important; }

html.mdbf .mdp-banner,
html.mdbf .mdp-prefs > *,
html.mdbf .mdp-chat-ask,
html.mdbf #md-reviews-modal {
  background: var(--bf-surface) !important;
  color: var(--bf-text-2) !important;
  border-color: var(--bf-line-2) !important;
}
html.mdbf .mdp-banner a,
html.mdbf .mdp-prefs a { color: #fff !important; }
html.mdbf .mdp-banner h2, html.mdbf .mdp-banner h3, html.mdbf .mdp-banner strong,
html.mdbf .mdp-prefs h2, html.mdbf .mdp-prefs h3, html.mdbf .mdp-prefs strong { color: #fff !important; }
/* Botón blanco con borde rojo ("Configurar") → oscuro; los rojos se mantienen */
html.mdbf .mdp-btn.mdp-ghost { background: transparent !important; }

/* Popup de opiniones (cusrev-reviews-popup): usa --crp-dark como texto y como fondo de botones */
html.mdbf .crp-root,
html.mdbf .crp-inline {
  --crp-muted: var(--bf-muted) !important;
  --crp-line: var(--bf-line-2) !important;
}
html.mdbf .crp-pcard { background: var(--bf-surface-2) !important; }
html.mdbf .crp-avatar { background: var(--bf-surface-3) !important; color: #fff !important; }
html.mdbf .crp-root .crp-pcard__btn,
html.mdbf .crp-root .crp-arrow:hover,
html.mdbf .crp-root .crp-arrow:focus-visible,
html.mdbf .crp-root .crp-cta:hover,
html.mdbf .crp-inline .crp-arrow:hover {
  background: var(--bf-light) !important;
  border-color: var(--bf-light) !important;
  color: #000 !important;
}
html.mdbf .crp-root .crp-pcard__btn * { color: #000 !important; }
html.mdbf .crp-inline .crp-arrow { background: var(--bf-surface-2) !important; }
html.mdbf .crp-floating {
  background: var(--bf-surface-2) !important;
  color: #fff !important;
  border-color: var(--bf-line-2) !important;
}

/* =========================================================
   16. Red de seguridad del script (mdbf.js)
   ========================================================= */
html.mdbf .mdbf-auto-surface {
  background-color: var(--bf-surface) !important;
  border-color: var(--bf-line) !important;
}

} /* fin @media screen */
