:root {
  --ink: #101820;
  --muted: #5c6b75;
  --paper: #f7f5f1;
  --soft: #efece6;
  --line: #d5d0c8;
  --accent: #e8a317;
  --accent-dark: #c4840a;
  --night: #0c1218;
  --night-2: #151d26;
  --steel: #2a3642;
  --danger: #b42318;
  --radius: 2px;
  --shadow: 0 24px 60px rgba(12, 18, 24, .18);
  --font-display: "Syne", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
  --header-offset: 0px;
}

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(232, 163, 23, .08), transparent 55%),
    linear-gradient(180deg, #faf8f4 0%, var(--paper) 40%, #f3f0ea 100%);
  font-family: var(--font-body);
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-dark); }
button, input, select, textarea { font: inherit; }
button, a { transition: color .2s, background-color .2s, border-color .2s, transform .2s, opacity .2s; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: 1000; top: 8px; left: 8px;
  padding: 10px 16px; background: var(--accent); color: var(--night);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px;
  padding: 11px 22px; border: 1px solid var(--night); border-radius: var(--radius);
  background: var(--night); color: #fff; font-weight: 650; cursor: pointer;
}
.button:hover { background: var(--steel); color: var(--accent); border-color: var(--steel); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.button--ghost:hover { color: var(--ink); background: var(--soft); }
.button--small { min-height: 38px; padding: 7px 14px; font-size: .88rem; }
.button--full { width: 100%; }
.text-button { padding: 0; border: 0; background: none; color: var(--ink); font-size: .84rem; font-weight: 650; text-decoration: underline; cursor: pointer; }
.text-button--danger { color: var(--danger); }
.text-link {
  border-bottom: 1px solid currentColor;
  font-size: .82rem; font-weight: 650;
}
.back-link { font-weight: 650; }

/* Top bar + header */
.topbar {
  background: var(--night);
  color: #b8c2cb;
  font-size: .72rem;
  letter-spacing: .04em;
}
.topbar__inner {
  display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar__promo { margin: 0; color: var(--accent); font-weight: 650; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar__links a:hover { color: #fff; }

.site-header {
  position: sticky; z-index: 100; top: 0;
  border-bottom: 1px solid rgba(213, 208, 200, .85);
  background: rgba(247, 245, 241, .94);
  backdrop-filter: blur(16px);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(12, 18, 24, .08); background: rgba(247, 245, 241, .98); }
.site-header__row {
  display: flex; min-height: 78px; align-items: center; gap: 24px;
}
.brandmark {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px;
  color: var(--ink); line-height: 1;
}
.brandmark:hover { color: var(--ink); }
.brandmark__mark {
  display: grid; width: 40px; height: 40px; place-items: center;
  background: var(--night); color: var(--accent);
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 800;
}
.brandmark__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 800; letter-spacing: .04em;
}
.brandmark__text small {
  display: block; margin-top: 4px; color: var(--muted);
  font-size: .48rem; font-weight: 700; letter-spacing: .2em;
}
.brandmark--footer { color: #fff; }
.brandmark--footer .brandmark__mark { background: var(--accent); color: var(--night); }
.brandmark--footer .brandmark__text small { color: #8b98a2; }

.header-search {
  display: flex; flex: 1; max-width: 480px; height: 44px;
  border: 1px solid var(--line); background: #fff;
}
.header-search input {
  min-width: 0; flex: 1; padding: 8px 14px; border: 0; outline: 0; background: transparent; font-size: .88rem;
}
.header-search button {
  padding: 0 16px; border: 0; border-left: 1px solid var(--line);
  background: var(--soft); font-size: .78rem; font-weight: 700; cursor: pointer;
}
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.icon-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 650; white-space: nowrap;
}
.icon-link > span:first-child { font-size: 1.15rem; }
.cart-count {
  display: grid; width: 19px; height: 19px; place-items: center;
  border-radius: 50%; background: var(--accent); color: var(--night); font-size: .67rem; font-weight: 800;
}
.account-menu { display: flex; align-items: center; gap: 8px; }
.account-menu form { line-height: 1; }

.site-header__nav {
  border-top: 1px solid var(--line);
  background: var(--night);
}
.site-header__nav-inner {
  display: flex; align-items: stretch; gap: 8px; min-height: 48px;
}
.header-quick {
  display: inline-flex; align-items: center; padding: 0 14px;
  color: #c5ced6; font-size: .78rem; font-weight: 650;
}
.header-quick:hover { color: var(--accent); }

.storefront-menu--mobile { display: none; }
.storefront-menu__root,
.storefront-menu__children { margin: 0; padding: 0; list-style: none; }
.storefront-menu--desktop > .storefront-menu__root { display: flex; align-items: stretch; min-height: 48px; }
.storefront-menu__item { position: relative; }
.storefront-menu__item > a,
.storefront-menu__item > button,
.storefront-menu__item > span {
  display: flex; align-items: center; min-height: 48px; padding: 0 14px;
  color: #c5ced6; font-size: .78rem; font-weight: 650; white-space: nowrap;
}
.storefront-menu__item > button { border: 0; background: transparent; cursor: default; }
.storefront-menu__item > a:hover,
.storefront-menu__item > a:focus-visible { color: var(--accent); }
.storefront-menu--desktop .storefront-menu__children {
  display: none; position: absolute; z-index: 45; top: 100%; left: 0; min-width: 220px;
  padding: 8px; border: 1px solid var(--line); border-radius: 0 0 10px 10px;
  background: var(--night); box-shadow: 0 18px 35px rgba(0,0,0,.28);
}
.storefront-menu--desktop .storefront-menu__children .storefront-menu__children { top: -9px; left: 100%; border-radius: 10px; }
.storefront-menu--desktop .storefront-menu__item:hover > .storefront-menu__children,
.storefront-menu--desktop .storefront-menu__item:focus-within > .storefront-menu__children { display: block; }
.storefront-menu--desktop .storefront-menu__children a,
.storefront-menu--desktop .storefront-menu__children span { min-height: 38px; }
.storefront-menu--desktop .storefront-menu__item--mobile-only { display: none; }

/* EGC category navigation — three-level desktop hierarchy */
.category-nav { position: relative; }
.category-nav__toggle {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 0 18px; border: 0; background: var(--accent); color: var(--night);
  font-family: var(--font-display); font-size: .82rem; font-weight: 750; cursor: pointer;
}
.category-nav__toggle-icon { display: grid; gap: 3px; width: 16px; }
.category-nav__toggle-icon i {
  display: block; height: 2px; background: var(--night);
}
.category-nav__chevron {
  width: 7px; height: 7px; margin-left: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.category-nav.is-open .category-nav__chevron { transform: rotate(-135deg) translateY(-1px); }

.category-nav__panel {
  position: absolute; z-index: 120; top: 100%; left: 0;
  min-width: min(920px, calc(100vw - 40px));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  animation: panelIn .22s ease;
}
.category-nav__panel[hidden] { display: none !important; }
.category-nav__empty { margin: 0; padding: 24px; color: var(--muted); }

.category-nav__desktop { display: grid; grid-template-columns: 260px 1fr; min-height: 360px; }
.category-nav__l1 {
  margin: 0; padding: 10px 0; list-style: none;
  background: var(--night-2); border-right: 1px solid #24303a;
}
.category-nav__l1-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 18px; color: #d5dde4; font-size: .86rem; font-weight: 600;
}
.category-nav__l1-item.is-active > .category-nav__l1-link,
.category-nav__l1-link:hover { background: var(--night); color: var(--accent); }
.category-nav__arrow {
  width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}
.category-nav__flyout { padding: 22px 24px 28px; }
.category-nav__flyout[hidden] { display: none !important; }
.category-nav__flyout-head {
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.category-nav__flyout-head a {
  font-family: var(--font-display); font-size: .95rem; font-weight: 700;
}
.category-nav__flyout-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px;
}
.category-nav__l2-link {
  display: block; margin-bottom: 8px;
  font-size: .88rem; font-weight: 700; color: var(--ink);
}
.category-nav__l3 {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 6px;
}
.category-nav__l3 a {
  color: var(--muted); font-size: .78rem;
}
.category-nav__l3 a:hover { color: var(--accent-dark); }

.category-nav__mobile { display: none; }
.category-acc { margin: 0; padding: 8px 0; list-style: none; }
.category-acc__row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-bottom: 1px solid var(--line);
}
.category-acc__row > a {
  flex: 1; padding: 14px 16px; font-size: .9rem; font-weight: 650;
}
.category-acc__btn {
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.category-acc__btn::before,
.category-acc__btn::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%);
}
.category-acc__btn::after { transform: translate(-50%, -50%) rotate(90deg); }
.category-acc__btn.is-open::after { opacity: 0; }
.category-acc__l2,
.category-acc__l3 { margin: 0; padding: 0; list-style: none; background: var(--soft); }
.category-acc__l2 .category-acc__row > a { padding-left: 28px; font-size: .84rem; }
.category-acc__l3 a {
  display: block; padding: 10px 16px 10px 42px;
  color: var(--muted); font-size: .8rem; border-bottom: 1px solid var(--line);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.storefront-alert {
  position: fixed; z-index: 110; top: 140px; left: 50%;
  width: auto; transform: translateX(-50%); box-shadow: var(--shadow);
}

/* Hero — full bleed */
.hero {
  position: relative; isolation: isolate;
  min-height: min(78vh, 760px);
  display: grid; align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -1;
}
.hero__media img,
.hero__fallback {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__fallback {
  background:
    linear-gradient(135deg, #1a2430 0%, #0c1218 45%, #243445 100%),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(232,163,23,.04) 18px 19px);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,18,24,.88) 0%, rgba(12,18,24,.55) 48%, rgba(12,18,24,.28) 100%),
    linear-gradient(180deg, rgba(12,18,24,.15) 0%, rgba(12,18,24,.55) 100%);
}
.hero__content {
  padding: 120px 0 88px;
  max-width: 720px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero.is-ready .hero__content { opacity: 1; transform: none; }
.brand-signal {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: .9;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
}
.hero__lead {
  max-width: 34rem;
  margin: 0;
  color: #c9d2da;
  font-size: 1.05rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__actions .button:not(.button--ghost) {
  border-color: var(--accent); background: var(--accent); color: var(--night);
}
.hero__actions .button:not(.button--ghost):hover {
  background: #f0b83d; border-color: #f0b83d; color: var(--night);
}
.hero__actions .button--ghost {
  color: #fff; border-color: rgba(255,255,255,.45);
}
.hero__actions .button--ghost:hover {
  background: rgba(255,255,255,.08); color: #fff;
}

.section { padding-block: 88px; }
.section--featured { background: transparent; }
.section-heading {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 32px;
}
.section-heading h2,
.solution-panel h2,
.contact-info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid var(--line); background: #fff; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card__media {
  position: relative; display: grid; overflow: hidden; aspect-ratio: 1; place-items: center; background: var(--soft);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card__media img { transform: scale(1.03); }
.product-card__placeholder {
  display: grid; width: 100%; height: 100%; place-content: center;
  color: var(--steel); font-family: var(--font-display); font-weight: 800; letter-spacing: .12em;
  background: linear-gradient(145deg, #e8e4dc, #f5f2ec);
}
.product-card__placeholder span { color: var(--accent-dark); font-size: .75rem; text-align: center; }
.product-card__placeholder--large { min-height: 500px; font-size: 2rem; }
.product-card__badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 8px;
  background: var(--accent); color: var(--night); font-size: .65rem; font-weight: 800; text-transform: uppercase;
}
.product-card__body { padding: 18px; }
.product-card h3 { min-height: 45px; margin: 0 0 16px; font-size: .95rem; font-weight: 650; line-height: 1.4; }
.product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.product-card__footer strong, .product-card__footer del { display: block; }
.product-card__footer strong { font-size: 1rem; }
.product-card__footer del { color: #8b989e; font-size: .72rem; }
.stock { font-size: .65rem; font-weight: 750; }
.stock--yes { color: #3f6b2a; }
.stock--no { color: var(--danger); }

.page-hero { padding: 72px 0; background: linear-gradient(180deg, var(--soft), transparent); }
.page-hero--compact { padding: 48px 0; }
.page-hero h1 {
  max-width: 850px; margin: 4px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 750; letter-spacing: -.04em; line-height: 1.02;
}
.page-hero p:last-child { max-width: 690px; margin-bottom: 0; color: var(--muted); }
.page-hero__center { text-align: center; }
.page-hero__center p { margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; color: var(--muted); font-size: .72rem; }
.breadcrumbs a { color: var(--ink); }
.catalog-layout { display: grid; grid-template-columns: 235px 1fr; gap: 46px; padding-block: 60px 100px; }
.filters { align-self: start; padding: 22px; border: 1px solid var(--line); background: #fff; }
.filters form { display: grid; gap: 11px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filter-heading h2 { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }
.filter-heading a { font-size: .72rem; text-decoration: underline; }
.filters label, .filters legend, .form-panel label, .contact-form label, .tracking-form label {
  margin: 7px 0 0; color: #34464e; font-size: .73rem; font-weight: 650;
}
.filters input:not([type=checkbox]), .filters select,
.form-panel input:not([type=checkbox]):not([type=radio]), .form-panel textarea,
.contact-form input, .contact-form textarea, .tracking-form input {
  width: 100%; min-height: 45px; padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.filters fieldset { padding: 0; border: 0; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.results-toolbar p { margin: 0; color: var(--muted); font-size: .8rem; }
.results-toolbar form { display: flex; align-items: center; gap: 10px; }
.results-toolbar label { font-size: .75rem; }
.results-toolbar select { padding: 8px 28px 8px 10px; border: 1px solid var(--line); background: #fff; }
.product-grid--catalog { grid-template-columns: repeat(3, 1fr); }
.empty-state {
  display: grid; min-height: 310px; place-content: center; justify-items: center;
  padding: 35px; border: 1px dashed var(--line); text-align: center; background: #fff;
}
.empty-state > span { color: var(--accent-dark); font-size: 2.7rem; }
.empty-state h2 { margin: 10px 0 4px; font-family: var(--font-display); }
.empty-state p { max-width: 520px; color: var(--muted); }
.empty-state--wide { grid-column: 1 / -1; margin-block: 60px; }
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 45px; }
.pagination a {
  display: grid; width: 39px; height: 39px; place-items: center;
  border: 1px solid var(--line); background: #fff; font-size: .8rem;
}
.pagination a.is-current { border-color: var(--night); background: var(--night); color: #fff; }

.product-page { padding-block: 34px 80px; }
.product-detail { display: grid; grid-template-columns: 1.12fr .88fr; gap: 70px; }
.product-gallery__main { display: grid; overflow: hidden; aspect-ratio: 1; place-items: center; background: #fff; border: 1px solid var(--line); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs { display: flex; gap: 9px; margin-top: 10px; }
.product-gallery__thumbs button { width: 76px; height: 76px; padding: 3px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.product-gallery__thumbs button:hover { border-color: var(--ink); }
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 22px; }
.product-info h1 {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 750; letter-spacing: -.04em; line-height: 1.05;
}
.product-sku { color: var(--muted); font-size: .75rem; }
.product-price { display: flex; align-items: baseline; gap: 12px; margin: 25px 0; }
.product-price strong { font-size: 1.8rem; }
.product-price del { color: #849198; }
.product-description { color: var(--muted); white-space: pre-line; }
.add-to-cart fieldset { padding: 0; margin: 30px 0 20px; border: 0; }
.add-to-cart legend { margin-bottom: 10px; font-size: .78rem; font-weight: 750; }
.variant-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.variant-option { cursor: pointer; }
.variant-option input { position: absolute; opacity: 0; }
.variant-option > span {
  display: flex; min-height: 58px; flex-direction: column; justify-content: center;
  padding: 8px 12px; border: 1px solid var(--line); background: #fff;
}
.variant-option input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.variant-option small { color: var(--muted); font-size: .68rem; }
.variant-option.is-disabled { opacity: .45; cursor: not-allowed; }
.add-to-cart__row { display: grid; grid-template-columns: 65px 80px 1fr; align-items: center; gap: 8px; }
.add-to-cart__row label { font-size: .76rem; font-weight: 650; }
.add-to-cart__row input { height: 48px; padding: 8px; border: 1px solid var(--line); text-align: center; background: #fff; }
.purchase-benefits {
  display: grid; padding: 20px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line);
  gap: 7px; list-style: none; color: var(--muted); font-size: .75rem;
}
.purchase-benefits span { color: var(--accent-dark); }
.specifications { display: grid; grid-template-columns: .6fr 1.4fr; gap: 70px; border-top: 1px solid var(--line); }
.specifications dl { margin: 0; }
.specifications dl div {
  display: grid; grid-template-columns: 1fr 1.5fr; padding: 13px 0;
  border-bottom: 1px solid var(--line); font-size: .82rem;
}
.specifications dd { margin: 0; color: var(--muted); }

.cart-layout, .checkout-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 50px;
  padding-block: 55px 100px; align-items: start;
}
.cart-line {
  position: relative; display: grid; grid-template-columns: 130px 1fr 110px; gap: 20px;
  padding: 22px 70px 22px 0; border-bottom: 1px solid var(--line);
}
.cart-line__image { display: grid; aspect-ratio: 1; place-items: center; background: #fff; border: 1px solid var(--line); }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__content h2 { margin: 0; font-size: 1rem; }
.cart-line__content p { margin: 2px 0; color: var(--muted); font-size: .73rem; }
.cart-line__actions { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.cart-line__actions form:first-child { display: grid; grid-template-columns: auto 58px; align-items: center; gap: 5px; }
.cart-line__actions label { font-size: .7rem; }
.cart-line__actions input { width: 58px; padding: 5px; border: 1px solid var(--line); }
.cart-line__total { position: absolute; right: 0; top: 24px; font-size: .9rem; }
.cart-items > .back-link { display: inline-block; margin-top: 28px; }
.order-summary { position: sticky; top: 120px; padding: 28px; background: #fff; border: 1px solid var(--line); }
.order-summary h2 { margin: 0 0 20px; font-family: var(--font-display); font-size: 1.5rem; }
.order-summary dl { margin: 0 0 23px; }
.order-summary dl div { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); font-size: .78rem; }
.order-summary dd { margin: 0; color: var(--ink); font-weight: 700; }
.order-summary dl .order-summary__total {
  margin-top: 10px; padding-top: 17px; border-top: 1px solid var(--line);
  color: var(--ink); font-size: .95rem; font-weight: 800;
}
.order-summary__total dd { font-size: 1.2rem; }
.secure-note { margin: 14px 0 0; color: var(--muted); font-size: .66rem; text-align: center; }
.checkout-heading { background: var(--night); color: #fff; }
.checkout-heading p, .checkout-heading .breadcrumbs { color: #aab8bd; }
.checkout-heading .breadcrumbs a { color: #fff; }
.checkout-layout { grid-template-columns: 1fr 380px; }
.checkout-form { display: grid; gap: 15px; }
.form-panel { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.form-panel__number {
  display: grid; width: 38px; height: 38px; place-items: center;
  background: var(--night); color: var(--accent); font-weight: 800;
}
.form-panel h2 { margin: 2px 0 20px; font-family: var(--font-display); font-size: 1.3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid > div { display: flex; flex-direction: column; }
.form-grid__full { grid-column: 1 / -1; }
.field-validation-error, .validation-summary { color: var(--danger); font-size: .72rem; }
.validation-summary:empty { display: none; }
.payment-options { display: grid; gap: 8px; }
.payment-options label { display: flex; align-items: center; gap: 12px; padding: 13px; border: 1px solid var(--line); cursor: pointer; background: #fff; }
.payment-options span { display: flex; flex-direction: column; }
.payment-options small { color: var(--muted); font-weight: 400; }
.checkout-lines { max-height: 220px; overflow: auto; margin-bottom: 15px; }
.checkout-lines > div {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .74rem;
}
.checkout-lines span, .checkout-lines small { display: block; }
.checkout-lines small { color: var(--muted); }
.terms-check { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; font-size: .7rem; }
.terms-check a { text-decoration: underline; }

.success-page {
  display: grid; min-height: 620px; place-content: center; justify-items: center;
  padding-block: 80px; text-align: center;
}
.success-page__icon {
  display: grid; width: 74px; height: 74px; margin-bottom: 24px; place-items: center;
  border-radius: 50%; background: var(--accent); font-size: 2rem; font-weight: 900;
}
.success-page h1 {
  margin: 0; font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -.04em;
}
.success-page > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.success-page__total {
  display: flex; min-width: 320px; justify-content: space-between;
  padding: 18px; margin: 15px; background: #fff; border: 1px solid var(--line);
}
.success-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 45px; padding-block: 60px 100px; }
.account-nav { display: flex; align-self: start; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.account-nav a { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: .8rem; font-weight: 650; }
.account-nav a.is-active { background: var(--night); color: #fff; }
.account-content { display: grid; gap: 35px; }
.info-panel { padding: 30px; background: #fff; border: 1px solid var(--line); }
.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: #fff; }
.account-cards div { display: flex; min-height: 100px; flex-direction: column; justify-content: center; padding: 20px; }
.account-cards div + div { border-left: 1px solid var(--line); }
.account-cards span { color: var(--muted); font-size: .72rem; }
.account-orders .section-heading { margin-bottom: 15px; }
.account-orders h2 { margin: 0; font-family: var(--font-display); font-size: 1.4rem; }
.order-row {
  display: grid; grid-template-columns: 1fr 140px 120px; align-items: center;
  padding: 17px 0; border-bottom: 1px solid var(--line); font-size: .8rem;
}
.order-row small, .order-row span:first-child { display: block; }
.order-row small { color: var(--muted); }
.orders-page { padding-block: 50px 100px; }
.order-card { margin-bottom: 18px; padding: 24px; border: 1px solid var(--line); background: #fff; }
.order-card header {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.order-card header div { display: flex; flex-direction: column; }
.order-card header span { color: var(--muted); font-size: .68rem; }
.status-pill {
  display: inline-flex; width: fit-content; padding: 4px 9px;
  border-radius: 2px; background: #f3e2b8; color: #7a5600; font-size: .7rem;
}
.order-card__items { margin-block: 15px; }
.order-card__items p { display: flex; justify-content: space-between; margin: 0; padding: 8px 0; font-size: .78rem; }
.order-card__items small { display: block; color: var(--muted); }
.tracking-form {
  display: grid; max-width: 760px; grid-template-columns: 1fr 1fr auto; align-items: end;
  gap: 8px; margin: 30px auto 0; padding: 18px; background: #fff; box-shadow: var(--shadow); text-align: left;
}
.tracking-form > div { display: flex; flex-direction: column; }
.tracking-result { padding-block: 60px 100px; }
.tracking-result__header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 25px; border-bottom: 1px solid var(--line);
}
.tracking-result h2 { margin: 0; font-family: var(--font-display); }
.tracking-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 0; margin: 0;
  list-style: none;
}
.tracking-steps li {
  position: relative; display: grid; justify-items: center; gap: 8px;
  color: #8a979c; font-size: .75rem;
}
.tracking-steps li::before {
  position: absolute; z-index: -1; top: 18px; right: 50%; left: -50%;
  height: 2px; background: var(--line); content: "";
}
.tracking-steps li:first-child::before { display: none; }
.tracking-steps span {
  display: grid; width: 37px; height: 37px; place-items: center;
  border-radius: 50%; background: var(--line);
}
.tracking-steps .is-complete { color: var(--ink); }
.tracking-steps .is-complete::before,
.tracking-steps .is-complete span { background: var(--accent); }

.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 75px; padding-block: 80px 110px; }
.contact-info > p { color: var(--muted); }
.contact-info dl { margin: 35px 0; }
.contact-info dl div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-info dt { color: var(--muted); font-size: .69rem; }
.contact-info dd { margin: 0; font-weight: 650; }
.contact-note {
  display: flex; flex-direction: column; padding: 20px;
  border-left: 3px solid var(--accent); background: #fff; font-size: .8rem;
}
.contact-form { padding: 35px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.contact-form h2 { margin-top: 0; font-family: var(--font-display); font-size: 1.7rem; }
.contact-form .button { margin-top: 18px; }
.contact-form > small { display: block; margin-top: 12px; color: var(--muted); }
.contact-form > small a { text-decoration: underline; }
.honeypot { position: absolute !important; left: -10000px !important; }
.legal-page { max-width: 850px; padding-block: 65px 100px; }
.legal-page section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.legal-page h2 { font-family: var(--font-display); font-size: 1.3rem; }
.legal-page p, .cms-content { color: #4f6068; }
.cms-content { white-space: pre-line; }
.legal-page__updated { margin-top: 30px; font-size: .75rem; }
.legal-callout { padding: 20px; margin-top: 30px; border-left: 3px solid var(--accent); background: #fff; }

.site-footer { padding: 65px 0 25px; background: var(--night); color: #d8e0e2; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 55px; }
.footer-grid p { max-width: 330px; color: #84959c; font-size: .78rem; }
.footer-grid h2 {
  margin: 0 0 18px; color: #fff;
  font-family: var(--font-display); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase;
}
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid a:not(.button):not(.brandmark) { color: #9cabb0; font-size: .76rem; }
.footer-grid .button--ghost { border-color: #43535a; color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; padding-top: 25px; margin-top: 50px;
  border-top: 1px solid #26363d; color: #708188; font-size: .67rem;
}
.cookie-banner {
  position: fixed; z-index: 200; right: 20px; bottom: 20px;
  display: flex; width: min(480px, calc(100% - 40px)); align-items: center; gap: 20px;
  padding: 18px; background: #fff; box-shadow: 0 12px 60px rgba(0,0,0,.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; font-size: .72rem; }
.cookie-banner a { text-decoration: underline; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid .product-card:nth-child(n+7) { display: none; }
  .category-nav__flyout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .header-search { max-width: none; }
  .site-header__row { flex-wrap: wrap; min-height: auto; padding-block: 14px; gap: 12px; }
  .brandmark { order: 1; }
  .header-actions { order: 2; margin-left: auto; }
  .header-search { order: 3; flex: 1 1 100%; }
  .site-header__nav-inner { flex-wrap: wrap; gap: 0; }
  .header-quick { display: none; }
  .category-nav { flex: 1 1 50%; }
  .category-nav__toggle { width: 100%; justify-content: center; }
  .storefront-menu--desktop { display: none; }
  .storefront-menu--mobile { display: block; position: relative; flex: 1 1 50%; }
  .storefront-menu--mobile details > summary {
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px;
    color: #c5ced6; font-family: var(--font-display); font-size: .82rem; font-weight: 750; cursor: pointer;
  }
  .storefront-menu--mobile details > .storefront-menu__root {
    position: absolute; z-index: 44; top: 100%; right: 0; width: min(90vw, 360px); max-height: 65vh;
    overflow: auto; padding: 10px; border: 1px solid var(--line); border-radius: 0 0 12px 12px;
    background: var(--night); box-shadow: 0 18px 35px rgba(0,0,0,.28);
  }
  .storefront-menu--mobile .storefront-menu__children { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.12); }
  .storefront-menu--mobile .storefront-menu__item > a,
  .storefront-menu--mobile .storefront-menu__item > button,
  .storefront-menu--mobile .storefront-menu__item > span { min-height: 42px; white-space: normal; }
  .storefront-menu--mobile .storefront-menu__item--desktop-only { display: none; }
  .category-nav__panel {
    position: fixed; inset: auto 0 0 0; top: auto;
    min-width: 100%; max-height: min(70vh, 560px); overflow: auto;
    border-radius: 12px 12px 0 0;
  }
  .category-nav__desktop { display: none; }
  .category-nav__mobile { display: block; }
  .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__content { padding: 100px 0 64px; }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, 1200px); }
  .topbar__promo { display: none; }
  .icon-link__label { display: none; }
  .brand-signal { font-size: clamp(2.4rem, 14vw, 3.6rem); }
  .hero { min-height: 70vh; }
  .section { padding-block: 56px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-grid, .product-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card__body { padding: 13px; }
  .product-card h3 { font-size: .82rem; }
  .product-card__footer { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 48px 0; }
  .specifications { grid-template-columns: 1fr; gap: 20px; }
  .variant-list { grid-template-columns: 1fr; }
  .add-to-cart__row { grid-template-columns: 52px 62px 1fr; }
  .cart-line { grid-template-columns: 90px 1fr; padding-right: 0; }
  .cart-line__actions { grid-column: 2; }
  .cart-line__total { position: static; grid-column: 2; }
  .form-panel { grid-template-columns: 1fr; padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { flex-direction: row; overflow-x: auto; }
  .account-cards { grid-template-columns: 1fr; }
  .account-cards div + div { border-top: 1px solid var(--line); border-left: 0; }
  .order-card header { grid-template-columns: 1fr 1fr; }
  .tracking-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .hero__content { opacity: 1; transform: none; }
}
