/* Wajna General Trading — site styles.
   Built on tokens.css. Component classes mirror the design-system React
   components (Logo, Button, SectionHeading, Icon, Badge, Tag, Input, Select). */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}
body { min-height: 100vh; }
img { max-width: 100%; }
a { color: var(--emerald-700); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--emerald-700); text-decoration: underline; }
::selection { background: var(--emerald-100); color: var(--pine-900); }
button { font-family: inherit; }
:focus-visible { outline: none; box-shadow: var(--shadow-focus); }

.container { max-width: var(--container-max); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.sec { padding-top: clamp(80px, 10vw, 128px); padding-bottom: clamp(80px, 10vw, 128px); }
.sec--brand { padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); }
.muted-bg { background: var(--surface-muted); }
.anchor { scroll-margin-top: 80px; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(48px, 7vw, 96px); align-items: center; }
.stack { display: flex; flex-direction: column; }
.row-wrap { display: flex; flex-wrap: wrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icon ---------- */
.icon { display: block; flex-shrink: 0; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo__crown { height: 29px; width: auto; display: block; }
.logo__lockup { display: inline-flex; flex-direction: column; gap: calc(var(--logo-size, 22px) * .18); }
.logo__word { font: 400 var(--logo-size, 22px)/1 var(--font-wordmark); letter-spacing: .06em; color: var(--pine-900); }
.logo__desc { font: 500 max(8px, calc(var(--logo-size, 22px) * .3))/1 var(--font-sans); letter-spacing: .26em; text-transform: uppercase; color: var(--text-brand); }
.logo--light .logo__word { color: var(--ivory-50); }
.logo--light .logo__desc { color: var(--emerald-300); }

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--control-h-md); padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font: 500 14px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; flex-shrink: 0; text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn .icon { width: 16px; height: 16px; }
.btn--sm { height: var(--control-h-sm); padding: 0 16px; font-size: 13px; }
.btn--lg { height: var(--control-h-lg); padding: 0 28px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--action-primary); color: var(--ivory-50); }
.btn--primary:hover { background: var(--action-primary-hover); color: var(--ivory-50); }
.btn--accent { background: var(--action-accent); color: #fff; }
.btn--accent:hover { background: var(--action-accent-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn--secondary:hover { background: var(--surface-muted); color: var(--text-strong); }
.btn--ghost { background: transparent; color: var(--text-brand); }
.btn--ghost:hover { background: var(--surface-brand-soft); color: var(--text-brand); }
.btn--inverse { background: var(--ivory-50); color: var(--pine-900); }
.btn--inverse:hover { background: #fff; color: var(--pine-900); }

/* ---------- Section heading ---------- */
.sh { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 760px; }
.sh__eyebrow { display: flex; align-items: center; gap: 14px; font: 500 11px/1 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-brand); }
.sh__index { font-family: var(--font-mono); letter-spacing: 0; }
.sh__rule { width: 28px; height: 1px; background: currentColor; }
.sh__title { margin: 0; font: 500 56px/1.06 var(--font-display); letter-spacing: var(--ls-display); color: var(--text-strong); text-wrap: balance; }
.sh__title em { font-style: italic; font-weight: 400; color: var(--text-accent); }
.sh__lede { margin: 0; font: 400 18px/1.6 var(--font-sans); color: var(--text-body); max-width: 620px; text-wrap: pretty; }
.sh--m .sh__title { font-size: 44px; }
.sh--light .sh__eyebrow { color: var(--emerald-300); }
.sh--light .sh__title { color: var(--ivory-50); }
.sh--light .sh__title em { color: var(--teal-200); }
.sh--light .sh__lede { color: var(--text-inverse-muted); }
@media (max-width: 640px) {
  .sh__title { font-size: 42px; }
  .sh--m .sh__title { font-size: 36px; }
}

/* ---------- Eyebrow (free-standing) ---------- */
.eyebrow { font: 500 11px/1 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.eyebrow-line { display: flex; align-items: center; gap: 14px; font: 500 11px/1.4 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--emerald-300); }
.eyebrow-line::before { content: ""; width: 36px; height: 1px; background: currentColor; }

/* ---------- Badge & Tag ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--ivory-200); color: var(--stone-700); font: 500 10.5px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.tag { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); background: var(--surface-card); color: var(--text-strong); font: 400 14px/1 var(--font-sans); user-select: none; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field__label { font: 500 11px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-strong); }
.field__control {
  display: flex; align-items: center; gap: 10px; min-height: var(--control-h-md); padding: 0 14px;
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field__control:focus-within { border-color: var(--emerald-500); box-shadow: var(--shadow-focus); }
.field__control--multi { align-items: flex-start; padding: 12px 14px; }
.field__control .icon { color: var(--text-muted); }
.field__control input, .field__control textarea {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 0;
  font: 400 15px/1.5 var(--font-sans); color: var(--text-strong); resize: vertical;
}
.field__control input::placeholder, .field__control textarea::placeholder { color: var(--stone-400); }
.field__control input:focus-visible, .field__control textarea:focus-visible { box-shadow: none; }
.field.is-invalid .field__control { border-color: var(--danger-500); }
.field__error { font: 400 13px/1.4 var(--font-sans); color: var(--danger-500); }
.select { position: relative; display: flex; align-items: center; }
.select select {
  appearance: none; -webkit-appearance: none; width: 100%; height: var(--control-h-md); padding: 0 40px 0 14px;
  background: var(--surface-card); border: 1px solid var(--border-default); border-radius: var(--radius-md);
  font: 400 15px/1 var(--font-sans); color: var(--text-strong); outline: 0; cursor: pointer;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.select select:focus { border-color: var(--emerald-500); box-shadow: var(--shadow-focus); }
.select .icon { position: absolute; right: 14px; pointer-events: none; color: var(--text-muted); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form-phone { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: end; }

.panel { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); padding: clamp(28px, 4vw, 44px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form__title { font: 500 30px/1.15 var(--font-display); color: var(--text-strong); }
.form__note { margin: 0; font: 400 14px/1.6 var(--font-sans); color: var(--text-muted); }
.thanks { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; padding: 24px 0; }
.thanks__title { font: 500 32px/1.15 var(--font-display); color: var(--text-strong); }
.thanks__title em { font-weight: 400; color: var(--text-accent); }
.thanks p { margin: 0; font: 400 15px/1.7 var(--font-sans); max-width: 420px; }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--surface-brand-soft); display: flex; align-items: center; justify-content: center; color: var(--emerald-700); flex-shrink: 0; }
.icon-circle--lg { width: 56px; height: 56px; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; border-bottom: 1px solid transparent; transition: background 200ms, border-color 200ms; }
.site-header__inner { height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo--dark-swap { display: none; }
.site-header.is-scrolled { background: var(--glass-light); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--border-hairline); }
.site-header.is-scrolled .logo--light-swap { display: none; }
.site-header.is-scrolled .logo--dark-swap { display: inline-flex; }
.site-nav { display: flex; gap: 24px; align-items: center; }
.site-nav a { font: 500 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: rgba(255,255,255,.82); padding-bottom: 4px; }
.site-nav a:hover { text-decoration: underline; color: #fff; }
.site-header.is-scrolled .site-nav a { color: var(--text-strong); }
.site-header.is-scrolled .site-nav a:hover { color: var(--emerald-700); }
.site-header .btn--header { background: var(--ivory-50); color: var(--pine-900); }
.site-header .btn--header:hover { background: #fff; }
.site-header.is-scrolled .btn--header { background: var(--action-primary); color: var(--ivory-50); }
.site-header.is-scrolled .btn--header:hover { background: var(--action-primary-hover); }
@media (max-width: 1240px) { .site-nav { display: none; } }

.sub-header { position: sticky; top: 0; z-index: 40; background: var(--glass-light); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border-hairline); }
.sub-header__inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sub-header .logo__crown { height: 28px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-strong); }
.back-link:hover { color: var(--emerald-700); }
@media (max-width: 560px) {
  .sub-header .logo__lockup .logo__desc { display: none; }
  .back-link span { display: none; }
}

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 780px; background: var(--pine-950); overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero__photo { position: absolute; inset: 0; background: url(../assets/cover-trade-hero.jpg) center 72% / cover; opacity: .9; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6,31,27,.94) 0%, rgba(10,43,37,.74) 45%, rgba(14,59,51,.18) 100%); }
.hero__waves { position: absolute; right: -120px; top: 0; bottom: 0; width: 640px; background: url(../assets/wave-lines-white.png) center / cover; opacity: .3; }
.hero__content { position: relative; width: 100%; padding-top: 200px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { margin: 0; font: 500 clamp(52px, 8vw, 96px)/1 var(--font-display); letter-spacing: -.015em; max-width: 860px; text-wrap: balance; }
.hero h1 em { font-weight: 400; color: var(--teal-200); }
.hero__lede { margin: 0; font: 300 20px/1.6 var(--font-sans); color: rgba(251,250,246,.84); max-width: 580px; text-wrap: pretty; }
.hero__pick { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.hero__pick-label { font: 500 11px/1 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: rgba(251,250,246,.7); }
@media (max-width: 560px) { .hero .btn--lg { white-space: normal; height: auto; min-height: var(--control-h-lg); padding-top: 12px; padding-bottom: 12px; } }

/* ---------- Home: brands strip ---------- */
.brands { background: var(--pine-900); color: var(--ivory-50); border-top: 1px solid rgba(255,255,255,.08); }
.brands__inner { padding-top: 36px; padding-bottom: 36px; display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.brands__label { color: var(--emerald-300); }
.brands__list { display: flex; flex-wrap: wrap; gap: 10px 32px; flex: 1; }
.brands__list span, .brands__list a { font: 400 24px/1.2 var(--font-display); color: var(--ivory-50); }
.brands__list a { color: var(--teal-200); text-decoration: underline; text-underline-offset: 6px; }
.brands__list a:hover { color: #fff; }

/* ---------- Home: about ---------- */
.about__p1 { margin: 0; font: 400 19px/1.7 var(--font-sans); color: var(--text-strong); max-width: 560px; }
.about__p2 { margin: 0; font: 400 16px/1.7 var(--font-sans); color: var(--text-body); max-width: 560px; }
.about__media { position: relative; }
.about__photo { aspect-ratio: 4 / 5; border-radius: var(--radius-xl); background: url(../assets/port-containers.jpg) center / cover; box-shadow: var(--shadow-lg); }
.about__pin { position: absolute; left: 24px; bottom: 32px; padding: 20px 24px; background: var(--surface-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; gap: 16px; align-items: center; color: var(--text-brand); margin-right: 24px; }
.about__pin-t { font: 500 18px/1.2 var(--font-display); color: var(--text-strong); }
.about__pin-s { font: 400 13px/1.4 var(--font-sans); color: var(--text-muted); }

/* ---------- Home: vision ---------- */
.vision { position: relative; background: var(--gradient-brand-deep); color: var(--ivory-50); overflow: hidden; }
.vision__waves { position: absolute; inset: 0; background: url(../assets/wave-lines-white.png) left center / cover; opacity: .18; }
.vision__inner { position: relative; padding-top: clamp(80px, 10vw, 120px); padding-bottom: clamp(80px, 10vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 64px 96px; }
.vision__label { display: flex; align-items: center; gap: 12px; color: var(--emerald-300); }
.vision__v { margin: 0; font: 500 clamp(32px, 4vw, 44px)/1.2 var(--font-display); text-wrap: pretty; }
.vision__m { margin: 0; font: italic 400 clamp(24px, 2.6vw, 28px)/1.3 var(--font-display); text-wrap: pretty; }

/* ---------- Home: services ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-top: 56px; border-top: 1px solid var(--border-default); }
.service { padding: 40px 36px 16px 0; border-right: 1px solid var(--border-hairline); display: flex; flex-direction: column; gap: 20px; margin-right: 36px; }
.service__top { display: flex; justify-content: space-between; align-items: center; color: var(--text-brand); }
.num { font: 400 12px/1 var(--font-mono); color: var(--text-accent); }
.service__key { font: 500 34px/1.1 var(--font-display); color: var(--text-strong); }
.service p { margin: 0; font: 400 15px/1.7 var(--font-sans); color: var(--text-body); text-wrap: pretty; }
@media (max-width: 700px) { .service { border-right: 0; margin-right: 0; padding-right: 0; } }

/* ---------- Home: buyer journeys ---------- */
.journey__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.seg { display: inline-flex; padding: 4px; border: 1px solid var(--border-default); border-radius: var(--radius-pill); background: var(--surface-card); gap: 4px; }
.seg button { height: 40px; padding: 0 20px; border: 0; border-radius: var(--radius-pill); font: 500 13px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; background: transparent; color: var(--text-muted); transition: background 160ms, color 160ms; }
.seg button[aria-selected="true"] { background: var(--pine-900); color: var(--ivory-50); }
.journey__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6vw, 80px); align-items: start; }
.journey__title { font: 500 32px/1.15 var(--font-display); color: var(--text-strong); }
.journey__title em { font-weight: 400; color: var(--text-accent); }
.journey__p { margin: 0; font: 400 16px/1.7 var(--font-sans); max-width: 520px; }
.photo { border-radius: var(--radius-xl); background-position: center; background-size: cover; }
.photo--wide { aspect-ratio: 16 / 10; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--border-default); }
.step__n { font: 400 13px/1.6 var(--font-mono); color: var(--text-accent); }
.step__t { font: 500 24px/1.2 var(--font-display); color: var(--text-strong); }
.step p { margin: 0; font: 400 15px/1.65 var(--font-sans); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.fact { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.fact__t { font: 500 24px/1.15 var(--font-display); color: var(--text-strong); }
.fact p { margin: 0; font: 400 15px/1.65 var(--font-sans); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }

/* ---------- Home: why / values ---------- */
.why__photo { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); background: url(../assets/shopper-man.jpg) 40% center / cover; box-shadow: var(--shadow-md); }
.why-item { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--border-default); color: var(--text-brand); }
.why-item__t { font: 500 24px/1.2 var(--font-display); color: var(--text-strong); }
.why-item p { margin: 0; font: 400 15px/1.7 var(--font-sans); color: var(--text-body); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--border-default); }
.value { padding: 32px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.value__head { display: flex; align-items: center; gap: 12px; color: var(--emerald-700); }
.value__t { font: 500 26px/1.1 var(--font-display); color: var(--text-strong); }
.value p { margin: 0; font: 400 15px/1.6 var(--font-sans); }

/* ---------- Home: partners ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 96px; }
.partners__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--border-default); align-content: start; }
.partners__list div { padding: 20px 16px 20px 0; border-bottom: 1px solid var(--border-hairline); font: 400 22px/1.25 var(--font-display); color: var(--text-strong); }

/* ---------- Home: gallery ---------- */
.gallery { background: var(--pine-900); padding: clamp(80px, 10vw, 112px) 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; padding: 0 32px; max-width: 1400px; margin: 0 auto; }
.gallery__grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); display: block; }

/* ---------- Home: FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 96px; align-items: start; }
.faq { display: flex; flex-direction: column; border-bottom: 1px solid var(--border-default); }
.faq__item { border-top: 1px solid var(--border-default); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; background: transparent; border: 0; cursor: pointer; text-align: left; font: 500 22px/1.3 var(--font-display); color: var(--text-strong); }
.faq__q .icon { color: var(--text-brand); }
.faq__a { margin: 0; padding: 0 48px 26px 0; font: 400 15px/1.7 var(--font-sans); color: var(--text-body); text-wrap: pretty; }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px 96px; align-items: start; }
.contact-row { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--border-default); text-decoration: none; color: var(--text-brand); }
.contact-row:hover { text-decoration: none; }
.contact-row:hover .contact-row__v { color: var(--emerald-700); }
.contact-row__k { font: 500 11px/1 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.contact-row__v { font: 400 17px/1.5 var(--font-sans); color: var(--text-strong); }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-950); color: var(--ivory-50); }
.site-footer__grid { padding-top: 80px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 48px; }
.site-footer .logo__crown { height: 34px; }
.site-footer__quote { margin: 0; font: italic 400 22px/1.35 var(--font-display); color: var(--ivory-200); max-width: 320px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font: 400 14px/1.6 var(--font-sans); color: var(--text-inverse-muted); }
.site-footer__col .eyebrow { color: var(--emerald-300); margin-bottom: 6px; }
.site-footer__col a { color: var(--text-inverse-muted); }
.site-footer__col a.strong { color: var(--ivory-50); }
.site-footer__col a:hover { color: #fff; }
.site-footer__bar { padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--border-inverse); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 12px/1.4 var(--font-sans); color: var(--text-inverse-muted); }
.mini-footer__inner { padding-top: 40px; padding-bottom: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font: 400 13px/1.5 var(--font-sans); color: var(--text-inverse-muted); }
.mini-footer .logo__crown { height: 28px; }
.mini-footer a { color: var(--ivory-50); }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; border-radius: var(--radius-pill); background: var(--emerald-500); color: #fff; text-decoration: none; box-shadow: var(--shadow-lg); font: 500 14px/1 var(--font-sans); letter-spacing: .06em; text-transform: uppercase; transition: background var(--dur-fast); }
.wa-float:hover { background: var(--emerald-600); color: #fff; text-decoration: none; }

/* ---------- Brand page ---------- */
.brand-hero { position: relative; background: var(--pine-950); color: var(--ivory-50); overflow: hidden; }
.brand-hero__waves { position: absolute; right: -160px; top: 0; bottom: 0; width: 720px; background: url(../assets/wave-lines-white.png) center / cover; opacity: .22; }
.brand-hero__inner { position: relative; padding-top: clamp(72px, 9vw, 112px); padding-bottom: clamp(72px, 9vw, 112px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 56px 80px; align-items: center; }
.brand-hero h1 { margin: 0; font: 500 clamp(56px, 8vw, 104px)/.95 var(--font-display); letter-spacing: -.015em; }
.brand-hero h1 em { display: block; font-weight: 400; font-size: .5em; line-height: 1.2; color: var(--teal-200); margin-top: 12px; }
.brand-hero__lede { margin: 0; font: 300 19px/1.65 var(--font-sans); color: rgba(251,250,246,.84); max-width: 540px; text-wrap: pretty; }
.brand-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-inverse); margin-top: 8px; }
.brand-stats div { padding: 24px 16px 0 0; display: flex; flex-direction: column; gap: 8px; }
.brand-stats .eyebrow { color: var(--text-inverse-muted); }
.brand-stats strong { font: 500 28px/1.1 var(--font-display); }
.brand-hero__banner { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); display: block; }
@media (max-width: 520px) { .brand-stats strong { font-size: 22px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 38px; padding: 0 18px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); background: transparent; color: var(--text-strong); font: 500 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background 160ms, color 160ms, border-color 160ms; }
.chip:hover { background: var(--surface-muted); }
.chip[aria-pressed="true"] { background: var(--pine-900); color: var(--ivory-50); border-color: var(--pine-900); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.pcard { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 200ms, transform 200ms, border-color 200ms; }
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pcard.is-selected { border-color: var(--emerald-500); }
.pcard__media { aspect-ratio: 4 / 3; background: var(--surface-muted); display: flex; flex-direction: column; justify-content: space-between; padding: 18px 20px; position: relative; text-decoration: none; }
.pcard__media:hover { text-decoration: none; }
.pcard__top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.pcard__media img { position: absolute; inset: 44px 16px 12px; width: calc(100% - 32px); height: calc(100% - 56px); object-fit: contain; display: block; }
.pcard__size { font: 500 44px/1 var(--font-display); color: var(--text-strong); }
.pcard__range { font: italic 400 15px/1.3 var(--font-display); color: var(--text-accent); }
.pcard__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pcard__name { font: 500 22px/1.2 var(--font-display); color: var(--text-strong); text-wrap: pretty; text-decoration: none; }
.pcard__name:hover { color: var(--emerald-700); }
.link-caps { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--emerald-700); }
.pcard__meta { display: flex; gap: 16px; font: 400 13px/1.4 var(--font-sans); color: var(--text-muted); margin-top: auto; }
.add-btn { height: 40px; border-radius: var(--radius-pill); border: 1px solid var(--border-default); background: transparent; color: var(--text-strong); font: 500 12px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 160ms, color 160ms, border-color 160ms; }
.add-btn:hover { background: var(--surface-muted); }
.add-btn.is-on { background: var(--pine-900); color: var(--ivory-50); border-color: var(--pine-900); }
.add-btn .icon { width: 16px; height: 16px; }

