/* =========================================================
   BYGlo V5.5.2 · Temas públicos
   El tema oscuro es el diseño original. Esta hoja solo añade
   el selector y las adaptaciones del tema claro.
   ========================================================= */
:root{color-scheme:dark}
html[data-theme="light"]{color-scheme:light;--negro:#f1e6d7;--negro-2:#fbf4ea;--negro-3:#e5d3bb;--dorado:#b96d15;--dorado-claro:#915414;--cobre:#984807;--champagne:#f1cf78;--blanco:#2a1b11;--gris:#6b5a4b;--borde:rgba(125,78,29,.27);--sombra:0 20px 55px rgba(83,52,15,.13)}

/* Selector de tema */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;border:1px solid rgba(246,223,131,.28);border-radius:999px;background:rgba(255,255,255,.045);color:var(--dorado-claro);font:inherit;font-size:.84rem;font-weight:850;cursor:pointer;transition:.2s ease;white-space:nowrap}.theme-toggle:hover{transform:translateY(-1px);border-color:rgba(246,223,131,.55);background:rgba(216,137,33,.10)}.theme-toggle:focus-visible{outline:3px solid rgba(216,137,33,.25);outline-offset:2px}.theme-toggle-icon{display:grid;place-items:center;width:22px;height:22px;font-size:1rem;line-height:1}.theme-toggle-label{line-height:1}
@media(max-width:850px){.theme-toggle{width:100%;min-height:44px;margin:2px 0;text-align:center}}

/* Botón flotante WhatsApp · V5.5.1
   Diseño limpio y consistente con el logo By Glo. El SVG vive en el HTML
   para evitar diferencias de render entre Safari/Chrome. */
