/* ==========================================================
   Ishtam Fresh Foods — main stylesheet (mobile-first)
   ========================================================== */

:root {
  --green-950: #08291a;
  --green-900: #0b3320;
  --green-800: #0f4428;
  --green-700: #155a35;
  --green-600: #1d6e42;
  --green-50:  #edf4ec;
  --gold:      #b8892d;
  --gold-600:  #9c7220;
  --gold-300:  #dcbb6c;
  --gold-100:  #f5ead0;
  --cream:     #fbf8f1;
  --cream-2:   #f5eedf;
  --cream-3:   #ede3cc;
  --ink:       #1a2a20;
  --muted:     #5b665e;
  --line:      #e6dcc6;
  --maroon:    #7a2230;
  --wa:        #178a45;
  --wa-dark:   #10703a;
  --danger:    #b42318;
  --white:     #fff;

  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(15, 68, 40, .06), 0 2px 8px rgba(15, 68, 40, .05);
  --shadow:    0 10px 30px -12px rgba(15, 68, 40, .22), 0 2px 6px rgba(15, 68, 40, .05);
  --header-h:  68px;
  --container: 1180px;
  --sticky-h:  0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--green-900); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }

.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; justify-content: center; }
.section { padding: 64px 0; }
.section-tight { padding: 36px 0; }
.no-scroll { overflow: hidden; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: .8em;
}
.section-head { margin-bottom: 28px; }
.section-head h2 { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; line-height: 1.1;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green-800); color: #fff; box-shadow: 0 6px 16px -8px rgba(15, 68, 40, .6); }
.btn-primary:hover { background: var(--green-900); color: #fff; }
.btn-primary.is-added { background: var(--green-600); }
.btn-outline { border-color: var(--green-800); color: var(--green-800); background: transparent; }
.btn-outline:hover { background: var(--green-800); color: #fff; }
.btn-gold { background: var(--gold-300); color: var(--green-950); }
.btn-gold:hover { background: #e6c77f; color: var(--green-950); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-text { background: none; border: 0; color: var(--muted); min-height: 44px; padding: 0 8px; font-weight: 600; display: inline-flex; align-items: center; gap: .4em; }
.btn-text:hover { color: var(--danger); }
.btn-text-link { background: none; border: 0; padding: 0; color: var(--green-700); text-decoration: underline; font-weight: 600; }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; font-size: .95rem; margin-top: 14px; }
.link-arrow .icon { transition: transform .2s; width: 1.05em; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(15,68,40,.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand img { height: 54px; width: auto; }
.main-nav { display: none; }
.header-actions { display: flex; align-items: center; gap: 4px; }
.cart-link, .menu-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0; background: transparent; color: var(--green-900);
}
.cart-link:hover, .menu-toggle:hover { background: var(--cream-2); color: var(--green-900); }
.cart-link .icon, .menu-toggle .icon { width: 26px; height: 26px; }
.cart-badge {
  position: absolute; top: 4px; right: 2px;
  min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px;
  background: var(--gold); color: #fff; font-size: .72rem; font-weight: 800; line-height: 21px; text-align: center;
  box-shadow: 0 0 0 2px var(--cream);
  transition: transform .2s;
}
.cart-badge.is-empty { transform: scale(0); }

/* Mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(8, 41, 26, .45); opacity: 0; transition: opacity .2s; }
.mobile-menu.is-open { opacity: 1; }
.mobile-menu-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--cream); padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
  transform: translateX(100%); transition: transform .22s ease-out;
}
.mobile-menu.is-open .mobile-menu-panel { transform: none; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; }
.mobile-menu-head img { height: 52px; width: auto; }
.menu-close { width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--cream-2); display: inline-flex; align-items: center; justify-content: center; color: var(--green-900); }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; font-family: var(--font-head); font-size: 1.35rem; font-weight: 600;
  color: var(--green-900); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu li a .icon { color: var(--gold); width: 20px; }
.mobile-menu li a[aria-current="page"] { color: var(--gold-600); }
.menu-count { font-family: var(--font-body); font-size: .85rem; background: var(--gold); color: #fff; border-radius: 999px; padding: 2px 10px; }
.menu-count.is-empty { background: var(--cream-3); color: var(--muted); }
.mobile-menu-meta { font-size: .92rem; color: var(--muted); text-align: center; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 16px 0 56px;
  background:
    radial-gradient(circle at 1px 1px, rgba(184,137,45,.18) 1.2px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero h1 { margin-bottom: .3em; }
.hero-lead { font-family: var(--font-head); font-size: clamp(1.2rem, 3.6vw, 1.55rem); color: var(--green-700); line-height: 1.35; margin-bottom: .6em; font-weight: 500; }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 32em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-ctas .btn { flex: 1 1 200px; }
.hero-highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 26px; font-size: .9rem; font-weight: 600; color: var(--green-800); }
.hero-highlights li { display: inline-flex; align-items: center; }
.hero-highlights li:not(:last-child)::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin: 0 12px; }
.hero-media { position: relative; order: -1; margin-bottom: 18px; }
.hero-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); background: var(--cream-2);
}
.hero-frame::after { content: ''; position: absolute; inset: 10px; border: 1px solid rgba(184,137,45,.55); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.hero-frame img { width: 100%; aspect-ratio: 900 / 640; object-fit: cover; }
.hero-badge {
  position: absolute; right: 14px; bottom: -16px; margin: 0;
  display: inline-flex; flex-direction: column; gap: 0;
  background: var(--green-800); color: #fff; border-radius: 14px; padding: 7px 14px;
  font-size: .8rem; box-shadow: var(--shadow); line-height: 1.35;
}
.hero-badge span { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-300); }

/* ---------- Product meta & qty ---------- */
.product-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0 20px; max-width: 420px; }
.product-meta > div { background: var(--cream-2); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; min-width: 0; }
.product-meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.product-meta dd { margin: 0; font-weight: 700; color: var(--green-900); }
.product-meta .price { font-family: var(--font-head); font-size: 1.3rem; }
.product-meta .price-tbc { font-family: var(--font-body); font-size: .9rem; color: var(--maroon); line-height: 1.3; }

.buy-row { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.buy-row .btn-add { flex: 1 1 170px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 48px; }
.qty-lg { height: 54px; }
.qty-btn { width: 46px; height: 100%; border: 0; background: transparent; color: var(--green-800); display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.qty-btn:hover { background: var(--cream-2); }
.qty-btn:disabled { color: #b9b4a6; cursor: not-allowed; background: transparent; }
.qty-btn .icon { width: 18px; height: 18px; }
.qty-input { width: 42px; border: 0; text-align: center; font-weight: 800; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 42px; }
.qty-sm .qty-btn { width: 40px; }
.qty-sm .qty-input { width: 36px; }

/* ---------- Feature cards (home) ---------- */
.signature { padding-top: 72px; }
.feature-card {
  display: grid; gap: 0; background: #fff; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.feature-media { display: block; background: var(--cream-2); }
.feature-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; transition: transform .5s; }
.feature-card:hover .feature-media img { transform: scale(1.03); }
.feature-body { padding: 26px 22px 28px; }
.feature-title { font-size: clamp(1.6rem, 4.5vw, 2.25rem); }
.feature-title a { color: inherit; text-decoration: none; }
.feature-desc { color: var(--muted); font-size: 1.04rem; }
.feature-card--alt { background: var(--cream-2); border-color: var(--cream-3); box-shadow: none; }
.feature-card--alt .product-meta > div { background: #fff; }

/* ---------- Shop band ---------- */
.shop-band { background: var(--green-800); color: #e9efe7; position: relative; overflow: hidden; }
.shop-band::before {
  content: ''; position: absolute; inset: 0; opacity: .14;
  background: radial-gradient(circle at 1px 1px, var(--gold-300) 1.2px, transparent 0) 0 0 / 24px 24px;
}
.shop-band-inner { position: relative; display: grid; gap: 24px; }
.shop-band h2 { color: #fff; }
.shop-band p { margin: 0; opacity: .88; max-width: 38em; }
.shop-band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.shop-band-ctas .btn { flex: 1 1 160px; }

/* ---------- Product grid (products page) ---------- */
.product-grid { display: grid; gap: 22px; }
.product-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card-media { display: block; background: var(--cream-2); }
.product-card-media img { width: 100%; aspect-ratio: 7 / 6; object-fit: cover; }
.product-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card-title { font-size: 1.4rem; margin-bottom: .3em; }
.product-card-title a { color: inherit; text-decoration: none; }
.product-card-desc { color: var(--muted); margin-bottom: 0; }
.product-card .product-meta { margin-top: auto; padding-top: 16px; }
.product-card .link-arrow { align-self: flex-start; }

/* ---------- Coming soon ---------- */
.soon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.soon-card { background: #fff; border: 1px dashed var(--gold-300); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.soon-media {
  aspect-ratio: 4 / 3; display: grid; place-items: center;
  background:
    radial-gradient(circle at 1px 1px, rgba(184,137,45,.35) 1.2px, transparent 0) 0 0 / 16px 16px,
    var(--cream-2);
}
.soon-mono {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); border: 1.5px solid var(--gold-300); color: var(--gold-600);
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 600;
}
.soon-body { padding: 14px 14px 18px; }
.soon-body h3 { font-size: 1.08rem; margin: 8px 0 4px; }
.soon-body p { font-size: .88rem; color: var(--muted); margin: 0; }
.badge-soon { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--gold-100); color: var(--gold-600); padding: 4px 10px; border-radius: 999px; }

/* ---------- Why ---------- */
.why { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { list-style: none; display: grid; gap: 14px; }
.why-grid li { padding: 22px; border-radius: var(--radius); background: var(--cream); border: 1px solid var(--line); }
.why-num { font-family: var(--font-head); color: var(--gold); font-size: 1.1rem; font-weight: 600; }
.why-grid h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.why-grid p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- How to order ---------- */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 26px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-num { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--green-800); color: var(--gold-300); font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); }
.how-note { margin: 22px auto 0; text-align: center; max-width: 40em; color: var(--green-800); font-weight: 600; background: var(--green-50); border-radius: 14px; padding: 14px 18px; }

/* ---------- Instagram ---------- */
.how { padding-bottom: 32px; }
.insta { padding-top: 32px; padding-bottom: 16px; }
.insta-inner { text-align: center; background: var(--cream-2); border-radius: var(--radius-lg); padding: 44px 22px; border: 1px solid var(--cream-3); }
.insta-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: #fff; color: var(--maroon); box-shadow: var(--shadow-sm); margin-bottom: 14px; }
.insta-icon .icon { width: 30px; height: 30px; }
.insta-handle { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-600); }

/* ---------- WhatsApp CTA ---------- */
.wa-cta { padding-top: 16px; }
.wa-cta-inner { display: grid; gap: 20px; align-items: center; background: var(--green-50); border: 1px solid #d5e5d3; border-radius: var(--radius-lg); padding: 32px 24px; }
.wa-cta h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); }
.wa-cta p { margin: 0; color: var(--muted); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 36px 0 28px; background: linear-gradient(180deg, var(--cream-2), var(--cream)); border-bottom: 1px solid var(--line); }
.page-hero--compact { padding: 24px 0 18px; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3rem); margin-bottom: .25em; }
.page-hero p { color: var(--muted); max-width: 40em; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-800); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--green-800); font-weight: 600; }

