/* Daniris Store — "la vitrina".
   Paleta tomada del fondo acuarela lila/celeste de sus fotos; la letra manuscrita rosada y las
   estrellas vienen de su plantilla de Instagram ("Artículo Nuevo →"). */
:root {
  --ink: #2A1846;
  --ink-2: #463268;
  --paper: #FCFAFF;
  --card: #FFFFFF;
  --muted: #5E5476;
  --line: #E4DCF3;
  --pink: #C2185B;
  --pink-2: #F9C6DA;
  --lilac: #EEE7FB;
  --sky: #E2EFFA;
  --wa: #25D366;
  --wa-ink: #07351C;

  --display: 'Bricolage Grotesque', 'Nunito Sans', system-ui, sans-serif;
  --hand: 'Caveat', 'Segoe Print', cursive;
  --body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(42, 24, 70, .06), 0 14px 30px -16px rgba(42, 24, 70, .35);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.6 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }

.hand { font-family: var(--hand); font-weight: 700; color: var(--pink); letter-spacing: 0; line-height: 1; }
.hand--lg { font-size: 1.25em; display: inline-block; transform: rotate(-3deg); }
.hand--xl { font-size: clamp(2.2rem, 5vw, 3.2rem); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  font: 800 1.02rem/1 var(--body);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 6px 0 -1px var(--pink); }
.btn--ink:hover { transform: translateY(-2px); box-shadow: 0 8px 0 -1px var(--pink); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { box-shadow: 0 10px 22px -10px rgba(37, 211, 102, .9); transform: translateY(-2px); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--lg { min-height: 62px; padding: 0 34px; font-size: 1.25rem; }
.btn--block { width: 100%; }

/* ---------- Logo y header ---------- */
.logo { display: inline-flex; align-items: baseline; text-decoration: none; color: var(--ink); }
.logo__word { font: 800 1.6rem/1 var(--display); letter-spacing: -.03em; }
.logo__hand { font: 700 1.7rem/1 var(--hand); color: var(--pink); margin-left: 3px; transform: rotate(-6deg) translateY(4px); display: inline-block; }

.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(252, 250, 255, .86);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top__row { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.top__nav { display: flex; gap: 4px; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 700; padding: 10px 14px; border-radius: 999px; transition: background-color .2s; }
.top__nav a:hover { background: var(--lilac); }
.bagbtn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 46px; padding: 0 7px 0 16px;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  font: 800 .95rem/1 var(--body); cursor: pointer;
  transition: background-color .2s;
}
.bagbtn:hover { background: var(--ink-2); }
.bagbtn__count {
  display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 7px;
  border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .9rem;
}
.bagbtn__count.is-on { background: var(--pink); }
.bagbtn__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 80px) clamp(56px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto 30%; height: 120%; z-index: -1;
  background:
    radial-gradient(40% 45% at 70% 35%, #DCEBFB 0%, transparent 70%),
    radial-gradient(35% 40% at 45% 70%, #EADFFC 0%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__kicker { font-weight: 700; color: var(--muted); margin-bottom: 18px; }
.hero__kicker .hand { font-size: 1.7rem; margin-right: 4px; }
.hero h1 { font-size: clamp(3.1rem, 7.6vw, 6.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; }
.hl { background: linear-gradient(transparent 60%, var(--pink-2) 60% 92%, transparent 92%); padding-inline: .04em; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 42ch; margin-top: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* La vitrina en arco */
.window { position: relative; width: min(460px, 100%); margin-inline: auto; padding: 0 8% 6%; }
.window__arch {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 999px 999px 28px 28px;
  background:
    radial-gradient(60% 40% at 30% 30%, rgba(255, 255, 255, .9), transparent 70%),
    radial-gradient(70% 50% at 80% 70%, #D6E8FA, transparent 70%),
    linear-gradient(170deg, #EFE6FF 0%, #E4EEFB 60%, #F3E3F3 100%);
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px var(--line), 0 40px 60px -30px rgba(42, 24, 70, .45);
}
.window__hero {
  position: absolute; left: 50%; bottom: 9%; width: 86%; transform: translateX(-50%);
  filter: drop-shadow(0 18px 18px rgba(42, 24, 70, .22));
  animation: float 6s ease-in-out infinite;
}
.window__floor { position: absolute; left: 22%; right: 22%; bottom: 8%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 24, 70, .28), transparent); }
@keyframes float { 50% { transform: translateX(-50%) translateY(-8px); } }
.window__side { position: absolute; filter: drop-shadow(0 16px 16px rgba(42, 24, 70, .28)); }
.side--a { left: -8%; bottom: -3%; width: 42%; transform: rotate(4deg); }
.side--b { right: -8%; bottom: 4%; width: 40%; transform: rotate(-6deg); }
.spark { position: absolute; color: #fff; animation: twinkle 3.2s ease-in-out infinite; }
.spark.s1 { width: 26px; height: 26px; top: 16%; left: 18%; color: #F7A8C8; }
.spark.s2 { width: 16px; height: 16px; top: 28%; right: 20%; animation-delay: -1.2s; }
.spark.s3 { width: 20px; height: 20px; top: 10%; right: 34%; color: #C9B4F3; animation-delay: -2.1s; }
@keyframes twinkle { 50% { transform: scale(.55) rotate(20deg); opacity: .6; } }
.note { position: absolute; font: 700 1.8rem/1 var(--hand); color: var(--pink); display: flex; align-items: flex-end; gap: 2px; }
.note svg { width: 60px; height: 24px; stroke-width: 2.4; }
.note--hero { top: 2%; left: -14%; transform: rotate(-8deg); }

/* Etiqueta colgante de precio */
.hangtag {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  padding: 9px 13px 9px 24px;
  font: 800 1.05rem/1 var(--display); letter-spacing: -.01em; color: var(--ink);
  background: radial-gradient(circle at 11px 50%, transparent 3.5px, #fff 4px);
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
  transform: rotate(5deg); transform-origin: 0 50%;
}
.hangtag--lg { top: 12%; left: 12%; right: auto; font-size: 1.5rem; padding: 12px 18px 12px 30px; background: radial-gradient(circle at 13px 50%, transparent 4.5px, #fff 5px); transform: rotate(-9deg); }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding-block: 16px; }
.ticker__track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker p { display: flex; align-items: center; gap: 22px; padding-right: 22px; font: 700 clamp(1.05rem, 1.8vw, 1.3rem)/1 var(--display); white-space: nowrap; }
.ticker i { font-style: normal; color: #F7A8C8; font-size: .8em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Vitrina ---------- */
.vitrina { padding-block: clamp(64px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.vitrina__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 36px; }
.vitrina__head h2 { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; }
.vitrina__lead { color: var(--muted); max-width: 46ch; margin-top: 14px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.jump a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 2px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .92rem;
  transition: background-color .2s, color .2s;
}
.jump a:hover { background: var(--ink); color: #fff; }

.shelf { --bg: #FBE3EC; --stage: #F6CADB; background: var(--bg); border-radius: 32px; padding: clamp(20px, 3vw, 36px); margin-bottom: 20px; scroll-margin-top: 90px; }
.shelf--pink { --bg: #FCE6EF; --stage: #F8D0E0; }
.shelf--lilac { --bg: #EFE8FC; --stage: #DDD0F7; }
.shelf--sky { --bg: #E3F0FB; --stage: #CBE1F6; }
.shelf--sage { --bg: #E9EFDE; --stage: #D4E0C2; }
.shelf--butter { --bg: #FFF4D6; --stage: #FBE4A6; }
.shelf__head { display: flex; align-items: baseline; gap: 14px 18px; flex-wrap: wrap; margin-bottom: 22px; }
.shelf__n { font: 800 clamp(2.4rem, 4vw, 3.4rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px var(--ink); letter-spacing: -.04em; }
.shelf h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.shelf h3 em { font-style: normal; font-size: .8em; margin-left: 6px; display: inline-block; transform: rotate(-3deg) translateY(-2px); }
.shelf__count { margin-left: auto; font-weight: 800; font-size: .9rem; color: var(--muted); }
.shelf__rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 18px; }

.item { display: flex; flex-direction: column; }
.item__stage {
  position: relative; aspect-ratio: 1 / 1.04; border-radius: 24px; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(255, 255, 255, .75), transparent 70%),
    var(--stage);
}
.item__stage::after {
  content: ""; position: absolute; left: 20%; right: 20%; bottom: 7%; height: 7%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 24, 70, .26), transparent);
  transition: transform .35s var(--ease), opacity .35s;
}
.item__stage img {
  position: relative; z-index: 1; width: 88%; margin: 3% auto 0;
  filter: drop-shadow(0 10px 10px rgba(42, 24, 70, .16));
  transition: transform .35s var(--ease);
}
.item:hover .item__stage img { transform: translateY(-8px) rotate(-1.5deg); }
.item:hover .item__stage::after { transform: scale(.82); opacity: .7; }
.item__size {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); font: 800 .78rem/1.2 var(--body); color: var(--ink);
}
.item__body { padding: 14px 4px 4px; display: flex; flex-direction: column; flex: 1; }
.item h4 { font-size: 1.12rem; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.item__note { color: var(--muted); font-size: .92rem; margin-top: 4px; }
.item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.item__code { font: 800 .72rem/1 var(--body); letter-spacing: .04em; color: var(--muted); white-space: nowrap; }
.add {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 16px 0 12px;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  font: 800 .92rem/1 var(--body); cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.add:hover { background: var(--pink); }
.add:active { transform: scale(.95); }
.add.is-added { animation: added .5s var(--ease); }
@keyframes added { 35% { transform: scale(1.1); background: var(--pink); } }

.more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin-top: 28px; padding: 24px 28px; border-radius: 28px;
  border: 2px dashed #CDBDF0; text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.more:hover { background: var(--lilac); border-color: var(--ink); }
.more__txt { max-width: 60ch; color: var(--muted); }
.more__txt b { color: var(--ink); }
.more__cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.noscript { padding: 20px; background: var(--lilac); border-radius: 20px; }

/* ---------- Cómo pedir ---------- */
.order { background: var(--lilac); padding-block: clamp(64px, 9vw, 112px); }
.order__grid { display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: clamp(32px, 6vw, 80px); align-items: center; }
.order h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 36px; }
.steps { display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.step > b {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--pink); font: 800 1.4rem/1 var(--display);
  box-shadow: inset 0 0 0 2px var(--pink-2);
}
.step h3 { font-size: 1.3rem; font-weight: 700; margin: 4px 0 6px; }
.step p { color: var(--muted); max-width: 44ch; }
.step em { font-style: normal; font-weight: 800; color: var(--ink); }

.chat { margin: 0; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: 0 0 0 8px #fff, 0 40px 60px -30px rgba(42, 24, 70, .5); transform: rotate(1.5deg); }
.chat__bar { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #F0F2F5; border-bottom: 1px solid #E3E6EA; }
.chat__bar b { display: block; font-size: 1rem; }
.chat__bar small { color: #54656F; font-size: .8rem; }
.chat__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font: 800 1.1rem/1 var(--display); }
.chat__body {
  padding: 18px 16px 22px; min-height: 280px; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  background-color: #EFE7DD;
  background-image: radial-gradient(rgba(0, 0, 0, .05) 1px, transparent 1.2px);
  background-size: 14px 14px;
}
.chat__label { align-self: center; background: #fff; color: #54656F; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble { position: relative; max-width: 92%; background: #D9FDD3; color: #111B21; padding: 10px 12px 20px; border-radius: 12px 0 12px 12px; font-size: .9rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.bubble ul { margin: 8px 0; display: grid; gap: 4px; }
.bubble li { padding-left: 12px; position: relative; }
.bubble li::before { content: "•"; position: absolute; left: 0; }
.bubble li span { color: #3B4A54; }
.bubble li i { font-style: normal; font-weight: 800; margin-left: 4px; }
.bubble__total { font-weight: 700; margin-bottom: 6px; }
.bubble__time { position: absolute; right: 10px; bottom: 4px; font-size: .72rem; color: #53BDEB; letter-spacing: -2px; }
.chat__cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; border: 0; background: var(--ink); color: #fff; font: 800 1rem/1 var(--body); cursor: pointer; transition: background-color .2s; }
.chat__cta:hover { background: var(--ink-2); }

/* ---------- Envíos ---------- */
.ship { padding-block: clamp(64px, 9vw, 112px); }
.ship__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ship h2 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.ship__copy p { color: var(--muted); max-width: 42ch; margin-top: 18px; font-size: 1.08rem; }
.dests { position: relative; display: grid; gap: 14px; padding-left: 34px; }
.dests::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 26px; border-left: 3px dashed #CDBDF0; }
.dest { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px 22px; box-shadow: var(--shadow); }
.dest::before { content: ""; position: absolute; left: -31px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: #fff; border: 3px solid var(--pink); }
.dest--home::before { background: var(--pink); width: 20px; height: 20px; margin-top: -10px; left: -33px; }
.dest b { display: block; font: 700 1.2rem/1.2 var(--display); }
.dest span { color: var(--muted); font-size: .95rem; }

/* ---------- Cierre ---------- */
.final { padding-bottom: clamp(56px, 8vw, 96px); }
.final__box {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: var(--ink); color: #fff; border-radius: 36px;
  padding: clamp(40px, 7vw, 80px) 24px;
  background-image: radial-gradient(60% 80% at 50% 120%, rgba(247, 168, 200, .25), transparent 70%);
}
.final .hand { color: #F7A8C8; transform: rotate(-3deg); }
.final h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; max-width: 18ch; margin-bottom: 18px; }

/* ---------- Footer ---------- */
.foot { background: #1C1030; color: #E6E0F2; padding-block: 52px calc(28px + env(safe-area-inset-bottom, 0px)); }
.foot__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.logo--foot { color: #fff; margin-bottom: 14px; }
.logo--foot .logo__hand { color: #F7A8C8; }
.foot p { max-width: 38ch; }
.foot__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 24px; margin: 0; }
.foot__list dt { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #B9AED3; }
.foot__list dd { margin: 2px 0 0; font-weight: 700; }
.foot a { color: #fff; text-underline-offset: 3px; }
.pending { display: inline-block; background: #FFE9A8; color: #3A2A00; padding: 2px 8px; border-radius: 6px; font-size: .85rem; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .88rem; color: #B9AED3; }
.foot__base p { max-width: none; }

/* ---------- Bolsa ---------- */
.scrim { position: fixed; inset: 0; background: rgba(20, 10, 36, .45); opacity: 0; transition: opacity .25s; z-index: 60; }
.scrim.is-on { opacity: 1; }
/* El contenedor recorta la bolsa cerrada para que no ensanche la página en móvil */
.bagwrap { position: fixed; inset: 0; z-index: 70; overflow: hidden; pointer-events: none; }
.bag {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%); pointer-events: auto;
  display: flex; flex-direction: column; background: var(--paper);
  padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(20px + env(safe-area-inset-bottom, 0px));
  box-shadow: -20px 0 40px -20px rgba(42, 24, 70, .4);
  transform: translateX(105%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s;
}
.bag.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
.bag__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.bag__head h2 { font-size: 1.7rem; font-weight: 800; }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--lilac); color: var(--ink); cursor: pointer; }
.iconbtn:hover { background: #DDD0F7; }
.bag__list { overflow-y: auto; flex: 1; padding: 8px 0; }
.bag__empty { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 28px; color: var(--muted); }
.bag__empty .hand { font-size: 2rem; }
.bag__empty[hidden], .bag__foot[hidden] { display: none; }
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line img { border-radius: 14px; background: var(--lilac); }
.line__name { font-weight: 800; line-height: 1.25; }
.line__meta { font-size: .8rem; color: var(--muted); }
.line__price { font: 700 1rem/1.4 var(--display); color: var(--pink); }
.qty { display: flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 40px; border: 0; background: none; font: 800 1.2rem/1 var(--body); color: var(--ink); cursor: pointer; border-radius: 999px; }
.qty button:hover { background: var(--lilac); }
.qty span { min-width: 20px; text-align: center; font-weight: 800; }
.bag__foot { padding-top: 16px; border-top: 2px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.bag__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.bag__total b { font: 800 1.7rem/1 var(--display); }
.bag__note { font-size: .88rem; color: var(--muted); }
.linkbtn { align-self: center; min-height: 44px; background: none; border: 0; color: var(--muted); font: 700 .9rem var(--body); text-decoration: underline; cursor: pointer; }

/* ---------- Toast y botón flotante ---------- */
.toast {
  position: fixed; left: 50%; top: calc(84px + env(safe-area-inset-top, 0px)); z-index: 80;
  transform: translate(-50%, -12px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px;
  font-weight: 800; font-size: .95rem; max-width: calc(100% - 32px);
  transition: opacity .2s, transform .3s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--wa-ink); box-shadow: 0 10px 24px -8px rgba(7, 53, 28, .55);
  transition: transform .2s var(--ease);
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; }

/* ---------- Entrada ---------- */
.rise { opacity: 0; transform: translateY(20px); transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .order__grid, .ship__grid { grid-template-columns: 1fr; }
  .window { width: min(400px, 88%); margin-top: 12px; }
  .note--hero { left: -6%; }
  .chat { max-width: 440px; margin-inline: auto; width: 100%; }
  .top__nav { display: none; }
  .bagbtn { margin-left: auto; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bagbtn__label { display: none; }
  .bagbtn { padding: 0 7px 0 12px; }
  .note--hero { font-size: 1.45rem; top: -2%; left: -8%; }
  .note svg { width: 44px; }
  .shelf { border-radius: 26px; padding: 20px 0 22px; margin-inline: -8px; }
  .shelf__head { padding-inline: 18px; }
  .shelf__rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: 64%; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px;
    padding: 0 18px 6px; gap: 14px; scrollbar-width: none;
    contain: paint; /* sin esto el carrusel ensancha la página en móvil */
  }
  .shelf__rail::-webkit-scrollbar { display: none; }
  .item { scroll-snap-align: start; }
  .item h4 { font-size: 1.02rem; }
  .add span:first-of-type { display: none; }
  .add { width: 44px; padding: 0; justify-content: center; }
  .dests { padding-left: 30px; }
  .foot__list { grid-template-columns: 1fr; }
  .more { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}