.whatsapp-float{
    width:56px!important;height:56px!important;padding:0!important;border-radius:18px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    background:linear-gradient(155deg,#17110b 0%,#0b0907 100%)!important;
    color:#e9b94f!important;border:1px solid rgba(232,181,72,.72)!important;
    box-shadow:0 14px 32px rgba(0,0,0,.38),inset 0 0 0 1px rgba(255,255,255,.035)!important;
    font-size:0!important;text-decoration:none!important;overflow:visible!important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
.whatsapp-float svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.whatsapp-float .whatsapp-float-label{
    position:absolute;right:calc(100% + 10px);top:50%;transform:translate(8px,-50%);
    min-height:34px;padding:7px 11px;border-radius:10px;display:flex;align-items:center;
    background:#100c08;color:#f3d986;border:1px solid rgba(232,181,72,.34);
    box-shadow:0 10px 26px rgba(0,0,0,.30);font-size:.76rem;font-weight:850;letter-spacing:.01em;
    opacity:0;visibility:hidden;white-space:nowrap;pointer-events:none;
    transition:opacity .16s ease,transform .16s ease,visibility .16s ease;
}
.whatsapp-float:hover,.whatsapp-float:focus-visible{transform:translateY(-2px)!important;border-color:#f0ca6c!important;box-shadow:0 18px 38px rgba(0,0,0,.42),0 0 0 3px rgba(225,163,45,.12)!important}
.whatsapp-float:hover .whatsapp-float-label,.whatsapp-float:focus-visible .whatsapp-float-label{opacity:1;visibility:visible;transform:translate(0,-50%)}
.whatsapp-float:focus-visible{outline:2px solid rgba(246,223,131,.85)!important;outline-offset:3px!important}
/* Anula el aro verde heredado de site-effects.css. */
.whatsapp-float::before{content:none!important;display:none!important}
.whatsapp-float::after{content:none!important;display:none!important;animation:none!important;border:0!important}
html[data-theme="light"] .whatsapp-float{background:linear-gradient(155deg,#fff9ef 0%,#f4e6cf 100%)!important;color:#8d4f0d!important;border-color:rgba(145,84,20,.48)!important;box-shadow:0 14px 30px rgba(83,52,15,.20),inset 0 0 0 1px rgba(255,255,255,.8)!important}
html[data-theme="light"] .whatsapp-float .whatsapp-float-label{background:#fff9ef;color:#70400f;border-color:rgba(145,84,20,.28);box-shadow:0 10px 24px rgba(83,52,15,.16)}
@media(max-width:760px){.whatsapp-float{width:52px!important;height:52px!important;right:16px!important;bottom:16px!important;border-radius:16px!important}.whatsapp-float svg{width:25px;height:25px}.whatsapp-float .whatsapp-float-label{display:none!important}}

/* Base clara */
html[data-theme="light"] body{background:linear-gradient(135deg,#f8f1e7 0%,#f1e3d1 52%,#fff9ef 100%);color:var(--blanco)}
html[data-theme="light"] body::selection{background:#d68a25;color:#fff}
html[data-theme="light"] p{color:var(--gris)}
html[data-theme="light"] .card{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,249,239,.88));border-color:var(--borde);box-shadow:var(--sombra)}
html[data-theme="light"] .empty-box{background:rgba(255,255,255,.62)}
html[data-theme="light"] .badge{background:rgba(185,109,21,.09);border-color:rgba(152,72,7,.20);color:#8b4d0d}

/* Cabecera · claro cálido V5.5.2
   Más contraste que el marfil original, sin convertir el tema en oscuro. */
html[data-theme="light"] .site-header{
    background:linear-gradient(90deg,rgba(237,223,204,.98) 0%,rgba(244,233,218,.98) 52%,rgba(239,224,204,.98) 100%);
    border-bottom-color:rgba(123,76,27,.28);
    box-shadow:0 9px 30px rgba(78,50,18,.10),inset 0 -1px 0 rgba(255,255,255,.42)
}
html[data-theme="light"] .brand small{color:#685747}
html[data-theme="light"] .main-nav a{color:#39291d}
html[data-theme="light"] .main-nav a:hover{background:rgba(132,77,19,.10);color:#75400b}
html[data-theme="light"] .main-nav .nav-account{background:rgba(255,248,238,.34);border-color:rgba(125,74,20,.31);color:#72400d}
html[data-theme="light"] .theme-toggle{background:rgba(250,241,228,.72);border-color:rgba(125,74,20,.31);color:#72400d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}
html[data-theme="light"] .nav-toggle span{background:#79440d}
@media(max-width:850px){html[data-theme="light"] .main-nav{background:#eee0ce;border-color:rgba(123,76,27,.27);box-shadow:0 20px 50px rgba(77,47,15,.18)}}
@media(min-width:851px){html[data-theme="light"] .site-header.is-compact{background:linear-gradient(90deg,rgba(234,218,196,.99),rgba(242,230,213,.99));box-shadow:0 14px 34px rgba(74,46,16,.14)}}

/* Portada */
html[data-theme="light"] .hero::before{background:linear-gradient(90deg,rgba(248,241,231,.96) 0%,rgba(247,237,224,.88) 58%,rgba(245,224,198,.66) 100%)}
html[data-theme="light"] .hero-panel{background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(255,247,235,.80));border-color:rgba(133,83,27,.22)}
html[data-theme="light"] .hero-panel img{background:linear-gradient(135deg,rgba(241,207,120,.16),rgba(185,109,21,.10))}
html[data-theme="light"] .stat{background:rgba(255,255,255,.72)}
html[data-theme="light"] .stat span{color:#74675a}
html[data-theme="light"] .category-card h3{color:#2a1d14}
html[data-theme="light"] .product-img,html[data-theme="light"] .catalog-img,html[data-theme="light"] .detail-image img,html[data-theme="light"] .media-stage{background:#ede3d5}
html[data-theme="light"] .cta-band,html[data-theme="light"] .social-band{background:linear-gradient(135deg,rgba(255,255,255,.80),rgba(220,163,83,.12))}

/* Formularios públicos y autenticación */
html[data-theme="light"] main input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),html[data-theme="light"] main select,html[data-theme="light"] main textarea{background:#fffdfa!important;color:#2a1d14!important;border-color:rgba(133,83,27,.30)!important}
html[data-theme="light"] main input::placeholder,html[data-theme="light"] main textarea::placeholder{color:#988571!important;opacity:1}
html[data-theme="light"] .auth-card{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,248,238,.90))}
html[data-theme="light"] .auth-field label,html[data-theme="light"] .agenda-take-form label,html[data-theme="light"] .agenda-product-fields label,html[data-theme="light"] .agenda-product-extras>label,html[data-theme="light"] .form-grid label{color:#49392b}
html[data-theme="light"] .auth-help,html[data-theme="light"] .auth-user-row span,html[data-theme="light"] .agenda-timer-box small,html[data-theme="light"] .agenda-reservation-facts span,html[data-theme="light"] .agenda-product-extras small{color:#7d6c5c}
html[data-theme="light"] .auth-user-row,html[data-theme="light"] .auth-mode-switch,html[data-theme="light"] .auth-input-group{background:rgba(255,255,255,.74)}
html[data-theme="light"] .auth-prefix{background:#f8efe0;color:#82500f;border-right-color:rgba(133,83,27,.20)}
html[data-theme="light"] .auth-subtitle{color:#34261c}

/* Agenda: estructura, pasos, productos y envío */
html[data-theme="light"] .agenda-slot-meta,html[data-theme="light"] .agenda-reservation-facts>div,html[data-theme="light"] .agenda-product-editor,html[data-theme="light"] .agenda-product-summary,html[data-theme="light"] .agenda-shipping-type,html[data-theme="light"] .agenda-shipping-summary,html[data-theme="light"] .agenda-home-simple-intro,html[data-theme="light"] .agenda-detected-destination{background:rgba(255,255,255,.72);color:#665545}
html[data-theme="light"] .agenda-slot-meta strong,html[data-theme="light"] .agenda-reservation-status,html[data-theme="light"] .agenda-step.active,html[data-theme="light"] .agenda-product-pricebar strong,html[data-theme="light"] .agenda-product-summary small{color:#7d480e}
html[data-theme="light"] .agenda-note,html[data-theme="light"] .agenda-section-title p,html[data-theme="light"] .agenda-total-box small,html[data-theme="light"] .agenda-product-summary p{color:#776859}
html[data-theme="light"] .agenda-reservation-facts strong,html[data-theme="light"] .agenda-shipping-summary strong,html[data-theme="light"] .agenda-detected-destination strong{color:#2a1d14}
html[data-theme="light"] .agenda-step{background:#fffaf2;color:#7c6d5d}
html[data-theme="light"] .agenda-step b{background:#eee1ce}
html[data-theme="light"] .agenda-check,html[data-theme="light"] .agenda-product-pricebar span{background:#f6ecdd}
html[data-theme="light"] .agenda-total-box{background:linear-gradient(90deg,rgba(230,185,98,.20),rgba(255,255,255,.72))}
html[data-theme="light"] .agenda-total-box span{color:#4b392a}
html[data-theme="light"] .agenda-total-box strong{color:#92530e}
html[data-theme="light"] .agenda-google-map-shell{background:#eee5d8}
html[data-theme="light"] .agenda-google-status{background:#fffaf2;color:#655447}
html[data-theme="light"] .agenda-google-map-help{background:rgba(255,250,242,.90);color:#5d4936;border:1px solid rgba(133,83,27,.18)}

/* Cuenta de cliente */
html[data-theme="light"] .account-v54-hero,html[data-theme="light"] .account-v54-sidebar,html[data-theme="light"] .account-v54-content{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,248,238,.88));box-shadow:var(--sombra)}
html[data-theme="light"] .account-v54-hero p,html[data-theme="light"] .account-v54-section-head p{color:#746352}
html[data-theme="light"] .account-v54-user-mini strong,html[data-theme="light"] .account-v54-featured-main h3,html[data-theme="light"] .account-v54-order-top>div>strong,html[data-theme="light"] .account-v54-payment-card-head>div>strong{color:#2d2016}
html[data-theme="light"] .account-v54-user-mini span,html[data-theme="light"] .account-v54-nav-copy small,html[data-theme="light"] .account-v54-order-top>div>span,html[data-theme="light"] .account-v54-payment-card-head>div>span,html[data-theme="light"] .account-v54-featured-facts span,html[data-theme="light"] .account-v54-order-info span,html[data-theme="light"] .account-v54-payment-values span,html[data-theme="light"] .account-v54-readonly-grid span,html[data-theme="light"] .account-v54-security-summary span{color:#796956}
html[data-theme="light"] .account-v54-nav-item{color:#4e3c2d}
html[data-theme="light"] .account-v54-nav-item:hover{background:rgba(145,84,20,.06)}
html[data-theme="light"] .account-v54-nav-item.active{background:linear-gradient(90deg,rgba(221,173,82,.22),rgba(185,109,21,.08));color:#5f350c}
html[data-theme="light"] .account-v54-nav-icon,html[data-theme="light"] .account-v54-count,html[data-theme="light"] .account-v54-filter-tabs a,html[data-theme="light"] .account-v54-logout button{background:#fff9ef;color:#72410d;border-color:rgba(133,83,27,.24)}
html[data-theme="light"] .account-v54-stats a,html[data-theme="light"] .account-v54-featured-facts>div,html[data-theme="light"] .account-v54-quick-grid a,html[data-theme="light"] .account-v54-order-info>div,html[data-theme="light"] .account-v54-payment-values>div{background:#fffaf2}
html[data-theme="light"] .account-v54-featured-order,html[data-theme="light"] .account-v54-order-card,html[data-theme="light"] .account-v54-payment-card{background:linear-gradient(180deg,#fffdf9,#f9efe1)}
html[data-theme="light"] .account-v54-featured-facts strong,html[data-theme="light"] .account-v54-order-info strong,html[data-theme="light"] .account-v54-payment-values strong,html[data-theme="light"] .account-v54-quick-grid a{color:#332419}
html[data-theme="light"] .account-v54-quick-grid span,html[data-theme="light"] .account-v54-featured-date,html[data-theme="light"] .account-v54-order-top small,html[data-theme="light"] .account-v54-payment-card-head small{color:#756453}
html[data-theme="light"] .account-v54-empty,html[data-theme="light"] .account-orders-count-v52,html[data-theme="light"] .account-order-empty-v52{background:#fff8ed}
html[data-theme="light"] .account-order-tab-v52,html[data-theme="light"] .account-v54-filter-tabs a{background:#fffaf2;color:#513c2c}
html[data-theme="light"] .account-order-card-v52{background:linear-gradient(180deg,#fffdf9,#f8eee0)}
html[data-theme="light"] .account-order-code-v52,html[data-theme="light"] .account-order-facts-v52 strong{color:#2d2016}
html[data-theme="light"] .account-order-label-v52,html[data-theme="light"] .account-order-card-head-v52 small,html[data-theme="light"] .account-order-facts-v52 span{color:#776451}
html[data-theme="light"] .account-order-facts-v52>div{background:#fff9ef}

/* Catálogo */
html[data-theme="light"] .filters{background:linear-gradient(180deg,#fffdfa,#fff7eb)}
html[data-theme="light"] .filter-list a{background:#fffaf2;color:#5e4c3d}
html[data-theme="light"] .filter-list a.active,html[data-theme="light"] .filter-list a:hover{background:rgba(185,109,21,.10);color:#7f480d}
html[data-theme="light"] .search-box input{background:#fffdfa;color:#2a1d14}
html[data-theme="light"] .catalog-body p{color:#6d5f52}
html[data-theme="light"] .detail-box{background:rgba(255,255,255,.68)}

/* Tus medidas */
html[data-theme="light"] .medidas-card,html[data-theme="light"] .medidas-panel,html[data-theme="light"] .medidas-form-card,html[data-theme="light"] .medidas-result-card{background:linear-gradient(180deg,#fffdf9,#f8eee0)!important;color:#2b1e15}
html[data-theme="light"] .medidas-card p,html[data-theme="light"] .medidas-panel p,html[data-theme="light"] .medidas-note,html[data-theme="light"] .medidas-notice{color:#6f5e4f}
html[data-theme="light"] .medidas-modal-content{background:#fffaf2;color:#2b1e15;box-shadow:0 22px 70px rgba(71,44,15,.25)}
html[data-theme="light"] .medidas-modal-close{background:#fff;color:#3d2b1e;border-color:rgba(133,83,27,.22)}

/* Contacto */
html[data-theme="light"] .contact-item{background:#fffaf2}
html[data-theme="light"] .contact-item strong{color:#7e480d}

/* Footer */
html[data-theme="light"] .site-footer{background:linear-gradient(135deg,#ead8c1,#f7ebdc);border-top-color:rgba(125,78,29,.24)}
html[data-theme="light"] .footer-brand h3,html[data-theme="light"] .footer-links h4{color:#7c460e}
html[data-theme="light"] .footer-links a{color:#57483b}
html[data-theme="light"] .footer-copy{border-top-color:rgba(133,83,27,.12);color:#75685c}
html[data-theme="light"] .footer-socials a{background:rgba(185,109,21,.08);color:#7b450d}

/* Intro adaptada al tema */
html[data-theme="light"] .byglo-intro{background:radial-gradient(circle at 50% 46%,rgba(216,137,33,.18),transparent 34%),linear-gradient(145deg,#f8f1e7 0%,#fffaf3 58%,#ead8c1 100%)}
html[data-theme="light"] .byglo-intro-content span{color:#7c460e}

/* El mapa y las fotos conservan sus propios colores; los avisos mantienen
   verde/amarillo/rojo para que el significado de los estados no cambie. */
@media(prefers-reduced-motion:reduce){.theme-toggle,.whatsapp-float{transition:none}}

/* =========================================================
   BYGlo V5.5.3 · Compatibilidad completa del tema claro
   ---------------------------------------------------------
   V5.5.2 ajustó la base/header. Esta capa termina de adaptar
   módulos que todavía conservaban colores oscuros propios:
   Mi cuenta V5.4, Agenda, Productos, Envío y Abono V5.
   SOLO se aplica a html[data-theme="light"].
   ========================================================= */
html[data-theme="light"]{
    --bg-claro:#f3e6d5;
    --surface-claro:#fbf3e8;
    --surface-claro-2:#f6e9d8;
    --surface-claro-3:#eedcc5;
    --texto-claro:#2d1d13;
    --texto-sec:#6d5947;
    --texto-suave:#806b57;
    --borde-claro:rgba(125,78,29,.25);
    --borde-claro-fuerte:rgba(125,78,29,.38);
    --acento-claro:#9a560d;
    --acento-fondo:rgba(185,109,21,.12);
    --verde-texto:#245b36;
    --verde-fondo:#e3f2e7;
    --verde-borde:#9bc6a8;
    --rojo-texto:#7b2d27;
    --rojo-fondo:#f7e3df;
    --rojo-borde:#d6a29b;
    --amarillo-texto:#75500c;
    --amarillo-fondo:#f7ecd1;
    --amarillo-borde:#d6bd78;
}

/* Base del contenido: evita texto crema sobre superficies claras. */
html[data-theme="light"] main,
html[data-theme="light"] main h1,
html[data-theme="light"] main h2,
html[data-theme="light"] main h3,
html[data-theme="light"] main h4,
html[data-theme="light"] main strong{color:var(--texto-claro)}
html[data-theme="light"] main p,
html[data-theme="light"] main small{color:var(--texto-sec)}
html[data-theme="light"] .eyebrow{color:var(--acento-claro)}
html[data-theme="light"] .btn:not(.btn-primary):not(.nav-cta){background:#fff8ef;color:#563716;border-color:var(--borde-claro-fuerte)}
html[data-theme="light"] .btn:not(.btn-primary):not(.nav-cta):hover{background:#f3e3cc;border-color:rgba(154,86,13,.55);color:#45280c}
html[data-theme="light"] .btn-primary{color:#1a1007!important}

/* Alertas: conservan el significado por color, pero con contraste real en claro. */
html[data-theme="light"] .auth-alert.success{background:var(--verde-fondo);border-color:var(--verde-borde);color:var(--verde-texto)}
html[data-theme="light"] .auth-alert.error{background:var(--rojo-fondo);border-color:var(--rojo-borde);color:var(--rojo-texto)}
html[data-theme="light"] .auth-alert.info{background:var(--amarillo-fondo);border-color:var(--amarillo-borde);color:var(--amarillo-texto)}
html[data-theme="light"] .auth-alert strong{color:inherit}

/* =========================================================
   MI CUENTA V5.4
   ========================================================= */
html[data-theme="light"] .account-v54-hero,
html[data-theme="light"] .account-v54-sidebar,
html[data-theme="light"] .account-v54-content{
    background:linear-gradient(180deg,#fbf3e8 0%,#f5e7d5 100%);
    border-color:var(--borde-claro);
    box-shadow:0 18px 44px rgba(87,53,17,.12)
}
html[data-theme="light"] .account-v54-hero h1,
html[data-theme="light"] .account-v54-section-head h2{color:#2c1b12}
html[data-theme="light"] .account-v54-hero p,
html[data-theme="light"] .account-v54-section-head p{color:#6d5744}
html[data-theme="light"] .account-v54-verified{
    background:var(--verde-fondo);border-color:var(--verde-borde);color:var(--verde-texto)
}
html[data-theme="light"] .account-v54-banner.warning{
    background:var(--amarillo-fondo);border-color:var(--amarillo-borde);color:var(--amarillo-texto)
}
html[data-theme="light"] .account-v54-banner span{color:#725a40}
html[data-theme="light"] .account-v54-banner a{color:#7a430b}
html[data-theme="light"] .account-v54-user-mini{border-bottom-color:rgba(125,78,29,.17)}
html[data-theme="light"] .account-v54-user-mini strong{color:#2e2016}
html[data-theme="light"] .account-v54-user-mini span{color:#745f4d}
html[data-theme="light"] .account-v54-nav-item{color:#4c3827}
html[data-theme="light"] .account-v54-nav-copy small{color:#76614e}
html[data-theme="light"] .account-v54-nav-item b{background:#ead7b9;color:#754109}
html[data-theme="light"] .account-v54-nav-icon{background:#fff8ed;color:#77430b;border-color:var(--borde-claro)}
html[data-theme="light"] .account-v54-nav-item.active .account-v54-nav-icon{background:linear-gradient(135deg,#f4cf77,#c97913);color:#251407}
html[data-theme="light"] .account-v54-logout{border-top-color:rgba(125,78,29,.16)}
html[data-theme="light"] .account-v54-logout button{background:#f9efe2;color:#4e3218;border-color:var(--borde-claro-fuerte)}
html[data-theme="light"] .account-v54-count{background:#f4e4d0;border-color:var(--borde-claro)}
html[data-theme="light"] .account-v54-count strong{color:#8d4d0b}
html[data-theme="light"] .account-v54-count span{color:#715b48}
html[data-theme="light"] .account-v54-stats a{
    background:#f8eddf;border-color:rgba(125,78,29,.18);color:#342318
}
html[data-theme="light"] .account-v54-stats a:hover{background:#f2dfc5;border-color:rgba(154,86,13,.38)}
html[data-theme="light"] .account-v54-stats span{color:#735d48}
html[data-theme="light"] .account-v54-stats strong{color:#9b590e}
html[data-theme="light"] .account-v54-stats small{color:#786450}
html[data-theme="light"] .account-v54-featured-order,
html[data-theme="light"] .account-v54-order-card,
html[data-theme="light"] .account-v54-payment-card{
    background:linear-gradient(180deg,#fff9f1,#f4e5d2);border-color:var(--borde-claro)
}
html[data-theme="light"] .account-v54-featured-main h3,
html[data-theme="light"] .account-v54-order-top>div>strong,
html[data-theme="light"] .account-v54-payment-card-head>div>strong{color:#2e1f15}
html[data-theme="light"] .account-v54-featured-date,
html[data-theme="light"] .account-v54-order-top small,
html[data-theme="light"] .account-v54-payment-card-head small{color:#735e4a}
html[data-theme="light"] .account-v54-featured-facts>div,
html[data-theme="light"] .account-v54-order-info>div,
html[data-theme="light"] .account-v54-payment-values>div,
html[data-theme="light"] .account-v54-readonly-grid>div,
html[data-theme="light"] .account-v54-security-summary>div{
    background:#f7ecde;border-color:rgba(125,78,29,.17)
}
html[data-theme="light"] .account-v54-featured-facts span,
html[data-theme="light"] .account-v54-order-info span,
html[data-theme="light"] .account-v54-payment-values span,
html[data-theme="light"] .account-v54-readonly-grid span,
html[data-theme="light"] .account-v54-security-summary span{color:#725c48}
html[data-theme="light"] .account-v54-featured-facts strong,
html[data-theme="light"] .account-v54-order-info strong,
html[data-theme="light"] .account-v54-payment-values strong,
html[data-theme="light"] .account-v54-readonly-grid strong,
html[data-theme="light"] .account-v54-security-summary strong{color:#332217}
html[data-theme="light"] .account-v54-readonly-grid small{color:#356b45}
html[data-theme="light"] .account-v54-quick-grid a{background:#f8eddf;color:#352419;border-color:rgba(125,78,29,.18)}
html[data-theme="light"] .account-v54-quick-grid a:hover{background:#f2dfc5;border-color:rgba(154,86,13,.38)}
html[data-theme="light"] .account-v54-quick-grid span{color:#725e4b}
html[data-theme="light"] .account-v54-quick-grid i{color:#9b580e}
html[data-theme="light"] .account-v54-filter-tabs a{background:#f9efe2;color:#4d3522;border-color:var(--borde-claro)}
html[data-theme="light"] .account-v54-filter-tabs a.active{background:linear-gradient(90deg,#f5d37e,#cd7712);color:#241406}
html[data-theme="light"] .account-v54-empty{
    background:#f7ead8;border-color:rgba(125,78,29,.38)
}
html[data-theme="light"] .account-v54-empty strong{color:#49301c}
html[data-theme="light"] .account-v54-empty span{color:#765f49}
html[data-theme="light"] .account-v54-empty-icon{background:#ead2ae;color:#8a4b0a}
html[data-theme="light"] .account-v54-pagination span{color:#6f5a47}
html[data-theme="light"] .account-v54-profile-form,
html[data-theme="light"] .account-v54-password-form{
    background:#f5e7d5;border-color:var(--borde-claro)
}
html[data-theme="light"] .account-v54-password-toggle{background:#ead7bd;color:#6f3c0a;border-color:var(--borde-claro-fuerte)}
html[data-theme="light"] .account-v54-security-help{background:#f7ecdf;border-color:rgba(125,78,29,.18)}
html[data-theme="light"] .account-v54-security-help strong{color:#342318}
html[data-theme="light"] .account-v54-security-help span{color:#725e4c}
html[data-theme="light"] .account-v54-security-help a{color:#85480b}
html[data-theme="light"] .account-v54-points-hero{background:linear-gradient(100deg,#f2dfc3,#faf1e5);border-color:var(--borde-claro)}
html[data-theme="light"] .account-v54-points-hero span{color:#864a0b}
html[data-theme="light"] .account-v54-points-hero strong{color:#302016}
html[data-theme="light"] .account-v54-points-hero p{color:#6f5a47}
html[data-theme="light"] .account-v54-coming-grid>div{background:#f7ebdc;border-color:rgba(125,78,29,.16);opacity:1}
html[data-theme="light"] .account-v54-coming-grid strong{color:#49321f}
html[data-theme="light"] .account-v54-coming-grid span{color:#77624f}

/* Estados del perfil: más contraste sin perder significado. */
html[data-theme="light"] .account-v54-status.ok{background:#dcefe1;color:#285b38}
html[data-theme="light"] .account-v54-status.pending{background:#f5e7bd;color:#71500c}
html[data-theme="light"] .account-v54-status.warn{background:#f4dfc4;color:#7b450d}
html[data-theme="light"] .account-v54-status.error{background:#f3deda;color:#7b3029}
html[data-theme="light"] .account-v54-payment-note.ok,
html[data-theme="light"] .account-v54-payment-observation.ok{background:var(--verde-fondo);border-color:var(--verde-borde);color:var(--verde-texto)}
html[data-theme="light"] .account-v54-payment-note.pending,
html[data-theme="light"] .account-v54-payment-observation.pending{background:var(--amarillo-fondo);border-color:var(--amarillo-borde);color:var(--amarillo-texto)}
html[data-theme="light"] .account-v54-payment-note.warn,
html[data-theme="light"] .account-v54-payment-observation.warn{background:#f4e1c9;border-color:#d7aa70;color:#77430c}
html[data-theme="light"] .account-v54-payment-note.error,
html[data-theme="light"] .account-v54-payment-observation.error{background:var(--rojo-fondo);border-color:var(--rojo-borde);color:var(--rojo-texto)}

/* =========================================================
   AGENDA / RESERVA / PRODUCTOS
   ========================================================= */
html[data-theme="light"] .auth-card.agenda-reservation-card,
html[data-theme="light"] .agenda-intro-card,
html[data-theme="light"] .agenda-slot-card{
    background:linear-gradient(180deg,#fbf3e8,#f5e6d3);border-color:var(--borde-claro);box-shadow:0 18px 45px rgba(86,52,16,.11)
}
html[data-theme="light"] .agenda-reservation-status{background:#f2dfc5;color:#74400b;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-timer-box,
html[data-theme="light"] .agenda-timer-compact{
    background:linear-gradient(145deg,#f5dfbd,#f8ead4);border-color:#d4b06f
}
html[data-theme="light"] .agenda-timer-box span{color:#654a2f}
html[data-theme="light"] .agenda-timer-box strong{color:#98550d}
html[data-theme="light"] .agenda-timer-box small{color:#6e5a47}
html[data-theme="light"] .agenda-reservation-facts>div{background:#f9efe2;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-reservation-facts span{color:#705b48}
html[data-theme="light"] .agenda-reservation-facts strong{color:#2d1e14}
html[data-theme="light"] .agenda-step{background:#f8eee1;color:#695543;border-color:rgba(125,78,29,.20)}
html[data-theme="light"] .agenda-step b{background:#eadac4;color:#63411e}
html[data-theme="light"] .agenda-step.active{background:#eed7b4;color:#5d340a;border-color:#cb9b53}
html[data-theme="light"] .agenda-step.active b{background:linear-gradient(135deg,#f6d984,#c97912);color:#241306}
html[data-theme="light"] .agenda-section-title h2{color:#2e1d13}
html[data-theme="light"] .agenda-section-title p{color:#6d5947}
html[data-theme="light"] .agenda-product-editor,
html[data-theme="light"] .agenda-product-summary{background:#f9efe2;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-product-number{background:linear-gradient(135deg,#f4e1bd,#eacb96);color:#78420a;border-color:#d5b16f}
html[data-theme="light"] .agenda-product-fields label,
html[data-theme="light"] .agenda-product-extras>label{color:#43301f}
html[data-theme="light"] .agenda-product-extras small{color:#725d49}
html[data-theme="light"] .agenda-check{background:#f1e2cf;border-color:rgba(125,78,29,.20)}
html[data-theme="light"] .agenda-product-pricebar span{background:#efe0cc;color:#6f5945}
html[data-theme="light"] .agenda-product-pricebar strong{color:#8f500d}
html[data-theme="light"] .agenda-product-pricebar .agenda-item-total{background:#ead3ac;border-color:#d2ae6a}
html[data-theme="light"] .agenda-product-summary>span{color:#725d49}
html[data-theme="light"] .agenda-product-summary h3{color:#2e2016}
html[data-theme="light"] .agenda-product-summary p{color:#665342}
html[data-theme="light"] .agenda-product-summary small,
html[data-theme="light"] .agenda-product-summary>strong{color:#93520d}
html[data-theme="light"] .agenda-total-box{background:linear-gradient(90deg,#f1d9ae,#f9eee0);border-color:#d2ac66}
html[data-theme="light"] .agenda-total-box span{color:#563b21}
html[data-theme="light"] .agenda-total-box strong{color:#92510c}
html[data-theme="light"] .agenda-total-box small{color:#705b47}

/* Cupos personalizados V5.2 */
html[data-theme="light"] .agenda-custom-badge-v52,
html[data-theme="light"] .agenda-custom-slot-note-v52 strong{background:#ead3aa;color:#6f3e0a;border-color:#c99d55}
html[data-theme="light"] .agenda-general-badge-v52{background:#eee4d6;color:#594a3b;border-color:#cbb89d}
html[data-theme="light"] .agenda-custom-name-v52{color:#342318}
html[data-theme="light"] .agenda-custom-products-v52{background:#f5e7d4;border-color:#cdb188}
html[data-theme="light"] .agenda-custom-products-v52>span,
html[data-theme="light"] .agenda-custom-slot-note-v52 span{color:#715a45}
html[data-theme="light"] .agenda-custom-chips-v52 b{background:#ead6b6;color:#6f400c}
html[data-theme="light"] .agenda-return-secondary-v52{color:#53361b!important;border-color:#c7a879!important;background:#fbf2e6!important}

/* =========================================================
   ENVÍO
   ========================================================= */
html[data-theme="light"] .agenda-shipping-type{background:#f8eddf;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-shipping-type:hover{background:#f2dfc7}
html[data-theme="light"] .agenda-shipping-type strong{color:#352319}
html[data-theme="light"] .agenda-shipping-type small{color:#715c49}
html[data-theme="light"] .agenda-shipping-grid label,
html[data-theme="light"] .agenda-home-fields label{color:#41301f}
html[data-theme="light"] .agenda-home-fields label span{color:#715d49}
html[data-theme="light"] .agenda-shipping-cost{background:#f1ddbd;border-color:#d1ac69}
html[data-theme="light"] .agenda-shipping-cost span{color:#6d5743}
html[data-theme="light"] .agenda-shipping-cost strong{color:#92510c}
html[data-theme="light"] .agenda-shipping-cost small{color:#695543}
html[data-theme="light"] .agenda-shipping-summary>div{background:#f8eddf;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-shipping-summary span{color:#715b48}
html[data-theme="light"] .agenda-shipping-summary strong{color:#302016}
html[data-theme="light"] .agenda-shipping-summary small{color:#6f5a47}
html[data-theme="light"] .agenda-home-simple-intro,
html[data-theme="light"] .agenda-detected-destination{background:#f6e7d4;border-color:var(--borde-claro);color:#66513f}
html[data-theme="light"] .agenda-home-simple-intro strong{color:#8e4f0c}
html[data-theme="light"] .agenda-detected-destination span{color:#715d49!important}
html[data-theme="light"] .agenda-detected-destination strong{color:#342318}
html[data-theme="light"] .agenda-detected-destination small{color:#715d49}
html[data-theme="light"] .agenda-detected-destination.ok{background:var(--verde-fondo);border-color:var(--verde-borde)}
html[data-theme="light"] .agenda-detected-destination.ok strong{color:var(--verde-texto)}
html[data-theme="light"] .agenda-google-status{background:#f8eee1;color:#614d3b;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-google-status.ok{background:var(--verde-fondo);border-color:var(--verde-borde);color:var(--verde-texto)}
html[data-theme="light"] .agenda-google-status.error{background:var(--rojo-fondo);border-color:var(--rojo-borde);color:var(--rojo-texto)}
html[data-theme="light"] .agenda-google-warning{color:#775011}

/* =========================================================
   ABONO / COMPROBANTE
   El módulo tenía fondos oscuros propios; en claro se transforma
   completamente para que los datos bancarios sean legibles.
   ========================================================= */
html[data-theme="light"] .agenda-payment-section{border-top-color:rgba(125,78,29,.22)}
html[data-theme="light"] .agenda-payment-stat{background:#f8eddf;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-payment-stat span{color:#705945}
html[data-theme="light"] .agenda-payment-stat strong{color:#302016}
html[data-theme="light"] .agenda-payment-stat.highlight{background:#ead3aa;border-color:#c49a55}
html[data-theme="light"] .agenda-payment-stat.highlight strong{color:#78420a}
html[data-theme="light"] .agenda-bank-card{background:#eadbc7;border-color:#c9a978}
html[data-theme="light"] .agenda-bank-row{background:#f8ecdc;border:1px solid rgba(125,78,29,.13)}
html[data-theme="light"] .agenda-bank-row span{color:#6d5744}
html[data-theme="light"] .agenda-bank-row strong{color:#2c1e14}
html[data-theme="light"] .agenda-payment-upload{background:#f4e6d3;border-color:#c9aa78}
html[data-theme="light"] .agenda-payment-upload input[type=file]{background:#fffaf3!important;color:#3b291c!important;border-color:#b99764!important}
html[data-theme="light"] .agenda-payment-upload small,
html[data-theme="light"] .agenda-payment-note,
html[data-theme="light"] .agenda-payment-file-meta{color:#6d5845}
html[data-theme="light"] .agenda-payment-security{background:var(--amarillo-fondo);border-color:var(--amarillo-borde);color:var(--amarillo-texto)}
html[data-theme="light"] .agenda-payment-pending{background:var(--amarillo-fondo);border-color:var(--amarillo-borde);color:#513b18}
html[data-theme="light"] .agenda-payment-pending h3{color:#72500c}
html[data-theme="light"] .agenda-payment-confirmed{background:var(--verde-fondo);border-color:var(--verde-borde);color:#244b31}
html[data-theme="light"] .agenda-payment-confirmed h3{color:var(--verde-texto)}
html[data-theme="light"] .agenda-payment-observed{background:#f5e4cc;border-color:#d3a164;color:#65431d}
html[data-theme="light"] .agenda-payment-observed h3{color:#79450c}
html[data-theme="light"] .agenda-payment-rejected{background:var(--rojo-fondo);border-color:var(--rojo-borde);color:#64312d}
html[data-theme="light"] .agenda-payment-rejected h3{color:var(--rojo-texto)}
html[data-theme="light"] .agenda-reservation-mini-summary>div{background:#f8eddf;border-color:var(--borde-claro)}
html[data-theme="light"] .agenda-reservation-mini-summary span{color:#705b48}
html[data-theme="light"] .agenda-reservation-mini-summary strong{color:#302016}

/* Componentes antiguos de Mis pedidos / pagos que todavía pueden aparecer. */
html[data-theme="light"] .account-reservation-card,
html[data-theme="light"] .account-order-card-v51,
html[data-theme="light"] .account-order-card-v52{background:#f8eddf;border-color:var(--borde-claro)}
html[data-theme="light"] .account-reservation-card span,
html[data-theme="light"] .account-order-card-v51 span,
html[data-theme="light"] .account-order-card-v52 span{color:#705b48}
html[data-theme="light"] .account-reservation-card strong,
html[data-theme="light"] .account-order-card-v51 strong,
html[data-theme="light"] .account-order-card-v52 strong{color:#302016}
html[data-theme="light"] .account-order-filter-v51{background:#f9efe2;color:#4d3522;border-color:var(--borde-claro)}
html[data-theme="light"] .account-order-meta-v51,
html[data-theme="light"] .account-order-card-v51 small,
html[data-theme="light"] .account-order-pagination-v51>span{color:#705b48}
html[data-theme="light"] .account-status{background:#eadbbf;color:#71410c!important}
html[data-theme="light"] .account-status.ok{background:var(--verde-fondo);color:var(--verde-texto)!important}
html[data-theme="light"] .account-status.error{background:var(--rojo-fondo);color:var(--rojo-texto)!important}
html[data-theme="light"] .account-status.warn{background:var(--amarillo-fondo);color:var(--amarillo-texto)!important}

/* Controles nativos: ayuda a Safari/iPhone a mantener la apariencia clara. */
html[data-theme="light"] main select,
html[data-theme="light"] main input,
html[data-theme="light"] main textarea{color-scheme:light}
html[data-theme="light"] main input[type="radio"],
html[data-theme="light"] main input[type="checkbox"]{accent-color:#b86a10}

/* Móvil: conserva contraste y evita que la navegación del perfil parezca lavada. */
@media(max-width:850px){
    html[data-theme="light"] .account-v54-sidebar{background:#f4e5d2}
    html[data-theme="light"] .account-v54-nav{background:transparent}
    html[data-theme="light"] .account-v54-nav-item{background:#f9efe3;border-color:rgba(125,78,29,.14)}
    html[data-theme="light"] .account-v54-nav-item.active{background:#ead2aa;border-color:#c99c55}
}