/* ---------- Product detail ---------- */
.product-detail { padding-top: 24px; }
.pd-grid { display: grid; gap: 26px; }
.pd-media { border-radius: var(--radius-lg); overflow: hidden; background: var(--cream-2); box-shadow: var(--shadow); }
.pd-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.pd-desc { font-size: 1.06rem; color: var(--muted); }
.pd-body .btn-wa { margin-top: 12px; min-height: 52px; }
.pd-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* ---------- Cart ---------- */
.cart-empty { text-align: center; padding: 40px 16px 56px; max-width: 520px; margin: 0 auto; }
.cart-empty-icon { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--cream-2); color: var(--gold-600); margin-bottom: 16px; }
.cart-empty-icon .icon { width: 38px; height: 38px; }
.cart-empty p { color: var(--muted); }

.cart-layout { display: grid; gap: 24px; align-items: start; }
.cart-items { list-style: none; display: grid; gap: 14px; }
.cart-item {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.cart-item-img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--cream-2); }
.cart-item-name { font-size: 1.12rem; margin: 2px 0 4px; }
.cart-item-name a { color: inherit; text-decoration: none; }
.cart-item-pack, .cart-item-price { margin: 0; font-size: .88rem; color: var(--muted); }
.cart-item-controls { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 12px; }
.cart-item-amount { margin: 0; font-weight: 800; font-size: 1.05rem; color: var(--green-900); margin-left: auto; }
.btn-remove { border: 0; background: none; color: var(--muted); display: inline-flex; gap: 4px; align-items: center; font-size: .88rem; font-weight: 600; min-height: 44px; padding: 0 4px; }
.btn-remove:hover { color: var(--danger); }
.cart-actions { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.summary-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.summary-card h2 { font-size: 1.4rem; }
.summary-rows { margin: 0 0 16px; }
.summary-rows > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { margin: 0; font-weight: 700; text-align: right; }
.summary-total { border-bottom: 0 !important; padding-top: 12px !important; }
.summary-total dt { color: var(--green-900); font-weight: 700; }
.summary-total dd { font-family: var(--font-head); font-size: 1.35rem; color: var(--green-900); }
.summary-note { font-size: .86rem; color: var(--maroon); background: #fbf1ef; border-radius: 10px; padding: 10px 12px; }
.summary-help { font-size: .84rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.summary-edit { display: block; text-align: center; margin-top: 14px; font-size: .9rem; font-weight: 600; }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; gap: 24px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.checkout-form h2 { font-size: 1.4rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; color: var(--green-900); }
.req { color: var(--maroon); }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream); font-size: 16px; /* 16px stops iOS zoom */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-700); background: #fff; box-shadow: 0 0 0 3px rgba(21,90,53,.15); }
.field .is-invalid { border-color: var(--danger); background: #fff8f7; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.form-alert { background: #fdecea; color: var(--danger); border: 1px solid #f5c2bd; border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; }
.form-hint { font-size: .85rem; color: var(--muted); margin: 0 0 6px; }

.order-table { width: 100%; border-collapse: collapse; font-size: .92rem; margin-bottom: 14px; }
.order-table th, .order-table td { padding: 10px 6px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table thead th { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.order-table tbody th { font-weight: 700; color: var(--green-900); }
.order-table td:last-child, .order-table thead th:last-child { text-align: right; white-space: nowrap; }
.order-table tfoot th { text-align: left; font-family: var(--font-head); font-size: 1.1rem; color: var(--green-900); border: 0; padding-top: 14px; }
.order-table tfoot td { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; color: var(--green-900); border: 0; padding-top: 14px; }

.sent-panel { max-width: 620px; margin: 0 auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 22px; box-shadow: var(--shadow); }
.sent-panel:focus { outline: none; }
.sent-icon { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--green-50); color: var(--wa); margin-bottom: 14px; }
.sent-icon .icon { width: 40px; height: 40px; }
.sent-panel h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem); }
.sent-panel p { color: var(--muted); }
.sent-actions { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 12px; }
.sent-small { font-size: .9rem; margin: 0; }

/* ---------- About & Contact ---------- */
.about-grid { display: grid; gap: 30px; align-items: center; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 900 / 640; object-fit: cover; }
.prose p { color: #3a4740; font-size: 1.04rem; }
.prose h3 { margin-top: 1.2em; }
.tick-list { list-style: none; display: grid; gap: 8px; margin-bottom: 8px; }
.tick-list li { display: flex; gap: 10px; align-items: center; }
.tick-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

.contact-name { text-align: center; margin-bottom: 24px; }
.contact-grid { display: grid; gap: 14px; }
.contact-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon label" "icon value" "icon action";
  column-gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.contact-icon { grid-area: icon; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--cream-2); color: var(--green-800); }
.contact-card--wa .contact-icon { background: var(--green-50); color: var(--wa); }
.contact-icon .icon { width: 26px; height: 26px; }
.contact-label { grid-area: label; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--muted); }
.contact-value { grid-area: value; font-family: var(--font-head); font-size: 1.2rem; color: var(--green-900); font-weight: 600; }
.contact-action { grid-area: action; font-size: .88rem; font-weight: 700; color: var(--gold-600); }
.contact-extra { margin-top: 24px; text-align: center; color: var(--muted); }
.contact-extra p { margin: 4px 0; }

