:root { --tint: color-mix(in srgb, var(--accent) 24%, var(--bg)); --line: color-mix(in srgb, var(--ink) 18%, transparent); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); overflow-wrap: anywhere; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
/* Georgian words are long, so headlines are a little smaller and never split inside a word */
html[lang="ka"] h1 { font-size: clamp(2.2rem, 4.6vw, 4.1rem); }
html[lang="ka"] h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; }
.lede, .prose, .sec-intro { white-space: pre-line; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); margin-top: 1.4rem; max-width: 34em; }
.prose { color: var(--muted); margin-top: 1.25rem; max-width: 36em; }

.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { display: inline-block; padding: .85rem 1.6rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; border: 2px solid var(--accent); transition: transform .15s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.site-head { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 68px; }
.brand { font: 600 1.35rem/1.15 var(--font-head); text-decoration: none; }
.nav-wide { display: flex; gap: 1.75rem; }
.nav-wide a, .nav-small a { text-decoration: none; font-weight: 500; }
.nav-wide a:hover { color: var(--accent); }
.nav-small { display: none; position: relative; }
.nav-small summary { cursor: pointer; font-weight: 600; list-style: none; padding: .4rem .9rem; border: 2px solid var(--ink); }
.nav-small summary::-webkit-details-marker { display: none; }
.nav-small nav { position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; background: var(--bg); border: 1px solid var(--line); padding: .5rem; display: grid; }
.nav-small nav a { padding: .6rem .75rem; }

.sec { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 44rem; }
.sec-intro { color: var(--muted); margin-top: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }

.pic { position: relative; overflow: hidden; background: var(--tint); }
.pic img, .pic .art { width: 100%; height: 100%; object-fit: cover; display: block; }
.f-a { fill: var(--accent); } .f-i { fill: var(--ink); } .f-s { fill: var(--surface); } .f-t { fill: var(--tint); }

.sec-hero { padding: 0; }
.hero { display: grid; grid-template-columns: 1.08fr .92fr; min-height: min(84vh, 800px); }
.hero-copy { align-self: center; padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 5rem) clamp(3rem, 7vw, 6rem) max(20px, calc((100vw - 1160px) / 2)); }
.hero-pic { min-height: 340px; }
.pic.pic-whole { background: transparent; display: flex; align-items: center; justify-content: center; }
.pic .pic-whole img, .pic-whole img { width: min(95%, 540px); height: auto; object-fit: contain; }

.about-pic { aspect-ratio: 5 / 6; }

