/* Kenabisa storefront */
:root {
  --ink: #18312b;
  --ink-2: #24463d;
  --cream: #f4f1e9;
  --paper: #fbfaf6;
  --white: #fff;
  --rust: #bd654b;
  --rust-dark: #a04f37;
  --lime: #d8f27e;
  --line: #e2e1d6;
  --muted: #66706b;
  --success: #2f7a4f;
  --danger: #b53e30;
  --warn: #b7791f;
  --sativa: #e9a23b;
  --indica: #7b5ea7;
  --hybrid: #3f8f6b;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(24, 49, 43, .06), 0 8px 24px rgba(24, 49, 43, .06);
  --shadow-lg: 0 24px 60px rgba(24, 49, 43, .18);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 2px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.page-narrow { max-width: 1080px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; display: block; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; color: var(--muted); margin: 0 0 10px; }
.lede { font-size: 18px; color: var(--muted); max-width: 640px; }
.icon { flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .1s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-light { background: var(--lime); color: var(--ink); }
.btn-light:hover { background: #e6f9a6; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 24px; font-size: 16px; }
.btn-grow { flex: 1; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; text-decoration: none; }
.link-arrow:hover { color: var(--rust); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.link-btn:hover { color: var(--danger); }

/* Header */
.announcement { background: var(--ink); color: #eef0e2; text-align: center; padding: 9px var(--gutter); font-size: 12px; letter-spacing: .03em; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 250, 246, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); height: 74px; display: flex; align-items: center; gap: 28px; }
.brand img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a, .nav-dropdown > a { font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; padding: 26px 0; border-bottom: 2px solid transparent; }
.main-nav a.active, .main-nav > a:hover, .nav-dropdown:hover > a { border-color: var(--rust); }
.nav-dropdown { position: relative; }
.nav-dropdown .icon { width: 14px; height: 14px; }
.dropdown-panel { position: absolute; top: 100%; left: -24px; display: none; gap: 32px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 560px; }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { display: flex; }
.dropdown-col { display: flex; flex-direction: column; gap: 8px; min-width: 110px; }
.dropdown-col a { text-decoration: none; font-size: 14px; color: var(--muted); }
.dropdown-col a:hover { color: var(--rust); }
.dropdown-title { font-weight: 600; color: var(--ink) !important; margin-bottom: 4px; }
.nav-mobile-only { display: none !important; }
.header-search { flex: 1; max-width: 360px; margin-left: auto; position: relative; }
.header-search input { width: 100%; padding: 10px 42px 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.header-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; cursor: pointer; display: grid; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px; background: none; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; font-size: 14px; }
.icon-btn:hover { background: var(--cream); }
.icon-btn .icon { width: 22px; height: 22px; }
.badge { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--rust); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.badge.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle, .search-toggle { display: none; }

/* Flash */
.flash { max-width: 1320px; margin: 16px auto 0; padding: 12px 16px; border-radius: var(--radius-sm); display: flex; justify-content: space-between; gap: 12px; align-items: center; width: calc(100% - 2 * var(--gutter)); }
.flash-success { background: #e7f4dc; border: 1px solid #bfdea2; }
.flash-error { background: #fbe7e2; border: 1px solid #efbdb0; color: #7d2a1d; }
.flash button { background: none; border: 0; font-size: 20px; cursor: pointer; line-height: 1; }

/* Hero */
.hero { background: var(--ink); color: #f5f3ea; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; overflow: hidden; }
.hero-copy { padding: clamp(48px, 8vw, 110px) var(--gutter); align-self: center; max-width: 680px; margin-left: auto; }
.hero .eyebrow { color: #b9c9b6; }
.hero h1 { font: 500 clamp(48px, 7vw, 96px)/.95 var(--serif); letter-spacing: -.03em; margin-bottom: 24px; }
.hero h1 em, .display em, h2 em { color: var(--lime); font-style: italic; }
.hero .lede { color: #c8d3c6; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 13px; color: #c8d3c6; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--lime); width: 18px; }
.hero-art { position: relative; background: radial-gradient(circle at 70% 30%, #315a4f, var(--ink) 70%); min-height: 420px; }
.hero-sun { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--rust); right: 12%; top: 14%; opacity: .9; }
.hero-tile { position: absolute; background: var(--paper); border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg); z-index: 2; overflow: hidden; }
.hero-tile img { width: 100%; height: 100%; object-fit: contain; }
.hero-tile-0 { width: 46%; aspect-ratio: 1; left: 10%; top: 18%; transform: rotate(-4deg); }
.hero-tile-1 { width: 34%; aspect-ratio: 1; right: 8%; bottom: 12%; transform: rotate(5deg); }
.hero-tile-2 { width: 24%; aspect-ratio: 1; right: 22%; top: 8%; transform: rotate(-2deg); }

/* Sections */
.section { padding-top: clamp(48px, 7vw, 88px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font: 500 clamp(30px, 4vw, 44px) var(--serif); margin: 0; }
.page-hero { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 44px); }
.page-hero h1 { font: 500 clamp(40px, 6vw, 76px)/1 var(--serif); letter-spacing: -.03em; }
.page-hero.compact h1 { font-size: clamp(34px, 4.5vw, 54px); }
.page-hero h1 em { color: var(--rust); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--rust); }

/* Category tiles */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.category-tile { position: relative; min-height: 180px; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: #fff; overflow: hidden; transition: transform .2s; }
.category-tile::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.12); right: -40px; bottom: -50px; transition: transform .3s; }
.category-tile:hover { transform: translateY(-3px); }
.category-tile:hover::after { transform: scale(1.2); }
.category-name { font: 500 30px var(--serif); }
.category-count { display: flex; align-items: center; gap: 6px; font-size: 13px; opacity: .9; }
.tone-green { background: #4e6f5c; }
.tone-clay { background: #b26a4f; }
.tone-blue { background: #44657c; }
.tone-plum { background: #7d5d79; }

/* Product grid & card */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .35s; }
.product-card:hover .card-media img { transform: scale(1.04); }
.img-fallback { position: absolute; inset: 0; display: none; place-items: center; font: italic 72px var(--serif); color: rgba(24,49,43,.25); background: linear-gradient(135deg, #e8eadc, #d8ddc8); }
.img-fallback.show { display: grid; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; background: var(--white); }
.tag-sale { background: var(--rust); color: #fff; }
.tag-muted { background: rgba(24,49,43,.8); color: #fff; }
.tag-warn { background: #fff3d6; color: #8a5a10; }
.wish-form { position: absolute; top: 10px; right: 10px; z-index: 2; }
.wish-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: color .15s, transform .15s; }
.wish-btn:hover { transform: scale(1.08); }
.wish-btn.saved { color: var(--rust); }
.wish-btn.saved .icon { fill: currentColor; }
.wish-text { white-space: nowrap; width: auto; height: auto; border-radius: 999px; padding: 8px 2px; background: none; display: inline-flex; gap: 8px; font-weight: 500; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.card-meta a { text-decoration: none; }
.card-body h3 { font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--rust); }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 6px; }
.price { font-weight: 700; font-size: 17px; }
.price.muted { font-weight: 500; font-size: 14px; }
.price.sale ins { text-decoration: none; color: var(--rust); }
.price.sale del { color: var(--muted); font-weight: 400; font-size: 14px; }
.add-btn { display: inline-flex; align-items: center; gap: 4px; background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 9px 14px; font-weight: 600; font-size: 13px; cursor: pointer; text-decoration: none; transition: background .15s; }
.add-btn:hover { background: var(--rust); }
.add-btn .icon { width: 16px; height: 16px; }
.add-btn.is-loading { opacity: .6; pointer-events: none; }
.add-btn-muted { background: var(--cream); color: var(--ink); }
.product-card.is-unavailable .card-media img { opacity: .55; }
.strain { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.strain-sativa { background: #fdf0d9; color: #94600f; }
.strain-indica { background: #ede6f6; color: #5a4084; }
.strain-hybrid { background: #e0f0e7; color: #2b6a4d; }
.stars { color: #d6d3c4; letter-spacing: 1px; font-size: 14px; display: inline-flex; align-items: center; }
.stars i { font-style: normal; }
.stars i.on { color: #e3a008; }
.stars small { color: var(--muted); margin-left: 4px; letter-spacing: 0; }

/* Strain band */
.strain-band { background: var(--cream); margin-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.strain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 16px; }
.strain-card { background: var(--white); border-radius: var(--radius); padding: 26px; text-decoration: none; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.strain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.strain-card h3 { font: 500 26px var(--serif); margin: 16px 0 8px; }
.strain-card p { color: var(--muted); }

/* Feature split */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature-card { border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.feature-card h2 { font: 500 clamp(28px, 3.4vw, 42px)/1.05 var(--serif); }
.feature-dark { background: var(--ink); color: #f1efe6; }
.feature-dark p { color: #c8d3c6; }
.feature-dark .eyebrow { color: #a9bba6; }
.feature-cream { background: #efe4d6; }
.feature-cream h2 em { color: var(--rust); }

/* Quote, journal, newsletter */
.quote { margin-top: clamp(48px, 7vw, 88px); background: var(--rust); color: #fff; text-align: center; padding: clamp(48px, 7vw, 90px) var(--gutter); }
.quote blockquote { margin: 0 auto 12px; max-width: 800px; font: italic 500 clamp(28px, 4vw, 46px)/1.2 var(--serif); }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.journal-card { text-decoration: none; }
.journal-card h3 { font: 500 24px/1.2 var(--serif); }
.journal-card:hover h3 { color: var(--rust); }
.journal-art { aspect-ratio: 16 / 10; border-radius: var(--radius); margin-bottom: 16px; }
.art-green { background: radial-gradient(circle at 30% 70%, #b9cfa3 0 22%, transparent 23%), radial-gradient(circle at 72% 35%, #e6c27a 0 16%, transparent 17%), #4e6f5c; }
.art-pink { background: radial-gradient(circle at 65% 60%, #f3c6b3 0 26%, transparent 27%), radial-gradient(circle at 25% 30%, #fff1d8 0 12%, transparent 13%), #c97f68; }
.art-clay { background: radial-gradient(circle at 50% 50%, #f1d9a4 0 24%, transparent 25%), radial-gradient(circle at 20% 80%, #8a5a43 0 18%, transparent 19%), #b26a4f; }
.journal-list { display: grid; gap: 48px; padding-bottom: 20px; }
.journal-entry { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; scroll-margin-top: 100px; }
.journal-entry h2 { font: 500 34px var(--serif); }
.newsletter { margin-top: clamp(48px, 7vw, 88px); background: var(--lime); padding: clamp(40px, 6vw, 70px) 0; }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.newsletter h2 { font: 500 clamp(28px, 3.5vw, 42px) var(--serif); margin: 0; }
.newsletter form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter input { flex: 1; min-width: 220px; padding: 14px 18px; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); }
.form-message { width: 100%; margin: 4px 0 0; font-size: 13px; min-height: 1em; }

/* Trust bar & footer */
.trust-bar { max-width: 1320px; margin: clamp(48px, 7vw, 88px) auto 0; padding: 28px var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); }
.trust-bar div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
.trust-bar .icon { grid-row: span 2; width: 28px; height: 28px; color: var(--rust); }
.trust-bar strong { font-size: 14px; }
.trust-bar span { font-size: 13px; color: var(--muted); }
.site-footer { background: var(--ink); color: #c8d3c6; margin-top: 20px; padding: 56px 0 24px; }
.footer-grid { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid a { display: block; text-decoration: none; margin-bottom: 8px; font-size: 14px; }
.footer-grid a:hover { color: var(--lime); }
.footer-grid p { font-size: 14px; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-news { display: flex; flex-wrap: wrap; gap: 8px; max-width: 360px; }
.footer-news input { flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid #45625a; background: transparent; color: #fff; }
.footer-news button { padding: 11px 18px; border-radius: 999px; border: 0; background: var(--lime); color: var(--ink); font-weight: 600; cursor: pointer; }
.footer-legal { max-width: 1320px; margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid #36534a; font-size: 12px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }
.mobile-dock { display: none; }

/* Shop */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 96px; max-height: calc(100vh - 110px); overflow: auto; padding-right: 6px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; }
.filters-head h2 { font-size: 18px; margin: 0; }
.filters-close { display: none; font-size: 26px; }
.filters fieldset { border: 0; border-top: 1px solid var(--line); padding: 18px 0 10px; margin: 16px 0 0; }
.filters legend { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; padding: 0; margin-bottom: 10px; float: left; width: 100%; }
.radio, .check { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 5px 0; cursor: pointer; clear: both; }
.radio small { margin-left: auto; color: var(--muted); }
.radio.sub { padding-left: 24px; font-size: 13px; color: var(--muted); }
.radio input, .check input { accent-color: var(--ink); width: 16px; height: 16px; flex-shrink: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; clear: both; }
.chip { display: inline-flex; align-items: center; gap: 6px; }
.chip input { position: absolute; opacity: 0; }
.chip span, a.chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; text-decoration: none; background: var(--white); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--rust); }
.chip-active { background: var(--cream) !important; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.results-bar p { margin: 0; }
.filters-open { display: none; }
.sort-form { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sort-form select { padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; }
.pagination span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination a:hover { border-color: var(--ink); }
.empty-state { text-align: center; padding: 60px 20px; background: var(--cream); border-radius: var(--radius); }
.empty-state > .icon { width: 44px; height: 44px; color: var(--rust); margin: 0 auto 10px; }
.empty-state h1, .empty-state h2 { font: 500 30px var(--serif); }
.empty-state p { color: var(--muted); }

/* Product page */
.product-page { padding-top: 28px; }
.product-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery-main { position: sticky; top: 100px; aspect-ratio: 1; background: var(--cream); border-radius: var(--radius); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 40px; }
.gallery-main .tag { position: absolute; top: 18px; left: 18px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; }
.gallery-thumb { flex: 0 0 74px; height: 74px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); cursor: pointer; overflow: hidden; }
.gallery-thumb.active { border: 2px solid var(--ink); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font: 500 clamp(30px, 3.6vw, 44px)/1.1 var(--serif); margin: 8px 0 12px; }
.rating-link { text-decoration: none; display: inline-block; margin-bottom: 10px; }
.product-price { margin: 10px 0 18px; }
.product-price .price { font-size: 28px; }
.product-price .price.sale del { font-size: 18px; }
.product-short { color: var(--muted); }
.stock-line { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.stock-line.in { color: var(--success); }
.stock-line.out { color: var(--muted); }
.buy-box { display: flex; gap: 12px; margin: 18px 0 8px; }
.qty-input { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--white); overflow: hidden; }
.qty-input button { width: 40px; height: 46px; border: 0; background: none; font-size: 18px; cursor: pointer; }
.qty-input button:hover { background: var(--cream); }
.qty-input input { width: 44px; text-align: center; border: 0; background: none; -moz-appearance: textfield; font-weight: 600; }
.qty-input input::-webkit-outer-spin-button, .qty-input input::-webkit-inner-spin-button { -webkit-appearance: none; }
.perks { list-style: none; padding: 20px 0; margin: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; }
.perks .icon { color: var(--rust); margin-top: 2px; }
.perks strong { display: block; font-size: 14px; }
.perks span { font-size: 13px; color: var(--muted); }
.spec-list { display: grid; grid-template-columns: 130px 1fr; gap: 8px 16px; font-size: 14px; margin: 0; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.product-tabs { margin-top: clamp(40px, 6vw, 72px); }
.tab-list { display: flex; gap: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-list button { background: none; border: 0; padding: 14px 0; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.tab-list button[aria-selected="true"] { color: var(--ink); border-color: var(--rust); }
.tab-panel { padding: 28px 0; max-width: 820px; }
.prose { line-height: 1.75; }
.prose p, .prose li { color: #3d4b46; }
.prose h2 { font: 500 30px var(--serif); margin-top: 1.2em; }
.reviews-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; max-width: none; }
.tab-panel#reviews { max-width: none; }
.review-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.review-summary strong { font: 500 44px var(--serif); }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review p { margin: 8px 0; }
.review small { color: var(--muted); }
.rating-input { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rating-input legend { font-size: 13px; font-weight: 600; margin-bottom: 4px; width: 100%; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 28px; color: #d6d3c4; cursor: pointer; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: #e3a008; }
.rating-input input:focus-visible + label { outline: 2px solid var(--rust); }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid var(--line); padding: 10px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; transform: translateY(110%); transition: transform .25s; box-shadow: 0 -8px 24px rgba(0,0,0,.06); }
.sticky-buy.show { transform: none; }
.sticky-buy strong { display: block; font-size: 14px; max-width: 50vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Cards & forms */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.card h2 { font-size: 20px; margin-bottom: 18px; }
.form-card { max-width: 560px; margin: 0 auto; }
.form-card.wide { max-width: none; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { display: block; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea, .coupon-form input { width: 100%; padding: 12px 14px; border: 1px solid #d5d6c8; border-radius: var(--radius-sm); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus, .coupon-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(24,49,43,.1); }
.field input[readonly], .field input:disabled { background: var(--cream); }
.field-error { display: block; color: var(--danger); font-size: 13px; margin-top: 6px; }
.check { align-items: flex-start; margin: 8px 0 16px; }
.check input { margin-top: 3px; }
.notice { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; }
.notice-error { background: #fbe7e2; color: #7d2a1d; }

/* Cart */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto 100px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.thumb { position: relative; width: 88px; aspect-ratio: 1; border-radius: var(--radius-sm); background: var(--cream); display: block; overflow: hidden; flex-shrink: 0; }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.thumb .img-fallback { font-size: 32px; }
.cart-row-info { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.cart-name { font-weight: 600; text-decoration: none; }
.cart-name:hover { color: var(--rust); }
.cart-line-total { text-align: right; }
.cart-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; }
.summary { position: sticky; top: 96px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14px; }
.summary-row.discount { color: var(--success); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; margin-bottom: 18px; }
.coupon-form { display: flex; gap: 8px; margin: 10px 0 14px; }
.coupon-form input { text-transform: uppercase; }
.summary-items { list-style: none; padding: 0; margin: 0 0 16px; }
.summary-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-items .thumb { width: 60px; overflow: visible; }
.summary-items .thumb img, .summary-items .thumb .img-fallback { border-radius: var(--radius-sm); }
.summary-items .thumb b { position: absolute; top: -7px; right: -7px; background: var(--ink); color: #fff; font-size: 11px; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; z-index: 1; }
.summary-items small { display: block; }

/* Checkout */
.checkout-main { display: grid; gap: 20px; }
.step-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; margin-right: 8px; }
.option-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.option-card { position: relative; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; }
.option-card > span { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); height: 100%; transition: border-color .15s, background .15s; }
.option-card .icon { color: var(--rust); }
.opt-text { flex: 1; display: flex; flex-direction: column; }
.option-card small { color: var(--muted); font-size: 13px; }
.option-card b { margin-left: auto; }
.option-card input:checked + span { border-color: var(--ink); background: #f6f8f0; box-shadow: inset 0 0 0 1px var(--ink); }
.option-card input:focus-visible + span { outline: 2px solid var(--rust); }
.option-card.is-disabled { opacity: .5; cursor: not-allowed; }

/* Order */
.order-hero { text-align: center; }
.order-hero .lede { margin: 0 auto; }
.success-mark { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; margin: 0 auto 18px; }
.success-mark .icon { width: 32px; height: 32px; }
.progress-track { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.progress-track li { position: relative; text-align: center; font-size: 13px; color: var(--muted); padding-top: 34px; }
.progress-track li span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--line); z-index: 1; }
.progress-track li::before { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.progress-track li:first-child::before { display: none; }
.progress-track li.done { color: var(--ink); font-weight: 600; }
.progress-track li.done span, .progress-track li.done::before { background: var(--success); }
.progress-track li.current span { box-shadow: 0 0 0 5px rgba(47,122,79,.2); }
.order-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; margin-bottom: 28px; align-items: start; }
.order-grid aside { display: grid; gap: 20px; }
.notice-card { display: flex; gap: 12px; background: #fff7e8; border-color: #f0dfb8; }
.notice-card .icon { color: var(--warn); }
.notice-card p { margin: 0; font-size: 14px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: 0 0 14px 18px; border-left: 2px solid var(--line); position: relative; display: flex; flex-direction: column; font-size: 14px; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.timeline small { color: var(--muted); }

/* Account */
.auth-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: start; }
.auth-grid .form-card { margin: 0; max-width: none; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.account-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.account-nav a, .account-nav button { text-align: left; padding: 11px 14px; border-radius: var(--radius-sm); text-decoration: none; background: none; border: 0; cursor: pointer; font-size: 14px; width: 100%; }
.account-nav a:hover, .account-nav button:hover { background: var(--cream); }
.account-nav a.active { background: var(--ink); color: #fff; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line); }
.data-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table small { display: block; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--cream); white-space: nowrap; }
.status-pending { background: #fff3d6; color: #8a5a10; }
.status-confirmed, .status-preparing { background: #e4eefc; color: #2c5591; }
.status-ready, .status-out_for_delivery { background: #ede6f6; color: #5a4084; }
.status-completed { background: #e0f0e7; color: #2b6a4d; }
.status-cancelled { background: #fbe7e2; color: #9b3324; }

/* Content pages */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); padding-bottom: 48px; }
.display { font: 500 clamp(28px, 3.4vw, 42px)/1.2 var(--serif); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-grid .icon { color: var(--rust); width: 28px; height: 28px; margin-bottom: 12px; }
.value-grid p { color: var(--muted); margin: 0; }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.contact-layout .form-card { margin: 0; max-width: none; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.contact-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; padding: 20px; }
.contact-card .icon { color: var(--rust); margin-bottom: 6px; }
.contact-card span { color: var(--muted); font-size: 14px; }
a.contact-card:hover { border-color: var(--ink); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; margin-bottom: 10px; background: var(--cream); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.policy-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.policy-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; }
.policy section { scroll-margin-top: 100px; padding-bottom: 12px; }

/* Drawer, overlay, toast, age gate */
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); z-index: 60; transform: translateX(100%); transition: transform .3s ease, visibility .3s; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); visibility: hidden; }
.cart-drawer.open { transform: none; visibility: visible; }
.cart-drawer [data-cart-drawer] { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font: 500 26px var(--serif); margin: 0; }
.drawer-head .icon-btn { font-size: 28px; line-height: 1; padding: 4px 10px; }
.drawer-items { list-style: none; margin: 0; padding: 8px 24px; overflow-y: auto; flex: 1; }
.drawer-items li { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.drawer-items .thumb { width: 72px; }
.drawer-items a { text-decoration: none; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.drawer-items small { display: block; color: var(--muted); margin: 2px 0 8px; }
.drawer-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.drawer-qty button { width: 30px; height: 30px; background: none; border: 0; cursor: pointer; font-size: 16px; }
.drawer-qty button:disabled { opacity: .3; }
.drawer-qty span { min-width: 22px; text-align: center; font-weight: 600; }
.drawer-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; background: var(--white); }
.drawer-foot .summary-row { font-size: 16px; }
.drawer-foot p { margin: 0 0 6px; }
.drawer-empty { margin: auto; text-align: center; padding: 40px; }
.drawer-empty .icon { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--muted); }
.overlay { position: fixed; inset: 0; background: rgba(15, 30, 26, .45); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.open { opacity: 1; pointer-events: auto; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 999px; z-index: 90; font-size: 14px; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast.error { background: var(--danger); }
.age-gate { position: fixed; inset: 0; z-index: 100; background: rgba(24, 49, 43, .96); display: grid; place-items: center; padding: 16px; }
.age-card { background: var(--paper); border-radius: 20px; padding: clamp(28px, 5vw, 44px); max-width: 440px; text-align: center; }
.age-card img { margin: 0 auto 20px; height: 44px; width: auto; }
.age-card h2 { font: 500 32px var(--serif); }
.age-card p { color: var(--muted); font-size: 14px; }
.age-card form { margin-bottom: 10px; }

/* Responsive */
@media (max-width: 1180px) {
  .header-search { max-width: 240px; }
  .main-nav { gap: 18px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .action-label { display: none; }
}
@media (max-width: 980px) {
  .menu-toggle, .search-toggle { display: inline-flex; }
  .header-inner { gap: 10px; height: 64px; }
  .brand img { height: 32px; }
  .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 85%); background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; padding: 80px 24px 24px; z-index: 58; transform: translateX(-100%); transition: transform .3s; overflow-y: auto; box-shadow: var(--shadow-lg); }
  .main-nav.open { transform: none; }
  .main-nav > a, .nav-dropdown > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav-dropdown .dropdown-panel { position: static; display: flex; flex-direction: column; gap: 14px; box-shadow: none; border: 0; padding: 12px 0 12px 12px; min-width: 0; background: none; }
  .nav-mobile-only { display: flex !important; }
  .header-search { order: 5; position: absolute; left: var(--gutter); right: var(--gutter); top: 64px; max-width: none; padding: 8px 0 10px; display: none; }
  .header-search.open { display: block; background: var(--paper); }
  .header-actions { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { margin: 0; }
  .hero-art { min-height: 340px; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(340px, 90%); max-height: none; background: var(--paper); z-index: 58; padding: 20px 24px; transform: translateX(-100%); transition: transform .3s; box-shadow: var(--shadow-lg); }
  .filters.open { transform: none; }
  .filters-close, .filters-open { display: inline-flex; }
  .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-main, .reviews-layout, .cart-layout, .checkout-layout, .order-grid, .auth-grid, .contact-layout, .about-grid, .journal-entry { grid-template-columns: 1fr; }
  .gallery-main { position: relative; top: 0; }
  .summary { position: static; }
  .checkout-summary { order: -1; }
  .split-feature, .newsletter-inner, .journal-grid, .strain-grid, .value-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; }
  .account-nav a, .account-nav button { white-space: nowrap; width: auto; }
}
@media (max-width: 640px) {
  body { padding-bottom: 64px; }
  .header-actions .icon-btn[href*="account"], .header-actions .icon-btn[href*="wishlist"] { display: none; }
  .product-grid, .product-grid.grid-3 { gap: 10px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: 14px; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
  .wish-btn { width: 34px; height: 34px; }
  .results-bar { flex-wrap: wrap; }
  .sort-form label { display: none; }
  .form-grid, .option-cards, .contact-cards { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-row .thumb { width: 72px; grid-row: span 2; }
  .cart-line-total { text-align: left; }
  .progress-track li { font-size: 11px; }
  .trust-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mobile-dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; background: var(--white); border-top: 1px solid var(--line); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
  .mobile-dock a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; text-decoration: none; }
  .mobile-dock .badge { top: -4px; right: calc(50% - 20px); }
  .sticky-buy { bottom: 58px; }
  .tab-list { gap: 18px; }
  .spec-list { grid-template-columns: 110px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .trust-bar, .mobile-dock, .announcement, .cart-drawer, .overlay { display: none !important; }
}
