/* Nature Works store — light theme */
:root {
  --radius-btn: 8px; /* same corner as the logo tile */
  /* One green family, all from the Nature Works logo (#38B349, hue 128°).
     Logo green for brand accents; darker shades of the same hue wherever text must stay readable. */
  --green: #38b349;      /* logo green */
  --green-600: #319b3f;  /* icons, borders */
  --green-ink: #247530;  /* buttons, links, green text (5.7:1 on white) */
  --green-dark: #1d5d26; /* hover / pressed */
  --green-200: #b5e3bb;
  --green-100: #daf1dd;
  --green-soft: #eef9f0;
  --gold: #b9922b;
  --gold-soft: #f7efd9;
  --brown: #7a5230;
  --brown-soft: #f3ebe2;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #1d2a1f;
  --ink-2: #4a564c;
  --ink-3: #5f6a61;
  --line: #e7e3d8;
  --danger: #c0392b;
  --danger-soft: #fdecea;
  --info-soft: #eaf2fb;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(29, 42, 31, .05), 0 6px 24px rgba(29, 42, 31, .06);
  --wrap: 1180px;
  --font: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Plus Jakarta Sans', var(--font);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--cream); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--green-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius-btn);
  padding: 12px 22px; font: 600 .95rem/1 var(--font); cursor: pointer; text-decoration: none !important; transition: background .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a07d21; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; color: var(--green-ink); font: inherit; cursor: pointer; padding: 0; }

label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.field .hint { font-weight: 400; color: var(--ink-3); font-size: .82rem; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
textarea { min-height: 110px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--green-ink); }

/* ---------- Alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 16px; font-size: .95rem; }
.alert-success { background: var(--green-soft); color: var(--green-ink); }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--info-soft); color: #22507d; }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Header ---------- */
.announce { background: var(--green); color: #fff; font-size: .85rem; text-align: center; padding: 7px 16px; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a.active, .nav a:hover { color: var(--green-ink); text-decoration: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); background: none; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--cream); text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.badge { position: absolute; top: 2px; right: 0; background: var(--gold); color: #fff; font-size: .7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 5px; }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header .wrap { height: 64px; gap: 12px; }
  .nav { top: 64px; }
  .logo img { height: 40px; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero h1 em { font-style: normal; color: var(--green-ink); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0 28px; }
.hero-img { position: relative; }
.hero-img img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-chip { position: absolute; left: -18px; bottom: 28px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: .9rem; }
.hero-chip strong { display: block; font-family: var(--display); }
.dot { width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green-ink); flex: none; }
.dot svg { width: 20px; height: 20px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.pill svg { width: 15px; height: 15px; color: var(--green-ink); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; padding-bottom: 32px; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 4/3; }
  .hero-chip { left: 12px; bottom: 12px; }
}

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-white { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); margin: 0; max-width: 40em; }
@media (max-width: 600px) { .section { padding: 44px 0; } }

