/* V121 (2026-10-28): responsive layer for every page (shop + static pages).
   Header never overflows; EN/EUR move into the menu below 768 px; safe areas; dvh; no sideways scroll. */

/* ---------- Global ---------- */
html, body { overflow-x: hidden; }               /* fallback for old Safari (< 16) */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
img, video, iframe, table { max-width: 100%; }
pre, code { overflow-wrap: anywhere; }

/* Inputs: 16px on touch screens so iOS Safari does not zoom in on focus */
@media (pointer: coarse) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]):not([type=submit]),
  textarea,
  select:not(.pill-select):not(.spill) { font-size: 16px !important; }
  .mobile-extras .pill-select, .smenu-extras .spill { font-size: 16px !important; }
}

/* Full-height things: dynamic viewport height where supported (iOS address bar) */
@supports (height: 100dvh) {
  .mega { max-height: calc(100dvh - 150px); }
  .lst-side { max-height: calc(100dvh - 150px); }
  .sf-side { max-height: calc(100dvh - 110px); }
  .chat-panel { max-height: min(620px, calc(100dvh - 140px)); }
  html body .bfs-box { max-height: calc(100dvh - 100px); }
  @media (max-width: 640px) { .chat-panel { max-height: 86dvh; } }
}

/* ---------- Shop header (index.html) ---------- */
.site-header .hdr-row { min-width: 0; gap: clamp(6px, 1.6vw, 40px); padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.site-header .hdr-row > div[style*="flex:1"] { flex: 1 1 0; min-width: 0; }
.site-header .logo { flex: 0 1 auto; min-width: 0; }
.site-header .logo-img { flex: 0 0 auto; }
.site-header .logo-word { min-width: 0; overflow: hidden; }
.site-header .tools { flex: 0 0 auto; min-width: 0; }
.site-header .menu-btn, .site-header .cart-btn, .site-header .acct-btn { flex: 0 0 auto; }
.site-header .cart-btn { white-space: nowrap; }
.site-header #cartCount { min-width: 1.2em; text-align: center; font-variant-numeric: tabular-nums; }

/* 768–1100: everything stays in the bar, it just tightens */
@media (min-width: 768px) and (max-width: 1100px) {
  .site-header .hdr-row { gap: clamp(8px, 1.4vw, 16px); }
  .site-header .tools { gap: 6px; }
  .site-header .logo { gap: 10px; }
  .site-header .logo-word b { font-size: clamp(15px, 1.8vw, 18px); }
  .site-header .logo-word span { font-size: clamp(9px, 1.05vw, 10px); letter-spacing: 0.36em; }
}

/* Below 768: language + currency live in the menu; bar = menu, logo, search, account, cart */
@media (max-width: 767px) {
  .site-header .tools .pill-select { display: none !important; }
  .site-header .hdr-row { height: 64px; gap: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .site-header .tools { gap: 4px; }
  .site-header .logo { gap: 10px; }
  .site-header .logo-img { width: 40px; height: 40px; }
  .site-header .logo-word { display: flex !important; }
  .site-header .logo-word b { font-size: 16px; }
  .site-header .logo-word span { font-size: 9px; letter-spacing: 0.36em; }
  .site-header .icon-btn,
  .site-header .tools .icon-btn[aria-label="Search"] { display: flex !important; width: 40px; height: 40px; position: relative; }
  .site-header .acct-btn { width: 40px; height: 40px; padding: 0; justify-content: center; position: relative; }
  .site-header .acct-btn .acct-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .site-header .cart-btn { height: 40px; padding: 0 12px 0 10px; gap: 6px; position: relative; }
  /* 44 px tap targets around the 40 px buttons */
  .site-header .icon-btn::before, .site-header .acct-btn::before, .site-header .cart-btn::before { content: ""; position: absolute; inset: -2px; }
  .nav.open { top: calc(64px + env(safe-area-inset-top, 0px)) !important; }
  .nav.open .mobile-extras { display: flex; flex-wrap: wrap; }
  .mobile-extras .pill-select { min-height: 48px; min-width: 0; }
  .mobile-extras { padding-bottom: 8px; }
}
@media (min-width: 768px) {
  .mobile-extras { display: none !important; }
}
@media (max-width: 399px) {
  .site-header .logo-word { display: none !important; }
  .site-header .hdr-row { gap: 6px; padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); }
}
@media (max-width: 339px) {
  .site-header .tools { gap: 2px; }
  .site-header .cart-btn { padding: 0 9px 0 8px; gap: 4px; }
}

/* ---------- Shop hero ---------- */
.hero h1.hero-h1 { font-size: clamp(2rem, 7vw, 4.5rem); }
@media (min-width: 761px) { .hero h1.hero-h1 { font-size: clamp(2rem, 4.3vw, 4.5rem); } }
@media (max-width: 760px) {
  .hero h1.hero-h1 > span { display: inline; white-space: normal; }
}
.motion-btn { bottom: calc(32px + env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) { .motion-btn { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); left: max(var(--pad), env(safe-area-inset-left, 0px)); } }
.chat-fab { right: calc(16px + env(safe-area-inset-right, 0px)); }

/* ---------- Static pages header (header .hd) ---------- */
body > header { padding-top: env(safe-area-inset-top, 0px); }
header .hd { min-width: 0; padding-left: max(var(--pad, 20px), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad, 20px), env(safe-area-inset-right, 0px)); }
header .hd > .logo { flex: 0 1 auto; min-width: 0; }
header .hd > .logo img { flex: 0 0 auto; }
header .hd > .logo span { min-width: 0; overflow: hidden; }
header .hd .stools { flex: 0 0 auto; margin-left: auto; }
header .hd .scart { flex: 0 0 auto; white-space: nowrap; }
.smenu-extras { display: flex; gap: 10px; padding-top: 4px; }
.smenu-extras .spill { flex: 1; min-width: 0; height: 48px !important; font-size: 16px; background-position: right 14px center; }
@media (min-width: 768px) { .smenu-extras { display: none !important; } }
header .hd .mnav-btn { position: relative; flex: 0 0 auto; }
@media (min-width: 768px) and (max-width: 1100px) {
  header .hd { gap: clamp(8px, 1.6vw, 20px); }
  header .hd nav.top { gap: clamp(12px, 1.6vw, 22px); font-size: 14px; }
}
@media (max-width: 767px) {
  header .hd { height: 64px !important; }
  .mnav { top: calc(64px + env(safe-area-inset-top, 0px)) !important; }
  header .hd .stools > .spill { display: none !important; }
  header .hd .stools { gap: 4px; }
  header .hd > .logo { gap: 10px; }
  header .hd > .logo img { width: 40px; height: 40px; }
  header .hd > .logo span { display: block !important; font-size: 16px; line-height: 1.05; }
  header .hd > .logo small { font-size: 9px; letter-spacing: 0.36em; }
  header .hd .mnav-btn { width: 40px; height: 40px; }
  header .hd .acct-btn { width: 40px; height: 40px; padding: 0; justify-content: center; position: relative; }
  header .hd .acct-btn .acct-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  header .hd .scart { height: 40px !important; padding: 0 12px 0 10px !important; position: relative; }
  header .hd .mnav-btn::before, header .hd .acct-btn::before, header .hd .scart::before { content: ""; position: absolute; inset: -2px; }
}
@media (max-width: 399px) {
  header .hd > .logo span { display: none !important; }
  header .hd { padding-left: max(12px, env(safe-area-inset-left, 0px)); padding-right: max(12px, env(safe-area-inset-right, 0px)); gap: 6px; }
}