.sel-list { display: flex; flex-direction: column; border-top: 1px solid var(--border-default); }
.sel-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border-hairline); }
.sel-item span { font: 400 16px/1.4 var(--font-sans); color: var(--text-strong); }
.sel-item small { font-size: inherit; color: var(--text-muted); }
.sel-item button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; color: var(--text-muted); display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.sel-item button:hover { background: var(--surface-sunken); color: var(--text-strong); }

/* ---------- Product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 400 13px/1.4 var(--font-sans); color: var(--text-muted); margin-bottom: 40px; }
.crumbs a { color: var(--text-muted); }
.crumbs [aria-current] { color: var(--text-strong); }
.pd { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 80px; align-items: start; }
.pd__media { aspect-ratio: 1 / 1; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; padding: 40px; }
.pd__media img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pd__ph { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pd__ph-size { font: 500 96px/1 var(--font-display); color: var(--text-strong); }
.pd__ph-note { font: italic 400 20px/1.3 var(--font-display); color: var(--text-accent); }
.pd h1 { margin: 0; font: 500 clamp(40px, 5vw, 60px)/1.05 var(--font-display); color: var(--text-strong); letter-spacing: -.01em; text-wrap: balance; }
.pd h1 em { font-weight: 400; color: var(--text-accent); }
.specs { display: flex; flex-direction: column; border-top: 1px solid var(--border-default); margin: 0; }
.specs div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-hairline); }
.specs dt { font: 500 11px/1.6 var(--font-sans); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--text-muted); }
.specs dd { margin: 0; font: 400 16px/1.5 var(--font-sans); color: var(--text-strong); }
@media (max-width: 480px) { .specs div { grid-template-columns: 120px 1fr; } }
.rcard { background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: box-shadow 200ms, transform 200ms; }
.rcard:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.rcard__media { aspect-ratio: 4 / 3; background: var(--surface-muted); position: relative; display: flex; align-items: flex-end; padding: 18px 20px; }
.rcard__media img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.rcard__size { font: 500 36px/1 var(--font-display); color: var(--text-strong); }
.rcard__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.rcard__name { font: 500 20px/1.2 var(--font-display); color: var(--text-strong); }
.rcard__meta { font: 400 13px/1.4 var(--font-sans); color: var(--text-muted); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ---------- Mobile menu (burger + drawer) ---------- */
.burger {
  display: none; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
  background: transparent; color: var(--text-strong); border: 1px solid var(--border-default);
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast), border-color var(--dur-fast);
}
.burger:hover { background: var(--surface-muted); }
.site-header .burger { background: rgba(251,250,246,.12); color: var(--ivory-50); border-color: var(--border-inverse); }
.site-header .burger:hover { background: rgba(251,250,246,.22); }
.site-header.is-scrolled .burger { background: transparent; color: var(--text-strong); border-color: var(--border-default); }
.site-header.is-scrolled .burger:hover { background: var(--surface-muted); }
.header-actions { display: flex; align-items: center; gap: 12px; }
@media (max-width: 1240px) { .site-header .burger { display: inline-flex; } }
@media (max-width: 560px) { .site-header .btn--header { display: none; } }
@media (max-width: 720px) {
  .sub-header .burger { display: inline-flex; }
  .sub-header .back-link { display: none; }
}

