/* ==========================================================================
   Pixplash — Shringarika
   Wine · sindoor · ivory · gold  |  Cormorant Garamond + Inter
   ========================================================================== */
:root {
  --ivory: #F7F1E6;
  --ivory-2: #FBF7F0;
  --beige: #EFE2CE;
  --wine: #5E1A2C;
  --wine-dark: #3E0F1D;
  --wine-light: #7A2438;
  --sindoor: #C1442E;
  --gold: #AD8A52;
  --gold-light: #D8C49B;
  --charcoal: #241F1C;
  --charcoal-soft: #5A5049;
  --line: rgba(94, 26, 44, .12);
  --green: #1E7B4E;
  --red: #B23A3A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --radius: 18px;
  --shadow: 0 18px 50px -20px rgba(62, 15, 29, .35);
  --shadow-sm: 0 6px 20px -10px rgba(62, 15, 29, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--charcoal); margin: 0; font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--wine); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }
@media (min-width: 768px) { .wrap { padding: 0 40px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600;
  color: var(--gold); margin-bottom: .9rem;
}
.lead { font-size: 1.1rem; color: var(--charcoal-soft); margin-top: 1rem; }
.rule { height: 1px; width: 72px; margin: 1.8rem 0; background: linear-gradient(to right, var(--gold), transparent); }
.tagline { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--wine); }
.tagline.light { color: var(--gold-light); }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-head .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  border-radius: 999px; padding: .85rem 1.8rem; font-size: .95rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid transparent; line-height: 1.2; text-align: center;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease), box-shadow .25s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--wine); color: var(--ivory); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--wine-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { border-color: rgba(36, 31, 28, .25); color: var(--charcoal); background: transparent; }
.btn-outline:hover { border-color: var(--wine); color: var(--wine); background: rgba(94, 26, 44, .04); }
.btn-accent { background: var(--sindoor); color: #fff; }
.btn-accent:hover { background: #a93a26; transform: translateY(-1px); }
.btn-sm { padding: .6rem 1.3rem; font-size: .85rem; }
.btn-big { padding: 1rem 2.1rem; font-size: 1rem; }
.btn-lg { padding: 1.05rem 1.6rem; width: 100%; font-size: 1.02rem; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn.loading .ic { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Announcement + Navbar ---------- */
.announce {
  background: var(--wine-dark); color: var(--gold-light); font-size: .78rem; letter-spacing: .04em;
  display: flex; align-items: center; justify-content: center; gap: .5em; padding: .5rem 1rem; text-align: center;
}
.navbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 241, 230, .82); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.navbar.scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(62, 15, 29, .35); background: rgba(247, 241, 230, .95); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1rem; }
.brand { display: flex; align-items: center; flex: none; }
.logo-mark { height: 40px; width: auto; }
@media (min-width: 768px) { .logo-mark { height: 46px; } }
.nav-links { display: none; gap: 2rem; font-size: .92rem; font-weight: 500; }
.nav-links a { position: relative; padding: .3rem 0; color: var(--charcoal-soft); transition: color .2s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-links a:hover { color: var(--wine); }
.nav-links a:hover::after { transform: scaleX(1); }
.navbar-actions { display: flex; align-items: center; gap: .75rem; }
.social-row.nav-social { display: none; }
.menu-toggle { background: none; border: 0; padding: 10px 6px; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile {
  display: grid; gap: .25rem; padding: 0 20px; max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease), padding .4s var(--ease); border-top: 1px solid transparent;
}
.nav-mobile.open { max-height: 480px; padding: .75rem 20px 1.25rem; border-top-color: var(--line); }
.nav-mobile > a:not(.btn) { padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.nav-mobile .btn { margin-top: .9rem; }
.nav-mobile .social-row { justify-content: center; margin-top: .9rem; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-toggle, .nav-mobile { display: none; }
  .social-row.nav-social { display: flex; }
}
@media (max-width: 520px) { .navbar-actions .btn-sm { display: none; } .logo-mark { height: 34px; } :root { --nav-h: 64px; } }
.brand { min-width: 0; }
.logo-mark { max-width: 100%; }

/* ---------- Social ---------- */
.social-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--wine); background: rgba(255, 255, 255, .5);
  transition: background .25s, color .25s, transform .25s var(--ease), border-color .25s;
}
.social-row a:hover { background: var(--wine); color: var(--ivory); transform: translateY(-2px); border-color: var(--wine); }
.social-row .ic { width: 18px; height: 18px; }
.social-row.light a { color: var(--gold-light); border-color: rgba(216, 196, 155, .35); background: transparent; }
.social-row.light a:hover { background: var(--gold-light); color: var(--wine-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 2.5rem 0 4rem; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% 10%, rgba(193, 68, 46, .10), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(173, 138, 82, .14), transparent 60%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 5.8rem); color: var(--wine); letter-spacing: -.01em; line-height: 1; }
.suhaag { margin-top: .8rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--charcoal-soft); }
.hero-sub { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 1.8rem); color: var(--sindoor); margin-top: 1rem; }
.hero-text { margin-top: 1rem; color: var(--charcoal-soft); max-width: 34rem; }
.hero-price { display: flex; align-items: baseline; gap: .7rem; margin-top: 1.5rem; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--wine); line-height: 1; }
.mrp { color: var(--charcoal-soft); opacity: .7; font-size: 1.1rem; }
.save { background: rgba(30, 123, 78, .12); color: var(--green); font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.6rem; font-size: .85rem; color: var(--charcoal-soft); }
.trust-row li { display: inline-flex; align-items: center; gap: .4em; }
.trust-row .ic { color: var(--gold); }
.hero-image { position: relative; }
.img-frame { border-radius: var(--radius); overflow: hidden; background: var(--beige); box-shadow: var(--shadow); position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .2s; }
.img-frame:hover img { transform: scale(1.03); }
.hero-frame { aspect-ratio: 4 / 3.4; border: 6px solid #fff; }
.img-frame.tall { aspect-ratio: 4 / 4.2; }
.hero-badge {
  position: absolute; left: -10px; bottom: -18px; background: var(--wine); color: var(--ivory);
  border-radius: 16px; padding: .8rem 1.1rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow);
  font-size: .78rem; line-height: 1.25; letter-spacing: .04em;
}
.hero-badge strong { font-family: var(--font-display); font-size: 2.2rem; color: var(--gold-light); line-height: 1; }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-badge { left: -28px; bottom: 28px; }
}
@media (max-width: 899px) {
  .hero-copy { text-align: center; }
  .hero-copy .eyebrow, .hero-price, .hero-ctas, .trust-row { justify-content: center; }
  .hero-text { margin-left: auto; margin-right: auto; }
  .hero-ctas .btn { flex: 1 1 200px; }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section-alt { background: var(--ivory-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-col { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.region-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.region-chips span { border: 1px solid var(--gold-light); color: var(--wine); padding: .35rem .9rem; border-radius: 999px; font-size: .82rem; background: #fff; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }
@media (max-width: 480px) { .card-grid { gap: .8rem; } }
.ingredient-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease); display: flex; flex-direction: column;
}
.ingredient-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 1; overflow: hidden; background: #fff; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .8s var(--ease); }
.ingredient-card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 1.1rem 1.2rem 1.4rem; }
.region { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); font-weight: 600; }
.ingredient-card h3 { margin: .3rem 0 .4rem; font-size: 1.35rem; }
.ingredient-card p:last-child { font-size: .9rem; color: var(--charcoal-soft); }
@media (max-width: 480px) { .card-body { padding: .8rem .85rem 1rem; } .ingredient-card h3 { font-size: 1.15rem; } .ingredient-card p:last-child { font-size: .82rem; } }

.feature-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--gold-light); }
.feature-ic { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: rgba(193, 68, 46, .09); color: var(--sindoor); margin-bottom: 1rem; }
.feature-ic .ic { width: 22px; height: 22px; }
.feature h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.feature p { color: var(--charcoal-soft); font-size: .93rem; }

