/* ============================================================
   AirCrisp — Stylesheet
   Warm, appetizing, editorial. Custom motion & icons.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* palette */
  --cream: #fff7ee;
  --cream-2: #fdeede;
  --ink: #241a12;
  --ink-soft: #6b5c4d;
  --line: #ecdcc7;
  --card: #fffdfb;

  --amber: #f4820b;
  --amber-deep: #d96a00;
  --tomato: #e8613c;
  --berry: #c86b98;
  --olive: #5b8c3e;
  --teal: #2b8ca8;

  --grad-hero: linear-gradient(135deg, #ff9a3c 0%, #f4820b 45%, #e8613c 100%);
  --grad-warm: linear-gradient(135deg, #fff3e2, #ffe6cf);

  --shadow-sm: 0 2px 8px rgba(90, 50, 10, .06);
  --shadow-md: 0 12px 30px rgba(120, 70, 20, .12);
  --shadow-lg: 0 24px 60px rgba(120, 60, 10, .18);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  --maxw: 1180px;
  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, #ffe9d2 0%, transparent 60%),
    radial-gradient(900px 500px at -10% 20%, #ffeede 0%, transparent 55%),
    var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.1; letter-spacing: -.01em; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Icons ---------- */
.ic { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -.2em; stroke: currentColor; stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 247, 238, .72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; }
.brand .logo-badge {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-hero); color: #fff; box-shadow: var(--shadow-sm);
}
.brand .logo-badge .ic { width: 22px; height: 22px; stroke-width: 2; }
.brand b { color: var(--amber-deep); }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 15px; border-radius: var(--r-pill); font-weight: 600; font-size: .93rem;
  color: var(--ink-soft); transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(244, 130, 11, .1); }
.nav-cta {
  background: var(--ink) !important; color: #fff !important; display: flex; align-items: center; gap: 7px;
}
.nav-cta:hover { background: var(--amber-deep) !important; color: #fff !important; }
.nav-cta .count-badge {
  background: var(--amber); color: #fff; border-radius: var(--r-pill); min-width: 20px; height: 20px;
  padding: 0 6px; font-size: .72rem; display: grid; place-items: center; font-weight: 800;
}
.burger { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 64px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font-weight: 700; font-size: .82rem; color: var(--amber-deep); letter-spacing: .02em; margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 4px rgba(91,140,62,.18); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 20px; }
.hero h1 .hl { position: relative; color: var(--amber-deep); white-space: nowrap; }
.hero h1 .hl svg { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .3em; }
.hero p.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 30ch; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 24px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .98rem; transition: transform .25s var(--ease-back), box-shadow .25s, background .25s;
}
.btn-primary { background: var(--grad-hero); color: #fff; box-shadow: 0 10px 24px rgba(232,97,60,.32); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(232,97,60,.42); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.hero-stats { display: flex; gap: 28px; margin-top: 38px; }
.hero-stats .stat b { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); display: block; }
.hero-stats .stat span { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }

/* hero visual */
.hero-visual { position: relative; }
.hero-photo {
  position: relative; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.4; transform: rotate(1.5deg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; animation: slowzoom 18s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1.03); } to { transform: scale(1.13); } }

.float-card {
  position: absolute; background: rgba(255,253,251,.92); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-md); padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; font-weight: 700;
}
.float-card .fc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .74rem; }
.float-1 { top: 24px; left: -26px; animation: floaty 5s var(--ease) infinite; }
.float-2 { bottom: 40px; right: -22px; animation: floaty 6s var(--ease) infinite .8s; }
.float-3 { bottom: -18px; left: 40px; animation: floaty 5.5s var(--ease) infinite .4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* steam animation on badge */
.steam { position: relative; }
.steam i { position: absolute; top: -6px; width: 3px; height: 10px; background: rgba(255,255,255,.85); border-radius: 3px; filter: blur(1px); animation: steam 2.2s ease-in-out infinite; }
.steam i:nth-child(1){ left: 12px; } .steam i:nth-child(2){ left: 18px; animation-delay: .5s; } .steam i:nth-child(3){ left: 24px; animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px) scaleY(.6); } 40% { opacity: .8; } 100% { opacity: 0; transform: translateY(-12px) scaleY(1.3); } }

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section { padding: 68px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; color: var(--amber-deep); }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 10px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

/* ============================================================
   FILTERS
   ============================================================ */
.filters { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill);
  background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: .9rem; color: var(--ink-soft);
  transition: all .22s var(--ease); position: relative;
}
.chip .ic { width: 18px; height: 18px; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); color: var(--ink); }
.chip.active { color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.chip.active { background: var(--chip-color, var(--amber)); }
.diff-dots { display: inline-flex; gap: 3px; }
.diff-dots i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .35; }
.diff-dots i.on { opacity: 1; }

