/* =====================================================================
   gf_bm — שפה עיצובית
   השראה: הפליירים של מיכל (שמנת חמה, בורדו-שוקולד, פרחים באפרסק, קווים
   גליים כתומים, אותיות מרווחות), פטיסרי צרפתי, רטרו-בייקרי, עריכה מגזינית.
   ===================================================================== */
:root {
  --cream: #FEE4B3;        /* רקע המותג מהפליירים */
  --cream-soft: #FFF4E2;
  --cream-light: #FFF9F0;
  --butter: #F6D69A;
  --choc: #622A2C;         /* הבורדו-שוקולד של הלוגו */
  --choc-deep: #4A1F21;
  --caramel: #C47A43;
  --peach: #EFA661;
  --orange: #E9873A;
  --powder: #EBC6BC;
  --ink: #3B1F1C;
  --ink-soft: #6E4A42;
  --ok: #4F7B4A;
  --line: rgba(98, 42, 44, .16);

  --f-display: 'Fredoka', 'Assistant', system-ui, sans-serif;
  --f-body: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --f-hand: 'Amatic SC', 'Assistant', cursive;

  --r-lg: 28px;
  --r-md: 18px;
  --shadow: 0 1px 0 rgba(98,42,44,.06), 0 18px 40px -22px rgba(74,31,33,.45);
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --maxw: 1180px;
  --pad: clamp(18px, 5vw, 40px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.38 0 0 0 0 0.16 0 0 0 0 0.17 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--cream);
  background-image: var(--grain); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg use { pointer-events: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }

.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--choc); color: var(--cream); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { inset-inline-start: 8px; }

