@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/IBMPlexSans-var.ttf") format("truetype"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("/static/fonts/IBMPlexSans-Italic-var.ttf") format("truetype"); font-weight: 100 700; font-style: italic; font-display: swap; }
/* Storefront. Aluminium ground, green-black ink, oak and panel-green from the products themselves. */
:root {
  --ground: #e6e7e2;
  --paper: #f2f2ee;
  --ink: #16201b;
  --graphite: #59615c;
  --rule: #c6c9c2;
  --oak: #a06c41;
  --panel: #2c574b;
  --panel-ink: #e9eee9;
  --ph-plate: #cdd0c9; --ph-knob: #29322e; --ph-meter: #ebe1ba; --ph-needle: #8a2f1c; --ph-oak: #b8845a; --ph-bg: #e6e7e2; --ph-ink: #16201b;
  --sans: "IBM Plex Sans", "IBM Plex Sans Georgian", system-ui, sans-serif;
  --serif: "Instrument Serif", "Noto Serif Georgian", Georgia, serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.55 var(--sans); }
.lang-ka body, body.lang-ka { font-size: 15px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 2px solid var(--panel); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.muted { color: var(--graphite); } .small { font-size: 13px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.wordmark { text-decoration: none; font: 400 26px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.main-nav { display: flex; gap: 22px; flex: 1; }
.main-nav a, .cart-link { text-decoration: none; font-size: 14px; font-weight: 500; }
.main-nav a:hover, .cart-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.head-tools { display: flex; align-items: center; gap: 14px; }
.head-search input { width: 180px; font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); color: var(--ink); }
.toggle { display: inline-flex; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; }
.toggle a { padding: 5px 9px; font-size: 13px; text-decoration: none; color: var(--graphite); }
.toggle a[aria-current="true"] { background: var(--ink); color: var(--paper); }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 12px; }
.cart-count[data-zero] { background: transparent; color: var(--graphite); border: 1px solid var(--rule); }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); font: 500 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--panel); }
.link { font-weight: 500; text-decoration: underline; text-decoration-color: var(--oak); text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: currentColor; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.display { font: 400 clamp(46px, 7.2vw, 104px)/.94 var(--serif); letter-spacing: -.025em; max-width: 11ch; text-wrap: balance; }
.lang-ka .display { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.12; letter-spacing: 0; max-width: 16ch; font-weight: 500; }
.lede { font-size: 18px; line-height: 1.55; color: var(--graphite); max-width: 46ch; margin-top: 26px; }
.hero-actions { margin-top: 30px; }
.hero-unit { display: block; text-decoration: none; background: var(--paper); border-radius: 4px; padding: clamp(20px, 3vw, 36px); }
.hero-media img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.hero-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; border-top: 1px solid var(--rule); margin-top: 22px; padding-top: 14px; font-weight: 500; }

/* Brand panels */
.brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; padding-bottom: clamp(40px, 6vw, 80px); }
.brand-panel { position: relative; display: flex; align-items: flex-end; min-height: 380px; overflow: hidden; border-radius: 4px; text-decoration: none; background: var(--ink); color: var(--panel-ink); }
.brand-panel:nth-child(2n) { background: var(--panel); }
.brand-panel-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-panel-text { position: relative; padding: clamp(24px, 3vw, 40px); max-width: 44ch; }
.brand-panel h2 { font: 400 clamp(40px, 5vw, 64px)/1 var(--serif); letter-spacing: -.02em; margin-bottom: 10px; }
.brand-origin { font-size: 13px; color: var(--graphite); margin-bottom: 16px; }
.brand-panel .brand-origin { color: color-mix(in srgb, var(--panel-ink) 70%, transparent); }
.brand-panel .link { text-decoration-color: var(--ph-oak); }

