/* Irfan Farms — storefront styles. Colours come from the farm logo (navy + leaf green) on a warm field cream. */
:root {
  --bg: #FBF6EA;
  --surface: #FFFFFF;
  --sand: #F3E2C3;
  --line: #ECE3CF;
  --line-2: #D6CBB2;
  --ink: #1F2A24;
  --ink-2: #4A5249;
  --muted: #5B6258;
  --navy: #1D3F7F;
  --navy-2: #16325F;
  --navy-3: #264C8F;
  --on-navy: #D5E0F2;
  --on-navy-dim: #B9C8E2;
  --leaf: #2E7D32;
  --leaf-hi: #25672A;
  --leaf-band: #2E5E2F;
  --leaf-soft: #E6F2DD;
  --leaf-ink: #1F4D22;
  --leaf-light: #9FD08A;
  --marigold: #F2A33A;
  --marigold-hi: #E4912A;
  --warm: #F2C57A;
  --warm-soft: #FFF1D9;
  --warm-ink: #6B3A0A;
  --jaggery: #B8651B;
  --red-soft: #F6DAD3;
  --red-ink: #7A2414;
  --display: "Outfit", system-ui, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 28px;
  --gutter: 64px;
  --shadow: 0 18px 40px rgba(29, 63, 127, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 106px; }
/* Footer stays at the bottom of the window on short pages. */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; }
body > main { flex: 1 0 auto; }
/* In that flex column an auto-margined child would shrink to its content (admin: main.wrap) — keep them full width. */
body > main, body > .wrap { width: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 20px; height: 20px; flex-shrink: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(1350px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.top-gap { margin-top: 48px; }
.script { font-family: var(--script); font-weight: 700; }

/* ---------- type ---------- */
.display { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.03; letter-spacing: -.02em; color: var(--navy); }
.display.md { font-size: clamp(36px, 4vw, 58px); }
.display.sm { font-size: clamp(28px, 2.8vw, 40px); }
.display a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.h1 { margin: 0 0 24px; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.015em; color: var(--navy); }
.h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.h2.sm { font-size: 32px; margin: 48px 0 28px; }
.h3 { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 23px; line-height: 1.2; color: var(--navy); }
.lead { margin: 0; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; color: var(--ink-2); max-width: 580px; }
.kicker { display: block; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: var(--leaf); margin-bottom: 6px; }
.kicker-warm { color: var(--warm); }
.kicker-leaf { color: var(--leaf-light); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.eyebrow .ic { width: 18px; height: 18px; }
.eyebrow-amber { color: var(--warm); }
.eyebrow-light { color: var(--leaf-light); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 15px/1 var(--display); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; }
.btn-primary { background: var(--leaf); color: #fff; }
.btn-primary:hover { background: var(--leaf-hi); color: #fff; box-shadow: 0 10px 24px rgba(46, 125, 50, .28); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-cream, .btn-accent { background: var(--marigold); color: var(--ink); }
.btn-cream:hover, .btn-accent:hover { background: var(--marigold-hi); color: var(--ink); }
.btn.block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-btn { background: none; border: 0; padding: 8px; font: 600 14px var(--sans); color: var(--muted); text-decoration: underline; cursor: pointer; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); cursor: pointer; text-decoration: none; }
.icon-btn .ic { width: 22px; height: 22px; }
.icon-btn.ring { border: 1.5px solid #D9E6D0; color: var(--leaf); }
.icon-btn.ring:hover { background: var(--leaf-soft); }

/* ---------- chrome ---------- */
.marquee { height: 40px; overflow: hidden; background: var(--navy); color: #fff; font: 600 13px/40px var(--display); letter-spacing: .02em; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: inline-flex; gap: 28px; padding-right: 28px; }
.marquee .spark { color: var(--leaf-light); }
@keyframes marquee { to { transform: translateX(-50%); } }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font: 800 24px var(--display); }
.brand:hover { color: var(--navy); }
.brand .logo { height: 64px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--navy); text-decoration: none; font: 600 16px var(--display); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a[aria-current] { border-color: var(--leaf); }
.nav-actions { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.cart-pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px; border-radius: 999px; background: var(--leaf); color: #fff; text-decoration: none; font: 600 15px var(--display); }
.cart-pill:hover { color: #fff; background: var(--leaf-hi); }
.cart-pill .ic { width: 18px; height: 18px; }
.cart-n { min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--marigold); color: var(--ink); font-size: 14px; font-weight: 700; }
.cart-n.bump { animation: bump .6s ease; }
@keyframes bump { 40% { transform: scale(1.35); } }
.only-m { display: none; }

.flash { margin: 20px 0; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 600; background: var(--leaf-soft); color: var(--leaf-ink); }
.flash-err { background: var(--red-soft); color: var(--red-ink); }
.flash a { color: inherit; }
.toast { position: fixed; z-index: 70; left: 50%; top: 150px; transform: translateX(-50%); margin: 0; width: max-content; max-width: calc(100vw - 32px); box-shadow: var(--shadow); animation: toast 5s ease forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, -10px); } 6%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; visibility: hidden; } }

/* Footer: one short row under a low wave — brand · links · © and email */
.foot { margin-top: 18px; font-size: 13.5px; }
.foot-edge { display: block; width: 100%; height: 20px; }
.foot-body { background: var(--navy); color: var(--on-navy); }
.foot-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 28px; padding-top: 8px; padding-bottom: 14px; }
.foot-brand { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.foot-name { font: 800 16px var(--display); letter-spacing: .05em; color: #fff; }
.foot-slogan { font-size: 20px; color: var(--leaf-light); }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-meta { font-size: 12.5px; color: var(--on-navy-dim); white-space: nowrap; }
.foot a { color: var(--on-navy); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 999px; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.wa-float:hover { color: #fff; background: var(--leaf-hi); }
.wa-float .ic { width: 26px; height: 26px; }
.tabbar { display: none; }

/* ---------- home: hero ---------- */
.hero2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 48px; }
.hero2-media { position: relative; height: 540px; border-radius: var(--r-lg); overflow: hidden; background: #DCE8CF; }
.hero2-media > svg, .hero2-media > img { width: 100%; height: 100%; object-fit: cover; }
.hero2-media .blocks { animation: float 6s ease-in-out infinite; }
.hero2-media .sun { animation: glow 8s ease-in-out infinite; transform-origin: 520px 110px; }
.hero2-media .cane-l { animation: sway 6s ease-in-out infinite; transform-origin: 110px 520px; }
.hero2-media .cane-r { animation: sway 7s ease-in-out infinite reverse; transform-origin: 520px 520px; }
@keyframes float { 50% { transform: translateY(-8px); } }
@keyframes sway { 50% { transform: rotate(1.5deg); } }
@keyframes glow { 50% { transform: scale(1.06); } }
.batch-chip { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .2s ease; }
.batch-chip:hover { transform: translateY(-3px); color: var(--ink); }
.batch-chip .ic { width: 30px; height: 30px; color: var(--leaf); }
.batch-chip strong { display: block; font: 700 16px var(--display); color: var(--navy); }
.batch-chip small { color: var(--muted); font-size: 13px; }
.hero2-copy { display: flex; flex-direction: column; gap: 22px; }
.hero2-slogan { font-size: clamp(48px, 5vw, 70px); line-height: .9; color: var(--leaf); }
.offer { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; margin: 0; padding: 12px 18px; border-radius: 16px; background: var(--warm-soft); border: 1.5px dashed #E0A04A; font-size: 15px; font-weight: 600; color: var(--warm-ink); }
.landscape { display: block; width: 100%; height: clamp(90px, 13vw, 200px); margin-top: 32px; }
.landscape .ls-cane { animation: sway 7s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }

.trust { background: var(--surface); }
.trust-grid { list-style: none; margin: 0 auto; padding-top: 32px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-grid li { display: flex; align-items: center; gap: 16px; }
.trust-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 999px; background: var(--leaf-soft); color: var(--leaf); display: flex; align-items: center; justify-content: center; }
.trust-ic .ic { width: 26px; height: 26px; stroke-width: 1.8; }
.trust-grid strong { display: block; font: 700 17px var(--display); color: var(--navy); }
.trust-grid small { color: var(--muted); font-size: 14px; }

/* ---------- home: "Most Loved" products ---------- */
.loved { padding-top: 88px; }
.loved-head { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 32px; min-height: 120px; }
.loved-bg { position: absolute; left: 0; bottom: -6px; width: min(900px, 80%); height: auto; z-index: 0; pointer-events: none; }
.loved-title { position: relative; z-index: 1; margin: 0; font: 800 clamp(40px, 5vw, 64px)/1 var(--display); letter-spacing: -.02em; color: var(--navy); }
.heart-o { display: inline-block; width: .78em; height: .78em; margin: 0 .02em; vertical-align: -.06em; fill: var(--navy); }
.loved-more { position: relative; z-index: 1; min-height: 52px; padding: 0 30px; border-radius: 10px; font-size: 18px; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard { display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(31, 42, 36, .06); transition: transform .25s ease, box-shadow .25s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(29, 63, 127, .14); }
.pcard-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.pcard-img > img, .pcard-img > .scene { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pcard:hover .pcard-img > img, .pcard:hover .pcard-img > .scene { transform: scale(1.04); }
.ribbon { position: absolute; top: 0; left: 0; width: 44px; padding: 7px 0 12px; background: #19C24A; color: #06280F; font: 800 11px/1.1 var(--display); text-align: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.ptag { position: absolute; top: 0; right: 0; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 14px; border-bottom-left-radius: 10px; font: 600 14px var(--display); color: #fff; }
.ptag-green { background: #1F4D22; }
.ptag-orange { background: #F07F13; }
.ptag-purple { background: #6A2A9A; }
.ptag-bare { background: rgba(255, 255, 255, .92); color: var(--navy); padding-left: 8px; }
.ptag .sep { opacity: .7; }
.wish { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -4px -4px -4px 0; padding: 0; border: 0; border-radius: 99px; background: transparent; color: inherit; cursor: pointer; }
.wish svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .2s ease; }
.wish[aria-pressed="true"] svg { fill: currentColor; animation: bump .5s ease; }
.wish:hover svg { transform: scale(1.15); }
.pcard-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 12px 14px; }
.pcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard-t { margin: 0; font: 500 17px/1.3 var(--display); color: var(--ink); }
.pcard-price { display: flex; flex-direction: column; align-items: flex-end; font: 600 18px var(--display); color: var(--leaf); white-space: nowrap; }
.pcard-price s { font-size: 16px; font-weight: 500; color: #9A9F98; }
.pcard-price s[hidden] { display: none; }
.pcard-s { font-size: 13px; color: #8A8F88; }
.pcard-rate { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); }
.stars-txt { color: #F2B01E; font-size: 12px; letter-spacing: 1px; }
.stars-off { color: #D6CBB2; }
.pselect { display: flex; align-items: stretch; margin-top: 6px; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
.pselect select { height: 44px; border: 0; border-radius: 0; padding: 0 36px 0 10px; font: 600 14px var(--display); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F2A24' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; appearance: none; cursor: pointer; }
.pselect select:focus { box-shadow: none; }
.pselect:focus-within { outline: 3px solid var(--marigold); outline-offset: 2px; }
.savechip { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; padding: 0 10px; background: #1F4D22; color: #fff; font: 700 13px/1.1 var(--display); text-align: center; }
.savechip small { font-size: 9px; font-weight: 600; }
.savechip[hidden] { display: none; }
.pcard-btn { height: 48px; border: 0; background: #17784A; color: #fff; font: 700 17px var(--display); letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: background-color .15s ease; }
.pcard-btn:hover { background: #0F5E38; }
.pcard-btn[disabled] { background: #7F8A7F; cursor: not-allowed; }
.notify { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); font-weight: 600; }

/* order page: tracking code */
.trackcode { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; padding: 22px 26px; border-radius: 20px; background: var(--surface); border: 2px dashed var(--leaf); }
.trackcode > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.tc-val { font: 800 30px var(--display); letter-spacing: .06em; color: var(--navy); }
.trackcode small { color: var(--muted); }

/* ---------- home: journey ---------- */
.journey2 { margin-top: 96px; padding: 96px 0; background: var(--leaf-band); color: #fff; }
.journey2 .h2 { color: #fff; }
.center-head { text-align: center; margin-bottom: 56px; }
.jsteps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.jsteps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 44px; border-top: 3px dashed #7FA86A; }
.jsteps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.jdot { width: 88px; height: 88px; border-radius: 999px; background: var(--bg); color: var(--leaf); display: flex; align-items: center; justify-content: center; transition: transform .3s ease; }
.jsteps li:hover .jdot { transform: translateY(-4px) rotate(-6deg); }
.jdot .ic { width: 36px; height: 36px; stroke-width: 1.7; }
.jsteps .last .jdot { background: var(--marigold); color: var(--ink); }
.jsteps strong { font: 700 18px var(--display); }
.jsteps small { font-size: 14px; line-height: 1.5; color: #CFE3C4; }

/* ---------- home: gur in your day ---------- */
.day { padding-top: 96px; display: flex; flex-direction: column; gap: 28px; }
.tablist { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tablist button { padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--line-2); background: transparent; font: 600 15px var(--display); color: var(--navy); cursor: pointer; }
.tablist button:hover { border-color: var(--navy); }
.tablist button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 40px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); animation: fadein .35s ease; }
.tabpanel[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } }
.tabpanel-art { height: 300px; border-radius: 20px; background: var(--sand); display: flex; align-items: center; justify-content: center; background-image: radial-gradient(circle at 25% 30%, #F8EBD2 0 16%, transparent 17%), radial-gradient(circle at 78% 72%, #EAD3AA 0 13%, transparent 14%); }
.art-ring { width: 140px; height: 140px; border-radius: 999px; background: var(--bg); color: var(--jaggery); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 14px rgba(255, 255, 255, .5); }
.art-ring .ic { width: 64px; height: 64px; stroke-width: 1.4; }
.tabpanel-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tabpanel-copy h3 { margin: 0; font: 700 32px/1.15 var(--display); color: var(--navy); }
.tabpanel-copy p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); }

/* ---------- home: trace promo, farmer, reviews, faq ---------- */
.trace2 { margin-top: 96px; padding: 64px; border-radius: 32px; background: var(--navy); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.trace2 .h2 { color: #fff; margin-bottom: 22px; font-size: clamp(30px, 3vw, 44px); }
.trace2 input { background: #fff; border-color: transparent; }
.mini-tl { list-style: none; margin: 0; padding: 20px 28px; border-radius: var(--r); background: var(--navy-2); }
.mini-tl li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 0 12px 28px; border-bottom: 1px solid #2A4A80; }
.mini-tl li:last-child { border: 0; }
.mini-tl li::before { content: ""; position: absolute; left: 0; top: 18px; width: 12px; height: 12px; border-radius: 99px; background: var(--leaf-light); }
.mini-tl li.open::before { background: transparent; border: 2px solid var(--leaf-light); }
.mini-tl .t { font-weight: 700; }
.mini-tl .s { font-size: 14px; color: var(--on-navy-dim); }
.farmer { padding-top: 96px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.farmer-media { height: 460px; border-radius: var(--r-lg); overflow: hidden; background: #DCE8CF; display: flex; align-items: flex-end; }
.farmer-media img { width: 100%; height: 100%; object-fit: cover; }
.farmer-art { width: 100%; height: 60%; }
.farmer-copy { display: flex; flex-direction: column; gap: 18px; }
.farmer-copy blockquote { margin: 0; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; }
.sign { font-size: 40px; color: var(--navy); }
.reviews { padding-top: 96px; }
.reviews .h2 { margin-bottom: 28px; }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rcard { margin: 0; padding: 28px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.rcard blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.rcard figcaption { font: 700 15px var(--display); color: var(--navy); }
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-top: 96px; }
.faq-list details { border-bottom: 1px solid var(--line-2); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font: 700 19px var(--display); color: var(--navy); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; color: var(--leaf); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: -6px 0 22px; line-height: 1.65; color: var(--ink-2); max-width: 720px; }

/* ---------- inputs ---------- */
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], input[type=datetime-local], input[type=url], input:not([type]), textarea, select {
  height: 54px; padding: 0 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); font: 500 16px var(--sans); color: var(--ink); width: 100%;
}
textarea { height: auto; padding: 14px 18px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46, 125, 50, .18); }
.input-row { display: flex; gap: 10px; }
.input-row input { flex: 1; min-width: 0; border-radius: 999px; padding: 0 22px; height: 58px; }
.input-row .btn { min-height: 58px; }
.fld { display: flex; flex-direction: column; gap: 8px; }
.fld label, .lookup label { font-size: 14px; font-weight: 600; }
.fld.has-err input { border-color: var(--red-ink); }
.err { color: var(--red-ink); font-size: 14px; font-weight: 600; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.radio-card { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); font-size: 15px; font-weight: 600; cursor: pointer; }
.radio-card input { width: 20px; height: 20px; accent-color: var(--leaf); margin: 0; flex-shrink: 0; }
.radio-card:has(input:checked) { border: 2px solid var(--leaf); padding: 15.5px 17.5px; background: #F7FBF3; }
.radio-card.tall { padding: 20px 22px; }
.radio-card.tall:has(input:checked) { padding: 19.5px 21.5px; }
.radio-card small { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; margin-top: 2px; }

/* ---------- inner pages ---------- */
.page { padding-top: 48px; }
.narrow-page { max-width: 720px; }
.narrow-page .lead { margin: 16px 0 28px; }
.card { padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.card.dark { background: var(--navy); border-color: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 16px; }
.card.dark p { margin: 0; color: var(--on-navy); line-height: 1.6; }
.card.dark input { background: #fff; border-color: transparent; }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.summary { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.summary .h3 { margin: 0; }
.empty { padding: 64px; border-radius: 24px; background: var(--surface); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 18px; }
.lines { list-style: none; margin: 0 0 20px; padding: 0; }
.line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.lines.compact { margin: 0; }
.lines.compact .line:last-child { border: 0; }
.thumb { width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; font: 700 13px/1.1 var(--display); padding: 4px; }
.line-main { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-t { font-weight: 700; }
.line-s { font-size: 14px; color: var(--ink-2); }
.line-p { font-weight: 700; white-space: nowrap; }
.qty-sm { width: 76px !important; height: 44px !important; padding: 0 10px !important; text-align: center; }
.totals { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; }
.totals .grand { padding-top: 12px; border-top: 1px solid var(--line); font: 700 20px var(--display); }
.totals .grand dt { color: var(--ink); }
.warn { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--warm-soft); color: var(--warm-ink); font-weight: 600; }
.info { display: flex; gap: 12px; margin: 0; padding: 16px; border-radius: 16px; background: var(--leaf-soft); color: var(--leaf-ink); font-size: 14px; line-height: 1.5; }
.info .ic { color: var(--leaf); width: 22px; height: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.span-2 { grid-column: span 2; }
.pay { border: 0; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; gap: 14px; }
.pay legend { padding: 0; margin-bottom: 14px; }

/* trace + order */
.trace-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 40px; }
.trace-head > div { display: flex; flex-direction: column; gap: 14px; }
.lookup { width: 420px; max-width: 100%; display: flex; flex-direction: column; gap: 8px; }
.lookup .input-row input, .lookup .input-row .btn { height: 52px; min-height: 52px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.tile { padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.tile .k, .tile .s { font-size: 13px; }
.k { color: var(--muted); }
.tile .v { font: 700 19px var(--display); color: var(--navy); }
.tile .s { color: var(--muted); }
.tile-q.chip-green { background: var(--leaf-soft); border-color: var(--leaf-soft); color: var(--leaf-ink); }
.tile-q.chip-amber { background: var(--warm-soft); border-color: var(--warm-soft); color: var(--warm-ink); }
.tile-q.chip-red { background: var(--red-soft); border-color: var(--red-soft); color: var(--red-ink); }
.tile-q .k, .tile-q .s, .tile-q .v { color: inherit; }
.story { margin: 28px 0 0; font-size: 18px; line-height: 1.65; color: var(--ink-2); max-width: 760px; }
.trace-body { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.side { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 20px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.tl-item { display: grid; grid-template-columns: 44px 1fr; gap: 24px; position: relative; padding-bottom: 36px; }
.tl-item:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: #BFD6B1; }
.tl-dot { width: 44px; height: 44px; border-radius: 99px; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; }
.tl-amber .tl-dot { background: var(--navy); }
.tl-body { display: flex; flex-direction: column; gap: 6px; padding-top: 2px; }
.tl-meta { font-size: 13px; font-weight: 700; color: var(--muted); }
.tl-t { margin: 0; font: 700 21px var(--display); color: var(--navy); }
.tl-body p { margin: 0; line-height: 1.6; color: var(--ink-2); }
.tl-photo { display: block; margin-top: 8px; max-width: 420px; border-radius: var(--r-sm); overflow: hidden; }
.tl-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.tl-photo:hover img { transform: scale(1.03); }
.batch-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.batch-list a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.batch-list a:hover { border-color: var(--leaf); }
.batch-list strong { font-family: var(--display); color: var(--navy); }
.batch-list span { font-size: 14px; color: var(--muted); }
.thanks { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 40px; padding: 36px; border-radius: 28px; background: var(--leaf-soft); }
.thanks .h1 { margin-bottom: 10px; }
.thanks-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 99px; background: var(--leaf); color: #fff; display: flex; align-items: center; justify-content: center; }
.thanks-ic .ic { width: 28px; height: 28px; stroke-width: 2.6; }
.batch-block + .batch-block { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--line-2); }
.batch-block-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.order-card { gap: 20px; }
.oc-no { font: 800 30px var(--display); margin-top: -10px; }
.oc-sub { font-size: 14px; color: var(--on-navy-dim); margin-top: -14px; }
.ostep { list-style: none; margin: 0; padding: 0; }
.ostep li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; position: relative; }
.ostep li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 34px; bottom: -8px; width: 2px; background: #2A4A80; }
.ostep li.done:not(:last-child)::after { background: var(--leaf-light); }
.ostep .od { width: 22px; height: 22px; flex-shrink: 0; border-radius: 99px; border: 2px solid var(--on-navy-dim); }
.ostep .done .od, .ostep .now .od { background: var(--leaf-light); border-color: var(--leaf-light); }
.ostep .now .od { box-shadow: 0 0 0 6px rgba(159, 208, 138, .25); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(159, 208, 138, .08); } }
.ostep .todo { opacity: .55; }
.ostep small { display: block; font-size: 13px; color: var(--on-navy-dim); }
.pay-box { margin-bottom: 40px; background: var(--warm-soft); border-color: #F1D3A6; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.pay-box p { margin: 0; }
.kv { margin: 0; display: grid; gap: 6px; }
.kv div { display: flex; gap: 12px; }
.kv dt { min-width: 180px; color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 700; }
.rate { margin-top: 12px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.rate textarea { width: 100%; }
.stars { border: 0; margin: 0; padding: 0; display: inline-flex; flex-direction: row-reverse; gap: 6px; }
.stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars label { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--line-2); cursor: pointer; }
.stars label .ic { width: 22px; height: 22px; }
.stars input:checked ~ label, .stars label:hover, .stars label:hover ~ label { color: #C77A12; border-color: #C77A12; }
.stars input:checked ~ label .ic, .stars label:hover .ic, .stars label:hover ~ label .ic { fill: currentColor; }
.stars input:focus-visible + label { outline: 3px solid var(--marigold); outline-offset: 2px; }
.chip { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.chip-green { background: var(--leaf-soft); color: var(--leaf-ink); }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 36px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 15px; }
  .brand .logo { height: 54px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .jsteps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .jsteps::before { display: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .only-m { display: inline-flex; }
  .hide-m { display: none; }
  .nav-in { height: 72px; grid-template-columns: auto 1fr auto; gap: 8px; }
  .brand { justify-content: center; }
  .brand .logo { height: 46px; }
  .nav-links { position: fixed; inset: 0; z-index: 60; flex-direction: column; gap: 6px; padding: 88px 28px 28px; background: var(--bg); transform: translateX(-100%); transition: transform .25s ease; visibility: hidden; }
  .nav-links.open { transform: none; visibility: visible; }
  .nav-links a { font-size: 30px; font-weight: 700; border: 0; }
  .menu-slogan { margin-top: auto; font-size: 44px; color: var(--leaf); }
  .menu-close { position: absolute; top: 14px; left: 16px; }
  .cart-pill { padding: 0 6px 0 14px; }
  .hero2, .trace2, .split, .trace-body, .faq, .farmer, .tabpanel { grid-template-columns: 1fr; }
  .hero2 { gap: 28px; padding-top: 20px; }
  .hero2-media { height: 340px; }
  .loved, .day, .reviews, .farmer, .faq { padding-top: 72px; }
  .loved-head { min-height: 0; }
  .journey2 { margin-top: 72px; padding: 72px 0; }
  .trace2 { margin-top: 72px; padding: 36px 26px; gap: 32px; }
  .tabpanel { padding: 22px; gap: 22px; }
  .tabpanel-art { height: 200px; }
  .rgrid { grid-template-columns: 1fr; }
  .trace-head { flex-direction: column; align-items: stretch; gap: 24px; }
  .summary, .side { position: static; }
  .farmer-media { height: 320px; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(4, 1fr); height: calc(68px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--navy); text-decoration: none; font: 600 12px var(--display); }
  .tabbar a[aria-current] { color: var(--leaf); }
  .tabbar .ic { width: 22px; height: 22px; }
  .wa-float { bottom: calc(84px + env(safe-area-inset-bottom)); right: 14px; width: 52px; height: 52px; }
  .toast { top: 118px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 15px; }
  .marquee { height: 34px; line-height: 34px; font-size: 12px; }
  .hero2-media { height: 260px; border-radius: 22px; }
  .hero2-copy .btn-row .btn { flex: 1 1 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
  .trust-grid li { flex-direction: column; align-items: flex-start; gap: 8px; }
  .trust-ic { width: 44px; height: 44px; }
  .trust-grid strong { font-size: 15px; }
  .trust-grid small { font-size: 13px; }
  .pgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .pgrid::-webkit-scrollbar { display: none; }
  .pcard { flex: 0 0 78%; scroll-snap-align: start; }
  .loved-head { align-items: center; }
  .loved-more { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .loved-bg { width: 100%; }
  .jsteps { grid-template-columns: 1fr 1fr; }
  .jdot { width: 72px; height: 72px; }
  .input-row { flex-direction: column; }
  .input-row .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .line { flex-wrap: wrap; }
  .card { padding: 20px; }
  .thanks { flex-direction: column; padding: 24px; }
  .empty { padding: 40px 20px; }
  .kv div { flex-direction: column; gap: 0; }
  .foot { margin-top: 28px; }
  .foot-edge { height: 16px; }
}
.thumb:is(img) { padding: 0; object-fit: cover; }

/* ---------- "Our farm" mega menu ---------- */
.nav .wrap.nav-in { position: relative; }
.mega-wrap { display: flex; align-items: center; }
.mega-trigger { display: inline-flex; align-items: center; gap: 4px; }
.caret { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; transition: transform .2s ease; }
.mega { position: absolute; left: 50%; top: calc(100% - 8px); z-index: 50; width: min(1240px, calc(100vw - 32px)); transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
  background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(29, 63, 127, .18); overflow: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.mega-wrap:hover .mega, .mega-wrap:focus-within .mega, .mega-wrap.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-wrap:hover .caret, .mega-wrap:focus-within .caret, .mega-wrap.open .caret { transform: rotate(180deg); }
.mega-wrap.closed .mega { opacity: 0; visibility: hidden; }
.mega-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 32px; align-items: center; padding: 44px 48px 56px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mega-big { gap: 14px; }
.nav-links .mega-big a { font: 600 27px/1.2 var(--display); color: #2F6B45; border: 0; padding: 0; }
.mega-small { gap: 18px; }
.nav-links .mega-small a { font: 600 17px var(--display); color: #2F6B45; border: 0; padding: 0; }
.nav-links .mega a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.mega-photo { display: block; height: 300px; border-radius: 10px; overflow: hidden; background: #DCE8CF; }
.mega-photo img, .mega-photo svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.mega-wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; z-index: 0; }

/* ---------- Our Farm page ---------- */
.farm-hero { padding-top: 56px; }
.farm-hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.farm-hero .lead { max-width: 720px; }
.farm-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.farm-jump a { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--navy); text-decoration: none; font: 600 14px var(--display); }
.farm-jump a:hover { border-color: var(--leaf); color: var(--leaf); }
.farm-sec { padding-top: 88px; }
.farm-sec > .h2 { margin-bottom: 28px; }
.farm-sec > .lead { margin: -12px 0 28px; }
.farm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.farm-media { height: 420px; border-radius: var(--r-lg); overflow: hidden; background: #DCE8CF; display: flex; align-items: flex-end; }
.farm-media img { width: 100%; height: 100%; object-fit: cover; }
.farm-copy { display: flex; flex-direction: column; gap: 18px; }
.farm-copy blockquote { margin: 0; }
.farm-band { margin-top: 88px; padding: 88px 0; background: var(--leaf-band); color: #fff; }
.farm-band .h2 { color: #fff; }
.farm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.farm-card { padding: 30px; border-radius: var(--r); background: rgba(255, 255, 255, .08); display: flex; flex-direction: column; gap: 12px; }
.farm-card h3 { margin: 0; font: 700 22px var(--display); }
.farm-card p { margin: 0; line-height: 1.6; color: #CFE3C4; }
.farm-card.light { background: #fff; border: 1px solid var(--line); }
.farm-card.light h3 { color: var(--navy); }
.farm-card.light p { color: var(--ink-2); }
.farm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.farm-steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.farm-steps .jdot { width: 60px; height: 60px; flex-shrink: 0; background: var(--leaf-soft); }
.farm-steps .jdot .ic { width: 28px; height: 28px; }
.farm-steps h3 { margin: 4px 0 6px; font: 700 20px var(--display); color: var(--navy); }
.farm-steps p { margin: 0; line-height: 1.6; color: var(--ink-2); font-size: 15px; }
.fs-n { position: absolute; top: 14px; right: 18px; font: 800 28px var(--display); color: var(--line); }
.soil-art svg { width: 100%; height: auto; display: block; }
.table-card { border-radius: var(--r); border: 1px solid var(--line); background: #fff; overflow-x: auto; }
.qtable { width: 100%; border-collapse: collapse; }
.qtable th { text-align: left; padding: 14px 18px; font: 700 12px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.qtable td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.qtable tr:last-child td { border-bottom: 0; }
.qchip { display: inline-flex; padding: 4px 12px; border-radius: 999px; font: 700 13px var(--display); }
.q-passed { background: var(--leaf-soft); color: var(--leaf-ink); }
.q-pending { background: var(--warm-soft); color: var(--warm-ink); }
.q-failed { background: var(--red-soft); color: var(--red-ink); }
.visit { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding: 56px; border-radius: 32px; background: var(--navy); color: #fff; }
.visit .h2 { color: #fff; margin-bottom: 10px; }
.visit p { margin: 0; color: var(--on-navy); max-width: 560px; line-height: 1.6; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

@media (max-width: 1180px) {
  .mega-in { grid-template-columns: 1.3fr 1fr 1fr; }
  .mega-photo { display: none; }
  .farm-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  /* inside the mobile drawer the mega menu becomes a plain list */
  .mega-wrap { flex-direction: column; align-items: flex-start; }
  .mega-trigger .caret { display: none; }
  .mega, .mega-wrap.closed .mega { position: static; transform: none; opacity: 1; visibility: visible; width: auto; box-shadow: none; background: transparent; border-radius: 0; }
  .mega-in { display: block; padding: 4px 0 8px 14px; }
  .mega-big, .mega-small { gap: 6px; margin-bottom: 8px; }
  .nav-links .mega-big a, .nav-links .mega-small a { font: 600 17px var(--display); }
  .mega-wave, .mega-photo { display: none; }
  .farm-split, .farm-cards { grid-template-columns: 1fr; }
  .farm-media { height: 300px; }
  .visit { padding: 32px 24px; }
}
@media (max-width: 640px) {
  .farm-steps { grid-template-columns: 1fr; }
  .farm-sec { padding-top: 64px; }
}
@media (max-width: 960px) { .nav-links { overflow-y: auto; } }
.mega-trigger { position: relative; }
.mega-trigger::after { content: ""; position: absolute; left: -24px; right: -24px; top: 100%; height: 44px; }
@media (max-width: 960px) { .mega-trigger::after { display: none; } }

/* ---------- icons in the main menu ---------- */
.nav-links a.nav-ic { display: inline-flex; align-items: center; gap: 8px; }
.cat-ic { width: 26px; height: 26px; flex-shrink: 0; color: #1F6B35; transition: transform .2s ease; }
.nav-links a.nav-ic:hover .cat-ic, .mega-wrap:hover .cat-ic { transform: translateY(-2px) rotate(-4deg); }
@media (max-width: 1180px) {
  .nav-links a.nav-ic { gap: 6px; }
  .cat-ic { width: 22px; height: 22px; }
}
@media (max-width: 960px) {
  .nav-links a.nav-ic { gap: 12px; }
  .nav-links .cat-ic { width: 32px; height: 32px; }
}
/* keep the icon menu clear of the centred logo on laptop widths */
@media (max-width: 1400px) { .nav-links { gap: 20px; } .nav-links a { font-size: 15px; } .cat-ic { width: 22px; height: 22px; } }
@media (max-width: 1320px) { :root { --gutter: 40px; } }
/* desktop header: logo left, menu centred, actions right */
@media (min-width: 961px) {
  body:not(.admin) .nav-in { grid-template-columns: auto 1fr auto; gap: 32px; }
  body:not(.admin) .brand { order: 1; }
  .nav-links { order: 2; justify-content: center; }
  .nav-actions { order: 3; }
  .nav-links a { white-space: nowrap; }
}
@media (min-width: 961px) and (max-width: 1100px) { .nav-links .cat-ic { display: none; } .nav-in { gap: 20px; } }

/* ---------- "Most Loved" fits one screen on laptops/desktops ---------- */
/* Clicking "Shop" lands with the heading just under the sticky header (skips most of the section's top padding). */
.loved { scroll-margin-top: -72px; }
.loved-head { min-height: 0; margin-bottom: 20px; }
.loved-title { font-size: clamp(34px, 3.6vw, 52px); }
.loved-bg { width: min(640px, 60%); }
.loved-more { min-height: 46px; font-size: 16px; }
@media (min-width: 641px) {
  /* photo height follows the screen height instead of the card width, so heading + cards fit in view */
  .pcard-img { aspect-ratio: auto; height: clamp(150px, calc(100vh - 430px), 320px); }
  .pcard-body { gap: 6px; padding: 12px 12px 12px; }
  .pcard-t { font-size: 16px; }
  .pselect { margin-top: 4px; }
  .pselect select { height: 40px; }
  .pcard-btn { height: 44px; font-size: 16px; }
}

/* Track page: "which code do I have?" guide */
.code-help { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.code-help li { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.code-help strong { font: 700 16px var(--display); color: var(--navy); }
.code-help span { font: 700 15px var(--display); letter-spacing: .04em; color: var(--leaf); text-align: right; }
.code-help small { grid-column: 1 / -1; color: var(--muted); font-size: 14px; }
.fld[hidden] { display: none; }

/* "Most Loved" hills: full screen width, faded at the edges (section clips the overflow so no sideways scroll) */
.loved { overflow-x: clip; }
.loved-head { position: relative; }
.loved-hills { position: absolute; left: calc(50% - 50vw); width: 100vw; bottom: -8px; height: 120px; z-index: 0; pointer-events: none; }
.loved-deco { position: absolute; left: calc(50% - 50vw + 31.6vw - 78px); /* tree trunk sits on the hill peak (x 455 of 1440) */ bottom: -8px; height: 120px; width: auto; z-index: 0; pointer-events: none; }
@media (max-width: 640px) {
  .loved-hills { height: 80px; }
  .loved-deco { left: calc(50% - 50vw + 31.6vw - 52px); height: 80px; }
}

/* ---------- first screen fits without scrolling (laptops/desktops) ---------- */
/* 310px ≈ top strip + header + hero padding + the hills strip below; the picture takes whatever height is left. */
@media (min-width: 961px) {
  .hero2 { padding-top: 28px; gap: 48px; }
  .hero2-media { height: clamp(300px, calc(100vh - var(--top-h, 122px) - 190px), 540px); }
  .hero2-copy { gap: 14px; }
  .hero2-slogan { font-size: clamp(40px, min(5vw, 7.5vh), 70px); }
  .hero2 .display { font-size: clamp(34px, min(4.6vw, 7vh), 66px); }
  .hero2 .lead { font-size: clamp(15px, min(1.3vw, 2.4vh), 19px); }
  .hero2 .btn-lg { min-height: clamp(48px, 7.5vh, 58px); }
  .landscape { margin-top: 20px; height: clamp(70px, 8vw, 110px); }
}

/* countryside strip: stretchy hills, with a rising sun tucked behind them (the sun keeps its round shape) */
.ls-wrap { position: relative; display: block; }
.ls-hills { position: relative; z-index: 1; display: block; width: 100%; height: 100%; }
.ls-sun { position: absolute; z-index: 0; left: 50%; bottom: 29%; height: 62%; min-height: 40px; max-height: 110px; width: auto; transform: translateX(-50%); }
.ls-sun line { animation: sun-rays 6s ease-in-out infinite; }
@keyframes sun-rays { 50% { opacity: .55; } }

/* menu band 15% shorter (desktop 96→82px, phone 72→61px), logo scaled to match */
.nav-in { height: 82px; }
.brand .logo { height: 54px; }
.nav-links a { padding: 6px 0; }
@media (max-width: 1180px) { .brand .logo { height: 46px; } }
@media (max-width: 960px) { .nav-in { height: 61px; } .brand .logo { height: 40px; } .cart-pill { height: 40px; } }

/* ---------- first screen: hero + hills fill exactly one screen, hills pinned to the bottom edge ---------- */
/* --top-h = real height of the blue strip + menu band (set by site.js; 122px is the fallback). */
@media (min-width: 961px) {
  .first-screen { display: flex; flex-direction: column; min-height: calc(100vh - var(--top-h, 122px)); }
  .first-screen .hero2 { flex: 1 0 auto; align-content: center; }
  .first-screen .landscape { margin-top: auto; flex-shrink: 0; }
}
/* the band under the hills: soft sand instead of stark white, so the brown ground blends into it */
.trust { background: #F3EAD6; }
.trust-ic { background: #FBF6EA; }

/* ---------- hills + promises band as one piece: the band IS the soil of the front hill ---------- */
.trust { background: #8B5A2B; margin-top: -3px; position: relative; z-index: 2; box-shadow: 0 -6px 0 #8B5A2B; }            /* same brown as the front hill, no seam */
.trust-grid strong { color: #FFF8EC; }
.trust-grid small { color: #F1E2C6; }
.trust-ic { background: #A56F3D; color: #FFF1D9; box-shadow: inset 0 0 0 1.5px rgba(255, 241, 217, .35); }

/* ---------- customer accounts ---------- */
.acct-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; border: 1.5px solid #D9E6D0; color: var(--navy); text-decoration: none; font: 600 15px var(--display); white-space: nowrap; }
.acct-btn:hover, .acct-btn.is-on { background: var(--leaf-soft); color: var(--navy); }
.acct-btn .ic { width: 20px; height: 20px; color: var(--leaf); }
@media (max-width: 960px) { .acct-btn { width: 40px; height: 40px; padding: 0; justify-content: center; } }
.auth-page .lead { margin: 12px 0 24px; }
.auth-alt { margin: 18px 0 0; text-align: center; }
.acct-hint { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 24px; padding: 12px 16px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf-ink); font-size: 15px; }
.acct-hint .ic { color: var(--leaf); margin-top: 2px; }
/* Header account menu (signed in): the name opens a small panel with account links and Log out. */
.acct-menu { position: relative; }
.acct-menu summary { list-style: none; cursor: pointer; }
.acct-menu summary::-webkit-details-marker { display: none; }
.acct-menu summary .caret { width: 14px; height: 14px; margin-left: -2px; }
.acct-menu[open] summary { background: var(--leaf-soft); }
.acct-menu[open] summary .caret { transform: rotate(180deg); }
.acct-pop { position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; width: 232px; padding: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.acct-pop-head { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acct-pop-head strong { font: 700 14px var(--display); color: var(--navy); }
.acct-pop-head small { font-size: 12px; color: var(--muted); }
.acct-pop a, .acct-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: 600 14px var(--sans); text-align: left; text-decoration: none; cursor: pointer; }
.acct-pop a:hover, .acct-pop button:hover { background: var(--leaf-soft); }
.acct-pop .ic { width: 17px; height: 17px; color: var(--leaf); }
.acct-pop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid var(--line); }
.acct-pop button { color: var(--red-ink); }
.acct-pop button .ic { color: var(--red-ink); }

/* My account: header strip (avatar, name, stats), tabs, then orders (left) and "Add an order" (right). */
.account { max-width: 1080px; padding-top: 28px; }
.ac-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ac-avatar { width: 52px; height: 52px; font-size: 18px; }
.ac-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ac-name { margin: 0; font: 800 clamp(22px, 2.2vw, 28px)/1.1 var(--display); color: var(--navy); }
.ac-sub { font-size: 13.5px; color: var(--muted); }
.ac-stats { display: flex; margin: 0 0 0 auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ac-stats div { padding: 8px 18px; }
.ac-stats div + div { border-left: 1px solid var(--line); }
.ac-stats dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ac-stats dd { margin: 0; font: 800 18px var(--display); color: var(--navy); white-space: nowrap; }
.ac-tabs { display: flex; gap: 4px; margin: 20px 0 20px; border-bottom: 1px solid var(--line-2); }
.ac-tabs a { display: inline-flex; align-items: center; gap: 7px; margin-bottom: -1px; padding: 10px 14px; border-bottom: 2px solid transparent; color: var(--muted); font: 700 14px var(--display); text-decoration: none; }
.ac-tabs a:hover { color: var(--navy); }
.ac-tabs a[aria-current] { border-color: var(--leaf); color: var(--navy); }
.ac-tabs .ic { width: 16px; height: 16px; }
.ac-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ac-main { display: flex; flex-direction: column; gap: 16px; }
.ac-main .box-panel { margin: 0; padding: 20px; }
.empty-orders { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; }
.empty-orders p { margin: 0; }
.ac-add { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; }
.ac-add .op-h { margin: 0; }
.ac-add-intro { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.ac-found { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ac-found li { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.ac-f-top { display: flex; justify-content: space-between; gap: 10px; }
.ac-f-top strong { font: 800 15px var(--display); letter-spacing: .04em; color: var(--navy); }
.ac-f-top span { font: 700 14px var(--display); }
.ac-f-meta { font-size: 12.5px; color: var(--muted); }
.ac-f-form { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 0; }
.ac-f-code { display: inline-flex; align-items: center; gap: 2px; font: 700 14px var(--sans); letter-spacing: .05em; color: var(--ink-2); }
.ac-f-code input { width: 72px; min-height: 38px; padding: 4px 8px; border-radius: 10px; font: 700 14px var(--sans); letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.ac-code { display: flex; flex-direction: column; gap: 6px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line); }
.ac-code label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ac-code .tk-row input { flex: 1; min-width: 0; min-height: 40px; text-transform: uppercase; }
.ac-add-foot { margin: 0; font-size: 12.5px; }
@media (max-width: 960px) {
  .ac-grid { grid-template-columns: minmax(0, 1fr); }
  .ac-add { position: static; }
}
@media (max-width: 640px) {
  .ac-stats { width: 100%; margin: 4px 0 0; }
  .ac-stats div { flex: 1; padding: 8px 12px; }
  .ac-stats dd { font-size: 16px; }
  .ac-tabs { overflow-x: auto; scrollbar-width: none; }
  .ac-tabs a { padding: 10px; white-space: nowrap; }
  .acct-pop { position: fixed; top: 76px; right: 12px; }
}

/* password fields share the standard input look */
input[type=password] { height: 54px; padding: 0 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--surface); font: 500 16px var(--sans); color: var(--ink); width: 100%; }
input[type=password]:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46, 125, 50, .18); }
.fld.has-err input[type=password] { border-color: var(--red-ink); }

/* ---------- v3 full-screen hero (slideshow with text on top) ---------- */
.hero3 { position: relative; height: calc(100vh - var(--top-h, 122px)); min-height: 540px; max-height: 1080px; overflow: hidden; background: #1F2A24; color: #fff; isolation: isolate; }
.h3-slides, .h3-slide { position: absolute; inset: 0; margin: 0; }
.h3-slide { opacity: 0; transition: opacity 1.2s ease; }
.h3-slide.is-on { opacity: 1; }
.h3-img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 9s ease-out; }
.h3-slide.is-on .h3-img { transform: scale(1); }           /* slow settle-in zoom while the picture shows */
/* Legibility: dark on the left where the text sits, and along the bottom for the controls. */
.h3-scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 14, 9, .80) 0%, rgba(18, 14, 9, .55) 36%, rgba(18, 14, 9, 0) 68%),
              linear-gradient(0deg, rgba(18, 14, 9, .55) 0%, rgba(18, 14, 9, 0) 30%); }
.h3-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: end; column-gap: 40px; padding-bottom: 40px; }
.h3-copy { grid-column: 1; grid-row: 1; max-width: 660px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 22px; }
.h3-texts { display: grid; }
.h3-text { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; pointer-events: none; }
.h3-text.is-on { opacity: 1; transform: none; transition-delay: .25s; pointer-events: auto; }
.h3-eyebrow { display: flex; align-items: center; gap: 12px; font: 700 13px var(--display); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.h3-rule { width: 36px; height: 1.5px; background: var(--warm); }
.h3-script { font: 700 clamp(48px, 5.4vw, 76px)/.9 var(--script); color: var(--warm); }
.h3-headline { margin: 0; font: 800 clamp(36px, 4.4vw, 64px)/1.03 var(--display); letter-spacing: -.02em; color: #fff; text-wrap: balance; }
.h3-lead { margin: 0; max-width: 520px; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: rgba(255, 255, 255, .88); }
.h3-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.h3-ghost { border-color: rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(4px); }
.h3-ghost:hover { background: #fff; color: var(--ink); }
.h3-batch { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 36px; width: 270px; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); backdrop-filter: blur(8px); color: #fff; text-decoration: none; transition: background-color .2s ease, transform .2s ease; }
.h3-batch:hover { background: rgba(255, 255, 255, .24); color: #fff; transform: translateY(-2px); }
.h3-batch-k { font: 700 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--warm); }
.h3-batch strong { font: 800 22px var(--display); }
.h3-batch span:last-child { font-size: 14px; color: rgba(255, 255, 255, .88); }
.h3-controls { grid-column: 1 / -1; grid-row: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.h3-bars { display: flex; align-items: center; gap: 12px; }
.h3-bar { width: 72px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: flex; align-items: center; }
.h3-bar span { position: relative; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.h3-bar span::after { content: ""; position: absolute; inset: 0; width: 0; background: #fff; }
.h3-bar.is-done span::after { width: 100%; }
.h3-bar.is-on span::after { animation: h3fill var(--h3-dur, 6s) linear forwards; }
.hero3.is-paused .h3-bar.is-on span::after { animation-play-state: paused; }
@keyframes h3fill { to { width: 100%; } }
.h3-count { margin-left: 6px; font: 600 14px var(--display); color: rgba(255, 255, 255, .85); font-variant-numeric: tabular-nums; }
.h3-arrows { display: flex; gap: 10px; }
.h3-controls { padding-right: 76px; }                        /* keep the arrows clear of the floating WhatsApp button */
.h3-btn { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.h3-btn:hover { background: rgba(255, 255, 255, .15); }
.h3-btn-solid { background: #fff; border-color: #fff; color: var(--ink); }
.h3-btn-solid:hover { background: var(--warm); border-color: var(--warm); }
.h3-btn .ic-play { display: none; }
.hero3.is-paused .h3-btn .ic-play { display: block; }
.hero3.is-paused .h3-btn .ic-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .h3-img, .h3-slide.is-on .h3-img { transform: none; } }
@media (max-width: 960px) {
  .hero3 { height: calc(100svh - var(--top-h, 95px)); min-height: 560px; }
  .h3-scrim { background: linear-gradient(0deg, rgba(18, 14, 9, .9) 0%, rgba(18, 14, 9, .6) 45%, rgba(18, 14, 9, .12) 78%); }
  .h3-inner { grid-template-columns: 1fr; padding-bottom: 24px; }
  .h3-copy { padding-bottom: 20px; gap: 16px; }
  .h3-batch { display: none; }
  .h3-actions .btn { flex: 1 1 100%; }
  .h3-bars { flex: 1; } .h3-bar { flex: 1; width: auto; }
  .h3-arrows .h3-btn:not([data-pause]) { display: none; }
  .h3-controls { padding-right: 62px; }
}
@media (max-width: 760px) { .hero3 { height: calc(100svh - var(--top-h, 95px) - 68px); } }   /* leave room for the phone tab bar */

/* ---------- Page transitions (View Transitions; browsers without it just change pages as before) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; animation-timing-function: ease; }
/* The banner, header and phone tab bar stay put; only the page under them changes. */
.marquee { view-transition-name: site-strip; }
.nav { view-transition-name: site-header; }
.tabbar { view-transition-name: site-tabbar; }
::view-transition-group(site-strip), ::view-transition-group(site-header), ::view-transition-group(site-tabbar) { animation: none; }
::view-transition-old(site-strip), ::view-transition-old(site-header), ::view-transition-old(site-tabbar) { display: none; }
::view-transition-new(site-strip), ::view-transition-new(site-header), ::view-transition-new(site-tabbar) { animation: none; }
/* The highlighted menu item / tab glides to its new place. */
@media (min-width: 961px) { .nav-links .nav-ic[aria-current], .admin-tabs a[aria-current] { view-transition-name: nav-current; } }
.rep-tabs a[aria-current], .sub-tabs a[aria-current] { view-transition-name: tab-current; }
.tabbar a[aria-current] { view-transition-name: tabbar-current; }
::view-transition-group(nav-current), ::view-transition-group(tab-current), ::view-transition-group(tabbar-current) { animation-duration: .32s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
/* A typed tracking code grows into the result's heading; an admin order number moves into the order page. */
.vt-code { view-transition-name: track-code; }
.vt-order { view-transition-name: order-no; }
::view-transition-group(track-code), ::view-transition-group(order-no) { animation-duration: .4s; animation-timing-function: cubic-bezier(.3, .7, .2, 1); }
/* "Add to cart": the pack photo flies into the cart button. */
::view-transition-group(fly-pack) { animation-duration: .6s; animation-timing-function: cubic-bezier(.55, 0, .25, 1); }
::view-transition-old(fly-pack) { animation: vtFlyOut .6s cubic-bezier(.55, 0, .25, 1) both; }
::view-transition-new(fly-pack) { animation: vtFlyIn .25s ease .45s both; }
@keyframes vtFlyOut { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes vtFlyIn { from { opacity: 0; transform: scale(.85); } }
/* Order tracking: the steps appear one after another, then the current dot pulses once. */
.ostep li { animation: stepIn .4s ease both; animation-delay: calc(var(--i, 0) * 110ms + .15s); }
.ostep li.now .od { animation: stepPulse 1s ease calc(var(--i, 0) * 110ms + .5s) 1 both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-10px); } }
@keyframes stepPulse { 0% { box-shadow: 0 0 0 0 rgba(244, 184, 96, .7); } 100% { box-shadow: 0 0 0 12px rgba(244, 184, 96, 0); } }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .ostep li, .ostep li.now .od { animation: none; }
}

/* ---------- Home slideshow text: staggered reveal (replaces the plain fade) ----------
   In: the label draws in, the script line "writes" left to right, the headline rises word by word,
   then the short line fades up. Out: the old text lifts away quickly so slides never overlap. */
.h3-text, .h3-text.is-on { opacity: 1; transform: none; transition: visibility 0s linear .45s; visibility: hidden; }
.h3-text.is-on { visibility: visible; transition-delay: 0s; }
.h3-text:not(.is-on) > * { animation: h3Out .42s ease both; }
@keyframes h3Out { to { opacity: 0; transform: translateY(-14px); filter: blur(3px); } }
.h3-text.is-on .h3-eyebrow { animation: h3Slide .55s ease .3s both; }
.h3-text.is-on .h3-rule { animation: h3Rule .7s cubic-bezier(.2, .7, .2, 1) .3s both; }
.h3-text.is-on .h3-script { animation: h3Write 1.1s cubic-bezier(.55, 0, .2, 1) .45s both; }
.h3-headline .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.h3-headline .w > span { display: inline-block; }
.h3-text.is-on .h3-headline .w > span { animation: h3Rise .75s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.75s + var(--wi, 0) * 65ms); }
.h3-text.is-on .h3-lead { animation: h3Up .7s ease 1.3s both; }
@keyframes h3Slide { from { opacity: 0; transform: translateX(-12px); } }
@keyframes h3Rule { from { width: 0; } }
@keyframes h3Write { from { clip-path: inset(-25% 100% -25% -6%); } to { clip-path: inset(-25% -6% -25% -6%); } }
@keyframes h3Rise { from { transform: translateY(110%); } }
@keyframes h3Up { from { opacity: 0; transform: translateY(10px); } }
@media (prefers-reduced-motion: reduce) {
  .h3-text *, .h3-text:not(.is-on) > * { animation: none !important; }
  .h3-text { transition: none; }
}

/* Track: one search card (code box + Track button on one row), then the customer's recent orders with their live
   status, then two short tips. One narrow column, centred. */
.track-page { max-width: 760px; padding-top: 32px; }
.tk-search { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 20px; }
.tk-title { margin: 0 0 6px; font: 800 clamp(26px, 2.6vw, 34px)/1.1 var(--display); letter-spacing: -.01em; color: var(--navy); }
.tk-row { display: flex; gap: 10px; }
.tk-row .code-field { flex: 1; min-width: 0; }
.tk-row .btn { min-height: 54px; padding: 0 30px; font-size: 16px; }
.tk-search .fld { gap: 6px; }
/* Under the code box: a one-line space kept for an error, so showing one moves nothing. */
.track-err { margin: 0; min-height: 1.45em; font-size: 13.5px; line-height: 1.45; font-weight: 600; color: var(--red-ink); }
/* Order code box: the shop prefix ("IF-") sits fixed inside the box; the customer types what follows it. */
.code-field { position: relative; display: block; }
/* Same font, weight, colour and spacing as the typed text, so "IF-" + "KMRT-4821" reads as one code.
   The script sets the input's left padding to end exactly where "IF-" ends (41px is the fallback). */
.code-prefix { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font: 600 17px var(--sans); letter-spacing: .05em; color: var(--ink); pointer-events: none; }
.code-field input { width: 100%; min-height: 54px; padding-left: 41px; font: 600 17px var(--sans); letter-spacing: .05em; }
.code-field input::placeholder { font-weight: 600; letter-spacing: .05em; }
.tk-where { list-style: none; margin: 0; padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.tk-where li { display: flex; align-items: center; gap: 7px; }
.tk-where .ic { width: 16px; height: 16px; color: var(--leaf); }
.tk-where strong { color: var(--ink-2); }
.track-sub { margin: 0; font: 700 12.5px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tk-recent { margin-top: 28px; }
.tk-recent-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.tk-orders { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tk-order { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.tk-order:hover { border-color: var(--leaf); box-shadow: 0 6px 18px rgba(29, 63, 127, .08); }
.tk-o-top { display: flex; align-items: center; gap: 10px; }
.tk-o-code { font: 800 16px var(--display); letter-spacing: .03em; color: var(--navy); white-space: nowrap; }
.tk-o-top .op-chip { padding: 2px 10px; font-size: 12px; }
.tk-o-total { margin-left: auto; font: 700 15px var(--display); white-space: nowrap; }
.tk-o-total::after { content: "›"; margin-left: 10px; font-size: 20px; line-height: 0; color: var(--muted); }
.tk-bar { display: block; height: 5px; border-radius: 99px; background: var(--line); overflow: hidden; }
.tk-bar span { display: block; height: 100%; min-width: 5px; border-radius: 99px; background: var(--leaf); }
.tk-o-meta { overflow: hidden; font-size: 12.5px; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }
.tk-more { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.tk-more li { display: flex; align-items: flex-start; gap: 9px; }
.tk-more .ic { flex-shrink: 0; width: 18px; height: 18px; color: var(--leaf); }
@media (max-width: 640px) {
  .track-page { padding-top: 16px; }
  .tk-search { padding: 20px 16px 16px; }
  .tk-row .btn { padding: 0 20px; }
  .tk-where { gap: 6px 14px; font-size: 12.5px; }
  .tk-order { padding: 12px 14px; }
  .tk-o-top { gap: 8px; }
  .tk-o-code { font-size: 15px; letter-spacing: .01em; }
  .tk-o-top .op-chip { padding: 2px 8px; font-size: 11px; }
  .tk-o-total { font-size: 14px; }
  .tk-o-total::after { margin-left: 6px; }
}
@media (prefers-reduced-motion: reduce) { .tk-order { transition: none; } }

/* Headline: soft focus-in per word (fade from a slight blur, tiny drift) — replaces the rise-from-a-line. */
.h3-headline .w { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
.h3-text.is-on .h3-headline .w > span { animation: h3Focus .9s cubic-bezier(.25, .6, .3, 1) both; animation-delay: calc(.7s + var(--wi, 0) * 55ms); }
@keyframes h3Focus { from { opacity: 0; filter: blur(10px); transform: translateY(8px); } 60% { filter: blur(0); } to { opacity: 1; filter: blur(0); transform: none; } }
/* Yellow script line: same soft focus-in as the headline (replaces the left-to-right "writing" wipe). */
.h3-text.is-on .h3-script { animation: h3Focus 1s cubic-bezier(.25, .6, .3, 1) .4s both; }
/* Yellow handwriting line: no animation — shown as is, and hidden at once when its slide leaves. */
.h3-text.is-on .h3-script { animation: none; }
.h3-text:not(.is-on) .h3-script { animation: none; visibility: hidden; }

/* ---------- Home slideshow text: ONE motion for every line (supersedes the rules above) ----------
   Label, handwriting, headline and short line all fade up the same way, same speed and easing,
   0.1 s apart, timed with the photo crossfade. The old slide's text fades out together. */
.h3-text.is-on .h3-rule, .h3-text.is-on .h3-headline .w > span { animation: none; }
.h3-text.is-on > *, .h3-text.is-on .h3-script { animation: h3In .9s cubic-bezier(.22, .61, .36, 1) both; visibility: visible; }
.h3-text.is-on > :nth-child(1) { animation-delay: .35s; }
.h3-text.is-on > :nth-child(2) { animation-delay: .45s; }
.h3-text.is-on > :nth-child(3) { animation-delay: .55s; }
.h3-text.is-on > :nth-child(4) { animation-delay: .65s; }
.h3-text:not(.is-on) > *, .h3-text:not(.is-on) .h3-script { animation: h3OutAll .45s ease both; visibility: visible; }
@keyframes h3In { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes h3OutAll { to { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .h3-text > *, .h3-text .h3-script { animation: none !important; } }
.h3-text.is-on .h3-eyebrow, .h3-text.is-on .h3-lead { animation: h3In .9s cubic-bezier(.22, .61, .36, 1) both; }
.h3-text.is-on .h3-eyebrow { animation-delay: .35s; }
.h3-text.is-on .h3-lead { animation-delay: .65s; }

/* ---------- Home slideshow text: no animation (final — supersedes all hero text rules above) ----------
   Each slide's text simply appears with its picture and disappears when the slide changes. */
.h3-text, .h3-text * { animation: none !important; transition: none !important; }
.h3-text { visibility: hidden; opacity: 1; transform: none; }
.h3-text.is-on { visibility: visible; }
.h3-text > *, .h3-text .h3-script { visibility: inherit !important; opacity: 1; transform: none; filter: none; }

/* Monthly box panel (order page, My account) */
.box-panel { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.box-panel p { margin: 0; }
.box-panel .btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.box-panel .inline-form { display: inline; margin: 0; }

/* Home: product tabs above the Most Loved row (only when more than one product is on sale) */
.ptabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.ptabs a { padding: 7px 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--navy); text-decoration: none; font: 600 14px var(--display); }
.ptabs a:hover { border-color: var(--leaf); }
.ptabs a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.pcard[hidden] { display: none; }

/* ---------- Order page: confirmation + tracking in one (order.php) ---------- */
.btn-sm { min-height: 40px; padding: 0 18px; gap: 8px; font-size: 14px; }
.btn-sm .ic { width: 17px; height: 17px; }
.op-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-areas: "head qr" "main side"; gap: 28px 48px; align-items: start; }
.op-head { grid-area: head; }
.op-main { grid-area: main; display: flex; flex-direction: column; gap: 20px; }
.op-side { grid-area: side; top: 104px; gap: 14px; }
.op-thanks { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding: 14px 18px; border-radius: 16px; background: var(--leaf-soft); color: var(--leaf-ink); line-height: 1.5; }
.op-thanks strong { display: block; }
.op-thanks .thanks-ic { width: 38px; height: 38px; }
.op-thanks .thanks-ic .ic { width: 20px; height: 20px; }
.op-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 4px 0 6px; }
.op-code { margin: 0; padding: 6px 16px; border: 2px dotted var(--leaf); border-radius: 14px; background: var(--surface); font: 800 clamp(28px, 3.2vw, 42px)/1.05 var(--display); letter-spacing: .03em; color: var(--navy); }
.op-chip { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 99px; font: 700 13px var(--display); white-space: nowrap; }
.op-chip-green { background: var(--leaf-soft); color: var(--leaf-ink); }
.op-chip-amber { background: var(--warm-soft); color: var(--warm-ink); }
.op-chip-red { background: var(--red-soft); color: var(--red-ink); }
.op-meta { margin: 0; color: var(--ink-2); }
.op-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.op-title { margin-bottom: 10px; }
.op-hint { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.op-main .pay-box { margin: 0; }
.op-card { padding: 0; }
.op-sec { padding: 16px 20px; font-size: 14px; }
.op-sec + .op-sec { border-top: 1px solid var(--line); }
.op-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 9px; border-bottom: 1px solid var(--line); font: 700 15px var(--display); color: var(--navy); }
.op-h .ic { width: 16px; height: 16px; color: var(--leaf); }
.op-who-sec { padding-top: 14px; padding-bottom: 16px; }
.op-who { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, 1.1fr); border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.op-who-cell { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px 14px; }
.op-who-cell + .op-who-cell { border-left: 1px solid var(--line); }
.op-who-cell > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.op-who-cell strong { font: 700 14.5px/1.25 var(--display); color: var(--navy); }
.op-who-cell small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.op-avatar { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 99px; background: var(--navy); color: #fff; font: 800 14px var(--display); letter-spacing: .04em; }
.op-who-ic { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--leaf-soft); color: var(--leaf); }
.op-who-ic .ic { width: 18px; height: 18px; }
.op-city { align-self: flex-start; padding: 1px 9px; border-radius: 99px; background: var(--navy); color: #fff; font: 700 11px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.op-note { margin: 10px 0 0; padding: 8px 12px; border-left: 3px solid var(--marigold); border-radius: 0 10px 10px 0; background: var(--warm-soft); font-size: 13px; color: var(--warm-ink); }
.op-wide { grid-column: 1 / -1; }
.op-items { list-style: none; margin: 0 0 10px; padding: 0; }
.op-card .totals { gap: 6px; font-size: 14px; }
.op-card .totals .grand { padding-top: 8px; font-size: 17px; }
.op-items li { display: flex; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.op-q { min-width: 34px; font-weight: 700; color: var(--navy); }
.op-l { flex: 1; }
.op-l small { display: block; font-size: 12px; color: var(--muted); }
.op-p { font-weight: 700; white-space: nowrap; }
.op-tag { margin-left: 6px; padding: 1px 8px; border-radius: 99px; background: var(--leaf-soft); color: var(--leaf-ink); font: 700 11px var(--display); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
.op-pay { margin: 10px 0 0; font-size: 13px; color: var(--ink-2); }
.op-rate .rate { margin: 0 0 18px; }
.order-page .order-card { gap: 12px; padding: 20px; }
.oc-head { display: flex; flex-direction: column; gap: 4px; }
.oc-now { font: 800 21px/1.1 var(--display); color: #fff; }
.order-page .order-card .eyebrow { font-size: 11.5px; }
.order-page .oc-sub { font-size: 13px; margin: 0; }
.oc-head .oc-sub { margin: 0; }
.order-page .ostep li { gap: 12px; padding: 5px 0; }
.order-page .ostep strong { font-size: 14px; }
.order-page .ostep small { font-size: 12px; }
.order-page .ostep .od { width: 18px; height: 18px; }
.order-page .ostep li:not(:last-child)::after { left: 8px; top: 25px; bottom: -5px; }
.op-qr { grid-area: qr; align-self: end; display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.oc-qr-img { width: 92px; height: 92px; flex-shrink: 0; }
.oc-qr-img img, .oc-qr-img canvas { width: 100% !important; height: 100% !important; }
.oc-qr-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.oc-qr-txt strong { color: var(--navy); font: 700 15px var(--display); }
.oc-qr-save { margin-top: 2px; color: var(--leaf); font-weight: 700; }
.op-origin { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line-2); }
.op-origin-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.op-origin-head p { margin: 0; }
.op-batch { border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.op-batch + .op-batch { margin-top: 12px; }
.op-batch summary { display: flex; align-items: center; gap: 12px; padding: 18px 22px; cursor: pointer; list-style: none; font-family: var(--display); color: var(--navy); }
.op-batch summary::-webkit-details-marker { display: none; }
.op-batch summary::after { content: "+"; margin-left: 12px; font-size: 24px; line-height: 1; }
.op-batch[open] summary::after { content: "−"; }
.op-batch-s { margin-left: auto; font-size: 14px; color: var(--muted); }
.op-batch-body { padding: 0 22px 22px; }
.op-batch-body .h2.sm { margin: 32px 0 20px; font-size: 24px; }
@media (max-width: 960px) {
  .op-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "side" "main" "qr"; }
}
@media (max-width: 640px) {
  .op-sec { padding: 18px; }
  .op-who { grid-template-columns: minmax(0, 1fr); }
  .op-who-cell + .op-who-cell { border-left: 0; border-top: 1px solid var(--line); }
  .op-actions .btn { flex: 1 1 0; }
  .op-code { padding: 4px 10px; font-size: 23px; white-space: nowrap; }
  .op-actions { flex-basis: 100%; gap: 8px; }
  .op-actions .btn { flex: 1 1 auto; padding: 0 12px; white-space: nowrap; }
  .op-meta { font-size: 14px; }
  .op-hint { font-size: 12px; }
  .op-batch-s { display: none; }
  .op-origin { margin-top: 44px; padding-top: 28px; }
}
/* Profile & password tabs: compact two-column fields, small inputs */
.ac-card { display: grid; grid-template-columns: minmax(0, 1.95fr) minmax(0, .8fr); padding: 0; overflow: hidden; }
.ac-card-main { display: flex; flex-direction: column; gap: 14px; padding: 18px 22px; }
.ac-card-side { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-left: 1px solid var(--line); background: #FDFBF5; }
.ac-card .op-h { margin: 0; }
.ac-fields.ac-fields-pw { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ac-tips-k { color: var(--navy); margin: 0; }
.ac-card-side .ac-tips { padding: 0; background: none; }
.ac-facts-wide { grid-column: 1 / -1; }
.ac-fields { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 12px 14px; }
.ac-card .fld { gap: 5px; }
.ac-card .fld label { font-size: 12.5px; color: var(--ink-2); }
.ac-card input[type=text], .ac-card input[type=email], .ac-card input[type=password] { height: 42px; min-height: 0; padding: 0 12px; border-radius: 12px; font-size: 14.5px; }
.ac-card .err { font-size: 12.5px; }
.ac-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; }
@media (max-width: 640px) {
  .ac-fields { grid-template-columns: 1fr; }
  .ac-card { grid-template-columns: minmax(0, 1fr); }
  .ac-card-side { border-left: 0; border-top: 1px solid var(--line); }
  .ac-card-main { padding: 16px; }
  .ac-fields.ac-fields-pw { grid-template-columns: minmax(0, 1fr); }
}
.ac-note { margin: -6px 0 0; font-size: 12px; color: var(--muted); }
.ac-card input[readonly] { background: var(--bg); color: var(--ink-2); cursor: default; }
.ac-card input[readonly]:focus { border-color: var(--line-2); box-shadow: none; }
.ac-h-row { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.ac-h-row .op-h { padding: 0; border: 0; }
.ac-facts { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.ac-facts div { display: flex; align-items: baseline; gap: 5px; padding: 3px 10px; border-radius: 99px; background: var(--bg); }
.ac-facts dt { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ac-facts dd { margin: 1px 0 0; font: 700 14px var(--display); color: var(--navy); }
.ac-facts a { text-decoration: none; }
.ac-ship { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--leaf-soft); font-size: 13px; color: var(--leaf-ink); }
.ac-ship-k { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font: 700 11px var(--display); letter-spacing: .08em; text-transform: uppercase; }
.ac-ship-k .ic { width: 15px; height: 15px; }
.ac-ship strong { font: 700 14px var(--display); color: var(--navy); }
.ac-tips { list-style: none; margin: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; border-radius: 14px; background: var(--bg); font-size: 13px; color: var(--ink-2); }
.ac-tips li { display: flex; align-items: flex-start; gap: 8px; }
.ac-tips .ic { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; color: var(--leaf); }

/* Map location on address forms (lib/geo.php): location button or a pasted Google Maps link, then a status line. */
.geo { gap: 8px; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 14px; background: #FDFBF5; }
.geo-k { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.geo-k small { font-weight: 500; color: var(--muted); }
.geo-k .ic { width: 16px; height: 16px; color: var(--leaf); }
.geo-row { display: flex; align-items: center; gap: 10px; }
.geo-row .btn { flex-shrink: 0; }
.geo-row .btn .ic { width: 15px; height: 15px; }
.geo-row input { flex: 1; min-width: 0; height: 40px; min-height: 0; padding: 0 12px; border-radius: 12px; font-size: 14px; }
.geo-or { font-size: 13px; color: var(--muted); }
.geo-status { min-height: 1.4em; margin: 0; font-size: 12.5px; color: var(--leaf-ink); }
.geo-status .link-btn { padding: 0; font-size: 12.5px; }
.geo-status .err { color: var(--red-ink); font-weight: 600; }
.geo-map { display: block; width: 100%; height: 170px; margin-top: 8px; border: 0; border-radius: 12px; background: var(--line); }
.ac-map-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-weight: 700; font-size: 13px; color: var(--leaf-ink); }
.ac-map-link .ic { width: 14px; height: 14px; }
.ac-map-none { margin-top: 6px; font-size: 12.5px; color: var(--muted); }
.op-map { margin-top: 2px; font-size: 12.5px; font-weight: 700; color: var(--leaf); }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--leaf); }
@media (max-width: 640px) {
  .geo-row { flex-wrap: wrap; }
  .geo-row .btn { flex: 1 1 100%; }
  .geo-or { display: none; }
}
/* Profile: one full-width card */
.ac-card.ac-card-full { grid-template-columns: minmax(0, 1fr); }
.ac-fields.ac-fields-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ac-span-2 { grid-column: span 2; }
.ac-span-3 { grid-column: span 3; }
.ac-geo.has-map { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: center; }
.ac-map-box .geo-map { height: 150px; margin: 0; }
@media (max-width: 960px) {
  .ac-fields.ac-fields-4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ac-span-3 { grid-column: 1 / -1; }
  .ac-geo.has-map { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .ac-fields.ac-fields-4 { grid-template-columns: minmax(0, 1fr); }
  .ac-span-2, .ac-span-3 { grid-column: auto; }
}
/* Profile & Password fields: shorter inputs, tighter rows */
.ac-card .ac-fields { gap: 8px 12px; }
.ac-card .fld { gap: 3px; }
.ac-card .fld label { font-size: 12px; }
.ac-card input[type=text], .ac-card input[type=email], .ac-card input[type=password], .ac-card .geo-row input { height: 36px; padding: 0 11px; border-radius: 10px; font-size: 14px; }
.ac-card .geo { gap: 6px; padding: 10px 12px; }
.ac-card .geo-row .btn { min-height: 36px; }
.ac-card .ac-card-main { gap: 12px; padding: 16px 20px; }
.ac-card .ac-map-box .geo-map { height: 120px; }
/* Profile & Password: smaller type throughout the card */
.ac-card .ac-tips, .ac-card .ac-tips a { font-size: 12px; }
.ac-card .ac-tips-k { font-size: 10.5px; }
.ac-card .err { font-size: 11.5px; }
.ac-card input[type=text], .ac-card input[type=email], .ac-card input[type=password], .ac-card .geo-row input { font-size: 13px; }
.ac-card .fld label { font-size: 11.5px; }
.ac-card .op-h { font-size: 14px; }
.ac-card .ac-facts dt { font-size: 10px; }
.ac-card .ac-facts dd { font-size: 12.5px; }
.ac-card .geo-k { font-size: 12.5px; }
.ac-card .geo-k small, .ac-card .geo-or, .ac-card .geo-status, .ac-card .geo-status .link-btn { font-size: 11.5px; }
.ac-card .geo-row .btn { padding: 0 14px; font-size: 13px; }
.ac-card .ac-foot { font-size: 12px; }
.ac-card .ac-foot .btn { font-size: 13px; }
.ac-card .ac-geo { margin-top: 8px; }   /* breathing room between the address row and the map block */
/* Live "passwords match" line under a "password again" box */
.pw-live { min-height: 1.3em; font-size: 12px; font-weight: 600; color: var(--muted); }
.pw-live.ok { color: var(--leaf); }
.pw-live.bad { color: var(--red-ink); }
.ac-card .pw-live { font-size: 11.5px; }
input.pw-bad, input:user-invalid[data-pw-match] { border-color: var(--red-ink); }
/* Show / hide password: eye button inside the box */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { width: 100%; padding-right: 44px !important; }
.pw-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.pw-eye:hover { color: var(--navy); background: var(--bg); }
.pw-eye:focus-visible { outline: 2px solid var(--leaf); outline-offset: 1px; }
.pw-eye .ic { width: 18px; height: 18px; }
.ac-card .pw-eye { width: 28px; height: 28px; right: 4px; }
.ac-card .pw-eye .ic { width: 16px; height: 16px; }

/* Cart: compact lines with − / + steppers, smaller type, slim summary */
.js .js-hide { display: none; }
.cart-page { max-width: 1040px; padding-top: 28px; }
.cart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cart-title { margin: 0; font: 800 clamp(24px, 2.4vw, 30px)/1.1 var(--display); color: var(--navy); }
.cart-title span { margin-left: 6px; font: 600 14px var(--sans); color: var(--muted); }
.cart-page .split { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 20px; }
.cart-lines { padding: 6px 18px; }
.cart-lines .lines { margin: 0; }
.cart-lines .line { gap: 12px; padding: 12px 0; font-size: 14px; }
.cart-lines .line:last-child { border-bottom: 0; }
.cart-lines .thumb { width: 48px; height: 48px; border-radius: 10px; font-size: 11px; }
.cart-lines .line-t { font-size: 14.5px; }
.cart-lines .line-s { font-size: 12.5px; }
.cart-lines .line-p { min-width: 72px; font-size: 14.5px; text-align: right; }
.qty-step { display: inline-flex; align-items: center; height: 34px; border: 1.5px solid var(--line-2); border-radius: 99px; background: var(--surface); overflow: hidden; }
.qty-step button { width: 32px; height: 100%; padding: 0; border: 0; background: none; color: var(--navy); font: 700 17px/1 var(--display); cursor: pointer; }
.qty-step button:hover:not(:disabled) { background: var(--leaf-soft); }
.qty-step button:disabled { opacity: .35; cursor: default; }
.qty-step input { width: 34px; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: center; font: 700 14px var(--sans); -moz-appearance: textfield; }
.qty-step input::-webkit-outer-spin-button, .qty-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step input:focus { box-shadow: none; outline: 2px solid var(--leaf); outline-offset: -2px; }
.cart-lines > .btn { margin: 4px 0 14px; }
.cart-sum { top: 104px; gap: 12px; padding: 18px 20px; }
.cart-sum .op-h { margin: 0; }
.cart-sum .totals { gap: 6px; font-size: 14px; }
.cart-sum .totals .grand { padding-top: 8px; font-size: 18px; }
.free-bar { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: var(--ink-2); }
.free-ok { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: var(--leaf); }
.free-ok .ic { width: 16px; height: 16px; }
.cart-sum .warn { font-size: 13px; }
.cart-page .empty { padding: 40px; font-size: 16px; }
@media (max-width: 640px) {
  .cart-page .split { grid-template-columns: minmax(0, 1fr); }
  .cart-lines { padding: 4px 14px; }
  .cart-head { flex-wrap: wrap; }
  .cart-title { white-space: nowrap; }
  .cart-lines .line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-areas: "thumb main main" "thumb step price"; gap: 8px 12px; align-items: center; }
  .cart-lines .thumb { grid-area: thumb; align-self: start; }
  .cart-lines .line-main { grid-area: main; }
  .cart-lines .qty-step { grid-area: step; justify-self: start; }
  .cart-lines .line-p { grid-area: price; min-width: 0; }
}
/* Cart: bin icon per line; not-enough-stock box with "reduce to fit" and the notify checkbox */
.line-rm { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.line-rm:hover { background: var(--red-soft); color: var(--red-ink); }
.line-rm .ic { width: 17px; height: 17px; }
.short { display: flex; flex-direction: column; gap: 10px; }
.short form { margin: 0; }
.short-t { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--warm-soft); color: var(--warm-ink); font-size: 13px; line-height: 1.45; }
.short-t .ic { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
.notify-opt { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px dashed var(--line-2); border-radius: 12px; }
.notify-opt .check-row { align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.4; }
.notify-opt .check-row input { margin-top: 1px; flex-shrink: 0; }
.notify-opt .check-row .ic { flex-shrink: 0; width: 15px; height: 15px; margin-top: 2px; color: var(--leaf); }
.notify-more { display: none; gap: 8px; }
.notify-opt:has(.notify-cb:checked) .notify-more { display: flex; }
.notify-more input { flex: 1; min-width: 0; height: 38px; min-height: 0; padding: 0 12px; border-radius: 10px; font-size: 14px; }
.notify-done { display: flex; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--leaf-soft); color: var(--leaf-ink); font-size: 13px; }
.notify-done .ic { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
@media (max-width: 640px) {
  .cart-lines .line { grid-template-columns: 48px minmax(0, 1fr) auto auto; grid-template-areas: "thumb main main rm" "thumb step price price"; }
  .cart-lines .line-rm { grid-area: rm; align-self: start; }
}

/* Floating cart bar (lib/layout.php → page_foot): bag + count, items total, View cart, Checkout. */
.cart-bar { position: fixed; left: 50%; bottom: calc(18px + var(--lift, 0px)); z-index: 35; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  width: min(620px, calc(100vw - 32px)); padding: 10px 10px 10px 16px; border-radius: 18px; background: var(--leaf); color: #fff;
  border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 34px rgba(20, 50, 25, .35); }
.cart-bar[hidden] { display: none; }
.cart-bar.pop { animation: cbPop .45s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes cbPop { 0% { transform: translateX(-50%) translateY(14px); opacity: .4; } 100% { transform: translateX(-50%); opacity: 1; } }
.cb-sum { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: #fff; text-decoration: none; }
.cb-ic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.cb-ic .ic { width: 20px; height: 20px; }
.cb-n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--marigold); color: var(--ink); font: 800 11px/20px var(--display); text-align: center; }
.cb-txt { display: flex; flex-direction: column; min-width: 0; }
.cb-txt strong { font: 800 17px/1.15 var(--display); white-space: nowrap; }
.cb-txt small { overflow: hidden; font-size: 11.5px; color: #D8EDCF; white-space: nowrap; text-overflow: ellipsis; }
.cb-view { background: rgba(255, 255, 255, .12); color: #fff; }
.cb-view:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.cb-go { background: var(--marigold); color: var(--ink); }
.cb-go:hover { background: var(--marigold-hi); color: var(--ink); }
/* Room for the bar: page end and the WhatsApp button move up while it shows */
.has-cart-bar main { padding-bottom: 84px; }   /* the last content can scroll clear of the bar; the footer keeps its size */
.has-cart-bar .wa-float { bottom: calc(96px + var(--lift, 0px)); }
@media (max-width: 760px) {
  .cart-bar { bottom: calc(76px + env(safe-area-inset-bottom) + var(--lift, 0px)); width: calc(100vw - 20px); padding: 8px 8px 8px 12px; gap: 8px; }
  .has-cart-bar main { padding-bottom: 76px; }
  .has-cart-bar .wa-float { bottom: calc(150px + env(safe-area-inset-bottom) + var(--lift, 0px)); }
  .cb-view { display: none; }   /* the whole left side already opens the cart */
  .cb-txt strong { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .cart-bar.pop { animation: none; } }
/* Cart bar summary is a link: keep its text white on hover (the site's link hover colour is navy) */
.cb-sum:hover, .cb-sum:focus-visible { color: #fff; }
.cb-sum:hover .cb-ic { background: rgba(255, 255, 255, .2); }
.cb-sum:hover .cb-txt strong { text-decoration: underline; text-underline-offset: 3px; }

/* Checkout: three numbered cards (Contact, Delivery, Payment) beside a slim summary; compact fields and type */
.co-page { max-width: 1080px; padding-top: 28px; }
.co-hint { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; font-size: 13px; color: var(--ink-2); }
.co-hint .ic { width: 16px; height: 16px; color: var(--leaf); }
.co-page .co-split { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 20px; }
.co-main { display: flex; flex-direction: column; gap: 12px; }
.co-main .flash { margin: 0; }
.co-card { padding: 14px 18px 16px; }
.co-h { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 700 14.5px var(--display); color: var(--navy); }
.co-n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; background: var(--leaf); color: #fff; font: 800 11px var(--display); }
.co-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; }
.co-span-2 { grid-column: span 2; }
.co-span-3 { grid-column: span 3; }
.co-span-4 { grid-column: 1 / -1; }
.co-page .fld { gap: 3px; }
.co-page .fld label { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.co-page .fld input[type=text], .co-page .fld input[type=tel], .co-page .fld input[type=email], .co-page .geo-row input {
  height: 36px; min-height: 0; padding: 0 11px; border-radius: 10px; font-size: 13px; }
.co-page .err { font-size: 11.5px; }
.co-page .geo { gap: 6px; padding: 10px 12px; }
.co-page .geo-k { font-size: 12.5px; }
.co-page .geo-k small, .co-page .geo-or, .co-page .geo-status, .co-page .geo-status .link-btn { font-size: 11.5px; }
.co-page .geo-row .btn { min-height: 36px; padding: 0 14px; font-size: 13px; }
.co-page .check-row { font-size: 12.5px; }
.co-page .check-row input { width: 16px; height: 16px; }
.co-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.co-pay .radio-card { gap: 10px; padding: 10px 12px; font-size: 13.5px; }
.co-pay .radio-card:has(input:checked) { padding: 9.5px 11.5px; }
.co-pay .radio-card input { width: 16px; height: 16px; }
.co-pay .radio-card small { font-size: 11.5px; }
.co-sum { gap: 12px; }
.co-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.co-lines li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.co-lines .thumb { width: 38px; height: 38px; border-radius: 9px; font-size: 9.5px; }
.co-l { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.co-l strong { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.co-l small { font-size: 11.5px; color: var(--muted); }
.co-p { font: 700 13px var(--display); white-space: nowrap; }
.co-info { display: flex; gap: 8px; margin: 0; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.co-info .ic { flex-shrink: 0; width: 15px; height: 15px; margin-top: 1px; color: var(--leaf); }
@media (max-width: 960px) { .co-page .co-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .co-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .co-span-2, .co-span-3 { grid-column: 1 / -1; }
  .co-pay { grid-template-columns: minmax(0, 1fr); }
  .co-card { padding: 12px 14px 14px; }
}
.geo-k { flex-wrap: wrap; white-space: nowrap; }
.geo-k small { white-space: normal; }
@media (max-width: 640px) { .geo-k small { flex-basis: 100%; margin-left: 23px; } }
/* Checkout & account forms: a label never wraps, so boxes in a row always line up */
.co-page .fld label, .ac-card .fld label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Checkout contact row: name narrower, email wider (addresses are long) */
.co-grid.co-grid-contact { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) 200px; }   /* email box fixed at 200px */
@media (max-width: 640px) {
  .co-grid.co-grid-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .co-grid-contact > div:first-child { grid-column: 1 / -1; }
}
.ac-span-4 { grid-column: 1 / -1; }
/* Order page: compact order details */
.op-items { margin-bottom: 6px; }
.op-items li { gap: 8px; padding: 4px 0; font-size: 13px; }
.op-q { min-width: 26px; font-size: 12.5px; }
.op-l small { display: inline; margin-left: 6px; font-size: 11.5px; }
.op-l small::before { content: "· "; }
.op-p { font-size: 13px; }
.op-tag { padding: 0 6px; font-size: 10px; }
.op-card .totals { gap: 3px; font-size: 12.5px; }
.op-card .totals .grand { padding-top: 6px; font-size: 15px; }
.op-pay { margin-top: 8px; font-size: 12px; }
.op-sec:not(.op-who-sec) { padding-top: 12px; padding-bottom: 14px; }
/* Order page: make the current status stand out */
.op-title > .op-chip { gap: 7px; padding: 6px 14px; font-size: 14px; box-shadow: inset 0 0 0 1.5px currentColor; }
.op-title > .op-chip::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; }
.op-title > .op-chip-amber::before { animation: nowDot 1.6s ease-in-out infinite; }
@keyframes nowDot { 50% { opacity: .25; } }
/* the current step in the parcel card: highlighted band, bigger label */
.order-page .ostep li.now { margin: 2px -10px; padding: 7px 10px; border-radius: 12px; background: rgba(255, 255, 255, .12); }
.order-page .ostep li.now strong { font-size: 16px; color: var(--warm); }
.order-page .ostep li.now small { color: #fff; }
.order-page .ostep li.now:not(:last-child)::after { left: 18px; }
@media (prefers-reduced-motion: reduce) { .op-title > .op-chip-amber::before { animation: none; } }
.op-title > .op-chip { padding: 8px 16px; font-size: 15px; box-shadow: 0 6px 16px rgba(0, 0, 0, .12); }
.op-title > .op-chip-amber { background: var(--marigold); color: var(--ink); }
.op-title > .op-chip-green { background: var(--leaf); color: #fff; }
.op-title > .op-chip-red { background: var(--red-ink); color: #fff; }
.op-code { padding: 4px 12px; font-size: clamp(22px, 2.2vw, 28px); }
/* Order page title row: more breathing room between code, status and the Copy / Share buttons */
.op-title { gap: 10px 16px; }
.op-title > .op-chip { margin-right: 8px; }
.op-title .op-actions { gap: 10px; }
.op-title > .op-chip { margin-right: 0; }
/* Payment status beside the order status; the 140px gap to Copy code now follows it */
.op-paychip { display: inline-flex; align-items: center; margin-right: 124px; padding: 6px 12px; border-radius: 99px; font: 700 13px var(--display); white-space: nowrap; }
.op-paychip-due { background: var(--surface); color: var(--warm-ink); box-shadow: inset 0 0 0 1.5px var(--warm); }
.op-paychip-paid { background: var(--leaf-soft); color: var(--leaf-ink); box-shadow: inset 0 0 0 1.5px var(--leaf-light); }
@media (max-width: 960px) { .op-paychip { margin-right: 0; } }
/* Delivering to: bigger customer name */
.op-who-person strong { font-size: 17px; }
/* Title row: status + payment on the left, Copy / Share pushed to the right end (big gap, no wrapping) */
.op-paychip { margin-right: 0; }
.op-title .op-actions { margin-left: auto; }
/* Title row never wraps on desktop: code, status, payment, Copy, Share on one line (they shrink a little instead) */
@media (min-width: 641px) {
  .op-title { flex-wrap: nowrap; gap: 10px; }
  .op-title > * { flex-shrink: 0; }
  .op-title .op-actions { gap: 8px; }
  .op-title .op-actions .btn { padding: 0 14px; }
}
@media (min-width: 641px) and (max-width: 1250px) {
  .op-title > .op-chip { padding: 6px 12px; font-size: 13.5px; }
  .op-paychip { padding: 5px 10px; font-size: 12px; }
  .op-title .op-actions .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
}
@media (min-width: 641px) and (max-width: 1250px) {
  .op-code { padding: 3px 10px; font-size: 21px; letter-spacing: .02em; }
  .op-title > .op-chip { gap: 6px; padding: 5px 11px; font-size: 13px; }
  .op-title > .op-chip::before { width: 7px; height: 7px; }
  .op-paychip { padding: 4px 9px; font-size: 11.5px; }
  .op-title .op-actions .btn { min-height: 34px; padding: 0 11px; gap: 6px; font-size: 12.5px; }
  .op-title .op-actions .btn .ic { width: 15px; height: 15px; }
}
/* Copy code: a small button beside the "ORDER" label */
.op-eyebrow-row { display: flex; align-items: center; gap: 10px; }
.op-copy { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); color: var(--navy); font: 700 11px var(--display); cursor: pointer; }
.op-copy:hover { border-color: var(--navy); }
.op-copy .ic { width: 12px; height: 12px; }
/* Copy code sits on the top-right corner of the order number box */
.op-code-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.op-code-wrap .op-copy { position: absolute; top: -10px; right: -10px; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.op-code-wrap .op-copy { top: -13px; right: -8px; padding: 1px 7px; font-size: 10.5px; }
.op-code-wrap { margin-top: 6px; margin-right: 4px; }
/* Share: wider, and the same height as the status tag beside it */
.op-title .op-actions .btn { min-height: 0; height: 34px; min-width: 120px; padding: 0 22px; font-size: 13.5px; }
@media (max-width: 1250px) { .op-title .op-actions .btn { height: 30px; min-width: 104px; padding: 0 16px; font-size: 12.5px; } }
.op-code-wrap .op-copy { top: auto; bottom: calc(100% + 4px); right: 0; box-shadow: none; }
.op-code-wrap { margin-top: 0; margin-right: 0; }
.op-eyebrow-row, .op-head > .eyebrow { margin-bottom: 2px; }
/* Delivering to: the arrival window stands out (green band, bold green date) */
.op-eta { background: var(--leaf-soft); border-radius: 0 15px 15px 0; }
.op-eta .op-who-ic { background: var(--leaf); color: #fff; }
.op-eta strong { font-size: 15.5px; color: var(--leaf-ink); }
.op-eta small { color: var(--leaf-ink); opacity: .85; }
@media (max-width: 640px) { .op-eta { border-radius: 0 0 15px 15px; } }
/* Parcel card: tracking number panel (shown once the courier's CN is entered) */
.oc-cn { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 14px; background: #fff; color: var(--ink); }
.oc-cn-k { font: 700 10.5px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.oc-cn-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.oc-cn-no { font: 800 22px/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .04em; color: var(--navy); overflow-wrap: anywhere; }
.oc-cn-copy { flex-shrink: 0; padding: 4px 10px; border: 1.5px solid var(--navy); border-radius: 99px; background: none; color: var(--navy); font: 700 12px var(--display); cursor: pointer; }
.oc-cn-copy:hover { background: var(--navy); color: #fff; }
.oc-cn-go { min-height: 38px; margin-top: 2px; font-size: 14px; }
/* Delivering to heading: placed / last-updated timestamps on the right */
.op-h.op-h-row { justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.op-h-row > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.op-stamps { font: 500 12px var(--sans); color: var(--muted); }
.op-stamps b { font-weight: 700; color: var(--ink-2); }
/* Delivering to: time targets table for the customer */
.op-sla { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 12.5px; }
.op-sla thead th { padding: 0 8px 5px 0; border-bottom: 1px solid var(--line); font: 700 10.5px var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; }
.op-sla .r { text-align: right; }
.op-sla tbody th, .op-sla td { padding: 5px 8px 5px 0; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.op-sla tbody th { font-weight: 600; color: var(--ink-2); text-align: left; }
.op-sla td:last-child { padding-right: 0; text-align: right; }
.op-sla .os-target { color: var(--muted); }
.op-sla td.r:not(.os-target) { font-weight: 700; color: var(--os-ink, var(--ink)); }
.os-chip { display: inline-block; padding: 1px 8px; border-radius: 99px; background: var(--os-bg, #EEEDE6); color: var(--os-ink, var(--muted)); font: 700 11px var(--display); white-space: nowrap; }
.os-ok   { --os-bg: var(--leaf-soft); --os-ink: var(--leaf-ink); }
.os-late { --os-bg: var(--red-soft);  --os-ink: var(--red-ink); }
.os-run  { --os-bg: var(--warm-soft); --os-ink: var(--warm-ink); }
.os-todo td.r:not(.os-target) { color: var(--muted); }
.op-sla tr.os-ok:not(.os-total) > * { opacity: .6; }   /* finished steps step back */
.op-sla .os-total th, .op-sla .os-total td { border-bottom: 0; border-top: 1px solid var(--line); padding-top: 7px; }
.op-sla .os-total th { color: var(--navy); font-weight: 800; }
/* Delivering to: horizontal milestone line (Placed → Delivered) */
.op-miles { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 16px 0 2px; padding: 0; }
.op-miles li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.op-miles li + li::before { content: ""; position: absolute; top: 10px; right: calc(50% + 13px); left: calc(-50% + 13px); height: 3px; border-radius: 3px; background: var(--line); }
.op-miles li.om-done::before, .op-miles li.om-now::before { background: var(--leaf); }
.op-miles li.om-now::before { background: linear-gradient(90deg, var(--leaf), var(--marigold)); }
.om-dot { display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 4px; border-radius: 99px; border: 2px solid var(--line-2); background: var(--surface); color: #fff; font: 800 11px var(--display); }
.om-done .om-dot { background: var(--leaf); border-color: var(--leaf); }
.om-now .om-dot { background: var(--marigold); border-color: var(--marigold); box-shadow: 0 0 0 5px rgba(242, 163, 58, .22); }
.om-late .om-dot { background: var(--red-ink); border-color: var(--red-ink); }
.op-miles strong { font: 700 12px/1.2 var(--display); color: var(--ink); }
.om-todo strong { color: var(--muted); }
.om-now strong { color: var(--warm-ink); }
.op-miles small { font-size: 10.5px; line-height: 1.3; color: var(--muted); }
.om-late small { color: var(--red-ink); font-weight: 700; }
@media (max-width: 640px) {
  .op-miles strong { font-size: 10.5px; }
  .op-miles small { font-size: 9.5px; }
}
/* Milestones sit on the "Delivering to" heading line, compact */
.op-who-head { display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.op-who-head .op-h { flex-shrink: 0; margin: 0; padding: 0; border: 0; }
.op-who-head .op-miles { flex: 1 1 420px; margin: 0; }
.op-who-head .op-miles li + li::before { top: 7px; right: calc(50% + 10px); left: calc(-50% + 10px); height: 2px; }
.op-who-head .om-dot { width: 16px; height: 16px; margin-bottom: 2px; border-width: 1.5px; font-size: 9px; }
.op-who-head .om-now .om-dot { box-shadow: 0 0 0 4px rgba(242, 163, 58, .22); }
.op-who-head .op-miles strong { font-size: 10.5px; }
.op-who-head .op-miles small { font-size: 9.5px; }

/* Lots sold by enquiry (agro forestry, land, bulk): status chip, asking price, facts, visit / offer buttons */
.lot-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font: 800 11px var(--display); letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
.lot-chip::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: currentColor; }
.lot-available { background: var(--leaf); color: #fff; }
.lot-under_offer { background: var(--marigold); color: var(--ink); }
.lot-sold { background: var(--ink); color: #fff; }
.lotcard .pcard-img .lot-chip { position: absolute; top: 10px; left: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.lotcard .pcard-t { margin: 0; font: 700 15px/1.25 var(--display); color: var(--ink); }
.lot-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; margin: 0; }
.lot-price small { width: 100%; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lot-price strong { font: 800 19px var(--display); color: var(--leaf-ink); }
.lot-price em, .enq-price em { font-style: normal; padding: 1px 7px; border-radius: 99px; background: var(--warm-soft); color: var(--warm-ink); font: 700 10.5px var(--display); }
.lot-facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; margin: 2px 0 0; }
.lot-facts-list div { min-width: 0; }
.lot-facts-list dt { font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lot-facts-list dd { margin: 0; overflow: hidden; font: 700 12.5px/1.3 var(--display); color: var(--ink); text-overflow: ellipsis; }
.lot-actions { display: grid; grid-template-columns: 1fr auto; }
.lot-actions .pcard-btn, .lot-btn-off { display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; }
.lot-actions .pcard-btn:hover { color: #fff; }
.lot-offer { display: flex; align-items: center; padding: 0 14px; background: var(--leaf-soft); color: var(--leaf-ink); font: 700 12.5px var(--display); text-decoration: none; white-space: nowrap; }
.lot-offer:hover { background: #D6EBC9; color: var(--leaf-ink); }
.lot-btn-off { height: 48px; background: #EEEDE6; color: var(--muted); font: 700 14px var(--display); text-transform: uppercase; }
/* Enquiry page */
.enq-page { max-width: 1000px; padding-top: 24px; }
.enq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 18px; align-items: start; margin-top: 10px; }
.enq-lot { padding: 0; overflow: hidden; }
.enq-lot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.enq-lot-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.enq-lot-body .lot-chip { align-self: flex-start; }
.enq-t { margin: 0; font: 800 20px/1.2 var(--display); color: var(--navy); }
.enq-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin: 0; }
.enq-price small { width: 100%; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.enq-price strong { font: 800 24px var(--display); color: var(--leaf-ink); }
.enq-form { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; }
.enq-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--bg); }
.enq-tabs label { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 9px; font: 700 13px var(--display); color: var(--ink-2); cursor: pointer; }
.enq-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.enq-tabs label:has(input:checked) { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.enq-tabs label:has(input:focus-visible) { outline: 2px solid var(--leaf); }
.enq-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; }
.enq-fields .enq-offer, .enq-fields .enq-msg { grid-column: 1 / -1; }
.enq-fields .enq-offer[hidden] { display: none; }
.enq-fields .fld { gap: 3px; }
.enq-fields label { font-size: 12px; font-weight: 600; }
.enq-fields input { height: 40px; min-height: 0; font-size: 14px; }
.enq-form .muted.small { margin: 0; font-size: 12px; }
.enq-done h2 { display: flex; align-items: center; gap: 8px; color: var(--leaf-ink); }
.enq-done p { margin: 0; font-size: 14px; }
@media (max-width: 760px) { .enq-grid, .enq-fields { grid-template-columns: minmax(0, 1fr); } }
/* Lot card links + photo count */
.lotcard a.pcard-img { display: block; }
.lotcard .pcard-t a { color: inherit; text-decoration: none; }
.lotcard .pcard-t a:hover { text-decoration: underline; }
.lot-pics { position: absolute; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font: 700 11px var(--display); }
/* Lot page (lot.php): gallery left, facts + actions right, description below */
.lot-page { max-width: 1120px; padding-top: 22px; }
.lp-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: start; margin-top: 10px; }
.lp-main { position: relative; display: block; border-radius: 16px; overflow: hidden; background: var(--sand); aspect-ratio: 4 / 3; }
.lp-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-main .lot-chip { position: absolute; top: 12px; left: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.lp-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 9px; border-radius: 99px; background: rgba(0, 0, 0, .6); color: #fff; font: 700 11.5px var(--display); }
.lp-empty { display: grid; place-items: center; color: var(--muted); font: 600 14px var(--display); }
.lp-thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.lp-thumb { flex: 0 0 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: var(--sand); cursor: pointer; opacity: .75; }
.lp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-thumb.is-on { border-color: var(--leaf); opacity: 1; }
.lp-thumb:hover { opacity: 1; }
.lp-info { display: flex; flex-direction: column; gap: 12px; }
.lp-title { margin: 0; font: 800 clamp(22px, 2.4vw, 28px)/1.15 var(--display); color: var(--navy); }
.lp-facts { grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lp-facts dd { white-space: normal; font-size: 14px; }
.lp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-actions .btn { min-height: 44px; }
.lp-actions .lp-wa { width: 44px; padding: 0; background: #25D366; color: #fff; }
.lp-actions .lp-wa:hover { background: #1FB457; color: #fff; }
.lp-info .muted.small { margin: 0; font-size: 12px; }
.lp-sold { margin: 0; padding: 10px 12px; border-radius: 12px; background: #EEEDE6; font-size: 13.5px; }
.lp-about { margin-top: 18px; padding: 16px 20px; font-size: 14px; line-height: 1.65; }
.lp-about p { margin: 0 0 10px; max-width: 760px; }
.lp-about p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .lp-grid { grid-template-columns: minmax(0, 1fr); } }
/* Lot price unit ("per acre") and the worked-out total */
.lot-per { font: 700 12.5px var(--display); color: var(--leaf-ink); }
.lot-total { width: 100%; font-size: 12px; color: var(--ink-2); }
.enq-price .lot-per { font-size: 14px; }
.enq-price .lot-total { font-size: 13px; }