/* ---------- typography ---------- */
.eyebrow {
  font-weight: 600; font-size: .78rem; letter-spacing: .42em; color: var(--choc);
  margin: 0 0 14px; text-transform: none; opacity: .85;
}
.display, h1, h2 { font-family: var(--f-display); font-weight: 600; color: var(--choc); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.display { font-size: clamp(2.3rem, 7vw, 4.3rem); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--choc); --fg: var(--cream-soft);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 24px; font-weight: 700; font-size: 1.02rem;
  background: var(--bg); color: var(--fg); text-decoration: none; position: relative;
  transition: transform .35s var(--spring), box-shadow .3s var(--ease), background .2s;
  box-shadow: 0 6px 0 -1px var(--choc-deep), 0 14px 24px -14px rgba(74,31,33,.7);
  -webkit-tap-highlight-color: transparent; min-height: 48px;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 -1px var(--choc-deep); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { padding: 18px 30px; font-size: 1.12rem; }
.btn-ghost { --bg: transparent; --fg: var(--choc); box-shadow: inset 0 0 0 2px var(--choc); }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--choc); }
.btn-wa { --bg: #1f7a4d; box-shadow: 0 6px 0 -1px #145236, 0 14px 24px -14px rgba(20,82,54,.7); }
.btn-block { width: 100%; }
.btn svg { width: 22px; height: 22px; }
.link-under { font-weight: 700; color: var(--choc); text-decoration: none; background: linear-gradient(var(--peach), var(--peach)) 0 100%/100% 3px no-repeat; padding-bottom: 2px; }

/* ---------- banners ---------- */
.preview-banner { background: var(--orange); color: #fff; text-align: center; font-size: .9rem; padding: 8px 16px; font-weight: 600; }
.announce { background: var(--choc); color: var(--cream-soft); text-align: center; padding: 10px 16px; font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--pad); transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.scrolled { background: rgba(254,228,179,.86); backdrop-filter: blur(12px) saturate(1.4); -webkit-backdrop-filter: blur(12px) saturate(1.4); box-shadow: 0 1px 0 var(--line); padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.brand-sub { font-size: .68rem; letter-spacing: .32em; font-weight: 700; color: var(--choc); opacity: .75; }
.nav { display: none; gap: 30px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--choc); position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: -4px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.cart-btn {
  position: relative; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--choc); color: var(--cream-soft); display: grid; place-items: center;
  transition: transform .4s var(--spring);
}
.cart-btn svg { width: 24px; height: 24px; }
.cart-btn:hover { transform: rotate(-8deg) scale(1.05); }
.cart-btn.bump { animation: bump .6s var(--spring); }
.cart-count:empty, .cart-count.zero { display: none; }
.cart-count {
  position: absolute; top: -4px; inset-inline-start: -4px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--peach); color: var(--choc); font-size: .78rem; font-weight: 800;
  display: grid; place-items: center; border: 2px solid var(--cream);
}
@keyframes bump { 0%{transform:scale(1)} 30%{transform:scale(1.25) rotate(-10deg)} 100%{transform:scale(1)} }

/* ---------- ticker ---------- */
.ticker { background: var(--choc); color: var(--cream); overflow: hidden; padding: 10px 0; transform: rotate(-1.2deg); margin: 6px -10px 0; position: relative; z-index: 2; }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker-track span { white-space: nowrap; font-weight: 700; letter-spacing: .2em; font-size: .86rem; }
@keyframes ticker { to { transform: translateX(50%); } }

/* ---------- hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 7vw, 80px) var(--pad) 20px;
  display: grid; gap: 34px; align-items: center;
}
h1 { font-size: clamp(2.7rem, 10.5vw, 5.6rem); margin-bottom: 22px; }
.h1-line { display: block; }
.h1-accent { position: relative; display: inline-block; color: var(--orange); }
.squiggle { position: absolute; inset-inline: 0; bottom: -.12em; width: 100%; height: .28em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--choc); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 1.4s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.32rem); max-width: 30ch; color: var(--ink-soft); margin: 0 0 30px; font-weight: 500; }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.hero-art { position: relative; min-height: 440px; max-width: 520px; width: 100%; justify-self: center; }
.arch {
  position: absolute; inset-inline-end: 4%; top: 0; width: 70%; aspect-ratio: 3/4; margin: 0;
  border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: var(--shadow);
  border: 8px solid var(--cream-light); transform: rotate(2deg);
}
.arch img, .bubble img { width: 100%; height: 100%; object-fit: cover; }
.arch img { animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { to { transform: scale(1.08); } }
.bubble {
  position: absolute; inset-inline-start: 0; bottom: 4%; width: 46%; aspect-ratio: 1; margin: 0; border-radius: 50%;
  overflow: hidden; border: 7px solid var(--cream-light); box-shadow: var(--shadow); transform: rotate(-6deg);
}
.spin-badge { position: absolute; inset-inline-start: 6%; top: 4%; width: 124px; height: 124px; }
.spin-badge svg { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin-badge text { font-family: var(--f-body); font-weight: 800; font-size: 18px; fill: var(--choc); }
.spin-center { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; color: var(--cream-soft); font-size: 1.5rem; }
.spin-center::before { content: ''; position: absolute; width: 58px; height: 58px; border-radius: 50%; background: var(--choc); z-index: -1; }
.spin-badge { isolation: isolate; }
@keyframes spin { to { transform: rotate(-360deg); } }

.deco { position: absolute; pointer-events: none; }
.flower-a { width: 120px; height: 120px; fill: var(--peach); inset-inline-end: -14px; bottom: 6%; animation: float 7s ease-in-out infinite; z-index: 1; }
.flower-a { fill: var(--peach); }
.flower-b { width: 54px; height: 54px; fill: var(--choc); inset-inline-start: 38%; top: -10px; animation: float 6s 1s ease-in-out infinite reverse; }
.wave-a { width: 160px; height: 200px; color: var(--orange); inset-inline-start: -30px; top: 30%; opacity: .9; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(0) } 50%{ transform: translateY(-12px) rotate(20deg) } }

/* ---------- cycle ---------- */
.cycle { max-width: var(--maxw); margin: 10px auto 0; padding: 0 var(--pad); }
.cycle-card {
  position: relative; overflow: hidden; background: var(--cream-light); border-radius: var(--r-lg);
  padding: 26px 24px; display: grid; gap: 20px; box-shadow: var(--shadow); border: 1.5px solid var(--line);
}
.cycle-card.after { background: var(--powder); }
.cycle-card.closed { background: var(--butter); }
.cycle-flower { position: absolute; width: 150px; height: 150px; fill: var(--butter); inset-inline-end: -40px; top: -50px; opacity: .9; animation: spin 40s linear infinite; }
.cycle-card.after .cycle-flower { fill: #f3d6cd; }
.cycle-text { position: relative; }
.cycle-text h2 { font-size: clamp(1.45rem, 4.6vw, 2.1rem); line-height: 1.15; }
.cycle-text h2 b { color: var(--orange); font-weight: 700; }
.cycle-sub { margin: 10px 0 0; color: var(--ink-soft); font-weight: 500; }
.countdown { display: flex; gap: 10px; position: relative; }
.countdown div { background: var(--choc); color: var(--cream-soft); border-radius: 16px; padding: 10px 12px; min-width: 74px; text-align: center; }
.countdown b { display: block; font-family: var(--f-display); font-size: 1.9rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .76rem; letter-spacing: .18em; opacity: .85; }

/* ---------- sections ---------- */
section { scroll-margin-top: 80px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; padding: 0 var(--pad); }
.section-lead { color: var(--ink-soft); font-size: 1.1rem; margin: 16px auto 0; max-width: 46ch; }

/* ---------- menu ---------- */
.menu { padding: clamp(70px, 11vw, 120px) 0 40px; }
.grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  display: grid; gap: 34px 28px; grid-template-columns: 1fr;
}
.card {
  position: relative; background: var(--cream-light); border-radius: var(--r-lg); padding: 12px 12px 20px;
  box-shadow: var(--shadow); border: 1.5px solid var(--line); display: flex; flex-direction: column;
  transition: transform .5s var(--spring), box-shadow .4s var(--ease);
}
.card:nth-child(odd) { --tilt: -.6deg; } .card:nth-child(even) { --tilt: .6deg; }
.card { transform: rotate(var(--tilt, 0)); }
.card.skeleton { min-height: 420px; background: linear-gradient(100deg, var(--cream-light) 30%, var(--cream-soft) 50%, var(--cream-light) 70%) 0/300% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -150% 0; } }
.card-media { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 5/4; background: var(--butter); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media.flyer img { object-fit: contain; padding: 14px; background: var(--cream); }
.sticker {
  position: absolute; inset-inline-start: 14px; bottom: 14px; width: 86px; height: 86px; border-radius: 50%;
  background: var(--choc); color: var(--cream-soft); display: grid; place-items: center; text-align: center;
  font-weight: 700; font-size: .72rem; line-height: 1.15; padding: 10px; transform: rotate(-12deg);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.5); letter-spacing: .04em;
}
.sticker b { display: block; font-family: var(--f-display); font-size: 1.3rem; letter-spacing: 0; }
.avail {
  position: absolute; top: 14px; inset-inline-end: 14px; font-size: .78rem; font-weight: 700; padding: 6px 12px;
  border-radius: 999px; background: rgba(255,249,240,.92); color: var(--ok); display: flex; align-items: center; gap: 6px;
  backdrop-filter: blur(4px);
}
.avail::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(79,123,74,.2); }
.avail.sold-out { color: #A33A2B; } .avail.sold-out::before { box-shadow: 0 0 0 3px rgba(163,58,43,.2); }
.avail.no-price { color: var(--caramel); }
.card.unavailable .card-media img { filter: grayscale(.5) brightness(.95); }
.card-body { padding: 18px 8px 0; display: flex; flex-direction: column; flex: 1; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--choc); margin: 0; line-height: 1.12; }
.price-tag {
  flex: none; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--choc);
  background: var(--butter); padding: 4px 14px 4px 12px; border-radius: 10px 999px 999px 10px; position: relative;
}
.price-tag.muted { font-family: var(--f-body); font-size: .82rem; font-weight: 700; background: transparent; border: 1.5px dashed var(--caramel); color: var(--caramel); border-radius: 999px; padding: 4px 10px; }
.badge-line { margin: 4px 0 0; font-size: .82rem; letter-spacing: .26em; font-weight: 700; color: var(--orange); }
.desc { color: var(--ink-soft); margin: 10px 0 18px; font-size: 1rem; flex: 1; }
.card-actions { display: flex; gap: 10px; align-items: stretch; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--cream); border: 1.5px solid var(--line); }
.stepper button { width: 42px; height: 46px; border: 0; background: transparent; font-size: 1.3rem; font-weight: 700; color: var(--choc); border-radius: 999px; }
.stepper button:disabled { opacity: .3; }
.stepper output, .stepper span { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.add-btn { flex: 1; overflow: hidden; }
.add-btn .lbl { display: inline-block; transition: transform .35s var(--ease), opacity .25s; }
.add-btn.added { --bg: var(--ok); box-shadow: 0 6px 0 -1px #36562f; }
.add-btn.added .lbl { animation: pop .45s var(--spring); }
@keyframes pop { 0%{transform:translateY(100%);opacity:0} 100%{transform:none;opacity:1} }
.menu-note { text-align: center; color: var(--ink-soft); margin: 46px auto 0; padding: 0 var(--pad); }
.menu-note a { font-weight: 700; color: var(--choc); }

.fly { position: fixed; z-index: 90; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: 0 10px 24px rgba(0,0,0,.25); border: 3px solid var(--cream-light); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- story ---------- */
.story { background: var(--choc); color: var(--cream-soft); background-image: var(--grain); position: relative; overflow: hidden; padding: clamp(70px, 11vw, 130px) var(--pad); margin-top: 60px; border-radius: 48px 48px 0 0; }
.story-wave { width: 200px; height: 240px; color: var(--peach); inset-inline-end: -40px; top: 40px; opacity: .55; }
.story-inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 50px; align-items: center; position: relative; }
.story .eyebrow { color: var(--peach); }
.story .display { color: var(--cream-soft); }
.story-photo { position: relative; max-width: min(320px, 82%); justify-self: center; width: 100%; }
.polaroid { margin: 0; background: var(--cream-light); padding: 12px 12px 54px; border-radius: 6px; transform: rotate(-4deg); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); position: relative; z-index: 1; }
.polaroid img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.polaroid figcaption { position: absolute; bottom: 10px; inset-inline: 0; text-align: center; font-family: var(--f-hand); font-size: 1.6rem; white-space: nowrap; color: var(--choc); }
.big-num { position: absolute; inset-inline-start: -18px; bottom: -78px; font-family: var(--f-display); font-weight: 700; font-size: 8.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--peach); z-index: 2; }
.story-p { font-size: clamp(1.12rem, 2.6vw, 1.32rem); line-height: 1.75; margin: 18px 0 0; max-width: 34ch; }
.story-p b { color: var(--peach); }
.story-quote { margin: 30px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, 4.6vw, 2.4rem); line-height: 1.2; color: var(--butter); position: relative; padding-inline-start: 26px; border-inline-start: 4px solid var(--peach); }
.signature { font-family: var(--f-hand); font-size: 3.4rem; margin: 18px 0 0; color: var(--peach); line-height: 1; transform: rotate(-4deg); display: inline-block; }