/* Brand split */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-card { border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; min-height: 300px; color: var(--ink); text-decoration: none !important; transition: transform .2s; }
.brand-card:hover { transform: translateY(-3px); }
.brand-card .txt { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
.brand-card .txt h3 { font-size: 1.5rem; }
.brand-card .txt p { color: var(--ink-2); font-size: .95rem; }
.brand-card img { width: 100%; height: 100%; object-fit: cover; }
.brand-card.satwik { background: var(--gold-soft); }
.brand-card.chhurpy { background: var(--brown-soft); }
.brand-card .go { font-weight: 700; color: var(--green-ink); margin-top: auto; }
.brand-card.chhurpy .go { color: var(--brown); }
@media (max-width: 860px) { .brands { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .brand-card { grid-template-columns: 1fr; } .brand-card img { aspect-ratio: 16/10; order: -1; } }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid > .card { max-width: 420px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 1/1; background: #f4f2ec; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; left: 12px; background: #fff; border-radius: 999px; padding: 4px 10px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag.satwik { color: var(--gold); }
.tag.chhurpy { color: var(--brown); }
.tag.out { right: 12px; left: auto; background: var(--ink); color: #fff; }
.card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.02rem; margin-bottom: 2px; }
.card-body h3 a { color: var(--ink); }
.variant { color: var(--ink-3); font-size: .88rem; margin-bottom: 10px; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.price s { color: var(--ink-3); font-weight: 500; font-size: .85rem; margin-left: 6px; }
.add-btn { width: 42px; height: 42px; border-radius: var(--radius-btn); background: var(--green); color: #fff; border: 0; cursor: pointer; display: grid; place-items: center; flex: none; }
.add-btn:hover { background: var(--green-600); }
.add-btn svg { width: 20px; height: 20px; }
.add-btn[disabled] { background: var(--line); cursor: not-allowed; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filters a { padding: 8px 16px; border-radius: var(--radius-btn); border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; }
.filters a.on { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }

/* ---------- Product page ---------- */
.crumbs { font-size: .85rem; color: var(--ink-3); padding: 20px 0 0; }
.crumbs a { color: var(--ink-3); }
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; padding: 24px 0 56px; }
.gallery-main { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: 1/1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs button { border: 2px solid transparent; border-radius: 12px; padding: 0; overflow: hidden; width: 76px; height: 76px; flex: none; cursor: pointer; background: #fff; }
.thumbs button.on { border-color: var(--green-ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info .brand-line { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .78rem; color: var(--gold); }
.pdp-info .brand-line.chhurpy { color: var(--brown); }
.pdp-price { font-family: var(--display); font-size: 2rem; font-weight: 800; margin: 8px 0 4px; }
.pdp-price s { font-size: 1.1rem; color: var(--ink-3); font-weight: 500; margin-left: 8px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.variants a { padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; font-weight: 600; font-size: .92rem; }
.variants a.on { border-color: var(--green-ink); color: var(--green-ink); background: var(--green-soft); text-decoration: none; }
.variants a.oos { color: var(--ink-3); text-decoration: line-through; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 20px 0; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; }
.qty button { width: 42px; height: 46px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.qty input { width: 44px; text-align: center; border: 0; padding: 0; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stock-note { font-size: .9rem; font-weight: 600; }
.stock-note.in { color: var(--green-ink); }
.stock-note.low { color: var(--gold); }
.stock-note.out { color: var(--danger); }
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.perk { display: flex; gap: 10px; align-items: center; font-size: .88rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.perk svg { width: 20px; height: 20px; color: var(--green-ink); flex: none; }
.desc { border-top: 1px solid var(--line); padding-top: 20px; color: var(--ink-2); }
.desc h4 { color: var(--ink); margin-top: 1.2em; font-size: 1rem; }
.desc ul { padding-left: 20px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Feature blocks ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature .dot { margin-bottom: 12px; }
.feature h3 { font-size: 1rem; margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .features { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split img { border-radius: 22px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 20px; background: var(--cream); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 10px; }
.step h3 { font-size: 1rem; margin-bottom: 4px; }
.step p { font-size: .9rem; color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }

.cta-band { background: var(--green); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .85; }

/* ---------- Page header ---------- */
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 40px 0 32px; }
.page-head p { color: var(--ink-2); max-width: 44em; margin: 0; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose ul { padding-left: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 16px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person img { aspect-ratio: 1/1; object-fit: cover; width: 100%; object-position: top; }
.person div { padding: 16px; }
.person h3 { margin: 0; font-size: 1.05rem; }
@media (max-width: 480px) { .team { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Certificates */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.cert .code { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--green-ink); }
.cert p { font-size: .92rem; color: var(--ink-2); margin: 6px 0 0; }

/* FAQ */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--green-ink); }
details[open] summary::after { content: '–'; }
details p { color: var(--ink-2); padding-bottom: 8px; }

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; padding: 32px 0 64px; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.cart-line h3 { font-size: 1rem; margin: 0; }
.cart-line .line-total { font-weight: 700; text-align: right; }
.cart-line .qty { margin-top: 8px; }
.cart-line .qty button { height: 36px; width: 34px; }
.summary { position: sticky; top: 96px; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 800; font-size: 1.15rem; font-family: var(--display); }
.sum-row .neg { color: var(--green-ink); }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form input { flex: 1; padding: 10px 12px; }
.empty { text-align: center; padding: 64px 16px; }
.empty svg { width: 64px; height: 64px; color: var(--ink-3); margin: 0 auto 12px; }

.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; background: #fff; font-weight: 500; }
.pay-opt:has(input:checked) { border-color: var(--green-ink); background: var(--green-soft); }
.pay-opt input { width: 18px; height: 18px; accent-color: var(--green-ink); flex: none; }
.pay-opt .pm-name { font-weight: 700; display: block; }
.pay-opt .pm-sub { font-size: .82rem; color: var(--ink-3); }
.pay-logo { margin-left: auto; font-weight: 800; font-size: .8rem; padding: 4px 9px; border-radius: 6px; color: #fff; }
.pay-logo.esewa { background: #60bb46; }
.pay-logo.khalti { background: #5c2d91; }
.pay-logo.bank { background: #2b5f8a; }
.pay-logo.cod { background: var(--gold); }
.mini-line { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; padding: 6px 0; }
.mini-line span:first-child { color: var(--ink-2); }

/* Order status */
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 16px 24px; font-size: .9rem; }
.timeline li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }
.timeline li::after { content: ''; position: absolute; left: 8px; top: 18px; bottom: 0; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.progress { display: flex; gap: 6px; margin: 16px 0 6px; }
.progress span { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.progress span.on { background: var(--green); }
.progress-labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--ink-3); }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--cream); color: var(--ink-2); white-space: nowrap; }
.status.pending, .status.awaiting_verification { background: var(--gold-soft); color: #8a6a14; }
.status.confirmed, .status.packed { background: var(--info-soft); color: #22507d; }
.status.shipped { background: #efe9fb; color: #5b3d99; }
.status.delivered, .status.paid { background: var(--green-soft); color: var(--green-ink); }
.status.cancelled, .status.failed, .status.refunded { background: var(--danger-soft); color: var(--danger); }
.qr-box { text-align: center; }
.qr-box img { max-width: 240px; margin: 0 auto 12px; border-radius: 12px; border: 1px solid var(--line); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .95rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 600; }

/* Auth */
.auth { max-width: 440px; margin: 48px auto 72px; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 48px 0 24px; margin-top: 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--ink-2); }
.footer .logo img { height: 44px; margin-bottom: 12px; }
.pay-accept { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pay-accept span { font-size: .72rem; font-weight: 700; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: var(--ink-2); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--ink-3); font-size: .85rem; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); }
.social svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .row2 { grid-template-columns: 1fr; } }

/* Floating WhatsApp + toast */
.wa { position: fixed; right: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.18); z-index: 60; }
.wa svg { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .92rem; z-index: 70; transition: transform .25s; display: flex; gap: 14px; align-items: center; max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast a { color: var(--green-200); font-weight: 700; white-space: nowrap; }

/* Tables (account + admin) */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); font-weight: 700; background: #fcfbf7; }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; }

@media print {
  .header, .footer, .announce, .wa, .no-print { display: none !important; }
  body { background: #fff; }
}

/* ---------- Admin ---------- */
.admin-body { background: #f6f5f0; }
.admin-shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.admin-side { background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo img { height: 40px; margin: 0 8px 20px; }
.admin-side a.nav-i { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .92rem; margin-bottom: 2px; }
.admin-side a.nav-i svg { width: 19px; height: 19px; }
.admin-side a.nav-i:hover { background: var(--cream); text-decoration: none; }
.admin-side a.nav-i.on { background: var(--green-soft); color: var(--green-ink); }
.admin-side .count { margin-left: auto; background: var(--gold); color: #fff; font-size: .7rem; border-radius: 9px; padding: 1px 7px; }
.admin-side .side-foot { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.admin-main { padding: 28px 32px 64px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.6rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .k { font-size: .78rem; color: var(--ink-3); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.stat .v { font-family: var(--display); font-weight: 800; font-size: 1.6rem; margin-top: 4px; }
.stat .s { font-size: .85rem; color: var(--ink-3); }
.stat.alertish .v { color: #8a6a14; }
.bars { display: flex; align-items: end; gap: 6px; height: 140px; padding-top: 10px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; justify-content: end; }
.bars span.b { width: 100%; background: var(--green); border-radius: 4px 4px 0 0; min-height: 2px; }
.bars span.l { font-size: .65rem; color: var(--ink-3); }
.admin-grid2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { width: auto; padding: 9px 12px; }
.chip { padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); text-decoration: none; }
.thumb-sm { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.inline-form input { width: 74px; padding: 6px 8px; }
.img-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.img-grid label { position: relative; width: 104px; font-weight: 500; font-size: .75rem; }
.img-grid img { width: 104px; height: 104px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 4px; }
.admin-mobile-bar { display: none; }
@media (max-width: 960px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; display: none; }
  .admin-side.open { display: block; }
  .admin-mobile-bar { display: flex; justify-content: space-between; align-items: center; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .admin-main { padding: 20px 16px 48px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .admin-grid2 { grid-template-columns: minmax(0, 1fr); }
}

/* Invoice */
.invoice { max-width: 800px; margin: 24px auto; background: #fff; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius); }
.invoice-head { display: flex; justify-content: space-between; gap: 20px; border-bottom: 2px solid var(--green-ink); padding-bottom: 16px; margin-bottom: 20px; }
.invoice-head img { height: 56px; }
@media print { .invoice { border: 0; margin: 0; padding: 0; } .admin-side, .admin-mobile-bar, .admin-top .btn { display: none !important; } .admin-shell { display: block; } .admin-main { padding: 0; } }
[hidden] { display: none !important; }
.toast { visibility: hidden; opacity: 0; }
.toast.show { visibility: visible; opacity: 1; }
.btn svg, .link-btn svg, .nav-i svg { width: 18px; height: 18px; flex: none; }
.hero-img img { height: auto; }
td.num, .sum-row span:last-child, .mini-line strong, .price { white-space: nowrap; }
td:first-child a { white-space: nowrap; }
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: .92rem; }
  .variant { font-size: .8rem; margin-bottom: 8px; }
  .price { font-size: 1rem; }
  .price s { display: block; margin-left: 0; }
  .add-btn { width: 36px; height: 36px; }
  .tag { top: 8px; left: 8px; font-size: .65rem; padding: 3px 8px; }
  .announce { font-size: .78rem; }
}

/* Wide photo hero */
.hero-wide { position: relative; background: #f3e6cc; overflow: hidden; }
.hero-wide .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-wide .wrap { position: relative; display: flex; align-items: center; min-height: 580px; padding-top: 56px; padding-bottom: 56px; }
.hero-card { background: rgba(255, 255, 255, .93); border-radius: 24px; padding: 36px; width: min(540px, 52%); box-shadow: var(--shadow); }
.hero-card .lead { font-size: 1.08rem; }
.hero-card .hero-cta { margin: 20px 0 22px; }
@media (max-width: 1020px) {
  .hero-wide { background: var(--cream); }
  .hero-wide .hero-bg { position: static; height: auto; aspect-ratio: 4/3; object-position: 100% center; }
  .hero-wide .wrap { min-height: 0; padding-top: 22px; padding-bottom: 30px; }
  .hero-card { background: none; padding: 0; width: 100%; box-shadow: none; border-radius: 0; }
}

/* Keep every product picture square, whatever shape the photo is */
.card-img, .gallery-main { position: relative; overflow: hidden; }
.card-img > img, .gallery-main > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cart-line img { aspect-ratio: 1/1; object-fit: cover; }

/* Policy pages */
.prose h3 { margin: 18px 0 6px; font-size: 1.05rem; }
.prose h2[id] { scroll-margin-top: 90px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.toc a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-btn); font-size: .88rem; text-decoration: none; background: #fff; }
.toc a:hover { border-color: var(--green); }
.brief { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 20px; }
.brief > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.brief strong { display: block; margin-bottom: 4px; }
.brief span { font-size: .92rem; color: var(--ink-3); }
@media (max-width: 700px) { .brief { grid-template-columns: 1fr; } }

/* Admin grid fixes: equal-height top row, no horizontal overflow on phones */
.admin-grid2 > * { min-width: 0; }
.admin-grid2 > .panel + .panel { margin-top: 0; }
.admin-grid2.admin-grid-wide { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) { .admin-grid2.admin-grid-wide { grid-template-columns: minmax(0, 1fr); } }

/* Export page (Chhurpy for importers) */
.x-hero { background: var(--brown-soft); padding: 56px 0; }
.x-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.x-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; margin: 0 0 14px; text-wrap: balance; }
.x-hero .lead { color: var(--ink-2); font-size: 1.08rem; max-width: 36em; }
.x-hero .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0; }
.x-hero img { width: 100%; max-height: 540px; object-fit: cover; object-position: center top; border-radius: 22px; box-shadow: var(--shadow); }
.x-note { background: var(--brown); color: #fff; }
.x-note p { margin: 0; padding: 14px 0; font-size: .95rem; }
.x-features { grid-template-columns: 1fr 1fr; }
.x-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.x-packs figure { margin: 0; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.x-packs img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.x-packs figcaption { padding: 14px 16px; display: grid; gap: 2px; }
.x-packs figcaption span { color: var(--ink-3); font-size: .9rem; }
.x-spec th { width: 200px; text-align: left; vertical-align: top; color: var(--ink-2); font-weight: 600; background: var(--cream); }
.x-spec th, .x-spec td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.x-spec tr:last-child th, .x-spec tr:last-child td { border-bottom: 0; }
.x-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.x-cards .panel + .panel { margin-top: 0; }
.x-cards h3 { display: flex; gap: 8px; align-items: flex-start; font-size: 1rem; margin: 0 0 8px; }
.x-cards h3 svg { width: 20px; height: 20px; flex: none; color: var(--brown); margin-top: 1px; }
.x-cards p { margin: 0; font-size: .92rem; }
.x-docs { margin-top: 16px; }
.x-docs h3 { margin: 0 0 8px; font-size: 1rem; }
.x-docs ul { margin: 0 0 10px; padding-left: 20px; columns: 2; }
.x-steps { grid-template-columns: repeat(5, 1fr); }
.x-contact { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.x-contact li { display: flex; gap: 10px; align-items: flex-start; }
.x-contact svg { width: 20px; height: 20px; flex: none; color: var(--brown); margin-top: 2px; }
.x-checks { border: 0; padding: 0; margin: 0 0 14px; }
.x-checks legend { font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.x-checks label { display: inline-flex; align-items: center; gap: 6px; margin: 0 16px 8px 0; font-weight: 500; font-size: .92rem; }
@media (max-width: 1020px) {
  .x-hero-grid { grid-template-columns: 1fr; }
  .x-hero img { max-height: 380px; }
  .x-cards { grid-template-columns: 1fr 1fr; }
  .x-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .x-packs, .x-cards, .x-features { grid-template-columns: 1fr; }
  .x-docs ul { columns: 1; }
  .x-spec th { width: 120px; }
  .x-steps { grid-template-columns: 1fr; }
}

/* Audit fixes: readable small headings, smaller WhatsApp button on phones */
.eyebrow { color: #8a6a14; }
@media (max-width: 600px) {
  .wa { width: 46px; height: 46px; right: 12px; bottom: 12px; }
  .wa svg { width: 24px; height: 24px; }
  body { padding-bottom: 64px; }
}
.cart-layout > * { min-width: 0; }
.cart-layout input { min-width: 0; }
@media (max-width: 600px) {
  .cart-line { grid-template-columns: 64px 1fr auto; gap: 12px; }
  .cart-line img { width: 64px; height: 64px; }
}
.cart-line .line-total { white-space: nowrap; }

/* ---------- Home (Phase 2) ---------- */
.h-hero { position: relative; overflow: hidden; background: #2b2216; }
.h-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.h-hero .wrap { position: relative; padding-top: 56px; padding-bottom: 64px; }
.h-card { background: rgba(255,255,255,.96); border-radius: 22px; padding: 32px; max-width: 520px; box-shadow: var(--shadow); }
.h-card h1 { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.08; margin: 0 0 12px; text-wrap: balance; }
.h-card .lead { color: var(--ink-2); margin: 0 0 20px; }
.quick-buy { display: grid; gap: 10px; }
.qb { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 16px; background: #fff; }
.qb-info { flex: 1; display: grid; color: var(--ink); text-decoration: none; }
.qb-info strong { font-size: 1rem; }
.qb-info span { color: var(--ink-2); font-size: .92rem; font-variant-numeric: tabular-nums; }
.qb-info em { font-style: normal; color: var(--green-ink); font-weight: 700; }
.qb-add { display: inline-flex; align-items: center; gap: 6px; background: var(--green); color: #fff; border: 0; border-radius: var(--radius-btn); padding: 10px 16px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.qb-add svg { width: 16px; height: 16px; }
.qb-add:hover { filter: brightness(1.1); }
.qb-add:focus-visible, .qb-info:focus-visible { outline: 2px solid var(--green-ink); outline-offset: 2px; }
.h-note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .88rem; color: var(--ink-2); }
.h-note svg { width: 18px; height: 18px; flex: none; color: var(--green-ink); }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.trust-strip .wrap > div { display: flex; gap: 10px; align-items: center; }
.trust-strip svg { width: 22px; height: 22px; flex: none; color: var(--green-ink); }
.trust-strip span { display: grid; font-size: .85rem; color: var(--ink-3); line-height: 1.3; }
.trust-strip strong { color: var(--ink); font-size: .92rem; }
.tag.best { background: var(--green); color: #fff; }
.mini-steps { list-style: none; counter-reset: m; padding: 0; margin: 18px 0 20px; display: grid; gap: 10px; }
.mini-steps li { counter-increment: m; display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); }
.mini-steps li::before { content: counter(m); flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font-weight: 700; font-size: .85rem; }
.mini-steps strong { color: var(--ink); }
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.uses > div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; }
.uses h3 { font-size: 1.02rem; margin: 0 0 4px; }
.uses p { margin: 0; color: var(--ink-2); font-size: .92rem; }
.bands { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.band { border-radius: 22px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; color: #fff; }
.band h2 { color: #fff; font-size: 1.35rem; margin: 0 0 6px; }
.band p { margin: 0; opacity: .9; }
.band .btn { align-self: flex-start; }
.band-green { background: var(--green); }
.band-brown { background: var(--brown); }
.nav-mobile-only { display: none; }
@media (max-width: 1020px) {
  .trust-strip .wrap { grid-template-columns: 1fr 1fr; }
  .uses { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-mobile-only { display: block; }
  .bands { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .h-hero { background: var(--cream); }
  .h-hero-bg { position: static; height: 240px; object-position: 75% center; }
  .h-hero .wrap { padding-top: 0; padding-bottom: 24px; }
  .h-card { margin-top: -40px; padding: 22px; border-radius: 18px; }
  .trust-strip .wrap { gap: 14px 12px; }
  .uses { grid-template-columns: 1fr; gap: 10px; }
  .uses > div { padding: 14px 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 10px; }
  .step { padding: 14px; }
  .features { grid-template-columns: 1fr 1fr; gap: 10px; }
  .feature { padding: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer { padding-top: 32px; }
}
table.facts { width: 100%; max-width: 420px; border-collapse: collapse; font-size: .92rem; margin: 6px 0 14px; }
table.facts th, table.facts td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; }
table.facts th { font-weight: 500; color: var(--ink-2); }
table.facts td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.logo-tile img { display: block; height: 46px; width: auto; border-radius: 8px; }
.footer .logo-tile img { height: 52px; border-radius: 9px; }
@media (max-width: 600px) { .header .logo-tile img { height: 38px; border-radius: 7px; } }
/* Track order: a distinct pill, not a normal menu link */
.nav a.nav-track { display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid var(--green); color: var(--green-ink); border-radius: var(--radius-btn); padding: 6px 14px; font-weight: 700; margin-left: 6px; }
.nav a.nav-track svg { width: 17px; height: 17px; }
.nav a.nav-track:hover, .nav a.nav-track.active { background: var(--green); color: #fff; }
@media (max-width: 900px) { .nav a.nav-track { align-self: flex-start; margin: 10px 0 0; } }
@media (min-width: 901px) {
  .nav { align-items: center; }
  .nav a { white-space: nowrap; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .nav { gap: 14px; margin-left: 4px; }
  .nav a { font-size: .88rem; }
  .nav a.nav-track { padding: 5px 10px; margin-left: 2px; }
}
.header .logo { flex: none; }
@media (min-width: 901px) and (max-width: 1020px) {
  .nav { gap: 10px; }
  .nav a { font-size: .84rem; }
  .header-actions { gap: 2px; }
}

/* ================= Responsive pass (320px phones → 1440px desktops) ================= */
/* Tap targets: at least 40px on touch screens */
@media (pointer: coarse), (max-width: 820px) {
  .btn-sm { min-height: 40px; padding: 9px 14px; }
  .qty input { height: 40px; }
  .cart-line .qty button { height: 40px; width: 38px; }
  .chip { min-height: 40px; display: inline-flex; align-items: center; }
  .link-btn { padding: 10px 4px; }
  .pay-opt input, input[type=checkbox], input[type=radio] { width: 20px; height: 20px; }
  .x-checks label { min-height: 40px; }
}
.tag { font-size: .72rem; }
.mini-steps li > span { flex: 1; }
.mini-line span:last-child, .sum-row span:last-child, .cart-line .line-total { white-space: nowrap; }
.mini-line span:first-child { min-width: 0; }

/* Product grid: 3 across on tablets */
@media (min-width: 700px) and (max-width: 1020px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .grid > .card { max-width: none; } }

/* Product page: keep image beside details on tablets */
@media (min-width: 720px) and (max-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; gap: 28px; } }

/* Home trust strip */
@media (min-width: 1021px) and (max-width: 1140px) { .trust-strip .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .trust-strip .wrap { grid-template-columns: 1fr; gap: 12px; } }

/* Export hero image when stacked */
@media (max-width: 1020px) { .x-hero img { object-position: center 35%; } }

@media (max-width: 600px) {
  /* Cart line: image | details, total under the details */
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "img info" ". total"; row-gap: 4px; }
  .cart-line > a { grid-area: img; }
  .cart-line > div:not(.line-total) { grid-area: info; min-width: 0; }
  .cart-line .line-total { grid-area: total; text-align: left; }
  .sum-row { flex-wrap: wrap; gap: 4px 12px; }
  .sum-row.total span:last-child { margin-left: auto; }
  /* Product page buy row */
  .buy-row > .btn, .buy-row > button { flex: 1 1 160px; min-width: 0; }
  /* Admin tables: hide secondary columns */
  .admin-main .t-hide-sm { display: none; }
  table.t-products th:nth-child(3), table.t-products td:nth-child(3),
  table.t-recent th:nth-child(4), table.t-recent td:nth-child(4),
  table.t-items th:nth-child(2), table.t-items td:nth-child(2) { display: none; }
  .admin-main { padding: 20px 14px 48px; }
}
@media (max-width: 420px) {
  .features, .x-features { grid-template-columns: 1fr; }
  .pay-opt { padding: 12px; gap: 10px; }
  .pay-opt .pay-logo { display: none; }
  .grid { gap: 10px; }
  .card-body { padding: 10px; }
  .h-card h1 { font-size: 1.8rem; }
  .section-head .btn { margin-top: -6px; }
}

/* Invoice on phones */
@media (max-width: 600px) {
  .invoice { padding: 18px; margin: 12px; }
  .invoice-head { flex-direction: column; }
  .invoice-head > div:last-child { text-align: left; }
  .invoice table { font-size: .82rem; }
  .invoice th, .invoice td { padding: 8px 4px; }
}
.pdp > *, .split > *, .x-hero-grid > * { min-width: 0; }
.field input[type=checkbox], .field input[type=radio], label input[type=checkbox], label input[type=radio] { flex: none; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
/* Home: new ghee photography */
.h-hero { background: #f3efe4; }
.h-hero-bg { object-position: 78% 55%; }
.uses-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.uses-wrap > img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; border-radius: 22px; background: #e9e6df; }
.uses-wrap .uses { grid-template-columns: 1fr 1fr; align-content: start; }
@media (max-width: 860px) {
  .uses-wrap { grid-template-columns: 1fr; }
  .uses-wrap > img { min-height: 0; height: 260px; object-position: center 70%; }
}
@media (max-width: 700px) {
  .h-hero-bg { height: 220px; object-position: 82% 50%; }
  .uses-wrap .uses { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
  .h-hero { background: var(--cream); }
  .h-hero-bg { position: static; display: block; width: 100%; height: 300px; object-position: 80% 55%; }
  .h-hero .wrap { padding-top: 0; padding-bottom: 28px; }
  .h-card { margin-top: -48px; max-width: 640px; }
}
@media (max-width: 700px) { .h-hero-bg { height: 220px; object-position: 80% 60%; } .h-card { margin-top: -40px; } }
/* Ways to use: photo matches the height of the cards beside it */
.uses-photo { position: relative; min-height: 280px; border-radius: 22px; overflow: hidden; background: #e9e6df; }
.uses-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.uses-wrap .uses { grid-auto-rows: 1fr; align-content: stretch; }
@media (max-width: 860px) {
  .uses-photo { min-height: 0; height: 260px; }
  .uses-photo img { object-position: center 70%; }
  .uses-wrap .uses { grid-auto-rows: auto; }
}

/* Brand green accents from the logo */
.trust-strip svg, .h-note svg, .x-contact svg { color: var(--green-600); }
.announce { background: var(--green); font-weight: 600; }
.qb-add:hover { background: var(--green-600); filter: none; }
.nav a.nav-track { border-color: var(--green); }
.tag.best { background: var(--green); }
