/* =========================================================
   how?sweet bakes — landing page
   ========================================================= */
:root {
  --cream: #FFF9F3;
  --cream-2: #FFF1E4;
  --pink: #F7C6D2;
  --pink-soft: #FDE7EC;
  --pink-deep: #E9879F;
  --pink-ink: #C9587A;
  --cocoa: #4A2A26;
  --cocoa-2: #6E4A43;
  --caramel: #C67B3C;
  --butter: #FBE7B5;
  --mandarin: #F5A83A;
  --mandarin-soft: #FFE3BC;
  --berry: #6E4E93;
  --lav: #ECE3F7;
  --sky: #A9BFD9;

  --radius: 28px;
  --shadow: 0 18px 40px -18px rgba(74, 42, 38, .35);
  --shadow-sm: 0 8px 20px -10px rgba(74, 42, 38, .35);
  --ease: cubic-bezier(.34, 1.56, .64, 1);

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--cocoa);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px dashed var(--pink-ink); outline-offset: 3px; border-radius: 8px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-variation-settings: "SOFT" 100, "opsz" 96;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -.01em;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 em, h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--pink-ink);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cocoa); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em;
  border-radius: 999px;
  border: 2.5px solid var(--cocoa);
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 1rem; text-decoration: none;
  box-shadow: 0 5px 0 var(--cocoa);
  transform: translateY(0);
  transition: transform .18s var(--ease), box-shadow .18s, background .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--cocoa); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--cocoa); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: 0 5px 0 var(--cocoa); }