.portrait { margin: 0; position: relative; z-index: 1; border-radius: 50%; overflow: hidden; aspect-ratio: 1; border: 8px solid var(--cream-light); box-shadow: 0 30px 60px -30px rgba(0,0,0,.65); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-flower { position: absolute; width: 74%; height: 74%; fill: var(--peach); inset-inline-end: -22%; top: -14%; opacity: .9; animation: spin 50s linear infinite; }
.polaroid.mini { position: absolute; z-index: 2; width: 44%; inset-inline-end: -10%; bottom: -16%; padding: 7px 7px 34px; transform: rotate(7deg); }
.polaroid.mini figcaption { font-size: 1.4rem; bottom: 4px; }
.story-photo { margin-bottom: 40px; }

/* ---------- how ---------- */
.how { padding: clamp(70px, 11vw, 120px) 0; background: var(--cream-soft); background-image: var(--grain); }
.steps { list-style: none; margin: 0 auto; padding: 0 var(--pad); max-width: var(--maxw); display: grid; gap: 18px; counter-reset: s; }
.step { background: var(--cream-light); border-radius: var(--r-md); padding: 24px 22px 22px; position: relative; border: 1.5px solid var(--line); }
.step-n { position: absolute; top: -16px; inset-inline-start: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; box-shadow: 0 6px 12px -6px rgba(0,0,0,.4); }
.step h3 { font-family: var(--f-display); font-weight: 600; color: var(--choc); margin: 8px 0 6px; font-size: 1.28rem; }
.step p { margin: 0; color: var(--ink-soft); }
.info-cards { max-width: var(--maxw); margin: 50px auto 0; padding: 0 var(--pad); display: grid; gap: 18px; }
.info { position: relative; overflow: hidden; background: var(--choc); color: var(--cream-soft); border-radius: var(--r-md); padding: 26px 24px; }
.info h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; margin: 0 0 6px; color: var(--butter); }
.info p { margin: 0; position: relative; }
.info-flower { position: absolute; width: 110px; height: 110px; fill: rgba(239,166,97,.22); inset-inline-end: -26px; bottom: -36px; }
.zone-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; padding: 0; list-style: none; }
.zone-list li { background: rgba(255,244,226,.12); border-radius: 999px; padding: 3px 12px; font-size: .9rem; }