.sec-services { background: var(--surface); }
.svcs { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2.5rem, 6vw, 5.5rem); }
.svc { position: relative; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.svc-row { display: flex; align-items: baseline; gap: .75rem; }
.leader { flex: 1; min-width: 1rem; border-bottom: 2px dotted var(--line); transform: translateY(-.25em); }
.price { font-weight: 600; white-space: nowrap; color: var(--accent); }
.svc-desc { color: var(--muted); margin-top: .3rem; font-size: 1rem; }

.shots { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.shot { position: relative; grid-column: span 4; }
.shot:nth-child(6n + 1) { grid-column: span 7; }
.shot:nth-child(6n + 2) { grid-column: span 5; }
.shot:nth-child(6n + 3):last-child { grid-column: span 12; }
.shot:nth-child(6n + 4):last-child { grid-column: span 8; }
.shot:nth-child(6n + 3):last-child .pic { aspect-ratio: 21 / 9; }
.shot .pic { aspect-ratio: 4 / 3; }
.shot:nth-child(6n + 1) .pic, .shot:nth-child(6n + 2) .pic { aspect-ratio: auto; height: clamp(240px, 32vw, 400px); }
.shot figcaption { font-size: .92rem; color: var(--muted); margin-top: .5rem; }

.sec-reviews { background: var(--ink); color: var(--bg); }
.sec-reviews .eyebrow { color: var(--tint); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: clamp(1.75rem, 4vw, 3.25rem); }
.quote { position: relative; border-top: 3px solid var(--accent); padding-top: 1.25rem; }
.quote blockquote { font: 500 clamp(1.2rem, 1.9vw, 1.5rem)/1.35 var(--font-head); white-space: pre-line; }
.quote figcaption { margin-top: 1rem; font-size: .92rem; opacity: .78; }

.contact { align-items: stretch; }
.lines { margin-top: 1.75rem; }
.lines li { padding: .7rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 6.5rem 1fr; gap: .5rem; }
.lines .k { color: var(--muted); font-size: .92rem; }
.hours { margin-top: 2.25rem; }
.hours li { position: relative; display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px dotted var(--line); }
.hours .time { font-weight: 600; text-align: right; }
.map, .contact-pic { min-height: 420px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

[hidden] { display: none !important; }

/* Header tools: menu and language buttons */
.head-tools { display: flex; align-items: center; gap: 1.5rem; }
.langs { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.langs a { padding: .25rem .6rem; border-radius: 999px; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.langs a:hover { color: var(--ink); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); }

/* Store logo in the middle of the header: product drawings over the name */
html:has(.logo-center) { scroll-padding-top: 170px; }
.logo-center .head-row { flex-direction: column; justify-content: center; gap: .6rem; padding: .9rem 0 .75rem; }
.logo-center .head-tools { width: 100%; justify-content: center; position: relative; min-height: 2.2rem; }
.logo-center .langs { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; text-decoration: none; }
.logo-icons { display: flex; gap: .55rem; color: var(--accent); }
.logo-icons svg { width: 1.9rem; height: 1.9rem; }
.logo-text { font: 800 2.2rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.logo-year { color: var(--accent); }
/* A big logo picture would cover the page if the header stayed pinned, so that header scrolls away */
.site-head:has(.logo-pic) { position: static; }
html:has(.logo-pic) { scroll-padding-top: 0; }
.logo-pic img { display: block; width: clamp(300px, 40vw, 560px); height: auto; border-radius: 12px; }
.logo-geo { text-transform: none; letter-spacing: .02em; }
/* Store logo with brand names: partner brands above, other brands below, the name framed by thin lines */
.logo-ring { gap: .45rem; }
.logo-ring .logo-text { display: flex; align-items: center; gap: .8rem; }
.logo-ring .logo-text::before, .logo-ring .logo-text::after { content: ""; width: 2.2rem; height: 2px; background: var(--accent); border-radius: 2px; }
.logo-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; font: 700 .72rem/1 var(--font-body, inherit); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.logo-brands span { padding: .32rem .6rem; border: 1px solid color-mix(in srgb, var(--muted) 35%, transparent); border-radius: 999px; background: var(--bg); }
.logo-brands.partners { font-size: .8rem; color: var(--accent); }
.logo-brands.partners span { border-color: var(--accent); border-width: 1.5px; }
.logo-center .nav-small nav { right: auto; left: 50%; transform: translateX(-50%); }

/* Products */
.sec-products { background: var(--surface); }
.shop-tools { display: grid; gap: 1rem; margin-bottom: 2rem; }
.shop-search { width: 100%; max-width: 36rem; font: inherit; padding: .9rem 1.1rem; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.shop-search:focus { outline: none; border-color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-size: .95rem; font-weight: 600; padding: .5rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 1.25rem; }
.prod { position: relative; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prod-pic { aspect-ratio: 4 / 3; }
.prod-pic img { object-fit: contain; background: #fff; padding: .6rem; }
.shop-more { margin: 2rem auto 0; display: block; cursor: pointer; font: inherit; font-weight: 600; }
.prod-icon { display: grid; place-items: center; width: 100%; height: 100%; color: var(--accent); background: var(--tint); }
.prod-icon svg { width: 40%; height: auto; }
.prod-body { flex: 1; display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.2rem; }
.prod-cat { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prod h3 { font-size: 1.15rem; }
.prod-desc { color: var(--muted); font-size: .95rem; }
.prod-foot { margin-top: auto; padding-top: .75rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; }
.prod .price { font-size: 1.2rem; }
.prod-ask { font-size: .9rem; font-weight: 600; text-decoration: none; padding: .45rem .9rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.shop-none { padding: 2rem 0; color: var(--muted); }
.prod-more { margin-top: .25rem; font-size: .92rem; }
.prod-more summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.prod-details { white-space: pre-line; color: var(--muted); margin-top: .35rem; }

/* ---------- Catalog: home tiles ---------- */
.cat-search { display: flex; gap: .6rem; max-width: 40rem; margin-bottom: 1.75rem; }
.cat-search input { flex: 1; min-width: 0; font: inherit; padding: .9rem 1.1rem; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.cat-search input:focus { outline: none; border-color: var(--accent); }
.cat-search .btn { border-radius: 12px; cursor: pointer; font: inherit; font-weight: 600; }
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: .9rem; }
.cat-tile { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .85rem; align-items: center; padding: 1rem 1.1rem; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; height: 100%; transition: border-color .15s, transform .15s; }
.cat-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-icon { grid-row: span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 12px; background: var(--tint); color: var(--accent); }
.cat-icon svg { width: 1.9rem; height: 1.9rem; }
.cat-name { font-weight: 700; line-height: 1.25; overflow-wrap: normal; word-break: normal; }
.cat-meta { font-size: .85rem; color: var(--muted); }
.feat-title { margin: 2.75rem 0 1.1rem; font-size: 1.5rem; }

/* Product cards that open their own page */
.prod-link { flex: 1; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.prod-link:hover h3 { color: var(--accent); }
.prod-link + .prod-foot { margin-top: 0; padding: 0 1.1rem 1.1rem; }
.stock { display: inline-flex; align-items: center; gap: .35rem; font-size: .82rem; font-weight: 600; }
.stock::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; }
.stock.in { color: #1b8a4b; } .stock.out { color: var(--muted); }

/* ---------- Catalog: category page ---------- */
.shop-page, .prod-page { padding-top: 2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.shop-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.25rem; }
.cat-strip { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .6rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
.cat-strip a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem .45rem .6rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; font-weight: 600; background: var(--bg); }
.cat-strip a svg { width: 1.25rem; height: 1.25rem; color: var(--accent); }
.cat-strip a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cat-strip a[aria-current] svg { color: var(--accent-ink); }
.shop-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 2rem; align-items: start; }
.shop-layout.loading .shop-results { opacity: .45; transition: opacity .2s; }
.filters { position: sticky; top: 170px; max-height: calc(100vh - 190px); overflow: auto; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; }
.filters summary { font-weight: 700; cursor: pointer; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.fgroup { border: 0; border-top: 1px solid var(--line); margin: .9rem 0 0; padding: .8rem 0 0; min-width: 0; }
.fgroup legend { font-weight: 700; font-size: .95rem; padding: 0; margin-bottom: .45rem; float: left; width: 100%; }
.fcheck { display: flex; align-items: center; gap: .55rem; padding: .28rem 0; font-size: .95rem; cursor: pointer; clear: both; }
.fcheck input { width: 1.05rem; height: 1.05rem; accent-color: var(--accent); flex: none; }
.fcheck .n { margin-left: auto; font-size: .8rem; color: var(--muted); }
.fcheck.empty { opacity: .45; cursor: default; }
.stock-check { margin-top: .9rem; border-top: 1px solid var(--line); padding-top: .9rem; font-weight: 600; }
.price-row { display: flex; align-items: center; gap: .4rem; clear: both; }
.price-row input { width: 100%; min-width: 0; font: inherit; font-size: .95rem; padding: .5rem .6rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); }
.fbtns { display: flex; align-items: center; gap: 1rem; margin-top: 1.1rem; }
.fbtns .btn { padding: .6rem 1.2rem; border-radius: 10px; cursor: pointer; font: inherit; font-weight: 600; }
.fclear { font-size: .9rem; color: var(--muted); }
.shop-bar { display: flex; gap: .75rem; margin-bottom: 1rem; }
.shop-bar input { flex: 1; min-width: 0; font: inherit; padding: .75rem 1rem; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); }
.shop-bar input:focus { outline: none; border-color: var(--accent); }
.sort { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.sort select { font: inherit; color: var(--ink); padding: .7rem .8rem; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); }
.shop-count { color: var(--muted); font-size: .95rem; margin-bottom: .75rem; }
.fchips { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.fchips a { font-size: .85rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--tint); text-decoration: none; }
.fchips a span { margin-left: .2rem; opacity: .6; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-top: 2rem; }
.pager a, .pager span { min-width: 2.4rem; padding: .5rem .7rem; text-align: center; border-radius: 10px; text-decoration: none; font-weight: 600; }
.pager a { border: 1px solid var(--line); background: var(--bg); }
.pager a[aria-current] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sgroup { margin-top: 2.25rem; }
.sgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.sgroup-head h2 { font-size: 1.4rem; }
.sgroup-head h2 span { font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Catalog: product page ---------- */
.pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.pp-pic { aspect-ratio: 1; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pp-gallery { position: sticky; top: 130px; }
.pp-pic img { object-fit: contain; padding: 1.5rem; }
.pp-pic .prod-icon svg { width: 35%; }
html .pp-info h1 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; margin: .4rem 0 .9rem; }
.pp-price { font: 800 2rem/1.1 var(--font-head); color: var(--accent); margin-bottom: .5rem; }
.pp-desc { color: var(--muted); margin-top: 1rem; white-space: pre-line; }
.pp-perks { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .5rem; }
.pp-perks li { display: grid; grid-template-columns: 1.4rem 1fr; column-gap: .5rem; padding: .65rem .85rem; background: var(--surface); border-radius: 10px; line-height: 1.4; }
.pp-perks li::before { content: "✓"; grid-row: span 2; color: var(--accent); font-weight: 800; font-size: 1.1rem; }
.pp-perks span { color: var(--muted); font-size: .95rem; }
.pp-info .btns { margin-top: 1.4rem; }
.pp-h { font-size: 1.4rem; margin: 2.25rem 0 1rem; }
.specs { width: 100%; border-collapse: collapse; font-size: .97rem; }
.specs th, .specs td { text-align: left; padding: .6rem .2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 45%; }
.ed-catalog-note { padding: .8rem 1rem; border-radius: 10px; background: #fff7d6; color: #5a4600; margin-bottom: 1.25rem; font-size: .95rem; }

@media (max-width: 820px) {
  .shop-layout { grid-template-columns: 1fr; gap: 1rem; }
  .filters { position: static; max-height: none; padding: .8rem 1rem; }
  .filters summary { display: flex; justify-content: space-between; align-items: center; }
  .filters summary::after { content: "▾"; }
  .filters[open] summary::after { content: "▴"; }
  .shop-bar { flex-direction: column; }
  .sort select { flex: 1; }
  .pp { grid-template-columns: 1fr; }
  .pp-pic, .pp-gallery { position: static; }
  .cat-search { flex-direction: column; }
}

.site-foot { border-top: 1px solid var(--line); padding: 2rem 0; }
.foot-row { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.social { display: flex; gap: 1.25rem; }
.copy { color: var(--muted); font-size: .9rem; }
.action-bar { display: none; }

@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .nav-wide { display: none; }
  .nav-small { display: block; }
  .hero, .split, .svcs { grid-template-columns: 1fr; }
  .hero-copy { padding: 3rem 20px; }
  .hero-pic { order: 2; height: 62vw; min-height: 240px; }
  .hero-pic.pic-whole { height: auto; min-height: 0; padding: .5rem 0 2rem; }
  .pic-whole img { width: min(90vw, 360px); }
  .shot, .shot:nth-child(6n + 1), .shot:nth-child(6n + 2) { grid-column: span 6; }
  .shot:nth-child(3n + 1), .shot:nth-child(3n + 2):last-child { grid-column: span 12; }
  .shot:nth-child(6n + 3):last-child { grid-column: span 6; }
  .shot:nth-child(6n + 4):last-child { grid-column: span 12; }
  .shot .pic, .shot:nth-child(6n + 1) .pic, .shot:nth-child(6n + 2) .pic, .shot:nth-child(6n + 3):last-child .pic { aspect-ratio: 4 / 3; height: auto; }
  .map, .contact-pic, .map iframe { min-height: 300px; }
  .action-bar { position: fixed; inset: auto 0 0 0; z-index: 25; display: flex; background: var(--accent); }
  .action-bar a { flex: 1; text-align: center; padding: .95rem .5rem; color: var(--accent-ink); font-weight: 600; text-decoration: none; }
  .action-bar a + a { border-left: 1px solid color-mix(in srgb, var(--accent-ink) 35%, transparent); }
  body:has(.action-bar) { padding-bottom: 56px; }
  .logo-text { font-size: 1.7rem; }
  .logo-icons svg { width: 1.5rem; height: 1.5rem; }
  .logo-brands { font-size: .62rem; gap: .25rem; letter-spacing: .1em; }
  .logo-brands.partners { font-size: .7rem; }
  .logo-ring .logo-text::before, .logo-ring .logo-text::after { width: 1.1rem; }
  .head-tools { gap: .75rem; }
  .logo-center .langs { position: static; transform: none; }
}

@media (max-width: 540px) {
  .prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  /* Category buttons in one row that scrolls sideways, so products appear sooner */
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .prod-body { padding: .75rem .8rem .9rem; }
  .prod h3 { font-size: 1rem; }
  .prod .price { font-size: 1.05rem; }
  .prod-desc { font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- cart (shop.js) ---------- */
button.prod-ask { border: 0; cursor: pointer; font-family: inherit; }
button.btn { cursor: pointer; font-family: inherit; }
.cart-fab { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--bg); font: 700 1rem/1 var(--font-body); cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.22); }
.cart-fab[hidden] { display: none; }
.cart-count { min-width: 1.5rem; padding: .2rem .4rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .85rem; text-align: center; }
.cart-fab.bump { animation: cart-bump .35s ease; }
@keyframes cart-bump { 50% { transform: scale(1.12); } }
.cart-toast { position: fixed; left: 50%; bottom: 90px; z-index: 40; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: .7rem 1.1rem; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; transition: .2s; }
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cart-panel { width: min(460px, calc(100vw - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 16px; background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.cart-panel::backdrop { background: rgba(14,26,43,.45); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { margin: 0; font-size: 1.35rem; }
.cart-x, .cart-rm { border: 0; background: none; color: var(--muted); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .2rem .45rem; }
.cart-list { list-style: none; margin: 0; padding: .4rem 1.2rem; }
.cart-empty { padding: 1.5rem 0; color: var(--muted); text-align: center; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: .7rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.cart-item img, .cart-noimg { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; }
.cart-info { display: flex; flex-direction: column; gap: .2rem; min-width: 0; font-size: .95rem; line-height: 1.3; }
.cart-info a { color: inherit; text-decoration: none; }
.cart-price { color: var(--accent); font-weight: 700; }
.cart-qty { display: flex; align-items: center; gap: .3rem; }
.cart-qty button { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 1.05rem; cursor: pointer; }
.cart-qty span { min-width: 1.4rem; text-align: center; font-weight: 700; }
.cart-foot { padding: .9rem 1.2rem 1.2rem; }
.cart-total { display: flex; justify-content: space-between; margin: 0 0 .8rem; font-size: 1.15rem; }
.cart-order { display: block; text-align: center; }
.cart-note { margin: .6rem 0 0; color: var(--muted); font-size: .88rem; text-align: center; }
@media (max-width: 820px) {
  body:has(.action-bar) .cart-fab { bottom: 70px; }
  body:has(.action-bar) .cart-toast { bottom: 130px; }
}

/* 0% instalment line under prices */
.prod-inst { flex-basis: 100%; order: 3; font-size: .82rem; font-weight: 600; color: #0A7A3D; }
.pp-deliv { margin: .6rem 0 1rem; padding: .6rem .8rem; border-radius: 10px; background: var(--surface, #E7ECF5); }
.cart-deliv { margin: 0 0 .8rem; font-size: .9rem; color: var(--muted); }
.pp-inst { display: inline-block; margin: -.2rem 0 .6rem; padding: .35rem .7rem; border-radius: 8px; background: #E3F5EA; color: #0A7A3D; font-weight: 700; }

/* product page photo gallery */
.pp-gallery { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.pp-thumbs { display: flex; flex-wrap: wrap; gap: .5rem; }
.pp-thumb { width: 74px; height: 74px; border-radius: 10px; border: 2px solid var(--line); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pp-thumb.on { border-color: var(--accent); }

/* "Can't find what you need?" request box */
.want { padding: clamp(2.5rem, 6vw, 4.5rem) 0; background: var(--surface); }
.want-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.want h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 .6rem; }
.want-copy p { color: var(--muted); margin: 0; }
.want-form { display: grid; gap: .8rem; background: var(--bg); padding: 1.3rem; border-radius: 16px; border: 1px solid var(--line); }
.want-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.want-form textarea, .want-form input { font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); resize: vertical; }
.want-form textarea:focus, .want-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.want-form .btn { cursor: pointer; font-family: inherit; justify-self: start; }
@media (max-width: 820px) { .want-row { grid-template-columns: 1fr; } .want-form .btn { justify-self: stretch; } }