/* ---------- Buy ---------- */
.section-buy { background: linear-gradient(180deg, var(--ivory-2), var(--beige)); }
.buy-grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .buy-grid { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } .gallery { position: sticky; top: calc(var(--nav-h) + 20px); } }
.gallery-main { aspect-ratio: 4 / 3.3; border: 6px solid #fff; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .8rem; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1; background: #fff; transition: border-color .2s, transform .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-2px); }
.thumb.active { border-color: var(--wine); }
.buy-panel { background: #fff; border-radius: 24px; padding: 2rem 1.5rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 640px) { .buy-panel { padding: 2.5rem; } }
.buy-panel .lead { margin-top: .4rem; }
.price-row { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; margin: 1.4rem 0 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px dashed var(--line); }
.tax-note { font-size: .8rem; color: var(--charcoal-soft); width: 100%; }
.check-list { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.check-list li { display: flex; align-items: center; gap: .65rem; }
.check-list .ic { color: #fff; background: var(--green); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.qty-label { font-weight: 500; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid rgba(36, 31, 28, .18); border-radius: 999px; background: #fff; overflow: hidden; }
.qty-control button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.25rem; cursor: pointer; color: var(--wine); transition: background .2s; }
.qty-control button:hover:not(:disabled) { background: var(--ivory); }
.qty-control button:disabled { opacity: .3; cursor: not-allowed; }
.qty-control span { min-width: 2.2rem; text-align: center; font-weight: 600; }
.qty-control.small button { width: 34px; height: 34px; font-size: 1.05rem; }
.qty-control.small span { min-width: 1.6rem; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.1rem; margin-top: 1.1rem; font-size: .8rem; color: var(--charcoal-soft); }
.assure span { display: inline-flex; gap: .35em; align-items: center; }
.assure .ic { color: var(--green); }
.pay-logos { text-align: center; font-size: .72rem; letter-spacing: .06em; color: var(--charcoal-soft); opacity: .8; margin-top: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.3rem; transition: box-shadow .3s, border-color .3s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-light); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.4rem; color: var(--wine); transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 0 1.2rem; color: var(--charcoal-soft); }
.faq-list details p a { color: var(--wine); text-decoration: underline; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: radial-gradient(800px 400px at 50% 0%, var(--wine-light), var(--wine) 55%, var(--wine-dark));
  color: var(--ivory); text-align: center; padding: 5rem 0;
}
.final-cta h2 { color: var(--ivory); max-width: 22ch; margin: 0 auto; }
.final-cta .tagline { margin: 1rem 0 2rem; }
.cta-social { margin-top: 2.5rem; }
.cta-social p { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: .8rem; }
.cta-social .social-row { justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--wine-dark); color: rgba(247, 241, 230, .78); padding: 4rem 0 0; font-size: .92rem; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } .footer-brand { grid-column: auto; } }
.footer-logo { height: 44px; width: auto; margin-bottom: 1rem; background: var(--ivory); padding: 8px 14px; border-radius: 12px; }
.footer-brand p { max-width: 30ch; margin-bottom: 1.1rem; }
.footer h4 { font-family: var(--font-body); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; font-weight: 600; }
.footer-grid > div > a { display: flex; align-items: center; gap: .5em; padding: .3rem 0; transition: color .2s; word-break: break-word; }
.footer-grid > div > a:hover { color: #fff; }
.footer .social-row a { color: var(--gold-light); border-color: rgba(216, 196, 155, .3); background: transparent; }
.footer .social-row a:hover { background: var(--gold-light); color: var(--wine-dark); }
.pay-note { display: flex; gap: .5em; font-size: .82rem; margin-top: .8rem; opacity: .85; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; border-top: 1px solid rgba(216, 196, 155, .15); margin-top: 3rem; padding-top: 1.3rem; padding-bottom: calc(1.3rem + env(safe-area-inset-bottom)); font-size: .8rem; opacity: .75; }
@media (max-width: 899px) { .footer-bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); } }