/* ---------- faq ---------- */
.faq { padding: clamp(70px, 11vw, 120px) 0; }
.faq-list { max-width: 760px; margin: 0 auto; padding: 0 var(--pad); display: grid; gap: 12px; }
.faq details { background: var(--cream-light); border-radius: var(--r-md); border: 1.5px solid var(--line); padding: 4px 22px; transition: background .3s; }
.faq details[open] { background: #fff; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 1.08rem; color: var(--choc); display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--f-display); font-size: 1.6rem; line-height: 1; color: var(--orange); transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--choc-deep); color: var(--cream-soft); text-align: center; padding: 70px var(--pad) calc(110px + env(safe-area-inset-bottom)); position: relative; overflow: hidden; }
.foot-flower { width: 260px; height: 260px; fill: rgba(239,166,97,.12); inset-inline-start: -80px; top: -60px; animation: spin 60s linear infinite; }
.foot-logo { width: 120px; height: auto; margin: 0 auto 16px; position: relative; }
.foot-tag { font-family: var(--f-display); font-size: 1.3rem; margin: 0 0 24px; }
.foot-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border: 1.5px solid rgba(255,244,226,.3); padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: background .2s; }
.foot-links a:hover { background: rgba(255,244,226,.1); }
.foot-links svg { width: 20px; height: 20px; }
.foot-small { margin: 30px 0 0; font-size: .86rem; opacity: .7; }

