:root {
  --navy: #1d3a7a;
  --navy-deep: #12244d;
  --blue: #2a4d9b;
  --red: #c8323a;
  --red-deep: #a8262d;
  --green: #4c9a3f;
  --cream: #faf6ef;
  --sand: #f2ebdf;
  --ink: #16213a;
  --muted: #5b6478;
  --line: #e6dfd2;
  --white: #ffffff;
  --wa: #25d366;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(18, 36, 77, .28);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.eyebrow--light { color: #ffd2a8; }
.fineprint { font-size: .8rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.2;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px -10px rgba(200, 50, 58, .7); }
.btn--primary:hover { background: var(--red-deep); }
.btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--wa { background: var(--wa); color: #06331a; }
.btn--sm { padding: 9px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; border-radius: 50%; color: inherit; position: relative;
}
.icon-btn:hover { background: rgba(0,0,0,.05); }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Announcement */
.announce { background: var(--navy-deep); color: #e8ecf7; font-size: .85rem; overflow: hidden; }
.announce__track { display: flex; justify-content: center; gap: 48px; padding: 9px 16px; white-space: nowrap; }
@media (max-width: 860px) {
  .announce__track { justify-content: flex-start; animation: scroll 22s linear infinite; width: max-content; }
}

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(250, 246, 239, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.header__menu { display: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); letter-spacing: .02em; }
.brand__text small { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.brand--light .brand__text strong { color: var(--white); }
.brand--light .brand__text small { color: #aab4cc; }
.brand--light img { background: var(--white); border-radius: 50%; padding: 4px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav a:hover::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.bag-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  background: var(--red); color: var(--white); font-size: .7rem; font-weight: 700;
  border-radius: 999px; display: grid; place-items: center;
}
.bag-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

@media (max-width: 960px) {
  .nav { display: none; }
  .header__menu { display: grid; }
  .header__inner { gap: 8px; }
  .brand { margin-right: auto; }
}
@media (max-width: 480px) {
  .header__donate { display: none; }
  .brand__text strong { font-size: 1.05rem; }
}

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: rgba(18, 36, 77, .45); }
.mobile-menu__panel {
  background: var(--cream); width: min(340px, 86vw); height: 100%; padding: 16px 24px;
  display: flex; flex-direction: column; gap: 6px; animation: slideIn .3s ease;
}
.mobile-menu__panel a:not(.btn) { font-family: var(--font-display); font-size: 1.6rem; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__panel .btn { margin-top: 20px; }
@keyframes slideIn { from { transform: translateX(-100%); } }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 45, .15) 0%, rgba(10, 20, 45, .35) 40%, rgba(10, 20, 45, .88) 100%); }
.hero__content { position: relative; padding-top: 120px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); max-width: 14ch; font-weight: 700; }
.hero__lead { max-width: 560px; font-size: 1.15rem; margin-top: 22px; color: #e9ecf5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .92rem; color: #dfe4f0; }
.hero__trust span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: var(--white); font-size: .7rem; margin-right: 6px; }

/* Marquee */
.marquee { background: var(--red); color: var(--white); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: scroll 30s linear infinite; font-family: var(--font-display); font-size: 1.5rem; font-style: italic; white-space: nowrap; }
.marquee__track i { font-style: normal; opacity: .6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Impact */
.impact { padding: 96px 24px 64px; }
.impact__intro { text-align: center; margin-bottom: 48px; }
.impact__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--white); border-radius: var(--radius); padding: 32px 24px; text-align: center; border: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--navy); line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; }
.impact .fineprint { text-align: center; margin-top: 20px; }
@media (max-width: 860px) { .impact__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .impact { padding: 64px 16px 40px; } }

