/* Jan Sons Traders — storefront styles */
:root {
  --g900: #0b3327;
  --g800: #0e4434;
  --g700: #135b45;
  --g600: #187356;
  --g100: #e3f1ea;
  --g50: #f1f8f4;
  --saffron: #f5a623;
  --saffron-d: #d88a06;
  --saffron-50: #fff5e2;
  --red: #c8372d;
  --ink: #17201c;
  --body: #36403b;
  --muted: #66716b;
  --line: #e7e2d7;
  --bg: #fbf9f4;
  --card: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 40, 30, .06), 0 6px 20px rgba(16, 40, 30, .06);
  --shadow-lg: 0 10px 40px rgba(16, 40, 30, .14);
  --wrap: 1240px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; font-family: var(--font); color: var(--body); background: var(--bg); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--g700); text-decoration: none; }
a:hover { color: var(--g600); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; }
h3, .h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.green { color: var(--g600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--g800); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 13px 26px; font-size: 1rem; }
.btn.block { display: flex; width: 100%; }
.btn-primary { background: var(--g700); color: #fff; }
.btn-primary:hover { background: var(--g800); color: #fff; }
.btn-primary:disabled { background: #9aa8a1; cursor: not-allowed; }
.btn-saffron { background: var(--saffron); color: var(--g900); }
.btn-saffron:hover { background: #ffb840; color: var(--g900); }
.btn-light { background: #fff; color: var(--g800); border-color: var(--line); }
.btn-light:hover { border-color: var(--g700); color: var(--g800); }
.btn-line { background: transparent; color: var(--g800); border-color: var(--g700); }
.btn-line:hover { background: var(--g50); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-wa { background: #1fa855; color: #fff; width: 100%; margin-top: 10px; }
.btn-wa:hover { background: #178d46; color: #fff; }
.grow { flex: 1; }

.pill { display: inline-block; background: var(--saffron-50); color: #8a5300; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.pill-hot { background: var(--red); color: #fff; }
.pill-out { background: #333; color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-d); margin-bottom: 8px; }
.eyebrow.light { color: var(--saffron); }

/* ---------- header ---------- */
.announce { background: var(--g900); color: #e9f3ee; font-size: .82rem; text-align: center; padding: 7px 0; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; color: var(--g800); }
.logo-text small { font-size: .62rem; font-weight: 800; letter-spacing: .32em; color: var(--saffron-d); margin-top: 4px; }
.search { flex: 1; display: flex; max-width: 560px; background: var(--g50); border: 1.5px solid transparent; border-radius: 999px; transition: border-color .15s, background .15s; }
.search:focus-within { border-color: var(--g700); background: #fff; }
.search input { flex: 1; border: 0; background: transparent; padding: 11px 18px; outline: none; min-width: 0; }
.search button { border: 0; background: transparent; padding: 0 16px; color: var(--g700); cursor: pointer; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-link { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: .88rem; padding: 8px 10px; border-radius: 10px; }
.hdr-link:hover { background: var(--g50); color: var(--g800); }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; background: var(--g700); color: #fff; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.cart-btn:hover { background: var(--g800); color: #fff; }
.cart-count { position: absolute; top: -6px; left: 26px; background: var(--saffron); color: var(--g900); font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; border: 2px solid #fff; }
.catbar { border-top: 1px solid var(--line); background: #fff; }
.catbar-row { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-top: 6px; padding-bottom: 6px; }
.catbar-row::-webkit-scrollbar { display: none; }
.catbar a { flex-shrink: 0; color: var(--body); font-size: .86rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.catbar a:hover { background: var(--g50); color: var(--g800); }
.catbar a.on { background: var(--g800); color: #fff; }
.catbar a.hot { color: var(--red); }
.catbar a.hot.on { background: var(--red); color: #fff; }
.catbar .sep { width: 1px; background: var(--line); margin: 6px 6px; flex-shrink: 0; }

/* ---------- hero ---------- */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #1b7a5a 0%, transparent 60%), linear-gradient(135deg, var(--g900), var(--g800) 60%, #0f4a38); color: #e6f2ec; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.08; letter-spacing: -.025em; }
.hero .eyebrow { color: var(--saffron); }
.hero .lead { font-size: 1.08rem; color: #cfe3d9; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; color: #cfe3d9; }
.hero-points svg { color: var(--saffron); flex-shrink: 0; }
.hero-points b { color: #fff; }
.hero-art { position: relative; height: 430px; }
.hero-art img { position: absolute; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .9); }
.hero-art .h0 { left: 2%; top: 4%; transform: rotate(-5deg); }
.hero-art .h1 { right: 4%; top: 0; transform: rotate(4deg); width: 40%; }
.hero-art .h2 { left: 30%; top: 30%; z-index: 2; width: 42%; }
.hero-art .h3 { left: 0; bottom: 0; transform: rotate(3deg); width: 36%; }
.hero-art .h4 { right: 0; bottom: 4%; transform: rotate(-4deg); width: 36%; }
.hero-art .h5 { display: none; }
.hero-badge { position: absolute; z-index: 3; right: 30%; bottom: -6px; background: var(--saffron); color: var(--g900); border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow-lg); line-height: 1.1; transform: rotate(-3deg); }
.hero-badge small { display: block; font-weight: 700; font-size: .75rem; }
.hero-badge b { font-size: 1.4rem; font-weight: 800; }

/* ---------- sections ---------- */
.section { padding: 56px 0; }
.section.tight { padding: 28px 0 56px; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 700; white-space: nowrap; }
.page-head { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0 26px; }
.page-head h1 { margin-bottom: 6px; }
.page-head .muted { margin: 0; max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--g700); }
.crumbs b { color: var(--ink); font-weight: 600; }

/* ---------- budget deals ---------- */
.budget { background: linear-gradient(180deg, var(--saffron-50), var(--bg) 340px); }
.budget-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 14px; margin-bottom: 18px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.budget-chip { scroll-snap-align: start; flex: 0 0 auto; display: flex; flex-direction: column; min-width: 128px; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.budget-chip:hover { border-color: var(--g700); transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.budget-chip b { font-size: 1.15rem; font-weight: 800; color: var(--g800); }
.budget-chip span { font-size: .76rem; color: var(--muted); white-space: nowrap; }
.page-head .budget-strip { margin: 18px 0 0; padding-bottom: 6px; }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.deal { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.deal:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.deal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 12px; }
.deal-price { display: block; white-space: nowrap; font-size: 1.65rem; font-weight: 800; color: var(--g800); letter-spacing: -.02em; line-height: 1; }
.deal-was { font-size: .85rem; color: var(--muted); text-decoration: line-through; }
.deal-thumbs { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 14px; }
.deal-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 9px; background: var(--g50); }
.deal-thumbs .more { position: absolute; right: 4px; bottom: 4px; background: rgba(11, 51, 39, .88); color: #fff; font-size: .72rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.deal h3 { margin-bottom: 4px; }
.deal h3 a { color: var(--ink); }
.deal p.muted { font-size: .88rem; margin-bottom: 8px; }
.deal-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: .75rem; margin-bottom: 8px; }
.deal-meta span { background: var(--g50); color: var(--g700); padding: 3px 9px; border-radius: 999px; font-weight: 600; }
.save { color: var(--red); font-weight: 700; font-size: .88rem; margin-bottom: 12px; }
.save.big { font-size: 1rem; }
.deal-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.deal-actions .btn { padding: 10px 12px; font-size: .88rem; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.cat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--g700); transform: translateY(-2px); color: var(--ink); }
.cat-img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--g50); margin-bottom: 10px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-weight: 700; font-size: .92rem; line-height: 1.25; }
.cat-tile small { color: var(--muted); font-size: .76rem; margin-top: 2px; }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.pcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pcard-img { position: relative; display: block; aspect-ratio: 1; background: var(--g50); overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-img .pill { position: absolute; left: 10px; top: 10px; }
.pcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.brand { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--saffron-d); }
.pcard h3 { font-size: .95rem; font-weight: 700; margin: 3px 0 4px; line-height: 1.3; }
.pcard h3 a { color: var(--ink); }
.vlabel { font-size: .78rem; color: var(--muted); margin: 0 0 10px; }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { font-size: 1.12rem; font-weight: 800; color: var(--g800); }
.price small { font-size: .72rem; font-weight: 600; color: var(--muted); }
.btn-add { border: 0; background: var(--g700); color: #fff; font-weight: 700; font-size: .85rem; border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: background .15s; }
.btn-add:hover { background: var(--g800); color: #fff; }
.btn-add.ghost { background: var(--g50); color: var(--g800); }
.btn-add.added { background: var(--saffron); color: var(--g900); }

/* ---------- bulk band ---------- */
.bulk-band { background: linear-gradient(120deg, var(--g900), var(--g700)); color: #d6e8df; }
.bulk-band h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.bulk-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.tier-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.tier { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; }
.tier small { color: #b9d4c7; font-size: .78rem; }
.tier b { color: #fff; font-size: 1.3rem; font-weight: 800; }
.tier span { color: var(--saffron); font-weight: 800; }

/* ---------- brands, steps, faq ---------- */
.brand-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.brand-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--ink); }
.brand-tile b { display: block; font-size: 1.3rem; font-weight: 800; color: var(--g800); }
.brand-tile small { color: var(--muted); }
.brand-tile:hover { border-color: var(--saffron); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps li > span { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--saffron); color: var(--g900); font-weight: 800; display: grid; place-items: center; }
.steps b { color: var(--ink); }
.steps p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; font-size: 1.3rem; line-height: 1; color: var(--g700); }
.faq details[open] summary::after { content: '−'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: .94rem; }

/* ---------- shop ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 140px; display: grid; gap: 14px; }
.filter-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.filter-box summary { font-weight: 800; color: var(--ink); cursor: pointer; }
.filter-box ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 2px; }
.filter-box a { display: flex; justify-content: space-between; color: var(--body); font-size: .9rem; padding: 6px 8px; border-radius: 8px; }
.filter-box a small { color: var(--muted); }
.filter-box a:hover { background: var(--g50); }
.filter-box a.on { background: var(--g100); color: var(--g800); font-weight: 700; }
.side-promo { display: block; background: var(--g800); color: #fff; border-radius: var(--radius); padding: 16px; }
.side-promo b { display: block; font-size: 1.05rem; }
.side-promo span { font-size: .85rem; color: #cfe3d9; }
.side-promo:hover { color: #fff; background: var(--g700); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.sort-form select { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; background: #fff; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
.pager a.on { background: var(--g800); color: #fff; border-color: var(--g800); }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 40px; text-align: center; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.pdp-media { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: sticky; top: 140px; }
.pdp-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp-info h1 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 6px 0 12px; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 4px; }
.pdp-price span { font-size: 2rem; font-weight: 800; color: var(--g800); letter-spacing: -.02em; }
.pdp-price small { color: var(--muted); font-size: .9rem; }
.pdp-price s { color: var(--muted); font-size: 1.1rem; }
.mrp-note { font-size: .88rem; color: var(--muted); }
.mrp-note b { color: var(--red); }
.buy-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 16px 0; }
.buy-box fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.buy-box legend { font-weight: 800; color: var(--ink); margin-bottom: 8px; font-size: .92rem; }
.variant-list { display: grid; gap: 8px; }
.variant { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.variant:hover { border-color: var(--g600); }
.variant:has(input:checked) { border-color: var(--g700); background: var(--g50); }
.variant input { accent-color: var(--g700); width: 18px; height: 18px; flex-shrink: 0; }
.variant .v-label { flex: 1; font-size: .92rem; font-weight: 600; color: var(--ink); }
.variant .v-label em { color: var(--red); font-style: normal; font-size: .8rem; }
.variant .v-price { font-weight: 800; color: var(--g800); white-space: nowrap; }
.variant.disabled { opacity: .55; cursor: not-allowed; }
.buy-row { display: flex; gap: 10px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; flex-shrink: 0; }
.qty button { border: 0; background: transparent; width: 40px; height: 46px; font-size: 1.2rem; cursor: pointer; color: var(--g800); }
.qty button:hover { background: var(--g50); }
.qty input { width: 46px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; outline: none; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm button { width: 32px; height: 34px; font-size: 1rem; }
.qty.sm input { width: 36px; font-size: .9rem; }
.perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.perks li { display: flex; align-items: center; gap: 10px; }
.perks svg { color: var(--g600); flex-shrink: 0; }
.pdp-desc h2 { font-size: 1.05rem; }
.inside { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.inside li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 8px 8px; }
.inside img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.inside div { flex: 1; min-width: 0; }
.inside a { color: var(--ink); font-weight: 700; font-size: .9rem; }
.inside small { display: block; color: var(--muted); font-size: .78rem; }
.inside li > span { font-weight: 700; font-size: .88rem; color: var(--muted); white-space: nowrap; }
.deal-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.deal-collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px; position: sticky; top: 140px; }
.deal-collage img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.deal-collage img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* ---------- forms & cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 18px; }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form label small { font-weight: 500; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; background: #fff; font-size: 1rem; transition: border-color .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--g700); }
.form input.invalid, .form textarea.invalid { border-color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.notice { border-radius: 12px; padding: 12px 16px; font-size: .92rem; }
.notice.err { background: #fdeceb; color: #8d231b; border: 1px solid #f5c6c2; }
.notice.ok { background: var(--g100); color: var(--g800); border: 1px solid #bfdccd; margin-bottom: 16px; }
.notice.info { background: var(--saffron-50); color: #6d4300; border: 1px solid #f5d79a; }
.notice p { margin: 8px 0 0; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex !important; grid-template-columns: none; flex-direction: row; align-items: flex-start; gap: 12px !important; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--g700); background: var(--g50); }
.pay-opt input { width: 18px !important; height: 18px; margin-top: 3px; accent-color: var(--g700); flex-shrink: 0; }
.pay-opt span { display: grid; gap: 2px; }
.pay-opt b { color: var(--ink); }
.pay-opt small { color: var(--muted); font-weight: 500; }
.pay-opt.disabled { opacity: .5; }
.raast-box { display: flex; flex-wrap: wrap; gap: 10px 26px; background: #fff; border: 1px dashed #e0b45a; border-radius: 10px; padding: 12px 14px; margin: 6px 0; }
.raast-box small { display: block; color: var(--muted); font-size: .75rem; }
.raast-box b { color: var(--ink); font-size: 1.05rem; }
[data-copy] { cursor: copy; border-bottom: 1px dashed currentColor; }

/* ---------- cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; }
.summary { position: sticky; top: 140px; }
.summary h2 { font-size: 1.15rem; }
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.cart-line img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; }
.cart-line .info a { color: var(--ink); font-weight: 700; }
.cart-line .info small { display: block; color: var(--muted); font-size: .8rem; }
.cart-line .info .unit { font-size: .85rem; color: var(--g800); font-weight: 700; margin-top: 2px; }
.cart-line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line .lt { font-weight: 800; color: var(--ink); }
.link-btn { border: 0; background: none; color: var(--red); font-size: .8rem; cursor: pointer; padding: 0; text-decoration: underline; }
.cart-line.unavailable { opacity: .6; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 14px 0; font-size: .95rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-weight: 600; color: var(--ink); }
.totals .grand { font-size: 1.2rem; font-weight: 800; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }
.progress { background: var(--g50); border-radius: 10px; padding: 10px 12px; font-size: .84rem; margin-bottom: 10px; }
.progress .bar { height: 6px; background: #d9e9e1; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--g600); border-radius: 4px; }
.mini-lines { display: grid; gap: 8px; max-height: 320px; overflow: auto; margin-bottom: 6px; }
.mini-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; font-size: .85rem; }
.mini-line img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.mini-line small { display: block; color: var(--muted); }
.mini-line b { white-space: nowrap; }
.loading { padding: 30px; text-align: center; color: var(--muted); }

/* ---------- order / tracking ---------- */
.success-hero { text-align: center; padding: 18px 0 24px; }
.success-hero .tick { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%; background: var(--g700); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.order-no { font-size: 1.1rem; background: var(--saffron-50); padding: 2px 10px; border-radius: 8px; color: var(--ink); }
.pay-card { border: 2px solid var(--saffron); }
.pay-steps { padding-left: 20px; display: grid; gap: 10px; margin: 0 0 14px; }
.order-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.order-meta small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.order-meta b { display: block; color: var(--ink); }
.order-meta span { font-size: .85rem; color: var(--muted); }
.pay-st { display: inline-block; font-size: .72rem !important; font-weight: 800; padding: 2px 8px; border-radius: 999px; margin-top: 4px; }
.st-unpaid { background: #eee; color: #444 !important; }
.st-awaiting { background: var(--saffron-50); color: #8a5300 !important; }
.st-paid { background: var(--g100); color: var(--g800) !important; }
.st-refunded { background: #fdeceb; color: #8d231b !important; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 0 0 22px; counter-reset: s; }
.timeline li { position: relative; text-align: center; font-size: .78rem; color: var(--muted); padding-top: 28px; }
.timeline li span { position: absolute; top: 0; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--line); z-index: 1; }
.timeline li::before { content: ''; position: absolute; top: 9px; left: -50%; right: 50%; height: 3px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.done span, .timeline li.now span { background: var(--g700); border-color: var(--g700); }
.timeline li.done::before, .timeline li.now::before { background: var(--g700); }
.timeline li.now { color: var(--ink); font-weight: 800; }
.timeline li.now span { box-shadow: 0 0 0 5px var(--g100); }
.items-table { width: 100%; border-collapse: collapse; }
.items-table td { padding: 10px 6px; border-top: 1px solid var(--line); vertical-align: middle; font-size: .9rem; }
.items-table img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.items-table small { display: block; color: var(--muted); font-size: .78rem; }
.items-table .num { text-align: right; white-space: nowrap; }
.events { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.events li { border-left: 3px solid var(--g100); padding-left: 12px; }
.events b { color: var(--ink); display: block; }
.events span { display: block; font-size: .9rem; }
.events small { color: var(--muted); }
.track-form { margin-bottom: 18px; }

/* ---------- bulk & info pages ---------- */
.bulk-head { background: linear-gradient(180deg, #fff, var(--saffron-50)); }
.tier-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 10px 0 26px; }
.tier-table th, .tier-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tier-table th { background: var(--g800); color: #fff; font-size: .85rem; }
.tier-table td b { color: var(--g700); }
.ticks { list-style: none; padding: 0; display: grid; gap: 8px; margin-bottom: 24px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--g100); color: var(--g700); border-radius: 50%; font-size: .75rem; font-weight: 800; display: grid; place-items: center; }
.mini-deals { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mini-deals a { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; color: var(--ink); }
.mini-deals a:hover { border-color: var(--g700); }
.mini-deals b { display: block; color: var(--g800); font-size: 1.1rem; }
.mini-deals span { font-size: .82rem; color: var(--muted); }
.form-card h2 { margin-bottom: 4px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.contact-card svg { color: var(--g700); width: 28px; height: 28px; }
.contact-card span { color: var(--muted); }
.prose h2 { margin-top: 1.6em; font-size: 1.3rem; }
.prose h2:first-child { margin-top: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--g900); color: #b9d0c5; padding: 50px 0 0; margin-top: 0; }
.site-footer .logo-text b { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.site-footer a { color: #b9d0c5; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #93ad9f; font-size: .9rem; margin-top: 14px; }
.pay-badges { display: flex; gap: 8px; margin-top: 14px; }
.pay-badges span, .pay-badges a { border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 8px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; font-size: .82rem; color: #8aa699; }

/* ---------- floating / mobile ---------- */
.wa-float { position: fixed; right: 18px; bottom: 22px; z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { color: #fff; transform: scale(1.05); }
.mobile-nav { display: none; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--g900); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: .9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 60; max-width: calc(100vw - 32px); display: flex; gap: 14px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--saffron); font-weight: 800; white-space: nowrap; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hide-sm { display: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .hero-grid, .bulk-grid, .two-col, .pdp, .deal-detail, .cart-layout { grid-template-columns: 1fr; }
  .hero-art { height: 300px; max-width: 520px; width: 100%; margin: 0 auto; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; grid-template-columns: 1fr 1fr; }
  .filter-box:not([open]) ul { display: none; }
  .side-promo { display: none; }
  .pdp-media, .deal-collage, .summary { position: static; }
  .two-col { gap: 36px; }
}
@media (max-width: 720px) {
  html { scroll-padding-top: 130px; }
  body { font-size: 15px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .wrap { padding: 0 16px; }
  .announce { font-size: .74rem; padding: 6px 0; }
  .header-row { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .search input { padding: 9px 14px; }
  .logo img { width: 34px; height: 34px; }
  .logo-text b { font-size: 1.08rem; }
  .cart-btn { padding: 8px 12px; }
  .catbar-row { padding-top: 4px; padding-bottom: 4px; }
  .hero-grid { padding-top: 30px; padding-bottom: 40px; gap: 22px; }
  .hero-art { height: 250px; }
  .hero-cta .btn { flex: 1; }
  .section { padding: 38px 0; }
  .section-head { margin-bottom: 16px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard-body { padding: 10px 10px 12px; }
  .pcard h3 { font-size: .86rem; }
  .vlabel { font-size: .72rem; }
  .price { font-size: 1rem; }
  .btn-add { padding: 7px 12px; font-size: .8rem; }
  .deal-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat-tile { padding: 10px 6px; }
  .cat-img { width: 64px; height: 64px; }
  .cat-name { font-size: .78rem; }
  .cat-tile small { display: none; }
  .tier-cards { grid-template-columns: 1fr 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .order-meta { grid-template-columns: 1fr; }
  .timeline li { font-size: .66rem; }
  .cart-line { grid-template-columns: 60px 1fr; }
  .cart-line img { width: 60px; height: 60px; }
  .cart-line .right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .card { padding: 16px; }
  .wa-float { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; width: 50px; height: 50px; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .mobile-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); }
  .mobile-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .68rem; font-weight: 700; color: var(--muted); }
  .mobile-nav a.on { color: var(--g700); }
  .mn-badge { position: absolute; top: -4px; left: 50%; margin-left: 4px; background: var(--saffron); color: var(--g900); font-style: normal; font-size: .62rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
  .is-checkout .mobile-nav, .is-checkout .wa-float { display: none; }
  .is-checkout { padding-bottom: 0; }
}
@media (max-width: 380px) {
  .logo-text small { letter-spacing: .2em; }
  .pgrid { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