.notfound { padding: 80px 0; }
.empty-note { text-align: center; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-2); border-top: 1px solid var(--cream-3); padding: 0 0 calc(20px + env(safe-area-inset-bottom, 0px)); }
.kolam-divider {
  height: 14px; margin-bottom: 40px;
  background:
    radial-gradient(circle, var(--gold) 2px, transparent 2.5px) 0 50% / 18px 14px repeat-x;
  opacity: .5;
}
.footer-grid { display: grid; gap: 30px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 26em; }
.footer-col h2 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-600); margin-bottom: 12px; font-weight: 800; }
.footer-col ul { list-style: none; display: grid; gap: 4px; }
.footer-col a { color: var(--green-900); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; font-weight: 500; }
.footer-col a:hover { color: var(--gold-600); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon { color: var(--gold-600); }
.footer-note { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.footer-bottom { border-top: 1px solid var(--cream-3); margin-top: 32px; padding-top: 18px; font-size: .85rem; color: var(--muted); }
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp, sticky bar, toast ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + var(--sticky-h) + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.35);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(15,68,40,.45);
}
.sticky-cart { flex: 1; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 48px; min-width: 0; }
.sticky-cart-icon { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--cream-2); color: var(--green-900); display: grid; place-items: center; flex: none; }
.sticky-cart-icon .cart-badge { top: -2px; right: -4px; box-shadow: 0 0 0 2px #fff; }
.sticky-cart-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-cart-text strong { color: var(--green-900); }
.sticky-cart-text small { color: var(--muted); font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-bar .btn { min-height: 48px; padding: 0 18px; flex: none; }
.sticky-bar--cart .btn { flex: 1; }
.sticky-total { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-total small { color: var(--muted); font-size: .78rem; }
.sticky-total strong { font-family: var(--font-head); color: var(--green-900); font-size: 1.1rem; }

/* Mobile: sticky bar replaces the floating button where present */
body.has-sticky { --sticky-h: 70px; }
body.has-sticky .wa-float { display: none; }
body.has-cart-sticky { --sticky-h: 70px; }

.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 10px); z-index: 120;
  transform: translate(-50%, -12px); opacity: 0;
  display: flex; align-items: center; gap: 10px;
  background: var(--green-900); color: #fff; padding: 12px 16px; border-radius: 14px;
  box-shadow: var(--shadow); font-weight: 600; font-size: .92rem;
  width: max-content; max-width: calc(100vw - 28px);
  transition: opacity .2s, transform .2s;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast .icon { color: var(--gold-300); }
.toast a { color: var(--gold-300); font-weight: 800; white-space: nowrap; margin-left: 4px; }

/* ==========================================================
   Breakpoints
   ========================================================== */
@media (max-width: 519px) {
  .order-table thead { display: none; }
  .order-table tbody tr { display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .order-table tbody th, .order-table tbody td { border: 0; padding: 2px 0; }
  .order-table tbody th { grid-column: 1 / -1; }
  .order-table tbody td[data-label="Qty"]::before { content: 'Qty: '; color: var(--muted); }
  .order-table tbody td[data-label="Price"] { color: var(--muted); }
  .order-table tbody td[data-label="Amount"] { font-weight: 700; }
  .order-table tfoot tr { display: flex; justify-content: space-between; }
  .order-table tfoot th, .order-table tfoot td { padding-left: 0; padding-right: 0; }
}

@media (min-width: 600px) {
  .container { padding: 0 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-card { grid-template-columns: 1fr; grid-template-areas: "icon" "label" "value" "action"; row-gap: 4px; text-align: left; }
  .contact-icon { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .sent-actions { flex-direction: row; justify-content: center; }
  .cart-item { grid-template-columns: 96px 1fr auto; align-items: center; }
  .cart-item-img { width: 96px; height: 96px; }
  .cart-item-controls { grid-column: auto; border: 0; padding: 0; flex-direction: column; align-items: flex-end; gap: 6px; }
  .cart-item-amount { margin-left: 0; }
}

@media (min-width: 760px) {
  .soon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wa-cta-inner { grid-template-columns: 1fr auto; padding: 36px 40px; }
  .shop-band-inner { grid-template-columns: 1fr auto; align-items: center; }
  .shop-band-ctas .btn { flex: none; }
  .hero-ctas .btn { flex: none; }
}

@media (min-width: 900px) {
  :root { --header-h: 84px; }
  body { --sticky-h: 0px !important; }
  body .wa-float { display: grid !important; bottom: 24px; right: 24px; }
  .sticky-bar { display: none !important; }
  .brand img { height: 64px; }
  .menu-toggle { display: none; }
  .main-nav { display: block; margin-left: auto; }
  .main-nav ul { list-style: none; display: flex; gap: 4px; }
  .main-nav a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
    color: var(--green-900); text-decoration: none; font-weight: 600; font-size: .98rem;
  }
  .main-nav a:hover { background: var(--cream-2); color: var(--green-900); }
  .main-nav a[aria-current="page"] { color: var(--gold-600); }
  .main-nav a[aria-current="page"]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-left: 7px; }
  .section { padding: 96px 0; }
  .section-tight { padding: 48px 0; }
  .signature { padding-top: 100px; }
  .how { padding-bottom: 48px; }
  .insta { padding-top: 48px; padding-bottom: 24px; }
  .wa-cta { padding-top: 24px; padding-bottom: 80px; }
  .brand img { height: 70px; }
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: 56px; }
  .hero-media { order: 0; margin-bottom: 0; }
  .hero-badge { left: -22px; right: auto; bottom: 28px; padding: 10px 18px; font-size: .85rem; }
  .feature-card { grid-template-columns: 1.05fr 1fr; align-items: center; }
  .feature-media { height: 100%; }
  .feature-media img { aspect-ratio: auto; min-height: 440px; }
  .feature-body { padding: 48px; }
  .feature-card--alt { grid-template-columns: 1fr 1.05fr; }
  .feature-card--alt .feature-media { order: 2; }
  .product-grid--narrow { max-width: 760px; }
  .why-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .why-grid li { grid-column: span 2; }
  .why-grid li:nth-child(4) { grid-column: 2 / span 2; }
  .pd-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .cart-layout { grid-template-columns: 1fr 360px; gap: 32px; }
  .checkout-layout { grid-template-columns: 1fr 420px; gap: 32px; }
  .summary-card { position: sticky; top: calc(var(--header-h) + 20px); }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .card, .summary-card { padding: 28px; }
}

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