.btn--pink { --bg: var(--pink-deep); --fg: #fff; }
.btn--cocoa { --bg: var(--cocoa); --fg: var(--cream); }
.btn--ghost { --bg: #fff; --fg: var(--cocoa); }
.btn--cream { --bg: var(--cream); --fg: var(--cocoa); }
.btn--sm { padding: .55em 1.1em; font-size: .92rem; box-shadow: 0 3px 0 var(--cocoa); }
.btn--sm:hover { box-shadow: 0 5px 0 var(--cocoa); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--pink-soft) 82%, transparent);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { box-shadow: 0 6px 24px -14px rgba(74,42,38,.45); background: color-mix(in srgb, var(--cream) 90%, transparent); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 3px 10px -4px rgba(74,42,38,.4); transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }
.brand__name { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.brand__name i { color: var(--pink-ink); font-style: normal; display: inline-block; transform: rotate(10deg); }

.nav__links { display: flex; align-items: center; gap: 1.6rem; }
.nav__links a:not(.btn) {
  text-decoration: none; font-weight: 700; position: relative; padding: .2em 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3q5-4 10 0t10 0' fill='none' stroke='%23E9879F' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 0/20px 6px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--pink-soft);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(5rem, 9vw, 7.5rem);
  overflow: hidden;
}
.hero__stripes {
  position: absolute; inset: 0 0 0 52%;
  background: repeating-linear-gradient(90deg, var(--pink) 0 34px, #fff 34px 68px);
  opacity: .9;
  border-bottom-left-radius: 220px;
  mask-image: linear-gradient(90deg, transparent, #000 18%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0 0 1.2rem; padding: .45em 1em;
  background: #fff; border: 2px solid var(--cocoa); border-radius: 999px;
  font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-transform: lowercase;
  box-shadow: 0 3px 0 var(--cocoa);
}
.pill svg { color: var(--mandarin); }

.hero__title {
  font-size: clamp(2.7rem, 6.6vw, 5.2rem);
  font-weight: 800;
  position: relative;
  isolation: isolate;
}
.hero__title em { color: var(--pink-ink); }
.squiggle { position: relative; white-space: nowrap; }
.squiggle::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.08em; height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6q10-10 20 0t20 0' fill='none' stroke='%23F5A83A' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50%/ .9em 100%;
  z-index: -1;
}
.hero__heart { color: var(--pink-deep); width: .55em; height: .55em; vertical-align: super; margin-left: .1em; animation: beat 1.6s ease-in-out infinite; }

.hero__lead { max-width: 33em; margin: 1.4rem 0 1.8rem; font-size: 1.1rem; color: var(--cocoa-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__chips { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero__chips li {
  font-size: .85rem; font-weight: 700; padding: .35em .9em; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1.5px dashed var(--pink-deep); color: var(--cocoa-2);
}

/* hero art */
.hero__art { position: relative; aspect-ratio: 1; width: min(100%, 540px); justify-self: center; }
.plate {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 40%, var(--cream-2) 70%);
  box-shadow: 0 30px 60px -25px rgba(74,42,38,.5), inset 0 -10px 25px rgba(198,123,60,.12);
}
.plate__ring { position: absolute; inset: 6%; border-radius: 50%; border: 2.5px dashed var(--pink); }
.bun { position: absolute; width: 50%; filter: drop-shadow(0 18px 18px rgba(74,42,38,.35)); will-change: transform; }
.bun--a { top: 2%; left: 4%; --rot: -8deg; animation: floaty 6s ease-in-out infinite; }
.bun--b { top: 14%; right: -2%; width: 46%; --rot: 10deg; animation: floaty 7s ease-in-out -2s infinite; }
.bun--c { bottom: 0; left: 26%; width: 52%; --rot: 4deg; animation: floaty 6.5s ease-in-out -4s infinite; }

.sticker {
  position: absolute; display: grid; place-items: center; text-align: center;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; line-height: 1;
  border: 2.5px solid var(--cocoa); box-shadow: 0 4px 0 var(--cocoa);
}
.sticker--price {
  top: 2%; right: 4%; width: 104px; height: 104px; border-radius: 50%;
  background: var(--butter); transform: rotate(12deg);
  animation: wobble 4s ease-in-out infinite;
}
.sticker--price small { font-family: var(--f-body); font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.sticker--price b { font-size: 2.2rem; font-weight: 800; color: var(--caramel); margin-top: -.6em; }
.sticker--box {
  bottom: 8%; right: 0; padding: .7em 1.1em; border-radius: 18px;
  background: #fff; transform: rotate(-6deg); gap: .2em;
}
.sticker--box b { font-size: 1.05rem; font-weight: 700; }
.sticker--box small { font-family: var(--f-body); font-weight: 800; color: #fff; background: var(--pink-deep); padding: .2em .6em; border-radius: 999px; font-size: .9rem; }

.deco { position: absolute; }
.deco--s1 { width: 34px; height: 34px; color: var(--mandarin); top: 40%; left: -4%; animation: twinkle 2.4s ease-in-out infinite; }
.deco--s2 { width: 22px; height: 22px; color: var(--pink-deep); bottom: 18%; left: 2%; animation: twinkle 2.4s ease-in-out -1.2s infinite; }
.deco--f1 { width: 40px; height: 40px; color: #fff; bottom: 2%; right: 30%; filter: drop-shadow(0 3px 0 var(--pink)); animation: spin 14s linear infinite; }
.deco--h1 { width: 28px; height: 28px; color: var(--pink-deep); top: -2%; left: 40%; animation: beat 1.8s ease-in-out infinite; }

.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 60px; fill: var(--cocoa); }

/* ---------- Marquee ---------- */
.marquee { background: var(--cocoa); color: var(--cream); overflow: hidden; padding: .9rem 0 1.1rem; }
.marquee__track { display: flex; align-items: center; gap: 1.6rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-style: italic; font-size: 1.35rem; font-weight: 500; white-space: nowrap; }
.marquee svg { width: 22px; height: 22px; color: var(--pink); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); }
.section__sub { color: var(--cocoa-2); margin: 1rem 0 0; }
.eyebrow {
  display: inline-block; margin: 0 0 .8rem;
  font-weight: 800; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--pink-ink);
}
.eyebrow::before, .eyebrow::after { content: "✿"; margin: 0 .55em; color: var(--pink); }

/* ---------- Menu cards ---------- */
.menu {
  background:
    radial-gradient(circle at 8% 18%, var(--pink-soft) 0 120px, transparent 121px),
    radial-gradient(circle at 94% 82%, var(--mandarin-soft) 0 140px, transparent 141px),
    var(--cream);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.card {
  --accent: var(--caramel); --soft: var(--butter);
  position: relative;
  background: #fff;
  border: 2.5px solid var(--cocoa);
  border-radius: var(--radius);
  box-shadow: 0 8px 0 var(--cocoa);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.card:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 16px 0 var(--cocoa); }
.card--mandarin { --accent: #E08A16; --soft: var(--mandarin-soft); }
.card--blueberry { --accent: var(--berry); --soft: var(--lav); }

.card__media {
  position: relative; aspect-ratio: 5/4;
  display: grid; place-items: center;
  background:
    radial-gradient(circle, rgba(255,255,255,.6) 2px, transparent 2.5px) 0 0/22px 22px,
    var(--soft);
  border-bottom: 2.5px solid var(--cocoa);
  overflow: hidden;
}
.card__blob {
  position: absolute; width: 74%; aspect-ratio: 1; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: #fff; opacity: .75;
  animation: blob 9s ease-in-out infinite;
}
.card__media picture { position: relative; width: 60%; }
.card__media img {
  width: 100%; filter: drop-shadow(0 14px 14px rgba(74,42,38,.3));
  transition: transform .6s var(--ease);
}
.card:hover .card__media img { transform: rotate(14deg) scale(1.06); }
.card__tag {
  position: absolute; top: 14px; left: 14px;
  background: #fff; border: 2px solid var(--cocoa); border-radius: 999px;
  padding: .25em .8em; font-size: .78rem; font-weight: 800; color: var(--accent);
}
.card__body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.5rem; font-weight: 800; }
.card__body p { color: var(--cocoa-2); font-size: .96rem; margin: .6rem 0 1.2rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.price { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-weight: 800; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.price small { font-size: .6em; }

/* qty stepper */
.qty {
  display: inline-flex; align-items: center; gap: .2rem;
  background: var(--cream-2); border: 2px solid var(--cocoa); border-radius: 999px; padding: 4px;
}
.qty__btn {
  width: 38px; height: 38px; border-radius: 50%; border: 0;
  display: grid; place-items: center; background: #fff; color: var(--cocoa);
  transition: transform .2s var(--ease), background .2s;
}
.qty__btn svg { width: 18px; height: 18px; }
.qty__btn:hover { transform: scale(1.1); }
.qty__btn:active { transform: scale(.9); }
.qty__btn--add { background: var(--pink-deep); color: #fff; }
.qty__val { min-width: 1.8em; text-align: center; font-weight: 800; font-size: 1.05rem; }
.qty.is-bump .qty__val { animation: bump .35s var(--ease); }
.qty--lg .qty__btn { width: 46px; height: 46px; }
.qty--lg .qty__val { font-size: 1.25rem; min-width: 2.2em; }

/* ---------- Combo ---------- */
.combo { background: var(--butter); overflow: hidden; }
.combo::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(198,123,60,.16) 2px, transparent 2.5px) 0 0/26px 26px;
  pointer-events: none;
}
.combo__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.combo__photo { position: relative; }
.combo__photo picture {
  display: block; border-radius: 40% 40% var(--radius) var(--radius);
  overflow: hidden; border: 3px solid var(--cocoa); box-shadow: 12px 12px 0 var(--pink-deep);
  aspect-ratio: 1;
}
.combo__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease; }
.combo__photo:hover img { transform: scale(1.04); }
.combo__badge {
  position: absolute; top: -18px; right: -10px; width: 112px; height: 112px;
  display: grid; place-content: center; text-align: center; line-height: 1;
  color: #fff; background: var(--pink-ink);
  clip-path: polygon(50% 0%, 61% 11%, 75% 6%, 80% 20%, 94% 25%, 89% 39%, 100% 50%, 89% 61%, 94% 75%, 80% 80%, 75% 94%, 61% 89%, 50% 100%, 39% 89%, 25% 94%, 20% 80%, 6% 75%, 11% 61%, 0% 50%, 11% 39%, 6% 25%, 20% 20%, 25% 6%, 39% 11%);
  animation: spin 18s linear infinite;
}
.combo__badge span { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.combo__badge b { font-family: var(--f-display); font-size: 2rem; font-weight: 800; }
.combo__lead { color: var(--cocoa-2); font-size: 1.08rem; margin: 1.2rem 0 1.4rem; }
.combo__list { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.combo__list li {
  display: flex; align-items: center; gap: .7rem; font-weight: 700;
  background: rgba(255,255,255,.65); border-radius: 14px; padding: .55rem .9rem;
}
.combo__list s { margin-left: auto; opacity: .45; font-weight: 600; font-size: .9rem; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--cocoa); }
.dot--cinnamon { background: var(--caramel); }
.dot--mandarin { background: var(--mandarin); }
.dot--blueberry { background: var(--berry); }
.combo__price { display: flex; align-items: baseline; gap: .7rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.combo__old { text-decoration: line-through; opacity: .45; font-weight: 700; font-size: 1.2rem; }
.combo__new { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: clamp(3.4rem, 7vw, 4.6rem); font-weight: 800; color: var(--pink-ink); line-height: .9; }
.combo__new small { font-size: .55em; }
.combo__per { font-weight: 800; color: var(--cocoa-2); }
.combo__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.combo__hint { font-size: .9rem; font-weight: 700; color: var(--cocoa-2); }

/* ---------- Story ---------- */
.story { background: var(--cream); }
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.story__copy > p { color: var(--cocoa-2); font-size: 1.06rem; margin: 1.2rem 0 1.8rem; }
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.features li { display: flex; gap: 1rem; align-items: flex-start; }
.features b { display: block; font-size: 1.05rem; }
.features small { color: var(--cocoa-2); font-size: .93rem; }
.features__ic {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; flex: none;
  border: 2px solid var(--cocoa); box-shadow: 0 3px 0 var(--cocoa);
}
.features__ic svg { width: 22px; height: 22px; }
.features__ic--pink { background: var(--pink-soft); color: var(--pink-ink); }
.features__ic--butter { background: var(--butter); color: var(--caramel); }
.features__ic--lav { background: var(--lav); color: var(--berry); }
.story__media { position: relative; }
.story__frame {
  border-radius: var(--radius); overflow: hidden; border: 3px solid var(--cocoa);
  box-shadow: -12px 12px 0 var(--mandarin); transform: rotate(1.5deg);
}
.story__frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.story__note {
  position: absolute; left: -18px; bottom: -26px;
  background: #fff; border: 2.5px solid var(--cocoa); border-radius: 20px;
  padding: .7rem 1.1rem; transform: rotate(-5deg); box-shadow: 0 4px 0 var(--cocoa);
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-style: italic; font-weight: 600; font-size: 1.15rem; line-height: 1.15;
}
.story__note svg { color: var(--pink-deep); vertical-align: -2px; }

/* ---------- Gallery ---------- */
.gallery { background: var(--pink-soft); overflow: hidden; }
.gallery::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(247,198,210,.45) 0 34px, transparent 34px 68px);
  pointer-events: none;
}
.gallery .container, .polaroids { position: relative; }
.polaroids {
  display: flex; justify-content: center; gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1rem 20px 2rem; width: min(1280px, 100%); margin-inline: auto;
}
.polaroid {
  margin: 0; background: #fff; padding: 12px 12px 0; border-radius: 6px;
  box-shadow: var(--shadow); flex: 1 1 0; max-width: 290px;
  transform: rotate(var(--r, 0deg));
  transition: transform .4s var(--ease), box-shadow .4s;
  position: relative;
}
.polaroid::before { /* washi tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 84px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: repeating-linear-gradient(45deg, rgba(233,135,159,.55) 0 6px, rgba(255,255,255,.55) 6px 12px);
}
.polaroid:hover { transform: rotate(0) translateY(-10px) scale(1.03); box-shadow: 0 30px 50px -20px rgba(74,42,38,.45); z-index: 2; }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.polaroid figcaption {
  text-align: center; padding: .7rem 0 .9rem;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-style: italic; font-weight: 500; font-size: 1.12rem;
}

/* ---------- Order ---------- */
.order { background: var(--cream); }
.steps { list-style: none; padding: 0; margin: 0 auto 3rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; max-width: 960px; counter-reset: s; }
.step {
  position: relative; text-align: center; padding: 2.2rem 1.2rem 1.4rem;
  background: #fff; border: 2px dashed var(--pink-deep); border-radius: var(--radius);
}
.step__n {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--pink-deep); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem;
  border: 2.5px solid var(--cocoa); box-shadow: 0 3px 0 var(--cocoa);
}
.step b { display: block; font-size: 1.15rem; margin-bottom: .3rem; }
.step small { color: var(--cocoa-2); font-size: .93rem; }

.cart {
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 2.5px solid var(--cocoa); border-radius: var(--radius);
  box-shadow: 0 10px 0 var(--cocoa); padding: clamp(1.3rem, 3vw, 2rem);
  background-image: linear-gradient(var(--pink-soft), var(--pink-soft));
  background-size: 100% 6px; background-repeat: no-repeat;
}
.cart__head { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.cart__head svg { width: 28px; height: 28px; color: var(--pink-ink); }
.cart__head h3 { font-size: 1.6rem; }
.cart__list { list-style: none; margin: 0; padding: 0; border-top: 2px dashed var(--pink); }
.cart__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 2px dashed var(--pink); font-weight: 700; animation: pop .35s var(--ease); }
.cart__list li span:last-child { white-space: nowrap; }
.cart__list .cart__empty { justify-content: center; color: var(--cocoa-2); font-weight: 600; text-align: center; animation: none; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 1.3rem; font-weight: 800; }
.cart__total b { font-family: var(--f-display); font-variation-settings: "SOFT" 100; font-size: 2rem; color: var(--pink-ink); }
.cart__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cart__actions .btn { flex: 1 1 200px; }
.cart__note { margin: 1rem 0 0; font-size: .85rem; color: var(--cocoa-2); text-align: center; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(4rem, 8vw, 6rem); background: var(--cream); }
.cta__inner {
  position: relative; text-align: center; color: var(--cream);
  background: var(--cocoa); border-radius: 40px; padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 10vw, 9rem);
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(247,198,210,.12) 2px, transparent 2.5px);
  background-size: 24px 24px;
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); color: #fff; }
.cta p { margin: .9rem auto 1.8rem; max-width: 30em; opacity: .85; }
.cta .btn--cream { border-color: var(--cream); box-shadow: 0 5px 0 var(--pink-deep); }
.cta .btn--cream:hover { box-shadow: 0 7px 0 var(--pink-deep); }
.cta__bun { position: absolute; width: clamp(110px, 16vw, 200px); filter: drop-shadow(0 16px 16px rgba(0,0,0,.35)); }
.cta__bun--l { left: -30px; bottom: -40px; transform: rotate(-18deg); }
.cta__bun--r { right: -30px; top: -40px; transform: rotate(16deg); }

/* ---------- Footer ---------- */
.footer { background: var(--pink); padding: 2.5rem 0 1.5rem; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.brand--footer img { width: 56px; height: 56px; }
.footer__links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer__links a { text-decoration: none; font-weight: 700; }
.footer__links a:hover { color: var(--pink-ink); }
.footer__social { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; text-decoration: none; background: #fff; padding: .55em 1em; border-radius: 999px; border: 2px solid var(--cocoa); }
.footer__copy { text-align: center; margin: 2rem 0 0; padding: 0 16px; font-size: .88rem; color: var(--cocoa-2); }
.footer__copy svg { color: var(--pink-ink); vertical-align: -2px; }

/* ---------- FAB + toast ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--cocoa); color: #fff; text-decoration: none;
  padding: .7rem 1.1rem .7rem .9rem; border-radius: 999px; font-weight: 800;
  box-shadow: 0 10px 24px -8px rgba(74,42,38,.6);
  transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
}
.fab.is-visible { transform: none; opacity: 1; }
.fab svg { width: 22px; height: 22px; color: var(--pink); }
.fab__count { background: var(--pink-deep); min-width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; font-size: .82rem; padding: 0 6px; }
.fab.is-bump { animation: bump .4s var(--ease); }

.toast {
  position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: #fff; color: var(--cocoa); border: 2px solid var(--cocoa); border-radius: 999px;
  padding: .7rem 1.3rem; font-weight: 800; box-shadow: 0 5px 0 var(--cocoa);
  transition: transform .35s var(--ease), opacity .3s; white-space: nowrap;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Reveal ---------- */
/* content stays visible at rest; JS only adds a fade-up once it nears the viewport */
.reveal.is-in { animation: revealIn .8s var(--ease) both; }
.polaroid.reveal.is-in { animation-name: revealTilt; }
@keyframes revealIn { from { opacity: 0; translate: 0 28px; } }
@keyframes revealTilt { from { opacity: 0; translate: 0 28px; } }

/* ---------- Keyframes ---------- */
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(var(--rot)); } 50% { transform: translateY(-14px) rotate(calc(var(--rot) + 4deg)); } }
@keyframes wobble { 0%,100% { transform: rotate(12deg); } 50% { transform: rotate(4deg) scale(1.05); } }
@keyframes twinkle { 0%,100% { transform: scale(.7) rotate(0); opacity: .6; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blob { 0%,100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; transform: rotate(0); } 50% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; transform: rotate(20deg); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards .card:last-child { grid-column: 1 / -1; max-width: calc(50% - 1rem); justify-self: center; width: 100%; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav__inner { height: 64px; }
  .brand img { width: 42px; height: 42px; }
  .brand__name { font-size: 1.3rem; }

  .nav__toggle {
    display: grid; gap: 5px; place-content: center;
    width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--cocoa);
    background: #fff; box-shadow: 0 3px 0 var(--cocoa); z-index: 2;
  }
  .nav__toggle span { display: block; width: 20px; height: 2.5px; background: var(--cocoa); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
  .nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .nav__links {
    position: absolute; top: calc(100% + 8px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: #fff; border: 2.5px solid var(--cocoa); border-radius: 24px; padding: .8rem;
    box-shadow: 0 8px 0 var(--cocoa);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top;
    transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links a:not(.btn) { padding: .8rem 1rem; border-radius: 14px; font-size: 1.05rem; }
  .nav__links a:not(.btn):hover { background: var(--pink-soft); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: .4rem; padding: .9em; font-size: 1rem; }

  .hero { padding-top: 1.5rem; }
  .hero__stripes { inset: 46% 0 0 0; border-radius: 160px 160px 0 0; mask-image: linear-gradient(180deg, transparent, #000 25%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%); }
  .hero__grid { grid-template-columns: 1fr; text-align: center; gap: 1rem; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__chips { justify-content: center; }
  .hero__art { width: min(100%, 420px); }
  .sticker--price { width: 84px; height: 84px; }
  .sticker--price b { font-size: 1.8rem; }

  .combo__grid, .story__grid { grid-template-columns: 1fr; }
  .combo__photo { max-width: 460px; margin-inline: auto; width: 100%; }
  .story__media { order: -1; max-width: 560px; margin: 0 auto 1.5rem; width: 100%; }
  .story__note { left: 8px; }

  .polaroids {
    justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 1.5rem 24px 2.5rem; scrollbar-width: none;
  }
  .polaroids::-webkit-scrollbar { display: none; }
  .polaroid { flex: 0 0 68%; max-width: 300px; scroll-snap-align: center; }

  .steps { grid-template-columns: 1fr; gap: 2rem; max-width: 420px; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .cards { grid-template-columns: 1fr; }
  .cards .card:last-child { max-width: none; }
  .card__media { aspect-ratio: 16/11; }
  .card__media picture { width: 46%; }
  .hero__chips { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__title br:first-of-type { display: none; }
  .combo__badge { width: 92px; height: 92px; right: -4px; }
  .combo__badge b { font-size: 1.6rem; }
  .combo__photo picture { box-shadow: 8px 8px 0 var(--pink-deep); }
  .story__frame { box-shadow: -8px 8px 0 var(--mandarin); }
  .cta__inner { border-radius: 30px; padding-bottom: 5.5rem; }
  .cta__bun { width: 110px; }
  .cta__bun--l { left: -24px; bottom: -34px; }
  .cta__bun--r { right: -26px; top: auto; bottom: -30px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__links { justify-content: center; }
  .fab { right: 12px; left: 12px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }

}

/* hero entrance (no JS needed, keeps LCP fast) */
.hero__copy > * { animation: heroIn .9s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__copy > *:nth-child(5) { animation-delay: .32s; }
.hero__art { animation: heroArt 1.1s var(--ease) .1s both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes heroArt { from { opacity: 0; transform: scale(.85) rotate(-8deg); } }

/* ---------- Order channels (Zalo / TikTok / Threads) ---------- */
:root { --zalo: #0068FF; --zalo-ink: #0068FF; --zalo-soft: #EAF2FF; --ink-black: #161616; }
.btn--zalo { --bg: var(--zalo); --fg: #fff; }
.cart__label { margin: 0 0 .7rem; font-weight: 800; font-size: .95rem; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.channel {
  display: flex; align-items: center; gap: .65rem; min-width: 0;
  padding: .75rem .8rem; border: 2.5px solid var(--cocoa); border-radius: 20px;
  background: #fff; text-decoration: none; box-shadow: 0 4px 0 var(--cocoa);
  transition: transform .18s var(--ease), box-shadow .18s;
}
.channel:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--cocoa); }
.channel:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cocoa); }
.channel--zalo { background: var(--zalo-soft); }
.channel__ic { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--ink-black); }
.channel--zalo .channel__ic { background: var(--zalo); }
.channel__ic svg { width: 22px; height: 22px; }
.channel__txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.channel__txt b { font-size: 1rem; }
.channel__txt small { font-size: .78rem; color: var(--cocoa-2); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart__tools { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.1rem; }
.cart__tools .btn { box-shadow: 0 3px 0 var(--cocoa); }

.cta__links { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta .btn--zalo { border-color: var(--cream); box-shadow: 0 5px 0 var(--pink-deep); }

.footer__socials { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.footer__social--ic { padding: .55em .7em; }
.footer__social svg { width: 1.2em; height: 1.2em; }

@media (max-width: 760px) {
  .channels { grid-template-columns: 1fr; }
  .channel { padding: .7rem .9rem; }
  .cta__links .btn { flex: 1 1 100%; }
}
