/* Swanette Beauty — estilos
   Paleta tomada del logo y de los empaques: satén rosa, perla, plata y vino. */

:root {
  --blush: #FDEFF3;
  --satin: #F8CFDB;
  --rose: #E889AA;
  --raspberry: #B52E69;
  --wine: #6B1F3D;
  --ink: #4B2333;
  --pearl: #FFFAF8;
  --silver: #C9C2CF;
  --strawberry: #B3182D;

  --display: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", "Apple Chancery", cursive;
  --body: "Nunito Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: min(1120px, 100% - 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--blush);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: currentColor; }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rose); color: #fff; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--wine); color: #fff; padding: .6rem 1rem; border-radius: 999px;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.96); }
.btn--solid {
  background: var(--raspberry); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(181, 46, 105, .75), inset 0 1px 0 rgba(255, 255, 255, .35);
}
/* destello de satén que cruza el botón */
.btn--solid::after, .btn--wa::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  transform: translateX(-120%);
}
.btn--ghost { background: rgba(255, 250, 248, .7); color: var(--raspberry); border-color: var(--rose); backdrop-filter: blur(6px); }
.btn--pearl { background: var(--pearl); color: var(--wine); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn--line { color: var(--pearl); border-color: rgba(255, 250, 248, .6); }
.btn--wa { background: #1E8E4E; color: #fff; width: 100%; box-shadow: 0 10px 24px -12px rgba(30, 142, 78, .9); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-3px); }
  .btn--solid:hover::after, .btn--wa:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
  .btn--ghost:hover { background: var(--pearl); }
  .btn--line:hover { background: rgba(255, 250, 248, .14); }
}

/* ---------- Telón de entrada ---------- */
.curtain { position: fixed; inset: 0; z-index: 100; pointer-events: none; display: flex; }
.curtain__panel {
  flex: 1; height: 100%;
  background:
    linear-gradient(180deg, rgba(107, 31, 61, .28), transparent 22%, transparent 80%, rgba(107, 31, 61, .2)),
    repeating-linear-gradient(90deg, #EE95B2 0, #FCDDE6 4.5%, #F3A9C1 9%, #E27FA2 11%, #F6BDCF 14%);
  animation: curtain 1.5s cubic-bezier(.75, 0, .2, 1) .75s forwards;
}
.curtain__panel--l { transform-origin: left center; box-shadow: 14px 0 30px -8px rgba(107, 31, 61, .45); }
.curtain__panel--r { transform-origin: right center; box-shadow: -14px 0 30px -8px rgba(107, 31, 61, .45); }
.curtain__bow {
  position: absolute; left: 50%; top: 50%; width: clamp(110px, 20vw, 190px); aspect-ratio: 64 / 44;
  translate: -50% -50%; color: var(--pearl);
  filter: drop-shadow(0 8px 14px rgba(107, 31, 61, .45));
  animation: bow-untie .8s var(--ease) .15s forwards;
}
@keyframes curtain { to { transform: scaleX(0); } }
@keyframes bow-untie {
  40% { transform: scale(1.15) rotate(-6deg); opacity: 1; }
  100% { transform: scale(.2) rotate(25deg); opacity: 0; }
}
.curtain.is-done { display: none; }

/* ---------- Brillos que caen por la página ---------- */
.drift { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.drift svg {
  position: absolute; top: -40px; left: var(--x);
  width: var(--s); height: var(--s);
  color: var(--c); opacity: var(--o);
  animation: fall var(--t) linear var(--dl) infinite;
}
@keyframes fall {
  0% { transform: translate3d(0, -5vh, 0) rotate(0); }
  100% { transform: translate3d(var(--sway), 108vh, 0) rotate(var(--r)); }
}

/* ---------- Cabecera ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .6rem max(1.25rem, calc((100% - 1120px) / 2));
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.top.is-stuck {
  background: rgba(253, 239, 243, .82); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(232, 137, 170, .35), 0 12px 30px -22px rgba(107, 31, 61, .6);
}
.top__brand {
  display: flex; align-items: center; gap: .6rem; text-decoration: none;
  font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--wine);
  opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s var(--ease);
}
.top.is-stuck .top__brand { opacity: 1; transform: none; }
.top__brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--pearl), 0 4px 10px -4px rgba(107, 31, 61, .5); }
.top__nav { margin-left: auto; display: flex; gap: 1.6rem; }
.top__nav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--wine);
  background: linear-gradient(var(--rose), var(--rose)) left 100% / 0 2px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease);
}
.top__nav a:hover, .top__nav a:focus-visible { background-size: 100% 2px; }
.bag {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .55rem 1rem; border-radius: 999px;
  border: 1.5px solid var(--rose); background: var(--pearl); color: var(--wine);
  font-weight: 700; font-size: .92rem; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.bag:hover { transform: translateY(-2px); box-shadow: 0 8px 18px -10px rgba(181, 46, 105, .7); }
.bag__count {
  min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--raspberry); color: #fff; font-size: .78rem; line-height: 1;
}
.bag.is-bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.14) rotate(-4deg); } 60% { transform: scale(.96) rotate(3deg); } }

/* ---------- Portada ---------- */
.hero {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 6rem 1.25rem 5.5rem;
  background:
    radial-gradient(60% 45% at 50% 34%, rgba(255, 250, 248, .95), transparent 70%),
    linear-gradient(118deg, #FBDCE5 0%, #FDEFF3 30%, #F7C6D5 52%, #FDEFF3 72%, #F9D3DE 100%);
  background-size: auto, 220% 220%;
  animation: satin 14s ease-in-out infinite alternate;
  overflow: hidden;
}
@keyframes satin { from { background-position: 0 0, 0% 40%; } to { background-position: 0 0, 100% 60%; } }
.hero__glow {
  position: absolute; left: 50%; top: -30%; width: 120vmax; height: 120vmax; translate: -50% 0;
  background: conic-gradient(from 160deg at 50% 0, transparent 0 8deg, rgba(255, 255, 255, .5) 14deg, transparent 22deg 30deg, rgba(255, 255, 255, .35) 36deg, transparent 44deg);
  opacity: .7; pointer-events: none;
  animation: spotlight 9s ease-in-out infinite alternate;
  transform-origin: 50% 0;
}
@keyframes spotlight { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }

.hero__float { position: absolute; inset: 0; pointer-events: none; }
.f { position: absolute; transition: translate .6s var(--ease); animation: bob 6s ease-in-out infinite alternate; }
.f--bow { color: var(--rose); width: clamp(46px, 7vw, 86px); aspect-ratio: 64 / 44; filter: drop-shadow(0 6px 8px rgba(181, 46, 105, .25)); }
.f--heart { color: #F3A6BF; width: clamp(20px, 3vw, 36px); aspect-ratio: 24 / 22; }
.f--spark { color: #fff; width: clamp(16px, 2.2vw, 28px); aspect-ratio: 1; filter: drop-shadow(0 0 6px rgba(232, 137, 170, .9)); animation: twinkle 2.6s ease-in-out infinite; }
.f1 { left: 9%; top: 22%; rotate: -16deg; }
.f2 { right: 8%; top: 58%; rotate: 14deg; animation-delay: -2s; }
.f3 { left: 16%; top: 66%; animation-delay: -3s; }
.f4 { right: 17%; top: 20%; animation-delay: -1s; }
.f5 { left: 26%; top: 14%; }
.f6 { right: 27%; top: 74%; animation-delay: -.9s; }
.f7 { left: 6%; top: 46%; animation-delay: -1.7s; }
.f8 { right: 5%; top: 36%; animation-delay: -.4s; }
@keyframes bob { from { transform: translateY(-10px) rotate(-4deg); } to { transform: translateY(12px) rotate(5deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .3; } 50% { transform: scale(1) rotate(45deg); opacity: 1; } }

/* Medallón del logo: collar de perlas que gira */
.medal {
  position: relative; width: clamp(230px, 38vmin, 360px); aspect-ratio: 1;
  display: grid; place-items: center; margin-bottom: 1.4rem;
}
.medal__logo {
  width: 78%; height: auto; border-radius: 50%;
  box-shadow: 0 0 0 5px var(--pearl), 0 24px 50px -18px rgba(107, 31, 61, .55);
  animation: breathe 5s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.025); } }
.medal__pearls, .medal__lace { position: absolute; border-radius: 50%; }
.medal__pearls {
  inset: 0; border: clamp(9px, 1.5vmin, 13px) dotted var(--pearl);
  filter: drop-shadow(0 2px 2px rgba(181, 46, 105, .4)) drop-shadow(0 0 5px rgba(255, 255, 255, .9));
  animation: spin 48s linear infinite;
}
.medal__lace { inset: 6.5%; border: 2px dashed var(--silver); opacity: .9; animation: spin 70s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.medal__spark { position: absolute; color: #fff; width: 26px; height: 26px; filter: drop-shadow(0 0 6px var(--rose)); animation: twinkle 2.2s ease-in-out infinite; }
.medal__spark.s1 { top: 4%; right: 10%; }
.medal__spark.s2 { bottom: 10%; left: 2%; width: 18px; height: 18px; animation-delay: -.8s; }
.medal__spark.s3 { top: 44%; right: -5%; width: 16px; height: 16px; animation-delay: -1.5s; }

.hero__title {
  font-family: var(--script); font-weight: 400;
  font-size: clamp(3.5rem, 13.5vw, 8.5rem); line-height: 1.05;
  color: var(--wine); text-wrap: balance;
  text-shadow: 0 2px 0 rgba(255, 250, 248, .9), 0 10px 26px rgba(232, 137, 170, .45);
}
.hero__lead { margin-top: .9rem; max-width: 46ch; font-size: 1.12rem; text-wrap: pretty; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* entrada de la portada, coordinada con el telón */
.js .hero-in { opacity: 0; animation: rise 1s var(--ease) calc(1.25s + var(--d) * .14s) forwards; }
.js .medal.hero-in { animation-name: pirouette; animation-duration: 1.5s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pirouette { from { opacity: 0; transform: scale(.55) rotate(-200deg); } to { opacity: 1; transform: none; } }

/* ---------- Cinta ---------- */
.ribbon {
  position: relative; z-index: 3;
  margin: -2.2rem -3vw 0; rotate: -1.6deg;
  background: linear-gradient(180deg, #C6397A, var(--raspberry) 45%, #9C2459);
  color: var(--pearl);
  box-shadow: 0 14px 28px -16px rgba(107, 31, 61, .8), inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .15);
  overflow: hidden;
}
.ribbon__track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  padding: .85rem 0;
  font-family: var(--display); font-style: italic; font-size: 1.25rem; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.ribbon__track svg { width: 22px; height: 18px; flex: none; color: #FBD3DF; }
@keyframes marquee { to { transform: translateX(calc(-50% - .8rem)); } }

/* ---------- Encabezados de sección ---------- */
.heading { text-align: center; margin: 0 auto 3.5rem; }
.heading h2 {
  font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.05;
  letter-spacing: -.01em; color: var(--wine);
}
.heading h2.heading__script {
  font-family: var(--script); font-weight: 400; letter-spacing: 0;
  font-size: clamp(4rem, 12vw, 7.5rem); line-height: 1.05; color: var(--raspberry);
}
.heading h2 + p { margin-top: .9rem; }
.heading h2.heading__script + p { margin-top: .3rem; }

/* ---------- Colección ---------- */
.collection { position: relative; z-index: 2; width: var(--wrap); margin: 0 auto; padding: 7rem 0 3rem; }
.product {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  margin-bottom: clamp(4rem, 9vw, 7.5rem);
}
.product:nth-of-type(even) .product__media { order: 2; }
.product__media {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%; --tilt: -2.2deg;
  border: 0; background: none; padding: 0; display: block; width: 100%;
  max-width: 500px; justify-self: center;
  perspective: 900px; cursor: zoom-in;
}
.product:nth-of-type(even) .product__media { --tilt: 2.2deg; }
.product__frame {
  display: block; position: relative;
  padding: 12px; border-radius: 34px;
  background: linear-gradient(145deg, #fff, #F4EEF3 40%, var(--silver) 55%, #fff 75%, #E6DFE9);
  box-shadow: 0 30px 60px -28px rgba(107, 31, 61, .6), 0 0 0 1px rgba(201, 194, 207, .7);
  transform: rotate(var(--tilt)) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
/* hilera de perlas alrededor de la foto */
.product__frame::before {
  content: ""; position: absolute; inset: 3px; border-radius: 30px;
  border: 7px dotted var(--pearl);
  filter: drop-shadow(0 1px 1px rgba(107, 31, 61, .45));
  pointer-events: none; z-index: 2;
}
/* reflejo que sigue al cursor */
.product__frame::after {
  content: ""; position: absolute; inset: 12px; border-radius: 22px; z-index: 1;
  background: radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .5), transparent 45%);
  opacity: 0; transition: opacity .4s; pointer-events: none; mix-blend-mode: soft-light;
}
.product__frame img { border-radius: 22px; width: 100%; }
@media (hover: hover) {
  .product__media:hover .product__frame { box-shadow: 0 44px 70px -30px rgba(107, 31, 61, .7), 0 0 0 1px rgba(201, 194, 207, .7); }
  .product__media:hover .product__frame::after { opacity: 1; }
}
.product__media.is-live .product__frame { transition-duration: .12s; }

.product__body h3 {
  font-family: var(--display); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.75rem); line-height: 1.08;
  color: var(--wine); text-wrap: balance;
}
.product__tone { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--raspberry); margin-top: .5rem; }
.product__desc { margin-top: 1rem; max-width: 44ch; text-wrap: pretty; }
.product__buy { margin-top: 1.7rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.product__price {
  font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--raspberry);
  font-variant-numeric: lining-nums;
}
.product__price span { font-size: .55em; vertical-align: .55em; margin-right: .12em; }
.add.is-added { background: var(--wine); }

/* aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* la foto se abre como un compacto */
.js .product__media { clip-path: circle(0% at 50% 50%); opacity: 0; transition: clip-path 1.2s var(--ease), opacity .5s; }
.js .product__media.is-in { clip-path: circle(85% at 50% 50%); opacity: 1; }
.js .product__media:not(.is-in) .product__frame { transform: rotate(calc(var(--tilt) * 6)) scale(.8); }
.js .product__media.is-in .product__frame { transition-duration: 1.2s; }
.js .product__media.is-in.is-settled { clip-path: none; }
.js .product__media.is-in.is-settled .product__frame { transition-duration: .5s; }
.js .product__media.is-in.is-live .product__frame { transition-duration: .12s; }

/* ---------- Cómo pedir ---------- */
.steps {
  position: relative; z-index: 2;
  background: var(--pearl); padding: 6.5rem 1.25rem 6rem;
  /* borde de encaje arriba y abajo */
  --lace: radial-gradient(circle at 14px 0, transparent 13px, #000 13.5px);
  -webkit-mask: radial-gradient(circle at 14px 14px, #000 13px, transparent 13.5px) 0 0 / 28px 28px repeat-x,
                linear-gradient(#000, #000) 0 14px / 100% calc(100% - 28px) no-repeat,
                radial-gradient(circle at 14px 0, #000 13px, transparent 13.5px) 0 100% / 28px 14px repeat-x;
          mask: radial-gradient(circle at 14px 14px, #000 13px, transparent 13.5px) 0 0 / 28px 28px repeat-x,
                linear-gradient(#000, #000) 0 14px / 100% calc(100% - 28px) no-repeat,
                radial-gradient(circle at 14px 0, #000 13px, transparent 13.5px) 0 100% / 28px 14px repeat-x;
}
.steps__list {
  list-style: none; margin: 0 auto; padding: 0; width: min(1000px, 100%);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; text-align: center;
}
.steps__list li:nth-child(2) { --rd: .15s; }
.steps__list li:nth-child(3) { --rd: .3s; }
.steps__n {
  display: grid; place-items: center; width: 4.2rem; aspect-ratio: 1; margin: 0 auto 1.1rem;
  border-radius: 50%; border: 6px dotted var(--satin);
  font-family: var(--display); font-style: italic; font-size: 1.8rem; line-height: 1; color: var(--raspberry);
}
.steps__list h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--wine); }
.steps__list p { margin: .55rem auto 0; max-width: 30ch; }

/* ---------- Contacto ---------- */
.contact {
  position: relative; z-index: 2; text-align: center; color: var(--pearl);
  margin-top: -14px; padding: 7rem 1.25rem 6rem;
  background:
    radial-gradient(70% 90% at 50% 0, rgba(255, 255, 255, .16), transparent 60%),
    repeating-linear-gradient(100deg, #8E2552 0, #A92C63 7%, #7F1F48 13%, #9B2A5C 20%);
  overflow: hidden;
}
.contact__bow {
  width: clamp(90px, 14vw, 150px); aspect-ratio: 64 / 44; color: #F7B9CD; margin-bottom: 1.2rem;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .3));
  animation: sway 4.5s ease-in-out infinite alternate; transform-origin: 50% 40%;
}
@keyframes sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
.contact h2 { font-family: var(--script); font-weight: 400; font-size: clamp(3rem, 9vw, 5.6rem); line-height: 1; }
.contact p { margin: 1.3rem auto 0; max-width: 44ch; font-size: 1.1rem; }
.contact p a { font-weight: 700; text-decoration-color: rgba(255, 250, 248, .5); text-underline-offset: 3px; white-space: nowrap; }
.contact__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

.foot {
  position: relative; z-index: 2; background: var(--wine); color: #F3CFDB;
  display: flex; flex-direction: column; align-items: center; gap: .8rem; text-align: center;
  padding: 2.2rem 1.25rem 2.6rem; font-size: .92rem;
}
.foot img { border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 250, 248, .6); }

/* ---------- Mi pedido (panel lateral) ---------- */
.drawer {
  margin: 0 0 0 auto; padding: 0; border: 0;
  width: min(430px, 100vw); height: 100dvh; max-height: none; max-width: none;
  background: var(--pearl); color: var(--ink);
  transform: translateX(105%); transition: transform .5s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(107, 31, 61, .6);
}
.drawer.is-open { transform: none; }
.drawer::backdrop { background: rgba(107, 31, 61, 0); backdrop-filter: blur(0); transition: background-color .4s, backdrop-filter .4s; }
.drawer.is-open::backdrop { background: rgba(107, 31, 61, .38); backdrop-filter: blur(4px); }
.drawer__in { display: flex; flex-direction: column; height: 100%; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 1.4rem; border-bottom: 5px dotted var(--satin);
}
.drawer__head h2 { font-family: var(--script); font-weight: 400; font-size: 2.5rem; line-height: 1; color: var(--raspberry); }
.drawer__close, .zoom__close {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid var(--rose);
  background: #fff; color: var(--wine); font-size: 1.5rem; line-height: 1;
  transition: transform .3s var(--ease), background-color .2s;
}
.drawer__close:hover, .zoom__close:hover { transform: rotate(90deg); background: var(--satin); }
.drawer__empty { margin: auto; padding: 2rem 2rem 4rem; text-align: center; display: grid; justify-items: center; gap: 1.2rem; }
.drawer__empty svg { width: 90px; aspect-ratio: 64 / 44; color: var(--satin); }
.drawer__empty p { max-width: 28ch; }
.drawer__list { list-style: none; margin: 0; padding: .6rem 1.4rem; flex: 1; overflow-y: auto; }
.drawer__list:empty { display: none; }
.item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: .2rem .9rem; align-items: center;
  padding: 1rem 0; border-bottom: 1px solid var(--satin);
  animation: item-in .45s var(--ease) both;
}
@keyframes item-in { from { opacity: 0; transform: translateX(24px); } }
.item img { grid-row: span 2; width: 72px; height: 72px; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--silver); }
.item__name { font-family: var(--display); font-weight: 600; font-size: 1.08rem; line-height: 1.2; color: var(--wine); }
.item__price { font-weight: 700; color: var(--raspberry); text-align: right; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; gap: .15rem; border: 1.5px solid var(--satin); border-radius: 999px; width: max-content; }
.qty button { width: 2.1rem; height: 2.1rem; border: 0; background: none; border-radius: 50%; font-size: 1.15rem; line-height: 1; color: var(--raspberry); }
.qty button:hover { background: var(--blush); }
.qty span { min-width: 1.4rem; text-align: center; font-weight: 700; }
.item__remove { justify-self: end; border: 0; background: none; padding: .2rem 0; font-size: .86rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.drawer__foot { padding: 1.1rem 1.4rem calc(1.3rem + env(safe-area-inset-bottom)); border-top: 5px dotted var(--satin); display: grid; gap: .8rem; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--raspberry); }
.drawer__clear { border: 0; background: none; justify-self: center; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; padding: .2rem; }

/* ---------- Foto ampliada ---------- */
.zoom { border: 0; padding: 0; background: none; max-width: min(92vw, 820px); max-height: 92dvh; overflow: visible; }
.zoom::backdrop { background: rgba(107, 31, 61, .72); backdrop-filter: blur(6px); }
.zoom img { max-height: 88dvh; width: auto; border-radius: 26px; border: 8px solid var(--pearl); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); }
.zoom[open] img { animation: zoom-in .5s var(--ease); }
@keyframes zoom-in { from { opacity: 0; transform: scale(.85) rotate(-3deg); } }
.zoom__close { position: absolute; top: -1rem; right: -1rem; z-index: 2; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 120; translate: -50% 0;
  background: var(--wine); color: var(--pearl); padding: .75rem 1.3rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(107, 31, 61, .8);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .35s, transform .45s var(--ease);
}
.toast.is-on { opacity: 1; transform: none; }

/* partículas creadas por JS */
.fx { position: fixed; z-index: 130; pointer-events: none; left: 0; top: 0; }

/* ---------- Móvil ---------- */
@media (max-width: 780px) {
  .top__nav { display: none; }
  .bag { margin-left: auto; }
  .top__brand span { display: none; }
  .hero { padding-top: 5rem; }
  .product { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .product:nth-of-type(even) .product__media { order: 0; }
  .product__media { max-width: 400px; }
  .product__desc { margin-inline: auto; }
  .product__buy { justify-content: center; }
  .steps__list { grid-template-columns: 1fr; gap: 2.4rem; }
  .ribbon__track { font-size: 1.08rem; }
  .f1 { top: 9%; left: 5%; opacity: .75; }
  .f2 { top: 90%; right: 6%; opacity: .75; }
  .f3 { top: 93%; left: 10%; }
  .f7, .f8 { display: none; }
  .zoom__close { top: .6rem; right: .6rem; }
}

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .curtain, .drift { display: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .hero-in, .js .reveal { opacity: 1; transform: none; }
  .js .product__media { clip-path: none; opacity: 1; }
  .js .product__media:not(.is-in) .product__frame { transform: rotate(var(--tilt)); }
}