/* ---------- floating cart ---------- */
.float-cart {
  position: fixed; z-index: 45; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline: 16px; margin: 0 auto; max-width: 440px;
  display: flex; align-items: center; gap: 12px; border: 0; border-radius: 999px; padding: 10px 10px 10px 22px;
  background: var(--choc); color: var(--cream-soft); box-shadow: 0 18px 40px -12px rgba(74,31,33,.65);
  animation: rise .6s var(--spring); min-height: 62px;
}
.fc-icon { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--peach); color: var(--choc); display: grid; place-items: center; flex: none; }
.fc-icon svg { width: 22px; height: 22px; }
.fc-icon b { position: absolute; top: -4px; inset-inline-start: -4px; background: var(--cream-soft); color: var(--choc); border-radius: 10px; min-width: 20px; height: 20px; font-size: .75rem; display: grid; place-items: center; padding: 0 5px; }
.fc-label { font-weight: 700; flex: 1; text-align: start; font-size: 1.05rem; }
.fc-total { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; }
.float-cart.bump { animation: bump .6s var(--spring); }
@keyframes rise { from { transform: translateY(120%); } }

/* ---------- drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(59,31,28,.45); z-index: 60; backdrop-filter: blur(3px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; z-index: 61; inset: 0; background: var(--cream-soft); background-image: var(--grain);
  display: flex; flex-direction: column; animation: slidein .45s var(--ease);
}
.drawer.closing { animation: slideout .3s var(--ease) forwards; }
@keyframes slidein { from { transform: translateX(-100%); } }
@keyframes slideout { to { transform: translateX(-100%); } }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; padding-top: calc(14px + env(safe-area-inset-top)); border-bottom: 1.5px solid var(--line); }
.drawer-head h2 { flex: 1; font-size: 1.5rem; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--choc); display: grid; place-items: center; flex: none; }
.icon-btn svg { width: 22px; height: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 18px calc(24px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.view-enter { animation: viewin .4s var(--ease); }
@keyframes viewin { from { opacity: 0; transform: translateX(-24px); } }

.empty { text-align: center; padding: 50px 10px; }
.empty svg { width: 90px; height: 90px; fill: var(--peach); margin: 0 auto 10px; display: block; animation: float 5s ease-in-out infinite; }
.empty h3 { font-family: var(--f-display); color: var(--choc); font-size: 1.5rem; margin: 0 0 6px; }
.empty p { color: var(--ink-soft); margin: 0 0 22px; }

.line-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.li { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; align-items: center; background: var(--cream-light); border-radius: 18px; padding: 10px; border: 1.5px solid var(--line); }
.li img { width: 74px; height: 74px; border-radius: 14px; object-fit: cover; background: var(--butter); }
.li-name { font-weight: 700; color: var(--choc); line-height: 1.25; }
.li-price { font-size: .9rem; color: var(--ink-soft); }
.li-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.li .stepper button { width: 34px; height: 36px; font-size: 1.1rem; }
.li-remove { border: 0; background: none; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; font-size: .82rem; padding: 4px; }
.li-remove svg { width: 16px; height: 16px; }
.li-total { font-weight: 800; color: var(--choc); }

.sum { margin: 20px 0; background: var(--cream-light); border-radius: 18px; padding: 16px 18px; border: 1.5px dashed var(--caramel); }
.sum-row { display: flex; justify-content: space-between; padding: 5px 0; }
.sum-row.total { border-top: 1.5px solid var(--line); margin-top: 6px; padding-top: 12px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; color: var(--choc); }
.sum-note { font-size: .82rem; color: var(--ink-soft); margin: 8px 0 0; }
.cutoff-mini { display: flex; gap: 10px; align-items: flex-start; background: var(--butter); border-radius: 14px; padding: 12px 14px; font-size: .93rem; font-weight: 600; margin-bottom: 16px; }
.cutoff-mini.after { background: var(--powder); }

/* ---------- form ---------- */
.form { display: grid; gap: 18px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.legend { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--choc); margin: 6px 0 2px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font-weight: 700; font-size: .95rem; color: var(--choc); }
.req { color: var(--orange); }
.input, .select, .textarea {
  width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px; font-size: 16px;
  transition: border-color .2s, box-shadow .2s; min-height: 50px;
}
.textarea { min-height: 86px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(233,135,58,.18); }
.field.invalid .input, .field.invalid .select, .field.invalid .seg { border-color: #B23A2B; box-shadow: 0 0 0 4px rgba(178,58,43,.12); }
.err { color: #A33A2B; font-size: .86rem; font-weight: 600; min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 18px; border: 1.5px solid transparent; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: grid; gap: 2px; text-align: center; padding: 14px 10px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); cursor: pointer; transition: all .25s var(--ease); font-weight: 700; color: var(--choc); }
.seg label small { font-weight: 500; color: var(--ink-soft); font-size: .8rem; }
.seg input:checked + label { background: var(--choc); color: var(--cream-soft); border-color: var(--choc); transform: translateY(-2px); box-shadow: 0 10px 18px -12px rgba(74,31,33,.8); }
.seg input:checked + label small { color: var(--butter); }
.seg input:disabled + label { opacity: .45; cursor: not-allowed; }
.seg input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.reveal-box { display: grid; gap: 14px; background: var(--cream-light); border-radius: 18px; padding: 16px; border: 1.5px solid var(--line); animation: viewin .35s var(--ease); }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .94rem; line-height: 1.5; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--choc); margin: 2px 0 0; }
.check a { color: var(--choc); font-weight: 700; }
.hp { position: absolute !important; inset-inline-start: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FBE3DD; color: #8E2E22; border-radius: 14px; padding: 12px 14px; font-weight: 600; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }

/* ---------- success ---------- */
.success { text-align: center; }
.success-badge { width: 96px; height: 96px; margin: 10px auto 14px; position: relative; display: grid; place-items: center; }
.success-badge svg.fl { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--peach); animation: spin 14s linear infinite; }
.success-badge span { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--choc); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.order-no { font-family: var(--f-display); font-weight: 700; font-size: 3rem; color: var(--choc); line-height: 1; margin: 6px 0; letter-spacing: .02em; }
.status-pill { display: inline-flex; gap: 6px; align-items: center; background: var(--butter); color: var(--choc); font-weight: 700; border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.status-pill::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.next-step { text-align: start; background: #fff; border-radius: 20px; border: 2px solid var(--choc); padding: 18px; margin: 22px 0 16px; }
.next-step h3 { margin: 0 0 6px; font-family: var(--f-display); font-weight: 600; color: var(--choc); font-size: 1.3rem; }
.next-step p { margin: 0 0 14px; color: var(--ink-soft); font-size: .95rem; }
.wa-after { font-size: .88rem; color: var(--ink-soft); margin: 12px 0 0; }
.wa-after b { color: var(--ok); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 95; overflow: hidden; }
.confetti svg { position: absolute; top: -40px; width: 22px; height: 22px; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 99; bottom: calc(96px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; opacity: 0; pointer-events: none; transition: all .35s var(--spring); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal { transform: translateY(40px) rotate(var(--tilt, 0)); }
.card.reveal.in { transform: rotate(var(--tilt, 0)); }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .info-cards { grid-template-columns: repeat(3, 1fr); }
  .cycle-card { grid-template-columns: 1fr auto; align-items: center; padding: 30px 36px; }
  .drawer { inset: 0 auto 0 0; width: min(480px, 100%); border-radius: 0 28px 28px 0; box-shadow: 30px 0 80px -30px rgba(0,0,0,.4); }
  .hero-art { min-height: 520px; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { grid-template-columns: 1.35fr 1fr; padding-top: 60px; gap: 50px; }
  h1 { font-size: clamp(3.6rem, 5.6vw, 5.2rem); }
  .hero-art { min-height: 600px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid .card:nth-child(3n+2) { margin-top: 40px; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .story-inner { grid-template-columns: .9fr 1.1fr; gap: 90px; }
  .story-photo { max-width: 380px; }
  .float-cart { inset-inline: auto 28px; width: 360px; }
  .card:hover { transform: translateY(-6px) rotate(0); box-shadow: 0 30px 50px -28px rgba(74,31,33,.55); }
}
@media (max-width: 380px) {
  .countdown div { min-width: 64px; padding: 8px; }
  .row2 { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px var(--pad) 90px; }
.legal h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); margin: 20px 0 8px; }
.legal h2 { font-size: 1.4rem; margin: 34px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .draft-note { background: var(--butter); border-radius: 14px; padding: 12px 16px; font-weight: 600; color: var(--choc); }
.legal .back { font-weight: 700; color: var(--choc); }
