/* ============================================================
   Bye Azúcar — dark theme for sections that were cream/white
   Toggle off: remove the class "theme-oscuro" from <html>
               and/or remove this stylesheet from index.html.
   Does not change product photos or the comparativa content.
   ============================================================ */

html.theme-oscuro{
  color-scheme:dark;
}
html.theme-oscuro body{
  background:var(--black);
  color:var(--cream);
}

/* Previously cream sections (productos, sucursales) */
html.theme-oscuro .section--cream{
  background:var(--black);
  color:var(--cream);
}
html.theme-oscuro .section--cream::before{
  background:
    url(img/navidad/marble-dark.webp) center/cover no-repeat,
    radial-gradient(70% 45% at 50% 0%,rgba(201,162,75,.10),transparent 70%);
  opacity:1;
  mix-blend-mode:normal;
}
html.theme-oscuro .section--cream::before,
html.theme-oscuro .section--cream::after{z-index:0}
html.theme-oscuro .section--cream::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(13,11,9,.16),rgba(13,11,9,.38) 42%,rgba(13,11,9,.46));
  pointer-events:none;
}

html.theme-oscuro .head h2{color:var(--cream)}
html.theme-oscuro .head h2 em{color:var(--red)}
html.theme-oscuro .lead{color:rgba(247,240,227,.72)}
html.theme-oscuro .orn--dark{color:var(--gold)}

/* Product cards: charcoal bodies, cream + gold type */
html.theme-oscuro .card{
  background:#17130f;
  box-shadow:0 1px 0 rgba(201,162,75,.14),0 22px 44px -28px rgba(0,0,0,.8);
}
html.theme-oscuro .card::after{border-color:rgba(201,162,75,.22)}
html.theme-oscuro .card:hover{
  box-shadow:0 1px 0 rgba(201,162,75,.22),0 34px 60px -28px rgba(0,0,0,.85);
}
html.theme-oscuro .card:hover::after{border-color:rgba(201,162,75,.7)}
html.theme-oscuro .card h3{color:var(--cream)}
html.theme-oscuro .card p{color:rgba(247,240,227,.68)}
html.theme-oscuro .card__n{color:var(--gold)}

html.theme-oscuro .card--cta{
  background:linear-gradient(180deg,#1a1610,var(--black));
}
html.theme-oscuro .card--cta::after{border-color:rgba(201,162,75,.45)}

/* Sucursales cards */
html.theme-oscuro .loc{
  background:#17130f;
  box-shadow:0 22px 44px -30px rgba(0,0,0,.8);
}
html.theme-oscuro .loc::before{border-color:rgba(201,162,75,.32)}
html.theme-oscuro .loc:hover{box-shadow:0 34px 60px -28px rgba(0,0,0,.85)}
html.theme-oscuro .loc h3{color:var(--cream)}
html.theme-oscuro .loc__addr{color:rgba(247,240,227,.78)}
html.theme-oscuro .hours{border-top-color:rgba(201,162,75,.22)}
html.theme-oscuro .hours dt{color:rgba(247,240,227,.55)}
html.theme-oscuro .hours dd{color:var(--cream)}
html.theme-oscuro .link{
  color:var(--gold-2);
  background-image:linear-gradient(var(--gold),var(--gold));
}
html.theme-oscuro .link:hover{color:var(--gold-2)}