.mmenu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
  background: var(--pine-950); color: var(--ivory-50);
  display: flex; flex-direction: column;
  animation: mmenu-in var(--dur-base) var(--ease-out);
}
@keyframes mmenu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mmenu > .container { width: 100%; }
.mmenu__waves { position: absolute; right: -200px; top: 0; bottom: 0; width: 640px; background: url(../assets/wave-lines-white.png) center / cover; opacity: .14; pointer-events: none; }
.mmenu__head { position: relative; height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-shrink: 0; }
.mmenu__close { display: inline-flex; background: rgba(251,250,246,.12); color: var(--ivory-50); border-color: var(--border-inverse); }
.mmenu__close:hover { background: rgba(251,250,246,.22); }
.mmenu__nav { position: relative; display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 32px; border-top: 1px solid var(--border-inverse); }
.mmenu__nav a {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--border-inverse);
  font: 500 30px/1.15 var(--font-display); color: var(--ivory-50); text-decoration: none;
}
.mmenu__nav a:hover, .mmenu__nav a:focus-visible { color: var(--teal-200); text-decoration: none; }
.mmenu__nav a .icon { color: var(--emerald-300); }
.mmenu__nav a em { font-weight: 400; color: var(--teal-200); }
.mmenu__n { font: 400 12px/1 var(--font-mono); color: var(--emerald-300); }
.mmenu__foot { position: relative; margin-top: auto; padding-top: 8px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
.mmenu__contacts { display: flex; flex-direction: column; gap: 12px; font: 400 15px/1.5 var(--font-sans); }
.mmenu__contacts a { display: inline-flex; align-items: center; gap: 12px; color: var(--text-inverse-muted); }
.mmenu__contacts a:hover { color: #fff; }
.mmenu__contacts .icon { color: var(--emerald-300); }
body.menu-open { overflow: hidden; }

/* ---------- Brand description (SEO copy) ---------- */
.brand-about__p { margin: 0; font: 400 16px/1.7 var(--font-sans); color: var(--text-body); max-width: 560px; }
.brand-about__p--lead { font-size: 19px; color: var(--text-strong); }
.ranges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--border-default); margin-top: 56px; }
.range { padding: 32px 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.range h3 { margin: 0; font: 500 28px/1.1 var(--font-display); color: var(--text-strong); }
.range p { margin: 0; font: 400 15px/1.65 var(--font-sans); }
.pd__desc { margin: 0; font: 400 16px/1.7 var(--font-sans); color: var(--text-strong); max-width: 520px; }

/* ---------- Hero stats ---------- */
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--border-inverse); margin-top: 16px; max-width: 860px; }
.hero-stats div { padding: 20px 16px 0 0; display: flex; flex-direction: column; gap: 6px; }
.hero-stats strong { font: 500 34px/1 var(--font-display); color: var(--ivory-50); }
.hero-stats span { font: 500 11px/1.4 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-inverse-muted); }
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; } .hero-stats strong { font-size: 28px; } }

