/* ==========================================================================
   LUOFU — product catalogue
   Design 6: minimal, premium, product-focused. Mobile-first.
   ========================================================================== */

@font-face {
  font-family: 'Switzer'; src: url('../fonts/Switzer-400.woff2') format('woff2');
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Switzer'; src: url('../fonts/Switzer-500.woff2') format('woff2');
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Switzer'; src: url('../fonts/Switzer-600.woff2') format('woff2');
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Switzer'; src: url('../fonts/Switzer-700.woff2') format('woff2');
  font-style: normal; font-weight: 700; font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --white: #FFFFFF;
  --ink: #111111;
  --ink-2: #666666;
  --border: #E7E7E7;
  --accent: #B71928;
  --accent-dark: #97121F;

  --container: 1360px;
  --pad: 20px;
  --radius: 4px;
  --header-h: 62px;

  --font: 'Switzer', 'Segoe UI', Arial, sans-serif;

  --shadow-card: 0 1px 2px rgba(17, 17, 17, .04);
  --shadow-lift: 0 12px 28px rgba(17, 17, 17, .10);
  --ease: cubic-bezier(.2, .6, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

/* Several containers below set an explicit display, which would otherwise
   beat the user-agent rule for the hidden attribute. */
[hidden] { display: none !important; }

a { color: inherit; text-decoration: none; }
input, select, textarea, option { font-family: inherit; }

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  touch-action: manipulation;   /* no 300ms tap delay / double-tap zoom */
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* max() with the safe-area insets keeps content clear of the notch and the
   rounded corners when a phone is held in landscape. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(var(--pad), env(safe-area-inset-left, 0px));
  padding-right: max(var(--pad), env(safe-area-inset-right, 0px));
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.eyebrow-light { color: rgba(255, 255, 255, .7); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: #000; }

.btn-ghost { border-color: var(--border); background: var(--white); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-invert { background: var(--white); color: var(--ink); }
.btn-invert:hover { background: rgba(255, 255, 255, .88); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.header-inner > .brand { margin-right: auto; }

/* The logo is a transparent PNG, so it sits straight on the header background
   with no plate behind it. Height is capped and width follows the artwork's own
   aspect ratio, so it is never stretched or cropped. */
.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 32px;          /* mobile navbar */
  max-width: 100%;
  object-fit: contain;
}

.primary-nav { display: none; }

.primary-nav ul,
.mobile-menu ul,
.footer-nav ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav ul { gap: 30px; }

.primary-nav a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  transition: color .18s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform .2s var(--ease);
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.menu-bars { position: relative; }
.menu-bars::before,
.menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu ul { flex-direction: column; gap: 0; }
.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 16px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu li:last-child a { border-bottom: 0; }

/* ---------- Hero ---------- */

/* Match the supplied artwork so it fills the hero without cropping its text. */
.hero {
  position: relative;
  height: auto;
  aspect-ratio: 1086 / 1448;
  padding: 0;
}
@media (min-width: 700px) {
  .hero { aspect-ratio: 1672 / 941; }
}

/* Preserve the artwork's proportions and baked-in text inside the media area. */
.hero-banner {
  width: 100%;
  height: auto;
  aspect-ratio: 1086 / 1448;  /* reserves the space so nothing shifts on load */
  object-fit: contain;
  background: transparent;
}

/* Wide screens use the supplied landscape composition. */
@media (min-width: 700px) {
  .hero-banner {
    aspect-ratio: 1672 / 941;
    height: auto;
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-block: 28px;
  background: var(--white);
  border-top: 1px solid var(--border);
}

/* Side by side the two labels do not fit on a narrow phone, and centring them
   at their natural widths reads as ragged, so they go full width instead. */
@media (max-width: 479px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
}

/* ---------- Category banners ---------- */

.categories {
  display: grid;
  gap: 16px;
  padding-bottom: 56px;
}

.category-card {
  display: grid;
  grid-template-columns: 42% minmax(0, 1fr);
  gap: 8px;
  min-height: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.category-card:hover {
  border-color: #d6d6d2;
  box-shadow: var(--shadow-lift);
}

/* Side-by-side on small screens: the media stretches to the card height
   rather than reserving a square, which leaves no dead white space. */
.category-media {
  position: relative;
  min-height: 0;
  background: var(--white);
  overflow: hidden;
}
.category-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: center bottom;
}

.category-body { align-self: center; padding: 20px 22px 20px 6px; }
.category-body h3 { font-size: clamp(22px, 5vw, 30px); }
.category-body p { margin-top: 6px; color: var(--ink-2); font-size: 14px; }

.category-link {
  display: inline-block;
  margin-top: 14px;
  padding-bottom: 3px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}
.category-card:hover .category-link { border-color: var(--accent); color: var(--accent); }

/* ---------- Catalogue ---------- */

.categories-heading { grid-column: 1 / -1; margin-bottom: 8px; }

/* Reference brand section: live copy, original feature diagram, no screenshot UI. */
.brand-features { background: #f1f0eb; padding-block: clamp(32px, 5vw, 72px); margin-bottom: clamp(48px, 6vw, 80px); }
.brand-features-inner { display: grid; gap: 32px; align-items: center; }
.brand-features-copy { min-width: 0; }
.brand-features-copy h2 { color: #1649a8; font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; font-style: italic; text-transform: uppercase; line-height: 1.2; letter-spacing: .025em; margin-bottom: 22px; }
.brand-features-copy p { font-size: clamp(17px, 1.6vw, 22px); line-height: 1.7; }
.brand-features-image { display: block; width: 100%; height: auto; max-width: 640px; margin-inline: auto; }
.brand-features-mobile { display: none; }
@media (max-width: 699px) {
  .brand-features-inner { gap: 24px; }
  .brand-features-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
  }
  .brand-features-mobile {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .brand-features-mobile li {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 48px;
    gap: 10px;
    border-top: 1px solid #cbd5e3;
    color: #183f80;
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 500;
    line-height: 1.35;
  }
  .brand-features-mobile li::before {
    content: '';
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1649a8;
  }
}
@media (min-width: 900px) {
  .brand-features-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
  .brand-features-image { grid-column: 1; grid-row: 1; }
  .brand-features-copy { grid-column: 2; grid-row: 1; }
}
[dir="rtl"] .brand-features-copy h2 { font-style: normal; letter-spacing: 0; }

.catalogue { padding-bottom: 64px; }

.section-head { margin-bottom: 22px; }
.section-head h2 { font-size: clamp(24px, 6vw, 34px); }
.section-note { margin-top: 8px; color: var(--ink-2); font-size: 14px; }

.toolbar {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 14px;
  width: 18px; height: 18px;
  color: var(--ink-2);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 0 44px;
  font: inherit;
  /* Must stay at 16px or larger: iOS Safari zooms the whole page in when a
     smaller field takes focus, and never zooms back out. */
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  appearance: none;
}
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input::placeholder { color: #949494; }
.search-field input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}
.search-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.search-clear {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  color: var(--ink-2);
}
.search-clear svg { width: 16px; height: 16px; }
.search-clear:hover { color: var(--ink); background: var(--bg); }

.filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-group:empty { display: none; }

/* Stacked on narrow screens, the two groups need a visible break. */
@media (max-width: 639px) {
  #typeFilters {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
}

.chip {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  transition: color .16s var(--ease), background-color .16s var(--ease),
              border-color .16s var(--ease);
}
/* Excluding the pressed chip matters: :hover is the more specific selector, so
   without it a selected chip's white label would flip to dark-on-dark. */
.chip:not([disabled]):not([aria-pressed="true"]):hover {
  color: var(--ink);
  border-color: #d0d0cc;
}
.chip[disabled] { opacity: .4; cursor: default; }
.chip[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}
.chip .chip-count { margin-inline-start: 6px; opacity: .6; font-variant-numeric: tabular-nums; }

.result-count {
  margin: 18px 0 14px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ---------- Product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.product-card:hover {
  border-color: #d6d6d2;
  box-shadow: var(--shadow-card);
}

/* Image + copy open details; the cart action is a separate sibling button. */
.card-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding: 0;
  text-align: left;
}

/* A shared square frame keeps mixed portrait and square artwork aligned.
   White space preserves each original image without cropping or grey bands. */
.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--white);
}
/* No padding: the artwork is scaled to the full box so it reads as large as
   possible. object-fit stays "contain", so nothing is ever cropped. */
.product-image-wrapper img,
.product-image-wrapper .no-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #a5a5a1;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  padding: 12px 12px 4px;
}

/* The product name is the heading; the model code is muted support text. */
.card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 2.6em;
  letter-spacing: -0.01em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  font-size: 12px;
  min-height: 1.6em;
  color: var(--ink-2);
}

.card-sub {
  font-size: 11px;
  min-height: 3.2em;
  color: var(--ink-2);
}

.card-prices { margin-top: 10px; font-size: 13px; }
.card-prices span { color: var(--ink-2); }
.card-prices b { font-weight: 600; color: var(--ink); }

.empty-state,
.load-error {
  padding: 48px 20px;
  text-align: center;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.empty-title {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.load-error p + p { margin-top: 8px; }
.load-error code {
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 13px;
}

/* ---------- Promo ---------- */

.promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid var(--accent);
}

/* The only genuine lifestyle photograph in the source catalogue, so this is
   the one place object-fit: cover is right. */
.promo-media {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
}
.promo-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.promo-inner { padding: 52px 24px 58px; }
.promo h2 { margin: 14px 0 16px; font-size: clamp(26px, 6.4vw, 40px); }
.promo-lede {
  max-width: 46ch;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, .72);
}

/* ---------- About ---------- */

.about { padding: 64px 20px 72px; }
.about-grid { display: grid; gap: 32px; }
.about h2 { font-size: clamp(22px, 5vw, 30px); margin-bottom: 14px; }
.about p { color: var(--ink-2); max-width: 60ch; }
.about-notes h3 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.about-notes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}
.about-notes li {
  padding: 14px 0;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}

/* ---------- Footer ---------- */

/* The footer sits on the page tint rather than white, so the catalogue has a
   clear visual end instead of fading out. Mobile-first: one column, then four. */
/* White, not the page tint: the About section above sits on the tint, so a
   tinted footer merged with it into one continuous empty band. The colour
   change is what separates them -- no top margin is needed, and adding one
   only stacked with the section's own padding. */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  padding-top: 40px;
  padding-bottom: 36px;
}
.footer-brand { grid-column: 1 / -1; }
.footer-col:last-child { grid-column: 1 / -1; }
.footer-col:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-col:last-child .footer-note { max-width: none; }
.footer-logo { max-height: 40px; }   /* not constrained by the navbar height */
.footer-logo-link { display: inline-block; }
.footer-tagline {
  margin: 14px 0 0;
  max-width: 40ch;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* Column headings: small, spaced capitals read as labels, not as content. */
.footer-heading {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}
.footer-col a {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  transition: color .16s var(--ease);
}
.footer-col a:hover { color: var(--ink); }
.footer-note {
  margin: 18px 0 0;
  max-width: 30ch;
  font-size: 12px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Social: 40px targets meet the touch minimum without shouting. */
.footer-social {
  display: flex;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink-2);
  transition: color .16s var(--ease), border-color .16s var(--ease);
}
.footer-social svg { width: 19px; height: 19px; }
.footer-social a:hover { color: var(--ink); border-color: #cfcfcb; }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-bottom p { margin: 0; font-size: 12px; color: var(--ink-2); }

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, .5);
  animation: fade .18s var(--ease);
  touch-action: none;   /* dragging the backdrop must not scroll the page behind */
}

.modal-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 92vh;
  max-height: 92dvh;
  background: var(--white);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  animation: slide-up .22s var(--ease);
}

