/**
 * Modo oscuro — refuerzos sobre tokens de variables.css
 * Fondo base: #131a22 · texto claro · acento naranja intacto
 */

html[data-theme="dark"] body {
    background-color: var(--theme-bg, #131a22);
    color: var(--color-dark);
}

html[data-theme="dark"] #page,
html[data-theme="dark"] .site,
html[data-theme="dark"] .site-content,
html[data-theme="dark"] .site-main,
html[data-theme="dark"] main {
    background-color: transparent;
    color: inherit;
}

/* Superficies elevadas (cards / paneles) que aún usan #fff duro */
html[data-theme="dark"] .doro-checkout-summary,
html[data-theme="dark"] .doro-cesta-summary,
html[data-theme="dark"] .doro-modal__panel,
html[data-theme="dark"] .doro-auth-modal__panel,
html[data-theme="dark"] .doro-cart-drawer,
html[data-theme="dark"] .doro-buybox,
html[data-theme="dark"] .woocommerce-checkout,
html[data-theme="dark"] .woocommerce-cart-form,
html[data-theme="dark"] .woocommerce-MyAccount-content,
html[data-theme="dark"] .woocommerce-MyAccount-navigation,
html[data-theme="dark"] .doro-product-card,
html[data-theme="dark"] .products .product,
html[data-theme="dark"] .site-header__dropdown,
html[data-theme="dark"] .header-locale-select,
html[data-theme="dark"] .mega-menu,
html[data-theme="dark"] .doro-live-search__panel {
    background-color: var(--color-surface-elevated, #1a2330);
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

/* Inputs / selects / textareas */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="submit"]):not([type="button"]):not([type="image"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .select2-container--default .select2-selection--single,
html[data-theme="dark"] .select2-dropdown {
    background-color: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
    color: var(--color-grey-text);
    opacity: 0.85;
}

/* Tablas Woo / cuenta */
html[data-theme="dark"] table,
html[data-theme="dark"] .shop_table,
html[data-theme="dark"] .woocommerce-orders-table,
html[data-theme="dark"] .woocommerce table.shop_table {
    background: var(--color-surface-elevated, #1a2330);
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

html[data-theme="dark"] table th,
html[data-theme="dark"] table td,
html[data-theme="dark"] .shop_table th,
html[data-theme="dark"] .shop_table td {
    border-color: var(--color-grey-border) !important;
    color: inherit;
}

/* Avisos WC */
html[data-theme="dark"] .woocommerce-message,
html[data-theme="dark"] .woocommerce-info,
html[data-theme="dark"] .woocommerce-error,
html[data-theme="dark"] .woocommerce-noreviews {
    background: var(--color-surface-elevated, #1a2330);
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

/* Botones naranja: texto siempre legible */
html[data-theme="dark"] .woocommerce a.button.alt,
html[data-theme="dark"] .woocommerce button.button.alt,
html[data-theme="dark"] .woocommerce input.button.alt,
html[data-theme="dark"] .doro-checkout-summary__cta,
html[data-theme="dark"] #place_order,
html[data-theme="dark"] .doro-cesta-summary__cta,
html[data-theme="dark"] .single_add_to_cart_button,
html[data-theme="dark"] .doro-modal__btn--primary,
html[data-theme="dark"] .home-hero__cta,
html[data-theme="dark"] .doro-buybox__buy-now,
html[data-theme="dark"] .site-header__search-submit,
html[data-theme="dark"] .site-header__visual-search-btn {
    color: var(--color-on-accent, #fff) !important;
}

/* Fondos #fff / grises claros residuales → tokens */
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-nav {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

html[data-theme="dark"] .site-nav {
    background-color: var(--color-grey-nav);
}

/* Footer: tokens propios (texto claro sobre fondo oscuro) */
html[data-theme="dark"] .site-footer {
    background: var(--footer-bg, #0a1018) !important;
    color: var(--footer-text, #f5f7fa) !important;
}

html[data-theme="dark"] .site-footer a,
html[data-theme="dark"] .site-footer__heading,
html[data-theme="dark"] .site-footer__copy,
html[data-theme="dark"] .site-footer__legal a,
html[data-theme="dark"] .site-footer__domains-list a,
html[data-theme="dark"] .site-footer__social a {
    color: var(--footer-text, #f5f7fa);
}

html[data-theme="dark"] .site-footer__links a,
html[data-theme="dark"] .site-footer__seal-list li,
html[data-theme="dark"] .site-footer__seal-list a,
html[data-theme="dark"] .site-footer__domains-title {
    color: var(--footer-muted, #c8d0da) !important;
}

html[data-theme="dark"] .site-footer__links a:hover,
html[data-theme="dark"] .site-footer__legal a:hover,
html[data-theme="dark"] .site-footer__domains-list a:hover {
    color: var(--color-orange, #fa7311) !important;
}

/* Buscador: borde blanco en modo oscuro */
html[data-theme="dark"] .site-header__search,
html[data-theme="dark"] .site-header__search:focus-within,
html[data-theme="dark"] .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input {
    border-color: #fff !important;
    box-shadow: none;
}

html[data-theme="dark"] .site-header__search:focus-within {
    box-shadow: 0 0 0 1px #fff !important;
}

/* Estilos del toggle viven en header.css (tooltip + iconos).
   El logo oscuro se intercambia vía .site-header__logo-img--dark (sin filtro). */

/* Tienda: títulos y filtros con !important en shop.css */
html[data-theme="dark"] .doro-shop__filter-list a {
    color: var(--color-dark, #f5f7fa) !important;
}

html[data-theme="dark"] .doro-shop__filter-list a:hover,
html[data-theme="dark"] .doro-shop__filter-list a.is-active,
html[data-theme="dark"] .doro-shop__filter-list a[aria-current="true"],
html[data-theme="dark"] .doro-shop__filter-list a[aria-current="page"] {
    background: var(--color-grey-nav, #1a2330) !important;
    color: var(--color-orange, #fa7311) !important;
}

html[data-theme="dark"] .doro-shop ul.products li.product .home-product-card__name,
html[data-theme="dark"] .woocommerce ul.products li.product .home-product-card__name,
html[data-theme="dark"] .home-product-card__name,
html[data-theme="dark"] .home-product-card__name a,
html[data-theme="dark"] .woocommerce-loop-product__title {
    color: var(--color-grey-text, #a8b3c0) !important;
}

html[data-theme="dark"] .doro-shop__cat-count {
    background: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark, #f5f7fa) !important;
}

/* Favoritos en cards: círculo blanco + corazón negro (no invertir) */
html[data-theme="dark"] .home-product-card__wish-btn {
    background: #fff !important;
    border-color: #e8e8e8 !important;
    color: #1a1a1a !important;
}

html[data-theme="dark"] .home-product-card__wish-btn svg,
html[data-theme="dark"] .home-product-card__wish-btn svg path {
    color: inherit !important;
    stroke: currentColor !important;
    fill: none !important;
}

html[data-theme="dark"] .home-product-card__wish-btn:hover,
html[data-theme="dark"] .home-product-card__wish-btn.is-active {
    color: var(--color-orange, #fa7311) !important;
    border-color: var(--color-orange, #fa7311) !important;
    background: #fff !important;
}

html[data-theme="dark"] .home-product-card__wish-btn.is-active svg path {
    fill: var(--color-orange, #fa7311) !important;
    stroke: var(--color-orange, #fa7311) !important;
}

/* Sombras / bordes suaves en cards de producto */
html[data-theme="dark"] .doro-product-card,
html[data-theme="dark"] ul.products li.product {
    box-shadow: var(--shadow-sm);
}

/* Overlays de modales */
html[data-theme="dark"] .doro-modal,
html[data-theme="dark"] .doro-auth-modal,
html[data-theme="dark"] .doro-trust-modal {
    background: var(--color-overlay);
}

/* Select2 dropdown portal */
html[data-theme="dark"] .select2-container--open .select2-dropdown {
    background: var(--color-surface-elevated, #1a2330);
    border-color: var(--color-grey-border);
    color: var(--color-dark);
}

html[data-theme="dark"] .select2-results__option {
    color: var(--color-dark);
}

html[data-theme="dark"] .select2-results__option--highlighted,
html[data-theme="dark"] .select2-results__option[aria-selected="true"] {
    background: var(--color-grey-nav) !important;
    color: var(--color-dark) !important;
}

/* Stripe / payment boxes */
html[data-theme="dark"] .wc-stripe-elements-field,
html[data-theme="dark"] .payment_box,
html[data-theme="dark"] .woocommerce-checkout-payment,
html[data-theme="dark"] #payment {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark);
}

/* Prefiere tipografía clara en Elementor residual */
html[data-theme="dark"] .elementor-widget-heading .elementor-heading-title,
html[data-theme="dark"] .elementor-widget-text-editor {
    color: var(--color-dark);
}

/* —— Overrides de hex duros frecuentes —— */
html[data-theme="dark"] {
    --hero-cta-bg: #f5f7fa;
    --hero-cta-text: #131a22;
}

html {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Fondos blancos residuales */
html[data-theme="dark"] .live-search,
html[data-theme="dark"] .live-search__panel,
html[data-theme="dark"] .live-search__results,
html[data-theme="dark"] .header-dropdown,
html[data-theme="dark"] .site-header__dropdown,
html[data-theme="dark"] .mega-menu__panel,
html[data-theme="dark"] .doro-product-card__body,
html[data-theme="dark"] .doro-product-card__media,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .home-category-card,
html[data-theme="dark"] .home-products,
html[data-theme="dark"] .doro-cesta,
html[data-theme="dark"] .doro-cesta-item,
html[data-theme="dark"] .doro-checkout-layout,
html[data-theme="dark"] .doro-checkout-panel,
html[data-theme="dark"] .doro-modal__dialog,
html[data-theme="dark"] .doro-auth-modal__dialog,
html[data-theme="dark"] .woocommerce-account .woocommerce,
html[data-theme="dark"] .account-card,
html[data-theme="dark"] .doro-account-card {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

/* Tintes crema / naranja suave → superficies oscuras */
html[data-theme="dark"] [style*="background: #fff"],
html[data-theme="dark"] [style*="background:#fff"],
html[data-theme="dark"] [style*="background-color: #fff"],
html[data-theme="dark"] [style*="background-color:#fff"] {
    background-color: var(--color-white) !important;
}

html[data-theme="dark"] .doro-checkout-summary__trust,
html[data-theme="dark"] .doro-cesta-summary__note,
html[data-theme="dark"] .woocommerce-info,
html[data-theme="dark"] .live-search__hint,
html[data-theme="dark"] .header-dropdown__promo {
    background: var(--color-grey-nav) !important;
    color: var(--color-dark);
}

/* Texto blanco sobre botones/badges naranja o negros invertidos */
html[data-theme="dark"] .doro-product-card__badge,
html[data-theme="dark"] .onsale,
html[data-theme="dark"] .site-header__cart-count,
html[data-theme="dark"] .home-promo__cta,
html[data-theme="dark"] .home-hero__cta--primary {
    color: var(--color-on-accent, #fff) !important;
}

/* CTAs negros del home → claros en dark */
html[data-theme="dark"] .home-hero__cta:not(.home-hero__cta--primary),
html[data-theme="dark"] a.home-hero__cta {
    background: var(--hero-cta-bg, #f5f7fa) !important;
    color: var(--hero-cta-text, #131a22) !important;
    border-color: var(--hero-cta-bg, #f5f7fa) !important;
}

/* Bordes negros → borde del tema */
html[data-theme="dark"] .live-search__form,
html[data-theme="dark"] .live-search input[type="search"],
html[data-theme="dark"] .site-header__search-form,
html[data-theme="dark"] .doro-product-card__wish.is-active {
    border-color: var(--color-grey-border) !important;
    box-shadow: none;
}

/* Gradientes claros de checkout / home */
html[data-theme="dark"] .doro-checkout-summary,
html[data-theme="dark"] .doro-cesta-summary,
html[data-theme="dark"] .home-register {
    background: var(--color-surface-elevated, #1a2330) !important;
}

html[data-theme="dark"] .site-footer__bottom {
    border-color: rgba(255, 255, 255, 0.35);
}

/* Mobile buy bar / sticky bars */
html[data-theme="dark"] .doro-mobile-buybar,
html[data-theme="dark"] .doro-product-sticky,
html[data-theme="dark"] .shop-filters-drawer,
html[data-theme="dark"] .shop-mobile-filters {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

/* Qty steppers / chips */
html[data-theme="dark"] .qty,
html[data-theme="dark"] .quantity .qty,
html[data-theme="dark"] .doro-qty,
html[data-theme="dark"] .doro-chip {
    background: var(--color-grey-bg) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* —— Cobertura por superficie (producto / tienda / auth / filtros) —— */
html[data-theme="dark"] .doro-product,
html[data-theme="dark"] .single-product,
html[data-theme="dark"] .product,
html[data-theme="dark"] .doro-buybox,
html[data-theme="dark"] .doro-buybox__panel,
html[data-theme="dark"] .woocommerce-product-gallery,
html[data-theme="dark"] .woocommerce-tabs,
html[data-theme="dark"] .related.products,
html[data-theme="dark"] .upsells.products,
html[data-theme="dark"] .shop-layout,
html[data-theme="dark"] .shop-sidebar,
html[data-theme="dark"] .shop-toolbar,
html[data-theme="dark"] .shop-filters,
html[data-theme="dark"] .shop-filters-drawer__panel,
html[data-theme="dark"] .woocommerce-pagination,
html[data-theme="dark"] .doro-auth-modal__panel,
html[data-theme="dark"] .doro-auth,
html[data-theme="dark"] .doro-auth__card,
html[data-theme="dark"] .woocommerce-form-login,
html[data-theme="dark"] .woocommerce-form-register,
html[data-theme="dark"] .doro-wishlist,
html[data-theme="dark"] .doro-page,
html[data-theme="dark"] .doro-support,
html[data-theme="dark"] .doro-cesta-layout,
html[data-theme="dark"] .doro-cesta-list,
html[data-theme="dark"] .doro-checkout-form,
html[data-theme="dark"] .woocommerce-billing-fields,
html[data-theme="dark"] .woocommerce-shipping-fields,
html[data-theme="dark"] .woocommerce-additional-fields {
    background-color: transparent;
    color: var(--color-dark);
}

/* Tintes crema / melocotón hardcodeados → superficie elevada */
html[data-theme="dark"] .doro-buybox__trust,
html[data-theme="dark"] .doro-product__notice,
html[data-theme="dark"] .shop-filter-chip,
html[data-theme="dark"] .shop-active-filters,
html[data-theme="dark"] .header-dropdown__promo,
html[data-theme="dark"] .live-search__hint,
html[data-theme="dark"] .doro-cesta-item,
html[data-theme="dark"] .doro-checkout-helper,
html[data-theme="dark"] .woocommerce-checkout-review-order,
html[data-theme="dark"] #order_review,
html[data-theme="dark"] .cart_totals,
html[data-theme="dark"] .shop_table.cart {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-dark);
}

/* Auth modal: paneles y tabs con #fff duro */
html[data-theme="dark"] .doro-auth-modal__panel,
html[data-theme="dark"] .doro-auth-modal__body,
html[data-theme="dark"] .doro-auth-modal__tabs,
html[data-theme="dark"] .doro-auth__form,
html[data-theme="dark"] .doro-auth__field input,
html[data-theme="dark"] .doro-auth-modal input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme="dark"] .woocommerce-form-login input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html[data-theme="dark"] .woocommerce-form-register input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]) {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-auth__submit,
html[data-theme="dark"] .doro-wishlist__cta,
html[data-theme="dark"] .doro-login-page__submit,
html[data-theme="dark"] .doro-register-page__submit,
html[data-theme="dark"] .doro-auth-modal__submit,
html[data-theme="dark"] .woocommerce-form-login .woocommerce-button,
html[data-theme="dark"] .woocommerce-form-register .woocommerce-button {
    background: var(--color-orange, #fa7311) !important;
    background-color: var(--color-orange, #fa7311) !important;
    border-color: var(--color-orange, #fa7311) !important;
    color: var(--color-on-accent, #fff) !important;
}

/* Página Iniciar sesión / Registro (mi-cuenta) */
html[data-theme="dark"] .doro-login-page__card,
html[data-theme="dark"] .doro-auth__card {
    background: var(--color-surface-elevated, #1a2330) !important;
    border: 0.5px solid var(--color-grey-border, #2c3848) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-login-page__title,
html[data-theme="dark"] .doro-auth__card h2,
html[data-theme="dark"] .doro-auth-modal__title {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-login-page__lead,
html[data-theme="dark"] .doro-login-page__footer,
html[data-theme="dark"] .doro-auth__card p,
html[data-theme="dark"] .doro-auth-modal__subtitle,
html[data-theme="dark"] .doro-auth-modal__footer,
html[data-theme="dark"] .doro-auth-modal__divider {
    color: var(--color-grey-text, #a8b3c0) !important;
}

html[data-theme="dark"] .doro-auth-modal__divider::before,
html[data-theme="dark"] .doro-auth-modal__divider::after {
    background: var(--color-grey-border, #2c3848) !important;
}

html[data-theme="dark"] .doro-login-page__form label,
html[data-theme="dark"] .doro-auth__form label,
html[data-theme="dark"] .doro-auth-modal__label,
html[data-theme="dark"] .woocommerce-form-login label,
html[data-theme="dark"] .woocommerce-form-register label,
html[data-theme="dark"] .woocommerce-form__label-for-checkbox {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-login-page__form input.input-text,
html[data-theme="dark"] .doro-auth__form input[type="text"],
html[data-theme="dark"] .doro-auth__form input[type="email"],
html[data-theme="dark"] .doro-auth__form input[type="password"],
html[data-theme="dark"] .doro-auth-modal__input,
html[data-theme="dark"] .woocommerce-form-login input.input-text,
html[data-theme="dark"] .woocommerce-form-register input.input-text {
    background: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark) !important;
    border: 0.5px solid #767676 !important;
}

html[data-theme="dark"] .doro-login-page__form input.input-text:focus,
html[data-theme="dark"] .doro-auth__form input:focus,
html[data-theme="dark"] .doro-auth-modal__input:focus,
html[data-theme="dark"] .woocommerce-form-login input.input-text:focus,
html[data-theme="dark"] .woocommerce-form-register input.input-text:focus {
    border-color: var(--color-orange, #fa7311) !important;
    box-shadow: 0 0 0 1px rgba(250, 115, 17, 0.35);
}

html[data-theme="dark"] .doro-login-page__row a,
html[data-theme="dark"] .doro-login-page__footer a,
html[data-theme="dark"] .doro-auth-modal__link,
html[data-theme="dark"] .doro-auth-modal__footer a,
html[data-theme="dark"] .woocommerce-LostPassword a {
    color: var(--color-orange, #fa7311) !important;
}

html[data-theme="dark"] .doro-social-btn,
html[data-theme="dark"] .doro-google-btn,
html[data-theme="dark"] .doro-social-btn--google {
    background: #fff !important;
    border-color: #9aa0a6 !important;
    color: #111 !important;
}

/* Galería / thumbs producto */
html[data-theme="dark"] .flex-control-thumbs li,
html[data-theme="dark"] .woocommerce-product-gallery__image,
html[data-theme="dark"] .doro-product-gallery__thumb {
    background: var(--color-surface-elevated, #1a2330) !important;
    border-color: var(--color-grey-border) !important;
}

/* Home: paneles con degradado claro */
html[data-theme="dark"] .home-categories__panel {
    background: var(--color-surface-elevated, #1a2330) !important;
    border: 0.5px solid var(--color-grey-border, #2c3848) !important;
    box-shadow: none !important;
    color: var(--color-dark);
}

html[data-theme="dark"] .home-products,
html[data-theme="dark"] .home-product-card,
html[data-theme="dark"] .home-categories__product-image,
html[data-theme="dark"] .home-categories__tile-go {
    background: var(--color-surface-elevated, #1a2330) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-dark);
}

html[data-theme="dark"] .home-categories__title,
html[data-theme="dark"] .home-products__title,
html[data-theme="dark"] .home-categories__product-name {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .home-categories__col[data-block="0"] .home-categories__col-title {
    color: var(--home-cat-title-1, var(--color-dark)) !important;
}

html[data-theme="dark"] .home-categories__col[data-block="1"] .home-categories__col-title {
    color: var(--home-cat-title-2, var(--color-dark)) !important;
}

/* ==========================================================================
   Capa 2 — superficies claras hardcodeadas (#fff / crema / gris)
   Evita texto claro (--color-dark invertido) sobre fondos que no flippean.
   ========================================================================== */

html[data-theme="dark"] .doro-category,
html[data-theme="dark"] .doro-shop,
html[data-theme="dark"] .doro-page,
html[data-theme="dark"] .woocommerce-account .doro-page,
html[data-theme="dark"] .doro-wishlist-page,
html[data-theme="dark"] .doro-support,
html[data-theme="dark"] .doro-support-page,
html[data-theme="dark"] .woocommerce-cart .doro-page,
html[data-theme="dark"] .woocommerce-checkout .doro-page,
html[data-theme="dark"] .content-area,
html[data-theme="dark"] #content,
html[data-theme="dark"] .entry-content,
html[data-theme="dark"] .doro-page__article {
    background-color: var(--theme-bg, #131a22) !important;
    color: var(--color-dark);
}

/* Cards / paneles con #fff o #fafafa / #f7f7f7 fijo */
html[data-theme="dark"] .doro-category__subs,
html[data-theme="dark"] .doro-category__sub-circle,
html[data-theme="dark"] .doro-page__pill,
html[data-theme="dark"] .home-product-card,
html[data-theme="dark"] .home-product-card__image-wrap,
html[data-theme="dark"] .home-categories__product-image,
html[data-theme="dark"] .home-categories__tile-go,
html[data-theme="dark"] .doro-account-card,
html[data-theme="dark"] .woocommerce-MyAccount-navigation,
html[data-theme="dark"] .woocommerce-MyAccount-content,
html[data-theme="dark"] .woocommerce-Address,
html[data-theme="dark"] .woocommerce-EditAccountForm,
html[data-theme="dark"] .u-columns,
html[data-theme="dark"] .woocommerce-order-details,
html[data-theme="dark"] .woocommerce-customer-details,
html[data-theme="dark"] .woocommerce-order,
html[data-theme="dark"] .doro-cesta-item,
html[data-theme="dark"] .doro-cesta-summary,
html[data-theme="dark"] .doro-checkout-summary,
html[data-theme="dark"] .cart_totals,
html[data-theme="dark"] .shop_table,
html[data-theme="dark"] .shop-sidebar,
html[data-theme="dark"] .shop-toolbar,
html[data-theme="dark"] .shop-filters,
html[data-theme="dark"] .shop-filters-drawer__panel,
html[data-theme="dark"] .shop-filter-chip,
html[data-theme="dark"] .shop-active-filters,
html[data-theme="dark"] .widget,
html[data-theme="dark"] .widget_layered_nav,
html[data-theme="dark"] .widget_price_filter,
html[data-theme="dark"] .doro-buybox__panel,
html[data-theme="dark"] .doro-buybox__trust,
html[data-theme="dark"] .woocommerce-tabs .panel,
html[data-theme="dark"] .woocommerce-Tabs-panel,
html[data-theme="dark"] .commentlist .comment,
html[data-theme="dark"] .doro-product__notice,
html[data-theme="dark"] .doro-support__card,
html[data-theme="dark"] .doro-support-card,
html[data-theme="dark"] .doro-support__panel,
html[data-theme="dark"] .doro-support__faq-item,
html[data-theme="dark"] .live-search__item,
html[data-theme="dark"] .live-search__empty,
html[data-theme="dark"] .live-search__hint,
html[data-theme="dark"] .doro-cart-drawer__item,
html[data-theme="dark"] .doro-cart-modal__item,
html[data-theme="dark"] .geo-banner,
html[data-theme="dark"] .doro-geo-banner {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Tintes crema / melocotón / gris claro residuales */
html[data-theme="dark"] .doro-category__subs,
html[data-theme="dark"] .shop-layout__promo,
html[data-theme="dark"] .shop-banner,
html[data-theme="dark"] .doro-offers-hero,
html[data-theme="dark"] .doro-buybox__qty,
html[data-theme="dark"] .quantity,
html[data-theme="dark"] .doro-product-gallery__zoom,
html[data-theme="dark"] .flex-viewport,
html[data-theme="dark"] .woocommerce-product-gallery__wrapper,
html[data-theme="dark"] .related > h2,
html[data-theme="dark"] .upsells > h2,
html[data-theme="dark"] .doro-cesta-empty,
html[data-theme="dark"] .cart-empty,
html[data-theme="dark"] .woocommerce-info,
html[data-theme="dark"] .woocommerce-message,
html[data-theme="dark"] .woocommerce-error,
html[data-theme="dark"] .woocommerce-notice,
html[data-theme="dark"] .wc-block-components-notice-banner,
html[data-theme="dark"] .select2-container--default .select2-selection--single,
html[data-theme="dark"] .select2-container--default .select2-selection--multiple {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Texto hardcodeado oscuro (#111/#222/#333…) → token claro */
html[data-theme="dark"] .doro-category,
html[data-theme="dark"] .doro-shop,
html[data-theme="dark"] .doro-page,
html[data-theme="dark"] .doro-product,
html[data-theme="dark"] .doro-cesta,
html[data-theme="dark"] .doro-checkout-layout,
html[data-theme="dark"] .doro-account-page,
html[data-theme="dark"] .woocommerce-account,
html[data-theme="dark"] .doro-support,
html[data-theme="dark"] .home-categories,
html[data-theme="dark"] .home-products,
html[data-theme="dark"] .mega-menu,
html[data-theme="dark"] .live-search,
html[data-theme="dark"] .site-header__dropdown {
    color: var(--color-dark);
}

html[data-theme="dark"] .doro-category h1,
html[data-theme="dark"] .doro-category h2,
html[data-theme="dark"] .doro-category h3,
html[data-theme="dark"] .doro-shop h1,
html[data-theme="dark"] .doro-shop h2,
html[data-theme="dark"] .doro-page h1,
html[data-theme="dark"] .doro-page h2,
html[data-theme="dark"] .doro-page h3,
html[data-theme="dark"] .doro-product h1,
html[data-theme="dark"] .doro-product .product_title,
html[data-theme="dark"] .woocommerce-loop-product__title,
html[data-theme="dark"] .home-product-card__title,
html[data-theme="dark"] .home-product-card__title a,
html[data-theme="dark"] .home-categories__product-name,
html[data-theme="dark"] .mega-menu__title,
html[data-theme="dark"] .mega-menu__tile-label,
html[data-theme="dark"] .mega-menu__heading,
html[data-theme="dark"] .mega-menu__link,
html[data-theme="dark"] .woocommerce-MyAccount-navigation a,
html[data-theme="dark"] .woocommerce-MyAccount-content a:not(.button),
html[data-theme="dark"] .doro-cesta-item__title,
html[data-theme="dark"] .doro-cesta-item__title a,
html[data-theme="dark"] .product-name a,
html[data-theme="dark"] .shop_table a:not(.button),
html[data-theme="dark"] .woocommerce-Price-amount,
html[data-theme="dark"] .price,
html[data-theme="dark"] .amount,
html[data-theme="dark"] .doro-buybox__price,
html[data-theme="dark"] .doro-category__breadcrumb,
html[data-theme="dark"] .woocommerce-breadcrumb,
html[data-theme="dark"] .woocommerce-breadcrumb a {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-category__breadcrumb-sep,
html[data-theme="dark"] .home-product-card__meta,
html[data-theme="dark"] .woocommerce-review-link,
html[data-theme="dark"] .posted_in,
html[data-theme="dark"] .tagged_as,
html[data-theme="dark"] .sku_wrapper,
html[data-theme="dark"] .doro-cesta-item__meta,
html[data-theme="dark"] .doro-checkout-summary__note,
html[data-theme="dark"] .form-row label,
html[data-theme="dark"] .woocommerce-form-row label {
    color: var(--color-grey-text) !important;
}

/* Shop filters / chips crema */
html[data-theme="dark"] .shop-mobile-bar,
html[data-theme="dark"] .shop-mobile-filters,
html[data-theme="dark"] .shop-sort,
html[data-theme="dark"] .woocommerce-ordering select,
html[data-theme="dark"] .doro-shop__toolbar,
html[data-theme="dark"] .widget .select2-container,
html[data-theme="dark"] .price_slider_amount,
html[data-theme="dark"] .price_label {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Account: tarjetas blancas restantes */
html[data-theme="dark"] .woocommerce-account .addresses .woocommerce-Address,
html[data-theme="dark"] .woocommerce-account .woocommerce-Address-title,
html[data-theme="dark"] .woocommerce-account .col-1,
html[data-theme="dark"] .woocommerce-account .col-2,
html[data-theme="dark"] .woocommerce-account fieldset,
html[data-theme="dark"] .woocommerce-account .woocommerce-orders-table,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content > p,
html[data-theme="dark"] .woocommerce-account .woocommerce-MyAccount-content > div,
html[data-theme="dark"] .doro-account-nav,
html[data-theme="dark"] .doro-account-panel,
html[data-theme="dark"] .doro-account-box,
html[data-theme="dark"] .doro-account-stat {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Cart / checkout paneles claros */
html[data-theme="dark"] .doro-cesta-layout,
html[data-theme="dark"] .doro-cesta-list,
html[data-theme="dark"] .doro-checkout-panel,
html[data-theme="dark"] .doro-checkout-form,
html[data-theme="dark"] .woocommerce-billing-fields__field-wrapper,
html[data-theme="dark"] .woocommerce-shipping-fields__field-wrapper,
html[data-theme="dark"] .woocommerce-checkout-review-order,
html[data-theme="dark"] #order_review_heading,
html[data-theme="dark"] #payment ul.payment_methods,
html[data-theme="dark"] #payment div.payment_box,
html[data-theme="dark"] .wc_payment_method,
html[data-theme="dark"] .woocommerce-terms-and-conditions-wrapper,
html[data-theme="dark"] .checkout-inline-error-message {
    background-color: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Producto: avisos / tabs / trust */
html[data-theme="dark"] .doro-buybox,
html[data-theme="dark"] .doro-mobile-buybar,
html[data-theme="dark"] .doro-product-sticky,
html[data-theme="dark"] .woocommerce-product-attributes,
html[data-theme="dark"] .woocommerce-product-attributes tr,
html[data-theme="dark"] .variations,
html[data-theme="dark"] .variations td,
html[data-theme="dark"] .variations th,
html[data-theme="dark"] .reset_variations,
html[data-theme="dark"] .stock,
html[data-theme="dark"] .doro-trust-list,
html[data-theme="dark"] .doro-trust-item {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

html[data-theme="dark"] .variations select,
html[data-theme="dark"] .doro-buybox select {
    background-color: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark) !important;
}

/* Live search / FiboSearch residuales */
html[data-theme="dark"] .dgwt-wcas-suggestions-wrapp,
html[data-theme="dark"] .dgwt-wcas-details-wrapp,
html[data-theme="dark"] .dgwt-wcas-suggestion,
html[data-theme="dark"] .doro-live-search__panel,
html[data-theme="dark"] .doro-live-search__results,
html[data-theme="dark"] .live-search__panel,
html[data-theme="dark"] .live-search__results {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .dgwt-wcas-suggestion,
html[data-theme="dark"] .live-search__item,
html[data-theme="dark"] .doro-live-search__item {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected,
html[data-theme="dark"] .live-search__item:hover,
html[data-theme="dark"] .doro-live-search__item:hover {
    background: var(--color-grey-nav, #1a2330) !important;
}

/* Mega menú: asegurar contraste en sidebar + paneles */
html[data-theme="dark"] .mega-menu__sidebar {
    background: var(--color-grey-bg, #0e141b) !important;
}

html[data-theme="dark"] .mega-menu__panels,
html[data-theme="dark"] .mega-menu__panel {
    background: var(--color-surface-elevated, #1a2330) !important;
}

html[data-theme="dark"] .mega-menu__cat:hover,
html[data-theme="dark"] .mega-menu__cat.is-active {
    background: var(--color-surface-elevated, #1a2330) !important;
}

html[data-theme="dark"] .mega-menu__tile-img,
html[data-theme="dark"] .mega-menu__tile-img img,
html[data-theme="dark"] .mega-menu__thumb {
    background: var(--color-grey-bg, #0e141b) !important;
}

/* Paginación */
html[data-theme="dark"] .woocommerce-pagination ul.page-numbers li a,
html[data-theme="dark"] .woocommerce-pagination ul.page-numbers li span,
html[data-theme="dark"] .page-numbers a,
html[data-theme="dark"] .page-numbers span {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .page-numbers .current,
html[data-theme="dark"] .woocommerce-pagination .page-numbers.current {
    background: var(--color-orange, #fa7311) !important;
    color: var(--color-on-accent, #fff) !important;
    border-color: var(--color-orange, #fa7311) !important;
}

/* Support / legal / content cards */
html[data-theme="dark"] .doro-support__hero,
html[data-theme="dark"] .doro-support__grid > *,
html[data-theme="dark"] .doro-page__card,
html[data-theme="dark"] .doro-page__section,
html[data-theme="dark"] .doro-page__box,
html[data-theme="dark"] .entry-content .wp-block-group,
html[data-theme="dark"] .entry-content .wp-block-columns {
    background-color: var(--color-surface-elevated, #1a2330);
    color: var(--color-dark);
    border-color: var(--color-grey-border);
}

/* Evitar botones/labels con color blanco forzado sobre superficie clara residual */
html[data-theme="dark"] .button:not(.alt):not(.single_add_to_cart_button):not([class*="orange"]):not(.doro-modal__btn--primary):not(.doro-login-page__submit):not(.doro-register-page__submit):not(.doro-auth-modal__submit):not(.doro-auth__submit),
html[data-theme="dark"] .woocommerce a.button:not(.alt):not(.doro-login-page__submit):not(.doro-auth__submit),
html[data-theme="dark"] .woocommerce button.button:not(.alt):not(.doro-login-page__submit):not(.doro-auth__submit):not(.doro-auth-modal__submit) {
    background-color: var(--color-surface-elevated, #1a2330);
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border);
}

/* Login/registro: CTA siempre naranja (no heredar botón “neutro” oscuro) */
html[data-theme="dark"] .doro-login-page__submit,
html[data-theme="dark"] .doro-register-page__submit,
html[data-theme="dark"] .doro-auth-modal__submit,
html[data-theme="dark"] .doro-auth__submit,
html[data-theme="dark"] .woocommerce-form-login button.button,
html[data-theme="dark"] .woocommerce-form-login input.button,
html[data-theme="dark"] .woocommerce-form-register button.button,
html[data-theme="dark"] .woocommerce-form-register input.button {
    background: var(--color-orange, #fa7311) !important;
    background-color: var(--color-orange, #fa7311) !important;
    border-color: var(--color-orange, #fa7311) !important;
    color: #fff !important;
}

html[data-theme="dark"] .woocommerce a.button.alt,
html[data-theme="dark"] .woocommerce button.button.alt,
html[data-theme="dark"] .woocommerce input.button.alt,
html[data-theme="dark"] .single_add_to_cart_button,
html[data-theme="dark"] .checkout-button,
html[data-theme="dark"] .doro-checkout-summary__cta,
html[data-theme="dark"] .doro-cesta-summary__cta {
    background-color: var(--color-orange, #fa7311) !important;
    color: var(--color-on-accent, #fff) !important;
    border-color: var(--color-orange, #fa7311) !important;
}

/* Star ratings / muted */
html[data-theme="dark"] .star-rating,
html[data-theme="dark"] .woocommerce-product-rating {
    color: var(--color-grey-text);
}

/* Stripe Elements iframe host — no controlamos el iframe, sí el wrapper */
html[data-theme="dark"] .wc-stripe-elements-field,
html[data-theme="dark"] .StripeElement,
html[data-theme="dark"] .wc-stripe-upe-element {
    background: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Placeholder / empty states */
html[data-theme="dark"] .woocommerce-info::before,
html[data-theme="dark"] .woocommerce-message::before,
html[data-theme="dark"] .woocommerce-error::before {
    color: var(--color-orange, #fa7311);
}

/* Mobile bars */
html[data-theme="dark"] .shop-mobile-filters__header,
html[data-theme="dark"] .shop-mobile-filters__footer,
html[data-theme="dark"] .doro-mobile-buybar__inner {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Wishlist */
html[data-theme="dark"] .doro-wishlist,
html[data-theme="dark"] .doro-wishlist__item,
html[data-theme="dark"] .doro-wishlist__empty {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

/* Elementor sections that force white */
html[data-theme="dark"] .elementor-section,
html[data-theme="dark"] .elementor-widget-wrap,
html[data-theme="dark"] .elementor-column-wrap,
html[data-theme="dark"] .elementor-background-overlay {
    background-color: transparent;
}

html[data-theme="dark"] .elementor-widget-container {
    color: var(--color-dark);
}

/* Live search / resultados del buscador */
html[data-theme="dark"] .live-search,
html[data-theme="dark"] .live-search__panel,
html[data-theme="dark"] .live-search__results,
html[data-theme="dark"] .live-search__discover,
html[data-theme="dark"] .live-search__discover-main {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .live-search__discover-side {
    background: var(--color-grey-bg, #0e141b) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .live-search__section-title,
html[data-theme="dark"] .live-search__suggest-item,
html[data-theme="dark"] .live-search__suggest-link,
html[data-theme="dark"] .live-search__history-item,
html[data-theme="dark"] .live-search__item,
html[data-theme="dark"] .live-search__item a,
html[data-theme="dark"] .live-search__cat,
html[data-theme="dark"] .live-search__cat-label,
html[data-theme="dark"] .live-search__cat-name,
html[data-theme="dark"] .live-search__list a,
html[data-theme="dark"] .live-search__empty,
html[data-theme="dark"] .live-search__loading,
html[data-theme="dark"] .live-search__all {
    color: var(--color-dark, #f5f7fa) !important;
}

html[data-theme="dark"] .live-search__suggest-remove {
    color: var(--color-grey-text, #a8b3c0) !important;
}

html[data-theme="dark"] .live-search__suggest-link:hover {
    color: var(--color-orange, #fa7311) !important;
    background: rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .live-search__clear,
html[data-theme="dark"] .live-search__more {
    color: #7eb6ff !important;
}

html[data-theme="dark"] .live-search__suggest-item:hover,
html[data-theme="dark"] .live-search__history-item:hover,
html[data-theme="dark"] .live-search__item:hover,
html[data-theme="dark"] .live-search__cat-tile:hover {
    background: var(--color-grey-nav, #1a2330) !important;
}

html[data-theme="dark"] .live-search__cat-tile,
html[data-theme="dark"] .live-search__cat-img,
html[data-theme="dark"] .live-search__thumb {
    background: var(--color-grey-bg, #0e141b) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .home-categories__arrow {
    background: var(--cat-nav-bg, transparent) !important;
    color: var(--cat-nav-color, #f5f5f5) !important;
    border: 0 !important;
}

html[data-theme="dark"] .home-categories__arrow:hover {
    background: var(--cat-nav-bg-hover, rgba(255, 255, 255, 0.18)) !important;
    color: var(--cat-nav-color, #fff) !important;
}

html[data-theme="dark"] .home-hero__nav {
    background: var(--hero-nav-bg, transparent) !important;
    color: var(--hero-nav-color, #f5f5f5) !important;
    border: 0 !important;
}

html[data-theme="dark"] .home-hero__nav:hover {
    background: var(--hero-nav-bg-hover, rgba(255, 255, 255, 0.18)) !important;
    color: var(--hero-nav-color, #fff) !important;
}

html[data-theme="dark"] .mega-menu__cats-wrap {
    background: var(--color-grey-bg, #0e141b);
    border-bottom-color: var(--color-grey-border, #2c3848);
}

html[data-theme="dark"] .mega-menu__scroll-hint {
    background: linear-gradient(to right, transparent 0%, var(--color-grey-bg, #0e141b) 55%) !important;
    color: rgba(245, 245, 245, 0.55) !important;
}

html[data-theme="dark"] .home-hero__nav svg,
html[data-theme="dark"] .home-categories__arrow svg {
    color: inherit !important;
    stroke: currentColor !important;
}

html[data-theme="dark"] .home-hero__nav svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}


/* Dropdown cuenta (Ingresar) */
html[data-theme="dark"] .header-dropdown--account,
html[data-theme="dark"] .header-dropdown--locale,
html[data-theme="dark"] .header-dropdown__shipping-card {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .header-dropdown__list a,
html[data-theme="dark"] .header-dropdown__list--plain a,
html[data-theme="dark"] .header-dropdown__user-name,
html[data-theme="dark"] .header-dropdown__title {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .header-dropdown__list--footer {
    background: var(--color-grey-bg, #0e141b) !important;
}

html[data-theme="dark"] .header-dropdown__list--footer a {
    color: var(--color-grey-text, #a8b3c0) !important;
}

html[data-theme="dark"] .header-dropdown__list--footer a:hover {
    color: var(--color-orange, #fa7311) !important;
}

html[data-theme="dark"] .header-dropdown__login-btn {
    background: var(--color-orange, #fa7311) !important;
    color: #fff !important;
    border-color: var(--color-orange, #fa7311) !important;
}

html[data-theme="dark"] .header-dropdown__list--plain {
    border-color: var(--color-grey-border) !important;
}

/* Locale / moneda: menú y hover legibles */
html[data-theme="dark"] .header-locale-select__toggle,
html[data-theme="dark"] .header-locale-select__menu {
    background: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .header-locale-select__field-label,
html[data-theme="dark"] .header-locale-select__chevron {
    color: var(--color-grey-text, #a8b3c0) !important;
}

html[data-theme="dark"] .header-locale-select__value,
html[data-theme="dark"] .header-locale-select__text,
html[data-theme="dark"] .header-locale-select__option {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .header-locale-select__option:hover,
html[data-theme="dark"] .header-locale-select__option:focus,
html[data-theme="dark"] .header-locale-select__option.is-selected {
    background: rgba(250, 115, 17, 0.18) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .header-dropdown__list a:hover,
html[data-theme="dark"] .header-dropdown__list--plain a:hover {
    background: rgba(250, 115, 17, 0.14);
    color: var(--color-orange, #fa7311) !important;
}

/* Carrito: bloque Destino/envío del Resumen (evitar #fafafa + texto claro) */
html[data-theme="dark"] .doro-cesta-summary__shipping,
html[data-theme="dark"] .doro-checkout-summary__shipping {
    background: var(--color-grey-bg, #0e141b) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-cesta-summary__shipping-title,
html[data-theme="dark"] .doro-cesta-summary__shipping-dest,
html[data-theme="dark"] .doro-cesta-summary__shipping-note,
html[data-theme="dark"] .doro-cesta-summary__shipping-list,
html[data-theme="dark"] .doro-cesta-summary__shipping-list li,
html[data-theme="dark"] .doro-cesta-summary__row,
html[data-theme="dark"] .doro-cesta-summary__title,
html[data-theme="dark"] .doro-cesta-summary__total {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-cesta-summary__shipping-list li {
    border-bottom-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-cesta-summary__shipping-fx {
    background: rgba(250, 115, 17, 0.12) !important;
    color: #ffc27a !important;
}

html[data-theme="dark"] .doro-cesta-summary__ship-opt {
    background: var(--color-grey-bg, #0e141b) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-cesta-summary__ship-opt:hover,
html[data-theme="dark"] .doro-cesta-summary__ship-opt.is-active {
    background: rgba(250, 115, 17, 0.16) !important;
    border-color: var(--color-orange, #fa7311) !important;
    color: var(--color-dark) !important;
}

/* ==========================================================================
   Página de producto — contraste completo
   ========================================================================== */

html[data-theme="dark"] .doro-product,
html[data-theme="dark"] body.single-product .site-content,
html[data-theme="dark"] body.single-product #content {
    background: var(--theme-bg, #131a22) !important;
    color: var(--color-dark);
}

html[data-theme="dark"] .doro-product__gallery,
html[data-theme="dark"] .doro-product__summary,
html[data-theme="dark"] .doro-buybox,
html[data-theme="dark"] .doro-buybox__panel,
html[data-theme="dark"] .doro-product__below,
html[data-theme="dark"] .woocommerce-product-gallery,
html[data-theme="dark"] .flex-viewport,
html[data-theme="dark"] .doro-product__more,
html[data-theme="dark"] .related.products,
html[data-theme="dark"] .upsells.products {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-product__summary .product_title,
html[data-theme="dark"] .doro-product__summary .price,
html[data-theme="dark"] .doro-product__summary .price .amount,
html[data-theme="dark"] .doro-product__breadcrumb,
html[data-theme="dark"] .doro-product__breadcrumb a,
html[data-theme="dark"] .woocommerce-breadcrumb,
html[data-theme="dark"] .woocommerce-breadcrumb a {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-product__wish,
html[data-theme="dark"] .doro-product__share,
html[data-theme="dark"] .doro-buybox__wish {
    background: var(--color-grey-bg, #0e141b) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-orange, #fa7311) !important;
}

html[data-theme="dark"] .doro-product__wish:hover,
html[data-theme="dark"] .doro-product__share:hover,
html[data-theme="dark"] .doro-product__wish.is-active {
    background: var(--color-grey-nav, #1a2330) !important;
    color: var(--color-orange, #fa7311) !important;
}

/* Trust: texto claro (antes #1a1a1a sobre fondo oscuro) */
html[data-theme="dark"] .doro-buybox__trust {
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-buybox__trust-item,
html[data-theme="dark"] .doro-buybox__trust-label,
html[data-theme="dark"] .doro-buybox__trust-chev {
    color: var(--color-dark, #f5f7fa) !important;
}

html[data-theme="dark"] .doro-buybox__ship-card {
    background: var(--color-surface-elevated, #1a2330) !important;
    border-color: var(--color-grey-border) !important;
}

/* Cabecera Destino: #eef8f0 claro → tinte oscuro legible */
html[data-theme="dark"] .doro-buybox__ship-head {
    background: rgba(46, 125, 50, 0.18) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-buybox__ship-title,
html[data-theme="dark"] .doro-buybox__ship-dest,
html[data-theme="dark"] .doro-buybox__ship-dest strong {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-buybox__ship-icon {
    color: #81c784 !important;
}

html[data-theme="dark"] .doro-buybox__ship-note,
html[data-theme="dark"] .doro-buybox__ship-to,
html[data-theme="dark"] .doro-buybox__ship-to-title,
html[data-theme="dark"] .doro-buybox__delivery-eta,
html[data-theme="dark"] .doro-buybox__ship-row dd,
html[data-theme="dark"] .doro-buybox__ship-row dt {
    color: var(--color-grey-text, #a8b3c0) !important;
    background: transparent !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-buybox__ship-row {
    border-bottom-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-buybox__ship-row dd,
html[data-theme="dark"] .doro-buybox__ship-row--returns dd {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-buybox__ship-row--returns dd {
    color: #81c784 !important;
}

html[data-theme="dark"] .doro-buybox__ship-to-list li {
    background: var(--color-grey-bg, #0e141b) !important;
    border-color: var(--color-grey-border) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-buybox__ship-fx {
    background: rgba(250, 115, 17, 0.12) !important;
    color: #ffb074 !important;
    border-color: rgba(250, 115, 17, 0.35) !important;
}

html[data-theme="dark"] .doro-buybox__ship-unavailable {
    background: rgba(229, 57, 53, 0.15) !important;
    color: #ff8a80 !important;
    border-color: rgba(229, 57, 53, 0.35) !important;
}

/* Qty / variaciones */
html[data-theme="dark"] .doro-qty,
html[data-theme="dark"] .doro-qty__btn,
html[data-theme="dark"] .variations,
html[data-theme="dark"] .variations td,
html[data-theme="dark"] .variations th,
html[data-theme="dark"] .variations select,
html[data-theme="dark"] .doro-buybox select,
html[data-theme="dark"] .doro-buybox .qty {
    background: var(--color-grey-bg, #0e141b) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-buybox__actions form.cart .doro-buybox__buy-now {
    background: #f5f7fa !important;
    color: #131a22 !important;
}

/* Tabs descripción / reviews */
html[data-theme="dark"] .doro-product__below .woocommerce-tabs ul.tabs {
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-product__below .woocommerce-tabs ul.tabs li a {
    color: var(--color-grey-text, #a8b3c0) !important;
    background: transparent !important;
}

html[data-theme="dark"] .doro-product__below .woocommerce-tabs ul.tabs li.active a,
html[data-theme="dark"] .doro-product__below .woocommerce-tabs ul.tabs li a:hover {
    color: var(--color-orange, #fa7311) !important;
    background: transparent !important;
}

html[data-theme="dark"] .doro-product__below .woocommerce-Tabs-panel,
html[data-theme="dark"] .doro-product__below .woocommerce-Tabs-panel h2,
html[data-theme="dark"] .doro-product__below .woocommerce-Tabs-panel p,
html[data-theme="dark"] .doro-product__below .woocommerce-Tabs-panel li,
html[data-theme="dark"] .doro-product__below .woocommerce-Tabs-panel td,
html[data-theme="dark"] .doro-product__below .woocommerce-Tabs-panel th,
html[data-theme="dark"] .doro-desc-clamp__inner,
html[data-theme="dark"] .doro-desc-clamp__inner h2,
html[data-theme="dark"] .doro-desc-clamp__inner p {
    color: var(--color-dark, #f5f7fa) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .doro-trust-modal__dialog {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-trust-modal__title,
html[data-theme="dark"] .doro-trust-modal__list p,
html[data-theme="dark"] .doro-trust-modal__list strong {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-trust-modal__list > li {
    background: var(--color-grey-bg, #0e141b) !important;
}

html[data-theme="dark"] .doro-trust-modal__close {
    color: var(--color-dark) !important;
}

html[data-theme="dark"] .doro-trust-modal__close:hover {
    background: var(--color-grey-nav) !important;
}

html[data-theme="dark"] .doro-mobile-buybar,
html[data-theme="dark"] .doro-product-sticky {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}

html[data-theme="dark"] .comment-respond,
html[data-theme="dark"] .commentlist .comment,
html[data-theme="dark"] #reviews,
html[data-theme="dark"] .woocommerce-Reviews {
    background: var(--color-surface-elevated, #1a2330) !important;
    color: var(--color-dark) !important;
    border-color: var(--color-grey-border) !important;
}
