/* ShopNaija storefront. Archivo for display, Inter for text, Roboto Condensed for prices and labels. */
:root {
  --green: #00874F;
  --green-dark: #006239;
  --green-soft: #E6F4EC;
  --ink: #0F1F17;
  --text: #24302A;
  --muted: #5B6A62;
  --line: #E2E8E4;
  --bg: #F5F7F4;
  --white: #fff;
  --gold: #FFB81C;
  --gold-dark: #8A5A00;
  --red: #C8291D;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15,31,23,.06), 0 4px 14px rgba(15,31,23,.05);
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --cond: "Roboto Condensed", "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.5; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green); }
h1, h2, h3, .h1 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 50; }
.skip:focus { left: 10px; }
.eyebrow { font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin: 0 0 10px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 20px; border-radius: 10px; border: 0; background: var(--green); color: #fff; font-weight: 700; font-family: var(--display); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--green-dark); color: #fff; }
.btn-lg { min-height: 52px; font-size: 16px; padding: 14px 26px; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffc94d; color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn[disabled], .btn.is-disabled { opacity: .5; pointer-events: none; }
.linklike { background: none; border: 0; padding: 0; color: var(--green-dark); text-decoration: underline; cursor: pointer; }
.icon-btn { background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); min-width: 44px; min-height: 44px; }

/* Top bar and header */
.topbar { background: var(--ink); color: #DDE7E1; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; }
.topbar-msg { margin: 0; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.topbar a { color: #DDE7E1; text-decoration: none; }
.topbar a:hover { color: #fff; }

.locale-btn { white-space: nowrap; background: rgba(255,255,255,.1); border: 0; color: #fff; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-family: var(--cond); font-weight: 700; letter-spacing: .03em; min-height: 32px; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-in { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.menu-btn { display: none; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.logo b { color: var(--green); }
.logo-light { color: #fff; }
.logo-light b { color: var(--gold); }
.search { flex: 1; display: flex; max-width: 720px; border: 2px solid var(--green); border-radius: 12px; overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; padding: 12px 16px; min-width: 0; outline: none; }
.search button { border: 0; background: var(--green); color: #fff; padding: 0 20px; cursor: pointer; min-width: 52px; }
.header-actions { display: flex; gap: 6px; margin-left: auto; }
.hact { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 44px; position: relative; }
.hact:hover { background: var(--bg); color: var(--ink); }
.cart-count { position: absolute; top: 2px; left: 26px; background: var(--gold); color: var(--ink); font-family: var(--cond); font-weight: 700; font-size: 12px; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; }
.cart-link.bump .cart-count { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.catnav { border-top: 1px solid var(--line); }
.catnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.catnav-in::-webkit-scrollbar { display: none; }
.catnav a { padding: 12px 12px; white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 500; font-size: 14px; border-bottom: 2px solid transparent; }
.catnav a:hover { color: var(--green-dark); border-bottom-color: var(--green); }
.catnav-deal { color: var(--red) !important; font-weight: 700 !important; }

.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; background: var(--green-soft); color: var(--green-dark); font-weight: 500; }
.flash-err { background: #FDECEA; color: #8C1D13; }

/* Hero */
.hero { padding: 20px 0 8px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 16px; }
.hero-main { position: relative; border-radius: 18px; overflow: hidden; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 100%; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 12px; min-height: 380px; padding: 40px 44px; color: #fff; }
.slide h1, .slide .h1 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); }
.slide p { color: rgba(255,255,255,.88); max-width: 460px; }
.slide .eyebrow { color: var(--gold); }
.slide-green { background: var(--green); }
.slide-leather { background: #5B3A1E; }
.slide-ink { background: var(--ink); }
.slide-art { position: relative; height: 300px; }
.hero-pack { position: absolute; width: 46%; border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.hero-pack-0 { left: 4%; top: 12%; transform: rotate(-6deg); }
.hero-pack-1 { left: 32%; top: 0; z-index: 2; }
.hero-pack-2 { left: 56%; top: 16%; transform: rotate(6deg); }
.slide-stat { display: grid; gap: 14px; height: auto; }
.slide-stat div { background: rgba(255,255,255,.08); border-radius: 14px; padding: 18px 20px; }
.slide-stat b { display: block; font-family: var(--display); font-size: 34px; color: var(--gold); }
.dots { position: absolute; left: 44px; bottom: 18px; display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.dots button[aria-current="true"] { width: 26px; background: #fff; }
.hero-side { display: grid; gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: 18px; text-decoration: none; min-height: 180px; }
.tile h2 { font-size: 24px; margin-bottom: 10px; }
.tile-gold { background: var(--gold); }
.tile-gold .eyebrow { color: var(--gold-dark); }
.tile-purple { background: #EFE7F7; }
.tile-purple .eyebrow { color: #6B2C91; }
.tile-link { font-weight: 700; color: var(--ink); }

.promises { padding: 12px 0; }
.promises-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.promises-in > div { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: var(--radius); padding: 14px 16px; color: var(--green); }
.promises-in span { color: var(--text); font-size: 13px; line-height: 1.35; }
.promises-in b { display: block; color: var(--ink); font-size: 14px; }

/* Rows and cards */
.row-section { padding: 22px 0; }
.row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.row-head h2 { margin: 0; font-size: 24px; }
.row-head p { margin: 2px 0 0; }
.row-tools { display: flex; align-items: center; gap: 8px; }
.see-all { font-weight: 700; font-size: 14px; margin-right: 6px; }
.scroll-btn { width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.scroll-btn:hover { border-color: var(--green); color: var(--green); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(196px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 6px; scrollbar-width: thin; }
.rail > .card { scroll-snap-align: start; min-width: 196px; }
@media (min-width: 1100px) { .rail { grid-auto-columns: calc((100% - 5 * 14px) / 6); } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 14px; }

.card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(15,31,23,.1); }
.card-img { position: relative; display: block; aspect-ratio: 15 / 16; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; font-family: var(--cond); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 4px 8px; border-radius: 6px; }
.badge-off { background: var(--red); color: #fff; }
.badge-local { left: auto; right: 10px; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.badge-lg { font-size: 15px; padding: 6px 12px; }
.card-body { padding: 12px 14px 4px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.card-brand { font-family: var(--cond); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); margin: 0; text-decoration: none; }
.card-title { font-family: var(--body); font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--green-dark); }
.card-origin { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); margin: 0; }
.card-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.price { font-family: var(--cond); font-weight: 700; font-size: 20px; color: var(--ink); letter-spacing: -.01em; }
.price-lg { font-size: 36px; }
.was { font-family: var(--cond); color: var(--muted); font-size: 14px; }
.card-ws { margin: 0; font-size: 12px; color: var(--gold-dark); font-weight: 600; }
.card-ws span { color: var(--muted); font-weight: 400; }
.card-add { padding: 10px 14px 14px; }
.add-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--green); background: #fff; color: var(--green-dark); font-weight: 700; cursor: pointer; font-family: var(--display); }
.add-btn:hover, .add-btn.added { background: var(--green); color: #fff; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 18px 10px; background: #fff; border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; line-height: 1.25; box-shadow: var(--shadow); }
.cat-tile:hover { color: var(--ink); outline: 2px solid var(--c); }
.cat-icon { width: 64px; height: 64px; border-radius: 99px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #fff); color: var(--c); }

.band { background: var(--green-dark); color: #fff; margin: 24px 0; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 44px 20px; }
.band h2 { color: #fff; font-size: clamp(22px, 2.6vw, 32px); max-width: 640px; }
.band p { color: rgba(255,255,255,.85); max-width: 640px; margin: 0; }
.band .eyebrow { color: var(--gold); }
.band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.brand-chip { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.brand-chip span { font-family: var(--display); font-weight: 800; font-size: 17px; }
.brand-chip small { color: var(--muted); }
.brand-chip:hover { border-color: var(--green); color: var(--ink); }
.origin { background: #fff; border-radius: 18px; padding: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 9px 16px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.chip:hover { border-color: var(--green); color: var(--green-dark); }

/* Listing */
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 6px; }
.crumbs a { color: var(--muted); }
.listing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.sort { display: flex; align-items: center; gap: 8px; }
.sort select, .filters select { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.listing-grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; padding-bottom: 40px; }
.filters { background: #fff; border-radius: var(--radius); padding: 18px; align-self: start; position: sticky; top: 140px; }
details.filters > summary { display: none; list-style: none; font-weight: 700; cursor: pointer; }
details.filters > summary::-webkit-details-marker { display: none; }
.filters h2 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--muted); margin: 16px 0 8px; }
.filters h2:first-child { margin-top: 0; }
.filters ul { list-style: none; margin: 0; padding: 0; }
.filters a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; }
.filters a:hover { background: var(--bg); }
.filters a[aria-current] { background: var(--green-soft); color: var(--green-dark); font-weight: 600; }
.count { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.pager { display: flex; gap: 6px; margin-top: 24px; }
.pager a { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.pager a[aria-current] { background: var(--green); color: #fff; border-color: var(--green); }
.empty { background: #fff; border-radius: 18px; padding: 48px 24px; text-align: center; margin: 24px 0; }

/* Product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; background: #fff; border-radius: 18px; padding: 28px; margin: 6px 0 20px; }
.pdp-media { position: relative; border-radius: 14px; overflow: hidden; background: var(--bg); align-self: start; }
.pdp-media img { width: 100%; }
.pdp-info h1 { font-size: clamp(24px, 2.6vw, 34px); margin-top: 6px; }
.facts { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; font-size: 14px; }
.facts span { display: block; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--muted); }
.pdp-price { padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.pdp-price .was { font-size: 18px; margin-left: 8px; }
.save { margin-left: 10px; background: #FDECEA; color: var(--red); font-weight: 700; font-size: 13px; padding: 4px 8px; border-radius: 6px; }
.ws-box { background: #FFF8E6; border: 1px solid #F5D98A; border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.ws-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.tiers { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 8px; }
.tiers th, .tiers td { text-align: left; padding: 7px 0; border-bottom: 1px solid #F1E2B6; }
.tiers th { font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--gold-dark); }
.pill { display: inline-block; font-family: var(--cond); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 4px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pill-green { background: var(--green-soft); color: var(--green-dark); border-color: transparent; }
.pill-red { background: #FDECEA; color: #8C1D13; border-color: transparent; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; }
.qty { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qty button { width: 44px; border: 0; background: var(--bg); font-size: 20px; cursor: pointer; }
.qty input { width: 64px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy .btn { flex: 1; }
.ship-note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 14px; }
.ship-note svg { flex: none; color: var(--green); margin-top: 2px; }
.desc { margin-top: 22px; }
.desc h2 { font-size: 18px; }

/* Cart and checkout */
.page-title { margin: 22px 0 18px; }
.cart-grid, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; padding-bottom: 40px; }
.cart-lines, .panel, .summary { background: #fff; border-radius: 16px; padding: 22px; }
.panel { margin-bottom: 18px; }
.summary { position: sticky; top: 140px; }
.line { display: grid; grid-template-columns: 88px minmax(0, 1fr) 110px 120px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { border-radius: 10px; }
.line-name { font-weight: 600; color: var(--ink); text-decoration: none; }
.line-info p { margin: 2px 0 6px; }
.line-qty input { width: 80px; padding: 9px; border: 1px solid var(--line); border-radius: 8px; }
.line-qty { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.line-price { text-align: right; display: flex; flex-direction: column; font-family: var(--cond); font-size: 18px; }
.cart-lines .btn-ghost { margin-top: 16px; }
.summary dl { margin: 12px 0 18px; }
.summary dl div { display: flex; justify-content: space-between; padding: 8px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 17px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.summary .total dt { color: var(--ink); font-weight: 700; }
.summary .total dd { font-size: 24px; }
.summary .linklike { display: block; margin-top: 12px; }
.mini-lines { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.mini-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.mini-lines li span:last-child { font-family: var(--cond); font-weight: 700; white-space: nowrap; }
.secure { display: flex; gap: 6px; align-items: flex-start; margin-top: 12px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; color: var(--ink); }
input:not([type=radio]):not([type=checkbox]), select, textarea { width: 100%; padding: 11px 13px; border: 1px solid #CBD5CF; border-radius: 10px; background: #fff; min-height: 44px; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 2px solid var(--green-soft); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.field-err { color: var(--red); font-size: 13px; margin: 4px 0 0; }
.fields { display: grid; gap: 14px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span2 { grid-column: span 2; }
.panel form > label { margin-top: 12px; }
.panel form > .btn { margin-top: 16px; }
fieldset { border: 0; padding: 0; margin: 0; }
.pay-options { display: grid; gap: 10px; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 400; margin: 0; }
.pay-opt:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.pay-opt input { width: 20px; height: 20px; accent-color: var(--green); }
.pay-opt strong { display: block; }
.pay-opt small { color: var(--muted); }

.order-head { text-align: center; padding: 30px 0 12px; }
.check { width: 64px; height: 64px; border-radius: 99px; background: var(--green); display: grid; place-items: center; margin: 0 auto 14px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 0 0 18px; counter-reset: s; }
.steps li { text-align: center; font-size: 13px; color: var(--muted); position: relative; padding-top: 34px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 26px; border-radius: 99px; background: var(--line); display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.steps li.done { color: var(--ink); font-weight: 600; }
.steps li.done::before { background: var(--green); color: #fff; }
.panel dl div { display: flex; justify-content: space-between; padding: 6px 0; }
.panel dl dd { margin: 0; font-family: var(--cond); font-weight: 700; }
.panel dl .total { border-top: 1px solid var(--line); padding-top: 10px; font-size: 18px; }
.addr { margin-top: 16px; }

h3.sub { font-size: 16px; margin: 20px 0 10px; }
.ship-opt { display: grid; grid-template-columns: auto 1fr auto; }
.ship-opt.is-waiting { opacity: .7; cursor: default; }
.ship-opt.is-waiting small { font-family: var(--body); font-weight: 500; color: var(--muted); }
.ship-price { font-family: var(--cond); font-weight: 700; font-size: 17px; white-space: nowrap; }
.track-box { border: 2px solid var(--green); }
.code { font-family: ui-monospace, Menlo, monospace; }
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; background: var(--ink); color: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.consent p { margin: 0 0 12px; font-size: 14px; color: #DDE7E1; }
.consent a { color: var(--gold); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.consent .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Auth and account */
.auth { padding: 36px 20px 60px; }
.auth-card { max-width: 440px; margin: 0 auto; }
.auth-card.wide { max-width: 640px; }
.auth-card label { margin-top: 14px; }
.auth-card .btn { margin-top: 20px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0 6px; }
.seg label { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; cursor: pointer; font-weight: 400; margin: 0; }
.seg label:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.seg strong { display: block; }
.seg small { color: var(--muted); }
.ws-fields h2 { font-size: 17px; margin-top: 22px; }
.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; padding-bottom: 40px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; font-size: 12px; color: var(--muted); }
.status { font-family: var(--cond); font-weight: 700; font-size: 12px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--bg); }
.status-paid, .status-processing, .status-shipped, .status-delivered { background: var(--green-soft); color: var(--green-dark); }
.status-failed, .status-cancelled { background: #FDECEA; color: #8C1D13; }
.status-pending { background: #FFF4D6; color: var(--gold-dark); }

/* Wholesale page */
.ws-hero { background: var(--ink); color: #fff; padding: 52px 0; }
.ws-hero-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.ws-hero h1 { color: #fff; }
.ws-hero p { color: rgba(255,255,255,.85); }
.ws-hero .eyebrow { color: var(--gold); }
.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: w; }
.ws-steps li { background: rgba(255,255,255,.07); border-radius: 14px; padding: 16px 18px 16px 62px; position: relative; }
.ws-steps li::before { counter-increment: w; content: counter(w); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 99px; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-family: var(--display); }
.ws-steps b { display: block; font-family: var(--display); font-size: 17px; }
.ws-steps span { color: rgba(255,255,255,.8); font-size: 14px; }
#quote { padding: 20px 20px 50px; }

.prose { background: #fff; border-radius: 18px; padding: 32px; margin: 24px auto 40px; }
.prose h2 { margin-top: 1.4em; }

/* Footer */
.footer { background: var(--ink); color: #C7D3CC; margin-top: 30px; }
.footer-promise { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 36px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-promise strong { display: block; color: #fff; font-family: var(--display); font-size: 16px; }
.footer-promise span { font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 36px 0; }
.footer-cols h2 { color: #fff; font-family: var(--cond); text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.footer-cols a:not(.logo) { display: block; color: #C7D3CC; text-decoration: none; padding: 4px 0; font-size: 14px; }
.footer-cols a:hover { color: #fff; }
.footer-linkbtn { color: #C7D3CC; font-size: 14px; padding: 4px 0; text-decoration: none; }
.muted-light { color: #A8B6AE; font-size: 14px; margin-top: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: #A8B6AE; }

/* Modal */
.modal { border: 0; border-radius: 18px; padding: 0; width: min(440px, calc(100% - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(15,31,23,.55); }
.modal-body { padding: 26px; }
.modal-body label { margin-top: 14px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; }
  .promises-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .cart-grid, .checkout-grid, .account-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .ws-hero-in { grid-template-columns: 1fr; }
  .footer-cols, .footer-promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hide-sm, .topbar-msg { display: none; }
  .topbar-in { justify-content: flex-end; }
  details.filters > summary { display: flex; justify-content: space-between; align-items: center; min-height: 28px; }
  details.filters > summary::after { content: "+"; font-size: 20px; }
  details.filters[open] > summary::after { content: "−"; }
  details.filters[open] > summary { margin-bottom: 12px; }
  .header-in { flex-wrap: wrap; gap: 8px 12px; }
  .menu-btn { display: inline-grid; place-items: center; margin-left: -10px; }
  .logo { font-size: 21px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .catnav { display: none; }
  .catnav.open { display: block; }
  .catnav.open .catnav-in { flex-direction: column; }
  .slide { grid-template-columns: 1fr; padding: 28px 24px 52px; min-height: 0; }
  .slide-art { height: 190px; }
  .dots { left: 24px; }
  .hero-side { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; padding: 16px; gap: 20px; }
  .line { grid-template-columns: 64px minmax(0, 1fr); }
  .line-qty, .line-price { grid-column: 2; text-align: left; }
  .fields.two { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .band-in { flex-direction: column; align-items: flex-start; }
  .seg { grid-template-columns: 1fr; }
  .rail { grid-auto-columns: 168px; }
  .rail > .card { min-width: 168px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .price { font-size: 18px; }
  .footer-cols, .footer-promise { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
.status-converted { background: var(--green-soft); color: var(--green-dark); }
.status-sent { background: #E7F1FB; color: #1C4E80; }
.status-declined, .status-expired { background: #FDECEA; color: #8C1D13; }
.totals { max-width: 360px; margin: 16px 0 0 auto; }
.totals div { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
.totals dd { margin: 0; font-family: var(--cond); font-weight: 700; font-size: 17px; }
.totals .total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-size: 20px; }
.lines-table td { vertical-align: middle; }
.lines-table .num { font-family: var(--cond); font-weight: 700; white-space: nowrap; }
.status-open, .status-offered, .status-new { background: #FFF4DA; color: var(--gold-dark); }
.status-accepted, .status-packing, .status-picked_up { background: #E6EEFB; color: #1D4A8C; }
.status-ready { background: #FFF4DA; color: var(--gold-dark); }
.status-delivered, .status-collected { background: var(--green-soft); color: var(--green-dark); }