.modal-close {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--ink);
}
.modal-close svg { width: 18px; height: 18px; }
.modal-close:hover { background: var(--bg); }

.modal-body {
  display: grid;
  gap: 0;
  overflow-y: auto;
  overscroll-behavior: contain;   /* scrolling to the end must not chain to the page */
  -webkit-overflow-scrolling: touch;
}

.modal-gallery { padding: 20px 20px 0; background: var(--white); }

.modal-figure {
  position: relative;
  margin: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.modal-figure img,
.modal-figure .no-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.modal-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.modal-thumb {
  width: 62px; height: 62px;
  padding: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.modal-thumb img { width: 100%; height: 100%; object-fit: contain; }
.modal-thumb[aria-pressed="true"] { border-color: var(--ink); }

/* Bottom sheet sits flush with the screen edge, so the last row of the sheet
   has to clear the iPhone home indicator. */
.modal-info { padding: 22px 20px calc(30px + env(safe-area-inset-bottom, 0px)); }
.modal-info h2 {
  font-size: clamp(22px, 5.4vw, 30px);
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.modal-desc { margin-top: 14px; color: var(--ink-2); }

/* Full-width on mobile, per the ordering flow being WhatsApp-only. */
.modal-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: #128C63;
  border-radius: var(--radius);
  transition: background-color .18s var(--ease);
}
.modal-wa:hover { background: #0E7351; }

.modal-back {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}
.modal-back:hover { color: var(--ink); border-color: var(--ink); }

.spec-list {
  margin: 22px 0 0;
  border-top: 1px solid var(--border);
}
.spec-row {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.spec-row dt {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-top: 3px;
}
.spec-row dd { margin: 0; }

.color-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
/* Colourways are selectable: the chosen one is named in the WhatsApp enquiry. */
.color-chip {
  min-height: 34px;
  padding: 4px 12px;
  font-size: 12px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color .16s var(--ease), background-color .16s var(--ease);
}
.color-chip:hover { border-color: #cfcfcb; }
.color-chip[aria-pressed="true"] {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.selection-notice { margin-top: 16px; font-size: 13px; color: var(--ink-2); }
.product-size { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 5px; color: var(--ink); background: white; font: inherit; }



.hq-flag {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-2);
}

@keyframes fade { from { opacity: 0; } }
@keyframes slide-up {
  from { transform: translateY(24px); opacity: 0; }
}

body.modal-open,
body.menu-open { overflow: hidden; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */

/* Two narrow columns leave little room for the label, so it shrinks rather
   than wrapping onto a second line and making every card taller. */
@media (max-width: 429px) {
  .card-body { padding: 11px 10px 4px; }
}

@media (min-width: 480px) {
  :root { --pad: 24px; }
  .category-card { min-height: 220px; }
  .product-grid { gap: 16px; }
}

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .category-media { aspect-ratio: 4 / 3; }
  .category-media img { padding: 0; }
  .category-body { align-self: stretch; padding: 20px 24px 26px; }
  .toolbar { padding: 18px; }
}

@media (min-width: 768px) {
  /* Tablet: brand and all three lists share one row, so nothing spans dead space. */
  .footer-inner {
    grid-template-columns: 1.35fr 1fr 1fr 1.1fr;
    gap: 28px;
  }
  /* Social sits beside the logo rather than under it, so the brand block is no
     taller than the link lists and the row bottoms stay level. Flex, not grid:
     the tagline would otherwise stretch the auto tracks and push the icons out. */
  .footer-brand {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-content: flex-start;   /* pack lines to the top so the logo sits on the headings' line */
    gap: 0 18px;
  }
  .footer-logo-link { flex: 0 0 auto; order: 1; }
  .footer-social { flex: 0 0 auto; order: 2; margin: 0; }
  .footer-tagline { flex: 0 0 100%; order: 3; margin-top: 14px; }
  .footer-brand { grid-column: auto; }
  .footer-col:last-child { grid-column: auto; }
  .footer-col:last-child ul { grid-template-columns: minmax(0, 1fr); }

  body { font-size: 16px; }
  .modal { align-items: center; padding: 24px; }
  .modal-dialog {
    max-width: 960px;
    max-height: 88vh;
    border-radius: 8px;
  }
  .promo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promo-media { order: 2; aspect-ratio: auto; min-height: 380px; }
  .promo-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 40px;
  }
  .modal-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-gallery { padding: 24px; }
  .modal-info { padding: 30px 28px 34px; }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
}

@media (min-width: 1024px) {
  /* Brand block takes the wider first track; the three lists share the rest. */
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 44px;
  }
  .footer-brand { grid-column: auto; }

  :root { --pad: 32px; --header-h: 72px; }
  .menu-toggle { display: none; }
  .primary-nav { display: block; }
  .primary-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .header-inner { gap: 28px; }
  .brand-logo { max-height: 40px; }   /* desktop navbar */
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .categories { gap: 20px; padding-bottom: 72px; }
  .card-body { padding: 16px 16px 18px; }
  .promo-media { min-height: 460px; }
  .promo-inner { padding: 88px 64px 92px; }
  /* The band is full-bleed but the copy still lines up with the page grid:
     the text column is exactly half the section, so 200% is the body width. */
  .promo-inner { padding-inline-start: max(64px, calc((200% - var(--container)) / 2 + var(--pad))); }
  .promo-inner > * { max-width: 30rem; }
  .about { padding: 80px 32px 88px; }
}

/* Only put the search and the filters side by side once every chip fits on
   one row next to the field; below this they stack, which reads better than
   a ragged block of wrapped chips. */

@media (min-width: 1440px) {
  .toolbar {
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
  }
  .filter-groups { justify-content: flex-end; }
}

/* ==========================================================================
   Input modality — touch vs mouse
   ========================================================================== */

/* 44px is the minimum comfortable hit area on both iOS and Android. */
@media (pointer: coarse) {
  .chip { min-height: 44px; padding: 0 16px; }
  .modal-close { width: 44px; height: 44px; }
  .modal-thumb { width: 68px; height: 68px; }
  .search-clear { width: 38px; height: 38px; }
  .category-link { padding-bottom: 6px; }
  .footer-col a { display: inline-block; padding-block: 4px; }
}

/* Without a real pointer, :hover latches on after a tap and stays there until
   the next tap elsewhere, so the lifted states are dropped on touch screens. */
@media (hover: none) {
  .product-card:hover { border-color: var(--border); box-shadow: none; }
  .color-chip:hover { border-color: var(--border); }
  .color-chip[aria-pressed="true"]:hover { border-color: var(--ink); }
  .category-card:hover { border-color: var(--border); box-shadow: none; }
  .category-card:hover .category-link { color: inherit; border-color: var(--ink); }
  .chip:not([disabled]):not([aria-pressed="true"]):hover {
    color: var(--ink-2);
    border-color: var(--border);
  }
  .search-clear:hover { color: var(--ink-2); background: none; }
  .modal-close:hover { background: var(--white); }
  .footer-col a:hover { color: var(--ink-2); }
  .footer-social a:hover { color: var(--ink-2); border-color: var(--border); }
}

/* A phone held in landscape has no room for a bottom sheet, so the product
   detail becomes a centred two-column dialog instead. */
@media (max-height: 520px) and (orientation: landscape) {
  .modal { align-items: center; padding: 12px; }
  .modal-dialog { max-height: 94vh; max-height: 94dvh; border-radius: 8px; }
  .modal-body { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-gallery { padding: 16px; }
  .modal-info { padding: 20px 18px 24px; }
}

/* ---------- Motion / print ---------- */

/* Cart: compact navigation control and native, keyboard-accessible dialog. */
.cart-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--white); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; flex-shrink: 0; }
.cart-count { position: absolute; top: -2px; right: -2px; display: inline-flex; justify-content: center; align-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 20px; background: var(--accent); color: white; font-size: 10px; font-weight: 700; }
.cart-toggle { position: relative; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.cart-count[hidden] { display: none; }
/* The complete icon has empty square padding. Crop only that padding, retaining Qatar. */
.header-inner .header-logo { width: 90px; height: 56px; max-height: none; object-fit: cover; }
.account-toggle { border: 0; background: transparent; cursor: pointer; min-width: 44px; min-height: 44px; padding: 8px; color: var(--ink); }
.cart-dialog.account-dialog { padding: 24px; width: min(440px, calc(100% - 24px)); }
.account-dialog button:disabled { opacity: .55; cursor: not-allowed; }
.account-dialog form, .account-dialog label { display: grid; gap: 10px; }
.account-dialog form { gap: 18px; }
.account-dialog h2 { margin: 0; }
.account-dialog input, .account-dialog select { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 5px; font: inherit; }
.account-dialog p { overflow-wrap: anywhere; font-size: 14px; }
.account-dialog .account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.account-dialog [hidden] { display: none; }
.account-phone { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
.account-dialog label { font-size: 13px; font-weight: 600; }
.account-dialog input, .account-dialog select { font-weight: 400; min-width: 0; background: #fff; }
.account-dialog .account-intro { margin: 0; color: var(--ink-2); line-height: 1.6; }
.account-dialog h2 { font-size: 26px; letter-spacing: -.03em; }
.purchase-control [hidden] { display: none !important; }
.quantity-stepper { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border: 1px solid var(--border); border-radius: 6px; background: white; }
.quantity-stepper button { min-width: 44px; min-height: 46px; border: 0; background: transparent; font: inherit; font-size: 22px; cursor: pointer; }
.quantity-stepper output { font-size: 16px; font-weight: 600; }
.modal-add-control { margin-top: 18px; }
.modal-add-control .modal-add { margin-top: 0; }
.modal-info h2 { letter-spacing: -.025em; line-height: 1.2; font-weight: 600; }
.modal-desc { font-size: 15px; line-height: 1.7; }
.modal-info .spec-row dt { letter-spacing: .02em; text-transform: none; font-size: 13px; }
.modal-info .option-row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 20px 0; }
.modal-info .option-row dt { color: var(--ink); font-weight: 600; font-size: 15px; }
.modal-info .color-chip { min-height: 44px; font-size: 13px; border-radius: 6px; }
.modal-info .product-size { min-height: 48px; padding: 12px; border-radius: 6px; }
.analytics-consent { position: fixed; bottom: 12px; left: 12px; right: 12px; z-index: 150; max-width: 540px; padding: 16px; background: white; border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 4px 24px #0002; font-size: 13px; }
.analytics-consent p { margin-bottom: 10px; }
.analytics-consent button { min-height: 44px; margin-right: 8px; }
@media (min-width: 1024px) { .header-inner .header-logo { width: 102px; height: 64px; } }
.modal-add { width: 100%; margin-top: 20px; }
.cart-dialog { width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 0; margin: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--white); color: var(--ink); box-shadow: 0 24px 90px rgba(0,0,0,.22); overflow: auto; overscroll-behavior: contain; }
.cart-dialog::backdrop { background: rgba(0,0,0,.48); }
.cart-heading { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--border); background: var(--white); }
.cart-heading h2 { margin: 0; font-size: 23px; }
.cart-close { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); color: var(--ink); font-size: 28px; cursor: pointer; flex-shrink: 0; }
.cart-items { padding: 0 22px; }
.cart-item { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-image { width: 88px; height: 100px; object-fit: contain; border: 1px solid var(--border); border-radius: 6px; background: white; }
.cart-item h3 { font-size: 15px; line-height: 1.4; margin: 0 0 5px; }
.cart-model, .cart-colour { margin: 3px 0; font-size: 12px; color: var(--ink-2); overflow-wrap: anywhere; }
.cart-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 12px; }
.cart-action { min-width: 44px; min-height: 44px; padding: 5px 8px; border: 1px solid var(--border); border-radius: 5px; background: var(--white); color: var(--ink); font: inherit; cursor: pointer; }
.cart-action:disabled { opacity: .35; cursor: default; }
.cart-quantity { min-width: 25px; text-align: center; font-size: 14px; }
.cart-remove { border-color: transparent; font-size: 12px; color: var(--accent); margin-left: auto; }
.cart-empty { padding: 24px 22px; color: var(--ink-2); }
.cart-footer { padding: 20px 22px 24px; }
#cartSummary { font-weight: 600; }
.cart-note { font-size: 13px; color: var(--ink-2); margin: 8px 0 18px; }
.cart-checkout { width: 100%; background: #128c63; color: white; margin-bottom: 10px; }
.cart-checkout:hover { background: #0e7351; }
#cartContinue { width: 100%; }
body.cart-open { overflow: hidden; }
@media (max-width: 429px) {
  .cart-heading, .cart-footer { padding: 16px; }
  .cart-items { padding: 0 16px; }
  .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .cart-image { width: 64px; height: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .product-card:hover { transform: none; }
}

/* September catalogue update */
.header-inner .header-logo { width: 112px; height: 46px; object-fit: contain; }
.footer-logo { width: 130px; height: auto; object-fit: contain; }
.language-toggle { font-size: 13px; min-height: 44px; padding: 8px; white-space: nowrap; }
.hero-film { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); min-height: 430px; }
.hero-film video { width: 100%; max-height: 680px; height: 100%; object-fit: contain; background: var(--white); }
.hero-film-copy { align-self: center; padding: clamp(24px,5vw,90px); }
.hero-film-copy h2 { font-size: clamp(30px,4vw,64px); max-width: 600px; margin: 18px 0 30px; }
.featured-section { padding-top: 24px; padding-bottom: 48px; }
.best-seller-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.size-guide-table { min-width: 0; }
.size-guide-table table { width: 100%; border-collapse: collapse; margin: 16px 0; font-variant-numeric: tabular-nums; }
.size-guide-table caption { text-align: start; font-weight: 600; margin-bottom: 10px; }
.size-guide-table th, .size-guide-table td { text-align: center; border-bottom: 1px solid var(--border); padding: 8px 4px; font-size: 13px; }
.size-guide-table th { background: var(--bg); font-weight: 600; }
.size-guide-table p { font-size: 13px; margin: 10px 0; color: var(--ink-2); }
.size-guide-table a { text-decoration: underline; font-size: 13px; }
.product-card { position: relative; }
.card-prices { min-height: 24px; margin-block: 5px; font-size: 13px; }
.card-main { text-align: start; }
.card-title { overflow-wrap: anywhere; }
[dir="rtl"] .header-inner > .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .search-field input { padding-right: 42px; padding-left: 38px; }
[dir="rtl"] .search-icon { left: auto; right: 14px; }
[dir="rtl"] .search-clear { right: auto; left: 8px; }
[dir="rtl"] .modal-info, [dir="rtl"] .card-body, [dir="rtl"] .cart-item-info { text-align: right; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
[dir="rtl"] .modal-close { right: auto; left: 12px; }
@media (max-width: 1023px) { .best-seller-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 699px) {
  .hero-film { grid-template-columns: 1fr; }
  .hero-film video { height: min(110vw,540px); }
  .hero-film-copy { padding: 24px; }
  .hero-film-copy h2 { font-size: 32px; margin: 8px 0 20px; }
  .best-seller-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .featured-section { padding-top: 16px; padding-bottom: 36px; }
  .section-head { flex-wrap: wrap; gap: 12px; }
  .card-prices { font-size: 12px; }
  .header-inner { gap: 6px; }
  .header-inner .header-logo { width: 92px; height: 42px; }
  .language-toggle { padding: 6px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.hero-slides { position: absolute; inset: 0; overflow: hidden; height: 100%; min-height: 0; }
.hero-track { display: flex; direction: ltr; transition: transform .65s ease; height: 100%; background: var(--white); }
.hero-track > .hero-slide { flex: 0 0 100%; width: 100%; min-width: 0; height: 100%; }
.hero-slide:first-child { position: relative; overflow: hidden; background: #e6e1dc; }
.hero-slide picture, .hero-slide .hero-banner { display: block; width: 100%; height: 100%; }
/* Fill the viewport with the supplied artwork without stretching or blurred edges. */
.hero-slide .hero-banner { object-fit: cover; object-position: center; }
.hero-slide picture { position: relative; }
.hero-slide.hero-film { min-height: 0; }
.hero-film video { min-height: 0; max-height: 100%; }
[dir="rtl"] .hero-slide { direction: rtl; }
@media (max-width: 699px) {
  .hero-slide.hero-film { grid-template-columns: 1fr; position: relative; }
  .hero-film video { height: 100%; width: 100%; object-fit: cover; }
  .hero-film-copy { display: none; }
}
@media (min-width: 1024px) {
  .hero-slide:first-child .hero-banner { object-fit: cover; object-position: 30% center; }
}
@media (prefers-reduced-motion: reduce) { .hero-track { transition: none; } }

/* Shared shop controls and saved collection. */
:root { --control-size: 44px; --section-space: clamp(36px, 5vw, 64px); }
.header-favourites-toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: var(--control-size); height: var(--control-size); flex-shrink: 0; }
.favourites-count { position: absolute; top: 0; inset-inline-end: 0; min-width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: white; font-size: 10px; line-height: 18px; }
.mobile-menu { max-height: calc(100dvh - var(--header-h)); overflow: auto; overscroll-behavior: contain; }
.mobile-menu button { display: block; width: 100%; padding: 15px 0; font-size: 16px; text-align: start; border-bottom: 1px solid var(--border); }
.mobile-menu-count { float: inline-end; font-size: 13px; color: var(--ink-2); }
.mobile-menu li:nth-child(5) { margin-top: 12px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; }
.section-head > a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.favourites-page { padding-block: var(--section-space); min-height: 65vh; }
.favourites-page h1 { font-size: clamp(30px, 5vw, 42px); margin-top: 8px; }
.favourites-sync { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--ink-2); font-size: 13px; }
.favourites-sync button { min-height: 44px; text-decoration: underline; }
.favourites-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.favourites-empty { padding: 48px 12px 64px; text-align: center; }
.favourites-empty-icon { font-size: 52px; line-height: 1.4; }
.favourites-empty p { color: var(--ink-2); margin: 14px 0 24px; }
.favourite-button { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; transition: color .18s; }
/* A small visible heart with a comfortable invisible touch target. */
.favourite-button::before { content: ''; position: absolute; inset: 8px; border: 1px solid var(--border); border-radius: 50%; background: var(--white); transition: border-color .18s, background .18s; }
.favourite-button svg { position: relative; width: 15px; height: 15px; }
/* Embedded artwork has its logo on the left in both languages. */
.product-card > .favourite-button { position: absolute; z-index: 1; top: 2px; right: 2px; left: auto; padding: 0; min-height: 44px; }
.favourite-button:hover { color: var(--accent); }
.favourite-button:hover::before { background: #fff8f8; border-color: var(--accent); }
.favourite-button[aria-pressed="true"] svg { fill: currentColor; }
.favourite-button[aria-pressed="true"] { color: var(--accent); }
.favourite-button[aria-pressed="true"]::before { border-color: var(--accent); background: #fff5f5; }
.card-body { width: 100%; padding: 12px 12px 16px; gap: 3px; }
.card-title { font-size: 14px; line-height: 1.4; min-height: 0; }
.card-sub { min-height: 0; display: flex; flex-wrap: wrap; gap: 0 3px; }
.card-prices { font-size: 15px; font-weight: 600; line-height: 1.5; margin-top: auto; padding-top: 8px; margin-bottom: 0; color: var(--ink); direction: ltr; unicode-bidi: isolate; text-align: start; }
.card-prices.price-pending { font-size: 13px; font-weight: 400; color: var(--ink-2); }
[dir="rtl"] .card-prices { text-align: right; }
.size-guide-trigger { display: flex; width: fit-content; align-items: center; min-height: 44px; padding: 6px 0; text-align: start; font-size: 12px; line-height: 1.4; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.size-guide-trigger:hover { color: var(--ink); }
.modal-info { position: relative; }
.modal-dialog { padding-top: 60px; }
.modal-gallery, .modal-info { min-width: 0; }
.modal-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.modal-info > h2 { padding-inline-end: 42px; }
.modal-info > .favourite-button { position: absolute; top: 18px; inset-inline-end: 16px; margin: 0; }
.modal-price { font-size: 22px; font-weight: 600; margin-top: 16px; direction: ltr; unicode-bidi: isolate; }
.modal-figure video { display: block; width: 100%; height: 100%; position: absolute; inset: 0; padding: 12px; object-fit: contain; background: transparent; opacity: 0; transition: opacity .18s var(--ease); }
.modal-figure video.is-ready { opacity: 1; }
.product-video-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.product-video-action { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--ink); font-size: 13px; font-weight: 600; }
.product-video-action:hover { border-color: var(--ink); }
.product-video-volume { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink-2); font-size: 13px; }
.product-video-volume input { flex: 1; min-width: 0; height: 44px; accent-color: var(--ink); cursor: pointer; }
.product-video-volume input:disabled { cursor: not-allowed; }
.product-video-volume-help { grid-column: 1 / -1; margin: 0; color: var(--ink-2); font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .modal-figure video { transition: none; } }
.modal-thumbs { flex-wrap: nowrap; overflow-x: auto; padding: 4px 3px 8px; scroll-snap-type: x proximity; }
.modal-thumb { flex-shrink: 0; scroll-snap-align: start; }
.video-thumb { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.video-thumb span { font-size: 24px; line-height: 1; }
.video-thumb small { font-size: 10px; }
.gallery-status, .size-availability { font-size: 12px; color: var(--ink-2); margin-top: 8px; }
.product-specifications { margin-top: 20px; border-block: 1px solid var(--border); }
.product-specifications summary { min-height: 48px; padding-block: 12px; font-size: 14px; cursor: pointer; }
.product-specifications .spec-list { margin-top: 0; border-top: 0; }
.product-specifications .spec-row:last-child { border-bottom: 0; }
.size-dialog { max-width: 480px; }
.size-dialog .cart-heading h2 { font-size: 21px; }
.size-dialog-content { padding: 12px 22px 24px; }
.size-guide-table caption { display: none; }
.size-guide-table a { display: inline-flex; align-items: center; min-height: 44px; }
.size-guide-table th { color: var(--ink); }
.size-guide-table td { color: var(--ink-2); }
.modal-back { min-height: 44px; }
.cart-price, #cartSubtotal { font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 8px; }
.cart-checkout, .modal-wa { background: #0b7854; }
.shop-toast { position: fixed; z-index: 260; bottom: max(20px, env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 10px); max-width: calc(100% - 32px); width: max-content; padding: 12px 20px; background: var(--ink); color: white; border-radius: var(--radius); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
.shop-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.catalogue-loading { padding: 50px 0; color: var(--ink-2); }
.analytics-preferences { min-height: 44px; padding: 0; font-size: 12px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.load-error .btn { margin-top: 20px; }
.search-field input::placeholder { color: #707070; }
.chip { min-height: 44px; }
.chip .chip-count { opacity: .85; }
.search-clear { width: 44px; height: 44px; right: 2px; }
body.size-open, body.account-open { overflow: hidden; }
.hero-track { touch-action: pan-y; user-select: none; }
.hero-film video { pointer-events: none; }
.hero-cta .btn-ghost { background: white; border-color: white; text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 1023px) {
  .header-favourites-toggle, .header-inner > .account-toggle { display: none; }
}
@media (max-width: 429px) {
  :root { --pad: 14px; }
  .header-inner { gap: 4px; }
  .card-body { padding-inline: 10px; }
  .card-title { font-size: 13px; }
  .card-meta { font-size: 11px; }
  .size-dialog-content { padding-inline: 16px; }
  .hero-cta { gap: 8px; }
}
@media (min-width: 640px) { .favourites-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; } }
@media (min-width: 768px) {
  .modal-close { right: auto; left: 10px; }
  [dir="rtl"] .modal-close { right: 10px; left: auto; }
  .modal-info > .favourite-button { top: 24px; inset-inline-end: 20px; }
  .modal-body { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 1024px) {
  .header-inner { gap: 16px; }
  .primary-nav ul { gap: 24px; }
  .favourites-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
  .card-body { padding: 14px 16px 18px; }
}

@media (max-height: 520px) {
  .hero-film-copy { padding: 16px; }
  .hero-film-copy h2 { font-size: clamp(24px, 4vw, 40px); margin: 8px 0 16px; }
}