/* ---------- WhatsApp float + mobile buy bar ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px -8px rgba(0, 0, 0, .4);
  transition: transform .25s var(--ease), bottom .35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float .ic { width: 28px; height: 28px; }
.mobile-buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -15px rgba(62, 15, 29, .3); transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-buybar.show { transform: none; }
.mobile-buybar div { display: flex; flex-direction: column; line-height: 1.2; }
.mobile-buybar strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--wine); }
.mobile-buybar span { font-size: .75rem; color: var(--charcoal-soft); }
.mobile-buybar .btn { flex: 0 0 auto; padding: .85rem 2rem; }
.mobile-buybar.show ~ .wa-float, body:has(.mobile-buybar.show) .wa-float { bottom: 88px; }
@media (min-width: 900px) { .mobile-buybar { display: none; } }

/* ---------- Checkout modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(36, 15, 22, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: #fff; width: 100%; max-width: 620px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; overscroll-behavior: contain;
  border-radius: 22px 22px 0 0; padding: 1.4rem 1.2rem calc(1.2rem + env(safe-area-inset-bottom));
  transform: translateY(40px); transition: transform .4s var(--ease); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
.modal-overlay.open .modal { transform: none; }
@media (min-width: 680px) {
  .modal-overlay { align-items: center; padding: 1.5rem; }
  .modal { border-radius: 22px; padding: 2rem 2.2rem; max-height: 92vh; }
}
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.modal-head .eyebrow { margin-bottom: .3rem; }
.modal-head h3 { font-size: 1.8rem; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--charcoal); flex: none; transition: background .2s, transform .2s; }
.modal-close:hover { background: var(--ivory); transform: rotate(90deg); }
.order-summary { display: flex; align-items: center; gap: .9rem; background: var(--ivory-2); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .8rem; margin: 1.1rem 0 1.2rem; }
.order-summary img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.os-info { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.os-info strong { font-family: var(--font-display); font-size: 1.2rem; }
.os-info span { font-size: .8rem; color: var(--charcoal-soft); }

.form-grid { display: grid; grid-template-columns: 1fr; gap: .9rem 1rem; }
@media (min-width: 520px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field label { font-size: .82rem; font-weight: 600; color: var(--charcoal); }
.field .opt { font-weight: 400; color: var(--charcoal-soft); }
.field input, .field select {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iOS zoom */
  padding: .8rem .95rem; border: 1.5px solid #E2D6C4; border-radius: 12px; background: #fff; color: var(--charcoal);
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235E1A2C' stroke-width='1.8'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field input::placeholder { color: #B3A898; }
.field input:focus, .field select:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(94, 26, 44, .1); }
.prefix-input { display: flex; align-items: stretch; }
.prefix-input span { display: flex; align-items: center; padding: 0 .75rem; border: 1.5px solid #E2D6C4; border-right: 0; border-radius: 12px 0 0 12px; background: var(--ivory-2); font-weight: 500; color: var(--charcoal-soft); }
.prefix-input input { border-radius: 0 12px 12px 0; }
.field .err { color: var(--red); font-size: .78rem; min-height: 0; }
.field .err:empty { display: none; }
.field .hint { color: var(--green); font-size: .78rem; }
.field .hint:empty { display: none; }
.field.invalid input, .field.invalid select, .field.invalid .prefix-input span { border-color: var(--red); }
.field.invalid input:focus { box-shadow: 0 0 0 4px rgba(178, 58, 58, .12); }
.form-error { background: #FBEAEA; color: #7E2222; border: 1px solid #F0C9C9; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; margin-top: 1rem; }
.modal-foot { margin-top: 1.2rem; }
.total-line { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 0; border-top: 1px dashed var(--line); margin-bottom: .6rem; }
.total-line strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--wine); }
.secure-note { font-size: .78rem; color: var(--charcoal-soft); text-align: center; margin-top: .8rem; }