/* Section head */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 40px; }
.section-head__aside { max-width: 400px; color: var(--muted); }
@media (max-width: 760px) { .section-head { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* Give / product grid */
.give { padding: 64px 0 96px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.card__media { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__badge { position: absolute; top: 14px; left: 14px; background: var(--white); color: var(--ink); font-size: .74rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.card__badge--hot { background: var(--red); color: var(--white); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body p { color: var(--muted); font-size: .95rem; }
.card__price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.card__price strong { font-size: 1.35rem; color: var(--navy); }
.card__price span { font-size: .85rem; color: var(--green); font-weight: 600; }
.card__actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; }
.card__actions .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 36px; height: 44px; border: 0; background: none; font-size: 1.1rem; color: var(--ink); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }

.custom-amount {
  margin-top: 40px; background: var(--navy); color: var(--white); border-radius: var(--radius);
  padding: 36px 40px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center;
}
.custom-amount h3 { font-size: 1.9rem; }
.custom-amount > div p { color: #c9d2ea; margin-top: 8px; }
.custom-amount__form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); border-radius: 999px; padding: 10px 16px; font-weight: 600; }
.chip:hover, .chip.is-active { background: var(--white); color: var(--navy); }
.amount-input { display: flex; align-items: center; background: var(--white); color: var(--ink); border-radius: 999px; padding: 0 16px; flex: 1; min-width: 150px; }
.amount-input span { font-weight: 700; }
.amount-input input { border: 0; outline: 0; padding: 12px 8px; font: inherit; width: 100%; background: transparent; }
.custom-amount__meals { width: 100%; color: #ffd2a8; font-weight: 600; font-size: .92rem; }
@media (max-width: 860px) { .custom-amount { grid-template-columns: 1fr; padding: 28px 22px; } }

/* How */
.how { background: var(--sand); padding: 110px 0; }
.how__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.how__media { position: relative; }
.how__media img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.how__badge { position: absolute; right: -24px; bottom: 40px; background: var(--red); color: var(--white); border-radius: 50%; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; box-shadow: var(--shadow); transform: rotate(-8deg); }
.how__badge strong { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.how__badge span { font-size: .8rem; line-height: 1.25; }
.how__text h2 { margin-bottom: 36px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 26px; }
.steps li { display: flex; gap: 20px; }
.steps__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--red); font-weight: 700; border: 1.5px solid var(--red); border-radius: 50%; width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; }
.steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.steps p { color: var(--muted); }
@media (max-width: 900px) {
  .how { padding: 72px 0; }
  .how__inner { grid-template-columns: 1fr; gap: 48px; }
  .how__media img { aspect-ratio: 4 / 3; }
  .how__badge { right: 12px; bottom: -30px; width: 120px; height: 120px; }
  .how__badge strong { font-size: 1.9rem; }
}

/* Programs */
.programs { padding: 110px 24px; }
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.program img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.program__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.program__body p { color: var(--muted); font-size: .95rem; }
.program--elders { background: var(--navy); color: var(--white); border-color: var(--navy); background-image: radial-gradient(circle at 80% 10%, rgba(255,255,255,.12), transparent 50%); }
.program--elders .program__body { justify-content: flex-end; padding: 32px 26px; }
.program--elders h3 { font-size: 1.8rem; }
.program--elders p { color: #c9d2ea; }
.tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 11px; border-radius: 999px; }
.tag--red { background: #fbe4e5; color: var(--red-deep); }
.tag--blue { background: #e3e9f7; color: var(--navy); }
.tag--green { background: #e5f2e1; color: #2f6c25; }
.tag--cream { background: rgba(255,255,255,.16); color: var(--white); }
.link-arrow { margin-top: auto; padding-top: 6px; font-weight: 700; text-decoration: none; color: var(--red); }
.program--elders .link-arrow { color: #ffd2a8; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 1060px) { .program-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .program-grid { grid-template-columns: 1fr; } .program img { aspect-ratio: 4 / 3; } .programs { padding: 72px 16px; } }

/* Quote */
.quote { background: var(--navy-deep); color: var(--white); padding: 100px 0; text-align: center; }
.quote__inner { max-width: 880px; }
.quote__mark { width: 52px; height: 52px; fill: var(--red); margin: 0 auto 24px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; font-weight: 500; }
.quote__by { margin-top: 24px; color: #aab4cc; }
.quote__by span { font-size: .8rem; opacity: .7; }

/* Stories gallery */
.stories { padding: 110px 24px; }
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: 1.1fr 1fr 1fr 1.1fr;
  grid-template-rows: 260px 260px;
  grid-template-areas: "a b b c" "a d e c";
}
.g-a { grid-area: a; } .g-b { grid-area: b; } .g-c { grid-area: c; } .g-d { grid-area: d; } .g-e { grid-area: e; }
.gallery__item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; color: var(--white); font-weight: 600; font-size: .95rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery__cta { border-radius: var(--radius); background: var(--red); color: var(--white); text-decoration: none; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: background .2s; }
.gallery__cta:hover { background: var(--red-deep); }
.gallery__cta-num { font-family: var(--font-display); font-size: 2rem; line-height: 1; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 300px; grid-template-areas: "a c" "b b" "d e"; }
}
@media (max-width: 600px) { .stories { padding: 72px 16px; } .gallery { grid-template-rows: 240px 200px 220px; gap: 10px; } }

/* Volunteer */
.volunteer { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); color: var(--white); padding: 110px 0; position: relative; overflow: hidden; }
.volunteer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(76, 154, 63, .35), transparent 70%); top: -180px; right: -120px; }
.volunteer__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.volunteer__text > p { color: #c9d2ea; margin-top: 18px; max-width: 520px; }
.checklist { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checklist li { padding-left: 34px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--green); display: grid; place-items: center; font-size: .75rem; }
.volunteer__form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 34px; display: grid; gap: 14px; box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.volunteer__form h3 { font-size: 1.6rem; margin-bottom: 4px; }
.volunteer__form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.volunteer__form input, .volunteer__form select { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--cream); color: var(--ink); }
.volunteer__form input:focus, .volunteer__form select:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.form-note { font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .volunteer { padding: 72px 0; } .volunteer__inner { grid-template-columns: 1fr; gap: 40px; } .volunteer__form { padding: 24px; } }

/* FAQ */
.faq { padding: 110px 24px; display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; }
.faq__head p:last-child { color: var(--muted); margin-top: 16px; }
.faq__head a { color: var(--red); font-weight: 600; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 32px 20px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 32px; padding: 72px 16px; } }

/* Final CTA */
.final-cta { position: relative; padding: 140px 0; color: var(--white); text-align: center; overflow: hidden; }
.final-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.final-cta__overlay { position: absolute; inset: 0; background: rgba(18, 36, 77, .72); }
.final-cta__content { position: relative; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); max-width: 16ch; margin: 0 auto; }
.final-cta p { font-size: 1.2rem; margin: 16px 0 32px; color: #dfe4f0; }

/* Footer */
.footer { background: #0d1a38; color: #c4cbdc; padding: 80px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; }
.footer__brand > p { margin: 18px 0 22px; max-width: 360px; }
.footer h4 { font-family: var(--font-body); color: var(--white); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.footer__grid > div > a, .footer__grid > div > p:not(:first-of-type) { display: block; text-decoration: none; margin-bottom: 10px; }
.footer__grid > div:not(.footer__brand) p { margin-bottom: 10px; }
.footer a:hover { color: var(--white); }
.footer__open { color: #8fd17f; font-weight: 600; }
.newsletter { display: flex; gap: 8px; max-width: 400px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 16px; border-radius: 999px; border: 1px solid #2b3a62; background: #15244a; color: var(--white); font: inherit; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #22305a; font-size: .82rem; color: #8790a8; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 70; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(13, 26, 56, .5); opacity: 0; transition: opacity .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100vw); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.drawer__progress { padding: 16px 24px; background: var(--sand); font-size: .9rem; }
.progress { height: 8px; background: var(--white); border-radius: 999px; margin-top: 8px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #7cc06c); border-radius: inherit; transition: width .4s; width: 0; }
.drawer__items { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.bag-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.bag-item img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.bag-item__ph { width: 72px; height: 72px; border-radius: var(--radius-sm); background: var(--navy); color: var(--white); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.4rem; }
.bag-item h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 700; }
.bag-item p { font-size: .85rem; color: var(--muted); }
.bag-item .qty { margin-top: 6px; }
.bag-item .qty button { height: 32px; width: 30px; }
.bag-item__price { text-align: right; font-weight: 700; }
.bag-item__remove { display: block; border: 0; background: none; color: var(--muted); font-size: .78rem; text-decoration: underline; margin-top: 6px; margin-left: auto; padding: 0; }
.drawer__empty { padding: 48px 24px; text-align: center; display: grid; gap: 16px; justify-items: center; flex: 1; align-content: start; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--white); }
.drawer__total { display: flex; justify-content: space-between; font-size: 1.15rem; }
.drawer__meals { color: var(--green); font-weight: 600; font-size: .9rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__scrim { position: absolute; inset: 0; background: rgba(13, 26, 56, .6); }
.modal__card { position: relative; background: var(--white); border-radius: var(--radius); padding: 36px; width: min(520px, 100%); display: grid; gap: 18px; animation: pop .3s ease; }
.modal__card h3 { font-size: 1.7rem; }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal__upi { display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: center; background: var(--cream); padding: 18px; border-radius: var(--radius-sm); }
.modal__upi p + p { margin-top: 4px; }
.upi-id code { background: var(--white); padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); }
.qr-placeholder {
  width: 130px; height: 130px; border-radius: 8px; background-color: var(--white); border: 6px solid var(--white); outline: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, var(--ink) 50%, transparent 0), linear-gradient(var(--ink) 50%, transparent 0);
  background-size: 13px 13px, 13px 13px; background-blend-mode: difference; opacity: .85;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
@media (max-width: 480px) { .modal__card { padding: 28px 20px; } .modal__upi { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); background: var(--ink); color: var(--white); padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .92rem; z-index: 90; transition: transform .35s ease; max-width: calc(100vw - 32px); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