/* ============================================================
   RECIPE GRID
   ============================================================ */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.recipe-card {
  background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); cursor: pointer; position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease); will-change: transform;
}
.recipe-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.rc-media { position: relative; aspect-ratio: 3/2.3; overflow: hidden; }
.rc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.recipe-card:hover .rc-media img { transform: scale(1.08); }
.rc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,0,.5), transparent 45%); }
.rc-cat {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  font-weight: 700; font-size: .76rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.rc-cat .ic { width: 15px; height: 15px; }
.rc-time {
  position: absolute; bottom: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: var(--r-pill); background: rgba(20,10,0,.55); backdrop-filter: blur(4px);
  color: #fff; font-weight: 700; font-size: .78rem;
}
.rc-add {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); display: grid; place-items: center;
  color: var(--amber-deep); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease-back), background .2s, color .2s;
}
.rc-add .ic { width: 19px; height: 19px; }
.rc-add:hover { transform: scale(1.12); background: var(--amber); color: #fff; }
.rc-add.active { background: var(--olive); color: #fff; }

.rc-body { padding: 18px 20px 22px; }
.rc-body h3 { font-size: 1.28rem; margin-bottom: 7px; }
.rc-body p { color: var(--ink-soft); font-size: .92rem; margin-bottom: 16px; min-height: 2.4em; }
.rc-foot { display: flex; align-items: center; justify-content: space-between; }
.rc-diff { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .82rem; }
.rc-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--amber-deep); transition: all .25s var(--ease-back); }
.recipe-card:hover .rc-arrow { background: var(--amber); color: #fff; transform: rotate(-45deg); }
.rc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.rc-tag { font-size: .72rem; font-weight: 700; color: var(--olive); background: rgba(91,140,62,.12); padding: 3px 9px; border-radius: var(--r-pill); }

.empty { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ============================================================
   RECIPE MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(30,16,4,.55); backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--card); border-radius: var(--r-lg); max-width: 880px; width: 100%; overflow: hidden;
  box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.97); transition: transform .4s var(--ease-back);
  position: relative;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-hero { position: relative; aspect-ratio: 16/7; overflow: hidden; }