/* ---------- Checkout on very narrow phones (320–360 px): the single column could not shrink below its content ---------- */
@media (max-width: 980px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }
.co-main > *, .co-box, .fgrid, .fgrid > *, .fld { min-width: 0; }
.fld input, .fld select, .fld textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }
/* V127: sticky add-to-cart bar on product pages */
#buybar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:flex;align-items:center;gap:12px;padding:10px calc(16px + env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));background:rgba(11,18,14,.96);border-top:1px solid rgba(238,241,230,.14);box-shadow:0 -8px 24px rgba(0,0,0,.35);transform:translateY(110%);transition:transform .2s ease;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
#buybar.on{transform:none}
#buybar .bb-i{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.25}
#buybar .bb-i b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--heading,#EEF1E6)}
#buybar .bb-p{margin:0;font-size:15px}#buybar .bb-p small{opacity:.75}
#buybar .bb-b{flex:none;margin:0;min-height:44px;padding:0 18px;display:inline-flex;align-items:center}
@media (min-width:901px){#buybar{display:none}}
body.has-buybar .chat-fab{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
body.has-buybar{padding-bottom:72px}

/* ---------- V134: Bohemia Farms own range ---------- */
/* "Our own range" badge on product cards (shop app + static pages) */
.card .card-img, .pc .im{ position:relative; }
.obadge{ position:absolute; top:10px; left:10px; z-index:3; display:inline-block; padding:5px 11px; border-radius:999px;
  background:var(--accent,#B5E36A); color:var(--on,#0B120E); font:700 11px/1.1 var(--sans,Arial,sans-serif);
  letter-spacing:.06em; text-transform:uppercase; box-shadow:0 6px 16px -8px rgba(0,0,0,.8); }
.pc .im .obadge{ font-size:10px; padding:4px 9px; }
.card.own, .pc[data-own]{ border-color:rgba(181,227,106,.55); }
.card.own .card-img, .pc[data-own] .im{ box-shadow:inset 0 0 0 1px rgba(181,227,106,.25); }
@media (hover:hover){ .pc[data-own]:hover, .card.own:hover{ border-color:var(--accent,#B5E36A); } }

/* branded category photo tiles (homepage) */
.cat.cat-brand .cat-img{ background:#0B120E; }
.cat.cat-brand .cat-img img{ padding:0; object-fit:cover; }

/* "Our own range" strip */
.ownstrip{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-bottom:22px; }
.ownstrip .ownhero{ position:relative; display:block; border-radius:24px; overflow:hidden; border:1px solid var(--line,#26362C);
  text-decoration:none; transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.ownstrip .ownhero img{ display:block; width:100%; height:100%; aspect-ratio:1/1; object-fit:cover; }
@media (hover:hover){ .ownstrip .ownhero:hover{ transform:translateY(-4px); border-color:var(--accent,#B5E36A); box-shadow:0 22px 40px -22px rgba(0,0,0,.7); } }
@media (max-width:700px){ .ownstrip{ grid-template-columns:1fr; gap:12px; } }

/* branded hero band on category pages */
.cathero{ position:relative; display:block; margin:18px 0 6px; border-radius:26px; overflow:hidden; border:1px solid var(--line,#26362C); }
.cathero img{ display:block; width:100%; height:auto; aspect-ratio:1600/460; object-fit:cover; object-position:right center; }
.cathero .cathero-t{ position:absolute; left:0; top:0; bottom:0; width:min(52%,440px); display:flex; flex-direction:column;
  justify-content:center; gap:6px; padding:0 28px; color:var(--heading,#F4F1E4);
  font:600 14px/1.45 var(--sans,Arial,sans-serif); text-shadow:0 2px 14px rgba(0,0,0,.65); }
.cathero .cathero-t b{ display:block; font-size:clamp(18px,2.3vw,26px); letter-spacing:.05em; text-transform:uppercase; }
@media (max-width:700px){ .cathero .cathero-t{ width:62%; padding:0 16px; font-size:12px; } }

/* V136 keyword note */
.kwnote{max-width:1100px;margin:28px auto 8px;padding:0 20px;font-size:.88rem;line-height:1.5;color:#9fb0a6}
.kwnote strong{font-weight:600;color:#c7d4cc}

/* V149 visual polish: cannabinoid chips scroll in one row on phones instead of 4–5 wrapped rows */
@media (max-width:640px){
  .sf-chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin-right:calc(-1 * var(--pad,16px));padding-right:var(--pad,16px);mask-image:linear-gradient(90deg,#000 88%,transparent);-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent)}
  .sf-chips::-webkit-scrollbar{display:none}
  .sf-chips button{flex:none}
}
/* V154: Prague pack section – single 1 g cards and mix & match packs */
.pk.combo{border-color:rgba(232,196,104,.38);background:linear-gradient(160deg,rgba(232,196,104,.10),var(--surface,#121C16) 60%)}
.pk .pk-g.pk-n{font-size:19px;line-height:1.2;font-weight:800}
.pk.single .pk-s{visibility:hidden}
.pk.combo .pk-c{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:760px){.pk-row[data-v154] .pk-grid{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:46%;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.pk-row[data-v154] .pk{scroll-snap-align:start}}
/* V155: shop navigation – category row under the header + Shop button */
.shopbar{border-top:1px solid var(--line,#26362C)}
.shopbar .sb-in{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding-top:9px;padding-bottom:9px;-webkit-overflow-scrolling:touch}
.shopbar .sb-in::-webkit-scrollbar{display:none}
.shopbar a{flex:0 0 auto;padding:7px 14px;border-radius:999px;border:1px solid var(--line,#26362C);color:var(--text,#EEF1E6);text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}
.shopbar a:hover,.shopbar a[aria-current]{border-color:var(--accent,#B5E36A);color:var(--accent,#B5E36A)}
.shopbar a.sb-all{background:var(--accent,#B5E36A);border-color:var(--accent,#B5E36A);color:var(--on-accent,#0B120E)}
nav.top a.top-shop{color:var(--accent,#B5E36A)}
.sshop,.hdr-shop{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:999px;background:var(--accent,#B5E36A);color:var(--on-accent,#0B120E)!important;font-weight:800;font-size:15px;text-decoration:none;white-space:nowrap}
.sshop{margin-right:6px}
@media (min-width:1100px){.sshop{display:none}}
.spa-shopbar{border-top:0;max-width:100vw;min-width:0;overflow:hidden;contain:inline-size}
.spa-shopbar .sb-in{max-width:100vw}
.spa-shopbar .sb-in{padding:4px 16px 10px}
@media (min-width:1025px){.spa-shopbar{display:none}}
.nav a.nav-shop{color:var(--accent,#B5E36A);font-weight:800}
@media (max-width:440px){.hdr-shop,.sshop{padding:0 11px;font-size:14px;min-height:38px}}
/* V155: the static category row shows on phones as swipeable chips, led by "All products" */
.catrow a.sb-all{color:var(--accent,#B5E36A);font-weight:800}
@media (max-width:900px){
  .catrow{display:block!important}
  .catrow .wrap{gap:8px;padding-top:9px;padding-bottom:9px;font-size:14px}
  .catrow a{padding:7px 13px;border:1px solid var(--line,#26362C);border-radius:999px}
  .catrow a.sb-all{background:var(--accent,#B5E36A);border-color:var(--accent,#B5E36A);color:var(--on-accent,#0B120E)}
}
/* ---------- V156: static header – search button, no clipped logo, one-line menu ---------- */
header .hd .ssearch{flex:0 0 auto;display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(238,241,230,.3);border-radius:50%;background:transparent;color:var(--text,#EEF1E6);cursor:pointer;position:relative}
header .hd .ssearch:hover,header .hd .ssearch:focus-visible{border-color:var(--accent,#B5E36A);color:var(--accent,#B5E36A)}
header .hd nav.top a{white-space:nowrap}
header .hd > .logo{flex:0 0 auto}
header .hd > .logo span{overflow:visible}
/* 901–1199 px: the full menu does not fit next to the logo and the tools, so it moves into the menu button (as on phones) */
@media (min-width:901px) and (max-width:1199px){
  header .hd nav.top{display:none}
  header .hd .mnav-btn{display:grid}
  .sshop{display:inline-flex!important}
}
@media (max-width:767px){
  header .hd .ssearch{width:40px;height:40px;border-color:transparent}
  header .hd .ssearch::before{content:"";position:absolute;inset:-2px}
}
@media (max-width:399px){ header .hd .ssearch{width:36px} }
/* search panel (the shop injects the same rules from search.js) */
.bfs{position:fixed;inset:0;z-index:90;background:rgba(5,9,7,.72);backdrop-filter:blur(4px);display:flex;justify-content:center;align-items:flex-start;padding:72px 16px 16px}
.bfs[hidden]{display:none}
.bfs-box{width:100%;max-width:720px;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px);display:flex;flex-direction:column;background:var(--surface,#121C16);border:1px solid var(--line,#26362C);border-radius:20px;overflow:hidden;box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
.bfs-top{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--line,#26362C);color:var(--text,#EEF1E6)}
.bfs-top input{flex:1;min-width:0;height:44px;background:transparent;border:0;outline:0;color:var(--text,#EEF1E6);font:600 17px/1.2 var(--sans,inherit)}
.bfs-x{background:none;border:1px solid var(--line,#26362C);color:var(--text,#EEF1E6);border-radius:999px;height:36px;padding:0 14px;cursor:pointer;font:600 13px var(--sans,inherit)}
.bfs-list{overflow-y:auto;padding:6px}
.bfs-r{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;text-decoration:none;color:var(--text,#EEF1E6)}
.bfs-r:hover,.bfs-r:focus,.bfs-r.on{background:rgba(181,227,106,.10);outline:0}
.bfs-r img{width:52px;height:52px;object-fit:contain;background:#fff;border-radius:10px;flex-shrink:0}
.bfs-r .t{flex:1;min-width:0}
.bfs-r .t small{display:block;color:var(--muted,#A3B19F);font-size:12px;letter-spacing:.04em;text-transform:uppercase}
.bfs-r .t b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfs-r .pr{font-weight:700;color:var(--accent,#B5E36A);white-space:nowrap}
.bfs-empty{padding:22px 14px;color:var(--muted,#A3B19F)}
.bfs-empty a{color:var(--accent,#B5E36A)}
.bfs-fix{padding:8px 12px 4px;color:var(--muted,#A3B19F);font-size:14px}
.bfs-fix b{color:var(--text,#EEF1E6)}
.bfs-more{display:block;width:calc(100% - 8px);margin:6px 4px 4px;min-height:44px;border-radius:12px;border:1px solid var(--line,#26362C);background:transparent;color:var(--accent,#B5E36A);font:700 15px var(--sans,inherit);cursor:pointer}
.bfs-more:hover,.bfs-more:focus{background:rgba(181,227,106,.10);outline:0}
/* ---------- V156: cannabinoid note under the filter chips; one card per own strain with a cannabinoid switcher ---------- */
.sf-note{margin:10px 0 16px;max-width:72ch;color:var(--soft,#C9D2C2);font-size:14.5px;line-height:1.5}
.sf-note.is-hint{color:var(--muted,#A3B19F)}
.sf-note[hidden]{display:none}
.vsw{display:none;flex-wrap:wrap;gap:6px;margin:10px 0 2px}
.vsw-on .vsw,.card .vsw{display:flex}
.vsw-b{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;border:1.5px solid var(--line,#26362C);background:transparent;color:var(--text,#EEF1E6);font:700 12px/1 var(--sans,inherit);letter-spacing:.01em;cursor:pointer;white-space:nowrap;position:relative}
.vsw-b::before{content:"";position:absolute;inset:-5px -2px}
.vsw-b[aria-pressed="true"]{background:var(--accent,#B5E36A);border-color:var(--accent,#B5E36A);color:var(--on-accent,#0B120E);cursor:default}
@media (hover:hover){ .vsw-b:not([aria-pressed="true"]):hover{border-color:var(--accent,#B5E36A);color:var(--accent,#B5E36A)} }
.vsw-b:focus-visible{outline:2px solid var(--accent,#B5E36A);outline-offset:2px}
@media (max-width:600px){ .bfs .bfs-r .t b{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25} .bfs .bfs-r{gap:10px;padding:8px 6px} .bfs{padding:60px 10px 10px} }
@media (max-width:359px){ header .hd .ssearch{width:30px} .sshop{padding:0 8px!important;font-size:13px!important;margin-right:2px} header .hd .stools{gap:2px} }
@media (min-width:400px) and (max-width:479px){ header .hd .ssearch{width:32px} header .hd .stools{gap:2px} header .hd{gap:8px} header .hd > .logo{gap:8px} .sshop{padding:0 10px!important;margin-right:2px} header .hd .scart{padding:0 10px 0 8px!important} }
@media (min-width:400px) and (max-width:419px){ header .hd .ssearch{width:28px} .sshop{padding:0 8px!important;font-size:13px!important} header .hd > .logo{gap:6px} }
/* shop header at exactly 400–404 px: the wordmark pushed the cart 3 px off screen (present before V156) */
@media (max-width:404px){ .site-header .logo-word{display:none!important} }

/* ===== V162 polish (2026-11-11) ===== */
/* shop: sticky chip bars get soft corners instead of a hard black strip */
.cb-chips{border-radius:14px;padding-left:10px!important;padding-right:10px!important}
.co-steps{border-radius:14px}
/* shop cards: prices never break inside a number; strike price / price / per-gram wrap as whole units */
.card-foot .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;min-width:0}
.card-foot .price > span,.card-foot .price .was,.card-foot .price .pg{white-space:nowrap}
.card-foot .price .was{font-size:.78em;opacity:.75}
.card-foot .add{flex:0 0 auto}
/* product page: last breadcrumb (product name) is cut with … instead of wrapping under a dangling slash */
nav.crumbs > span[style*="font-weight:600"]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto}
/* keyboard focus is always visible on the main controls */
.btn:focus-visible,.card .add:focus-visible,.pc:focus-visible,.lf-chips button:focus-visible,.opt-tile:focus-within{outline:2px solid var(--accent,#B5E36A);outline-offset:2px}
/* static product photo and shop product photo: same soft shadow so the white tile sits on the page */
.pdp .ph,.pdp-photo{box-shadow:0 18px 50px -24px rgba(0,0,0,.75)}
@media (hover:hover){ .pc{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease} .pc:hover{transform:translateY(-3px);box-shadow:0 16px 36px -22px rgba(0,0,0,.8)} }
@media (max-width:767px){
  /* cannabinoid filter chips: one swipeable row instead of four wrapped rows before the first product */
  .lf-chips{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin-right:calc(var(--pad,16px) * -1);padding-right:var(--pad,16px);scroll-snap-type:x proximity}
  .lf-chips::-webkit-scrollbar{display:none}
  .lf-chips button{flex:0 0 auto;scroll-snap-align:start}
  .card-foot .price{font-size:16px}
  .card-foot{gap:6px}
}
@media (prefers-reduced-motion:reduce){ .pc,.pc:hover{transition:none;transform:none} }
/* V162: shop product breadcrumb stays on one line (name is cut with …) */
nav.crumbs:has(> span[style*="font-weight:600"]){flex-wrap:nowrap}
nav.crumbs:has(> span[style*="font-weight:600"]) > a,nav.crumbs:has(> span[style*="font-weight:600"]) > span[aria-hidden]{flex:0 0 auto}
/* V162: with the mini-cart open, the "Added to cart" toast sits at the top so it never covers the Checkout / Continue buttons */
body.sdrawer-open .stoast{bottom:auto;top:calc(14px + env(safe-area-inset-top,0px));z-index:200}

/* ===== V165 (2026-11-13): calmer, less templated look. One accent per view, squarer shapes, flatter surfaces. ===== */
:root{ --r-btn:10px; --r-chip:8px; --r-card:14px; }
html{ scroll-behavior:smooth; }
a,button,select,summary{ -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
::selection{ background:#B5E36A; color:#0B120E; }
/* shapes: no more pills everywhere */
.btn,.btn-primary,.btn-ghost,#pdpAdd,#sbAdd,.hdr-shop,.cart-btn,.pill-select,.motion-btn,.sb-all,.flavour,.cb-chip,.vc,.qty,.qty-s,.gate .btn,.line-ctrl .qty-s,.addcart{ border-radius:var(--r-btn)!important; }
.chip,.dl-chips a,.tag,.pay-marks span,.pt i,.card .pills span,.card .pill{ border-radius:var(--r-chip)!important; }
.card,.pc,.co-card,.sum-card{ border-radius:var(--r-card)!important; }
.gallery-main{ border-radius:18px!important; overflow:hidden; }
.pc .im{ border-radius:10px 10px 0 0; }
.fab-btn{ border-radius:14px!important; }
/* buttons: quieter press and hover, no glow */
.btn,.hdr-shop,.cart-btn,.add,.flavour,.cb-chip,.vc{ transition:background-color .15s ease,border-color .15s ease,color .15s ease,transform .08s ease!important; box-shadow:none!important; }
.btn:active,.hdr-shop:active,.cart-btn:active,.add:active,.flavour:active,.cb-chip:active,.vc:active{ transform:translateY(1px)!important; }
.btn-primary{ font-weight:800; letter-spacing:.01em; }
/* header: the cart is the only filled control */
.hdr-shop{ background:transparent!important; color:var(--text,#EEF1E6)!important; border:1px solid rgba(238,241,230,.3); font-weight:700!important; }
.hdr-shop:hover{ border-color:var(--accent,#B5E36A); }
/* section links read as links, not as another row of buttons */
.section-head a{ border:0!important; background:none!important; padding:0!important; height:auto!important; min-height:0!important; border-radius:0!important; font-weight:700; text-decoration:underline; text-decoration-color:rgba(181,227,106,.55); text-underline-offset:5px; text-decoration-thickness:1.5px; }
.section-head a:hover{ text-decoration-color:var(--accent,#B5E36A); }
/* cards: flat, a hairline instead of a floating shadow; smaller lift */
.card,.pc{ box-shadow:none!important; border-color:rgba(238,241,230,.09)!important; }
@media (hover:hover){ .card:hover,.pc:hover{ transform:translateY(-2px)!important; border-color:rgba(181,227,106,.45)!important; box-shadow:none!important; } }
/* card "+" button: outlined, fills on hover (fewer lime dots on a grid) */
.card .add,.pc .padd,.pc .qadd{ background:transparent!important; color:var(--accent,#B5E36A)!important; border:1.5px solid rgba(181,227,106,.55)!important; border-radius:var(--r-btn)!important; }
.card .add svg,.pc .padd svg,.pc .qadd svg{ stroke:currentColor; }
@media (hover:hover){ .card .add:hover,.pc .padd:hover,.pc .qadd:hover{ background:var(--accent,#B5E36A)!important; color:var(--on-accent,#0B120E)!important; } }
/* labels: a small printed tag instead of a lime pill */
.obadge,.card .badge,.own-badge{ background:#0B120E!important; color:var(--accent,#B5E36A)!important; border:1px solid rgba(181,227,106,.45); border-radius:4px!important; letter-spacing:.09em!important; font-weight:800; box-shadow:none!important; }
/* own-brand photos fill their frame (they are full-bleed squares, not pack shots on white) */
.photo:has(> img[src*="/img/bf-"]),.im:has(> img[src*="/img/bf-"]),.ph:has(> img[src*="/img/bf-"]){ background:#15100c!important; }
.photo > img[src*="/img/bf-"],.im > img[src*="/img/bf-"],.ph > img[src*="/img/bf-"]{ padding:0!important; object-fit:cover!important; }
.gallery-main.photo > img[src*="/img/bf-"]{ object-fit:contain!important; }
/* hero: one message, no floating ornaments */
.age-badge{ display:none!important; }
.motion-btn{ height:36px!important; padding:0 12px!important; font-size:12px!important; opacity:.7; background:rgba(11,18,14,.35)!important; }
.motion-btn:hover,.motion-btn:focus-visible{ opacity:1; }
.hero-h1{ letter-spacing:-.02em!important; }
/* page background: the photo stays behind the first screen, then gives way to a plain dark page */
.bg-still::after{ background:linear-gradient(180deg, rgba(7,12,9,.5) 0%, rgba(7,12,9,.42) 28%, rgba(9,14,11,.9) 58%, #0B120E 78%)!important; }
/* chat button: present, not shouting */
.fab-btn{ background:#121C16!important; color:var(--accent,#B5E36A)!important; border:1px solid rgba(181,227,106,.5)!important; box-shadow:0 6px 18px rgba(0,0,0,.4)!important; }
/* cart: minimum-order hint next to the free-shipping bar */
.minbar{ margin:0 0 10px; padding:9px 12px; border-left:3px solid #E0A458; background:rgba(224,164,88,.1); border-radius:6px; font-size:13.5px; font-weight:600; color:var(--text,#EEF1E6); }
/* forms: clearer focus */
input:focus-visible,select:focus-visible,textarea:focus-visible{ outline:2px solid var(--accent,#B5E36A)!important; outline-offset:1px; }
@media (prefers-reduced-motion:reduce){ html{ scroll-behavior:auto; } .btn:active,.add:active{ transform:none!important; } }
/* V165: filter chips, sort and small chips follow the same squarer shape */
.lf-chips button,.lf-chips a,.sf-chips button,.chip-radio,.foot-chip,.lab-chip,.chat-chips button,select.sort,.sortsel,.list-tools select,.sf-sort select{ border-radius:var(--r-chip)!important; }
.lf-chips button[aria-pressed="true"],.sf-chips button[aria-pressed="true"],.cb-chip[aria-pressed="true"]{ background:var(--text,#EEF1E6)!important; border-color:var(--text,#EEF1E6)!important; color:#0B120E!important; }
#fab .fab-btn,#fabBtn{ background:#121C16!important; color:var(--accent,#B5E36A)!important; }
#sLang,#sCur{ border-radius:var(--r-btn)!important; }
.gallery-main.photo:has(> img[src*="/img/bf-"]) .tag{ left:auto!important; right:14px!important; }
/* V167: the category row never runs past the edge – tighter spacing on mid-size screens, and it wraps instead of cutting off "Contact" */
@media (min-width:1101px){
  .site-header .nav{ flex-wrap:wrap; height:auto!important; min-height:52px; row-gap:0; column-gap:clamp(9px,1.25vw,24px)!important; }
  .site-header .nav > *{ line-height:52px; }
}
@media (min-width:1101px) and (max-width:1420px){ .site-header .nav{ font-size:13px!important; column-gap:clamp(8px,.9vw,12px)!important; } }
@media (min-width:1101px) and (max-width:1300px){ .site-header .nav{ column-gap:8px!important; } }
@media (min-width:1101px) and (max-width:1240px){ .site-header .nav{ column-gap:6px!important; padding-inline:24px!important; } }
@media (min-width:1421px) and (max-width:1500px){ .site-header .nav{ column-gap:clamp(10px,1vw,15px)!important; } }
/* V168: Instagram and X */
.social-band{ display:grid; grid-template-columns:1fr auto; gap:14px 32px; align-items:center; margin-top:56px; margin-bottom:8px; padding-top:36px; padding-bottom:36px; border-top:1px solid var(--line,#26362C); border-bottom:1px solid var(--line,#26362C); }
.social-band h2{ margin:0 0 6px; }
.social-band p{ margin:0; color:var(--soft,#C9D2C2); max-width:560px; }
.social-band .social-h{ grid-column:1 / -1; font-size:13px; color:var(--muted,#A3B19F); }
.social-btns{ display:flex; gap:10px; flex-wrap:wrap; }
.social-btns .btn{ width:auto!important; height:48px!important; padding:0 20px!important; gap:9px; flex:0 0 auto!important; text-decoration:none; }
.social-done{ margin-top:8px; padding-top:22px; border-top:1px solid var(--line,#26362C); display:flex; gap:14px 24px; align-items:center; flex-wrap:wrap; }
.social-done p{ margin:0; flex:1 1 280px; }
.social-line{ margin-top:32px; }
@media (max-width:700px){ .social-band{ grid-template-columns:1fr; } .social-btns .btn{ flex:1 1 140px!important; } }
