/* =====================================================================
   Public website styles — PrathamArtExports.
   Brand colours from the PA logo: indigo (--brand, from Settings),
   red (--accent: CTAs, badges, underlines) and lime green (--green:
   decorative lines on indigo; --accent-light for text on dark bands).
   Type: Archivo (wide cut for headings) — sturdy, catalogue-like.
   Contrast (WCAG): white on --brand 10.6:1, white on --navy 16.6:1,
   white on --accent 4.9:1, --accent-ink on white 6.0:1,
   --accent-light on --brand-deep 8.5:1, white on --wa 5.4:1.
   ===================================================================== */
:root {
  --brand: #3A2B98;                /* logo indigo */
  --brand-dark: color-mix(in srgb, var(--brand) 78%, #000);
  --brand-deep: #221A63;          /* footer / dark bands */
  --brand-tint: color-mix(in srgb, var(--brand) 8%, #fff);
  --navy: #1B1450;                 /* top bar */
  --ink: #1a1a2e;
  --ink-2: #4b5266;
  --ink-3: #677280;
  --line: #e2e0ee;
  --paper: #f5f4fb;
  --surface: #ffffff;
  --accent: #D92A1B;              /* logo red: CTA, badges, underlines */
  --accent-dark: #B71F12;         /* red hover */
  --accent-on: #ffffff;           /* text on red */
  --accent-ink: #C0231A;          /* red text on white */
  --accent-light: #9BD34A;        /* logo green: text/icons on dark indigo */
  --accent-tint: #FDEDEB;
  --green: #8AC832;                /* logo green: decorative lines only */
  --wa: #197a43;
  --wa-dark: #135f34;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --r-s: 6px;
  --r-m: 12px;
  --wrap: 1240px;
  --focus: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--surface); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { font-stretch: 112%; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 650; font-size: 15px; line-height: 1.2;
  padding: 12px 20px; border-radius: var(--r-s); border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-on); }
.btn-accent:hover { background: var(--accent-dark); color: var(--accent-on); }
.btn-accent:focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 45%, transparent); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin: 0 0 8px; }
.badge { display: inline-block; background: var(--accent); color: var(--accent-on); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.btn-lg { padding: 15px 24px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topline { background: var(--navy); color: #d5dcea; font-size: 13px; }
.topline .wrap { display: flex; gap: 6px 20px; align-items: center; min-height: 36px; flex-wrap: wrap; }
.topline a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topline a:hover { color: var(--accent-light); }
.topline svg { width: 14px; height: 14px; flex: none; }
.topline-note { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topline-note svg { color: var(--accent-light); }
.topline .push { margin-left: auto; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.header-main { display: flex; align-items: center; gap: 24px; min-height: 72px; position: relative; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); flex: 0 1 auto; min-width: 0; }
.logo:hover { color: var(--brand); }
.logo img { max-height: 44px; width: auto; }
.logo .logo-mark { height: 40px; width: auto; }
.logo-name { font-weight: 800; font-stretch: 115%; font-size: 21px; letter-spacing: -.01em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header-search { flex: 1; max-width: 480px; display: flex; margin-left: auto; }
.header-search input {
  flex: 1; min-width: 0; font: inherit; font-size: 15px; padding: 10px 14px;
  border: 1.5px solid var(--line); border-right: 0; border-radius: var(--r-s) 0 0 var(--r-s); background: var(--paper);
}
.header-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.header-search button { border: 0; background: var(--brand); color: #fff; padding: 0 16px; border-radius: 0 var(--r-s) var(--r-s) 0; cursor: pointer; }
.header-search button:hover { background: var(--brand-dark); }
.header-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.header-actions .btn { padding: 11px 18px; }
.nav-toggle { display: none; background: #fff; color: var(--brand); border: 1.5px solid var(--line); border-radius: var(--r-s); width: 44px; height: 44px; cursor: pointer; padding: 0; }
.nav-toggle .i-close, .nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---------- Main nav: categories with dropdown / mega panels ---------- */
.catnav { background: var(--brand); color: #fff; }
.catnav > .wrap { position: relative; }            /* mega panels span the nav width */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; }
.nav-item { position: relative; }
.nav-item.is-mega { position: static; }
.nav-row { display: flex; align-items: center; height: 100%; }
.nav-link { display: block; padding: 13px 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; position: relative; white-space: nowrap; }
.has-panel .nav-link { padding-right: 2px; }
.nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.has-panel .nav-link::after { right: 2px; }
.nav-link:hover, .nav-link[aria-current], .nav-link[data-current] { color: #fff; }
.nav-link:hover::after, .nav-link[aria-current]::after, .nav-link[data-current]::after, .nav-item.is-open > .nav-row .nav-link::after { transform: scaleX(1); }
.catnav :focus-visible { box-shadow: 0 0 0 3px var(--accent-light); border-radius: 4px; }
.catnav .nav-panel :focus-visible { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 55%, transparent); }
.nav-caret { display: grid; place-items: center; width: 26px; height: 32px; margin-right: 6px; padding: 0; border: 0; background: none; color: color-mix(in srgb, #fff 80%, var(--brand)); cursor: pointer; border-radius: 4px; }
.nav-caret svg { transition: transform .18s; }
.nav-caret:hover { color: var(--accent-light); }
.nav-caret[aria-expanded="true"] { color: var(--accent-light); }
.nav-caret[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-panel {
  display: none; position: absolute; left: 0; top: 100%; z-index: 50; min-width: 250px; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--r-m) var(--r-m); box-shadow: 0 22px 40px -20px rgba(26,22,48,.45);
}
.nav-item.align-right > .nav-panel { left: auto; right: 0; }
.is-mega > .nav-panel { left: 0; right: 0; min-width: 0; }
.nav-item.is-open > .nav-panel { display: block; }
@media (hover: hover) and (min-width: 961px) {
  .nav-item.has-panel:not(.is-suppressed):hover > .nav-panel { display: block; }
  .nav-item.has-panel:not(.is-suppressed):hover > .nav-row .nav-link::after { transform: scaleX(1); }
}
.panel-inner { padding: 10px; }
.is-mega .panel-inner { padding: 20px 24px 18px; }
.panel-title { margin: 0 0 8px 10px; }
.panel-list, .panel-sub { list-style: none; margin: 0; padding: 0; }
.panel-list.cols { columns: 4 190px; column-gap: 20px; }
.panel-list > li { break-inside: avoid; }
.panel-list a { display: block; padding: 8px 12px; border-radius: var(--r-s); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.panel-sub a { font-weight: 500; font-size: 14px; color: var(--ink-2); padding: 5px 12px 5px 24px; }
.panel-list a:hover, .panel-list a[aria-current] { background: var(--brand-tint); color: var(--brand); }
.panel-all { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 10px 12px 6px; border-top: 1px solid var(--line); font-weight: 700; font-size: 14px; color: var(--accent-ink); text-decoration: none; }
.panel-all:hover { color: var(--brand); text-decoration: underline; }
.is-mega .panel-all { margin-top: 12px; padding-top: 12px; }
.catnav .mobile-only { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: 14px; color: var(--ink-3); padding: 16px 0 6px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; background: var(--accent); border-radius: 2px; }
.section-head a { font-weight: 600; text-decoration: none; }

/* Home hero: text left, image right, full brand band */
.hero { background: var(--brand); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 440px; }
.hero h1 { font-size: clamp(32px, 5vw, 58px); color: #fff; margin-bottom: 18px; max-width: 14ch; }
.hero p { font-size: 18px; color: color-mix(in srgb, #fff 82%, var(--brand)); max-width: 46ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .btn-primary { background: #fff; color: var(--brand-dark); }
.hero .btn-primary:hover { background: var(--accent-tint); }
.hero-media { align-self: stretch; position: relative; min-height: 320px; }
.hero-media img { position: absolute; inset: 24px 0 24px 0; width: 100%; height: calc(100% - 48px); object-fit: cover; border-radius: var(--r-m); }
.hero-media.empty { background: repeating-linear-gradient(135deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); border-radius: var(--r-m); margin: 24px 0; }
/* Home hero: copy + key figures on the left, gallery album covers on the right */
.hero-home { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%); position: relative; }
.hero-home::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--accent) 0 33%, var(--green) 33% 100%); }
.hero-home .wrap { padding: 48px 0 56px; min-height: 0; }
.hero-kicker { font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light) !important; margin: 0 0 14px; }
.hero-home h1 { max-width: 17ch; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.hero-home .hero-text { margin: 0; }
.btn-ghost { background: transparent; color: #fff; border-color: color-mix(in srgb, #fff 45%, transparent); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 34px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hero-stats > div { display: flex; flex-direction: column-reverse; padding: 16px 14px 0 0; }
.hero-stats > div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-stats dd { margin: 0; font-size: 24px; font-weight: 800; color: #fff; line-height: 1.15; font-stretch: 112%; }
.hero-stats dt { font-size: 13px; color: #d9d5f2; margin-top: 4px; }
.hero-collage { display: grid; grid-template-columns: 1.55fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 460px; }
.hero-collage a { position: relative; border-radius: var(--r-m); overflow: hidden; display: block; background: var(--brand-deep); }
.hero-collage .hc0 { grid-row: 1 / 3; }
.hero-collage.n1 { grid-template-columns: 1fr; } .hero-collage.n1 .hc0 { grid-row: 1 / 3; }
.hero-collage.n2 .hc1 { grid-row: 1 / 3; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-collage a:hover img { transform: scale(1.04); }
.hero-collage span { position: absolute; left: 10px; bottom: 10px; background: rgba(27,20,80,.82); color: #fff; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.usps-bar { background: #fff; border-bottom: 1px solid var(--line); }
.usps-bar .usps { border-bottom: 0; }
.text-link { font-weight: 700; text-decoration: none; }
/* Home: own units + gallery strip */
.factory-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; margin-bottom: 40px; }
.factory-intro { font-size: 17px; color: var(--ink-2); }
.cap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cap-list li { border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-s); padding: 14px 16px; }
.cap-list strong { display: block; font-size: 16px; }
.cap-list span { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
/* Home: how to order */
.order-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: os; }
.order-steps li { counter-increment: os; background: #fff; border-radius: var(--r-m); padding: 22px 20px; position: relative; border: 1px solid var(--line); }
.order-steps li::before { content: counter(os, decimal-leading-zero); display: block; font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1; margin-bottom: 12px; font-stretch: 112%; }
.order-steps strong { display: block; font-size: 17px; margin-bottom: 6px; }
.order-steps span { display: block; font-size: 15px; color: var(--ink-2); }
/* Home: markets band */
.markets { background: var(--brand-deep); color: #fff; padding: 56px 0; }
.markets-head { display: flex; justify-content: space-between; gap: 12px 40px; align-items: end; flex-wrap: wrap; margin-bottom: 28px; }
.markets-head h2 { color: #fff; margin: 0; }
.markets-head h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 10px; background: var(--green); border-radius: 2px; }
.markets-head p { margin: 0; color: #d9d5f2; max-width: 52ch; }
.market-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.market-list li { border-top: 1px solid rgba(255,255,255,.18); padding: 14px 0 16px; }
.market-list strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 4px; }
.market-list span { font-size: 15px; color: #fff; }
.cta-band-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 960px) {
  .hero-home .wrap { padding: 36px 0 32px; gap: 28px; }
  .hero-collage { height: 320px; }
  .factory-grid { grid-template-columns: 1fr; gap: 24px; }
  .order-steps, .market-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero-stats > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); margin-top: 14px; }
  .hero-stats dd { font-size: 20px; }
  .hero-home .cta .btn { flex: 1 1 auto; justify-content: center; }
  .hero-collage { height: 260px; gap: 8px; }
  .hero-collage span { font-size: 12px; left: 6px; bottom: 6px; padding: 3px 8px; }
  .cap-list, .order-steps, .market-list { grid-template-columns: 1fr; }
  .usps-bar .usps { grid-template-columns: 1fr 1fr; }
  .usps-bar .usps div { padding: 12px 8px; font-size: 14px; border-right: 0; align-items: start; }
  .usps-bar .usps svg { width: 18px; height: 18px; margin-top: 2px; }
  .markets { padding: 40px 0; }
}

.usps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-bottom: 1px solid var(--line); }
.usps div { padding: 18px 20px; font-weight: 600; display: flex; gap: 10px; align-items: center; border-right: 1px solid var(--line); }
.usps div:last-child { border-right: 0; }
.usps svg { width: 22px; height: 22px; color: var(--brand); flex: none; }

/* Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: #fff; }
.cat-tile img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--paper); }
.cat-tile span { padding: 12px 14px; font-weight: 700; display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cat-tile small { color: var(--ink-3); font-weight: 500; }
.cat-tile:hover { border-color: var(--brand); color: var(--ink); }

/* Product grid & card */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card .img { position: relative; border-radius: var(--r-m); overflow: hidden; background: #fff; aspect-ratio: var(--img-ratio, 3 / 4); border: 1px solid var(--line); }
.card .img img { width: 100%; height: 100%; object-fit: var(--img-fit, contain); transition: transform .3s; }
.card:hover .img img { transform: scale(1.03); }
.card .tag { position: absolute; left: 10px; top: 10px; background: var(--accent); color: var(--accent-on); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.card .name { font-weight: 650; margin: 12px 0 4px; line-height: 1.3; }
.card:hover .name { color: var(--brand); }
.card .price { font-weight: 700; }
.card .price small { font-weight: 500; color: var(--ink-3); }
.card .por { color: var(--ink-2); font-weight: 600; font-size: 14px; }
.card .moq { font-size: 13px; color: var(--ink-3); }

/* Listing pages */
.listing-head { display: grid; gap: 8px; padding: 6px 0 20px; }
.listing-head p { color: var(--ink-2); max-width: 70ch; margin: 0; }
.listing-banner { border-radius: var(--r-m); overflow: hidden; margin: 8px 0 20px; max-height: 280px; }
.listing-banner img { width: 100%; height: 280px; object-fit: cover; }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.toolbar .count { color: var(--ink-3); font-size: 14px; margin-right: auto; }
.toolbar select { font: inherit; font-size: 14px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: var(--r-s); background: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 600; background: #fff; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; align-items: center; }
.pager a, .pager span { padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.seo-text { max-width: 80ch; color: var(--ink-2); margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: var(--r-m); }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 40px; }
.gallery { position: sticky; top: 140px; }
.gallery .stage { border-radius: var(--r-m); overflow: hidden; background: #fff; border: 1px solid var(--line); aspect-ratio: var(--img-ratio, 3 / 4); max-height: calc(100vh - 170px); display: grid; place-items: center; position: relative; }
.gallery .stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; cursor: zoom-in; }
.gallery .stage img { transition: transform .15s ease-out; }
.gallery .stage img.zooming { transform: scale(2); }
/* Full-screen photo viewer (product page) */
html.pz-open { overflow: hidden; }
.pz { position: fixed; inset: 0; z-index: 9999; background: rgba(12, 10, 30, .97); }
.pz-frame { position: absolute; inset: 0 0 52px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.pz-frame img { max-width: calc(100% - 120px); max-height: calc(100% - 32px); object-fit: contain; cursor: zoom-in; user-select: none; -webkit-user-drag: none; border-radius: 4px; background: #fff; }
.pz.zoomed .pz-frame { overflow: auto; display: block; -webkit-overflow-scrolling: touch; }
.pz.zoomed .pz-frame img { max-width: none; max-height: none; width: 250%; height: auto; cursor: zoom-out; border-radius: 0; }
@media (min-aspect-ratio: 1/1) { .pz.zoomed .pz-frame img { width: auto; height: 250%; } }
.pz-close, .pz-prev, .pz-next { position: absolute; z-index: 2; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 50%; }
.pz-close { top: 14px; right: 14px; width: 46px; height: 46px; font-size: 32px; line-height: 1; }
.pz-prev, .pz-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 40px; line-height: 1; padding-bottom: 4px; }
.pz-prev { left: 14px; } .pz-next { right: 14px; }
.pz-close:hover, .pz-prev:hover, .pz-next:hover { background: rgba(255,255,255,.28); }
.pz-close:focus-visible, .pz-prev:focus-visible, .pz-next:focus-visible { outline: 3px solid var(--accent-light); }
.pz.zoomed .pz-prev, .pz.zoomed .pz-next { display: none; }
.pz-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; background: #0c0a1e; display: flex; gap: 18px; align-items: center; justify-content: center; color: #e4e1f5; font-size: 14px; }
.pz-count { font-weight: 700; }
@media (max-width: 600px) {
  .pz-frame img { max-width: 100%; max-height: 100%; border-radius: 0; }
  .pz-prev, .pz-next { width: 40px; height: 40px; font-size: 30px; background: rgba(0,0,0,.35); }
  .pz-prev { left: 6px; } .pz-next { right: 6px; }
}

.gallery .stage iframe, .gallery .stage video { width: 100%; height: 100%; border: 0; background: #000; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 76px; height: auto; aspect-ratio: var(--img-ratio, 3 / 4); padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--paper); position: relative; }
.thumbs button[aria-current="true"] { border-color: var(--brand); }
.thumbs img { width: 100%; height: 100%; object-fit: var(--img-fit, contain); background: #fff; }
.thumbs .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(21,32,43,.45); color: #fff; }

.pdp-info h1 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 8px; }
.pdp-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); margin-bottom: 16px; }
.pdp-short { color: var(--ink-2); font-size: 17px; }
.price-big { font-size: 30px; font-weight: 800; font-stretch: 112%; margin: 8px 0 2px; }
.price-big small { font-size: 16px; font-weight: 500; color: var(--ink-3); font-stretch: 100%; }
.price-big s { font-size: 18px; color: var(--ink-3); font-weight: 500; margin-left: 8px; }
.por-box { background: var(--accent-tint); border-radius: var(--r-s); padding: 12px 16px; font-weight: 600; margin: 12px 0; }

/* The price ladder: quantity tiers as connected steps */
.ladder { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 18px 0 6px; border: 1.5px solid var(--line); border-radius: var(--r-m); overflow: hidden; }
.ladder .step { padding: 12px 14px; border-left: 1.5px solid var(--line); position: relative; transition: background .15s; }
.ladder .step:first-child { border-left: 0; }
.ladder .step .qty { font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ladder .step .amt { font-size: 22px; font-weight: 800; font-stretch: 112%; }
.ladder .step .amt small { font-size: 13px; font-weight: 500; color: var(--ink-3); font-stretch: 100%; }
.ladder .step.on { background: var(--accent-tint); }
.ladder .step.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.ladder-note { font-size: 13px; color: var(--ink-3); }

.options { margin: 20px 0; display: grid; gap: 14px; }
.options .label { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.options .label span { font-weight: 500; color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button {
  font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: var(--r-s);
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.swatches button:hover { border-color: var(--ink); }
.swatches button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }
.swatches button[disabled] { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.swatches button.has-photo { padding-left: 4px; }
.swatches .sw-photo { width: 32px; height: 40px; object-fit: cover; object-position: top; border-radius: 4px; flex: none; }
.swatches .dot { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.qty-row { display: flex; gap: 10px; align-items: center; margin: 6px 0 16px; flex-wrap: wrap; }
.qty-row label { font-weight: 700; font-size: 14px; }
.qty-row input { width: 120px; font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-s); }
.qty-row .estimate { font-size: 14px; color: var(--ink-2); }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 8px 0 18px; }
.features { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; }
.features li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 3px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F2A52' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); padding-top: 14px; border-top: 1px solid var(--line); }

/* Spec sheet: grouped key attributes */
.specsheet { border: 1.5px solid var(--ink); border-radius: var(--r-m); overflow: hidden; }
.specsheet h3 { margin: 0; padding: 12px 18px; background: var(--ink); color: #fff; font-size: 15px; font-stretch: 112%; }
.specsheet table { width: 100%; border-collapse: collapse; }
.specsheet th, .specsheet td { text-align: left; padding: 11px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.specsheet th { width: 38%; color: var(--ink-2); font-weight: 600; background: var(--paper); }
.specsheet tr:last-child th, .specsheet tr:last-child td { border-bottom: 0; }
.specsheet .group + .group h3 { border-top: 1.5px solid var(--ink); }
.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding: 40px 0 16px; border-top: 1px solid var(--line); }
.prose { max-width: 75ch; }
.prose img { border-radius: var(--r-s); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose h2 { font-size: 22px; margin-top: 1.4em; }
.prose h3 { margin-top: 1.2em; }
.prose iframe { max-width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r-s); }

/* ---------- Forms & dialog ---------- */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 14px; font-weight: 650; margin-bottom: 5px; }
.form .wants { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.form .wants legend { font-size: 14px; font-weight: 650; padding: 0; margin-bottom: 6px; float: left; width: 100%; }
.form .check { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; margin: 0; cursor: pointer; }
.form .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--brand); }
.form select:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1.5px solid #cfd6d1; border-radius: var(--r-s); background: #fff; color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.form .err { color: #b3261e; font-size: 13px; margin-top: 4px; }
.form .invalid { border-color: #b3261e; }
.form .hp { position: absolute; left: -5000px; }
.form .fine { font-size: 13px; color: var(--ink-3); margin: 0; }
dialog.enquiry { border: 0; border-radius: var(--r-m); padding: 0; width: min(560px, 100% - 24px); max-height: calc(100vh - 24px); box-shadow: 0 30px 80px -20px rgba(0,0,0,.4); }
dialog.enquiry::backdrop { background: rgba(21,32,43,.55); }
dialog.enquiry .dhead { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: start; }
dialog.enquiry .dhead h2 { font-size: 20px; margin: 0; }
dialog.enquiry .dhead p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
dialog.enquiry .close { margin-left: auto; background: none; border: 0; font-size: 28px; line-height: 1; cursor: pointer; color: var(--ink-3); padding: 0 4px; }
dialog.enquiry form { padding: 18px 22px 22px; }

/* ---------- Contact / pages ---------- */
.page-wrap { padding: 8px 0 64px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--paper); border-radius: var(--r-m); padding: 24px; display: grid; gap: 14px; }
.contact-card .item strong { display: block; font-size: 14px; color: var(--ink-3); font-weight: 600; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--r-m); margin-top: 18px; }

/* Layout blocks for CMS pages (About, Shipping, Contact). Written as plain HTML with these classes,
   so the text stays editable in Admin → Pages. */
.prose.rich { max-width: none; }
.prose.rich > p, .prose.rich > ul:not([class]), .prose.rich > ol:not([class]) { max-width: 75ch; }
.prose .pa-lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; margin-top: 0; }
.prose.rich h2 { font-size: 26px; margin: 2.2em 0 .7em; }
.prose .pa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: color-mix(in srgb, #fff 14%, var(--brand-deep)); border-radius: var(--r-m); overflow: hidden; margin: 28px 0 8px; }
.prose .pa-stats > div { background: var(--brand-deep); color: #fff; padding: 22px 22px 20px; }
.prose .pa-stats strong { display: block; font-size: 28px; line-height: 1.15; font-weight: 800; color: var(--accent-light); font-stretch: 112%; }
.prose .pa-stats span { display: block; font-size: 14px; color: #e4e1f5; margin-top: 4px; }
.prose .pa-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.prose .pa-cards > div { border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: var(--r-s); padding: 18px 18px 6px; background: #fff; }
.prose .pa-cards h3, .prose .pa-split h3, .prose .pa-regions h3 { margin: 0 0 6px; font-size: 17px; }
.prose .pa-cards p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.prose .pa-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prose .pa-split > div { background: var(--paper); border-radius: var(--r-m); padding: 22px 24px 10px; }
.prose .pa-split p, .prose .pa-split ul { margin: 0 0 12px; }
.prose .pa-split li { margin-bottom: 6px; }
.prose .pa-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.prose .pa-steps li { counter-increment: step; position: relative; padding: 58px 18px 18px; border: 1px solid var(--line); border-radius: var(--r-m); font-size: 15px; color: var(--ink-2); }
.prose .pa-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.prose .pa-steps li:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: 58px; right: -17px; height: 2px; background: var(--green); }
.prose .pa-steps strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 6px; line-height: 1.35; }
.prose table.pa-terms { display: table; max-width: 900px; font-size: 15px; }
.prose .pa-terms th { background: var(--paper); }
.prose .pa-terms td:first-child { white-space: nowrap; width: 1%; padding-right: 18px; }
.prose .pa-terms td:first-child strong { display: inline-block; min-width: 3.2em; color: var(--brand); }
.prose .pa-checks { list-style: none; padding: 0; max-width: 75ch; }
.prose .pa-checks li { position: relative; padding-left: 30px; margin-bottom: 8px; }
.prose .pa-checks li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.prose .pa-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0 28px; }
.prose .pa-regions > div { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.prose .pa-regions h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-ink); }
.prose .pa-regions p { margin: 0 0 10px; font-size: 15px; }
.page-cta { margin-top: 56px; background: var(--brand); color: #fff; border-radius: var(--r-m); padding: 30px 32px; display: grid; grid-template-columns: 1fr auto; gap: 14px 32px; align-items: center; border-bottom: 4px solid var(--green); }
.page-cta h2 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.page-cta p { margin: 0; color: #e4e1f5; max-width: 60ch; }
.page-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.page-cta-links { grid-column: 1 / -1; display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.page-cta-links a { color: #fff; text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.contact-intro .pa-lead { font-size: 18px; }
.contact-intro h2 { font-size: 18px; margin: 1.2em 0 .5em; }
.contact-card .btn svg { width: 18px; height: 18px; }
@media (max-width: 960px) {
  .prose .pa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose .pa-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose .pa-steps li:nth-child(2n)::after { display: none; }
  .page-cta { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .prose .pa-lead { font-size: 17px; }
  .prose.rich h2 { font-size: 22px; }
  .prose .pa-stats strong { font-size: 22px; }
  .prose .pa-stats > div { padding: 16px; }
  .prose .pa-split, .prose .pa-steps { grid-template-columns: 1fr; }
  .prose .pa-steps li::after { display: none; }
  .prose .pa-steps li { padding: 16px 16px 16px 62px; }
  .prose .pa-steps li::before { top: 16px; left: 16px; }
  .prose .pa-terms td:first-child { white-space: normal; width: 34%; }
  .prose .pa-terms td:first-child strong { display: block; }
  .page-cta { padding: 24px 20px; }
  .page-cta-btns .btn { flex: 1 1 auto; justify-content: center; }
}

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.quotes figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.quotes blockquote { margin: 0 0 14px; font-size: 17px; }
.quotes figcaption { font-weight: 700; font-size: 14px; }
.quotes figcaption span { font-weight: 500; color: var(--ink-3); }

.cta-band { background: var(--brand); border-bottom: 4px solid var(--green); color: #fff; border-radius: var(--r-m); padding: 36px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #e4e1f5; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-deep); color: #c8c3e0; padding: 0 0 24px; margin-top: 0; font-size: 15px; border-top: 4px solid var(--accent); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--accent-light); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.35fr; gap: 32px; padding-top: 52px; }
.site-footer h3 { color: var(--accent-light); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer p { margin: 0 0 12px; }
.footer-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 115%; font-size: 19px; margin-bottom: 14px; }
.site-footer .footer-logo:hover { text-decoration: none; color: #fff; }
.logo-chip { display: inline-grid; place-items: center; background: #fff; border-radius: 8px; padding: 5px 7px; }
.logo-chip img { max-height: 40px; width: auto; }
.export-line { color: #fff; font-weight: 600; border-left: 3px solid var(--accent); padding-left: 12px; }
.site-footer .small { font-size: 13px; }
.footer-contact li, .footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent-light); }
.footer-contact .addr { line-height: 1.5; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px !important; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
@media (min-width: 961px) { .footer-bottom { padding-right: 80px; } } /* clear the floating WhatsApp button */

/* Floating WhatsApp + mobile action bar */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
}
.wa-float:hover { background: var(--wa-dark); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap, .pdp, .pdp-body, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .pdp { gap: 24px; }
  .gallery, .pdp-info { min-width: 0; }
  .hero .wrap { min-height: 0; padding: 40px 0 0; gap: 8px; }
  .hero-media { min-height: 240px; }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
  .header-search.open { display: flex; position: absolute; left: 0; right: 0; top: 100%; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--line); max-width: none; }
  .header-main { gap: 14px; min-height: 64px; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; place-items: center; }
  /* Mobile nav: accordion under the header, scrolls on its own */
  .catnav { display: none; background: #fff; color: var(--ink); border-top: 3px solid var(--accent); }
  .catnav.open { display: block; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain; }
  .catnav > .wrap { width: 100%; }
  .nav-list { flex-direction: column; flex-wrap: nowrap; padding: 4px 0 120px; } /* room to scroll past the fixed mobile bar */
  .nav-item, .nav-item.is-mega { position: static; border-bottom: 1px solid var(--line); }
  .nav-row { justify-content: space-between; }
  .nav-link { flex: 1; color: var(--ink); padding: 14px 20px; font-size: 16px; }
  .has-panel .nav-link { padding-right: 8px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link[aria-current], .nav-link[data-current] { color: var(--brand); }
  .nav-link[aria-current], .nav-link[data-current] { box-shadow: inset 4px 0 0 var(--accent); }
  .nav-caret { width: 52px; height: 48px; margin: 0; color: var(--brand); border-left: 1px solid var(--line); border-radius: 0; }
  .nav-caret:hover, .nav-caret[aria-expanded="true"] { color: var(--accent-ink); }
  .catnav :focus-visible { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--brand) 45%, transparent); }
  .nav-panel, .is-mega > .nav-panel { position: static; border: 0; border-radius: 0; box-shadow: none; background: var(--paper); min-width: 0; }
  .panel-inner, .is-mega .panel-inner { padding: 6px 12px 10px 20px; }
  .panel-title { display: none; }
  .panel-list.cols { columns: 2 150px; column-gap: 8px; }
  .panel-list a { padding: 10px 12px; }
  .panel-sub a { padding: 7px 12px 7px 24px; }
  .catnav .mobile-only { display: block; }
  .mobile-bar {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
  }
  .mobile-bar .btn { padding: 11px 6px; font-size: 14px; }
  .wa-float { display: none; }
  body { padding-bottom: 68px; }
}
@media (max-width: 600px) {
  /* 16px stops iPhone Safari zooming into the page when a field is tapped */
  .form input, .form textarea, .form select, .header-search input, .qty-row input, .toolbar select { font-size: 16px; }
  .section { padding: 40px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form .row2 { grid-template-columns: 1fr; }
  .cta-row .btn-lg { padding: 13px 12px; font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr; }
  .ladder { grid-auto-flow: row; }
  .ladder .step { border-left: 0; border-top: 1.5px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
  .ladder .step:first-child { border-top: 0; }
  .topline .hide-sm { display: none; }
  .topline .wrap { min-height: 32px; font-size: 12.5px; gap: 12px; flex-wrap: nowrap; }
  .topline-note, .topline a { white-space: nowrap; }
  .header-actions .btn-accent, .header-actions .hide-sm { display: none; }
  .header-actions .btn-wa { padding: 0; width: 44px; height: 44px; }
  .logo-name { font-size: 17px; letter-spacing: -.02em; font-stretch: 100%; }
  .logo { gap: 8px; }
  .logo .logo-mark { height: 30px; }
}
@media (max-width: 360px) {
  .logo-name { font-size: 14.5px; }
  .logo { gap: 6px; }
  .logo .logo-mark { height: 26px; }
  .header-main { gap: 10px; }
  .topline .wrap { width: calc(100% - 24px); gap: 8px; font-size: 12px; }
  .topline-note svg { display: none; }
  .cta-band { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .wa-float, .mobile-bar, .cta-row { display: none !important; } }

/* Fixes from visual review */
.mobile-only { display: none; }
.pdp-body > section > h2:first-child { margin-top: 0; }

/* The hidden attribute must win over display rules such as .ladder { display: grid } */
[hidden] { display: none !important; }

/* Product page: enquiry + WhatsApp side by side at every width; variant photo in the enquiry dialog */
.cta-row .btn { white-space: nowrap; }
@media (max-width: 400px) { .hide-xs { display: none; } }
.enquiry .dhead { align-items: center; }
.enq-photo { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; flex: none; border: 1px solid rgba(0,0,0,.08); }

/* Product page tabs: Product description + one tab per Key attribute group.
   Without JavaScript every panel shows, each with its title. */
.pdp-tabs { padding: 36px 0 8px; border-top: 1px solid var(--line); }
.pdp-tabs .tablist { display: none; }
.pdp-tabs .tabpanel::before { content: attr(data-tab-title); display: block; font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.pdp-tabs .tabpanel + .tabpanel { margin-top: 28px; }
.pdp-tabs.tabs-ready .tablist { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1.5px solid var(--line); margin-bottom: 22px; scrollbar-width: thin; }
.pdp-tabs.tabs-ready .tabpanel::before { content: none; }
.pdp-tabs.tabs-ready .tabpanel + .tabpanel { margin-top: 0; }
.pdp-tabs.tabs-ready [data-inactive] { display: none; }
.pdp-tabs [role=tab] { flex: none; appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1.5px;
  padding: 12px 16px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.pdp-tabs [role=tab]:hover { color: var(--ink); }
.pdp-tabs [role=tab][aria-selected=true] { color: var(--brand, var(--ink)); border-bottom-color: currentColor; }
.pdp-tabs [role=tab]:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.pdp-tabs .specsheet { max-width: 820px; }
@media (max-width: 720px) { .pdp-tabs { padding-top: 24px; } .pdp-tabs [role=tab] { padding: 11px 12px; font-size: 14px; } }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 22px; }
.post-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.post-card:hover { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); box-shadow: 0 12px 28px -18px rgba(21,32,43,.35); }
.post-card .img { aspect-ratio: 16 / 9; background: var(--brand-tint); overflow: hidden; }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .img img { transform: scale(1.03); }
.post-card .body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.post-card .date { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.post-card h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.post-card:hover h3 { color: var(--brand); }
.post-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.post-card .more { margin-top: auto; padding-top: 8px; font-weight: 650; font-size: 15px; color: var(--brand); }
.post { max-width: 780px; margin: 0 auto; }
.post-head { padding: 6px 0 18px; }
.post-head h1 { margin-bottom: 10px; overflow-wrap: anywhere; }
.post-meta { color: var(--ink-3); font-size: 15px; margin: 0; }
.post-image { margin: 0 0 28px; border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.post-image img { width: 100%; }
.post .prose { max-width: none; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.post .prose img { height: auto; }
.post-share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 32px 0 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 650; }
.post-share .btn { padding: 9px 16px; font-size: 14px; }
.post-cta { margin: 32px 0 0; background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent); border-radius: var(--r-m); padding: 26px 28px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post-cta h2 { font-size: 22px; margin: 0 0 4px; }
.post-cta p { margin: 0; color: var(--ink-2); }
.post-more { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.preview-note { max-width: 780px; margin: 0 auto 16px; padding: 10px 14px; border-radius: var(--r-s); background: var(--accent-tint); color: #6b4704; font-weight: 600; font-size: 14px; }
@media (max-width: 600px) {
  .post-grid { grid-template-columns: 1fr; gap: 18px; }
  .post .prose { font-size: 16px; }
  .post-cta { padding: 20px; }
  .post-cta .btn { width: 100%; }
  .post-more { margin-top: 40px; padding-top: 28px; }
}

/* PA logo wordmark: "Art" in the logo red */
.logo-name .logo-art { color: var(--accent); }
@media (max-width: 340px) { .logo-name { font-size: 13.5px; } .logo .logo-mark { height: 24px; } }

/* ---------- Gallery (/gallery, /gallery/{slug}) ---------- */
.gal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.gal-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.gal-chips a:hover { border-color: var(--brand); color: var(--brand); }
.gal-chips a[aria-current] { background: var(--brand); border-color: var(--brand); color: #fff; }
.gal-chips .n { font-size: 12px; font-weight: 500; opacity: .75; }
.gal-grid { list-style: none; margin: 0; padding: 0; column-count: 4; column-gap: 16px; }
.gal-cell { break-inside: avoid; margin: 0 0 16px; }
.gal-cell figure { margin: 0; }
.gal-item { position: relative; display: block; border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.gal-item img, .gal-item video { width: 100%; height: auto; transition: transform .3s ease; }
.gal-item .gal-frame { aspect-ratio: 4 / 5; object-fit: cover; background: var(--brand-deep); }
.gal-item.is-youtube img { aspect-ratio: 16 / 9; object-fit: cover; background: var(--brand-deep); color: transparent; } /* hide alt text if YouTube's thumbnail fails */
.gal-item:hover img, .gal-item:hover video { transform: scale(1.03); }
.gal-item:focus-visible { box-shadow: 0 0 0 3px var(--brand); border-radius: var(--r-m); }
.gal-play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; display: grid; place-items: center; background: rgba(27,20,80,.72); color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.85); pointer-events: none; }
.gal-play svg { width: 26px; height: 26px; margin-left: 3px; }
.gal-cell figcaption { padding: 7px 2px 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.gal-cell .gal-album { display: block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.gal-cell figcaption .gal-album:not(:first-child) { margin-top: 2px; }
.gal-empty h2 { color: var(--ink); margin-bottom: 8px; }
.gal-empty p { max-width: 56ch; margin: 0 auto 8px; }
.gal-back { margin: 24px 0 0; font-weight: 600; }
.gal-back a { text-decoration: none; }
.gal-cta { margin-top: 40px; }
.gal-cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 960px) { .gal-grid { column-count: 3; column-gap: 12px; } .gal-cell { margin-bottom: 12px; } }
@media (max-width: 600px) {
  .gal-grid { column-count: 2; column-gap: 10px; }
  .gal-cell { margin-bottom: 10px; }
  .gal-cell figcaption { font-size: 13px; }
  .gal-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .gal-play svg { width: 20px; height: 20px; }
  .gal-cta-btns { width: 100%; }
}

/* Lightbox (built by gallery.js) */
html.lb-open, html.lb-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,9,38,.96); color: #fff; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(12,9,38,.96); }
.lightbox[open] { display: block; }
.lb-bar { position: absolute; top: 0; left: 0; right: 0; height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; font-size: 14px; color: #d9d6ef; z-index: 2; }
.lb-count { font-variant-numeric: tabular-nums; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; padding: 0; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn:focus-visible { box-shadow: 0 0 0 3px var(--accent-light); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { margin-left: auto; }
.lb-stage { position: absolute; top: 56px; bottom: 76px; left: 76px; right: 76px; display: flex; align-items: center; justify-content: center; touch-action: pan-y pinch-zoom; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; background: #000; }
.lb-stage img { width: 100%; height: 100%; background: transparent; } /* fills the stage: srcset widths can overstate small originals */
.lb-stage iframe { width: min(100%, (100vh - 150px) * 16 / 9); aspect-ratio: 16 / 9; height: auto; max-height: 100%; border: 0; border-radius: 4px; background: #000; }
.lb-prev, .lb-next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-info { position: absolute; left: 0; right: 0; bottom: 0; min-height: 76px; padding: 12px 20px 16px; text-align: center; font-size: 15px; line-height: 1.45; }
.lb-info .lb-cap { display: block; color: #fff; }
.lb-info .lb-album { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-light); font-weight: 600; }
@media (max-width: 720px) {
  .lb-stage { left: 0; right: 0; top: 56px; bottom: 92px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin: 0; background: rgba(255,255,255,.14); }
  .lb-prev { left: 12px; }
  .lb-next { right: 12px; }
  .lb-info { padding: 10px 72px 14px; min-height: 92px; font-size: 14px; display: flex; flex-direction: column; justify-content: center; }
}

/* Gallery strip (partial: site/partials/gallery-strip.php) */
.gal-strip { margin: 48px 0; }
.gal-strip-row { list-style: none; margin: 0; padding: 0 0 6px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gal-strip-row li { flex: 0 0 clamp(150px, 22vw, 240px); scroll-snap-align: start; }
.gal-strip-row a { display: block; border-radius: var(--r-m); overflow: hidden; background: var(--paper); }
.gal-strip-row img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.gal-strip-row a:hover img { transform: scale(1.04); }
.lb-error { max-width: 420px; text-align: center; padding: 20px; color: #fff; }
