:root {
  --primary: #e84a8a;
  --secondary: #1d1a22;
  --accent: #8b5cf6;
  --bg: #fff7fb;
  --surface: #ffffff;
  --text: #1d1a22;
  --muted: color-mix(in srgb, var(--text) 60%, transparent);
  --line: color-mix(in srgb, var(--text) 12%, transparent);
  --radius: 14px;
  --font: "Poppins", system-ui, sans-serif;
  --heading: "Rubik Mono One", var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
[hidden] { display: none !important; }

.announcement {
  background: var(--secondary);
  color: var(--bg);
  text-align: center;
  font-size: .85rem;
  padding: .5rem 1rem;
}

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--heading);
  font-size: clamp(1rem, 3vw, 1.4rem);
  text-decoration: none;
  display: flex; align-items: center; gap: .6rem;
  color: var(--secondary);
}
.brand img { height: 44px; width: auto; border-radius: 6px; }
.header-left { display: flex; align-items: center; gap: .4rem; }
.header-actions { display: flex; gap: .3rem; }
.icon-btn {
  background: none; border: 0; color: var(--text);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
}
.icon-btn:hover { background: var(--line); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  background: var(--primary); color: #fff;
  font-size: .7rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 10px;
  display: grid; place-items: center; padding: 0 4px;
}
.search-bar { padding: .6rem clamp(1rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.search-bar input {
  width: 100%; padding: .7rem 1rem; font: inherit;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--text);
}

main { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem) 4rem; }
.loading { text-align: center; padding: 4rem 0; color: var(--muted); }

/* Hero */
.hero {
  margin: 1.5rem 0 2rem;
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(2.5rem, 8vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 45%),
    linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 35%, #0b0a0f));
  background-size: cover; background-position: center;
  color: #fff; position: relative; overflow: hidden;
}
.hero.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1));
}
.hero > * { position: relative; }
.hero h1 {
  font-family: var(--heading);
  font-size: clamp(1.8rem, 6vw, 3.6rem);
  line-height: 1.05; margin: 0 0 .8rem; max-width: 14ch;
}
.hero p { font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 40ch; margin: 0 0 1.6rem; opacity: .92; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: 999px;
  padding: .85rem 1.6rem; font-weight: 600;
  background: var(--primary); color: #fff; text-decoration: none;
  transition: transform .15s, filter .15s;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn.light { background: #fff; color: #16141a; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* Colecciones */
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 1rem; scrollbar-width: none; }
.chip {
  flex: none; padding: .5rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface);
  text-decoration: none; font-size: .92rem; white-space: nowrap;
}
.chip.active { background: var(--secondary); color: var(--bg); border-color: var(--secondary); }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 1rem 0; flex-wrap: wrap; }
.section-head h2 { font-family: var(--heading); font-size: clamp(1.2rem, 3vw, 1.6rem); margin: 0; }
.section-head p { margin: .2rem 0 0; color: var(--muted); }
.section-head select {
  font: inherit; padding: .5rem .8rem; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}

/* Productos */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 230px), 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); }
.card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line);
  display: flex; flex-direction: column; cursor: pointer;
  transition: transform .2s, box-shadow .2s; text-decoration: none;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--secondary) 35%, transparent); }
.card-media { aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 30%, var(--bg)), color-mix(in srgb, var(--accent) 30%, var(--bg)));
  font-family: var(--heading); font-size: 2.6rem; color: color-mix(in srgb, var(--secondary) 55%, transparent);
}
.badge {
  position: absolute; top: .6rem; left: .6rem;
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px;
}
.badge.dark { background: var(--text); color: var(--bg); }
.card-body { padding: .8rem 1rem 1rem; }
.card-body h3 { font-size: .98rem; font-weight: 600; margin: 0 0 .25rem; }
.price { font-weight: 700; color: var(--primary); }
.price s { color: var(--muted); font-weight: 400; margin-left: .4rem; font-size: .9em; }
.more { text-align: center; margin-top: 2rem; }
.empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }

