/* =====================================================================
   BBS Company storefront — contemporary refresh
   Brand navy + logo lime. Bricolage Grotesque (display) / Instrument Sans (text).
   Photography carries the warmth; UI stays quiet, airy and precise.
   ===================================================================== */
:root {
  /* brand colors — set in Admin → Content → Colors & fonts; derived shades follow automatically */
  --navy: #000066;
  --navy-ink: #07073d;
  --lime: #C4E50E;
  --paper: #ffffff;
  --fog: #f4f5f8;
  --text: #11132f;
  --on-accent: #07073d;
  --navy-2: color-mix(in srgb, var(--navy) 85%, #ffffff);
  --navy-soft: color-mix(in srgb, var(--navy) 8%, #ffffff);
  --lime-2: color-mix(in srgb, var(--lime) 88%, #000000);
  --lime-soft: color-mix(in srgb, var(--lime) 18%, #ffffff);
  --mist: var(--fog);
  --line: #e3e5ec;
  --line-strong: #c9ccd8;
  --text: #11132f;
  --muted: color-mix(in srgb, var(--text) 68%, var(--paper));
  --ok: #17703f;
  --ok-bg: #e8f5ed;
  --warn: #855600;
  --warn-bg: #fff5de;
  --err: #b42318;
  --err-bg: #fdeceb;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(7, 7, 61, .06);
  --shadow: 0 12px 32px -12px rgba(7, 7, 61, .18);
  --shadow-lg: 0 30px 60px -20px rgba(7, 7, 61, .30);
  --head: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy-ink); line-height: 1.06; margin: 0 0 .5em; letter-spacing: -0.025em; font-weight: 700; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
small, .small { font-size: .875rem; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: -1px !important; border: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 4px; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--lime-2); outline-offset: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
::selection { background: var(--lime); color: var(--navy-ink); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .98rem/1 var(--body); padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: background .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s; min-height: 48px; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--on-accent); border-color: var(--lime); }
.btn-primary:hover { background: var(--lime-2); border-color: var(--lime-2); color: var(--on-accent); box-shadow: 0 8px 20px -8px rgba(178, 209, 11, .7); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: transparent; padding-left: 10px; padding-right: 10px; }
.btn-ghost:hover { background: var(--fog); }
.btn-danger { background: #fff; color: var(--err); border-color: #f0b4ae; }
.btn-sm { padding: 9px 14px; min-height: 38px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy); text-decoration: underline; cursor: pointer; font: inherit; }
.arrow-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.arrow-link:hover { text-decoration: underline; }

/* ---------- Forms ---------- */
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
.field { margin-bottom: 16px; }
.field .hint, .hint { font-size: .84rem; color: var(--muted); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=url], input[type=datetime-local], input:not([type]), select, textarea {
  width: 100%; font: 1rem/1.4 var(--body); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 48px; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 4px var(--navy-soft); outline: none; }
.has-error input, .has-error select, .has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: .86rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
legend { font-family: var(--head); font-size: 1.3rem; color: var(--navy-ink); font-weight: 700; margin-bottom: 14px; padding: 0; letter-spacing: -0.015em; }

/* ---------- Alerts ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius); margin: 0 0 16px; border: 1px solid; }
.alert-success { background: var(--ok-bg); border-color: #bfe3cc; color: #0f4d2b; }
.alert-error { background: var(--err-bg); border-color: #f3c6c2; color: #7a1a12; }
.alert-info { background: var(--navy-soft); border-color: #d4d4ef; color: var(--navy-ink); }
.alert-warning { background: var(--warn-bg); border-color: #f1dca8; color: #5c3d00; }
.flash-stack { margin-top: 18px; }

/* ---------- Header ---------- */
.announce { background: var(--navy-ink); color: color-mix(in srgb, #ffffff 82%, var(--navy-ink)); font-size: .86rem; text-align: center; padding: 9px var(--gutter); letter-spacing: .01em; }
.announce a { color: var(--lime); font-weight: 600; margin-left: 6px; }
.topbar { font-size: .84rem; color: var(--muted); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--navy); }
.topbar-links { display: flex; gap: 22px; }
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.header-main { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 46px; width: auto; }
.search { position: relative; max-width: 640px; width: 100%; justify-self: center; }
.search input { padding-left: 20px; padding-right: 56px; border-radius: 999px; background: var(--fog); border-color: transparent; min-height: 48px; }
.search input:focus { background: #fff; border-color: var(--navy); }
.search button { position: absolute; right: 5px; top: 5px; height: 38px; width: 38px; border-radius: 999px; border: 0; background: var(--navy); color: #fff; cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 18px; height: 18px; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px; z-index: 50; }
.suggest li a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: var(--radius); text-decoration: none; color: var(--text); }
.suggest li a:hover, .suggest li a[aria-selected=true] { background: var(--fog); }
.suggest img { width: 44px; height: 44px; object-fit: contain; background: var(--fog); border-radius: 8px; }
.suggest .sku { color: var(--muted); font-size: .8rem; }
.header-actions { display: flex; gap: 4px; align-items: center; }
.icon-link { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px; text-decoration: none; color: var(--navy-ink); font-weight: 600; font-size: .92rem; position: relative; background: none; border: 0; cursor: pointer; font-family: inherit; }
.icon-link:hover { background: var(--fog); color: var(--navy); }
.icon-link svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 2px; left: 26px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--lime); color: var(--navy-ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }

/* Mega menu */
.mainnav > .wrap > ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0 6px; margin: 0 -10px; padding: 0; }
.mainnav .top-item { position: static; }
.mainnav .top-link { display: block; padding: 8px 10px 14px; font-weight: 500; font-size: .9rem; white-space: nowrap; color: var(--text); text-decoration: none; position: relative; }
.mainnav .top-link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform .2s; border-radius: 2px; }
.mainnav .top-link:hover, .mainnav .top-item:focus-within > .top-link, .mainnav .top-item.open > .top-link { color: var(--navy); }
.mainnav .top-link:hover::after, .mainnav .top-item:focus-within > .top-link::after, .mainnav .top-item.open > .top-link::after { transform: scaleX(1); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(7, 7, 61, .25); display: none; }
.mainnav .top-item:hover .mega, .mainnav .top-item.open .mega { display: block; }
.mega .wrap { display: grid; grid-template-columns: 1fr 360px; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega ul { list-style: none; margin: 0; padding: 0; columns: 3 180px; column-gap: 28px; }
.mega li { break-inside: avoid; margin-bottom: 6px; }
.mega a { color: var(--text); text-decoration: none; }
.mega a:hover { color: var(--navy); text-decoration: underline; }
.mega .mega-feature { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 200px; background: var(--navy) center/cover no-repeat; color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.mega .mega-feature::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 7, 61, 0) 20%, rgba(7, 7, 61, .85)); }
.mega .mega-feature { isolation: isolate; }
.mega .mega-feature::before { z-index: -1; }
.mega .mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mega .mega-feature > :not(img) { position: relative; }
.mega .mega-feature h3 { color: #fff; margin-bottom: 6px; }
.mega .mega-feature p { color: #e3e3f5; font-size: .9rem; }
.mega .mega-feature .btn { align-self: flex-start; }

@media (max-width: 960px) {
  .topbar { display: none; }
  .header-main { grid-template-columns: auto auto 1fr; gap: 8px; }
  .menu-toggle { display: inline-flex; order: -1; }
  .search { grid-column: 1 / -1; order: 5; max-width: none; }
  .header-actions { justify-self: end; }
  .header-actions .label { display: none; }
  .logo img { height: 38px; }
  .mainnav { display: none; }
  .mainnav.open { display: block; max-height: calc(100vh - 140px); overflow-y: auto; border-top: 1px solid var(--line); }
  .mainnav > .wrap > ul { flex-direction: column; margin: 0; }
  .mainnav .top-link { border-bottom: 1px solid var(--line); padding: 14px 4px; }
  .mainnav .top-link::after { display: none; }
  .mega { position: static; box-shadow: none; display: none; border: 0; }
  .mainnav .top-item:hover .mega { display: none; }
  .mainnav .top-item.open .mega { display: block; }
  .mega .wrap { grid-template-columns: 1fr; padding: 8px 4px 16px; }
  .mega .mega-feature { display: none; }
}

/* ---------- Page scaffolding ---------- */
main { min-height: 50vh; }
.page { padding-top: 32px; padding-bottom: 80px; }
.page-head { margin-bottom: 28px; }
.page-head p { color: var(--muted); max-width: 68ch; font-size: 1.05rem; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin: 22px 0 10px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--navy); text-decoration: underline; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 26ch; }
.section-head p { margin: 10px 0 0; color: var(--muted); max-width: 52ch; font-size: 1.05rem; }
.band { background: var(--fog); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 88px); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.2rem); line-height: .98; letter-spacing: -0.04em; max-width: 12ch; margin-bottom: 22px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }
.hero p.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 44ch; margin-bottom: 0; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-search { margin-top: 30px; max-width: 520px; position: relative; }
.hero-search input { background: #fff; border-color: var(--line); padding: 0 132px 0 22px; min-height: 58px; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 1.02rem; }
.hero-search button { position: absolute; right: 6px; top: 6px; min-height: 46px; border-radius: 999px; padding: 0 22px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; font-size: .9rem; color: var(--muted); }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000066' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; flex: none; }
.hero-visual { position: relative; min-height: 520px; }
.hero-photo { position: absolute; inset: 0 0 56px 36px; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0, 0, 102, 0) 45%, rgba(0, 0, 102, .35)); }
.hero-dot { position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--lime); z-index: 0; opacity: .9; }
.hero-photo, .ladder { z-index: 1; }
.ladder { position: absolute; left: 0; bottom: 0; width: min(380px, 82%); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 22px 22px 16px; box-shadow: var(--shadow-lg); }
.ladder h2 { font-size: 1.12rem; margin-bottom: 2px; letter-spacing: -0.01em; }
.ladder .ladder-sub { font-size: .84rem; color: var(--muted); margin-bottom: 14px; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 6px; height: 150px; border-bottom: 2px solid var(--navy-ink); }
.step { background: var(--navy-soft); border-radius: 8px 8px 0 0; display: flex; flex-direction: column; align-items: center; padding-top: 8px; min-height: 36px; transform-origin: bottom; }
.step.is-best { background: var(--lime); }
.step .price { font-family: var(--head); font-weight: 700; font-size: .95rem; color: var(--navy-ink); letter-spacing: -0.02em; }
.step-labels { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; text-align: center; font-size: .76rem; color: var(--muted); margin-top: 6px; }
.ladder .ladder-note { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }
.hero-arc { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero p.lead, .hero-search, .hero .actions, .hero-trust { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .hero p.lead { animation-delay: .06s; } .hero-search { animation-delay: .12s; } .hero .actions { animation-delay: .18s; } .hero-trust { animation-delay: .24s; }
  .ladder .step { animation: grow .8s cubic-bezier(.2, .7, .2, 1) both; }
  .ladder .step:nth-child(2) { animation-delay: .08s; } .ladder .step:nth-child(3) { animation-delay: .16s; } .ladder .step:nth-child(4) { animation-delay: .24s; } .ladder .step:nth-child(5) { animation-delay: .32s; } .ladder .step:nth-child(6) { animation-delay: .40s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .hero-photo { inset: 0 0 70px 0; }
  .hero-dot { width: 140px; height: 140px; right: -40px; top: -30px; }
}

/* ---------- Category mosaic ---------- */
.cat-strip { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.cat-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: #fff; background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; isolation: isolate; }
.cat-tile:first-child { grid-column: span 2; grid-row: span 2; padding: 28px; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.cat-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 7, 61, 0) 35%, rgba(7, 7, 61, .82)); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile:hover { color: #fff; }
.cat-tile strong { font-family: var(--head); font-size: 1.25rem; line-height: 1.1; letter-spacing: -0.02em; font-weight: 700; }
.cat-tile:first-child strong { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.cat-tile span { font-size: .84rem; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.cat-tile .ico { display: none; }
.cat-tile.no-img .ico { display: grid; position: absolute; top: 18px; left: 18px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .12); place-items: center; color: var(--lime); }
.cat-tile.no-img .ico svg { width: 24px; height: 24px; }
@media (max-width: 900px) { .cat-strip { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .cat-tile:first-child { grid-row: span 1; } }
@media (max-width: 520px) { .cat-strip { gap: 10px; grid-auto-rows: 150px; } .cat-tile { padding: 14px; } .cat-tile strong { font-size: 1.05rem; } }

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px 22px; }
.card { display: flex; flex-direction: column; background: transparent; position: relative; }
.card .thumb { aspect-ratio: 1 / 1; background: var(--fog); border-radius: var(--radius-lg); display: grid; place-items: center; overflow: hidden; transition: background .2s; }
.card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.card:hover .thumb { background: #ecedf3; }
.band .card .thumb { background: #fff; }
.band .card:hover .thumb { background: #fafafc; }
.card:hover .thumb img { transform: scale(1.04); }
.card .body { padding: 14px 4px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .name { font-weight: 600; color: var(--text); text-decoration: none; line-height: 1.3; font-size: 1rem; }
.card .name::after { content: ""; position: absolute; inset: 0; }
.card:hover .name { color: var(--navy); }
.card .sku { font-size: .78rem; color: var(--muted); }
.card .price-line { margin-top: 2px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.card .price-line .from { font-size: .8rem; color: var(--muted); }
.card .price-line strong { font-family: var(--head); font-size: 1.35rem; color: var(--navy-ink); letter-spacing: -0.02em; }
.card .moq { font-size: .8rem; color: var(--muted); }
.swatches { display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.swatch { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); display: inline-block; }
.swatches .more { font-size: .75rem; color: var(--muted); margin-left: 2px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 1; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--navy-ink); box-shadow: var(--shadow-sm); letter-spacing: .01em; }
.badge-lime { background: var(--lime); }
.badge-navy { background: var(--navy); color: #fff; }
.badge-demo { background: var(--warn-bg); color: #5c3d00; }

/* ---------- How it works ---------- */
.how { background: var(--navy-ink); color: color-mix(in srgb, #ffffff 78%, var(--navy-ink)); position: relative; overflow: hidden; }
.how h2 { color: #fff; }
.how .section-head p { color: color-mix(in srgb, #ffffff 70%, var(--navy-ink)); }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: how; }
.how-steps li { counter-increment: how; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 22px; }
.how-steps li::before { content: counter(how); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--navy-ink); font-family: var(--head); font-weight: 800; margin-bottom: 18px; }
.how-steps h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.how-steps p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .how-steps { grid-template-columns: 1fr 1fr; gap: 28px 20px; } }
@media (max-width: 520px) { .how-steps { grid-template-columns: 1fr; } }

/* ---------- Benefits / services / promo ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.benefits li { padding: 22px 22px 22px 60px; position: relative; font-weight: 600; background: var(--fog); border-radius: var(--radius-lg); line-height: 1.35; }
.benefits li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000066' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat; }
.services { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.services-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; }
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.methods > div { padding: 18px 0; border-top: 1px solid var(--line); }
.methods h3 { font-size: 1.08rem; margin-bottom: 4px; }
.methods p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } .services-photo { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .methods { grid-template-columns: 1fr; } }
.promo { border-radius: var(--radius-xl); background: var(--navy) center/cover no-repeat; color: #fff; padding: clamp(32px, 6vw, 72px); display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; flex-wrap: wrap; position: relative; overflow: hidden; isolation: isolate; min-height: 320px; }
.promo img.promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 7, 61, .92) 0%, rgba(7, 7, 61, .75) 45%, rgba(7, 7, 61, .25) 100%); }
.promo h2 { margin: 0 0 10px; color: #fff; max-width: 18ch; }
.promo p { margin: 0; max-width: 52ch; color: color-mix(in srgb, #ffffff 82%, var(--navy-ink)); }
.promo .prose { color: color-mix(in srgb, #ffffff 82%, var(--navy-ink)); }
.promo.plain { background: var(--lime); color: var(--navy-ink); min-height: 0; }
.promo.plain::before { display: none; }
.promo.plain h2, .promo.plain p { color: var(--navy-ink); }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial { margin: 0; padding: 30px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column; }
.testimonial blockquote { margin: 0 0 18px; font-family: var(--head); font-size: 1.2rem; line-height: 1.35; color: var(--navy-ink); letter-spacing: -0.01em; font-weight: 500; flex: 1; }
.testimonial figcaption { font-size: .9rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--text); }
.stars { color: var(--navy); letter-spacing: 3px; margin-bottom: 14px; font-size: .9rem; }
.newsletter { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; background: var(--lime-soft); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); }
.newsletter h2 { margin-bottom: 6px; }
.newsletter form { display: flex; gap: 8px; min-width: min(480px, 100%); background: #fff; padding: 6px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.newsletter input { flex: 1; border: 0; min-height: 46px; border-radius: 999px; background: transparent; }
.newsletter input:focus { box-shadow: none; }
@media (max-width: 760px) { .newsletter { grid-template-columns: 1fr; } .newsletter form { min-width: 0; } }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 250px 1fr; gap: 40px; }
.filters { position: sticky; top: 150px; align-self: start; }
.filters h3 { font-size: .95rem; margin: 22px 0 10px; font-family: var(--body); font-weight: 700; letter-spacing: 0; color: var(--text); }
.filters h3:first-child { margin-top: 0; }
.filters ul { list-style: none; margin: 0; padding: 0; }
.filters li { margin-bottom: 6px; }
.filters a { text-decoration: none; color: var(--text); font-size: .94rem; }
.filters a:hover { color: var(--navy); }
.filters a.is-active { font-weight: 700; color: var(--navy); }
.filters .count { color: var(--muted); font-size: .8rem; }
.filters .chip-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.filters .chip-colors a { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); display: inline-block; }
.filters .chip-colors a.is-active { box-shadow: 0 0 0 2px var(--navy); }
.listing-bar { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.listing-bar form { display: flex; gap: 8px; align-items: center; }
.listing-bar select { width: auto; min-height: 42px; padding: 6px 36px 6px 14px; border-radius: 999px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters a { font-size: .84rem; padding: 6px 12px; border-radius: 999px; background: var(--navy-soft); text-decoration: none; }
.subcats { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.subcats a { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; color: var(--text); }
.subcats a:hover { border-color: var(--navy); color: var(--navy); }
.filter-toggle { display: none; }
.cat-hero { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--navy); color: #fff; padding: clamp(28px, 5vw, 56px); margin: 6px 0 32px; isolation: isolate; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(7, 7, 61, .9), rgba(7, 7, 61, .45) 70%, rgba(7, 7, 61, .2)); }
.cat-hero h1 { color: #fff; margin-bottom: 8px; }
.cat-hero p { color: #e1e1f5; max-width: 60ch; margin: 0; }
.cat-hero .subcats a { color: #fff; border-color: rgba(255, 255, 255, .35); }
.cat-hero .subcats a:hover { background: #fff; color: var(--navy-ink); }
.cat-hero .subcats { margin-top: 16px; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
  .filters { display: none; position: static; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}
.empty { text-align: center; padding: 64px 20px; background: var(--fog); border-radius: var(--radius-lg); }

/* Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; list-style: none; padding: 0; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.pagination a:hover { border-color: var(--navy); }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 700; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }
.gallery { position: sticky; top: 150px; }
@media (max-width: 960px) { .gallery { position: static; } }
.gallery .main-img { background: var(--fog); border-radius: var(--radius-xl); aspect-ratio: 1 / 1; display: grid; place-items: center; cursor: zoom-in; position: relative; overflow: hidden; border: 0; padding: 0; width: 100%; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: contain; padding: 32px; }
.gallery .thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.gallery .thumbs button { background: var(--fog); border: 2px solid transparent; border-radius: var(--radius); padding: 4px; cursor: pointer; aspect-ratio: 1; }
.gallery .thumbs button[aria-current=true] { border-color: var(--navy); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: contain; }
.lightbox { position: fixed; inset: 0; background: rgba(7, 7, 61, .9); z-index: 100; display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 90vw; background: #fff; border-radius: var(--radius-lg); }
.lightbox button { position: absolute; top: 16px; right: 16px; }
.pdp-info .sku { color: var(--muted); font-size: .88rem; margin-bottom: 8px; }
.pdp-info h1 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); letter-spacing: -0.03em; }
.pdp-info .summary { color: var(--muted); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 18px 0 24px; font-size: .86rem; color: var(--muted); }
.facts > div { background: var(--fog); border-radius: var(--radius); padding: 12px 14px; }
.facts strong { display: block; font-family: var(--head); color: var(--navy-ink); font-size: 1.1rem; letter-spacing: -0.01em; }
.tiers { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; margin: 6px 0 24px; }
.tier { border-radius: var(--radius); padding: 10px 6px; text-align: center; background: var(--fog); transition: background .2s; }
.tier .q { font-size: .76rem; color: var(--muted); display: block; }
.tier .p { font-family: var(--head); font-size: 1.12rem; color: var(--navy-ink); font-weight: 700; letter-spacing: -0.02em; }
.tier.is-active { background: var(--lime); }
.tier.is-active .q { color: var(--navy-ink); }
.tiers.tiers-many { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); }
@media (max-width: 520px) { .tiers { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); } }
.configurator { border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(18px, 3vw, 28px); background: #fff; box-shadow: var(--shadow-sm); }
.configurator h2 { font-size: 1.3rem; margin-bottom: 18px; }
.configurator legend { font-family: var(--body); font-weight: 700; letter-spacing: 0; color: var(--text); }
.color-options { display: flex; flex-wrap: wrap; gap: 10px; }
.color-options label { margin: 0; cursor: pointer; }
.color-options input { position: absolute; opacity: 0; }
.color-options .dot { width: 34px; height: 34px; border-radius: 50%; display: block; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); transition: box-shadow .15s; }
.color-options input:checked + .dot { box-shadow: 0 0 0 2px var(--navy); }
.color-options input:focus-visible + .dot { outline: 3px solid var(--lime-2); outline-offset: 2px; }
.selected-color { font-weight: 400; color: var(--muted); }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-options label { margin: 0; }
.size-options input { position: absolute; opacity: 0; }
.size-options span { display: inline-block; min-width: 52px; text-align: center; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.size-options input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.size-options input:focus-visible + span { outline: 3px solid var(--lime-2); }
.method-list { display: grid; gap: 8px; }
.method { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-weight: 400; transition: border-color .15s, background .15s; }
.method:hover { border-color: var(--line-strong); }
.method:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.method input { width: 18px; height: 18px; accent-color: var(--navy); margin: 3px 0 0; }
.method strong { display: block; }
.method small { color: var(--muted); }
.deco-detail { margin-top: 12px; padding: 16px; background: var(--fog); border-radius: var(--radius); }
.deco-detail[hidden] { display: none; }
.qty-row { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.qty-row .field { flex: 1; margin: 0; min-width: 180px; }
.stepper { display: flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 48px; background: transparent; border: 0; font-size: 1.25rem; cursor: pointer; color: var(--navy); }
.stepper button:hover { background: var(--fog); }
.stepper input { border: 0; border-radius: 0; text-align: center; min-width: 0; font-weight: 700; font-size: 1.05rem; }
.stepper input:focus { box-shadow: none; }
.price-box { background: var(--navy-ink); color: color-mix(in srgb, #ffffff 78%, var(--navy-ink)); border-radius: var(--radius-lg); padding: 18px 20px; margin: 18px 0; }
.price-box .row { display: flex; justify-content: space-between; gap: 8px; font-size: .93rem; padding: 3px 0; }
.price-box .row span:last-child { color: #fff; }
.price-box .total { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 10px; padding-top: 12px; font-weight: 600; font-size: 1rem; align-items: baseline; }
.price-box .total span:first-child { color: #fff; }
.price-box .total span:last-child { font-family: var(--head); color: var(--lime); font-size: 1.8rem; letter-spacing: -0.02em; }
.price-box .next { font-size: .86rem; color: var(--lime); margin-top: 8px; }
.price-box .error { color: #ffb4ab; font-size: .9rem; }
.price-box .muted { color: #9fa0c8; }
.upload { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 16px; text-align: center; background: #fff; transition: border-color .15s, background .15s; }
.upload.is-drag { border-color: var(--navy); background: var(--navy-soft); }
.upload input[type=file] { width: 100%; }
.upload-status { font-size: .9rem; margin-top: 8px; }
.pdp-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.tabs { margin-top: 72px; }
.tablist { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tablist button { background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 14px 18px; font: 600 1rem var(--body); color: var(--muted); cursor: pointer; white-space: nowrap; }
.tablist button[aria-selected=true] { color: var(--navy-ink); border-bottom-color: var(--navy); }
.tabpanel { padding: 28px 0; max-width: 78ch; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 600; }

/* ---------- Cart / checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line { display: grid; grid-template-columns: 104px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 104px; height: 104px; object-fit: contain; background: var(--fog); border-radius: var(--radius); }
.cart-line h3 { font-size: 1.08rem; margin-bottom: 4px; }
.cart-line h3 a { text-decoration: none; color: var(--text); }
.cart-line .meta { font-size: .86rem; color: var(--muted); margin: 0; }
.cart-line .deco { font-size: .86rem; margin: 6px 0 0; padding-left: 16px; color: var(--muted); }
.cart-line .line-total { text-align: right; }
.cart-line .line-total strong { font-family: var(--head); font-size: 1.3rem; color: var(--navy-ink); display: block; letter-spacing: -0.02em; }
.cart-line .controls { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; }
.cart-line .controls input { width: 110px; min-height: 40px; padding: 6px 10px; }
.cart-line .err { color: var(--err); font-size: .875rem; margin-top: 6px; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 76px 1fr; } .cart-line img { width: 76px; height: 76px; } .cart-line .line-total { grid-column: 2; text-align: left; } }
.summary-box { background: var(--fog); border-radius: var(--radius-xl); padding: 26px; position: sticky; top: 150px; }
.summary-box h2 { font-size: 1.35rem; }
.summary-box .row { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: .95rem; }
.summary-box .row.discount { color: var(--ok); }
.summary-box .row.total { border-top: 1px solid var(--line-strong); margin-top: 12px; padding-top: 14px; font-weight: 700; font-size: 1.05rem; align-items: baseline; }
.summary-box .row.total span:last-child { font-family: var(--head); color: var(--navy-ink); font-size: 1.7rem; letter-spacing: -0.02em; }
.summary-box input, .summary-box select, .summary-box textarea { background: #fff; }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form input { min-height: 44px; text-transform: uppercase; }
.ship-options { display: grid; gap: 10px; }
.ship-option { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-weight: 400; cursor: pointer; background: #fff; transition: border-color .15s, background .15s; }
.ship-option:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.ship-option input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; }
@media (max-width: 960px) { .checkout-layout { grid-template-columns: 1fr; } }
.checkout-step { border-bottom: 1px solid var(--line); padding: 8px 0 28px; margin-bottom: 24px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 14px; }
.mini-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; align-items: center; }
.mini-lines img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 8px; }

/* ---------- Order status ---------- */
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; list-style: none; padding: 0; margin: 24px 0 32px; }
.progress li { padding-top: 14px; border-top: 4px solid var(--line); font-size: .86rem; color: var(--muted); }
.progress li.done { border-top-color: var(--navy); color: var(--text); }
.progress li.current { border-top-color: var(--lime); color: var(--navy-ink); font-weight: 700; }
.order-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin: 28px 0; }
@media (max-width: 800px) { .order-grid { grid-template-columns: 1fr; } .progress { grid-template-columns: 1fr; } }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; color: var(--muted); font-weight: 600; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table-wrap { overflow-x: auto; }
.status-pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--navy-soft); color: var(--navy); white-space: nowrap; }
.status-pill.s-paid, .status-pill.s-delivered, .status-pill.s-shipped, .status-pill.s-quoted, .status-pill.s-completed { background: var(--ok-bg); color: var(--ok); }
.status-pill.s-pending_payment, .status-pill.s-unpaid, .status-pill.s-awaiting_approval, .status-pill.s-new, .status-pill.s-pending { background: var(--warn-bg); color: var(--warn); }
.status-pill.s-cancelled, .status-pill.s-failed, .status-pill.s-refunded, .status-pill.s-declined, .status-pill.s-expired { background: var(--err-bg); color: var(--err); }
.proof { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; margin: 18px 0; background: var(--lime-soft); }

/* ---------- Account ---------- */
.account-layout { display: grid; grid-template-columns: 230px 1fr; gap: 48px; }
.account-nav ul { list-style: none; margin: 0; padding: 0; }
.account-nav a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 500; }
.account-nav a[aria-current=page] { background: var(--navy); color: #fff; }
.account-nav a:hover:not([aria-current=page]) { background: var(--fog); }
@media (max-width: 860px) { .account-layout { grid-template-columns: 1fr; gap: 18px; } .account-nav ul { display: flex; overflow-x: auto; gap: 4px; } .account-nav a { white-space: nowrap; } }
.auth-box { max-width: 480px; margin: 48px auto; }
.auth-box .panel { border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.stat-n { font-family: var(--head); font-size: 2.2rem; color: var(--navy-ink); line-height: 1; letter-spacing: -0.03em; }
.address-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; font-style: normal; background: #fff; }
.artwork-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.file-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 6px; }
.file-tile .ext { font-family: var(--head); font-weight: 700; color: var(--navy); background: var(--navy-soft); border-radius: 6px; padding: 2px 8px; justify-self: start; font-size: .8rem; }

/* ---------- Content pages ---------- */
.prose { max-width: 70ch; font-size: 1.04rem; }
.prose h2 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); color: color-mix(in srgb, #ffffff 70%, var(--navy-ink)); margin-top: clamp(40px, 6vw, 80px); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 44px; }
.footer-grid h2 { color: #fff; font-size: .95rem; margin-bottom: 16px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; font-size: .94rem; }
.footer-grid p { font-size: .94rem; max-width: 36ch; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; padding-bottom: 20px; font-size: .84rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.social { display: flex; gap: 14px; margin-top: 14px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* utility */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-2 { margin-bottom: 16px; }
.flex { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.spinner { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--navy-ink); color: #fff; padding: 14px 20px; border-radius: 999px; z-index: 120; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; }
.toast a { color: var(--lime); font-weight: 700; }

/* ---------- Variant picker ---------- */
.variant-picker { margin: 4px 0 18px; display: grid; gap: 14px; }
.variant-picker .vgroup { margin: 0; }
.variant-picker legend, .variant-picker label { font-family: var(--body); font-size: .95rem; font-weight: 700; color: var(--text); letter-spacing: 0; margin-bottom: 8px; }
.vopts { display: flex; flex-wrap: wrap; gap: 8px; }
.vopt { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .92rem; background: #fff; transition: border-color .15s, background .15s; }
.vopt:hover { border-color: var(--navy); color: var(--navy); }
.vopt.is-selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.vopt.is-alt:not(.is-selected) { border-style: dashed; color: var(--muted); }
.variant-picker select { max-width: 460px; }

.upload-pair { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (max-width: 560px) { .upload-pair { grid-template-columns: 1fr; } }

/* ---------- Page builder (custom pages) ---------- */
.pb-title { margin: 8px 0 24px; }
.pb-section { position: relative; }
.pb-pad-none { padding: 0; } .pb-pad-small { padding: 24px 0; } .pb-pad-normal { padding: clamp(36px, 5vw, 64px) 0; } .pb-pad-large { padding: clamp(56px, 8vw, 112px) 0; }
.pb-bg-soft { background: var(--fog); }
.pb-bg-primary { background: var(--navy); color: #fff; }
.pb-bg-dark { background: var(--navy-ink); color: color-mix(in srgb, #ffffff 82%, var(--navy-ink)); }
.pb-bg-accent { background: var(--lime); color: var(--navy-ink); }
.pb-bg-image { background: var(--navy-ink) var(--pb-bg) center/cover no-repeat; color: #fff; isolation: isolate; }
.pb-bg-image::before { content: ""; position: absolute; inset: 0; background: rgba(7, 7, 61, .55); z-index: -1; }
.pb-bg-primary :is(h1, h2, h3, h4), .pb-bg-dark :is(h1, h2, h3, h4), .pb-bg-image :is(h1, h2, h3, h4) { color: #fff; }
.pb-bg-primary a:not(.btn), .pb-bg-dark a:not(.btn), .pb-bg-image a:not(.btn) { color: var(--lime); }
.pb-full { padding: 0 var(--gutter); }
.pb-narrow { max-width: 860px; }
.pb-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 40px); }
.pb-valign-center { align-items: center; }
.pb-col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pb-col > *, .pb-group > * { margin: 0; }
.pb-span-3 { grid-column: span 3; } .pb-span-4 { grid-column: span 4; } .pb-span-6 { grid-column: span 6; } .pb-span-8 { grid-column: span 8; } .pb-span-9 { grid-column: span 9; } .pb-span-12 { grid-column: span 12; }
@media (max-width: 900px) { .pb-span-3 { grid-column: span 6; } .pb-span-4, .pb-span-8, .pb-span-9, .pb-span-6 { grid-column: span 12; } }
@media (max-width: 560px) { .pb-span-3 { grid-column: span 12; } }
.pb-al-center { text-align: center; } .pb-al-right { text-align: right; }
.pb-text.prose { max-width: none; }
.pb-text > :last-child { margin-bottom: 0; }
.pb-image { margin: 0; }
.pb-image img { width: 100%; height: auto; }
.pb-image.is-rounded img { border-radius: var(--radius-lg); }
.pb-size-large img { max-width: 75%; } .pb-size-medium img { max-width: 50%; } .pb-size-small img { max-width: 30%; min-width: 120px; }
.pb-image.pb-al-center img { margin: 0 auto; } .pb-image.pb-al-right img { margin-left: auto; }
.pb-image figcaption { font-size: .86rem; color: var(--muted); margin-top: 8px; }
.pb-spacer-small { height: 12px; } .pb-spacer-medium { height: 32px; } .pb-spacer-large { height: 64px; }
.pb-divider { margin: 8px 0; }
.pb-group { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.pb-group-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); color: var(--text); }
.pb-group-card :is(h1, h2, h3, h4) { color: var(--navy-ink); }
.pb-group-soft { background: var(--fog); border-radius: var(--radius-lg); padding: 24px; color: var(--text); }
.pb-group-outline { border: 1.5px solid currentColor; border-radius: var(--radius-lg); padding: 24px; }
.pb-video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; }
.pb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pb-products { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* custom-size (per sq ft) products */
.custom-size .size-inputs { display: flex; align-items: flex-start; gap: 12px; }
.custom-size .size-inputs .field { flex: 1; margin-bottom: 0; }
.custom-size .size-inputs .hint { display: block; margin-top: 4px; }
.custom-size .times { padding-top: 38px; font-weight: 700; color: var(--muted, #6b7088); }
.custom-size .area-calc { margin-top: 10px; font-weight: 600; color: var(--navy); min-height: 1.4em; }

/* category page designer */
.products.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.products.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.products.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.products.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px 16px; }
@media (max-width: 1100px) { .products.cols-4, .products.cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .products.cols-3, .products.cols-4, .products.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; } }
@media (max-width: 420px) { .products[class*="cols-"] { grid-template-columns: 1fr; } }
.listing.sidebar-right { grid-template-columns: 1fr 250px; }
.listing.sidebar-right > .filters { order: 2; }
.listing.no-sidebar { grid-template-columns: 1fr; }
.filters .side-block:empty { display: none; }
.filters .side-block + .side-block h3 { margin-top: 22px; }
.filters .side-block:first-child h3 { margin-top: 0; }
.filters .side-links a { display: block; padding: 4px 0; }
.filters .side-image img { width: 100%; height: auto; border-radius: var(--radius, 12px); display: block; }
.filters .side-block .prose { font-size: .92rem; }
.page-head-compact { padding-top: 8px; padding-bottom: 8px; }
.page-head-compact h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cat-content .wrap { padding-left: 0; padding-right: 0; }
.cat-content-above { margin-bottom: 28px; }
.cat-content-below { margin-top: 40px; }
@media (max-width: 900px) { .listing.sidebar-right { grid-template-columns: 1fr; } .listing.sidebar-right > .filters { order: 0; } }
.method-fixed { background: var(--fog); border-radius: var(--radius); padding: 12px 14px; }
.method-fixed strong { color: var(--navy); }
.catalog-note { background: var(--fog); border-radius: var(--radius); padding: 12px 14px; margin: 0 0 12px; font-size: .95rem; }

/* page builder: free colors, homepage blocks */
.pb-bg-image::before { background: rgba(7, 7, 61, var(--pb-overlay, .55)); }
.pb-has-color :is(h1, h2, h3, h4), .pb-has-color .section-head h2 { color: inherit; }
.pb-has-color .section-head p, .pb-has-color .muted, .pb-has-color .hero p.lead, .pb-has-color .hero-trust { color: color-mix(in srgb, currentColor 78%, transparent); }
.pb-bg-custom .card, .pb-bg-custom .testimonial { color: var(--text); }
.btn-light { background: #fff; color: var(--navy-ink); border-color: #fff; }
.btn-light:hover { background: color-mix(in srgb, #fff 88%, var(--navy)); }
.pb-block-wide { min-width: 0; }
.pb-head { margin-bottom: 26px; }
.pb-hero { background: transparent; overflow: visible; }
.pb-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pb-hero-grid.is-text-only { grid-template-columns: minmax(0, 1fr); }
.pb-section .hero { overflow: hidden; padding: 8px 0; }
@media (max-width: 900px) { .pb-hero-grid { grid-template-columns: 1fr; } }
.pb-steps h3 { color: inherit; }
.pb-steps li { border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.pb-bg-none .pb-steps li, .pb-bg-soft .pb-steps li { border-top-color: var(--line); }
.pb-methods-1 { grid-template-columns: 1fr; } .pb-methods-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .pb-methods-3, .methods.pb-methods-2 { grid-template-columns: 1fr; } }
.pb-list { margin: 0; padding-left: 1.2em; }
.pb-list li { margin-bottom: 6px; }
.pb-section .newsletter, .pb-section .promo { margin: 0; }
.pb-span-12 > .pb-block-wide .pb-products, .pb-span-8 > .pb-block-wide .pb-products, .pb-span-9 > .pb-block-wide .pb-products { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pb-bg-dark .section-head p, .pb-bg-primary .section-head p, .pb-bg-image .section-head p, .pb-bg-dark .hero p.lead, .pb-bg-primary .hero p.lead, .pb-bg-image .hero p.lead, .pb-bg-dark .hero-trust, .pb-bg-primary .hero-trust, .pb-bg-image .hero-trust { color: color-mix(in srgb, #ffffff 74%, transparent); }
.pb-bg-dark .pb-steps h3, .pb-bg-primary .pb-steps h3, .pb-bg-image .pb-steps h3 { color: #fff; }
/* products per row chosen in the page editor (same on every screen size the browser allows) */
.products.pb-products[class*="pb-cols-"] { grid-template-columns: repeat(var(--pb-cols), minmax(0, 1fr)); gap: 24px 18px; }
.pb-cols-2 { --pb-cols: 2; } .pb-cols-3 { --pb-cols: 3; } .pb-cols-4 { --pb-cols: 4; } .pb-cols-5 { --pb-cols: 5; } .pb-cols-6 { --pb-cols: 6; }
@media (max-width: 1200px) { .pb-cols-5, .pb-cols-6 { --pb-cols: 4; } }
@media (max-width: 900px) { .pb-cols-4, .pb-cols-5, .pb-cols-6 { --pb-cols: 3; } }
@media (max-width: 640px) { .pb-products[class*="pb-cols-"] { --pb-cols: 2; gap: 18px 12px; } }
@media (max-width: 380px) { .pb-products[class*="pb-cols-"] { --pb-cols: 1; } }
.pb-span-6 .pb-products[class*="pb-cols-"], .pb-span-4 .pb-products[class*="pb-cols-"], .pb-span-3 .pb-products[class*="pb-cols-"] { --pb-cols: 2; }
/* logo carousel */
.pb-logos { min-width: 0; }
.pb-logos-title { text-align: center; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--muted); margin: 0 0 18px; }
.pb-logos-view { overflow: hidden; }
.pb-logos.is-fade .pb-logos-view { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.pb-logos-track { display: flex; width: max-content; }
.pb-logos-set { display: flex; align-items: center; gap: clamp(40px, 6vw, 88px); list-style: none; margin: 0; padding: 0 clamp(20px, 3vw, 44px); }
.pb-logos-set li { flex: none; display: flex; align-items: center; }
.pb-logos-set img { width: auto; max-width: 180px; height: var(--pb-logo-h, 56px); object-fit: contain; display: block; transition: filter .2s, opacity .2s; }
.pb-logos-small { --pb-logo-h: 40px; } .pb-logos-medium { --pb-logo-h: 56px; } .pb-logos-large { --pb-logo-h: 76px; }
.pb-logos.is-gray img { filter: grayscale(1); opacity: .7; }
.pb-logos.is-gray li:hover img { filter: none; opacity: 1; }
.pb-logos.is-moving .pb-logos-track { animation: pb-logos-scroll var(--pb-logo-secs, 24s) linear infinite; }
.pb-logos.is-moving .pb-logos-view:hover .pb-logos-track { animation-play-state: paused; }
.pb-logos:not(.is-moving) .pb-logos-set[aria-hidden] { display: none; }
.pb-logos:not(.is-moving) .pb-logos-track { width: auto; justify-content: center; }
.pb-logos:not(.is-moving) .pb-logos-set { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
@keyframes pb-logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .pb-logos.is-moving .pb-logos-track { animation: none; width: auto; justify-content: center; }
  .pb-logos.is-moving .pb-logos-set { flex-wrap: wrap; justify-content: center; row-gap: 28px; }
  .pb-logos.is-moving .pb-logos-set[aria-hidden] { display: none; }
}
@media (max-width: 640px) { .pb-logos-set img { max-width: 130px; } .pb-logos-medium { --pb-logo-h: 44px; } .pb-logos-large { --pb-logo-h: 56px; } }
/* comfortable reading width for long text in a full-width column (policy pages) */
.pb-span-12 .pb-text.prose { max-width: 80ch; }
.pb-span-12 .pb-text.prose.pb-al-center { margin-inline: auto; }
.pb-span-12 .pb-text.prose.pb-al-right { margin-left: auto; }

/* title & subtitle block */
.pb-titleblock { margin: 0 0 22px; }
.pb-titleblock > :last-child { margin-bottom: 0; }
.pb-titleblock h1, .pb-titleblock h2, .pb-titleblock h3 { margin: 0 0 10px; }
.pb-titleblock.pb-tl-1 h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; }
.pb-eyebrow { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pb-subtitle { margin: 0; font-size: 1.08rem; color: var(--muted); max-width: 68ch; }
.pb-titleblock.pb-al-center .pb-subtitle { margin-inline: auto; }
.pb-titleblock.pb-al-right .pb-subtitle { margin-left: auto; }
.pb-titleblock.has-line h1::after, .pb-titleblock.has-line h2::after, .pb-titleblock.has-line h3::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--lime, #C4E50E); margin-top: 12px; }
.pb-titleblock.has-line.pb-al-center h1::after, .pb-titleblock.has-line.pb-al-center h2::after, .pb-titleblock.has-line.pb-al-center h3::after { margin-inline: auto; }
.pb-titleblock.has-line.pb-al-right h1::after, .pb-titleblock.has-line.pb-al-right h2::after, .pb-titleblock.has-line.pb-al-right h3::after { margin-left: auto; }
.pb-bg-primary .pb-eyebrow, .pb-bg-dark .pb-eyebrow, .pb-bg-image .pb-eyebrow, .pb-bg-primary .pb-subtitle, .pb-bg-dark .pb-subtitle, .pb-bg-image .pb-subtitle { color: rgba(255,255,255,.82); }
.pb-has-color .pb-eyebrow, .pb-has-color .pb-subtitle { color: inherit; opacity: .85; }

/* breadcrumbs block */
.pb-breadcrumbs { margin: 0 0 14px; }
.pb-breadcrumbs.pb-al-center ol { justify-content: center; }
.pb-breadcrumbs.pb-al-right ol { justify-content: flex-end; }
.pb-bg-primary .pb-breadcrumbs, .pb-bg-dark .pb-breadcrumbs, .pb-bg-image .pb-breadcrumbs,
.pb-bg-primary .pb-breadcrumbs a, .pb-bg-dark .pb-breadcrumbs a, .pb-bg-image .pb-breadcrumbs a { color: rgba(255,255,255,.85); }

/* all products block */
.pb-catalog { scroll-margin-top: 90px; }
.pb-catalog-count { margin: 0 0 14px; font-size: .9rem; }
.pb-catalog .pagination { margin-top: 28px; }

/* store page settings: benefits lists, sections inside page content, thank-you box */
.benefits.pdp-trust, .benefits.summary-trust { grid-template-columns: 1fr; gap: 8px; margin: 16px 0 0; }
.benefits.pdp-trust li, .benefits.summary-trust li { padding: 0 0 0 30px; background: none; border-radius: 0; font-size: .92rem; font-weight: 600; min-height: 20px; }
.benefits.pdp-trust li::before, .benefits.summary-trust li::before { left: 0; top: 0; width: 20px; height: 20px; background-size: 11px; }
.store-section-inline { margin: 0 0 20px; }
.store-section-inline .pb-section > .wrap, .store-section-inline .pb-section > .pb-full { padding-inline: 0; max-width: none; }
.store-section-inline .pb-section.pb-bg-none.pb-pad-none, .store-section-inline .pb-section.pb-bg-none.pb-pad-small { padding: 0; }
.store-section-inline .pb-section:not(.pb-bg-none) { border-radius: var(--radius-lg); padding-inline: 20px; }
.store-section-product-top .pb-section.pb-pad-none { padding: 10px 0; }
.store-section-product-top .pb-text p { margin: 0; }
.has-section-below { padding-bottom: 0; }
.thanks-box { margin: 0 0 22px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--lime-soft); border: 1px solid color-mix(in srgb, var(--lime) 55%, #fff); }
.thanks-box h2 { margin: 0 0 6px; font-size: 1.35rem; }
.checkout-intro { margin-top: -6px; }

/* hero: whole image, no colored frame */
.hero-visual.is-full { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-visual.is-full .hero-photo { position: static; inset: auto; background: none; border-radius: 0; overflow: visible; width: 100%; }
.hero-visual.is-full .hero-photo::after { display: none; }
.hero-visual.is-full .hero-photo img { width: 100%; height: auto; max-height: 640px; object-fit: contain; }
.hero-visual.is-full .ladder { position: relative; left: auto; bottom: auto; width: min(380px, 100%); align-self: flex-start; }

/* iFrame block */
.pb-embed { position: relative; width: 100%; margin: 0 0 20px; border-radius: var(--radius-lg); overflow: hidden; background: var(--fog); }
.pb-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.pb-embed-r16x9 { aspect-ratio: 16 / 9; } .pb-embed-r4x3 { aspect-ratio: 4 / 3; } .pb-embed-r1x1 { aspect-ratio: 1 / 1; }

/* gallery block */
.pb-gallery { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(var(--gal-cols, 3), minmax(0, 1fr)); }
.pb-gal-cols-2 { --gal-cols: 2; } .pb-gal-cols-3 { --gal-cols: 3; } .pb-gal-cols-4 { --gal-cols: 4; } .pb-gal-cols-5 { --gal-cols: 5; } .pb-gal-cols-6 { --gal-cols: 6; }
@media (max-width: 900px) { .pb-gallery { --gal-cols: 3 !important; } .pb-gal-cols-2 { --gal-cols: 2 !important; } }
@media (max-width: 640px) { .pb-gallery { --gal-cols: 2 !important; gap: 10px; } }
.pb-gallery figure { margin: 0; }
.pb-gal-media { display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--fog); }
.pb-gal-media img, .pb-gal-media video, .pb-gal-media iframe { display: block; width: 100%; border: 0; }
.pb-gal-square .pb-gal-media { aspect-ratio: 1 / 1; } .pb-gal-landscape .pb-gal-media { aspect-ratio: 4 / 3; }
.pb-gal-square .pb-gal-media img, .pb-gal-landscape .pb-gal-media img, .pb-gal-square .pb-gal-media video, .pb-gal-landscape .pb-gal-media video { height: 100%; object-fit: cover; }
.pb-gal-natural .pb-gal-media img { height: auto; }
.pb-gal-media.is-video { aspect-ratio: 16 / 9; background: #000; }
.pb-gal-square .pb-gal-media.is-video { aspect-ratio: 1 / 1; } .pb-gal-landscape .pb-gal-media.is-video { aspect-ratio: 4 / 3; }
.pb-gal-media.is-video iframe, .pb-gal-media.is-video video { height: 100%; }
.pb-gal-media.is-video video { object-fit: contain; }
a.pb-gal-media img { transition: transform .3s; } a.pb-gal-media:hover img { transform: scale(1.04); }
.pb-gallery figcaption { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.pb-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(7, 7, 30, .92); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.pb-lightbox[hidden] { display: none; }
.pb-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.pb-lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 6px; }
.pb-lightbox figcaption { color: #fff; text-align: center; }
.pb-lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: 0; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.pb-lightbox button:hover, .pb-lightbox button:focus-visible { background: rgba(255,255,255,.3); }
.pb-lightbox .lb-close { top: 14px; right: 14px; } .pb-lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); } .pb-lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .pb-lightbox { padding: 56px 10px; } .pb-lightbox .lb-prev, .pb-lightbox .lb-next { top: auto; bottom: 10px; transform: none; } }

/* contact form block */
.pb-form { margin: 0 0 20px; }
.pb-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 32px); box-shadow: 0 18px 40px -30px rgba(7, 7, 61, .35); }
.pb-form-title { margin: 0 0 6px; font-size: 1.5rem; }
.pb-form-intro { margin: 0 0 18px; }
.pb-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pb-ff-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .pb-form-grid { grid-template-columns: 1fr; } }
.pb-form fieldset { border: 0; padding: 0; margin: 0; }
.pb-form legend { font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.pb-form .req { color: var(--err); }
.pb-form-actions { margin: 6px 0 0; }
.pb-bg-primary .pb-form-plain, .pb-bg-dark .pb-form-plain, .pb-bg-image .pb-form-plain { color: #fff; }
.pb-form-card { color: var(--text); }

/* header & footer settings (Admin → Content → Header & footer) */
.announce.has-color a { color: inherit; text-decoration: underline; }
.topbar.hdr-bg, .site-header.hdr-bg { background: var(--hdr-bg); }
.site-header.hdr-bg { backdrop-filter: none; -webkit-backdrop-filter: none; }
.topbar.hdr-text, .topbar.hdr-text a, .site-header.hdr-text .icon-link, .site-header.hdr-text .top-link { color: var(--hdr-text); }
.site-header.hdr-text .top-link:hover, .site-header.hdr-text .top-item.open > .top-link { color: var(--hdr-text); opacity: .85; }
.search-spacer { flex: 1; }
.footer-grid.footer-cols-0 { grid-template-columns: 1fr; }
.footer-grid.footer-cols-1 { grid-template-columns: 1.5fr 1fr; }
.footer-grid.footer-cols-2 { grid-template-columns: 1.5fr 1fr 1fr; }
.footer-grid.footer-cols-4 { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid.footer-cols-1, .footer-grid.footer-cols-2, .footer-grid.footer-cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid.footer-cols-1, .footer-grid.footer-cols-2, .footer-grid.footer-cols-4 { grid-template-columns: 1fr; } }
.site-footer.ftr-text, .site-footer.ftr-text a, .site-footer.ftr-text h2, .site-footer.ftr-text p { color: inherit; }
.site-footer.ftr-text .footer-bottom { border-top-color: color-mix(in srgb, currentColor 20%, transparent); }
.site-footer.ftr-text a:hover { opacity: .8; }

/* main menu: mega menu without the feature box */
.mega.no-feature .wrap { grid-template-columns: 1fr; }
/* main menu: classic drop-down list */
@media (min-width: 961px) {
  .mainnav.is-dropdown .top-item { position: relative; }
  .mainnav.is-dropdown .mega { z-index: 60; left: 0; right: auto; min-width: 240px; max-width: 320px; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); }
  .mainnav.is-dropdown .top-item.align-right .mega { left: auto; right: 0; }
  .mainnav.is-dropdown .mega .wrap { display: block; max-width: none; padding: 8px 0; }
  .mainnav.is-dropdown .mega ul { columns: auto; max-height: min(70vh, 560px); overflow-y: auto; }
  .mainnav.is-dropdown .mega li { margin: 0; }
  .mainnav.is-dropdown .mega a { display: block; padding: 8px 18px; font-size: .92rem; white-space: normal; }
  .mainnav.is-dropdown .mega a:hover { background: var(--fog); text-decoration: none; }
}
.pb-form { scroll-margin-top: 180px; }

/* main menu: second level of sub-items */
.mega ul.sub { columns: auto; margin: 6px 0 4px 12px; padding: 0 0 0 10px; border-left: 2px solid var(--line); }
.mega ul.sub li { margin-bottom: 4px; }
.mega ul.sub a { font-size: .88rem; color: var(--muted); }
.mega li.has-sub > a { font-weight: 600; }
@media (min-width: 961px) {
  .mainnav.is-dropdown .mega ul { max-height: none; overflow: visible; }
  .mainnav.is-dropdown .mega li.has-sub { position: relative; }
  .mainnav.is-dropdown .mega li.has-sub > a { font-weight: 500; padding-right: 32px; }
  .mainnav.is-dropdown .mega li.has-sub > a::after { content: "›"; position: absolute; right: 16px; color: var(--muted); font-size: 1.1rem; line-height: 1; top: 50%; transform: translateY(-55%); }
  .mainnav.is-dropdown .mega ul.sub { display: none; position: absolute; left: 100%; top: -9px; margin: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 34px -18px rgba(7, 7, 61, .3); padding: 8px 0; z-index: 2; }
  .mainnav.is-dropdown .mega li.has-sub:hover > ul.sub, .mainnav.is-dropdown .mega li.has-sub:focus-within > ul.sub { display: block; }
  .mainnav.is-dropdown .mega ul.sub a { color: var(--text); font-size: .9rem; }
  .mainnav.is-dropdown .mega li.has-sub.flip > ul.sub { left: auto; right: 100%; }
}

/* slider block */
.pb-slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); margin: 0 0 20px; }
.pb-slides { position: relative; }
.pb-slide { position: relative; min-height: var(--pb-slide-min, 0); display: flex; flex-direction: column; }
.pb-slide:not(.pb-bg-none) { padding-left: clamp(18px, 5vw, 64px); padding-right: clamp(18px, 5vw, 64px); }
.pb-slide-top { justify-content: flex-start; } .pb-slide-center { justify-content: center; } .pb-slide-bottom { justify-content: flex-end; }
.pb-slide-inner > :last-child { margin-bottom: 0; }
.pb-slider-slide .pb-slides { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.pb-slider-slide .pb-slide { flex: 0 0 100%; }
.pb-slider-fade .pb-slides { display: grid; }
.pb-slider-fade .pb-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.pb-slider-fade .pb-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; z-index: 1; }
.pb-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: var(--navy-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 18px -8px rgba(7, 7, 61, .4); }
.pb-slider-arrow:hover, .pb-slider-arrow:focus-visible { background: #fff; }
.pb-slider-arrow.is-prev { left: 12px; } .pb-slider-arrow.is-next { right: 12px; }
.pb-slider-dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.pb-slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(17, 19, 47, .3); box-shadow: 0 0 0 2px rgba(255, 255, 255, .75); cursor: pointer; transition: width .2s; }
.pb-slider-dots button[aria-current="true"] { background: var(--navy); width: 26px; border-radius: 999px; box-shadow: 0 0 0 2px #fff; }
.pb-slider:has(.pb-slider-dots) .pb-slide.pb-pad-none, .pb-slider:has(.pb-slider-dots) .pb-slide.pb-pad-small { padding-bottom: 44px; }
.pb-slider:has(.pb-slider-arrow) .pb-slide { padding-left: clamp(48px, 6vw, 72px); padding-right: clamp(48px, 6vw, 72px); }
@media (prefers-reduced-motion: reduce) { .pb-slider-slide .pb-slides, .pb-slider-fade .pb-slide { transition: none; } }
@media (max-width: 640px) { .pb-slider-arrow { width: 36px; height: 36px; font-size: 1.3rem; } .pb-slider-arrow.is-prev { left: 6px; } .pb-slider-arrow.is-next { right: 6px; } }

/* a slider alone in a full-width section goes edge to edge (no side space, no rounded corners) */
.pb-full .pb-span-12 > .pb-slider:only-child { margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
.pb-full .pb-span-12 > .pb-slider:only-child .pb-slide:not(.pb-bg-none) { padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-right: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }

/* Google reCAPTCHA */
.recaptcha-note { margin: 6px 0 10px; font-size: .78rem; }
.recaptcha-box { margin: 4px 0 14px; }
.newsletter form { flex-wrap: wrap; }
.newsletter form .recaptcha-note, .newsletter form .recaptcha-box { flex-basis: 100%; margin: 4px 0 0; }