/* ---------- Confirmation + policy pages ---------- */
.confirm-page { padding: 3rem 0 5rem; min-height: 60vh; background: radial-gradient(700px 400px at 50% 0%, rgba(173, 138, 82, .15), transparent 70%); }
.confirm-card { max-width: 640px; margin: 0 auto; background: #fff; border-radius: 26px; padding: 2.4rem 1.4rem; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line); }
@media (min-width: 640px) { .confirm-card { padding: 3rem 3rem; } }
.confirm-icon { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.2rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; }
.confirm-icon.success { background: var(--green); color: #fff; box-shadow: 0 0 0 10px rgba(30, 123, 78, .12); animation: pop .6s var(--ease); }
.confirm-icon.success .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.confirm-icon.pending { background: #FFF1D6; color: #A66A00; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: none; opacity: 1; } }
.confirm-card h1 { font-size: clamp(2.2rem, 6vw, 3rem); color: var(--wine); }
.confirm-lead { color: var(--charcoal-soft); margin: .8rem auto 0; max-width: 46ch; }
.confirm-summary { text-align: left; background: var(--ivory-2); border: 1px solid var(--line); border-radius: 16px; padding: .4rem 1.1rem; margin: 1.8rem 0; }
.confirm-row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.confirm-row:last-child { border-bottom: 0; }
.confirm-row > span:first-child { color: var(--charcoal-soft); flex: none; }
.confirm-row > :last-child { text-align: right; word-break: break-word; }

.confirm-row strong { white-space: nowrap; }
.confirm-row.block { flex-direction: column; gap: .3rem; }
.confirm-row.block > :last-child { text-align: left; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85em; }
.steps { display: flex; justify-content: space-between; gap: .5rem; margin: 0 0 1.2rem; position: relative; }
.steps::before { content: ''; position: absolute; top: 20px; left: 16%; right: 16%; height: 2px; background: var(--beige); }
.steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .8rem; color: var(--charcoal-soft); position: relative; }
.steps li span { width: 40px; height: 40px; border-radius: 50%; background: var(--beige); color: var(--wine); display: flex; align-items: center; justify-content: center; }
.steps li.done span { background: var(--green); color: #fff; }
.steps li.done { color: var(--green); font-weight: 600; }
.confirm-note { font-size: .88rem; color: var(--charcoal-soft); margin-top: 1rem; }
.confirm-note a { color: var(--wine); text-decoration: underline; }
.confirm-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }
.confirm-actions .btn { flex: 1 1 200px; max-width: 260px; }
.confirm-social { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.confirm-social p { font-size: .85rem; color: var(--charcoal-soft); margin-bottom: .8rem; }
.confirm-social .social-row { justify-content: center; }

.policy-page { padding: 3.5rem 0 5rem; }
.policy-page h1 { font-size: clamp(2.3rem, 6vw, 3.2rem); color: var(--wine); margin-bottom: 1.5rem; }
.policy-body { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; color: var(--charcoal-soft); }
.policy-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.policy-nav a { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; font-size: .85rem; background: #fff; }
.policy-nav a.active, .policy-nav a:hover { background: var(--wine); color: #fff; border-color: var(--wine); }

/* ---------- Reveal animations ---------- */
.reveal, .reveal-in { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.is-visible, .reveal-in.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