/* Modales */
.overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(10, 8, 14, .55);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; animation: fade .2s;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  background: var(--surface); color: var(--text);
  border-radius: calc(var(--radius) * 1.3);
  width: min(960px, 100%); max-height: 92vh; overflow: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; position: relative;
}
.modal .close { position: absolute; top: .6rem; right: .6rem; z-index: 2; background: var(--surface); }
.gallery { background: var(--line); }
.gallery-main { aspect-ratio: 4/5; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .4rem; padding: .5rem; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; padding: 0; border-radius: 8px; overflow: hidden; width: 58px; height: 58px; flex: none; background: none; }
.thumbs button.active { border-color: var(--primary); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail { padding: clamp(1.2rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 1rem; }
.detail h2 { font-family: var(--heading); font-size: clamp(1.2rem, 3vw, 1.7rem); margin: 0; line-height: 1.15; }
.detail .price { font-size: 1.35rem; }
.detail .desc { color: var(--muted); white-space: pre-line; margin: 0; }
.opt-label { font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.opts { display: flex; flex-wrap: wrap; gap: .4rem; }
.opts button {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: .45rem .95rem; border-radius: 999px;
}
.opts button.active { background: var(--secondary); color: var(--bg); border-color: var(--secondary); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { background: none; border: 0; width: 36px; height: 36px; color: var(--text); font-size: 1.1rem; }
.qty span { min-width: 2ch; text-align: center; font-weight: 600; }
.stock { font-size: .85rem; color: var(--muted); }

/* Carrito */
#cart-overlay { justify-content: flex-end; padding: 0; }
#menu-overlay { justify-content: flex-start; padding: 0; align-items: stretch; }
.drawer.left { width: min(320px, 85%); animation: slide-left .25s ease-out; }
@keyframes slide-left { from { transform: translateX(-100%); } }
.side-nav { overflow: auto; padding: .5rem 0 2rem; }
.side-nav a {
  display: block; padding: .8rem 1.3rem; text-decoration: none;
  border-left: 3px solid transparent; font-size: 1rem;
}
.side-nav a:hover { background: var(--line); }
.side-nav a.active { border-left-color: var(--primary); color: var(--primary); font-weight: 600; }
.side-nav .group { padding: 1rem 1.3rem .3rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.side-nav .sub { padding-left: 2rem; font-size: .95rem; }

/* Página de colecciones */
.page-title { font-family: var(--heading); font-size: clamp(1.4rem, 4vw, 2rem); margin: 1.5rem 0 1rem; }
.col-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(46%, 260px), 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); }
.col-card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.col-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px color-mix(in srgb, var(--secondary) 35%, transparent); }
.col-card .card-media { aspect-ratio: 16 / 9; }
.col-card .col-name { padding: .8rem 1rem; font-weight: 600; display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.col-card .col-name small { color: var(--muted); font-weight: 400; }
.back-link { display: inline-block; margin-top: 1.2rem; color: var(--muted); text-decoration: none; font-size: .9rem; }
.drawer {
  background: var(--surface); color: var(--text);
  width: min(420px, 100%); height: 100%;
  display: flex; flex-direction: column;
  animation: slide .25s ease-out;
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.15rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1rem 1.2rem; }
.drawer-foot { padding: 1rem 1.2rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-img { width: 64px; height: 76px; border-radius: 10px; overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-img .placeholder { font-size: 1.2rem; }
.line h4 { margin: 0; font-size: .92rem; }
.line small { color: var(--muted); display: block; }
.line .remove { background: none; border: 0; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; margin-top: .2rem; }
.totals { display: grid; gap: .25rem; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .disc { color: #d62f5a; font-weight: 600; }
.totals .grand { font-weight: 700; font-size: 1.1rem; padding-top: .3rem; border-top: 1px dashed var(--line); }
.hint { font-size: .8rem; color: var(--muted); margin: 0; }
.checkout-form { display: grid; gap: .6rem; }
.checkout-form label { display: grid; gap: .2rem; font-size: .85rem; font-weight: 600; }
.checkout-form input, .checkout-form textarea {
  font: inherit; padding: .6rem .8rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.link-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 0; font-size: .85rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
  text-align: center; color: var(--muted); font-size: .88rem;
}
.site-footer a { margin: 0 .5rem; }

.toast {
  position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  background: var(--secondary); color: var(--bg);
  padding: .7rem 1.2rem; border-radius: 999px; z-index: 60;
  font-size: .9rem; box-shadow: 0 10px 25px rgba(0,0,0,.2);
}

@media (max-width: 720px) {
  .modal { grid-template-columns: 1fr; }
  .overlay { padding: 0; align-items: flex-end; }
  .modal { max-height: 94vh; border-radius: calc(var(--radius) * 1.3) calc(var(--radius) * 1.3) 0 0; }
}

/* ---------- Carrusel de portada ---------- */
.slider { position: relative; margin: 1.2rem 0 1.5rem; }
.slides {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: calc(var(--radius) * 1.6);
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: start; position: relative;
  aspect-ratio: 16 / 9; max-height: 560px;
  display: flex; align-items: flex-end; justify-content: center;
  background:
    radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 45%),
    linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 35%, #0b0a0f));
  background-size: cover; background-position: center;
  color: #fff; text-decoration: none; overflow: hidden;
}
.slide.textual { align-items: center; justify-content: flex-start; }
.slide.textual.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1)); }
.slide.framed {
  flex-direction: column; justify-content: space-between; align-items: center; text-align: center;
  padding: clamp(1.2rem, 4vw, 2.6rem) 1.2rem clamp(1.4rem, 4vw, 2.4rem);
}
.slide.promo {
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 2.5rem);
  background:
    linear-gradient(rgba(246, 241, 236, .35), rgba(246, 241, 236, .35)),
    var(--promo-img) center 62% / cover no-repeat, #efe6dc;
}
.promo-win {
  width: min(430px, 88%); border-radius: 14px; overflow: hidden;
  background: rgba(255, 252, 248, .66); backdrop-filter: blur(3px) saturate(1.1); -webkit-backdrop-filter: blur(3px) saturate(1.1);
  border: 2px solid #c8b29e; box-shadow: 0 18px 40px -16px rgba(80, 60, 40, .45), 4px 4px 0 #e6dccf;
}
.win-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: .35rem .7rem; font-size: .8rem; font-weight: 600; color: #fff;
  background: linear-gradient(90deg, #6f978a, #c9a98e);
}
.win-bar i { font-style: normal; display: flex; gap: .3rem; }
.win-bar b { width: 18px; height: 16px; display: grid; place-items: center; font-size: .65rem; line-height: 1; border-radius: 4px; background: rgba(255,255,255,.35); }
.win-body { display: grid; justify-items: center; text-align: center; gap: .15rem; padding: 1rem 1.6rem 1.3rem; }
.promo-kicker { font-family: "Great Vibes", cursive; font-size: clamp(1.25rem, 3vw, 1.7rem); color: #8a5a3b; text-shadow: 0 0 8px rgba(255,255,255,.9); }
.promo-big {
  font-weight: 700; font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 13vw, 6.5rem); line-height: .95; color: #8a5a3b;
  -webkit-text-stroke: 3px #fff; paint-order: stroke fill; text-shadow: 0 5px 0 #d9c3b2, 0 10px 22px rgba(110, 70, 40, .3);
}
.promo-sub { font-family: "Baloo 2", var(--font); font-weight: 800; font-size: clamp(.95rem, 4vw, 1.3rem); line-height: 1.15; color: #5f4030; text-shadow: 0 0 8px rgba(255,255,255,.9); }
.promo-btn { margin-top: .7rem; background: #8a5a3b; color: #fff; box-shadow: 0 8px 18px -8px rgba(110, 70, 40, .7); }
.promo-note { margin-top: .2rem; font-size: .72rem; color: #7a6656; }
@media (max-width: 720px) {
  .slide.promo { aspect-ratio: 4 / 5; }
  .promo-win { width: 86%; }
  .win-body { padding: .8rem 1.4rem 1.1rem; }
}
.slide.clean { flex-direction: row; align-items: stretch; justify-content: flex-start; background: linear-gradient(135deg, #f3ece4, #dde9e3); color: #4a1a72; }
.clean-img { flex: 0 0 auto; height: 100%; aspect-ratio: var(--ar, 16 / 9); max-width: 70%; background-size: cover; background-position: center; }
.clean-band { flex: 1; display: grid; align-content: center; justify-items: center; text-align: center; gap: .25rem; padding: 1.5rem; }
.clean-title { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: #4a2c17; line-height: 1.15; text-shadow: 0 0 10px rgba(255,255,255,.9); }
.clean-sub { font-family: "Baloo 2", var(--font); font-weight: 700; color: #5f8f80; font-size: 1.05rem; }
.clean-band .promo-btn { margin-top: .5rem; }
@media (max-width: 720px) {
  .slide.clean { aspect-ratio: 4 / 5; position: relative; display: block; }
  .clean-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; aspect-ratio: auto; }
  .clean-band { position: absolute; inset: 0 0 auto 0; padding: 1rem 1rem 0; gap: .1rem; }
  .clean-title { font-size: 1.45rem; text-shadow: 0 0 2px #fff, 0 2px 0 #fff; }
  .clean-sub { font-size: .95rem; color: #4a2c17; text-shadow: 0 0 3px #fff, 0 0 8px #fff, 0 0 14px #fff; }
  .clean-band .promo-btn { padding: .5rem 1.2rem; font-size: .9rem; }
}
.slide.clean.dark { background: linear-gradient(135deg, #2f3a34, #4f6a5f); }
.slide.clean.dark .clean-sub { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.slide.clean.dark .clean-title { color: #fff;  text-shadow: 0 2px 0 #2f3a34, 0 0 12px rgba(0,0,0,.4); }
.slide.framed::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,15,40,.55) 0%, rgba(30,15,40,.05) 32%, rgba(30,15,40,.05) 62%, rgba(30,15,40,.6) 100%);
}
.slide.framed > * { position: relative; }
.slide.framed h1 { font-family: var(--heading); font-size: clamp(1.9rem, 6vw, 3.4rem); margin: 0; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.slide-bottom { display: grid; justify-items: center; gap: .8rem; }
.slide-bottom p { margin: 0; font-size: clamp(.95rem, 2.2vw, 1.15rem); max-width: 42ch; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
@media (max-width: 720px) { .slide.framed { aspect-ratio: 1 / 1; } }
.slide-text { position: relative; padding: clamp(1.5rem, 5vw, 4rem); }
.slide-text h1 { font-family: var(--heading); font-size: clamp(1.6rem, 6vw, 3.6rem); line-height: 1.05; margin: 0 0 .7rem; max-width: 14ch; }
.slide-text p { font-size: clamp(.95rem, 2.2vw, 1.2rem); max-width: 40ch; margin: 0 0 1.3rem; opacity: .92; }
.slide-cta { margin-bottom: clamp(1rem, 4vw, 2.5rem); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.dots { position: absolute; left: 0; right: 0; bottom: .7rem; display: flex; justify-content: center; gap: .45rem; pointer-events: none; }
.dots button {
  pointer-events: auto; width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(255,255,255,.6); box-shadow: 0 0 0 1px rgba(0,0,0,.12); transition: width .25s, background .25s;
}
.dots button.active { width: 24px; background: #fff; }
@media (max-width: 720px) {
  .slider { margin: .8rem -1rem 1.2rem; }
  .slides { border-radius: 0; }
  .slide.textual { aspect-ratio: 4 / 3; }
  .slide-cta { padding: .55rem 1.1rem; font-size: .9rem; margin-bottom: 2rem; }
}

/* ---------- Filas deslizables del inicio ---------- */
.home-section { margin: 1.8rem 0; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .8rem; }
.row-head h2 { font-family: var(--heading); font-size: clamp(1.15rem, 3vw, 1.5rem); margin: 0; }
.row-head a { color: var(--primary); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 42%, 230px);
  gap: clamp(.7rem, 2vw, 1.2rem); overflow-x: auto; scroll-snap-type: x proximity;
  padding: .2rem 0 1rem; scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }
.scroller.cols { grid-auto-columns: clamp(220px, 70%, 340px); }
.catalog-card .card-media { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 45%, #2b1a33)); }
.catalog-inner { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; gap: .2rem; }
.catalog-inner span { font-family: var(--heading); font-size: clamp(1.6rem, 4vw, 2.2rem); }
.catalog-inner small { opacity: .9; }
.see-all {
  display: grid; place-content: center; gap: .3rem; text-align: center;
  border: 2px dashed color-mix(in srgb, var(--primary) 45%, transparent); border-radius: var(--radius);
  color: var(--primary); font-weight: 600; text-decoration: none; min-height: 200px;
}
.see-all span { font-size: 1.6rem; }
@media (max-width: 720px) {
  .scroller { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; scroll-padding: 0 1rem; scrollbar-width: none; }
  .scroller::-webkit-scrollbar { display: none; }
}

/* ---------- Tarjetas: segunda foto y etiquetas ---------- */
.card-media img { transition: opacity .35s, transform .5s; }
.card-media .alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media .alt { opacity: 1; }
  .card:hover .card-media img:not(.alt) { transform: scale(1.03); }
}
.badges { position: absolute; top: .6rem; left: .6rem; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.badges .badge { position: static; }
.badge.new { background: var(--surface); color: var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.badge.warn { background: #f59e0b; }
@media (max-width: 720px) { .badge { font-size: .66rem; padding: .2rem .5rem; } .badges { top: .45rem; left: .45rem; } }

/* ---------- Animación al aparecer ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.toast { bottom: 5.2rem; }

/* Pedido agendado */
.done { text-align: center; padding: 2rem .5rem; }
.done-icon { font-size: 2.6rem; }
.done h3 { font-family: var(--heading); font-size: 1.3rem; margin: .5rem 0; }
.done p { color: var(--muted); margin: .4rem 0; }
.done b { color: var(--text); }
a.btn.block { text-align: center; }
.wa-number {
  display: inline-flex; align-items: center; gap: .5rem; margin: .6rem 0 .2rem;
  font-size: 1.35rem; font-weight: 700; color: #128c4a; text-decoration: none;
  background: color-mix(in srgb, #25d366 14%, transparent); padding: .55rem 1.1rem; border-radius: 999px;
}
.btn.wa-btn { background: #25d366; color: #fff; }

/* Formas de entrega */
.ship { border: 0; padding: 0; margin: 0; display: grid; gap: .4rem; }
.ship legend { font-weight: 600; font-size: .85rem; margin-bottom: .35rem; padding: 0; }
.ship label {
  display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: .55rem .7rem; cursor: pointer; font-size: .9rem;
}
.ship label.active { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, transparent); }
.ship input { accent-color: var(--primary); margin: 0; }
.ship small { display: block; color: var(--muted); font-size: .78rem; }
.pay label { grid-template-columns: auto 1fr; }
.pay em { display: none; }
.ship em { font-style: normal; font-weight: 700; white-space: nowrap; }

/* Banner "ver más productos" del inicio */
.all-banner {
  display: flex; align-items: flex-end; justify-content: center; margin: 2rem 0 1rem;
  aspect-ratio: 16 / 9; max-height: 440px; border-radius: calc(var(--radius) * 1.4);
  background-size: cover; background-position: center 45%; text-decoration: none; overflow: hidden;
  box-shadow: 0 14px 30px -18px rgba(110, 50, 170, .6); transition: transform .2s;
}
.all-banner:hover { transform: translateY(-3px); }
.all-btn {
  margin-bottom: clamp(1rem, 4vw, 2rem); padding: .75rem 1.5rem; border-radius: 999px;
  background: #8a5a3b; color: #fff; font-weight: 700; box-shadow: 0 8px 18px -8px rgba(110, 70, 40, .7);
}
@media (max-width: 720px) { .all-banner { aspect-ratio: 4 / 5; max-height: none; } }

/* ---------- Opiniones ---------- */
.stars { color: #f5b301; letter-spacing: 1px; white-space: nowrap; }
.stars i { font-style: normal; color: color-mix(in srgb, var(--text) 18%, transparent); }
.rating { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; text-decoration: none; color: var(--muted); }
.card .rating { margin-bottom: .15rem; }
.scroller.reviews { grid-auto-columns: clamp(240px, 78%, 320px); }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; display: grid; gap: .5rem; align-content: start;
}
.review blockquote { margin: 0; font-size: .95rem; line-height: 1.45; white-space: pre-line; }
.review figcaption { font-size: .85rem; color: var(--muted); }
.review figcaption a { color: var(--primary); }
.review-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) * .7); }
.review-empty { text-align: center; padding: 1.5rem 1rem; border: 2px dashed var(--line); border-radius: var(--radius); display: grid; gap: .8rem; justify-items: center; }
.review-empty p { margin: 0; color: var(--muted); }
.link-more { background: none; border: 0; color: var(--primary); font-weight: 600; font-size: .9rem; padding: 0; white-space: nowrap; }
.prod-reviews { display: grid; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .5rem; }
.prod-reviews h3 { margin: 0; font-size: 1.05rem; }
.prod-reviews .review-photo { max-width: 160px; }
.review-modal { grid-template-columns: 1fr; width: min(460px, 100%); padding: 1.4rem 1.3rem 1.6rem; }
.review-form h2 { margin: 0; font-family: var(--heading); }
.star-pick { display: flex; gap: .3rem; }
.star-pick button { background: none; border: 0; font-size: 2rem; line-height: 1; padding: 0 .1rem; color: color-mix(in srgb, var(--text) 18%, transparent); }
.star-pick button.on { color: #f5b301; }
.review-form select { font: inherit; padding: .6rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }

/* ---------- Factura del pedido ---------- */
.receipt { display: grid; gap: .9rem; }
.rc-items { display: grid; gap: .6rem; }
.rc-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .75rem; align-items: center; }
.rc-img { position: relative; width: 56px; height: 56px; border-radius: 10px; background: var(--line); }
.rc-img img, .rc-img .placeholder { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; font-size: 1.1rem; }
.rc-qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--secondary); color: var(--bg); font-size: .72rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.rc-name { font-size: .9rem; font-weight: 600; line-height: 1.25; }
.rc-name small { display: block; font-weight: 400; color: var(--muted); }
.rc-price { font-weight: 600; font-size: .9rem; }
.rc-info { border-top: 1px solid var(--line); padding-top: .8rem; }
.rc-info h4 { margin: 0 0 .5rem; font-family: var(--heading); font-size: 1.05rem; }
.rc-info dl { margin: 0; display: grid; gap: .15rem; font-size: .88rem; }
.rc-info dt { font-weight: 700; margin-top: .45rem; }
.rc-info dd { margin: 0; color: var(--muted); white-space: pre-line; }
.receipt.compact { background: var(--bg); border-radius: var(--radius); padding: .9rem; margin-top: .4rem; }
.rc-done { padding: 1rem .2rem .4rem; }
.rc-num { font-family: var(--heading); font-size: 1.6rem; color: var(--primary); margin: .1rem 0 .4rem; }
.receipt-page { max-width: 560px; margin: 1.5rem auto; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(1.1rem, 4vw, 2rem); display: grid; gap: 1rem; }
.rc-head { display: flex; gap: .9rem; align-items: center; }
.rc-check { width: 56px; height: 56px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent); display: grid; place-items: center; font-size: 1.7rem; flex: none; }
.rc-head small { color: var(--muted); }
.rc-head h1 { margin: 0; font-family: var(--heading); font-size: clamp(1.4rem, 5vw, 1.9rem); color: var(--primary); }
.rc-head p { margin: 0; color: var(--muted); font-size: .85rem; }
.rc-thanks { margin: 0; line-height: 1.5; }
.rc-actions { display: grid; gap: .5rem; }
@media print {
  .site-header, .announcement, .site-footer, .wa-float, .rc-actions, .search-bar { display: none !important; }
  .receipt-page { border: 0; margin: 0; }
  body { background: #fff; }
}

/* Contenido básico para Google (la tienda lo reemplaza al cargar) */
.seo-static { padding: 2rem 0; color: var(--muted); }
.seo-static img { max-width: 260px; height: auto; border-radius: var(--radius); }
.seo-static h1 { font-family: var(--heading); color: var(--text); }
.seo-static ul { columns: 2 220px; padding-left: 1.2rem; }

/* Variantes agotadas */
.opts button.out { opacity: .45; text-decoration: line-through; }

/* Texto para buscadores: no se ve mientras carga la tienda */
.seo-static { visibility: hidden; height: 60vh; overflow: hidden; }