/* Sections and grid */
.section { padding: clamp(28px, 4vw, 56px) var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 24px; }
.section-head h2, .group-title, .how h2 { font: 400 clamp(30px, 3.4vw, 44px)/1.05 var(--serif); }
.lang-ka .section-head h2, .lang-ka .group-title, .lang-ka .how h2, .lang-ka .page-title { font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); }
.group-title { margin-bottom: 22px; }
.page-title { font: 400 clamp(40px, 5vw, 68px)/1 var(--serif); letter-spacing: -.02em; margin-bottom: 22px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 36px 20px; }
.card-media { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--paper); border-radius: 4px; padding: 18px; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media .ph { width: 100%; }
.card-body { padding-top: 14px; }
.card-brand { font-size: 13px; color: var(--graphite); margin: 0 0 2px; }
.card-brand a { text-decoration: none; } .card-brand a:hover { text-decoration: underline; }
.card-title { font: 500 17px/1.3 var(--sans); margin-bottom: 6px; }
.card-title a { text-decoration: none; } .card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-meta { font-size: 13px; margin: 0 0 6px; }
.avail::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; vertical-align: 1px; background: var(--graphite); }
.avail-in_stock::before { background: #3c8a5d; } .avail-preorder::before { background: var(--oak); } .avail-on_request::before { background: transparent; border: 1px solid var(--graphite); }
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-variant-numeric: tabular-nums; }
.price-main { font-weight: 600; }
.price-from { font-size: 13px; color: var(--graphite); }
.price-alt { font-size: 13px; color: var(--graphite); }
.price-lg .price-main { font: 400 40px/1 var(--serif); letter-spacing: -.01em; }
.price-lg .price-alt { font-size: 15px; }