.modal-hero img { width: 100%; height: 100%; object-fit: cover; }
.modal-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,0,.75), transparent 55%); }
.modal-hero-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 26px 30px; color: #fff; z-index: 2; }
.modal-hero-info h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); color: #fff; margin-bottom: 8px; }
.modal-hero-info .mh-meta { display: flex; gap: 16px; flex-wrap: wrap; font-weight: 700; font-size: .9rem; }
.modal-hero-info .mh-meta span { display: inline-flex; align-items: center; gap: 6px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease-back), background .2s;
}
.modal-close:hover { transform: rotate(90deg); background: #fff; }
.modal-body { padding: 30px; }
.modal-cols { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; }
.mode-pane { animation: fadeIn .35s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* mode toggle: DIY vs frozen */
.mode-toggle { display: inline-flex; background: var(--cream-2); border-radius: var(--r-pill); padding: 5px; gap: 4px; margin-bottom: 26px; }
.mode-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700; font-size: .9rem; color: var(--ink-soft); transition: all .25s var(--ease); }
.mode-btn .ic { width: 17px; height: 17px; }
.mode-btn.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.mode-btn:not(.active):hover { color: var(--ink); }

/* frozen product card */
.frozen-product { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.fp-top { display: flex; align-items: center; gap: 14px; padding: 16px; background: linear-gradient(135deg, #eaf6fb, #d7edf7); }
.fp-snow { font-size: 1.8rem; }
.fp-name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.fp-price { color: var(--teal); font-weight: 800; font-size: .95rem; }
.fp-where { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; flex-wrap: wrap; }
.fp-where > span { font-weight: 700; font-size: .85rem; color: var(--ink-soft); }
.frozen-meta { margin-bottom: 20px !important; }
.frozen-meta span { background: var(--cream-2); padding: 7px 13px; border-radius: var(--r-pill); color: var(--ink) !important; font-size: .84rem; }
.frozen-meta .ic { color: var(--teal); }

/* my recipes panel */
.my-recipes-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.my-recipes-head h4 { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.my-recipes-head h4 .ic { color: var(--tomato); }
.my-recipes-head .mr-count { background: var(--amber); color: #fff; border-radius: var(--r-pill); font-size: .8rem; padding: 2px 10px; font-family: var(--font-body); }
.clear-list { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--ink-soft); padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; transition: all .2s; }
.clear-list .ic { width: 15px; height: 15px; }
.clear-list:hover { color: var(--tomato); border-color: var(--tomato); }
.my-recipes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-bottom: 40px; }
.myr-card { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; box-shadow: var(--shadow-sm); position: relative; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.myr-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.myr-card img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; }
.myr-info { min-width: 0; flex: 1; }
.myr-info b { display: block; font-size: .92rem; line-height: 1.25; margin-bottom: 3px; }
.myr-info span { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--ink-soft); font-weight: 600; }
.myr-info span .ic { width: 14px; height: 14px; }
.myr-remove { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cream-2); display: grid; place-items: center; color: var(--ink-soft); transition: all .22s var(--ease-back); }
.myr-remove .ic { width: 16px; height: 16px; }
.myr-remove:hover { background: var(--tomato); color: #fff; transform: rotate(90deg); }
.modal-body h4 { font-size: 1.15rem; margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.modal-body h4 .ic { color: var(--amber-deep); }
.ingredients-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.ingredients-list li { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.ingredients-list li .tick { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; }
.ingredients-list li.checked .tick { background: var(--olive); border-color: var(--olive); color: #fff; }
.ingredients-list li.checked span { text-decoration: line-through; color: var(--ink-soft); }
.ingredients-list li { cursor: pointer; }
.steps-list { list-style: none; counter-reset: step; display: flex; flex-direction: column; gap: 16px; }
.steps-list li { display: flex; gap: 15px; }
.steps-list li .num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-hero); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); counter-increment: step;
}
.steps-list li .num::before { content: counter(step); }
.steps-list li p { font-size: .96rem; padding-top: 4px; }
.tip-box { margin-top: 22px; background: var(--grad-warm); border-radius: var(--r-md); padding: 16px 18px; display: flex; gap: 12px; align-items: flex-start; }
.tip-box .ic { color: var(--amber-deep); flex: none; margin-top: 2px; }
.tip-box b { display: block; font-family: var(--font-head); margin-bottom: 2px; }
.modal-actions { grid-column: 1/-1; display: flex; gap: 12px; flex-wrap: wrap; padding-top: 6px; border-top: 1px solid var(--line); margin-top: 4px; }

/* ============================================================
   SHOPPING / PRODUCTS
   ============================================================ */
.products-section { background: linear-gradient(180deg, transparent, #fff4e6 40%, #fff4e6); }
.market-legend { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.market-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; width: 158px; padding: 18px 16px 14px;
  border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; transition: transform .28s var(--ease), box-shadow .28s;
}
.market-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--brand); }
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.market-logo { height: 40px; display: grid; place-items: center; width: 100%; }
.market-logo img { max-height: 40px; max-width: 122px; width: auto; object-fit: contain; }
.market-meta { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: var(--ink-soft); font-weight: 600; }
.market-meta b {
  background: var(--brand); color: #fff; font-size: .66rem; font-weight: 800; padding: 2px 7px;
  border-radius: var(--r-pill); letter-spacing: .02em;
}

.shop-layout { display: grid; grid-template-columns: 1fr; gap: 22px; }
.shop-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.shop-group { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.shop-group h3 { padding: 16px 20px; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); background: var(--grad-warm); }
.shop-group h3 .ic { color: var(--amber-deep); }
.product-row { display: flex; align-items: center; gap: 14px; padding: 13px 20px; border-bottom: 1px solid var(--line); transition: background .2s; }
.product-row:last-child { border-bottom: none; }
.product-row:hover { background: var(--cream); }
.product-info { flex: 1; min-width: 0; }
.product-info .pname { font-weight: 700; font-size: .95rem; }
.product-info .pprice { font-size: .82rem; color: var(--olive); font-weight: 700; }
.product-markets { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; max-width: 45%; }
.mk-badge {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: #fff;
  box-shadow: var(--shadow-sm); border: 1.5px solid color-mix(in srgb, var(--brand) 35%, #fff);
  overflow: hidden; cursor: default; transition: transform .18s var(--ease-back);
}
.mk-badge:hover { transform: translateY(-2px) scale(1.08); }
.mk-badge img { width: 20px; height: 20px; object-fit: contain; }

.price-note { text-align: center; margin-top: 26px; color: var(--ink-soft); font-size: .9rem; }
.price-note a { color: var(--amber-deep); font-weight: 700; border-bottom: 1px solid currentColor; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { padding: 56px 0 34px; background: var(--ink); color: #f4e6d6; margin-top: 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { color: #c9b6a2; font-size: .92rem; }
.footer-col h5 { font-family: var(--font-head); font-size: 1rem; margin-bottom: 12px; color: #fff; }
.footer-col a { display: block; color: #c9b6a2; font-size: .9rem; padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #a08d7b; font-size: .82rem; }
.footer-bottom .made-by b { color: var(--amber); font-family: var(--font-head); font-weight: 700; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* toast */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--r-pill); font-weight: 700;
  box-shadow: var(--shadow-lg); z-index: 200; display: flex; align-items: center; gap: 10px;
  transition: transform .4s var(--ease-back); font-size: .92rem;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .ic { color: var(--amber); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .modal-cols { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { display: none; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
  .shop-groups { grid-template-columns: 1fr; }

  .site-header.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0; padding: 14px 24px 20px;
    background: rgba(255,247,238,.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); animation: dropdown .3s var(--ease);
  }
  .site-header.nav-open .nav-links a { padding: 12px 15px; }
  .site-header.nav-open .nav-cta { justify-content: center; }
  @keyframes dropdown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 600px) {
  .recipe-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 30px; }
  .hero-stats { gap: 20px; }
  .section { padding: 48px 0; }
  .float-1, .float-3 { display: none; }
  .modal-body { padding: 22px; }
  .modal-overlay { padding: 0; }
  .modal { border-radius: 0; min-height: 100vh; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
