/* ============================================================
   OSCURO.CSS · On Deck Co. · 26 de noviembre de 2026
   Lo que la capa generada (scripts/capa-oscura.py) no puede adivinar:
   botones, estados "activo" y la animacion de entrada, todo copiado
   de la portada nueva (index.html, <style id="portada-nueva">).
   Va DESPUES de <style id="capa-oscura">, asi que gana.
   Regla de la portada: el dorado es UNA accion por pantalla; los
   botones repetidos (uno por tarjeta) van en contorno crema.
   ============================================================ */

/* ---- botones de tarjeta: contorno crema, se llenan de dorado al pasar ---- */
html.oscuro .btnq{background:transparent;color:#F4ECD5;border:1.5px solid rgba(244,236,213,.28)}
html.oscuro .btnq:hover{background:#C9A24B;color:#12201A;border-color:#C9A24B}
html.oscuro .btnq:hover .fl{color:#12201A}

/* ---- estado activo de filtros y pestanas: dorado ---- */
html.oscuro .filtros button{background:transparent}
html.oscuro .filtros button.on{background:#C9A24B;color:#12201A;border-color:#C9A24B;box-shadow:none}

/* ---- botones primarios del sistema (marca.css) ---- */
html.oscuro .btn-primary,html.oscuro .btn-gold{background:#C9A24B;color:#12201A;border-color:#C9A24B}
html.oscuro .btn-primary:hover,html.oscuro .btn-gold:hover{background:#DCBC77;border-color:#DCBC77;color:#12201A}
html.oscuro .btn-secondary,html.oscuro .btn-ghost{background:transparent;color:#F4ECD5;border-color:rgba(244,236,213,.35)}
html.oscuro .btn-secondary:hover,html.oscuro .btn-ghost:hover{background:rgba(244,236,213,.08);border-color:#F4ECD5;color:#F4ECD5}

/* ---- enlaces dentro de texto: dorado, como en la portada ---- */
html.oscuro main p a:not([class]),html.oscuro article p a:not([class]){color:#DCBC77}

/* ---- titulos en serif crema, cejas en dorado ---- */
html.oscuro h1 em,html.oscuro h2 em{color:#C9A24B}

/* ---- animacion de entrada al bajar (la misma de la portada: .pn-rev) ----
   Solo se esconde si el JS corrio (html.rev-js) y no hay reduccion de movimiento;
   si el JS falla, todo se ve igual. */
html.rev-js .rev{opacity:0;transform:translateY(28px);transition:opacity .9s cubic-bezier(.22,1,.36,1),transform 1s cubic-bezier(.22,1,.36,1)}
html.rev-js .rev.rev-si{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html.rev-js .rev{opacity:1;transform:none;transition:none}}

/* ---- variables de texto que algunas paginas usan dentro de estilos en linea ---- */
html.oscuro{--suave:#C9C3AE;--tinta:#F4ECD5;--sage:#A9B5A4;--linea:rgba(244,236,213,.16)}

/* ---- catalogo: la accion principal de cada pantalla va en DORADO ----
   La barra "Ver mi pedido y pagar" la aprobo Omar dorada el 5 nov; agregar y
   pagar son la unica accion de su ventana, asi que van igual. */
html.oscuro .barra-pedido{background:#C9A24B !important;color:#12201A !important;border-color:#A8853B !important}
html.oscuro .barra-pedido *{color:#12201A}
html.oscuro .barra-pedido .bp-c{background:#12201A !important;color:#F4ECD5 !important}
html.oscuro .btnadd,html.oscuro .btnpay{background:#C9A24B;color:#12201A;border:0}
html.oscuro .btnadd:hover,html.oscuro .btnpay:hover{background:#DCBC77;color:#12201A}
html.oscuro .btnadd:disabled,html.oscuro .btnadd[aria-disabled=true]{background:#2A4433;color:#A9B5A4}

/* ---- el wordmark cursivo en lugar del nombre en letras (catalogo y paginas sin barra) ---- */
html.oscuro .brand-logo{display:block;height:44px;width:auto;margin:0 0 2px}
html.oscuro .fb .brand-logo{height:56px;margin:0 auto 6px}
@media(max-width:520px){html.oscuro .brand-logo{height:38px}}

/* ---- catalogo: panel "Tu diseno" ---- */
html.oscuro .diseno-sel .ds-acc a,html.oscuro .diseno-sel .ds-acc button{background:transparent;color:#F4ECD5;border-color:rgba(244,236,213,.35)}
html.oscuro .diseno-sel .ds-acc a.ds-todos{background:#C9A24B;color:#12201A;border-color:#C9A24B}
/* el punto de color necesita un anillo claro para que el negro y el verde se vean */
html.oscuro .bola{border-color:rgba(244,236,213,.55)}

/* ---- catalogo: barra del sitio en lugar de la barra propia (26 nov) ---- */
html.oscuro header.top.nav{display:block;padding:0 !important;gap:0;position:sticky;top:0;z-index:30;
  background:rgba(18,32,26,.96);backdrop-filter:blur(10px);border-bottom:1px solid rgba(244,236,213,.14)}
html.oscuro header.top.nav .wrap{max-width:1200px}

/* ---- pie de la portada (copiado de index.html, mismo orden de reglas) ---- */
html.oscuro footer.pie-sitio{background:#243D2C;color:#F4ECD5;border-top:1px solid rgba(244,236,213,.22);
  padding:64px 0 40px;text-align:left;margin:0}
html.oscuro footer.pie-sitio .wrap{max-width:1200px;margin:0 auto;padding:0 24px}
html.oscuro footer.pie-sitio p{color:#C4CCC0;opacity:1}
html.oscuro .pie-sitio .mark{display:inline-block}
html.oscuro .pie-sitio .logo-cursive{height:56px;width:auto;display:block}
html.oscuro .pie-sitio .script{font-family:'Lora',Georgia,serif;font-style:italic}
html.oscuro .pie-sitio .foot-social{display:flex;gap:18px;margin-top:28px;padding-top:22px;border-top:1px solid rgba(244,236,213,.22)}
html.oscuro .pie-sitio .foot-social a{color:#C4CCC0;transition:.15s ease;display:inline-flex}
html.oscuro .pie-sitio .foot-social a:hover{color:#DCBC77;transform:translateY(-2px)}
html.oscuro .pie-sitio .foot-social svg{width:20px;height:20px}
html.oscuro .pie-sitio .foot-grid{display:flex;justify-content:space-between;align-items:flex-start;gap:30px;flex-wrap:wrap}
html.oscuro .pie-sitio .foot-grid p{color:#C4CCC0;font-size:.9rem;max-width:32ch;margin-top:14px}
html.oscuro .pie-sitio .foot-links{display:flex;gap:26px;flex-wrap:wrap}
html.oscuro .pie-sitio .foot-links a{font-family:'Source Sans 3',system-ui,sans-serif;text-transform:uppercase;letter-spacing:.1em;font-size:.8rem;color:#C9B79C;text-decoration:none}
html.oscuro .pie-sitio .foot-links a:hover{color:#DCBC77}
html.oscuro .pie-sitio .foot-bottom{margin-top:36px;padding-top:22px;border-top:1px solid rgba(255,255,255,.06);display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.78rem;color:#C4CCC0}

/* ---- catalogo: numeros de seccion en dorado vivo, como la portada ---- */
html.oscuro .sec .num,html.oscuro .secnum,html.oscuro h2.sec .n{color:#C9A24B;opacity:1}

/* ---- catalogo: apertura con la letra grande de fondo, como la portada ---- */
html.oscuro .hero{position:relative;overflow:hidden;background:#12201A;padding-top:34px;padding-bottom:40px}
html.oscuro .hero .heroin{position:relative;z-index:1}
html.oscuro .hero h1{font-size:clamp(34px,5.4vw,64px);line-height:1.04;letter-spacing:-.015em}
html.oscuro .hero p{font-size:16px;color:#C9C3AE;opacity:1;max-width:620px}
html.oscuro .hero-letra{position:absolute;right:-1%;top:50%;transform:translateY(-50%);font-family:'Lora',Georgia,serif;
  font-weight:700;font-size:clamp(90px,17vw,260px);line-height:.85;white-space:nowrap;color:rgba(201,162,75,.08);pointer-events:none;letter-spacing:-.02em}
.hero-letra{display:none}
html.oscuro .hero-letra{display:block}

/* ---- catalogo: fila "Asi queda", disenos reales ---- */
.asi-queda{display:none}
html.oscuro .asi-queda{display:block;max-width:1140px;margin:0 auto;padding:8px 18px 10px}
html.oscuro .aq-cab{margin:6px 0 16px}
html.oscuro .aq-ceja{font-size:12.5px;letter-spacing:.22em;text-transform:uppercase;font-weight:700;color:#C9A24B}
html.oscuro .asi-queda h2{font-family:'Lora',Georgia,serif;font-weight:600;font-size:clamp(24px,3.2vw,34px);color:#F4ECD5;margin:6px 0 0}
html.oscuro .asi-queda h2 em{font-style:italic;color:#C9A24B;font-weight:500}
html.oscuro .aq-fila{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media(max-width:820px){html.oscuro .aq-fila{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
html.oscuro .aq-t{background:#1F3427;border:1px solid rgba(244,236,213,.14);border-radius:14px;overflow:hidden;padding:0;text-align:left;
  cursor:pointer;color:#F4ECD5;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
html.oscuro .aq-t:hover{transform:translateY(-6px);box-shadow:0 26px 40px -28px rgba(0,0,0,.6)}
html.oscuro .aq-f{display:block;aspect-ratio:1/1;background:#ECEAEC;overflow:hidden}
html.oscuro .aq-f img{width:100%;height:100%;object-fit:cover;display:block}
html.oscuro .aq-t b{font-family:'Lora',Georgia,serif;font-weight:600;font-size:17px;padding:12px 14px 2px}
html.oscuro .aq-t i{font-style:normal;font-size:14px;color:#C9C3AE;padding:0 14px 14px}

/* ---- catalogo: nombres como en la portada (no en mayusculas) y fondos de foto parejos ---- */
html.oscuro .prod h3{text-transform:none;letter-spacing:-.005em;font-family:'Lora',Georgia,serif;font-size:18.5px}
/* algunas fotos traen fondo BLANCO y las demas gris: multiply vuelve el blanco
   del mismo gris del recuadro sin tocar el color de la prenda */
html.oscuro .prod .ph img{mix-blend-mode:multiply}
html.oscuro header.top.nav .mark{display:flex;align-items:center}
html.oscuro header.top.nav .mark picture{display:contents}
html.oscuro header.top.nav .logo-cursive{height:54px;width:auto;display:block}
@media(max-width:880px){html.oscuro header.top.nav .logo-cursive{height:44px}}
@media(max-width:380px){html.oscuro header.top.nav .logo-cursive{height:38px}}
html.oscuro .acordeon,html.oscuro .como{margin-bottom:48px}

/* ---- tokens de texto del sistema (marca.css y collection.css) en version oscura ----
   Algunos se redefinen en cadena (--muted -> --sage-700) y el generador no puede
   seguir esa cadena con certeza; aqui se fijan de una vez. */
html.oscuro{--muted:#A9B5A4;--text-body:#C9C3AE;--text-muted:#A9B5A4;--text-faint:#8E9A89;--text-strong:#F4ECD5;
  --sand:#C9B79C;--line:rgba(244,236,213,.16);--line-strong:rgba(244,236,213,.28)}
html.oscuro .crumbs,html.oscuro .crumbs a{color:#A9B5A4}
html.oscuro .cap{color:#A9B5A4}

/* ---- el PUENTE de marca.css (html.marca{--ink:var(--paper)...}) volvio claras las
   paginas que nacieron oscuras (negocios, guias, FAQ). En el tema oscuro esos tokens
   regresan a la paleta de la portada. Misma especificidad, esta hoja va despues: gana. */
html.oscuro{--ink:#12201A;--ink-2:#1A2E22;--ink-3:#1F3427;--ivory:#F4ECD5;--gold:#C9A24B;--gold-bright:#DCBC77;
  --sand:#C9B79C;--navy:#1A2E22;--enlace:#DCBC77;--bg-2:#1A2E22;--red:#E0574A}

/* ---- cotizador: "Enviar por mensaje" es la unica accion de la pantalla: dorado ---- */
html.oscuro .btn-wa{background:#C9A24B;color:#12201A;border-color:#C9A24B}
html.oscuro .btn-wa:hover{background:#DCBC77;color:#12201A}
/* ---- bazar: el wordmark arriba, y su boton principal en contorno crema ---- */
html.oscuro body > header .brand-logo{height:50px}

/* ---- guias: el sello rojo de la foto de portada lleva un rojo mas hondo para que la crema se lea ---- */
html.oscuro .hero-figure .stamp{background:#A8412C}
/* ---- quiz: sus botones de idioma y tema usaban --ink como color de TEXTO ---- */
html.oscuro .pill{color:#F4ECD5}

/* ---- las tres rayitas del menu son crema (la capa generada las volvia verde) ---- */
html.oscuro .nav-burger span{background:#F4ECD5 !important}

/* ---- la banda final "Hablemos" en el oscuro de la portada (su degradado venia claro) ---- */
html.oscuro .cta-band{background:radial-gradient(120% 120% at 50% 0%,#1F3427 0%,#12201A 70%) !important;border-top:1px solid rgba(244,236,213,.14)}
html.oscuro{--bg:#12201A;--bg-sunk:#1A2E22;--surface:#1F3427;--surface-cream:#1F3427;--paper:#12201A;--paper-2:#1A2E22}
/* ---- Nosotros, Contacto, Privacidad y 404: el texto no toca la orilla en el telefono ---- */
@media(max-width:760px){html.oscuro .doc{padding-left:20px;padding-right:20px}}