/* Process */
.how { border-top: 1px solid var(--rule); margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.steps li { counter-increment: s; padding-top: 14px; border-top: 2px solid var(--ink); max-width: 34ch; }
.steps li::before { content: counter(s); display: block; font: 400 34px/1 var(--serif); margin-bottom: 10px; color: var(--oak); }

/* Catalog filters */
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: 14px; background: transparent; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { font-size: 14px; margin-bottom: 22px; }
.empty { padding: 40px 0; color: var(--graphite); }

/* Brand page */
.brand-head { padding: clamp(40px, 6vw, 80px) 0 12px; }
.brand-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.brand-logo { max-height: 90px; max-width: 320px; margin-bottom: 14px; }
.brand-hero { width: 100%; max-height: 560px; object-fit: cover; border-radius: 4px; margin-top: 36px; }
.prose { max-width: 62ch; font-size: 17px; }
.prose h2 { font: 400 30px/1.1 var(--serif); margin-bottom: 16px; }

/* Product page */
.product { padding-top: 24px; padding-bottom: 40px; }
.crumbs { font-size: 13px; color: var(--graphite); margin-bottom: 24px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.gallery-main { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--paper); border-radius: 4px; padding: clamp(18px, 3vw, 40px); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { width: 76px; height: 58px; padding: 4px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); cursor: pointer; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.buy { position: sticky; top: 88px; }
.product-title { font: 400 clamp(38px, 4.2vw, 60px)/1 var(--serif); letter-spacing: -.02em; margin: 6px 0 14px; }
.lang-ka .product-title { font-family: var(--serif); }
.buy .lede { font-size: 17px; margin-top: 0; }
.buy-price { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); margin: 22px 0 18px; }
.facts { display: grid; gap: 8px; margin: 0 0 24px; font-size: 14px; }
.facts div { display: flex; gap: 12px; } .facts dt { width: 90px; color: var(--graphite); } .facts dd { margin: 0; }
.add { display: flex; gap: 10px; }
.add input { width: 72px; font: inherit; padding: 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); text-align: center; }
.add .btn { flex: 1; }
.ask { margin-top: 16px; font-size: 14px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); padding: clamp(40px, 5vw, 72px) 0 12px; }
.product-detail h2 { font: 400 30px/1.1 var(--serif); margin-bottom: 16px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.specs th { width: 42%; font-weight: 500; color: var(--graphite); padding-right: 16px; }

/* Cart */
.cart-lines { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--rule); }
.cart-line { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.cart-line .thumb { aspect-ratio: 3 / 2; background: var(--paper); border-radius: 4px; padding: 6px; display: grid; place-items: center; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line input { width: 64px; font: inherit; padding: 6px; border: 1px solid var(--rule); border-radius: 6px; text-align: center; background: var(--paper); }
.cart-line .line-total { font-weight: 600; font-variant-numeric: tabular-nums; min-width: 96px; text-align: right; }
.cart-line .remove { background: none; border: 0; padding: 0; color: var(--graphite); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; padding: 8px 0 32px; }
.cart-total strong { font: 400 34px/1 var(--serif); }
.checkout { max-width: 760px; background: var(--paper); border-radius: 4px; padding: clamp(20px, 3vw, 40px); }
.checkout h2 { font: 400 34px/1.1 var(--serif); margin-bottom: 8px; }
.lang-ka .checkout h2 { font-weight: 500; font-size: 26px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 18px 0; }
.f { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.f-wide { grid-column: 1 / -1; }
.f input, .f textarea { font: 400 16px/1.4 var(--sans); padding: 10px 12px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: var(--ink); }
.f input:focus, .f textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--panel) 25%, transparent); }
.field-err { color: #9b2a17; font-weight: 400; font-size: 13px; }
.seg { border: 0; padding: 0; margin: 18px 0 10px; display: flex; flex-wrap: wrap; gap: 10px 18px; }
.seg legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; width: 100%; }
.seg label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkout .btn { margin-top: 14px; width: 100%; padding: 16px; font-size: 16px; }
.hp { position: absolute; left: -9999px; }
.notice { background: #f3e4d8; padding: 12px 16px; border-radius: 6px; }
[data-company-only][hidden] { display: none; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); margin-top: clamp(40px, 6vw, 80px); padding: 40px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot-name { font: 400 26px/1 var(--serif); margin-bottom: 14px; }
.foot-legal { color: var(--graphite); font-size: 13px; padding-top: 28px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 6px; font-size: 14px; transition: opacity .2s, transform .2s; z-index: 20; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: inherit; font-weight: 600; margin-left: 10px; }

@media (max-width: 1040px) {
  .main-nav { display: none; }
  .head-search input { width: 130px; }
}
@media (max-width: 860px) {
  .hero-grid, .brand-head-grid, .product-grid, .product-detail, .how { grid-template-columns: 1fr; }
  .buy { position: static; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .head-row { flex-wrap: wrap; gap: 10px 14px; padding-top: 10px; padding-bottom: 10px; }
  .wordmark { font-size: 22px; flex: 1; }
  .head-tools { width: 100%; justify-content: space-between; gap: 10px; }
  .head-search { flex: 1; } .head-search input { width: 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .card-media { padding: 10px; }
  .card-title { font-size: 15px; }
  .steps { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 80px minmax(0, 1fr); }
  .cart-line .qty-cell, .cart-line .line-total { grid-column: 2; text-align: left; }
  .brand-panel { min-height: 300px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.product .section { padding-left: 0; padding-right: 0; }
.hero-grid { align-items: center; }
.display { max-width: 12ch; }

/* --- v5: quote mode, options, photos --- */
.card-media img, .gallery-main img, .hero-media img, .thumbs img, .cart-line .thumb img, .brand-panel-unit img { mix-blend-mode: multiply; }
.card-media, .gallery-main, .hero-unit, .thumbs button { background: #fff; }
.est-label { font-size: 13px; color: var(--graphite); }
.buy-price .small { max-width: 40ch; }
.variants { margin: -2px 0 22px; }
.variants h2 { font: 500 14px/1.3 var(--sans); color: var(--graphite); margin-bottom: 8px; }
.variants table { width: 100%; border-collapse: collapse; font-size: 14px; }
.variants th, .variants td { padding: 9px 0; border-bottom: 1px solid var(--rule); vertical-align: top; text-align: left; }
.variants th { font-weight: 400; padding-right: 16px; }
.variants td { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.variants .alt { display: block; font-weight: 400; font-size: 12px; color: var(--graphite); }
.add select { flex-basis: 100%; font: inherit; padding: 10px; border: 1px solid var(--rule); border-radius: 6px; background: var(--paper); }
.add { flex-wrap: wrap; }
.quote .btn { width: 100%; padding: 15px; font-size: 16px; }
.quote-alt { display: flex; gap: 22px; margin-top: 14px; font-size: 14px; }
.prose h3 { font: 600 15px/1.3 var(--sans); margin: 22px 0 8px; }
.prose ul { margin: 0 0 1em; padding-left: 1.1em; }
.prose li { margin-bottom: 4px; }
.prose li::marker { color: var(--oak); }
.brand-panel { background: var(--paper); color: var(--ink); flex-direction: column; align-items: stretch; justify-content: space-between; }
.brand-panel:nth-child(2n) { background: #dcdcd2; }
.brand-panel-unit { padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; display: grid; place-items: center; min-height: 200px; }
.brand-panel-unit img, .brand-panel-unit .ph { max-height: 240px; width: auto; max-width: 100%; }
.brand-panel .brand-origin { color: var(--graphite); }
.brand-panel .link { text-decoration-color: var(--oak); }
.brand-panel:hover h2 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.catalog-note { font-size: 14px; color: var(--graphite); margin: -8px 0 22px; max-width: 64ch; }

/* studio photographs fill their frame; product cut-outs sit on white */
img[src*="-studio-"] { mix-blend-mode: normal !important; object-fit: cover !important; }
.card-media:has(img[src*="-studio-"]), .gallery-main:has(img[src*="-studio-"]), .hero-media:has(img[src*="-studio-"]) { padding: 0; overflow: hidden; }
.gallery-main:has(img[src*="-studio-"]) { aspect-ratio: 3 / 2; }
.gallery-main img[src*="-studio-"] { border-radius: 4px; }
.card-media:has(img[src*="-studio-"]) img { border-radius: 4px; }
.brand-panel:has(.brand-panel-bg) { color: #f3f1ea; background: var(--ink); justify-content: flex-end; min-height: 440px; }
.brand-panel:has(.brand-panel-bg)::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,14,12,.86) 0%, rgba(10,14,12,.35) 55%, rgba(10,14,12,.1) 100%); }
.brand-panel:has(.brand-panel-bg) .brand-panel-text { z-index: 2; }
.brand-panel:has(.brand-panel-bg) .brand-origin { color: rgba(243,241,234,.75); }
.brand-panel:has(.brand-panel-bg) .link { text-decoration-color: var(--ph-oak); }
.brand-panel-unit { flex: 1; }
.brand-panel { min-height: 440px; }
.brand-logo { max-height: 130px; }

/* --- Studio gallery --- */
.gallery-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 28px; }
.gallery-head .lede { margin: 0 0 24px; }
.masonry { columns: 3 320px; column-gap: 14px; }
.tile { break-inside: avoid; margin: 0 0 14px; }
.tile button { display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.tile img { width: 100%; height: auto; transition: transform .5s ease, opacity .3s; }
.tile button:hover img { transform: scale(1.025); opacity: .92; }
.tile figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 8px 2px 0; color: var(--graphite); }
.tile .credit { color: var(--ink); }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8, 11, 10, .94); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 12px; padding: 24px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.lightbox figcaption { color: #d6d9d3; font-size: 14px; }
.lb-nav, .lb-close { background: none; border: 0; color: #f3f1ea; font: 300 44px/1 var(--sans); cursor: pointer; padding: 12px; }
.lb-close { position: absolute; top: 10px; right: 14px; font-size: 38px; }
.lb-nav:hover, .lb-close:hover { color: var(--ph-oak); }
@media (max-width: 860px) { .gallery-head { grid-template-columns: 1fr; gap: 0; } }
@media (max-width: 640px) { .lightbox { grid-template-columns: 40px minmax(0, 1fr) 40px; } .lb-nav { font-size: 32px; padding: 6px; } }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } }
.brand-empty .lede { margin: 0 0 24px; }
.brand-empty-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }

/* Uniform product tiles: the image always fits inside a fixed 3:2 frame */
.card-media { display: block; position: relative; overflow: hidden; }
.card-media > img, .card-media > .ph { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }
.gallery-main { display: block; position: relative; overflow: hidden; }
.gallery-main > img, .gallery-main > .ph { position: absolute; inset: clamp(18px, 3vw, 40px); width: calc(100% - 2 * clamp(18px, 3vw, 40px)); height: calc(100% - 2 * clamp(18px, 3vw, 40px)); object-fit: contain; }
.brand-panel-unit { height: 260px; flex: none; }
.brand-panel-unit img, .brand-panel-unit .ph { width: 100%; height: 100%; max-height: none; object-fit: contain; }
@media (max-width: 640px) { .card-media > img, .card-media > .ph { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); } }
.brand-panel-unit { position: relative; overflow: hidden; padding: 0; margin: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; }
.brand-panel-unit > img, .brand-panel-unit > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