/* ---------- Categories ---------- */
.cats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; margin-top: 40px; }
.cats .eyebrow { color: var(--text-brand); margin-right: 8px; }

/* ---------- Logo grids (brands, partners) ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.logo-tile {
  position: relative; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; padding: 18px 22px;
  background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg);
  transition: box-shadow 200ms, transform 200ms, border-color 200ms; text-decoration: none;
}
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
a.logo-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--emerald-500); text-decoration: none; }
.logo-tile__cta { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 500 10px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--emerald-700); }
.logo-tile--feature { padding-bottom: 26px; }
.partners .logo-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); align-content: start; }

/* ---------- Gallery groups ---------- */
.gallery__group { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.gallery__group + .gallery__group { margin-top: 56px; }
.gallery__label { display: flex; align-items: center; gap: 12px; color: var(--emerald-300); margin-bottom: 20px; }
.gallery__grid--online { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.gallery__grid--online img { width: 100%; aspect-ratio: 720 / 1049; object-fit: cover; object-position: top; border-radius: var(--radius-lg); display: block; background: #fff; }
.gallery__grid--store { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.gallery__grid--store img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-lg); display: block; }
.gallery .gallery__grid { padding: 0; max-width: none; }

/* ---------- Newsletter ---------- */
.newsletter { position: relative; background: var(--gradient-brand-deep); color: var(--ivory-50); overflow: hidden; }
.newsletter__waves { position: absolute; inset: 0; background: url(../assets/wave-lines-white.png) right center / cover; opacity: .16; pointer-events: none; }
.newsletter__inner { position: relative; padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px 80px; align-items: center; }
.newsletter__title { margin: 0; font: 500 clamp(30px, 3.6vw, 40px)/1.15 var(--font-display); }
.newsletter__title em { font-weight: 400; color: var(--teal-200); }
.newsletter__lede { margin: 12px 0 0; font: 300 16px/1.6 var(--font-sans); color: rgba(251,250,246,.84); max-width: 480px; }
.newsletter__form { display: flex; flex-direction: column; gap: 12px; }
.newsletter__row { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter__row .field__control { flex: 1 1 240px; min-height: var(--control-h-lg); border-color: transparent; border-radius: var(--radius-pill); padding: 0 20px; }
.newsletter__note { margin: 0; font: 400 12.5px/1.5 var(--font-sans); color: var(--text-inverse-muted); }
.newsletter__note a { color: var(--ivory-50); text-decoration: underline; }
.newsletter__msg { margin: 0; font: 400 15px/1.6 var(--font-sans); display: flex; align-items: center; gap: 10px; }
.newsletter__msg .icon { color: var(--emerald-300); }
.newsletter__err { margin: 0; font: 400 13px/1.4 var(--font-sans); color: #FFD3CE; }

/* ---------- Footer legal links ---------- */
.legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.legal-links a { color: var(--text-inverse-muted); }
.legal-links a:hover { color: #fff; }

/* ---------- Product search ---------- */
.catalog-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.search { flex: 1 1 280px; max-width: 420px; }
.search .field__control { border-radius: var(--radius-pill); padding: 0 16px; }
.search input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
.catalog-count { font: 400 13px/1.4 var(--font-sans); color: var(--text-muted); }
.catalog-empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--border-default); border-radius: var(--radius-lg); background: var(--surface-card); }
.catalog-empty p { margin: 8px 0 0; color: var(--text-muted); }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; }
.legal h1 { margin: 0; font: 500 clamp(40px, 5vw, 56px)/1.06 var(--font-display); color: var(--text-strong); letter-spacing: var(--ls-display); }
.legal h2 { margin: 40px 0 12px; font: 500 28px/1.2 var(--font-display); color: var(--text-strong); }
.legal p, .legal li { font: 400 16px/1.75 var(--font-sans); color: var(--text-body); }
.legal ul { padding-left: 20px; }
.legal .updated { font: 400 13px/1.4 var(--font-mono); color: var(--text-muted); margin: 16px 0 32px; }
.legal table { width: 100%; border-collapse: collapse; font: 400 14px/1.5 var(--font-sans); margin: 8px 0 16px; }
.legal th, .legal td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--border-hairline); vertical-align: top; }
.legal th { font: 500 11px/1.4 var(--font-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }

/* Partners: heading above a full-width logo grid so wide wordmarks stay legible */
.partners { grid-template-columns: 1fr; gap: 48px; }
.partners .logo-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.logo-tile { padding: 16px 18px; }
.hero-stats strong, .brand-stats strong, .pcard__size, .rcard__size, .pd__ph-size { font-variant-numeric: lining-nums; }

/* Logo tiles v2: uniform optical sizing that scales with the tile (no overflow on phones).
   Each <img> carries --p, its width as a share of the tile's inner width, computed so
   every logo covers roughly the same area whatever its proportions. */
.logo-grid, .partners .logo-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.logo-tile { aspect-ratio: 3 / 2; padding: 0 10%; overflow: hidden; min-width: 0; }
.logo-tile img { width: var(--p, 60%); max-width: 100%; height: auto; max-height: none; flex: none; }
.logo-tile--feature { padding-bottom: 0; }
.logo-tile--feature img { margin-top: -10px; }
@media (max-width: 480px) { .logo-grid, .partners .logo-grid { gap: 8px; } .logo-tile__cta { bottom: 6px; font-size: 9px; } }
@media (max-width: 420px) { .logo-grid, .partners .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Catalogue (generated brand/product pages) ---------- */
.pcard__media { background: #fff; border-bottom: 1px solid var(--border-hairline); }
.pcard__media img { inset: 44px 20px 14px; width: calc(100% - 40px); height: calc(100% - 58px); }
.pcard__brand { font: 500 10.5px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-brand); }
.pcard[hidden] { display: none; }
.sel-item a { color: var(--text-strong); }
.sel-item a:hover { color: var(--emerald-700); }

.crumbs--light { margin: 0; color: var(--text-inverse-muted); }
.crumbs--light a { color: var(--text-inverse-muted); }
.crumbs--light a:hover { color: #fff; }
.crumbs--light [aria-current] { color: var(--ivory-50); }

.page-hero { position: relative; background: var(--pine-950); color: var(--ivory-50); overflow: hidden; }
.page-hero__inner { position: relative; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); display: flex; flex-direction: column; gap: 24px; }
.page-hero h1 { margin: 0; font: 500 clamp(40px, 6vw, 72px)/1.02 var(--font-display); letter-spacing: -.015em; max-width: 900px; text-wrap: balance; }
.page-hero h1 em { font-weight: 400; color: var(--teal-200); }

/* brand hero visual for brands without a banner: product photo collage (+ logo) */
.brand-collage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; position: relative; }
.brand-collage__tile { aspect-ratio: 1 / 1; background: #fff; border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; padding: 14%; box-shadow: var(--shadow-md); }
.brand-collage__tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-collage--1 { grid-template-columns: 1fr; max-width: 360px; justify-self: center; width: 100%; }
.brand-collage--3 .brand-collage__tile:first-child { grid-row: span 2; aspect-ratio: auto; }
.brand-collage__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 14px 20px; width: 34%; display: flex; align-items: center; justify-content: center; }
.brand-collage__logo img { max-width: 100%; max-height: 70px; object-fit: contain; }

/* brands index */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.brand-card { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; text-decoration: none; transition: box-shadow 200ms, transform 200ms, border-color 200ms; }
.brand-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--emerald-500); text-decoration: none; }
.brand-card__mark { height: 96px; display: flex; align-items: center; justify-content: center; padding: 16px 28px; border-bottom: 1px solid var(--border-hairline); }
.brand-card__mark img { max-height: 60px; max-width: 70%; object-fit: contain; }
.brand-card__word { font: 500 30px/1 var(--font-display); color: var(--text-strong); text-align: center; }
.brand-card__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 12px 16px 0; height: 104px; }
.brand-card__thumbs img { width: 100%; height: 92px; object-fit: contain; }
.brand-card__body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.brand-card__name { font: 500 24px/1.15 var(--font-display); color: var(--text-strong); }
.brand-card__meta { font: 400 13px/1.5 var(--font-sans); color: var(--text-muted); }

/* product page: small packshots shown close to natural size, not stretched */
.pd__media { background: #fff; }
.pd__media img { width: auto; height: auto; max-width: min(100%, 420px); max-height: min(100%, 420px); object-fit: contain; }

@media (max-width: 420px) { .sub-header .header-actions .btn--primary { display: none; } }
