:root {
  /* Brand / surfaces — Stitch high-performance-tech + EGC industrial shell */
  --color-primary: #b50038;
  --color-primary-bright: #e40045;
  --color-primary-deep: #750024;
  --color-secondary: #3b373d;
  --ink: #1d1b1f;
  --muted: #655f66;
  --paper: #f8f7f6;
  --soft: #f1eef0;
  --line: #ded9dd;
  --line-strong: #8a8289;
  --accent: var(--color-primary-bright);
  --accent-dark: var(--color-primary);
  --night: #171519;
  --night-2: #221f24;
  --steel: #363139;
  --danger: #ba1a1a;
  --surface-white: #ffffff;
  --radius: 6px;
  --radius-md: 14px;
  --shadow: 0 24px 60px rgba(29, 27, 31, .16);
  --shadow-sm: 0 10px 28px rgba(29, 27, 31, .08);
  --container-max: 1280px;
  --container-gutter: 40px;
  --section-space: 88px;
  --section-space-sm: 56px;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, sans-serif;
  --fs-xs: .72rem;
  --fs-sm: .84rem;
  --fs-md: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.9rem, 3.5vw, 2.8rem);
  --fs-hero: clamp(2.2rem, 5vw, 3.6rem);
  --transition: .22s ease;
  --transition-slow: .45s ease;
  --z-skip: 1000;
  --z-header: 100;
  --z-mobile-nav: 160;
  --z-category: 120;
  --z-alert: 110;
  --header-offset: 0px;
}

/* Category discovery and faceted catalog — admin-driven storefront */
.site-header__nav-inner .category-nav__panel {
  width: min(1170px, calc(100vw - 32px));
  min-height: 540px;
  overflow: hidden;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 22px 55px rgba(18, 25, 33, .18);
}
.category-nav__desktop { grid-template-columns: 230px minmax(0, 1fr); min-height: 540px; max-height: min(640px, calc(100vh - 205px)); }
.category-nav__l1 { overflow-y: auto; padding: 0; scrollbar-width: thin; }
.category-nav__l1-link { min-height: 46px; border-bottom: 1px solid #eeeeee; }
.category-nav__l1-item.is-active > .category-nav__l1-link { background: var(--accent); color: #fff; }
.category-nav__l1-item.is-active > .category-nav__l1-link::before { border-color: #fff; }
.category-nav__flyout { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; height: 100%; padding: 22px; }
.category-nav__flyout-main { min-width: 0; }
.category-nav__flyout-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.category-nav__flyout-head strong { font-size: 1.05rem; }
.category-nav__flyout-head a { color: var(--accent-dark); font-size: .76rem; }
.category-nav__flyout-grid { grid-template-columns: repeat(4, minmax(110px, 1fr)); gap: 18px; }
.category-nav__l2-block { min-width: 0; }
.category-nav__l2-link { display: grid; justify-items: center; gap: 8px; min-height: 156px; margin: 0; padding: 12px 8px; border: 1px solid #ececec; border-radius: 13px; text-align: center; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.category-nav__l2-link:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(255, 142, 21, .12); transform: translateY(-2px); }
.category-nav__thumb { display: grid; width: 90px; height: 82px; place-items: center; overflow: hidden; color: var(--accent-dark); font-size: .72rem; font-weight: 900; }
.category-nav__thumb img { width: 100%; height: 100%; object-fit: contain; }
.category-nav__l2-link > span:not(.category-nav__thumb) { min-width: 0; font-size: .76rem; }
.category-nav__l3 { margin-top: 8px; padding-inline: 5px; }
.category-nav__l3 a { font-size: .68rem; }
.category-nav__promo { display: flex; min-height: 430px; overflow: hidden; border-radius: 12px; }
.category-nav__promo img { width: 100%; height: 100%; object-fit: cover; }
.category-nav__promo--fallback { flex-direction: column; justify-content: flex-end; padding: 26px 20px; background: radial-gradient(circle at 70% 25%, #e90046 0, transparent 26%), linear-gradient(155deg, #11182b, #080b17); color: #fff; }
.category-nav__promo--fallback span { color: var(--accent); font-size: .62rem; font-weight: 900; letter-spacing: .12em; }
.category-nav__promo--fallback strong { margin-block: 8px; font-size: 1.45rem; line-height: 1.05; }
.category-nav__promo--fallback small { color: #d8dce5; }
.category-nav__single-card { display: grid; max-width: 360px; gap: 14px; color: var(--ink); font-weight: 700; }
.category-nav__single-card img { width: 220px; height: 220px; object-fit: contain; }

.catalog-page { background: #f8f8f8; min-height: 70vh; }
.catalog-category-head { padding-block: 26px 18px; }
.catalog-category-head h1 { margin: 26px 0 20px; font-size: clamp(1.55rem, 2vw, 2.15rem); }
.catalog-category-head > p { color: var(--muted); }
.catalog-category-copy { max-width: 1100px; padding-top: 18px; border-top: 1px solid #e4e4e4; }
.catalog-category-copy h2 { margin: 0 0 7px; font-size: .98rem; }
.catalog-category-copy p { margin: 0; color: #606060; font-size: .88rem; line-height: 1.75; }
.catalog-subcategories { display: flex; gap: 12px; margin-top: 24px; overflow-x: auto; padding-bottom: 8px; }
.catalog-subcategories > a { display: flex; min-width: 185px; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid #e7e7e7; border-radius: 999px; background: #fff; }
.catalog-subcategories__media { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; color: var(--accent-dark); font-size: .58rem; font-weight: 900; }
.catalog-subcategories__media img { width: 100%; height: 100%; object-fit: contain; }
.catalog-subcategories a > span:last-child { display: grid; min-width: 0; }
.catalog-subcategories strong { overflow: hidden; font-size: .73rem; text-overflow: ellipsis; white-space: nowrap; }
.catalog-subcategories small { color: var(--muted); font-size: .62rem; }
.catalog-layout--reference { grid-template-columns: 270px minmax(0, 1fr); gap: 24px; padding-block: 0 76px; }
.catalog-facet-panel { padding: 0; border: 0; background: transparent; }
.catalog-facet-panel form { display: grid; gap: 16px; }
.catalog-filter-card {
  min-inline-size: 0;
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 29, 38, .035);
}
.catalog-filter-card > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  color: #262626;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.3;
}
.catalog-filter-card > legend + * { clear: both; }
.catalog-filter-card legend, .catalog-filter-title h2 { margin: 0 0 14px; color: #262626; font-size: .82rem; font-weight: 850; }
.catalog-filter-card.check-row { gap: 10px; padding: 16px 18px; }
.catalog-category-list { display: grid; gap: 2px; max-height: 330px; overflow-y: auto; }
.catalog-category-list a { padding: 4px 0; color: #5f5f5f; font-size: .72rem; }
.catalog-category-list a.is-active, .catalog-category-list a:hover { color: var(--accent-dark); font-weight: 800; }
.facet-search { width: 100%; height: 40px; margin-bottom: 12px; padding: 0 14px; border: 1px solid #e6e6e6; border-radius: 999px; font-size: .72rem; }
.facet-options { display: grid; max-height: 225px; gap: 10px; overflow-y: auto; scrollbar-width: thin; }
.facet-options label { display: flex; align-items: center; gap: 8px; min-height: 22px; color: #606060; font-size: .72rem; cursor: pointer; }
.facet-options input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.facet-options label span { min-width: 0; flex: 1; }
.facet-options label small { color: #8a8a8a; font-size: .64rem; }
.facet-color { width: 10px; height: 10px; border: 1px solid rgba(0,0,0,.13); border-radius: 50%; background: var(--facet-color); }
.catalog-clear { text-align: center; color: var(--accent-dark); font-size: .72rem; font-weight: 800; }
.catalog-toolbar--reference { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 64px; align-items: center; margin-bottom: 16px; padding: 8px 20px; border: 0; border-radius: 32px; background: #fff; box-shadow: 0 3px 12px rgba(20,29,38,.06); }
.catalog-toolbar--reference .catalog-sort { justify-self: start; }
.catalog-toolbar--reference select { min-width: 190px; border: 0; background: transparent; color: var(--accent-dark); font-size: .74rem; font-weight: 750; }
.catalog-toolbar--reference > p { margin: 0; color: #555; font-size: .72rem; }
.catalog-view-icons { display: flex; justify-self: end; align-items: center; gap: 6px; font-size: .68rem; }
.catalog-view-icons button { border: 0; background: transparent; color: #cfcfcf; font-size: 1.1rem; }
.catalog-view-icons button.is-active { color: var(--accent); }
.catalog-page .product-grid--catalog { gap: 14px; }
.catalog-page .product-grid--catalog .product-card { min-width: 0; border: 0; border-radius: 14px; box-shadow: 0 3px 12px rgba(20,29,38,.07); }
.catalog-page .product-card__media { aspect-ratio: 1 / 1.04; background: #fff; }
.catalog-page .product-card__brand { color: var(--accent-dark); }
.catalog-page .product-card__title { min-height: 2.9em; font-size: .82rem; }
.catalog-page .product-card__quick-add button, .catalog-page .product-card__quick-add--link { border-radius: 8px; }
@media (max-width: 1180px) { .category-nav__flyout-grid { grid-template-columns: repeat(3,minmax(105px,1fr)); } .category-nav__flyout { grid-template-columns: minmax(0,1fr) 160px; } }
@media (max-width: 980px) { .catalog-layout--reference { grid-template-columns: 1fr; } .catalog-filters__summary { display:flex; } .catalog-facet-panel { padding-top: 12px; } }
@media (max-width: 720px) { .catalog-category-head { padding-block:18px 10px; } .catalog-subcategories > a { min-width:155px; } .catalog-toolbar--reference { grid-template-columns:1fr auto; border-radius:14px; } .catalog-toolbar--reference > p { display:none; } .catalog-view-icons span { display:none; } }

* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  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 var(--transition), background-color var(--transition), border-color var(--transition), transform var(--transition), opacity var(--transition); }
: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(var(--container-max), calc(100% - var(--container-gutter))); margin-inline: auto; }
.skip-link {
  position: fixed; z-index: var(--z-skip); top: 8px; left: 8px;
  padding: 10px 16px; background: var(--night); color: #fff;
  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: linear-gradient(90deg, #101433 0%, #351063 55%, #61107d 100%);
  color: rgba(255,255,255,.82);
  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: #fff; font-weight: 650; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 18px; }
.topbar__links a:hover { color: #fff; }

.storefront-utility {
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: .74rem;
}
.storefront-utility__inner {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.storefront-utility__left,
.storefront-utility__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.storefront-utility a { color: inherit; font-weight: 600; }
.storefront-utility a:hover { color: var(--ink); }
.storefront-utility__currency { font-weight: 700; color: var(--ink); }

@media (max-width: 720px) {
  .storefront-utility { display: none; }
  .site-header__categories { display: none; }
  .header-search { max-width: none; }
}

.site-header__categories {
  flex: 0 0 auto;
}
.site-header__categories .category-nav__toggle {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 4px;
  background: var(--accent);
  color: #fff;
  border: 0;
  font-weight: 700;
}
.site-header__categories .category-nav__toggle:hover { filter: brightness(1.05); color: #fff; }

.header-search {
  display: flex; flex: 1; max-width: 640px; height: 44px;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff;
}
.header-search input {
  min-width: 0; flex: 1; padding: 8px 18px; border: 0; outline: 0; background: transparent; font-size: .88rem;
}
.header-search button {
  min-width: 52px; padding: 0 16px; border: 0;
  background: var(--accent); color: #fff; font-size: 1rem; font-weight: 700; cursor: pointer;
}

.site-header {
  position: sticky; z-index: var(--z-header); top: 0;
  border-bottom: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition), background-color var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, .98); }
.site-header__row {
  display: flex; min-height: 78px; align-items: center; gap: 18px;
}

.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__logo {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
}
.brandmark__logo--footer {
  width: 140px;
}
.brandmark--footer {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  background: #fff;
  border-radius: 2px;
}
.brandmark--footer .brandmark__mark { background: var(--accent); color: var(--night); }
.brandmark--footer .brandmark__text { color: var(--ink); }
.brandmark--footer .brandmark__text small { color: var(--muted); }

.header-actions { display: flex; align-items: center; gap: 12px; 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; }
.icon-link__icon {
  display: grid; width: 28px; height: 28px; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: #fff;
}
.icon-link__icon svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon-link__icon--wa svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.header-cta--phone span:first-child,
.header-cta--wa span:first-child {
  display: grid; width: 28px; height: 28px; place-items: center;
  border-radius: 50%; background: var(--night); color: #fff;
  font-size: .72rem; font-weight: 800;
}
.header-cta--wa span:first-child { background: #128c7e; color: #fff; font-size: .62rem; }
.nav-burger {
  display: none; width: 42px; height: 42px; padding: 0; border: 1px solid var(--line);
  background: var(--surface-white); cursor: pointer; position: relative;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block; width: 18px; height: 2px; margin: 0 auto;
  background: var(--ink); position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: ""; position: absolute; left: 0;
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.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: inherit; }
.account-menu__logout { display: flex; margin: 0; }
.header-actions button.icon-link {
  padding: 0; border: 0; background: transparent; cursor: pointer;
  font: inherit; color: inherit; text-decoration: none;
}

.mobile-nav {
  position: fixed; inset: 0; z-index: var(--z-mobile-nav); display: grid;
  grid-template-columns: 1fr min(88vw, 360px);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav__backdrop {
  border: 0; padding: 0; background: rgba(12, 18, 24, .48); cursor: pointer;
}
.mobile-nav__panel {
  display: flex; flex-direction: column; background: var(--surface-white);
  box-shadow: var(--shadow); overflow: auto;
}
.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.mobile-nav__close {
  min-height: 40px; padding: 0 12px; border: 1px solid var(--line);
  background: var(--soft); font-weight: 650; cursor: pointer;
}
.mobile-nav__links {
  display: flex; flex-direction: column; padding: 8px 0;
}
.mobile-nav__links a {
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  font-size: .9rem; font-weight: 650;
}
body.is-mobile-nav-open { overflow: hidden; }

.site-header__nav {
  border-top: 0;
  background: linear-gradient(90deg, #101433 0%, #351063 60%, #61107d 100%);
}
.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: rgba(255,255,255,.88); 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: rgba(255,255,255,.9); 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: rgba(255,255,255,.1); color: #fff;
  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: currentColor;
}
.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: var(--z-category); 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: var(--z-alert); top: 140px; left: 50%;
  width: auto; transform: translateX(-50%); box-shadow: var(--shadow);
}

/* Hero — full bleed */
.hero {
  position: relative; isolation: isolate;
  min-height: clamp(510px, 62vh, 590px);
  display: grid; align-items: center;
  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:
    radial-gradient(circle at 82% 22%, rgba(228,0,69,.32), transparent 30%),
    radial-gradient(circle at 64% 88%, rgba(119,38,180,.32), transparent 34%),
    linear-gradient(118deg, #0e1537 0%, #271052 55%, #5e0b72 100%);
}
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9,13,38,.55) 0%, rgba(9,13,38,.12) 68%, rgba(9,13,38,.18) 100%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.025) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(255,255,255,.025) 79px 80px);
}
.hero__content {
  padding: 120px 0 88px;
  max-width: 720px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.hero__content--split {
  display: grid; max-width: none; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr);
  align-items: center; gap: clamp(44px, 7vw, 100px); padding-block: 64px;
}
.hero__copy { max-width: 680px; }
.hero.is-ready .hero__content { opacity: 1; transform: none; }
.brand-signal {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent);
}
.brand-signal::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.2vw, 4rem);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.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: #ff9a33; border-color: #ff9a33; 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;
}
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,.14); list-style: none; color: #bdb7bf;
  font-size: .72rem; font-weight: 650;
}
.hero__proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.hero-retail { position: relative; min-height: 400px; }
.hero-retail__glow {
  position: absolute; inset: 30px 20px 34px; border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle, rgba(255,255,255,.2), rgba(255,255,255,.035) 58%, transparent 60%);
  border: 1px solid rgba(255,255,255,.12); transform: rotate(-6deg);
}
.hero-retail__printer {
  position: absolute; left: 4%; top: 48px; width: 230px; height: 252px;
  border: 12px solid rgba(235,237,246,.92); border-bottom-width: 18px; border-radius: 12px 12px 7px 7px;
  box-shadow: inset 0 0 0 2px rgba(13,18,54,.22), 0 28px 55px rgba(4,6,25,.28);
}
.hero-retail__printer::before {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 22px; height: 12px;
  border-radius: 3px; background: linear-gradient(180deg, #c7cad5, #737887); transform: perspective(60px) rotateX(24deg);
}
.hero-retail__rail { position: absolute; left: 0; right: 0; top: 42px; height: 9px; background: #aeb2c0; }
.hero-retail__head {
  position: absolute; left: 50%; top: 34px; width: 42px; height: 48px; transform: translateX(-50%);
  border-radius: 5px 5px 12px 12px; background: linear-gradient(135deg, #f8f8fb, #8d92a0); box-shadow: 0 8px 16px rgba(0,0,0,.25);
}
.hero-retail__head::after { content: ""; position: absolute; left: 18px; top: 46px; border: 4px solid transparent; border-top: 14px solid #ececf2; }
.hero-retail__print {
  position: absolute; left: 50%; bottom: 37px; width: 78px; height: 76px; transform: translateX(-50%);
  clip-path: polygon(16% 100%, 4% 56%, 25% 8%, 75% 8%, 96% 56%, 84% 100%);
  background: repeating-linear-gradient(0deg, #ed0b50 0 4px, #c1003b 4px 7px); filter: drop-shadow(0 8px 10px rgba(0,0,0,.22));
}
.hero-retail__spools { position: absolute; right: 0; bottom: 48px; display: flex; align-items: flex-end; gap: 8px; }
.hero-retail__spool {
  display: block; width: 92px; height: 92px; border: 22px solid currentColor; border-radius: 50%;
  background: #1b1730; box-shadow: inset 0 0 0 5px rgba(255,255,255,.18), 0 16px 28px rgba(3,5,24,.28);
}
.hero-retail__spool--magenta { color: #f11059; }
.hero-retail__spool--violet { color: #8748db; width: 82px; height: 82px; border-width: 19px; }
.hero-retail__spool--cyan { color: #19b8d3; width: 76px; height: 76px; border-width: 18px; }
.hero-retail__spool--yellow { color: #f4c52f; width: 68px; height: 68px; border-width: 16px; }
.hero-retail__label {
  position: absolute; right: 4px; top: 28px; padding: 13px 17px; border-radius: 8px;
  background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 14px 36px rgba(3,5,24,.2);
}
.hero-retail__label span,
.hero-retail__label strong { display: block; }
.hero-retail__label span { color: var(--accent); font-size: .58rem; font-weight: 800; letter-spacing: .14em; }
.hero-retail__label strong { margin-top: 3px; font-size: .78rem; }

.home-capabilities { border-bottom: 1px solid var(--line); background: #fff; }
.home-capabilities__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-capabilities__grid > a {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; min-height: 104px;
  padding: 20px 22px; border-left: 1px solid var(--line); background: #fff;
}
.home-capabilities__grid > a:last-child { border-right: 1px solid var(--line); }
.home-capabilities__grid > a:hover { color: var(--ink); background: var(--soft); }
.home-capabilities__index { color: var(--accent); font-size: .64rem; font-weight: 800; letter-spacing: .1em; }
.home-capabilities strong,
.home-capabilities small { display: block; }
.home-capabilities strong { font-family: var(--font-display); font-size: .86rem; }
.home-capabilities small { margin-top: 3px; color: var(--muted); font-size: .66rem; line-height: 1.35; }

.section { padding-block: var(--section-space); }
.section--featured { background: transparent; }
.section--categories { background: linear-gradient(180deg, transparent, rgba(255, 241, 233, .7)); }
.section--services { background: var(--surface-white); border-block: 1px solid var(--line); }
.section--order-cta { padding-block: 0 0; }
.section-heading {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 34px;
}
.section-heading > div { position: relative; z-index: 0; }
.section-heading h2,
.solution-panel h2,
.contact-info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.08;
}
.section-heading h2[data-shadow]::before {
  content: attr(data-shadow); position: absolute; z-index: -1; left: -4px; bottom: -5px;
  color: #f0edf0; font-size: clamp(3.2rem, 7vw, 6.4rem); font-weight: 800; line-height: .8;
  letter-spacing: -.06em; white-space: nowrap; pointer-events: none;
}
.eyebrow--light { color: rgba(255, 248, 245, .72); }

.category-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
}
.category-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 140px; padding: 22px;
  border: 1px solid var(--line); background: var(--surface-white);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover {
  color: var(--ink); border-color: var(--accent-dark);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.category-card__name {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.category-card__cta { color: var(--accent-dark); font-size: .78rem; font-weight: 700; }

.service-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.service-card {
  padding: 22px; border: 1px solid var(--line); background: var(--paper);
}
.service-card h3 {
  margin: 0 0 10px; font-family: var(--font-display); font-size: 1rem; font-weight: 700;
}
.service-card p { margin: 0; color: var(--muted); font-size: .84rem; }

.order-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 40px 36px; margin-bottom: var(--section-space);
  background: var(--night); color: #fff;
}
.order-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.order-cta p { margin: 0; max-width: 36rem; color: #b8c2cb; }
.order-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.order-cta__actions .button:not(.button--ghost) {
  border-color: var(--accent); background: var(--accent); color: var(--night);
}
.order-cta__actions .button--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.order-cta__actions .button--ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-grid--catalog { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid--related { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.product-card {
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--surface-white, #fff);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover,
.product-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(24,14,38,.11);
  border-color: #ebe6ea;
}
.product-card__media-link,
.product-card__title-link { color: inherit; }
.product-card__media-link:hover,
.product-card__title-link:hover { color: inherit; }
.product-card__media {
  position: relative;
  display: grid;
  overflow: hidden;
  aspect-ratio: 1;
  place-items: center;
  background: #f7f6f7;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}
.product-card__image--secondary { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .product-card__image--primary { opacity: 0; }
.product-card:hover .product-card__image--secondary { opacity: 1; transform: scale(1.03); }
.product-card:hover .product-card__image--primary:only-child { opacity: 1; 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, var(--soft), var(--paper));
}
.product-card__placeholder span { color: var(--accent-dark); font-size: .75rem; text-align: center; }
.product-card__placeholder--large { min-height: 420px; font-size: 2rem; }
.product-card__badge {
  position: absolute; z-index: 1; top: 12px; left: 12px; padding: 4px 8px;
  border-radius: 999px; background: var(--accent); color: #fff; font-size: .62rem; font-weight: 800; text-transform: uppercase;
}
.product-card__stock {
  position: absolute; z-index: 1; right: 12px; bottom: 12px;
  padding: 4px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); font-size: .65rem; font-weight: 750;
}
.product-card__body {
  display: flex; flex: 1; flex-direction: column; gap: 7px; padding: 14px 8px 18px;
}
.product-card__brand {
  margin: 0; color: var(--muted); font-size: .68rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.product-card__brand--muted { font-weight: 650; letter-spacing: .04em; text-transform: none; }
.product-card__title {
  display: -webkit-box; margin: 0; min-height: 2.8em;
  overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  font-size: .95rem; font-weight: 650; line-height: 1.4;
}
.product-card__rating { display: flex; align-items: center; gap: 7px; min-height: 20px; }
.product-card__rating > span { color: #f5aa18; font-size: .72rem; letter-spacing: .04em; }
.product-card__rating small { color: var(--muted); font-size: .66rem; }
.product-card__options { display: flex; min-height: 24px; align-items: center; gap: 5px; }
.product-card__swatch {
  display: inline-block; width: 18px; height: 18px; border: 2px solid #fff; border-radius: 50%;
  background: var(--swatch); box-shadow: 0 0 0 1px #cfc9ce;
}
.product-card__options small { margin-left: 3px; color: var(--muted); font-size: .67rem; font-weight: 700; }
.product-card__footer { margin-top: auto; }
.price-block__prefix { width: 100%; color: var(--muted); font-size: .66rem; }
.product-card__quick-add { margin-top: 8px; }
.product-card__quick-add button,
.product-card__quick-add--link {
  display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between;
  padding: 9px 12px; border: 1px solid #2c0f55; border-radius: 8px;
  background: #2c0f55; color: #fff; font-size: .76rem; font-weight: 750; cursor: pointer;
}
.product-card__quick-add button:hover,
.product-card__quick-add--link:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.product-card__quick-add button span,
.product-card__quick-add--link span { font-size: 1rem; line-height: 1; }
.price-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.price-block__values { display: grid; gap: 2px; min-width: 0; }
.price-block__current {
  display: block; overflow-wrap: anywhere;
  font-size: 1rem; font-weight: 750; color: var(--accent-dark);
}
.price-block__compare {
  display: block; color: var(--muted); font-size: .72rem;
}
.stock { font-size: .65rem; font-weight: 750; }
.stock--yes { color: #3f6b2a; }
.stock--no { color: var(--danger); }

.page-hero { padding: 64px 0; background: #f8f7f8; border-bottom: 1px solid #f0ecef; }
.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; }
.catalog-query { margin: 0; color: var(--muted); font-size: 1.05rem; }
.catalog-query__term { color: var(--ink); font-weight: 700; }
.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: minmax(220px, 260px) minmax(0, 1fr);
  gap: 44px;
  padding-block: 48px 100px;
  align-items: start;
}
.catalog-filters { border: 0; }
.catalog-filters__summary {
  display: none;
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--surface-white, #fff);
  font-weight: 700;
}
.catalog-filters__summary::-webkit-details-marker { display: none; }
.catalog-filters__summary {
  align-items: center; justify-content: space-between; gap: 12px;
}
.catalog-filters__hint {
  color: var(--accent-dark); font-size: .72rem; font-weight: 650;
}
.filters {
  padding: 0 26px 0 0;
  border: 0; border-right: 1px solid #ece8eb;
  background: transparent;
}
.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: var(--muted); 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:not(.catalog-filter-card) { padding: 0; border: 0; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.catalog-toolbar,
.results-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 18px; margin-bottom: 22px;
}
.results-toolbar p { margin: 0; color: var(--muted); font-size: .8rem; }
.catalog-toolbar__page { color: var(--muted); font-weight: 500; }
.catalog-sort,
.results-toolbar form { display: flex; align-items: center; gap: 10px; }
.results-toolbar label,
.catalog-sort label { font-size: .75rem; }
.results-toolbar select,
.catalog-sort select {
  min-height: 44px; padding: 8px 36px 8px 14px; border: 1px solid #ece8eb;
  border-radius: 7px; background: #f8f7f8;
}
.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__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.empty-state--wide { grid-column: 1 / -1; margin-block: 60px; }
.pagination { display: flex; flex-wrap: wrap; 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; }
.pagination a:hover { color: var(--ink); border-color: var(--accent-dark); }

.product-page { padding-block: 34px 80px; background: #fff; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 48px 64px;
}
.product-gallery__main {
  display: grid; overflow: hidden; aspect-ratio: 1; place-items: center;
  background: #faf9fa; border: 1px solid #f0ecef; border-radius: 14px;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.product-gallery__thumbs {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px;
}
.product-gallery__thumbs button {
  width: 76px; height: 76px; padding: 3px;
  border: 1px solid var(--line); border-radius: 7px; background: #fff; cursor: pointer;
}
.product-gallery__thumbs button:hover,
.product-gallery__thumbs button:focus-visible { border-color: var(--ink); }
.product-gallery__thumbs button.is-selected {
  border-color: var(--accent-dark);
  box-shadow: inset 0 0 0 1px var(--accent-dark);
}
.product-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 8px; min-width: 0; }
.product-info h1 {
  margin: 4px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 750; letter-spacing: -.04em; line-height: 1.08;
  overflow-wrap: anywhere;
}
.product-subtitle {
  margin: 0 0 18px; color: var(--muted); font-size: .95rem; line-height: 1.5;
}
.product-meta {
  display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none;
}
.product-meta li {
  display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .82rem;
}
.product-meta span { color: var(--muted); }
.product-meta strong { min-width: 0; overflow-wrap: anywhere; font-weight: 650; }
.product-sku { color: var(--muted); font-size: .75rem; }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin: 22px 0; }
.product-price .price-block__current,
.product-price strong { color: var(--accent-dark); font-size: clamp(1.45rem, 2.5vw, 1.9rem); }
.product-price .price-block__compare,
.product-price del { color: var(--muted); }
.product-description {
  color: var(--muted);
  white-space: pre-line;
  overflow-wrap: anywhere;
  margin-bottom: 8px;
}
.product-description :is(p, ul, ol) { margin: 0 0 .8em; }
.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, minmax(0, 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); border-radius: 7px; background: #fff;
}
.variant-option input:checked + span { border-color: #521273; box-shadow: inset 0 0 0 1px #521273; background: #faf7fc; }
.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); border-radius: 7px; text-align: center; background: #fff; }
.add-to-cart__row .button {
  border-color: #351063; border-radius: 7px; background: linear-gradient(135deg, #24104c, #61107d); color: #fff;
}
.add-to-cart__row .button:hover { border-color: #4c126e; background: linear-gradient(135deg, #351063, #741095); color: #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: minmax(0, .55fr) minmax(0, 1.45fr);
  gap: 40px 64px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line);
}
.specifications dl { margin: 0; }
.specifications dl div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .82rem;
}
.specifications dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.section--related { background: linear-gradient(180deg, transparent, rgba(255, 241, 233, .55)); }

.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 minmax(0, 1fr) minmax(200px, max-content); gap: 20px;
  padding: 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: 8px; min-width: 0; }
.cart-line__update {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0;
}
.cart-line__remove { margin: 0; }
.cart-line__qty-label { margin: 0; font-size: .7rem; white-space: nowrap; }
.cart-line__stepper {
  flex: 0 0 auto;
  min-height: 36px;
  grid-template-columns: 32px 44px 32px;
  border-radius: 8px;
}
.cart-line__stepper input {
  width: 100%;
  min-height: 0;
  height: 100%;
  padding: 0;
  border-radius: 0;
  font-size: .85rem;
}
.cart-line__stepper button:disabled { opacity: .4; cursor: not-allowed; }
.cart-line__total {
  position: static; grid-column: 3; grid-row: 2; align-self: end; justify-self: end;
  font-size: .9rem; white-space: nowrap;
}
.cart-items > .back-link { display: inline-block; margin-top: 28px; }
.order-summary { position: sticky; top: 110px; padding: 28px; background: #fff; border: 1px solid #ece8eb; border-radius: 12px; box-shadow: 0 10px 30px rgba(24,14,38,.06); }
.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; }
.payment-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.payment-tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.payment-tab:has(input:checked) { border-color: var(--accent, #00a57a); box-shadow: inset 0 0 0 1px var(--accent, #00a57a); }
.payment-panels { display: grid; gap: 10px; }
.payment-panel { padding: 12px; border: 1px solid var(--line); background: #fafbfc; }
.bank-account-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bank-account-list li { padding: 10px; background: #fff; border: 1px solid var(--line); }
.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__icon--failed { background: #b42318; color: #fff; }
.success-page__icon--pending { background: #b54708; color: #fff; }
.success-page--failed h1 { color: #7a271a; }
.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, .legal-page .cms-content > div { 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-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.footer-contact a { color: #d8e0e2; font-size: .84rem; font-weight: 650; }
.footer-note { margin: 0 0 12px; }
.footer-wa { margin-top: 8px; border-color: #128c7e; background: #128c7e; color: #fff; }
.footer-wa:hover { background: #0e7a6e; border-color: #0e7a6e; color: #fff; }
.footer-bottom {
  display: flex; flex-direction: column; align-items: stretch; margin-top: 50px;
  color: #708188; font-size: .67rem;
}
.footer-bottom__meta {
  display: flex; justify-content: space-between; gap: 12px; padding-block: 16px;
  border-bottom: 1px solid #26363d;
}
.footer-credit { display: flex; justify-content: center; padding-block: 18px 8px; }
.footer-credit a { display: inline-flex; line-height: 0; text-decoration: none; }
.footer-credit a:hover { text-decoration: none; }
.footer-credit img { display: block; height: 48px; width: auto; }
/* S4 — announcement / slider / tabs / trust */
.announce-bar {
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 650;
}
.announce-bar__inner { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-block: 8px; justify-content: center; }
.announce-bar a { color: inherit; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.announce-bar a:hover { text-decoration: underline; }
.announce-bar__cta { opacity: .92; text-decoration: underline; }

.home-slider { position: relative; background: var(--night); color: #fff; min-height: clamp(500px, 62vh, 590px); }
.home-slider__slide { position: relative; min-height: inherit; }
.home-slider__media { position: absolute; inset: 0; }
.home-slider__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-slider__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,13,40,.8) 8%, rgba(22,10,50,.35) 65%, rgba(36,8,55,.18));
}
.home-slider__content { position: relative; z-index: 1; padding: 112px 0 90px; max-width: 640px; }
.home-slider__controls {
  position: absolute; z-index: 2; left: 50%; right: auto; bottom: -21px; width: auto;
  display: flex; align-items: center; gap: 10px; padding: 5px; border-radius: 8px;
  background: #fff; box-shadow: 0 8px 24px rgba(17,12,29,.14); transform: translateX(-50%);
}
.home-slider__nav {
  width: 38px; height: 38px; border: 0; background: transparent; color: var(--ink); font-size: 1.4rem; line-height: 1;
}
.home-slider__dots { display: flex; gap: 8px; }
.home-slider__dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; background: #bbb6bd;
}
.home-slider__dots button.is-active { background: #24104c; }

.section--product-tabs .product-grid,
.section--featured .product-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.category-grid--visual { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.category-card--visual {
  display: flex; flex-direction: column; min-height: 220px; background: #fff; border: 1px solid #ece8eb;
  border-radius: 12px; overflow: hidden; box-shadow: 0 8px 28px rgba(20,16,28,.06);
}
.category-card__media { display: block; aspect-ratio: 3 / 2; background: #f3f0ec; }
.category-card__media img { width: 100%; height: 100%; object-fit: cover; }
.category-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; }
.category-card__blurb { color: var(--muted); font-size: .78rem; }
.category-card__meta { color: var(--muted); font-size: .72rem; }

.product-tabs__list {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px;
}
.product-tabs__tab {
  border: 1px solid #e9e4e8; border-radius: 7px; background: #f8f6f8; color: var(--ink);
  padding: 11px 16px; font-size: .82rem; font-weight: 650;
}
.product-tabs__tab.is-active {
  border-color: #351063; background: linear-gradient(135deg, #24104c, #61107d); color: #fff;
}
.product-tabs__toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.product-tabs.is-enhanced .product-tabs__panel:not(.is-active),
.product-tabs.is-enhanced .product-tabs__panel[hidden] { display: none; }

.product-rail { position: relative; }
.product-rail__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 72px) / 5);
  grid-template-columns: none !important;
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.product-rail__track::-webkit-scrollbar { display: none; }
.product-rail__track > * { scroll-snap-align: start; }
.product-rail__controls {
  position: absolute; z-index: 3; right: 0; top: -52px;
  display: flex; gap: 7px;
}
.product-rail__controls button {
  display: grid; width: 38px; height: 38px; place-items: center;
  border: 1px solid #ddd6df; border-radius: 50%; background: #fff; color: #28103f; cursor: pointer;
}
.product-rail__controls button:hover { border-color: #351063; background: #351063; color: #fff; }
.product-rail__controls button:disabled { opacity: .35; cursor: default; }
.product-rail__controls button:disabled:hover { border-color: #ddd6df; background: #fff; color: #28103f; }

.section--promo-mosaic { padding-top: 18px; }
.promo-mosaic {
  display: grid; grid-template-columns: 1.7fr 1fr; grid-template-rows: repeat(2, minmax(180px, 1fr)); gap: 16px;
}
.promo-card {
  position: relative; display: flex; min-height: 190px; flex-direction: column; align-items: flex-start; justify-content: center;
  overflow: hidden; padding: clamp(25px, 4vw, 48px); border-radius: 16px; color: #fff;
  isolation: isolate;
}
.promo-card:hover { color: #fff; transform: translateY(-2px); }
.promo-card::after {
  position: absolute; z-index: -1; inset: 0; content: "";
  background: linear-gradient(110deg, rgba(8,12,39,.94), rgba(39,16,77,.56) 70%, rgba(228,0,69,.18));
}
.promo-card--primary { grid-row: 1 / 3; min-height: 396px; background: linear-gradient(135deg, #0a0f2c, #4b116b); }
.promo-card--technical { background: linear-gradient(135deg, #17112d, #343b78); }
.promo-card--resin { background: linear-gradient(135deg, #4e0f62, #b50072); }
.promo-card__eyebrow { margin-bottom: 9px; font-size: .69rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; opacity: .8; }
.promo-card strong { max-width: 520px; font-family: var(--font-display); font-size: clamp(1.45rem, 3vw, 2.7rem); line-height: 1.04; }
.promo-card:not(.promo-card--primary) strong { font-size: clamp(1.25rem, 2vw, 1.8rem); }
.promo-card small { max-width: 430px; margin-top: 12px; color: rgba(255,255,255,.75); }
.promo-card__cta { margin-top: 24px; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.5); font-size: .76rem; font-weight: 800; }
.promo-card__spools { position: absolute; right: -45px; bottom: -18px; display: flex; align-items: flex-end; gap: 10px; opacity: .93; transform: rotate(-5deg); }
.promo-card__spools i {
  display: block; width: 94px; height: 94px; border: 23px solid #e40045; border-radius: 50%;
  background: #161126; box-shadow: inset 0 0 0 7px rgba(255,255,255,.15), 0 20px 34px rgba(0,0,0,.24);
}
.promo-card__spools i:nth-child(2) { width: 112px; height: 112px; border-width: 27px; border-color: #7c3aed; }
.promo-card__spools i:nth-child(3) { border-color: #11b5c8; }
.promo-card__spools i:nth-child(4) { width: 82px; height: 82px; border-width: 20px; border-color: #f4c430; }

.section--printer-promo { padding-top: 10px; }
.printer-promo {
  display: grid; min-height: 330px; grid-template-columns: 1.15fr .85fr; overflow: hidden;
  border-radius: 18px; background: linear-gradient(120deg, #0a0f2c, #351063 62%, #7f124f); color: #fff;
}
.printer-promo:hover { color: #fff; transform: translateY(-2px); }
.printer-promo__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 62px); }
.printer-promo__copy strong { max-width: 660px; font-family: var(--font-display); font-size: clamp(1.8rem, 3.3vw, 3rem); line-height: 1.05; }
.printer-promo__copy small { max-width: 620px; margin-top: 14px; color: #c6bed3; font-size: .86rem; }
.printer-promo__cta { margin-top: 25px; color: #fff; font-size: .78rem; font-weight: 800; }
.printer-promo__visual { position: relative; min-height: 330px; background: radial-gradient(circle at 50% 48%, rgba(228,0,69,.55), transparent 45%); }
.printer-promo__frame { position: absolute; left: 50%; top: 43px; width: 210px; height: 235px; border: 15px solid #dfe5ef; border-bottom-width: 24px; transform: translateX(-50%); box-shadow: 0 26px 45px rgba(0,0,0,.28); }
.printer-promo__head { position: absolute; left: 50%; top: 92px; width: 52px; height: 58px; border-radius: 5px 5px 12px 12px; background: #e40045; transform: translateX(-50%); box-shadow: 0 0 24px rgba(228,0,69,.6); }
.printer-promo__model { position: absolute; left: 50%; bottom: 64px; width: 105px; height: 90px; background: linear-gradient(145deg,#a658dc,#4c1e78); clip-path: polygon(50% 0,100% 24%,88% 100%,12% 100%,0 24%); transform: translateX(-50%); }

.section--reviews { background: #f6f3f7; }
.review-showcase { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 40px; align-items: center; }
.review-showcase__summary h2 { margin-bottom: 20px; }
.review-showcase__summary > strong { display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 1; color: #28103f; }
.review-showcase__stars, .review-card__stars { color: #f5aa18; letter-spacing: .08em; }
.review-showcase__summary > small { display: block; margin-top: 8px; color: var(--muted); }
.review-rail__track { grid-auto-columns: calc((100% - 32px) / 3); gap: 16px; padding-block: 4px 18px; }
.review-card { min-height: 245px; padding: 26px; border: 1px solid #e5dfe7; border-radius: 14px; background: #fff; scroll-snap-align: start; }
.review-card h3 { margin: 14px 0 8px; font-size: 1rem; }
.review-card p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 5; margin: 0 0 18px; color: var(--muted); font-size: .82rem; }
.review-card small { color: #351063; font-size: .7rem; font-weight: 750; }

.section--blog { background: #fff; }
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.home-blog-grid .blog-card h2 { font-size: 1rem; }
@media (max-width: 700px) {
  .home-blog-grid { grid-template-columns: 1fr; }
}

.trust-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px;
}
.trust-card, .service-card {
  background: #fff; border: 1px solid var(--line); padding: 20px 18px;
}
.trust-card__icon, .service-card__icon {
  display: inline-block; width: 28px; height: 4px; margin-bottom: 12px; background: var(--accent);
}
.product-page .product-tabs { margin-top: 36px; }
.spec-list { display: grid; gap: 10px; }
.spec-list > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 12px; border-bottom: 1px solid var(--line); padding-block: 10px; }
.spec-list dt { margin: 0; font-weight: 700; }
.spec-list dd { margin: 0; color: var(--muted); }
.cms-panel { max-width: 72ch; line-height: 1.6; }

.footer-grid { grid-template-columns: 1.5fr repeat(auto-fit, minmax(140px, 1fr)); }

@media (max-width: 1100px) {
  .category-grid--visual { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section--product-tabs .product-grid,
  .section--featured .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .product-rail__track { grid-auto-columns: calc((100% - 54px) / 4); }
  .review-rail__track { grid-auto-columns: calc((100% - 16px) / 2); }
}
@media (max-width: 700px) {
  .category-grid--visual { grid-template-columns: 1fr 1fr; }
  .home-slider__content { padding: 88px 0 96px; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .product-grid,
  .product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-nav__flyout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid,
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
  .nav-burger { display: inline-grid; place-items: center; }
  .header-search { max-width: none; }
  .site-header__row { flex-wrap: wrap; min-height: auto; padding-block: 14px; gap: 12px; }
  .brandmark { order: 1; }
  .brandmark__logo { width: 96px; }
  .brandmark__logo--footer { width: 120px; }
  .header-actions { order: 2; margin-left: auto; }
  .header-search { order: 3; flex: 1 1 100%; }
  .header-cta { display: none; }
  .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: 28px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .catalog-layout { grid-template-columns: 1fr; gap: 24px; }
  .catalog-filters__summary { display: flex; margin-bottom: 0; }
  .catalog-filters:not([open]) .filters { display: none; }
  .catalog-filters[open] .catalog-filters__summary { border-bottom: 0; }
  .catalog-filters .filters { padding: 20px; border: 1px solid var(--line); border-top: 0; }
  .product-grid,
  .product-grid--catalog,
  .product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .section--product-tabs .product-grid,
  .section--featured .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-rail__track { grid-auto-columns: calc((100% - 36px) / 3); }
  .promo-mosaic { grid-template-columns: 1.3fr 1fr; }
  .review-showcase { grid-template-columns: 220px minmax(0,1fr); gap: 24px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__content { padding: 100px 0 64px; }
  .hero__content--split { grid-template-columns: 1fr minmax(290px, .65fr); gap: 34px; }
  .hero-retail { min-height: 350px; transform: scale(.88); transform-origin: center right; }
  .home-capabilities__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-capabilities__grid > a:nth-child(3) { border-top: 1px solid var(--line); }
  .home-capabilities__grid > a:nth-child(4) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .category-grid,
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .product-meta li { grid-template-columns: 96px minmax(0, 1fr); }
}

@media (max-width: 700px) {
  .shell { width: min(100% - 28px, var(--container-max)); }
  --container-gutter: 28px;
  .topbar__inner { min-height: 38px; justify-content: center; text-align: center; }
  .topbar__promo { display: block; font-size: .66rem; }
  .topbar__links { display: none; }
  .icon-link__label { display: none; }
  .site-header__row { min-height: 66px; flex-wrap: nowrap; padding-block: 8px; }
  .header-search { display: none; }
  .brandmark__logo { width: 92px; }
  .header-actions { gap: 8px; }
  .brand-signal { font-size: .66rem; }
  .hero { min-height: auto; }
  .hero__content--split { display: grid; grid-template-columns: 1fr; gap: 6px; padding-block: 48px 18px; }
  .hero h1 { max-width: 340px; font-size: clamp(2.2rem, 10.5vw, 3.15rem); }
  .hero__lead { font-size: .9rem; }
  .hero-retail { display: block; min-height: 210px; transform: none; }
  .hero-retail__glow { inset: 6px 20px 0; }
  .hero-retail__printer { left: 2%; top: 22px; width: 145px; height: 164px; border-width: 8px; border-bottom-width: 12px; }
  .hero-retail__rail { top: 28px; height: 6px; }
  .hero-retail__head { top: 22px; width: 30px; height: 34px; }
  .hero-retail__head::after { left: 12px; top: 32px; border-width: 3px; border-top-width: 10px; }
  .hero-retail__print { bottom: 26px; width: 52px; height: 48px; }
  .hero-retail__printer::before { left: 12px; right: 12px; bottom: 14px; height: 8px; }
  .hero-retail__spools { right: 0; bottom: 18px; gap: 4px; }
  .hero-retail__spool { width: 58px; height: 58px; border-width: 14px; }
  .hero-retail__spool--violet { width: 53px; height: 53px; border-width: 13px; }
  .hero-retail__spool--cyan { width: 48px; height: 48px; border-width: 12px; }
  .hero-retail__spool--yellow { display: none; }
  .hero-retail__label { right: 2px; top: 5px; padding: 8px 10px; }
  .hero-retail__label strong { font-size: .62rem; }
  .hero__proof { gap: 10px 16px; }
  .home-capabilities__grid { grid-template-columns: 1fr; }
  .home-capabilities__grid > a { min-height: 88px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .home-capabilities__grid > a:last-child { border-bottom: 0; }
  .section { padding-block: var(--section-space-sm); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .product-grid,
  .product-grid--catalog,
  .product-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .section--product-tabs .product-grid,
  .section--featured .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-rail__track { grid-auto-columns: minmax(190px, 72vw); gap: 12px; margin-right: -14px; }
  .product-rail__controls { top: -47px; }
  .product-tabs__toolbar { min-height: 38px; padding-right: 92px; }
  .promo-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .promo-card,
  .promo-card--primary { grid-row: auto; min-height: 230px; padding: 26px; }
  .promo-card--primary { min-height: 340px; }
  .promo-card__spools { right: -100px; opacity: .55; }
  .printer-promo { grid-template-columns: 1fr; }
  .printer-promo__copy { padding: 32px 26px 12px; }
  .printer-promo__visual { min-height: 245px; }
  .printer-promo__frame { top: 24px; width: 170px; height: 190px; border-width: 12px; border-bottom-width: 20px; }
  .printer-promo__head { top: 62px; }
  .printer-promo__model { bottom: 42px; width: 86px; height: 72px; }
  .review-showcase { grid-template-columns: 1fr; }
  .review-rail__track { grid-auto-columns: minmax(245px, 84vw); }
  .review-showcase__summary { max-width: 320px; }
  .section-heading h2[data-shadow]::before { font-size: 3.25rem; white-space: normal; }
  .category-grid,
  .service-grid { grid-template-columns: 1fr; }
  .product-card__body { padding: 12px 13px 14px; }
  .product-card__title { font-size: .82rem; min-height: 2.6em; }
  .page-hero { padding: 40px 0; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-sort { width: 100%; justify-content: space-between; }
  .specifications { grid-template-columns: 1fr; gap: 20px; }
  .specifications dl div { grid-template-columns: 1fr; gap: 4px; }
  .variant-list { grid-template-columns: 1fr; }
  .add-to-cart__row { grid-template-columns: 52px 62px 1fr; }
  .product-gallery__thumbs button { width: 64px; height: 64px; }
  .cart-page .cart-line {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px 12px;
    align-items: start;
    padding: 12px;
  }
  .cart-page .cart-line__image { grid-column: 1; grid-row: 1; width: 72px; max-width: 72px; align-self: start; }
  .cart-page .cart-line__content { grid-column: 2; grid-row: 1; min-width: 0; align-self: start; }
  .cart-page .cart-line__actions {
    grid-column: 1 / -1; grid-row: 2;
    display: flex; flex-direction: row; flex-wrap: wrap;
    align-items: center; gap: 8px 12px;
  }
  .cart-page .cart-line__stepper {
    min-height: 40px;
    grid-template-columns: 40px minmax(44px, 56px) 40px;
  }
  .cart-page .cart-line__total {
    grid-column: 1 / -1; grid-row: 3; position: static;
    align-self: center; justify-self: end; margin: 0; padding-top: 2px;
  }
  .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__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

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

/* S7 — Filamenthane-inspired storefront language, adapted to the EGC brand */
:root {
  --color-primary: #351063;
  --color-primary-bright: #6f1a8f;
  --color-primary-deep: #21103f;
  --ink: #141321;
  --muted: #6f6b78;
  --paper: #f7f6f8;
  --soft: #f3f0f5;
  --line: #e5e0e8;
  --accent: #6f1a8f;
  --accent-dark: #4c126e;
  --night: #111530;
  --night-2: #1b1538;
  --steel: #2d1b4f;
  --radius: 8px;
  --radius-md: 16px;
  --shadow: 0 20px 55px rgba(31, 17, 55, .13);
  --shadow-sm: 0 9px 28px rgba(31, 17, 55, .09);
  --container-max: 1320px;
  --font-display: "Poppins", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Poppins", "Segoe UI", system-ui, sans-serif;
}

.button {
  border-color: #4c126e;
  border-radius: 8px;
  background: linear-gradient(135deg, #29104f, #6b168a);
}
.button:hover { border-color: #7b249b; background: linear-gradient(135deg, #3a1167, #8122a2); color: #fff; }
.button--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.button--ghost:hover { border-color: #d2c9d8; background: var(--soft); color: var(--ink); }

.topbar { background: #111530; }
.site-header { background: rgba(255,255,255,.97); }
.site-header__row { min-height: 72px; }
.header-search { overflow: hidden; border-radius: 9px; border-color: #ded8e3; }
.header-search button { background: #f3f0f5; color: #351063; }
.site-header__nav { background: linear-gradient(90deg, #111530 0%, #281047 55%, #4c126e 100%); }

.page-hero { background: linear-gradient(180deg, #fbfafe 0%, #f5f1f8 100%); }
.page-hero--compact { padding: 42px 0; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.catalog-hero .eyebrow { color: #5f1b7d; }

.catalog-layout { grid-template-columns: 260px minmax(0,1fr); gap: 36px; padding-block: 42px 96px; }
.filters { padding-right: 28px; }
.filters form { gap: 12px; }
.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 {
  border-radius: 8px;
}
.catalog-sort select { background-color: #fff; }
.catalog-filters__summary { border-radius: 8px; background: linear-gradient(135deg,#2b104f,#6f1a8f); color:#fff; }
.catalog-filters__hint { color: #fff; opacity: .82; }
.product-grid--catalog { gap: 26px 18px; }
.product-grid--catalog .product-card { border-radius: 12px; }

.product-page { padding-top: 28px; }
.product-detail { grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr); gap: 54px; }
.product-gallery__main { border-radius: 16px; background: #f8f7fa; }
.product-gallery__thumbs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.product-info { align-self: start; position: sticky; top: 110px; }
.product-info h1 { font-size: clamp(1.75rem,2.8vw,2.55rem); }
.product-rating { display:flex; align-items:center; gap:8px; margin:10px 0 16px; font-size:.76rem; }
.product-rating > span { color:#f1ad20; letter-spacing:.08em; font-size:1rem; }
.product-rating small { color:var(--muted); }
.product-meta { grid-template-columns: repeat(2,minmax(0,1fr)); gap:0 20px; }
.product-meta li { grid-template-columns: 82px minmax(0,1fr); }
.product-price { padding: 16px 18px; border-radius: 10px; background: #f7f2fa; }
.product-price .price-block__current, .product-price strong { color:#4c126e; font-size:clamp(1.6rem,2.5vw,2rem); }
.variant-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
.variant-option > span { min-height:62px; border-radius:9px; }
.variant-option strong { display:flex; align-items:center; gap:9px; min-width:0; }
.variant-option__swatch { flex:0 0 auto; width:18px; height:18px; border:1px solid rgba(20,19,33,.18); border-radius:50%; background:var(--swatch); box-shadow:inset 0 0 0 2px rgba(255,255,255,.38); }
.purchase-benefits { grid-template-columns: repeat(3,minmax(0,1fr)); gap:0; padding-top:18px; }
.purchase-benefits li { padding:0 10px; text-align:center; line-height:1.45; }
.purchase-benefits li + li { border-left:1px solid var(--line); }
.product-tabs__list { border-bottom:1px solid var(--line); }
.product-tabs__tab.is-active { color:#4c126e; border-color:#4c126e; }

.cart-layout, .checkout-layout { gap:54px; }
.cart-line, .form-panel, .order-summary, .contact-form, .info-panel, .account-cards, .order-card {
  border-radius:12px;
}
.cart-line { margin-bottom:12px; padding:18px; border:1px solid var(--line); background:#fff; }
.cart-line__image { overflow:hidden; border-radius:9px; background:#f8f7fa; }
.order-summary { overflow:hidden; border-top:4px solid #5b177d; box-shadow:var(--shadow-sm); }
.empty-state { border-radius:14px; background:linear-gradient(180deg,#fff,#faf8fc); }

.contact-layout { grid-template-columns:.9fr 1.1fr; gap:64px; }
.contact-form { border-top:4px solid #5b177d; box-shadow:var(--shadow-sm); }
.contact-note { border-left-color:#6f1a8f; border-radius:0 9px 9px 0; background:#f6f1f9; }
.account-nav, .account-cards, .info-panel, .order-card { overflow:hidden; border-radius:12px; }
.account-nav a.is-active { background:linear-gradient(135deg,#241043,#631883); }
.legal-page { max-width:920px; }
.legal-page section, .legal-page .cms-content > div { padding:26px 0; }

.site-footer { padding-top:0; background:#111530; }
.footer-newsletter { display:flex; align-items:center; justify-content:space-between; gap:30px; padding-block:34px; margin-bottom:58px; border-bottom:1px solid rgba(255,255,255,.12); }
.footer-newsletter .eyebrow { color:#bca8cc; }
.footer-newsletter h2 { margin:0; color:#fff; font-size:clamp(1.25rem,2.3vw,1.9rem); }
.footer-newsletter__button { flex:0 0 auto; }
.footer-grid { grid-template-columns:1.5fr repeat(4,minmax(130px,1fr)); gap:42px 30px; }
.footer-grid p { color:#9ca3bb; }
.footer-grid a:not(.button):not(.brandmark) { color:#c0c4d5; }
.footer-bottom { color:#9299b1; }
.footer-bottom__meta { border-bottom-color:rgba(255,255,255,.12); }

@media (min-width: 981px) {
  .catalog-filters:not([open]) > .filters { display:block; }
}

@media (max-width: 980px) {
  .catalog-layout, .product-detail, .contact-layout { grid-template-columns:1fr; }
  .catalog-layout { gap:24px; }
  .product-info { position:static; }
  .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  body { line-height:1.55; }
  .topbar { background:#111530; }
  .site-header { background:linear-gradient(100deg,#111530,#351063); border-bottom:0; }
  .brandmark__logo { filter:brightness(0) invert(1); }
  .icon-link, .nav-burger { color:#fff; }
  .icon-link__icon, .nav-burger { border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.08); }
  .nav-burger span, .nav-burger span::before, .nav-burger span::after { background:#fff; }
  .site-header__nav { display:none; }
  .page-hero--compact { padding:30px 0; }
  .page-hero h1 { font-size:clamp(1.8rem,9vw,2.55rem); }
  .breadcrumbs { margin-bottom:18px; }
  .catalog-layout { gap:18px; padding-block:22px 65px; }
  .catalog-filters__summary { min-height:50px; text-transform:uppercase; letter-spacing:.05em; }
  .catalog-filters .filters { border-color:#dcd4e1; background:#fff; }
  .catalog-toolbar { margin-bottom:16px; }
  .product-grid--catalog { gap:18px 10px; }
  .product-page { padding-block:18px 55px; }
  .product-detail { gap:22px; }
  .product-gallery__main { margin-inline:-14px; border-radius:0; border-inline:0; }
  .product-info h1 { font-size:1.65rem; }
  .product-meta { grid-template-columns:1fr; }
  .product-price { margin:16px 0; }
  .variant-list { grid-template-columns:1fr; }
  .add-to-cart { padding-bottom:4px; }
  .add-to-cart__row { position:sticky; z-index:30; bottom:8px; padding:8px; margin-inline:-8px; border:1px solid #ddd4e3; border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 12px 34px rgba(31,17,55,.2); backdrop-filter:blur(12px); }
  .purchase-benefits { grid-template-columns:1fr; gap:8px; }
  .purchase-benefits li { padding:4px 0; text-align:left; }
  .purchase-benefits li + li { border-left:0; }
  .product-tabs__list { overflow-x:auto; flex-wrap:nowrap; }
  .product-tabs__tab { white-space:nowrap; }
  .cart-layout, .checkout-layout, .contact-layout, .account-layout { padding-block:36px 72px; gap:30px; }
  .contact-form { padding:24px 18px; }
  .footer-newsletter { align-items:flex-start; flex-direction:column; margin-bottom:42px; }
  .footer-newsletter__button { width:100%; }
  .footer-grid { grid-template-columns:1fr 1fr; }
}

/* S9 — Robolink PDP composition translated into the EGC design system */
.product-promo-ticker {
  overflow: hidden;
  background: #080a10;
  color: #fff;
}
.product-promo-ticker__track {
  display: grid;
  width: max(100%, 1320px);
  min-height: 40px;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  align-items: center;
  text-align: center;
}
.product-promo-ticker__track span {
  padding-inline: 22px;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
}
.product-page-surface { background: #f7f7f8; }
.product-page-surface .product-page { padding-block: 18px 68px; }
.product-breadcrumbs {
  margin: 0 0 18px;
  padding: 0;
  color: #85808a;
}
.product-breadcrumbs a:first-child { color: var(--accent-dark); font-weight: 700; }
.product-page-surface .product-detail {
  grid-template-columns: minmax(0, .86fr) minmax(480px, 1.14fr);
  gap: 24px;
  align-items: start;
}
.product-gallery-card { min-width: 0; }
.product-gallery-card .product-gallery__main {
  position: relative;
  aspect-ratio: 1 / 1.18;
  border: 1px solid #efedf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(24, 18, 31, .035);
}
.product-gallery-card .product-gallery__main img {
  padding: clamp(28px, 5vw, 64px);
  object-fit: contain;
}
.product-gallery__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 5px;
  background: var(--accent-dark);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
}
.product-gallery-card .product-gallery__thumbs {
  gap: 14px;
  margin-top: 18px;
  padding: 0 0 6px;
}
.product-gallery-card .product-gallery__thumbs button {
  flex: 0 0 auto;
  width: 82px;
  height: 82px;
  padding: 5px;
  border-radius: 10px;
  border-color: transparent;
  background: #fff;
}
.product-gallery-card .product-gallery__thumbs button.is-selected {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.product-gallery-card .product-gallery__thumbs img { object-fit: contain; }

.product-info-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #efedf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 18, 31, .045);
}
.product-info-card.product-info { top: 128px; }
.product-info__brand {
  margin: 0 0 5px;
  color: var(--accent-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.product-info-card h1 {
  margin: 0 0 7px;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.product-info-card .product-rating { margin: 7px 0 17px; }
.product-rating--empty > span { color: #d8d5da; }
.product-info-card .product-subtitle {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #efedf0;
  font-size: .84rem;
}
.product-identifiers { display: grid; gap: 4px; margin: 0 0 14px; }
.product-identifiers > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  font-size: .78rem;
}
.product-identifiers dt { color: var(--muted); font-weight: 550; }
.product-identifiers dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.product-stock-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  margin: 10px 0 12px;
  font-size: .76rem;
}
.product-stock-line > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
.product-stock-line.is-available { color: #29994a; }
.product-stock-line.is-unavailable { color: var(--danger); }
.product-service-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 20px;
}
.product-service-badges > span {
  display: grid;
  min-width: 0;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  align-items: center;
  min-height: 46px;
  padding: 6px 12px;
  border: 1px solid var(--accent-dark);
  border-radius: 999px;
  background: #111530;
  color: #fff;
}
.product-service-badges i {
  display: grid;
  width: 24px;
  height: 24px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-style: normal;
  font-size: .7rem;
}
.product-service-badges small {
  color: #c8bed3;
  font-size: .48rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.1;
  text-transform: uppercase;
}
.product-service-badges strong {
  overflow: hidden;
  font-size: .61rem;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-info-card .product-price {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 18px;
  align-items: end;
  padding: 14px 16px 18px;
  margin: 0;
  border: 1px solid #efedf0;
  border-radius: 0;
  background: transparent;
}
.product-price__label {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
}
.product-price__values { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.product-info-card .product-price .price-block__current {
  color: var(--accent-dark);
  font-size: clamp(1.75rem, 3vw, 2.2rem);
  line-height: 1.15;
}
.product-price__discount {
  align-self: center;
  padding: 5px 8px;
  border-radius: 6px;
  background: #f2eaf7;
  color: var(--accent-dark);
  font-size: .68rem;
  font-weight: 800;
}
.product-purchase-card fieldset { margin: 3px 0 16px; }
.product-buy-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.quantity-stepper {
  display: grid;
  grid-template-columns: 38px minmax(42px, 1fr) 38px;
  overflow: hidden;
  min-height: 50px;
  border: 1px solid #ded9e1;
  border-radius: 10px;
  background: #fff;
}
.quantity-stepper button {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-size: 1.1rem;
  cursor: pointer;
}
.quantity-stepper button:hover { background: #f5f0f8; }
.quantity-stepper input {
  width: 100%;
  min-width: 0;
  border: 0;
  border-inline: 1px solid #efedf0;
  outline: 0;
  text-align: center;
  font-weight: 750;
  appearance: textfield;
}
.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button { margin: 0; appearance: none; }
/* Cart line stepper stays compact vs PDP buy-row 50px control. */
.cart-line .quantity-stepper.cart-line__stepper {
  min-height: 36px;
  grid-template-columns: 32px 44px 32px;
}
@media (max-width: 700px) {
  .cart-line .quantity-stepper.cart-line__stepper {
    min-height: 40px;
    grid-template-columns: 40px minmax(44px, 56px) 40px;
  }
}
.product-buy-row .button {
  min-height: 50px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: .035em;
  font-size: .75rem;
}
.product-delivery-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  margin-top: 20px;
  border-radius: 11px;
  background: #eafbed;
  color: #268d43;
  font-size: .72rem;
  line-height: 1.45;
}
.product-delivery-note svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-delivery-note span { display: grid; }
.product-delivery-note strong { font-size: .75rem; }

.product-page-surface .product-tabs { padding: 0; margin-top: 54px; }
.product-page-surface .product-tabs__list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 0 14px;
  border: 0;
  scrollbar-width: thin;
}
.product-page-surface .product-tabs__tab {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #3f3a45;
  font-size: .74rem;
  font-weight: 750;
  white-space: nowrap;
}
.product-page-surface .product-tabs__tab:hover { background: #eee9f1; }
.product-page-surface .product-tabs__tab.is-active {
  border-color: var(--accent-dark);
  background: linear-gradient(135deg, #351063, #6f1a8f);
  color: #fff;
}
.product-tabs__content-card {
  min-height: 240px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid #efedf0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(24, 18, 31, .04);
}
.product-tabs__content-card .product-tabs__panel { padding: 0; }
.product-tabs__content-card .product-description,
.product-tabs__content-card .cms-panel {
  max-width: 1050px;
  margin: 0;
  color: #423e46;
  font-size: .86rem;
  line-height: 1.72;
}
.product-tabs__content-card .product-description :is(h1,h2,h3,h4) {
  margin: 1.2em 0 .45em;
  color: #29252e;
  font-family: var(--font-display);
  line-height: 1.25;
}
.product-tabs__content-card .product-description :is(h1,h2):first-child,
.product-tabs__content-card .product-description p:first-child { margin-top: 0; }
.product-tabs__content-card .product-description h2 { font-size: 1.35rem; }
.product-tabs__content-card .product-description h3 { font-size: 1.15rem; }
.product-tabs__content-card .product-description ul,
.product-tabs__content-card .product-description ol { padding-left: 1.35rem; }
.product-tabs__content-card .product-description img { height: auto; margin-block: 24px; border-radius: 10px; }
.product-tabs__content-card .spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
}
.product-tabs__content-card .spec-list > div {
  display: grid;
  grid-template-columns: minmax(120px, .8fr) minmax(0, 1.2fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #efedf0;
  font-size: .8rem;
}
.product-tabs__content-card .spec-list dd { margin: 0; color: var(--muted); }
.product-barcode { margin: 9px 0 0; color: #45404a; font-size: .68rem; text-align: center; }
.product-barcode span { color: var(--muted); }
.product-related-section { background: #fff; }

.product-benefit-band {
  padding: 52px 0;
  background: #0b1325;
  color: #fff;
}
/* Mobile-first: 1 → 2 (@768) → 3 (@1024) → 4 (@1280). Min card ~240px avoids crushed text. */
.product-benefit-band__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}
@media (min-width: 768px) {
  .product-benefit-band__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .product-benefit-band__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (min-width: 1280px) {
  /* 3 cols keeps ~280–400px measure for 7 CMS cards (avoids 4+3 empty corner). */
  .product-benefit-band__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.product-benefit-band__card,
.product-benefit-band article {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  height: 100%;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  background: #151f34;
  box-sizing: border-box;
}
.product-benefit-band__card--icon {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
}
.product-benefit-band .benefit-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 10px 22px rgba(0, 104, 120, .12);
  color: #0a6b7c;
}
.product-benefit-band .benefit-mark svg {
  display: block;
  width: 48px;
  height: 48px;
}
.product-benefit-band__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  gap: 6px;
  height: 100%;
}
.product-benefit-band__title,
.product-benefit-band strong {
  display: block;
  margin: 0;
  font-size: .9rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
}
.product-benefit-band__text,
.product-benefit-band p {
  margin: 0;
  flex: 1 1 auto;
  color: #acb5c8;
  font-size: .78rem;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: normal;
}
.product-benefit-band__link,
.product-benefit-band article a {
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-start;
  color: #7ed4e0;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}
.product-benefit-band__link:hover,
.product-benefit-band article a:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .product-page-surface .product-detail { grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); }
}

@media (max-width: 900px) {
  .product-page-surface .product-detail { grid-template-columns: 1fr; }
  .product-info-card.product-info { position: static; }
  .product-gallery-card .product-gallery__main { aspect-ratio: 1; }
  .product-tabs__content-card .spec-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .product-promo-ticker__track { min-height: 34px; grid-template-columns: 1fr; width: 100%; }
  .product-promo-ticker__track span { display: none; font-size: .63rem; }
  .product-promo-ticker__track span:first-child { display: block; }
  .product-page-surface .product-page { padding-block: 14px 42px; }
  .product-breadcrumbs { margin-bottom: 13px; font-size: .8125rem; }
  .product-gallery-card .product-gallery__main { margin-inline: 0; border: 1px solid #efedf0; border-radius: 12px; }
  .product-gallery-card .product-gallery__main img { padding: 28px; }
  .product-gallery-card .product-gallery__thumbs { gap: 9px; margin-top: 10px; }
  .product-gallery-card .product-gallery__thumbs button { width: 64px; height: 64px; }
  .product-info-card { padding: 21px 18px; border-radius: 12px; }
  .product-info-card h1 { font-size: 1.55rem; }
  .product-identifiers > div { grid-template-columns: 76px minmax(0, 1fr); }
  .product-service-badges { grid-template-columns: 1fr; }
  .product-info-card .product-price { grid-template-columns: 1fr; }
  .product-price__label { grid-column: auto; }
  .product-price__discount { justify-self: start; }
  .product-buy-row {
    position: sticky;
    z-index: 30;
    bottom: 8px;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    margin-inline: -8px;
    border: 1px solid #ddd4e3;
    border-radius: 12px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 34px rgba(31,17,55,.2);
    backdrop-filter: blur(12px);
  }
  .quantity-stepper { grid-template-columns: 30px minmax(38px,1fr) 30px; min-height: 48px; }
  .product-page-surface .product-tabs { margin-top: 36px; }
  .product-page-surface .product-tabs__list { margin-right: -14px; padding-right: 14px; }
  .product-tabs__content-card { padding: 22px 18px; }
  .product-tabs__content-card .product-description,
  .product-tabs__content-card .cms-panel { font-size: .8rem; line-height: 1.68; }
  .product-tabs__content-card .spec-list > div { grid-template-columns: 1fr; gap: 4px; }
  .product-benefit-band { padding: 34px 0; }
  .product-benefit-band__card,
  .product-benefit-band article { padding: 17px; }
}

/* S10 — EGC technical-commerce system */
:root {
  --color-primary: #f7941d;
  --color-primary-bright: #ff9d20;
  --color-primary-deep: #db7410;
  --ink: #3f3f3f;
  --muted: #777;
  --paper: #fff;
  --soft: #f7f7f7;
  --line: #e7e7e7;
  --line-strong: #cfcfcf;
  --accent: #f7941d;
  --accent-dark: #db7410;
  --night: #252525;
  --night-2: #333;
  --steel: #555;
  --surface-white: #fff;
  --radius: 8px;
  --radius-md: 10px;
  --shadow: 0 14px 38px rgba(33, 39, 42, .12);
  --shadow-sm: 0 5px 18px rgba(33, 39, 42, .08);
  --container-max: 1304px;
  --container-gutter: 32px;
  --section-space: 54px;
  --section-space-sm: 36px;
  --font-display: Inter, "Segoe UI", Arial, sans-serif;
  --font-body: Inter, "Segoe UI", Arial, sans-serif;
}

body {
  color: var(--ink);
  background: #fff;
  font-size: 14px;
  line-height: 1.5;
}

main { overflow: clip; }

.button,
.product-card__quick-add button,
.product-card__quick-add--link,
.add-to-cart button[type="submit"] {
  border-color: var(--accent);
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}

.button:hover,
.product-card__quick-add button:hover,
.product-card__quick-add--link:hover,
.add-to-cart button[type="submit"]:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.button--ghost {
  border-color: var(--line-strong);
  background: #fff;
  color: var(--ink);
}

.button--ghost:hover { border-color: var(--accent); background: #fff8ef; color: var(--accent-dark); }
.text-link { color: var(--accent-dark); }
.eyebrow { margin-bottom: 5px; color: var(--accent-dark); font-size: .67rem; letter-spacing: .08em; }

.topbar {
  background: #1597b2;
  color: #fff;
  font-size: .69rem;
  letter-spacing: 0;
}

.topbar__inner { min-height: 42px; }
.topbar__promo { font-weight: 750; }
.topbar__links { gap: 20px; }
.topbar__links a { color: rgba(255,255,255,.92); }

.site-header {
  border-bottom: 0;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled { box-shadow: 0 3px 14px rgba(0,0,0,.08); }
.site-header__row { min-height: 92px; gap: 38px; }
.brandmark__logo { width: 142px; max-height: 68px; }

.header-search {
  max-width: 570px;
  height: 46px;
  overflow: hidden;
  border-color: #dedede;
  border-radius: 25px;
  background: #fafafa;
}

.header-search input { padding-inline: 20px; font-size: .79rem; }
.header-search button {
  position: relative;
  width: 52px;
  padding: 0;
  overflow: hidden;
  border-left: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
}

.header-search button::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  margin: auto;
  border: 2px solid #474747;
  border-radius: 50%;
}

.header-search button::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  left: 29px;
  top: 27px;
  margin: 0;
  background: #474747;
  transform: rotate(45deg);
}

.header-actions { gap: 15px; }
.header-cta--phone,
.header-cta--wa { display: none; }
.icon-link { color: #505050; font-size: .7rem; }
.icon-link__icon { border: 0; background: transparent; }
.cart-count { background: var(--accent); color: #fff; }

.site-header__nav {
  border-block: 0;
  background: #fff;
}

.site-header__nav-inner { min-height: 52px; gap: 0; }
.category-nav { flex: 0 0 315px; width: 315px; }
.category-nav__toggle {
  width: 100%;
  min-height: 52px;
  justify-content: center;
  border-radius: 7px 7px 0 0;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
}

.storefront-menu--desktop { min-width: 0; flex: 1; }
.storefront-menu--desktop > .storefront-menu__root { min-height: 52px; justify-content: center; }
.storefront-menu__item > a,
.storefront-menu__item > button,
.storefront-menu__item > span {
  min-height: 52px;
  padding-inline: 18px;
  color: #3e3e3e;
  font-size: .75rem;
  font-weight: 700;
}

.storefront-menu__item > a:hover,
.storefront-menu__item > a:focus-visible { color: var(--accent-dark); }
.storefront-menu--desktop .storefront-menu__children { border-color: var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.storefront-menu--desktop .storefront-menu__children a,
.storefront-menu--desktop .storefront-menu__children span { color: var(--ink); }

.category-nav__panel {
  border-color: var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.category-nav__l1 { background: #fff; border-color: var(--line); }
.category-nav__l1-link { padding: 10px 16px; color: #4b4b4b; font-size: .77rem; }
.category-nav__l1-link::before {
  content: "";
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border: 2px solid var(--accent);
  border-radius: 2px;
}

.category-nav__l1-link .category-nav__arrow { margin-left: auto; }
.category-nav__l1-item.is-active > .category-nav__l1-link,
.category-nav__l1-link:hover { background: #fff7ed; color: var(--accent-dark); }
.category-nav__flyout { background: #fff; }

/* Home: full-width hero (Q storefront carousel geometry); secondary promos below. */
.home-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding-block: 0 28px;
}

.home-stage__primary { min-width: 0; grid-column: 1; }
.home-stage__promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  grid-column: 1;
  gap: 14px;
}

.home-stage .home-slider,
.home-stage .hero {
  min-height: 544px;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #edf7f9;
  color: #333;
}

.home-stage .home-slider__slide { min-height: 544px; }
.home-stage .home-slider__media img { object-position: center; }
.home-stage .home-slider__veil { background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.66) 46%, rgba(255,255,255,.08) 78%); }
.home-stage .home-slider__content {
  width: auto;
  max-width: 56%;
  margin: 0;
  padding: 105px 38px 70px;
}

.home-stage .home-slider__content h1,
.home-stage .hero h1 { color: #333; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.04; }
.home-stage .hero__lead { color: #656565; }
.home-stage .home-slider__controls { width: calc(100% - 44px); bottom: 22px; }
.home-stage .home-slider__nav { border-color: var(--line); background: rgba(255,255,255,.92); color: var(--ink); }
.home-stage .home-slider__dots button { background: #ddd; }
.home-stage .home-slider__dots button.is-active { background: var(--accent); }

.home-stage .hero__media { background: linear-gradient(135deg, #f5fcfd, #d8f2f7); }
.home-stage .hero__fallback { background: radial-gradient(circle at 78% 30%, rgba(21,151,178,.22), transparent 30%), linear-gradient(135deg,#fff,#e7f6f8); }
.home-stage .hero__veil { background: linear-gradient(90deg, rgba(255,255,255,.2), transparent); }
.home-stage .hero__content { width: 100%; min-height: 544px; margin: 0; padding: 54px 38px; }
.home-stage .hero__content--split { grid-template-columns: minmax(0,1.05fr) minmax(250px,.95fr); }
.home-stage .hero-retail__label { background: #1597b2; }
.home-stage .hero-retail__label span { color: #fff; }

.home-stage-card {
  position: relative;
  display: flex;
  min-height: 265px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #dcecef;
  border-radius: 8px;
  color: #343434;
}

.home-stage-card:hover { border-color: var(--accent); color: #343434; transform: translateY(-2px); }
.home-stage-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -45px;
  width: 145px;
  height: 145px;
  border: 28px solid rgba(255,255,255,.7);
  border-radius: 50%;
}

.home-stage-card--filament { background: linear-gradient(135deg, #dff5f8, #b8e6ed); }
.home-stage-card--printer { border-color: #f0dfca; background: linear-gradient(135deg, #fff4e7, #f8d6ac); }
.home-stage-card > span { color: var(--accent-dark); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-stage-card strong { max-width: 13ch; margin-top: 8px; font-size: 1.28rem; line-height: 1.12; }
.home-stage-card small { max-width: 22ch; margin-top: 9px; color: #696969; }
.home-stage-card b { margin-top: 23px; color: #333; font-size: .72rem; }

.home-capabilities { border-block: 1px solid var(--line); }
.home-capabilities__grid > a { min-height: 86px; padding: 15px 20px; border-color: var(--line); }
.home-capabilities__index { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #edf8fa; color: #1597b2; }
.home-capabilities__grid > a > span:last-child { color: var(--accent); }

.section { padding-block: var(--section-space); }
.section--categories,
.section--services,
.section--reviews,
.section--featured,
.section--related { background: #fff; }
.section--product-tabs { background: #fafafa; }

.section-heading { margin-bottom: 24px; align-items: end; }
.section-heading h2,
.review-showcase__summary h2 {
  color: #3b3b3b;
  font-size: clamp(1.28rem, 2.1vw, 1.8rem);
  line-height: 1.18;
}
.section-heading h2[data-shadow]::before { display: none; }

.category-grid--visual { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.category-card--visual { border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
.category-card--visual:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.category-card__media { background: #fafafa; }
.category-card__name { font-size: .92rem; }

.product-grid { gap: 18px; }
.section--product-tabs .product-grid,
.section--featured .product-grid { grid-template-columns: repeat(5, minmax(0,1fr)); }
.product-card {
  overflow: hidden;
  border: 1px solid #e9e9e9;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.product-card:hover,
.product-card:focus-within { border-color: #d2d2d2; box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.product-card__media { min-height: 225px; padding: 16px; background: #fff; }
.product-card__badge { top: 11px; left: 11px; border-radius: 4px; background: #07bd68; color: #fff; }
.product-card__stock { border-radius: 4px; }
.product-card__body { padding: 10px 15px 15px; }
.product-card__brand { color: #999; font-size: .63rem; letter-spacing: 0; }
.product-card__title { min-height: 40px; color: #454545; font-size: .78rem; font-weight: 650; line-height: 1.35; }
.price-block__compare { color: #aaa; }
.price-block__current { color: var(--accent-dark); font-size: 1.06rem; font-weight: 800; }
.product-card__quick-add button,
.product-card__quick-add--link { min-height: 38px; font-size: .72rem; }

.product-tabs__list { justify-content: safe center; gap: 7px; border: 0; }
.product-tabs__tab { border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #555; }
.product-tabs__tab.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.product-rail__controls button { border-color: var(--line); border-radius: 50%; background: #fff; color: #555; }

.promo-mosaic { gap: 14px; }
.promo-card { border-radius: 8px; box-shadow: none; }
.promo-card--primary { background: linear-gradient(135deg, #1597b2, #08758b); }
.promo-card--technical { background: linear-gradient(135deg, #f7a83e, #ed7d12); }
.promo-card--resin { background: linear-gradient(135deg, #50545a, #272b30); }
.promo-card:hover { color: #fff; }

.printer-promo { overflow: hidden; border-radius: 8px; background: linear-gradient(120deg, #1597b2, #0b6d80); }
.printer-promo__head { background: var(--accent); box-shadow: 0 0 24px rgba(247,148,29,.45); }
.printer-promo__model { background: linear-gradient(145deg,#ffb044,#e8780d); }

.service-grid,
.trust-grid { gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.service-card,
.trust-card { min-height: 150px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: #fff; box-shadow: none; }
.service-card:last-child,
.trust-card:last-child { border-right: 0; }
.service-card__icon,
.trust-card__icon { color: #1597b2; }

.review-showcase,
.review-card { border-color: var(--line); border-radius: 8px; box-shadow: none; }
.order-cta { border-radius: 8px 8px 0 0; background: linear-gradient(115deg,#1597b2,#08758b); }

/* Catalog */
.page-hero { border-bottom: 1px solid var(--line); background: #fafafa; }
.page-hero--compact { padding: 25px 0; }
.page-hero h1 { margin: 0; color: #3b3b3b; font-size: clamp(1.45rem,2.5vw,2rem); }
.page-hero p { margin-top: 6px; font-size: .78rem; }
.breadcrumbs { margin-bottom: 9px; font-size: .67rem; }
.product-breadcrumbs { margin-bottom: 13.5px; font-size: .8125rem; }
.catalog-layout { grid-template-columns: 315px minmax(0,1fr); gap: 28px; padding-block: 30px 72px; }
.catalog-filters__summary { border-radius: 7px 7px 0 0; background: var(--accent); color: #fff; }
.catalog-filters__hint { color: #fff; }
.filters { padding: 20px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 7px 7px; background: #fff; }
.filters input:not([type=checkbox]),
.filters select { min-height: 42px; border-color: var(--line); border-radius: 6px; background-color: #fff; }
.catalog-toolbar { min-height: 50px; padding: 0 0 13px; border-bottom: 1px solid var(--line); }
.catalog-sort select { min-height: 38px; border-color: var(--line); border-radius: 6px; }
.product-grid--catalog { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px 14px; }
.product-grid--catalog .product-card { border-radius: 8px; }
.pagination a { border-color: var(--line); border-radius: 6px; }
.pagination a.is-current { border-color: var(--accent); background: var(--accent); color: #fff; }

/* Product detail */
.product-promo-ticker { background: #242424; }
.product-page-surface { background: #fafafa; }
.product-page-surface .product-page { padding-block: 24px 58px; }
.product-page-surface .product-detail { gap: 26px; }
.product-gallery-card,
.product-info-card,
.product-tabs__content-card {
  border: 1px solid #ededed;
  border-radius: 9px;
  background: #fff;
  box-shadow: none;
}
.product-gallery-card .product-gallery__main { background: #fff; }
.product-gallery-card .product-gallery__thumbs button { border-color: var(--line); border-radius: 7px; background: #fff; }
.product-gallery-card .product-gallery__thumbs button.is-active { border-color: var(--accent); }
.product-gallery__badge { border-radius: 4px; background: #07bd68; }
.product-info-card.product-info { top: 132px; }
.product-info__brand { color: var(--accent-dark); }
.product-info-card h1 { color: #3e3e3e; font-size: clamp(1.55rem,2.3vw,2rem); }
.product-service-badges article { border-color: #f1d7b6; border-radius: 24px; background: #fff8ef; color: #494949; }
.product-service-badges article::before { background: var(--accent); color: #fff; }
.product-info-card .product-price { border-color: #f3ddc2; border-radius: 7px; background: #fffaf4; }
.product-info-card .product-price .price-block__current { color: var(--accent-dark); }
.product-price__discount { color: #07a95f; }
.quantity-stepper { border-color: var(--line); border-radius: 7px; }
.product-buy-row .button { background: var(--accent); }
.product-delivery-note { border-radius: 7px; background: #eaf9ef; color: #15944f; }
.product-page-surface .product-tabs__list { gap: 8px; border: 0; }
.product-page-surface .product-tabs__tab { border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.product-page-surface .product-tabs__tab:hover { background: #fff8ef; }
.product-page-surface .product-tabs__tab.is-active { border-color: var(--accent); background: var(--accent); color: #fff; }
.product-tabs__content-card .product-description :is(h1,h2,h3,h4) { color: #3f3f3f; }
.product-benefit-band { padding: 42px 0; border-top: 1px solid var(--line); background: #fff; color: var(--ink); }
.product-benefit-band__card,
.product-benefit-band article { border-color: var(--line); border-radius: 8px; background: #fff; }
.product-benefit-band .benefit-mark { color: #0a6b7c; }
.product-benefit-band__text,
.product-benefit-band p { color: var(--muted); }
.product-benefit-band__link,
.product-benefit-band article a { color: var(--color-secondary, #006878); }

/* Cart, checkout, account and content pages share the same retail surfaces. */
.cart-line,
.form-panel,
.order-summary,
.contact-form,
.info-panel,
.account-cards,
.order-card,
.empty-state {
  border-color: var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}
.order-summary,
.contact-form { border-top: 3px solid var(--accent); }
.account-nav { border-radius: 8px; }
.account-nav a.is-active { background: var(--accent); color: #fff; }
.contact-note { border-left-color: #1597b2; background: #eef8fa; }

/* White multi-column footer and teal pre-footer. */
.site-footer { padding-top: 0; border-top: 0; background: #fff; color: var(--ink); }
.footer-newsletter {
  width: 100%;
  max-width: none;
  min-height: 118px;
  margin: 0 0 52px;
  padding: 26px max(24px, calc((100vw - var(--container-max)) / 2));
  border: 0;
  background: #1597b2;
}
.footer-newsletter .eyebrow { color: rgba(255,255,255,.74); }
.footer-newsletter h2 { color: #fff; }
.footer-newsletter__button { border-color: #fff; background: #fff; color: #1597b2; }
.footer-newsletter__button:hover { border-color: #fff; background: #f2fbfc; color: #08758b; }
.footer-grid { grid-template-columns: 1.35fr repeat(4,minmax(135px,1fr)); gap: 42px 34px; }
.brandmark--footer { padding: 0; background: transparent; }
.footer-grid h2 { color: #333; }
.footer-grid p,
.footer-note { color: #777; }
.footer-grid a:not(.button):not(.brandmark) { color: #666; }
.footer-grid a:not(.button):not(.brandmark):hover { color: var(--accent-dark); }
.footer-contact a { color: #444; }
.footer-grid .button--ghost { border-color: var(--line-strong); color: var(--ink); }
.footer-bottom { margin-top: 50px; color: #888; }
.footer-bottom__meta { border-bottom-color: var(--line); }

@media (max-width: 1120px) {
  .home-stage { grid-template-columns: 260px minmax(0,1fr); }
  .home-stage__primary { grid-column: 2; }
  .home-stage__promos { display: none; }
  .category-nav { flex-basis: 260px; width: 260px; }
  .page-home .site-header:not(.is-scrolled) + .site-header__nav .category-nav__panel { width: 260px; min-width: 260px; }
  .page-home .site-header:not(.is-scrolled) + .site-header__nav .category-nav__flyout { left: 259px; }
  .storefront-menu__item > a,
  .storefront-menu__item > button,
  .storefront-menu__item > span { padding-inline: 10px; }
  .header-actions { gap: 8px; }
  .brandmark__logo { width: 125px; }
  .product-grid--catalog { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  :root { --container-gutter: 28px; --section-space: 42px; }
  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; }
  .site-header__row { min-height: 72px; gap: 14px; }
  .brandmark__logo { width: 124px; }
  .header-search { display: none; }
  .header-actions { margin-left: auto; }
  .nav-burger { display: inline-grid; }
  .page-home .category-nav__panel[hidden] { display: none !important; }
  .home-stage { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; padding-block: 12px 18px; }
  .home-stage__primary,
  .home-stage__promos { grid-column: 1; }
  .home-stage__promos { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-stage .home-slider,
  .home-stage .hero,
  .home-stage .home-slider__slide,
  .home-stage .hero__content { min-height: 480px; }
  .home-stage .home-slider__content { max-width: 70%; padding: 86px 28px 60px; }
  .home-stage-card { min-height: 220px; }
  .home-capabilities__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-capabilities__grid > a:nth-child(2) { border-right: 1px solid var(--line); }
  .category-grid--visual { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section--product-tabs .product-grid,
  .section--featured .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-grid,
  .trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-card:nth-child(2),
  .trust-card:nth-child(2) { border-right: 0; }
  .service-card:nth-child(n+3),
  .trust-card:nth-child(n+3) { border-top: 1px solid var(--line); }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filters:not([open]) > .filters { display: none; }
  .product-grid--catalog { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  :root { --container-gutter: 24px; --section-space: 36px; }
  body { font-size: 13px; line-height: 1.5; }
  .topbar { background: #1597b2; }
  .topbar__inner { min-height: 36px; }
  .site-header { border-bottom: 0; background: #fff; }
  .brandmark__logo { width: 118px; filter: none; }
  .icon-link,
  .nav-burger { color: #444; }
  .icon-link__icon,
  .nav-burger { border-color: var(--line); background: #fff; }
  .nav-burger span,
  .nav-burger span::before,
  .nav-burger span::after { background: #444; }
  .icon-link__label { display: none; }
  .home-stage .home-slider,
  .home-stage .hero,
  .home-stage .home-slider__slide,
  .home-stage .hero__content { min-height: 465px; }
  .home-stage .home-slider__content { max-width: 92%; padding: 70px 22px 64px; }
  .home-stage .home-slider__content h1,
  .home-stage .hero h1 { font-size: clamp(1.85rem,9vw,2.65rem); }
  .home-stage .hero__content--split { grid-template-columns: 1fr; }
  .home-stage .hero-retail { display: none; }
  .home-stage__promos { grid-template-columns: 1fr; }
  .home-stage-card { min-height: 210px; padding: 24px; }
  .home-capabilities__grid { grid-template-columns: 1fr 1fr; }
  .home-capabilities__grid > a { min-height: 92px; padding: 13px; }
  .home-capabilities small { display: none; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2 { font-size: 1.25rem; }
  .category-grid--visual { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .category-card--visual { min-width: 76vw; scroll-snap-align: start; }
  .section--product-tabs .product-grid,
  .section--featured .product-grid,
  .product-grid--catalog { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .product-card__media { min-height: 165px; padding: 10px; }
  .product-card__body { padding: 9px 11px 12px; }
  .product-card__title { min-height: 49px; font-size: .73rem; }
  .product-card__options { display: none; }
  .product-card__quick-add button,
  .product-card__quick-add--link { min-height: 36px; padding-inline: 8px; }
  .product-tabs__list { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .product-tabs__tab { flex: 0 0 auto; }
  .promo-mosaic { grid-template-columns: 1fr; }
  .promo-card--primary { grid-row: auto; min-height: 300px; }
  .printer-promo { grid-template-columns: 1fr; }
  .printer-promo__visual { display: none; }
  .service-grid,
  .trust-grid { grid-template-columns: 1fr; }
  .service-card,
  .trust-card { min-height: 120px; border-right: 0; border-top: 1px solid var(--line); }
  .service-card:first-child,
  .trust-card:first-child { border-top: 0; }
  .catalog-hero .eyebrow,
  .catalog-hero > .shell > p:not(.catalog-query) { display: none; }
  .catalog-layout { gap: 18px; padding-block: 20px 52px; }
  .catalog-toolbar { align-items: flex-start; gap: 10px; }
  .catalog-sort { width: 100%; justify-content: space-between; }
  .product-info-card { padding: 20px 16px; }
  .product-buy-row { border-color: var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.12); }
  .product-page-surface .product-tabs__list { overflow-x: auto; flex-wrap: nowrap; }
  .product-tabs__content-card { padding: 20px 16px; }
  .product-benefit-band { padding: 30px 0; }
  .footer-newsletter { align-items: flex-start; padding-inline: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 34px; }
}

@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* S11 — Complete EGC technical-commerce theme */
:root {
  --color-primary: #ff6000;
  --color-primary-bright: #ffad45;
  --color-primary-deep: #8d4f00;
  --color-secondary: #006878;
  --color-info: #00a9c4;
  --color-purple: #5d5073;
  --ink: #1f2933;
  --muted: #68737d;
  --paper: #f4f7f8;
  --soft: #f7f9fa;
  --line: #e2e8f0;
  --line-strong: #cbd5df;
  --accent: #ff6000;
  --accent-dark: #8d4f00;
  --night: #18242a;
  --night-2: #22333b;
  --steel: #43545c;
  --danger: #c62828;
  --success: #208a49;
  --radius: 8px;
  --radius-md: 12px;
  --shadow: 0 18px 50px rgba(24,36,42,.12);
  --shadow-sm: 0 6px 22px rgba(24,36,42,.08);
  --container-max: 1280px;
  --container-gutter: 32px;
  --section-space: 48px;
}

body { color: var(--ink); background: #fff; }
main { min-height: 42vh; }
:focus-visible { outline-color: var(--color-secondary); }
.button { min-height: 46px; padding-inline: 20px; font-weight: 750; }
.button:disabled { opacity: .52; cursor: not-allowed; }
.eyebrow { color: var(--accent-dark); font-weight: 800; }
.topbar { background: var(--color-secondary); }
.announce-bar { background: var(--accent); color: #1f2933; }
.site-header { box-shadow: none; }
.header-search:focus-within { border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(0,104,120,.12); }
.category-nav__toggle { background: var(--accent); color: #2c210f; }
.category-nav__l1-link::before { border-color: var(--color-secondary); }
.category-nav__l1-item.is-active > .category-nav__l1-link,
.category-nav__l1-link:hover { background: #fff7ed; color: var(--accent-dark); }
.mobile-nav__head { background: var(--color-secondary); color: #fff; }
.mobile-nav__links a:hover { background: #eef8fa; color: var(--color-secondary); }
.home-stage .hero__actions .button--ghost { border-color: var(--line-strong); background: #fff; color: var(--ink); }
.home-stage .hero__actions .button--ghost:hover { border-color: var(--accent); background: #fff8ef; color: var(--accent-dark); }

.page-hero { background: linear-gradient(180deg,#f7fafb,#f2f6f7); }
.page-hero::after {
  content: "";
  display: block;
  width: min(1280px, calc(100% - 32px));
  height: 2px;
  margin: 24px auto -26px;
  background: linear-gradient(90deg,var(--accent) 0 72px,var(--line) 72px);
}
.page-hero--compact::after { margin-top: 19px; margin-bottom: -26px; }
.checkout-heading::after { display: none; }
.page-hero h1 { color: var(--ink); font-weight: 800; letter-spacing: -.025em; }
.breadcrumbs a:hover { color: var(--accent-dark); }

.product-card,
.category-card--visual,
.form-panel,
.order-summary,
.contact-form,
.info-panel,
.account-cards,
.order-card,
.empty-state,
.product-gallery-card,
.product-info-card,
.product-tabs__content-card {
  border-color: var(--line);
  box-shadow: none;
}
.product-card:hover,
.category-card--visual:hover { border-color: #cfd8df; box-shadow: var(--shadow-sm); }
.product-card__badge { background: var(--success); }
.product-card__stock.stock--no { background: #fff1f1; }
.price-block__current,
.product-info-card .product-price .price-block__current { color: var(--accent-dark); }
.product-card__quick-add button,
.product-card__quick-add--link { color: #2c210f; }
.product-card__quick-add button:hover,
.product-card__quick-add--link:hover { color: #fff; }
.product-service-badges article { border-color: #f0d3ad; }
.product-delivery-note { background: #edf8f1; color: #176b38; }
.product-benefit-band .benefit-mark { color: var(--color-secondary); }

.checkout-heading {
  padding-top: 30px;
  background: linear-gradient(115deg,#12343d,#006878);
}
.checkout-heading h1 { color: #fff; }
.checkout-heading p,
.checkout-heading .breadcrumbs { color: rgba(255,255,255,.76); }
.checkout-progress {
  display: grid;
  max-width: 650px;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: 25px 0 2px;
  margin: 0;
  list-style: none;
}
.checkout-progress li { position: relative; display: grid; justify-items: center; gap: 6px; color: rgba(255,255,255,.58); font-size: .68rem; }
.checkout-progress li::before { content: ""; position: absolute; top: 15px; right: 50%; left: -50%; height: 1px; background: rgba(255,255,255,.28); }
.checkout-progress li:first-child::before { display: none; }
.checkout-progress span { position: relative; z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.44); border-radius: 50%; background: #184550; }
.checkout-progress .is-complete,
.checkout-progress .is-active { color: #fff; }
.checkout-progress .is-complete span { border-color: var(--accent); background: var(--accent); color: #2c210f; }
.checkout-progress .is-active span { border-color: #fff; background: #fff; color: var(--color-secondary); }
.checkout-progress .is-complete::before,
.checkout-progress .is-active::before { background: var(--accent); }
.checkout-layout { gap: 32px; background: #f7f9fa; }
.page-checkout main { background: #f7f9fa; }
.form-panel { border-radius: var(--radius-md); }
.form-panel__number { border-radius: 50%; background: var(--color-secondary); color: #fff; }
.form-panel__content { min-width: 0; }
.form-panel h2 { color: var(--ink); }
.form-panel input:not([type=checkbox]):not([type=radio]),
.form-panel textarea,
.form-panel select,
.contact-form input,
.contact-form textarea,
.tracking-form input,
.auth-card input:not([type=checkbox]),
.error-page__search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
.form-panel textarea,
.contact-form textarea { min-height: 112px; resize: vertical; }
.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus,
.contact-form input:focus,
.contact-form textarea:focus,
.tracking-form input:focus,
.auth-card input:focus,
.error-page__search input:focus { outline: 0; border-color: var(--color-secondary); box-shadow: 0 0 0 3px rgba(0,104,120,.12); }
.payment-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.payment-tab { min-height: 52px; border-radius: 7px; }
.payment-tab:has(input:checked) { border-color: var(--accent); background: #fff8ef; box-shadow: inset 0 0 0 1px var(--accent); }
.payment-panel { border-radius: 7px; background: #f7fafb; }
.order-summary { border-top-color: var(--accent); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.order-summary__total dd { color: var(--accent-dark); }
.terms-check a { color: var(--color-secondary); }

.account-layout { grid-template-columns: 250px minmax(0,1fr); gap: 32px; }
.account-nav { overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.account-nav > p { margin: 0; padding: 18px 17px; background: var(--color-secondary); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.account-nav a { display: flex; min-height: 48px; align-items: center; gap: 11px; padding-inline: 17px; }
.account-nav a span { display: grid; width: 24px; height: 24px; place-items: center; color: var(--color-secondary); font-size: 1rem; }
.account-nav a.is-active { background: #fff7ed; color: var(--accent-dark); box-shadow: inset 3px 0 0 var(--accent); }
.account-nav a.is-active span { color: var(--accent-dark); }
.account-cards { overflow: hidden; border-radius: var(--radius-md); }
.account-cards div { position: relative; }
.account-cards div::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; background: var(--accent); opacity: .7; }
.account-cards strong { overflow-wrap: anywhere; }
.account-orders { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.order-row { padding-inline: 8px; border-radius: 7px; }
.order-row:hover { background: #f7fafb; color: var(--ink); }
.account-layout--orders { align-items: start; }
.account-layout--orders .orders-page { padding: 0; }
.order-card { border-radius: var(--radius-md); }
.status-pill { background: #fff4dc; color: #785300; }
.tracking-steps .is-complete::before,
.tracking-steps .is-complete span { background: var(--color-secondary); color: #fff; }

.auth-page {
  display: grid;
  width: min(var(--container-max), calc(100% - var(--container-gutter)));
  min-height: 660px;
  grid-template-columns: minmax(0,1fr) minmax(380px,520px);
  align-items: stretch;
  gap: 0;
  margin: 42px auto 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.auth-page__intro { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(40px,6vw,82px); background: linear-gradient(140deg,#12343d,#006878); color: #fff; isolation: isolate; }
.auth-page__intro::before,
.auth-page__intro::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; }
.auth-page__intro::before { width: 330px; height: 330px; right: -135px; top: -110px; border: 60px solid rgba(255,255,255,.08); }
.auth-page__intro::after { width: 210px; height: 210px; left: -100px; bottom: -90px; background: rgba(248,148,30,.22); }
.auth-page__intro .eyebrow { color: #ffd39e; }
.auth-page__intro h1 { max-width: 12ch; margin: 4px 0 18px; color: #fff; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.05; letter-spacing: -.035em; }
.auth-page__intro > p:not(.eyebrow) { max-width: 52ch; color: rgba(255,255,255,.78); }
.auth-page__benefits { display: grid; gap: 10px; padding: 0; margin: 30px 0 0; list-style: none; }
.auth-page__benefits li { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.auth-page__benefits li::before { content: "✓"; display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: var(--accent); color: #2c210f; }
.auth-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px,5vw,62px); }
.auth-card h2 { margin: 0; font-size: clamp(1.55rem,3vw,2.15rem); letter-spacing: -.025em; }
.auth-card__lead { margin: 8px 0 24px; color: var(--muted); }
.auth-card form { display: grid; gap: 14px; }
.auth-card .field { display: grid; gap: 6px; }
.auth-card label { font-size: .75rem; font-weight: 750; }
.field__label-row { display: flex; justify-content: space-between; gap: 12px; }
.field__label-row a,
.auth-card__switch a { color: var(--color-secondary); font-weight: 750; }
.auth-card__remember { margin: 2px 0; }
.auth-card__switch { padding-top: 20px; margin: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-align: center; }
.auth-card [data-valmsg-for],
.auth-card .field-validation-error { color: var(--danger); font-size: .7rem; }

.contact-layout { gap: 48px; }
.contact-info dl div { display: grid; grid-template-columns: 120px 1fr; gap: 18px; }
.contact-note { border-left-color: var(--color-secondary); background: #eef8fa; }
.contact-form { border-top-color: var(--color-secondary); border-radius: var(--radius-md); }
.legal-page { line-height: 1.75; }
.legal-page h2 { color: var(--color-secondary); }
.legal-callout { border-left-color: var(--accent); background: #fff8ef; }

.error-page { display: grid; min-height: 610px; place-content: center; justify-items: center; padding-block: 80px; text-align: center; }
.error-page__code { color: var(--accent); font-size: clamp(4.5rem,12vw,8rem); font-weight: 900; line-height: .9; letter-spacing: -.08em; }
.error-page h1 { max-width: 760px; margin: 10px 0; font-size: clamp(2rem,5vw,3.7rem); line-height: 1.05; letter-spacing: -.04em; }
.error-page > p:not(.eyebrow) { max-width: 620px; color: var(--muted); }
.error-page__search { display: grid; width: min(560px,100%); grid-template-columns: 1fr auto; gap: 8px; margin: 24px 0 10px; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 22px; }
.error-page small { margin-top: 26px; color: var(--muted); }

.success-page__icon { background: var(--success); color: #fff; }
.success-page__total { border-radius: 8px; }
.site-footer { background: #fff; }
.footer-newsletter { background: var(--color-secondary); }
.footer-newsletter__button { color: var(--color-secondary); }
.footer-grid h2 { color: var(--color-secondary); }
.order-cta__actions .button--ghost { border-color: rgba(255,255,255,.6); background: transparent; color: #fff; }
.order-cta__actions .button--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.footer-grid .footer-wa,
.footer-grid .footer-wa:hover { border-color: #128c7e; background: #128c7e; color: #fff; }
.mobile-dock { display: none; }

/* Storefront header: fixed announcement, retail navigation and global moving offer band. */
.topbar {
  background: var(--campaign-bar-bg, #ff6800);
  color: var(--campaign-bar-fg, #fff);
}
.topbar__inner {
  min-height: var(--campaign-bar-height, 42px);
  justify-content: center;
}
.topbar__stage {
  display: grid;
  justify-items: center;
  align-items: center;
  width: 100%;
  min-height: inherit;
  color: inherit;
  text-decoration: none;
}
.topbar__promo {
  grid-area: 1 / 1;
  margin: 0;
  color: inherit;
  font-size: var(--campaign-bar-fs, .8rem);
  font-weight: 800;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.topbar__promo.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
@media (min-width: 901px) {
  .topbar--hide-desktop { display: none; }
}
.site-header { background: #fff; border-bottom: 0; box-shadow: none; }
.site-header.is-scrolled { box-shadow: 0 8px 22px rgba(15, 23, 42, .08); }
.site-header__row {
  min-height: 98px;
  gap: clamp(30px, 4vw, 62px);
}
.site-header__row .brandmark__logo {
  width: 172px;
  max-height: 76px;
}
.site-header__row .header-search {
  max-width: 660px;
  height: 48px;
  border-color: #dcdcdc;
  background: #f8f8f8;
}
.site-header__row .header-search input { font-size: .82rem; }
.site-header__row .header-actions {
  flex: 0 0 auto;
  gap: 18px;
  margin-left: 0;
}
.site-header__row .header-actions .icon-link {
  min-width: 52px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  color: #272727;
  font-size: .67rem;
  font-weight: 700;
}
.site-header__row .header-actions .icon-link__icon {
  width: 30px;
  height: 30px;
}
.site-header__row .cart-link .cart-count {
  position: absolute;
  top: -2px;
  right: 3px;
}
.site-header__nav { border: 0; }
.site-header__nav-inner {
  min-height: 58px;
  align-items: center;
  gap: 20px;
}
.site-header__nav-inner .category-nav {
  flex-basis: 230px;
  width: 230px;
}
.site-header__nav-inner .category-nav__toggle {
  min-height: 42px;
  border-radius: 10px;
  font-size: .82rem;
}
.header-collections {
  display: flex;
  min-height: 56px;
  flex: 0 0 auto;
  align-items: stretch;
}
.header-collections a {
  display: inline-flex;
  min-width: 112px;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  color: #292929;
  font-size: .79rem;
  font-weight: 800;
  white-space: nowrap;
}
.header-collections a:hover,
.header-collections a:focus-visible,
.header-collections a[aria-current="page"] { color: var(--accent-dark); }
.header-collections a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.site-header__nav-inner .storefront-menu--desktop > .storefront-menu__root {
  min-height: 56px;
  justify-content: space-evenly;
}
.site-header__nav-inner .storefront-menu__item > a,
.site-header__nav-inner .storefront-menu__item > button,
.site-header__nav-inner .storefront-menu__item > span {
  min-height: 56px;
  font-size: .79rem;
}
.header-nav-frame {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.header-nav-frame .category-nav { flex: 0 0 230px; }
.header-nav-frame .category-nav__toggle { border-radius: 10px; }
.header-nav-frame .header-collections { flex: 1 1 0; }
.header-nav-frame .header-collections a { min-width: 0; flex: 1; }
.header-nav-frame .storefront-menu--desktop { flex: 1 1 0; }
.header-nav-frame .storefront-menu--desktop > .storefront-menu__root { width: 100%; }
.header-nav-frame .storefront-menu--desktop > .storefront-menu__root > .storefront-menu__item { flex: 1 1 0; }
.header-nav-frame .storefront-menu--desktop > .storefront-menu__root > .storefront-menu__item > a,
.header-nav-frame .storefront-menu--desktop > .storefront-menu__root > .storefront-menu__item > button,
.header-nav-frame .storefront-menu--desktop > .storefront-menu__root > .storefront-menu__item > span { justify-content: center; }
.header-blog {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-width: 142px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  overflow: hidden;
  border-radius: 10px;
  background: linear-gradient(135deg, #101a2f 0%, #263b59 58%, #e90046 160%);
  color: #fff;
  font-size: .83rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.header-blog::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 72px;
  height: 72px;
  top: -46px;
  right: -18px;
  border-radius: 50%;
  background: rgba(233, 0, 70, .72);
  box-shadow: -54px 56px 0 -28px rgba(255, 146, 27, .42);
}
.header-blog span { font-weight: 850; }
.header-blog strong { color: #ff921b; font-weight: 850; }
.header-blog:hover,
.header-blog:focus-visible { color: #fff; transform: translateY(-1px); box-shadow: 0 9px 22px rgba(16, 26, 47, .2); }
.header-blog.is-active { box-shadow: 0 0 0 2px #ff921b inset, 0 9px 22px rgba(16, 26, 47, .2); }
.category-nav__panel {
  width: min(920px, calc(100vw - var(--container-gutter)));
  min-width: 0;
}
.category-nav__label {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-nav__label > span { overflow: hidden; text-overflow: ellipsis; }
.category-nav__label small,
.category-nav__l2-link small,
.category-nav__l3 small,
.category-acc__row small {
  color: #8a8a8a;
  font-size: .62rem;
  font-weight: 750;
  white-space: nowrap;
}
.category-nav__l2-link,
.category-nav__l3 a,
.category-acc__row > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.home-stage {
  grid-template-columns: minmax(0, 1fr);
}
.home-stage__primary { grid-column: 1; }
.home-stage__promos { grid-column: 1; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (prefers-reduced-motion: reduce) {
  .topbar__promo { opacity: 0; transform: none; transition: none; }
  .topbar__promo.is-active { opacity: 1; }
}
@media (max-width: 1120px) {
  .home-stage { grid-template-columns: minmax(0, 1fr); }
  .home-stage__primary,
  .home-stage__promos { grid-column: 1; }
  .home-stage__promos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .header-nav-frame { flex-wrap: wrap; gap: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .header-nav-frame .category-nav { flex: 1 1 50%; }
  .header-nav-frame .header-collections { order: 3; }
  .header-nav-frame .storefront-menu--mobile { flex: 1 1 50%; }
  .header-blog { display: none; }
  .header-collections {
    order: 3;
    min-height: 42px;
    flex: 1 1 100%;
    border-top: 1px solid var(--line);
  }
  .header-collections a { min-width: 0; flex: 1; }
}
  .header-blog { display: none; }

@media (max-width: 900px) {
  .topbar__inner { min-height: var(--campaign-bar-height-mobile, 38px); }
  .topbar__promo { font-size: var(--campaign-bar-fs-mobile, .7rem); }
  .topbar--hide-mobile { display: none; }
  .site-header__row { min-height: 74px; gap: 14px; }
  .site-header__row .brandmark__logo { width: 122px; max-height: 58px; }
  .site-header__row .header-actions { gap: 8px; margin-left: auto; }
  .site-header__row .header-actions .icon-link { min-width: 42px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); position: static; }
  .account-nav > p { grid-column: 1 / -1; }
  .account-nav a { justify-content: center; text-align: center; }
  .account-nav a span { display: none; }
  .account-nav a.is-active { box-shadow: inset 0 -3px 0 var(--accent); }
  .auth-page { grid-template-columns: 1fr; }
  .auth-page__intro { min-height: 360px; }
  .auth-page__intro h1 { max-width: 16ch; }
}

@media (max-width: 700px) {
  body { padding-bottom: 66px; }
  .page-hero::after { width: calc(100% - 24px); }
  .page-hero--compact { padding-block: 22px; }
  .checkout-progress { padding-top: 20px; }
  .checkout-progress strong { font-size: .58rem; }
  .checkout-layout { padding-block: 22px 52px; }
  .form-panel { grid-template-columns: 34px minmax(0,1fr); gap: 11px; padding: 18px 14px; }
  .form-panel__number { width: 32px; height: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__full { grid-column: auto; }
  .payment-tabs { grid-template-columns: 1fr; }
  .cart-page .cart-line {
    grid-template-columns: 72px minmax(0,1fr);
    gap: 10px 12px;
    align-items: start;
    padding: 12px;
  }
  .cart-page .cart-line__image { grid-column: 1; grid-row: 1; width: 72px; max-width: 72px; align-self: start; }
  .cart-page .cart-line__content { grid-column: 2; grid-row: 1; min-width: 0; }
  .cart-page .cart-line__actions {
    grid-column: 1 / -1; grid-row: 2;
    display: flex; flex-direction: row; flex-wrap: wrap;
    align-items: center; gap: 8px 12px;
  }
  .cart-page .cart-line__stepper {
    min-height: 40px;
    grid-template-columns: 40px minmax(44px, 56px) 40px;
  }
  .cart-page .cart-line__total {
    grid-column: 1 / -1; grid-row: 3; position: static;
    align-self: center; justify-self: end; margin: 0; padding-top: 2px;
  }
  .account-layout { padding-block: 22px 52px; }
  .account-nav { grid-template-columns: 1fr 1fr; }
  .account-nav > p { grid-column: 1 / -1; }
  .account-cards { grid-template-columns: 1fr; }
  .account-cards div + div { border-top: 1px solid var(--line); border-left: 0; }
  .account-orders { padding: 17px; }
  .order-row { grid-template-columns: 1fr auto; gap: 8px; }
  .order-row > span:nth-child(2) { display: none; }
  .order-card { padding: 18px 14px; }
  .order-card header { grid-template-columns: 1fr 1fr; }
  .tracking-form { grid-template-columns: 1fr; }
  .tracking-steps { overflow-x: auto; grid-template-columns: repeat(4,110px); }
  .auth-page { width: calc(100% - 24px); min-height: auto; margin: 18px auto 46px; border-radius: 12px; }
  .auth-page__intro { min-height: 300px; padding: 30px 24px; }
  .auth-page__intro h1 { font-size: 2.15rem; }
  .auth-page__benefits { margin-top: 20px; }
  .auth-card { padding: 30px 22px; }
  .contact-layout { padding-block: 42px 58px; }
  .contact-info dl div { grid-template-columns: 1fr; gap: 2px; }
  .contact-form { padding: 24px 18px; }
  .error-page { min-height: 520px; padding-block: 55px; }
  .error-page__search { grid-template-columns: 1fr; }
  .success-page { min-height: 520px; padding-block: 55px; }
  .success-page__total { min-width: min(100%,320px); }
  .mobile-dock {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    min-height: 64px;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 24px rgba(24,36,42,.08);
    backdrop-filter: blur(14px);
  }
  .mobile-dock a { display: grid; place-items: center; align-content: center; gap: 2px; color: #58666d; }
  .mobile-dock a:hover { color: var(--accent-dark); }
  .mobile-dock span { font-size: 1.25rem; line-height: 1; }
  .mobile-dock small { font-size: .58rem; font-weight: 750; }
}

/* Keep the category/catalog layer last in the cascade. */
@media (min-width: 992px) {
  .site-header__nav-inner .category-nav__panel { --category-menu-height:clamp(660px,calc(100vh - 85px),720px); width:min(1170px,calc(100vw - 32px)); height:var(--category-menu-height); min-height:0; overflow:hidden; border-radius:0 0 14px 14px; box-shadow:0 22px 55px rgba(18,25,33,.18); }
  .category-nav__desktop { height:100%; min-height:0; max-height:none; grid-template-columns:230px minmax(0,1fr); }
  .category-nav__l1 { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0; scrollbar-width:thin; scrollbar-gutter:stable; }
  .category-nav__l1-link { min-height:46px; border-bottom:1px solid #eee; }
  .category-nav__l1-item.is-active > .category-nav__l1-link { background:var(--accent); color:#fff; }
  .category-nav__l1-item.is-active > .category-nav__l1-link::before { border-color:#fff; }
  .category-nav__flyout { position:absolute; top:0; left:230px; display:grid; width:calc(100% - 230px); height:100%; min-height:0; overflow:hidden; grid-template-columns:minmax(0,1fr) 190px; gap:24px; padding:22px; }
  .category-nav__flyout-main { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding-right:8px; scrollbar-width:thin; scrollbar-gutter:stable; }
  .category-nav__flyout-head { position:sticky; top:0; z-index:2; margin-bottom:10px; padding:0 0 12px; background:#fff; }
  .category-nav__flyout-grid { grid-template-columns:repeat(4,minmax(105px,1fr)); gap:18px; }
  .category-nav__l2-link { display:grid; min-height:156px; justify-items:center; gap:8px; margin:0; padding:12px 8px; border:1px solid #ececec; border-radius:13px; text-align:center; }
  .category-nav__promo { height:100%; min-height:0; }
}
.catalog-page { background:#f8f8f8; min-height:70vh; }
.catalog-category-head { padding-block:26px 18px; }
.catalog-category-copy { max-width:1100px; padding-top:18px; border-top:1px solid #e4e4e4; }
.catalog-subcategories { display:flex; gap:12px; margin-top:24px; overflow-x:auto; padding-bottom:8px; }
.catalog-subcategories > a { display:flex; min-width:185px; align-items:center; gap:10px; padding:9px 13px; border:1px solid #e7e7e7; border-radius:999px; background:#fff; }
.catalog-layout--reference { grid-template-columns:270px minmax(0,1fr); gap:24px; padding-block:0 76px; }
.catalog-facet-panel { padding:0; border:0; background:transparent; }
.catalog-facet-panel form { display:grid; gap:16px; }
.catalog-filter-card {
  min-inline-size: 0;
  margin: 0;
  padding: 18px 18px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20,29,38,.035);
}
.catalog-filter-card > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 14px;
  color: #262626;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1.3;
}
.catalog-filter-card > legend + * { clear: both; }
.catalog-filter-card.check-row { gap: 10px; padding: 16px 18px; }
.catalog-category-list { display:grid; gap:2px; max-height:330px; overflow-y:auto; }
.facet-options { display:grid; max-height:225px; gap:10px; overflow-y:auto; }
.facet-options label { display:flex; align-items:center; gap:7px; font-size:.72rem; cursor:pointer; }
.facet-options label span { min-width:0; flex:1; }
.catalog-toolbar--reference { display:grid; grid-template-columns:1fr auto 1fr; min-height:64px; align-items:center; margin-bottom:16px; padding:8px 20px; border:0; border-radius:32px; background:#fff; box-shadow:0 3px 12px rgba(20,29,38,.06); }
.catalog-view-icons { display:flex; justify-self:end; align-items:center; gap:6px; }
.catalog-page .product-grid--catalog { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.catalog-page .product-grid--catalog .product-card { border:0; border-radius:14px; box-shadow:0 3px 12px rgba(20,29,38,.07); }
@media (max-width:1180px) and (min-width:992px) { .category-nav__flyout-grid { grid-template-columns:repeat(3,minmax(105px,1fr)); } .category-nav__flyout { grid-template-columns:minmax(0,1fr) 160px; } }
@media (max-width:980px) { .catalog-layout--reference { grid-template-columns:1fr; } .catalog-page .product-grid--catalog { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:720px) { .catalog-toolbar--reference { grid-template-columns:1fr auto; border-radius:14px; } .catalog-page .product-grid--catalog { grid-template-columns:repeat(2,minmax(0,1fr)); } }

.eyebrow--accent { color: var(--color-primary-deep); }
.account-cards span,
.account-cards small,
.order-row small {
  color: #4a454c;
}
.account-cards a,
.account-orders .section-heading a {
  color: var(--color-primary-deep);
  font-weight: 700;
}
.account-nav a.is-active {
  background: var(--color-secondary);
  color: #fff;
  box-shadow: none;
}
.account-nav a.is-active span { color: #fff; }
.account-nav-mobile { display: none; }
.account-nav-mobile select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md, 8px);
  background: #fff;
  font: inherit;
}
.product-account-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.button--ghost { background: #fff; border: 1px solid var(--line); }
@media (max-width: 1024px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { display: none !important; }
  .account-nav-mobile { display: block; margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .account-nav a, .account-nav-mobile select { transition: none; }
}

/* EGC Lab — editorial storefront blog */
.blog-lab { --blog-night: #142128; --blog-teal: #006878; --blog-orange: #ff6000; --blog-purple: #5d5073; background: #f3f6f7; padding-bottom: 72px; }
.blog-lab__mast {
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  padding: 54px 0 48px;
  background:
    linear-gradient(115deg, rgba(248,148,30,.18), transparent 32%),
    repeating-linear-gradient(-18deg, transparent 0 14px, rgba(248,148,30,.09) 14px 15px),
    linear-gradient(160deg, #10181c 0%, #142128 48%, #0e3a44 100%);
  color: #fff;
}
.blog-lab__mast::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -40%;
  width: 46%;
  height: 140%;
  background: radial-gradient(circle at 40% 40%, rgba(248,148,30,.55), transparent 58%);
  transform: rotate(18deg);
  pointer-events: none;
}
.blog-lab__mast-inner { position: relative; z-index: 1; max-width: 820px; }
.blog-lab__kicker,
.blog-kicker {
  margin: 0 0 10px;
  color: var(--blog-orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.blog-lab__mast h1 {
  position: relative;
  margin: 0 0 16px;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}
.blog-lab__watermark {
  position: absolute;
  top: -38px;
  left: -8px;
  color: transparent;
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -.06em;
  -webkit-text-stroke: 1px rgba(255,255,255,.12);
  pointer-events: none;
}
.blog-lab__lede { max-width: 58ch; margin: 0; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.blog-lab__stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; font-size: .82rem; color: rgba(255,255,255,.7); }
.blog-lab__stats strong { display: block; color: #fff; font-size: 1.15rem; }
.blog-lab__cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 0 28px;
  padding: 8px 0 12px;
  scrollbar-width: thin;
  position: sticky;
  top: 0;
  z-index: 4;
  background: linear-gradient(#f3f6f7 70%, rgba(243,246,247,0));
}
.blog-lab__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
}
.blog-lab__chip small { color: var(--muted); }
.blog-lab__chip.is-active,
.blog-lab__chip:hover { border-color: var(--blog-teal); background: #12343d; color: #fff; }
.blog-lab__chip.is-active small,
.blog-lab__chip:hover small { color: #ffd59a; }
.blog-hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  min-height: 420px;
  margin-bottom: 32px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.blog-hero-split__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 4vw, 42px); }
.blog-hero-split__copy h2 { margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; }
.blog-hero-split__copy h2 a { color: inherit; }
.blog-hero-split__sub { margin: 0 0 12px; color: var(--blog-teal); font-weight: 700; }
.blog-hero-split__copy > p:last-of-type { color: var(--muted); }
.blog-lab__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  width: max-content;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blog-orange);
  color: #1f1408;
  font-weight: 800;
}
.blog-lab__cta:hover { color: #1f1408; filter: brightness(1.05); }
.blog-lab__board { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; align-items: start; }
.blog-bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.blog-bento > :first-child { grid-column: 1 / -1; }
.blog-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.blog-bento > :first-child.blog-card { grid-template-columns: minmax(220px, .42fr) minmax(0, 1fr); min-height: 230px; }
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.blog-card h2 { margin: 0; font-size: 1.08rem; line-height: 1.28; }
.blog-card h2 a { color: inherit; }
.blog-card__sub, .blog-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.blog-card time { margin-top: auto; color: #8a949c; font-size: .72rem; }
.blog-cover {
  position: relative;
  display: block;
  min-height: 100%;
  overflow: hidden;
  isolation: isolate;
}
.blog-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.blog-cover__index {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  color: #fff;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.04em;
  text-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.blog-cover--printer { background: radial-gradient(circle at 18% 20%, rgba(248,148,30,.55), transparent 42%), linear-gradient(145deg, #18242a, #006878); }
.blog-cover--printer::before { content: ""; position: absolute; inset: 18% 16%; border: 2px solid rgba(255,255,255,.28); clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%); }
.blog-cover--filament { background: repeating-linear-gradient(90deg, #ff6000 0 10px, #ffd59a 10px 14px, #8d4f00 14px 18px, #ff6000 18px 28px), linear-gradient(#5d5073, #18242a); }
.blog-cover--filament::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 30%, rgba(20,33,40,.55)); }
.blog-cover--scan { background: radial-gradient(circle at 50% 50%, rgba(0,169,196,.55), transparent 42%), linear-gradient(160deg, #10181c, #5d5073); }
.blog-cover--scan::before { content: ""; position: absolute; inset: 22%; border: 1px dashed rgba(255,255,255,.4); border-radius: 50%; }
.blog-cover--resin { background: radial-gradient(circle at 30% 70%, rgba(0,104,120,.7), transparent 46%), linear-gradient(180deg, #3a2150, #142128); }
.blog-cover--resin::before { content: ""; position: absolute; left: 18%; right: 18%; top: 28%; height: 42%; border-radius: 40% 40% 48% 48%; background: rgba(0,169,196,.28); }
.blog-cover--laser { background: linear-gradient(135deg, #1a1014, #5d5073 55%, #ff6000); }
.blog-cover--laser::before { content: ""; position: absolute; left: 12%; right: 12%; top: 48%; height: 2px; background: #fff; box-shadow: 0 0 18px #ff6000; }
.blog-cover--service { background: linear-gradient(160deg, #12343d, #18242a 60%, #ff6000); }
.blog-cover--service::before { content: ""; position: absolute; inset: 24% 28%; border: 2px solid rgba(255,255,255,.32); border-radius: 4px; }
.blog-cover--story { min-height: min(46vh, 420px); }
.blog-lab__rail, .blog-story__aside { position: sticky; top: 16px; display: grid; gap: 18px; }
.blog-lab__rail h2, .blog-story__aside h2 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blog-teal); }
.blog-popular { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.blog-popular a, .blog-related a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: inherit; }
.blog-popular span { color: var(--blog-orange); font-weight: 900; font-size: .78rem; }
.blog-popular small { color: var(--muted); }
.blog-rail-cta { padding: 18px; border-radius: 16px; background: linear-gradient(160deg, #12343d, #006878); color: #fff; }
.blog-rail-cta p { margin: 0; color: rgba(255,255,255,.8); }
.blog-rail-cta strong { display: block; margin: 8px 0 4px; }
/* Rail CTA pill: `body.theme-v2 a { color: inherit }` (0,1,2) outranks `.blog-lab__cta` (0,1,0) and inherits the card's
   white text, so a white pill rendered white-on-white. Pin both colours at (0,3,0): orange primary CTA, dark text (6.5:1). */
.blog-rail-cta .blog-lab__cta,
body.theme-v2 .blog-rail-cta .blog-lab__cta { background: #ff6000; color: #130a04; text-decoration: none; }
.blog-rail-cta .blog-lab__cta:hover,
.blog-rail-cta .blog-lab__cta:focus-visible,
body.theme-v2 .blog-rail-cta .blog-lab__cta:hover,
body.theme-v2 .blog-rail-cta .blog-lab__cta:focus-visible { background: #fff; color: #12343d; filter: none; }
.blog-empty { display: grid; min-height: 180px; place-content: center; gap: 8px; padding: 32px; border-radius: 18px; background: #fff; text-align: center; color: var(--muted); }
.blog-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.blog-pager a { font-weight: 800; color: var(--blog-teal); }

.blog-story { background: #f3f6f7; padding-bottom: 64px; }
.blog-story__head { padding: 36px 0 10px; }
.blog-story__crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: .8rem; }
.blog-story__head h1 { margin: 0 0 12px; max-width: 18ch; font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: -.04em; }
.blog-story__sub { max-width: 46ch; color: var(--blog-teal); font-size: 1.15rem; font-weight: 650; }
.blog-story__meta { color: var(--muted); font-size: .82rem; }
.blog-story__figure { margin: 8px 0 28px; }
.blog-story__figure .blog-cover { width: min(1280px, calc(100% - 32px)); margin-inline: auto; border-radius: 24px; }
.blog-story__grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 42px; align-items: start; }
.blog-prose { max-width: 68ch; font-size: 1.05rem; line-height: 1.75; }
.blog-prose > p:first-of-type::first-letter {
  float: left;
  margin: 6px 10px 0 0;
  color: var(--blog-orange);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.06em;
}
.blog-prose h2 { margin: 1.6em 0 .6em; font-size: 1.35rem; letter-spacing: -.02em; }
.blog-prose h3 { margin: 1.3em 0 .5em; font-size: 1.12rem; }
.blog-prose p, .blog-prose li { color: #334049; }
.blog-prose a { color: var(--blog-teal); font-weight: 700; }
.blog-prose table { width: 100%; margin: 1.2em 0; border-collapse: collapse; font-size: .9rem; }
.blog-prose th, .blog-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.blog-prose th { background: #12343d; color: #fff; }
.blog-prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--blog-orange); color: var(--blog-purple); font-weight: 650; }
.blog-related { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.blog-story__pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 42px;
}
.blog-story__pager a { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: inherit; }
.blog-story__pager small { color: var(--blog-orange); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
/* Blog detail comments (`#yorumlar`): card layout aligned with the story grid main column (not a 640px centered orphan).
   Operator decision 2026-10-24: FIX the section (do not hide). Approval flow unchanged. */
.blog-story .blog-comments {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 42px;
  align-items: start;
  margin-top: 36px;
  padding-bottom: 64px;
}
.blog-story .blog-comments__main {
  grid-column: 1;
  min-width: 0;
  display: grid;
  gap: 20px;
}
.blog-story .blog-comments__head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -.02em;
  color: var(--ink);
}
.blog-story .blog-comments__lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}
.blog-story .blog-comments__empty {
  margin: 0;
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--v2-radius-lg, 8px);
  background: rgba(255, 255, 255, .7);
  color: var(--muted);
  font-size: .92rem;
}
.blog-story .blog-comments__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.blog-story .blog-comments__card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--v2-radius-lg, 8px);
  background: #fff;
  box-shadow: var(--v2-shadow-sm, 0 1px 2px rgba(0, 0, 0, .06));
}
.blog-story .blog-comments__card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 8px;
}
.blog-story .blog-comments__author {
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}
.blog-story .blog-comments__card-meta time {
  color: var(--muted);
  font-size: .78rem;
}
.blog-story .blog-comments__body {
  margin: 0;
  color: #334049;
  font-size: .95rem;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.blog-story .blog-comments__form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--v2-radius-lg, 8px);
  background: #fff;
  box-shadow: var(--v2-shadow-sm, 0 1px 2px rgba(0, 0, 0, .06));
}
.blog-story .blog-comments__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.blog-story .blog-comments__field {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.blog-story .blog-comments__field--full { grid-column: 1 / -1; }
.blog-story .blog-comments__field label {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.3;
}
.blog-story .blog-comments__field input,
.blog-story .blog-comments__field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--v2-radius-sm, 7px);
  background: #fff;
  color: var(--ink);
  font: inherit;
  box-sizing: border-box;
}
.blog-story .blog-comments__field textarea {
  min-height: 132px;
  resize: vertical;
}
.blog-story .blog-comments__field input:focus,
.blog-story .blog-comments__field textarea:focus {
  outline: 0;
  border-color: var(--v2-primary, var(--accent));
  box-shadow: 0 0 0 3px var(--v2-primary-soft, rgba(255, 96, 0, .14));
}
.blog-story .blog-comments__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 4px;
}
.blog-story .blog-comments__actions small {
  flex: 1 1 220px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.5;
}
.blog-story .blog-comments__actions .button { min-width: 160px; }
@media (max-width: 1024px) {
  .blog-story .blog-comments { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 639px) {
  .blog-story .blog-comments__form { grid-template-columns: 1fr; gap: 14px; padding: 20px 16px; }
  .blog-story .blog-comments__field--full { grid-column: auto; }
  .blog-story .blog-comments__actions { flex-direction: column-reverse; align-items: stretch; }
  .blog-story .blog-comments__actions .button { width: 100%; min-width: 0; }
  .blog-story .blog-comments__card { padding: 16px; }
}

@media (max-width: 1024px) {
  .blog-hero-split, .blog-lab__board, .blog-story__grid, .blog-bento, .blog-bento > :first-child.blog-card { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 108px minmax(0, 1fr); }
  .blog-cover--story, .blog-hero-split__visual { min-height: 220px; }
  .blog-lab__rail, .blog-story__aside { position: static; }
  .blog-story__head h1 { max-width: none; }
}
@media (max-width: 620px) {
  .blog-lab__mast { padding: 36px 0 32px; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-cover { min-height: 150px; }
  .blog-story__pager { grid-template-columns: 1fr; }
  .blog-prose > p:first-of-type::first-letter { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-lab__mast::after { transform: none; }
}

/* EGC Lab v3 — immersive tech blog index (overrides storefront-v2 blog rules via .blog-lab-v3) */
body.theme-v2 .blog-page.blog-lab-v3 {
  --lab-bg: #0b1014;
  --lab-bg-2: #111920;
  --lab-panel: #141d25;
  --lab-line: rgba(255,255,255,.08);
  --lab-line-strong: rgba(255,255,255,.16);
  --lab-ink: #e8eef2;
  --lab-muted: #8e9ba6;
  --lab-hot: #ff6000;
  --lab-cyan: #2ad4ff;
  --lab-lime: #b8ff5c;
  --lab-mono: ui-monospace, "Cascadia Mono", "Consolas", "SFMono-Regular", Menlo, monospace;
  position: relative;
  overflow-x: clip;
  background: var(--lab-bg);
  color: var(--lab-ink);
}
.blog-lab-v3 .lab-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }
.blog-lab-v3 a { color: inherit; }

/* Mast */
.blog-lab-v3 .lab-mast { position: relative; isolation: isolate; padding: 44px 0 56px; overflow: hidden; border-bottom: 1px solid var(--lab-line); }
.blog-lab-v3 .lab-mast__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(42,212,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,212,255,.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000 20%, transparent 75%);
  animation: lab-grid-drift 28s linear infinite;
}
.blog-lab-v3 .lab-mast__beam {
  position: absolute; z-index: -1; right: -12%; top: -40%; width: 56%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,96,0,.38), transparent 55%),
    conic-gradient(from 210deg, transparent 0 62%, rgba(42,212,255,.22) 72%, transparent 80%);
  filter: blur(14px);
  animation: lab-beam 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.blog-lab-v3 .lab-mast::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--lab-cyan) 35%, var(--lab-hot) 65%, transparent);
  opacity: .7;
}
.blog-lab-v3 .lab-mast__inner { position: relative; z-index: 1; }
.blog-lab-v3 .lab-crumbs { margin-bottom: 22px; color: var(--lab-muted); }
.blog-lab-v3 .lab-crumbs a { color: var(--lab-ink); }
.blog-lab-v3 .lab-console {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 7px 12px;
  border: 1px solid var(--lab-line-strong); border-radius: 8px; background: rgba(0,0,0,.35);
  font-family: var(--lab-mono); font-size: .76rem; color: var(--lab-muted);
}
.blog-lab-v3 .lab-console__prompt { color: var(--lab-lime); }
.blog-lab-v3 .lab-console__cmd { color: var(--lab-ink); }
.blog-lab-v3 .lab-console__cursor { width: 8px; height: 14px; background: var(--lab-cyan); animation: lab-blink 1.1s steps(2, end) infinite; }
.blog-lab-v3 .lab-title {
  position: relative; margin: 0 0 14px; max-width: 14ch;
  font-size: clamp(2.6rem, 7vw, 5.4rem); line-height: .95; letter-spacing: -.045em; font-weight: 800; color: #fff;
}
.blog-lab-v3 .lab-title em { font-style: normal; color: var(--lab-hot); }
.blog-lab-v3 .lab-title small {
  display: block; margin-top: 10px; font-family: var(--lab-mono); font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--lab-cyan);
}
.blog-lab-v3 .lab-title__ghost {
  position: absolute; left: -.06em; top: -.52em; z-index: -1;
  font-size: 2.1em; font-weight: 900; letter-spacing: -.06em; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.07); pointer-events: none; user-select: none;
}
.blog-lab-v3 .lab-lede { max-width: 56ch; margin: 0; color: rgba(232,238,242,.74); font-size: 1.05rem; line-height: 1.6; }
.blog-lab-v3 .lab-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.blog-lab-v3 .lab-stats > div {
  min-width: 108px; padding: 10px 14px 12px; border: 1px solid var(--lab-line); border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
}
.blog-lab-v3 .lab-stats dt { margin: 0 0 4px; font-family: var(--lab-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lab-muted); }
.blog-lab-v3 .lab-stats dd { margin: 0; font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1; }
.blog-lab-v3 .lab-stats dd span { margin-left: 2px; font-size: .7rem; font-weight: 600; color: var(--lab-muted); }
.blog-lab-v3 .lab-stats__live { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem !important; color: var(--lab-lime) !important; }
.blog-lab-v3 .lab-stats__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--lab-lime); box-shadow: 0 0 0 0 rgba(184,255,92,.6); animation: lab-pulse 1.8s ease-out infinite; }

/* Sticky bar: chips + search */
.blog-lab-v3 .lab-body { padding-top: 18px; padding-bottom: 80px; }
.blog-lab-v3 .lab-bar {
  position: sticky; top: var(--header-offset, 0px); z-index: 5;
  display: flex; align-items: center; gap: 14px; margin: 0 0 26px; padding: 10px 0;
  background: linear-gradient(180deg, var(--lab-bg) 70%, transparent);
}
.blog-lab-v3 .lab-bar.is-stuck { border-bottom: 1px solid var(--lab-line); }
.blog-lab-v3 .lab-cats { position: static; display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; padding: 0 0 4px; margin: 0; background: none; scrollbar-width: none; }
.blog-lab-v3 .lab-cats::-webkit-scrollbar { display: none; }
body.theme-v2 .blog-lab-v3 .blog-lab__chip.lab-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
  border: 1px solid var(--lab-line-strong); border-radius: 999px; background: rgba(255,255,255,.03);
  color: var(--lab-ink); font-size: .82rem; font-weight: 650; text-decoration: none; transition: border-color .2s, background .2s, transform .2s;
}
body.theme-v2 .blog-lab-v3 .blog-lab__chip.lab-chip small { font-family: var(--lab-mono); font-size: .68rem; color: var(--lab-muted); }
body.theme-v2 .blog-lab-v3 .blog-lab__chip.lab-chip:hover { border-color: var(--lab-cyan); background: rgba(42,212,255,.08); transform: translateY(-1px); }
body.theme-v2 .blog-lab-v3 .blog-lab__chip.lab-chip.is-active { border-color: var(--lab-hot); background: var(--lab-hot); color: #130a04; }
body.theme-v2 .blog-lab-v3 .blog-lab__chip.lab-chip.is-active small { color: rgba(19,10,4,.7); }
.blog-lab-v3 .lab-search {
  position: relative; display: flex; align-items: center; gap: 8px; flex: 0 0 260px; padding: 0 10px 0 12px;
  border: 1px solid var(--lab-line-strong); border-radius: 10px; background: rgba(0,0,0,.35); color: var(--lab-muted);
}
.blog-lab-v3 .lab-search:focus-within { border-color: var(--lab-cyan); box-shadow: 0 0 0 3px rgba(42,212,255,.16); color: var(--lab-ink); }
.blog-lab-v3 .lab-search input {
  flex: 1 1 auto; min-width: 0; height: 38px; border: 0; background: transparent; color: var(--lab-ink); font: inherit; font-size: .86rem; outline: none;
}
.blog-lab-v3 .lab-search input::placeholder { color: var(--lab-muted); }
.blog-lab-v3 .lab-search kbd { padding: 2px 7px; border: 1px solid var(--lab-line-strong); border-radius: 5px; font-family: var(--lab-mono); font-size: .66rem; color: var(--lab-muted); }

/* Board */
.blog-lab-v3 .lab-board { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.blog-lab-v3 .lab-main { min-width: 0; }

/* Feature */
.blog-lab-v3 .lab-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 380px; margin-bottom: 38px;
  border: 1px solid var(--lab-line-strong); border-radius: 18px; overflow: hidden;
  background: var(--lab-panel);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease;
}
.blog-lab-v3 .lab-feature.is-in { opacity: 1; transform: none; }
.blog-lab-v3 .lab-feature__cover { position: relative; display: block; min-height: 300px; border-radius: 0; overflow: hidden; }
.blog-lab-v3 .lab-feature__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.blog-lab-v3 .lab-feature:hover .lab-feature__cover img { transform: scale(1.04); }
.blog-lab-v3 .lab-feature__scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0 46%, rgba(42,212,255,.28) 50%, transparent 54% 100%);
  background-size: 100% 220%; animation: lab-scan 5.5s linear infinite; mix-blend-mode: screen;
}
.blog-lab-v3 .lab-feature__copy { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(22px, 3.4vw, 40px); }
.blog-lab-v3 .lab-feature__copy h2 { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.12; letter-spacing: -.03em; color: #fff; }
.blog-lab-v3 .lab-feature__copy h2 a { text-decoration: none; }
.blog-lab-v3 .lab-feature__copy h2 a:hover { color: var(--lab-cyan); }
.blog-lab-v3 .lab-feature__sub { margin: 0; color: var(--lab-cyan); font-weight: 650; }
.blog-lab-v3 .lab-feature__copy > p:not(.lab-feature__sub) { margin: 0; color: var(--lab-muted); line-height: 1.6; }

.blog-lab-v3 .lab-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--lab-mono); font-size: .7rem; letter-spacing: .04em; color: var(--lab-muted); }
.blog-lab-v3 .lab-tag { padding: 3px 9px; border: 1px solid var(--lab-line-strong); border-radius: 6px; text-transform: uppercase; letter-spacing: .1em; color: var(--lab-ink); }
.blog-lab-v3 .lab-tag--hot { border-color: var(--lab-hot); background: rgba(255,96,0,.14); color: #ffb380; }
.blog-lab-v3 .lab-cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 6px; padding: 11px 18px;
  border-radius: 10px; background: var(--lab-hot); color: #130a04; font-weight: 800; font-size: .9rem; text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.blog-lab-v3 .lab-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(255,96,0,.35); color: #130a04; }
.blog-lab-v3 .lab-cta--ghost { background: transparent; border: 1px solid var(--lab-line-strong); color: #fff; }
.blog-lab-v3 .lab-cta--ghost:hover { border-color: var(--lab-cyan); color: #fff; box-shadow: none; }

/* Stream */
.blog-lab-v3 .lab-stream-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--lab-line); }
.blog-lab-v3 .lab-stream-head h2 { margin: 0; font-size: 1.05rem; letter-spacing: -.01em; color: #fff; }
.blog-lab-v3 .lab-stream-head span { font-family: var(--lab-mono); font-size: .72rem; color: var(--lab-muted); }
body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0; }
body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid > .lab-card:nth-child(5n + 1) { grid-column: 1 / -1; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card {
  position: relative; display: grid; grid-template-columns: 1fr; min-width: 0;
  border: 1px solid var(--lab-line); border-radius: 14px; background: var(--lab-panel); box-shadow: none; overflow: hidden;
  opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease, border-color .25s;
  transition-delay: calc(var(--i, 1) * 40ms);
}
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card.is-in { opacity: 1; transform: none; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card:hover { border-color: var(--lab-cyan); }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px 160px at 20% 0%, rgba(42,212,255,.14), transparent 70%);
}
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card:hover::after { opacity: 1; }
body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid > .lab-card:nth-child(5n + 1) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-cover.lab-card__cover { position: relative; display: block; aspect-ratio: 16 / 9; min-height: 0; border-radius: 0; background-color: #0f171d; overflow: hidden; }

/* Procedural cover art (no image fallback) — tech motifs per category */
.blog-lab-v3 .blog-cover::before, .blog-lab-v3 .blog-cover::after { pointer-events: none; }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--printer {
  background:
    radial-gradient(circle at 78% 22%, rgba(255,96,0,.55), transparent 36%),
    repeating-linear-gradient(0deg, rgba(42,212,255,.16) 0 1px, transparent 1px 11px),
    linear-gradient(160deg, #0d1a21, #0a2e38 55%, #06202a);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--printer::before {
  content: ""; position: absolute; left: 14%; right: 14%; top: 24%; bottom: 20%;
  border: 1.5px solid rgba(42,212,255,.7); clip-path: polygon(0 100%, 18% 0, 82% 0, 100% 100%); background: linear-gradient(180deg, rgba(42,212,255,.0), rgba(42,212,255,.18));
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--printer::after {
  content: ""; position: absolute; left: 30%; right: 30%; top: 46%; height: 2px; background: #ff6000; box-shadow: 0 0 16px #ff6000, 0 0 32px rgba(255,96,0,.6);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--filament {
  background:
    linear-gradient(160deg, rgba(11,16,20,.15), rgba(11,16,20,.75)),
    repeating-linear-gradient(118deg, #ff6000 0 9px, #ffb380 9px 12px, #7a2e00 12px 16px, #ff6000 16px 26px, #10171d 26px 30px);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--filament::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 10px solid rgba(255,255,255,.85); box-shadow: 0 0 0 6px rgba(11,16,20,.6), inset 0 0 0 6px rgba(11,16,20,.6);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--filament::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #0b1014; }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--scan {
  background:
    radial-gradient(circle at 50% 50%, rgba(42,212,255,.45), transparent 40%),
    radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px),
    linear-gradient(160deg, #0e1420, #1a1830 60%, #0a1a22);
  background-size: auto, 14px 14px, auto;
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--scan::before { content: ""; position: absolute; inset: 20%; border: 1px dashed rgba(42,212,255,.8); border-radius: 50%; animation: lab-spin 16s linear infinite; }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--scan::after { content: ""; position: absolute; inset: 34%; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--resin {
  background:
    radial-gradient(circle at 28% 76%, rgba(42,212,255,.5), transparent 42%),
    radial-gradient(circle at 76% 22%, rgba(255,96,0,.35), transparent 38%),
    linear-gradient(180deg, #2a1646, #12101f 70%, #0b1014);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--resin::before {
  content: ""; position: absolute; left: 20%; right: 20%; top: 30%; height: 42%;
  border-radius: 46% 54% 52% 48% / 60% 60% 40% 40%; background: linear-gradient(180deg, rgba(42,212,255,.35), rgba(184,255,92,.25)); filter: blur(.4px);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--resin::after { content: ""; position: absolute; left: 14%; right: 14%; top: 72%; height: 2px; background: rgba(255,255,255,.4); box-shadow: 0 6px 0 rgba(255,255,255,.14); }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--laser {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
    linear-gradient(135deg, #16090d, #2a1030 55%, #5a1a08);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--laser::before { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; background: #fff; box-shadow: 0 0 10px #fff, 0 0 26px #ff6000, 0 0 60px #ff6000; }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--laser::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; box-shadow: 0 0 24px 8px rgba(255,96,0,.9); }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--service {
  background:
    conic-gradient(from 0deg at 72% 52%, rgba(255,96,0,.0) 0 70%, rgba(255,96,0,.45) 85%, rgba(255,96,0,0) 100%),
    repeating-linear-gradient(45deg, rgba(42,212,255,.08) 0 2px, transparent 2px 18px),
    linear-gradient(160deg, #0f1f24, #0b1014 65%);
}
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--service::before { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px dashed rgba(255,255,255,.6); border-radius: 50%; animation: lab-spin 24s linear infinite reverse; }
body.theme-v2 .blog-lab-v3 .blog-cover.blog-cover--service::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; transform: translate(-50%, -50%); border: 6px solid #ff6000; border-radius: 50%; }
@keyframes lab-spin { to { transform: rotate(360deg); } }
body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid > .lab-card:nth-child(5n + 1) .lab-card__cover { aspect-ratio: auto; min-height: 240px; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-cover.lab-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card:hover .lab-card__cover img { transform: scale(1.05); }
.blog-lab-v3 .lab-card__index {
  position: absolute; left: 12px; top: 10px; padding: 3px 8px; border-radius: 6px;
  background: rgba(11,16,20,.72); backdrop-filter: blur(4px); font-family: var(--lab-mono); font-size: .68rem; color: var(--lab-cyan); letter-spacing: .1em;
}
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__body.lab-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__body h2 { margin: 0; font-size: 1.08rem; line-height: 1.3; letter-spacing: -.015em; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__body h2 a { color: #fff; text-decoration: none; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__body h2 a:hover { color: var(--lab-cyan); }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__body p { margin: 0; color: var(--lab-muted); font-size: .86rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__more.lab-more {
  margin-top: auto; padding: 0; border: 0; background: transparent; color: var(--lab-hot); font-size: .82rem; font-weight: 800; letter-spacing: .02em;
}
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__more.lab-more span { display: inline-block; transition: transform .2s; }
body.theme-v2 .blog-lab-v3 .blog-grid .blog-card__more.lab-more:hover span { transform: translateX(4px); }
.blog-lab-v3 .lab-nohit, .blog-lab-v3 .blog-empty.lab-empty {
  display: grid; gap: 6px; place-content: center; min-height: 160px; padding: 28px; margin-top: 18px; text-align: center;
  border: 1px dashed var(--lab-line-strong); border-radius: 14px; background: rgba(255,255,255,.02); color: var(--lab-muted);
}
.blog-lab-v3 .lab-nohit strong, .blog-lab-v3 .blog-empty.lab-empty strong { color: #fff; }
.blog-lab-v3 .blog-empty.lab-empty a { color: var(--lab-cyan); }

/* Pager */
.blog-lab-v3 .blog-pager.lab-pager { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--lab-line); }
.blog-lab-v3 .blog-pager.lab-pager a { color: #fff; font-weight: 700; text-decoration: none; }
.blog-lab-v3 .blog-pager.lab-pager a:hover { color: var(--lab-cyan); }
.blog-lab-v3 .lab-pager__ghost { color: var(--lab-muted); opacity: .45; }
.blog-lab-v3 .lab-pager__pos { font-family: var(--lab-mono); font-size: .8rem; color: var(--lab-ink); }
.blog-lab-v3 .lab-pager__pos i { margin: 0 6px; color: var(--lab-muted); font-style: normal; }

/* Rail */
.blog-lab-v3 .lab-rail { position: sticky; top: calc(var(--header-offset, 0px) + 74px); display: grid; gap: 16px; }
.blog-lab-v3 .lab-panel { padding: 18px; border: 1px solid var(--lab-line); border-radius: 14px; background: var(--lab-panel); }
.blog-lab-v3 .lab-panel h2 { margin: 0 0 12px; font-family: var(--lab-mono); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lab-cyan); }
.blog-lab-v3 .lab-popular { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.blog-lab-v3 .lab-popular a { display: grid; grid-template-columns: 30px 1fr; gap: 2px 10px; padding: 10px 10px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.blog-lab-v3 .lab-popular a:hover { background: rgba(255,255,255,.04); }
.blog-lab-v3 .lab-popular__n { grid-row: span 2; font-family: var(--lab-mono); font-size: 1.1rem; font-weight: 800; color: var(--lab-hot); line-height: 1.1; }
.blog-lab-v3 .lab-popular__t { font-size: .88rem; font-weight: 650; color: #fff; line-height: 1.3; }
.blog-lab-v3 .lab-popular small { font-family: var(--lab-mono); font-size: .66rem; color: var(--lab-muted); }
.blog-lab-v3 .lab-hats { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.blog-lab-v3 .lab-hats a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; padding-bottom: 8px; font-size: .84rem; text-decoration: none; }
.blog-lab-v3 .lab-hats a:hover span { color: var(--lab-cyan); }
.blog-lab-v3 .lab-hats b { font-family: var(--lab-mono); font-size: .72rem; color: var(--lab-muted); }
.blog-lab-v3 .lab-hats i { grid-column: 1 / -1; display: block; height: 3px; border-radius: 2px; background: var(--lab-line-strong); overflow: hidden; }
.blog-lab-v3 .lab-hats i::after { content: ""; display: block; width: var(--w, 0%); height: 100%; background: linear-gradient(90deg, var(--lab-cyan), var(--lab-hot)); }
.blog-lab-v3 .lab-panel--cta { background: linear-gradient(160deg, #1a2430, #0f171d 60%, rgba(255,96,0,.25)); }
.blog-lab-v3 .lab-panel--cta p { margin: 0; color: var(--lab-muted); font-size: .84rem; }
.blog-lab-v3 .lab-panel--cta strong { display: block; margin: 6px 0 14px; color: #fff; font-size: 1rem; line-height: 1.35; }

@keyframes lab-grid-drift { from { background-position: 0 0, 0 0; } to { background-position: 0 48px, 48px 0; } }
@keyframes lab-beam { from { transform: rotate(-6deg) translateY(0); } to { transform: rotate(8deg) translateY(6%); } }
@keyframes lab-blink { 50% { opacity: 0; } }
@keyframes lab-pulse { 0% { box-shadow: 0 0 0 0 rgba(184,255,92,.55); } 100% { box-shadow: 0 0 0 10px rgba(184,255,92,0); } }
@keyframes lab-scan { from { background-position: 0 -60%; } to { background-position: 0 160%; } }

@media (max-width: 1100px) {
  .blog-lab-v3 .lab-board { grid-template-columns: 1fr; }
  .blog-lab-v3 .lab-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 760px) {
  .blog-lab-v3 .lab-mast { padding: 28px 0 36px; }
  .blog-lab-v3 .lab-title { max-width: none; }
  .blog-lab-v3 .lab-title__ghost { display: none; }
  .blog-lab-v3 .lab-console { max-width: 100%; overflow: hidden; }
  .blog-lab-v3 .lab-console__cmd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .blog-lab-v3 .lab-stats > div { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .blog-lab-v3 .lab-bar { flex-wrap: wrap; }
  .blog-lab-v3 .lab-search { flex: 1 1 100%; order: -1; }
  .blog-lab-v3 .lab-feature { grid-template-columns: 1fr; min-height: 0; }
  .blog-lab-v3 .lab-feature__cover { min-height: 210px; }
  body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid { grid-template-columns: 1fr; }
  body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid > .lab-card:nth-child(5n + 1) { grid-template-columns: 1fr; }
  body.theme-v2 .blog-lab-v3 .blog-grid.lab-grid > .lab-card:nth-child(5n + 1) .lab-card__cover { aspect-ratio: 16 / 9; min-height: 0; }
  .blog-lab-v3 .lab-rail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .blog-lab-v3 .lab-mast__grid, .blog-lab-v3 .lab-mast__beam, .blog-lab-v3 .lab-console__cursor, .blog-lab-v3 .lab-stats__live i, .blog-lab-v3 .lab-feature__scan,
  .blog-lab-v3 .blog-cover--scan::before, .blog-lab-v3 .blog-cover--service::before { animation: none; }
  .blog-lab-v3 .lab-feature, body.theme-v2 .blog-lab-v3 .blog-grid .blog-card.lab-card { opacity: 1; transform: none; transition: none; }
}

/* Phase D — storefront / account visual system (EGC color, Qukasoft-like geometry) */
:root {
  --sf-header-row: 78px;
  --sf-nav-h: 48px;
  --sf-search-h: 45px;
  --sf-account-nav: 220px;
  --sf-account-item: 44px;
  --sf-section-gap: 32px;
  --sf-container: 1216px;
}
.site-header__row { min-height: var(--sf-header-row); }
.header-search { height: var(--sf-search-h); min-height: var(--sf-search-h); max-width: 541px; }
.header-search input,
.header-search button { height: var(--sf-search-h); min-height: var(--sf-search-h); }
.site-header__nav-inner { min-height: var(--sf-nav-h); }
.account-layout { grid-template-columns: var(--sf-account-nav) minmax(0, 1fr); gap: var(--sf-section-gap); }
.account-nav a { min-height: var(--sf-account-item); padding: 11px 16px; font-size: 13px; font-weight: 650; }
.shell { width: min(var(--sf-container), calc(100% - var(--container-gutter))); }
.auth-card input:not([type="checkbox"]):not([type="radio"]),
.auth-card select,
.auth-card textarea,
.auth-card .button,
.error-page__search input,
.error-page__search button {
  min-height: 45px;
}
.catalog-toolbar,
.product-gallery,
.cart-table,
.checkout-layout { border-radius: 8px; }
.account-content .button,
.cart-layout .button,
.checkout-layout .button,
.contact-form .button {
  min-height: 40px; padding: 0 16px; border-radius: 4px; font-size: 13px; font-weight: 700;
}
.account-content input:not([type="checkbox"]):not([type="radio"]),
.account-content select,
.account-content textarea,
.checkout-layout input:not([type="checkbox"]):not([type="radio"]),
.checkout-layout select,
.cart-layout input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 40px; padding: 8px 12px; border-radius: 4px; font-size: 13px;
}
.cart-layout .cart-line__stepper input:not([type="checkbox"]):not([type="radio"]) {
  min-height: 0; height: 100%; padding: 0; border-radius: 0; font-size: .85rem;
}
.order-card, .account-cards, .info-panel { border-radius: 8px; }
@media (max-width: 1024px) {
  .account-layout { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 390px) {
  .site-header__row { min-height: 66px; }
  .account-nav { flex-direction: row; overflow-x: auto; }
  .account-nav a { min-height: 40px; white-space: nowrap; }
  .checkout-layout { overflow-x: hidden; }
  .button--full { min-height: 44px; }
}
.checkout-saved-addresses { margin: 0 0 16px; }
.checkout-saved-addresses > p { margin: 0 0 8px; font-size: 13px; font-weight: 650; }
.checkout-saved-addresses__list { display: flex; flex-wrap: wrap; gap: 8px; }
.checkout-saved-address {
  display: grid; gap: 2px; max-width: 100%; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit;
}
.checkout-saved-address strong { font-size: 13px; }
.checkout-saved-address span { font-size: 12px; color: #5b6573; }
.checkout-saved-address.is-selected { border-color: var(--q-link-blue, #1379d2); box-shadow: 0 0 0 1px var(--q-link-blue, #1379d2); }
.auth-page--logout { min-height: auto; }
.auth-page--logout .auth-card { margin: 48px auto; max-width: 420px; }
.storefront-popup img { max-width: 100%; height: auto; }

/* ============================================================
   Phase V2-F — storefront header / hero / merchandising parity
   ============================================================ */

/* Utility bar social icons */
.storefront-utility__social { display: inline-flex; align-items: center; gap: 10px; margin-left: 14px; }
.storefront-utility__social-link { display: inline-flex; align-items: center; color: inherit; }
.storefront-utility__social-link svg { width: 15px; height: 15px; }
.storefront-utility__social-link:hover { color: #fff; }

/* Search submit affordance — filled circular action inside the pill */
.header-search { position: relative; }
.header-search .header-search__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: auto 5px auto 0;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0;
  cursor: pointer;
}
.header-search .header-search__submit::before,
.header-search .header-search__submit::after { content: none; }
.header-search .header-search__submit svg { width: 17px; height: 17px; }
.header-search .header-search__submit:hover { filter: brightness(1.07); }
.header-search .header-search__submit:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Delivery region selector */
.header-region { position: relative; }
.header-region__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #505050;
  cursor: pointer;
}
.header-region__toggle:hover { border-color: var(--accent); color: var(--ink); }
.header-region__icon { display: inline-flex; color: var(--accent); }
.header-region__icon svg { width: 20px; height: 20px; }
.header-region__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.header-region__text small { font-size: .62rem; color: #8a949c; }
.header-region__text strong { max-width: 110px; overflow: hidden; font-size: .72rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.header-region__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 240px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}
.header-region__form { display: grid; gap: 10px; }
.header-region__form label { font-size: .72rem; font-weight: 700; color: var(--ink); }
.header-region__form select {
  min-height: 38px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .78rem;
}

/* Stacked login label */
.icon-link__label--stack { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.icon-link__label--stack small { font-size: .66rem; font-weight: 650; }

/* Cart badge — always-visible truthful count anchored to the icon */
.cart-link .icon-link__icon { position: relative; }
.cart-link .cart-count {
  position: absolute;
  top: -7px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  line-height: 1;
}

/* Navigation bar (V2-S-23): evenly separated items, uniform height */
.header-nav-frame { align-items: stretch; }
.header-collections { display: flex; align-items: stretch; gap: 0; }
.header-collections a {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  font-size: .76rem;
  font-weight: 650;
  white-space: nowrap;
}
.header-collections a:first-child { border-left: 0; }
.header-collections a:hover,
.header-collections a[aria-current="page"] { color: var(--accent-dark); }
.header-nav-frame .storefront-menu--desktop .storefront-menu__root > li > a,
.header-nav-frame .storefront-menu--desktop .storefront-menu__root > li > button {
  border-left: 1px solid var(--line);
  padding: 0 18px;
  font-size: .76rem;
  white-space: nowrap;
}
.header-blog { display: inline-flex; align-items: center; padding: 0 18px; border-left: 1px solid var(--line); }

/* Hero slider geometry: side arrows + bottom-center dots */
.home-slider { min-height: clamp(360px, 42vw, 520px); }
.home-slider__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.85);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}
.home-slider__nav--prev { left: 18px; }
.home-slider__nav--next { right: 18px; }
.home-slider__nav:hover { background: #fff; }
.home-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.home-slider__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.home-slider__dots button.is-active { background: #fff; }
.home-slider__content { padding: 84px 0 70px; }

/* Product card normalization (V2-S-29): fixed image frame + 2-line title */
.product-card__media {
  aspect-ratio: 1 / 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; }
.product-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
}

/* Empty state icon */
.empty-state__icon { display: inline-flex; color: var(--accent-dark); }
.empty-state__icon svg { width: 52px; height: 52px; }

/* Mobile dock icons */
.mobile-dock__icon { display: inline-flex; }
.mobile-dock__icon svg { width: 22px; height: 22px; }

/* WhatsApp floating affordance */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.whatsapp-fab:hover { color: #fff; filter: brightness(1.05); }
.whatsapp-fab svg { width: 28px; height: 28px; }

/* Footer: trust band + five columns */
/* Footer reference partners — infinite marquee (Shopify scrolling-text parity) */
.footer-ref-marquee {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: linear-gradient(180deg, #1c1c1c 0%, #101010 100%);
  color: #fff;
}
.footer-ref-marquee__viewport {
  overflow: hidden;
  width: 100%;
  padding-block: clamp(22px, 3.2vw, 34px);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.footer-ref-marquee__track {
  display: flex;
  width: max-content;
  animation: footer-ref-marquee-scroll 96s linear infinite;
  will-change: transform;
}
.footer-ref-marquee:hover .footer-ref-marquee__track { animation-play-state: paused; }
.footer-ref-marquee__list {
  display: flex;
  align-items: center;
  gap: clamp(2.75rem, 5.5vw, 5rem);
  margin: 0;
  padding: 0 clamp(1.25rem, 2.5vw, 2.5rem);
  list-style: none;
}
.footer-ref-marquee__item { flex: 0 0 auto; }
.footer-ref-marquee__item img {
  display: block;
  width: auto;
  height: clamp(32px, 4.2vw, 46px);
  max-width: min(280px, 46vw);
  object-fit: contain;
  opacity: .94;
  filter: brightness(0) invert(1);
}
@keyframes footer-ref-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-ref-marquee__viewport { overflow-x: auto; mask-image: none; scrollbar-width: none; }
  .footer-ref-marquee__viewport::-webkit-scrollbar { display: none; }
  .footer-ref-marquee__track { animation: none; }
}

.footer-trust { border-bottom: 1px solid rgba(255,255,255,.1); background: #fff; }
.footer-trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; padding-block: 26px; }
.footer-trust .trust-card { min-height: 120px; border: 0; border-right: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; }
.footer-trust .trust-card:last-child { border-right: 0; }
.site-footer .footer-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 42px 30px; }
.footer-contact-col .footer-contact { margin-top: 0; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { display: inline-flex; color: inherit; }
.footer-social a svg { width: 18px; height: 18px; }

@media (max-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-trust__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-trust .trust-card:nth-child(2n) { border-right: 0; }
  .header-region__text small { display: none; }
}

@media (max-width: 900px) {
  .header-region { display: none; }
  .storefront-utility__social { display: none; }
  /* Keep search genuinely usable on mobile: full-width row under the brand. */
  .site-header__row { flex-wrap: wrap; padding-block: 10px; row-gap: 10px; }
  .header-search {
    display: flex;
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    height: 42px;
    min-height: 42px;
  }
  .header-search input { min-height: 0; height: 100%; }
  .header-search .header-search__submit { width: 34px; height: 34px; }
}

@media (max-width: 700px) {
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-trust__grid { grid-template-columns: 1fr; }
  .footer-trust .trust-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .footer-trust .trust-card:last-child { border-bottom: 0; }
  .whatsapp-fab { bottom: 78px; }
  .home-slider { min-height: 300px; }
  .home-slider__nav { width: 36px; height: 36px; }
  .home-slider__nav--prev { left: 8px; }
  .home-slider__nav--next { right: 8px; }
  .home-slider__content { padding: 56px 0 60px; }
}

@media (max-width: 480px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}

/* Catalog toolbar (V2-R-29): styled sort select, real view-toggle icons,
   symmetric stock pills. */
.catalog-toolbar--reference select {
  appearance: none;
  -webkit-appearance: none;
  padding: 8px 26px 8px 10px;
  border-radius: 8px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9.5 12 15l6-5.5' fill='none' stroke='%23b8551c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px;
  cursor: pointer;
}
.catalog-toolbar--reference select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.catalog-view-icons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
  font-size: 0;
  cursor: pointer;
}
.catalog-view-icons button[disabled] { cursor: default; }
.catalog-view-icons button svg { width: 17px; height: 17px; }
.product-card__stock.stock--yes { background: #eef7e9; }

/* Phase V2-G — storefront transaction / customer journey states. */

/* V2-R-24: Q-parity empty-cart panel (message + subtitle + single CTA). */
.empty-state--cart { padding-block: 96px; }
.empty-state--cart h2 { margin-bottom: 8px; font-size: 1.02rem; }
.empty-state--cart p { margin: 0 auto 22px; max-width: 62ch; color: var(--muted); }
.empty-state--cart .button { text-transform: uppercase; letter-spacing: .04em; }

/* V2-R-25: unmistakably inert purchase controls for sold-out products. */
.product-buy-row button[type="submit"][disabled] {
  background: #e5e7eb;
  color: #6b7280;
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
  opacity: 1;
}
.quantity-stepper.is-disabled { opacity: .45; }
.quantity-stepper.is-disabled button,
.quantity-stepper.is-disabled input { cursor: not-allowed; }

/* V2-R-27: Q-parity two-column register form. */
.register-page { padding-block: 34px 72px; }
.register-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}
.register-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 84px;
  height: 3px;
  background: var(--accent);
}
.auth-card--register { max-width: 100%; padding: 26px 28px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md, 10px); }
.auth-card__privacy {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #e7f4f6;
  color: #14606d;
  font-size: .84rem;
}
.register-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.register-grid .field { margin: 0; }
.register-consents { display: grid; gap: 8px; margin-block: 16px 18px; }
@media (max-width: 780px) {
  .register-grid { grid-template-columns: 1fr; }
}

/* V2-R-28: truthful empty payment catalog state. */
.payment-unavailable {
  padding: 14px 16px;
  border: 1px solid #f3c9c9;
  border-radius: 8px;
  background: #fdf2f2;
  color: #8c2f2f;
}

/* PDP: Ürün önerisi — lives inside .product-tabs content card as a peer tab panel. */
.product-suggestion-panel {
  max-width: 720px;
}
.product-suggestion-panel__intro h2 {
  margin: 0 0 .35em;
  color: #29252e;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}
.product-suggestion-panel__lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}
.product-suggestion-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--v2-radius-lg, 8px);
  background: var(--soft, #f7f7f7);
  box-shadow: none;
}
.product-suggestion-form__honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.product-suggestion-form__field { display: grid; gap: 6px; min-width: 0; }
.product-suggestion-form__field--full { grid-column: 1 / -1; }
.product-suggestion-form__field label { color: var(--ink); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.product-suggestion-form__field input,
.product-suggestion-form__field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--v2-radius-sm, 7px);
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.product-suggestion-form__field textarea { min-height: 132px; resize: vertical; }
.product-suggestion-form__field input::placeholder,
.product-suggestion-form__field textarea::placeholder { color: #9aa3ad; }
.product-suggestion-form__field input:focus,
.product-suggestion-form__field textarea:focus {
  outline: 0;
  border-color: var(--v2-primary, var(--accent));
  box-shadow: 0 0 0 3px var(--v2-primary-soft, rgba(255, 96, 0, .14));
}
.product-suggestion-form__actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-top: 4px;
}
.product-suggestion-form__actions small { flex: 1 1 260px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.product-suggestion-form__actions strong { color: var(--ink); font-weight: 600; }
.product-suggestion-form__actions .button { min-width: 160px; }
@media (max-width: 767px) {
  .product-suggestion-form { grid-template-columns: 1fr; gap: 14px; padding: 16px 14px; }
  .product-suggestion-form__field--full { grid-column: auto; }
  .product-suggestion-form__actions { flex-direction: column-reverse; align-items: stretch; }
  .product-suggestion-form__actions .button { width: 100%; }
  .product-suggestion-panel__intro h2 { font-size: 1.15rem; }
}


.storefront-popup { max-width: min(560px, calc(100vw - 32px)); border: 0; border-radius: 6px; padding: 20px; }
.storefront-popup::backdrop { background: rgba(0, 0, 0, .5); }
.storefront-popup__close { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; }
.storefront-popup--image { padding: 0; }
.storefront-popup--image img { display: block; }

.pattern-group { margin: 24px 0; }
.pattern-group__body.container-relative { position: relative; width: 100%; padding: 0 15px; }
.pattern-group__body.container-full { width: 100%; padding: 0; }
.pattern-group__header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.pattern-group__title { margin: 0; font-size: 20px; }
.pattern-group__description { flex-basis: 100%; margin: 0; color: #5b6573; }
.pattern-group__cols { display: grid; gap: 16px; grid-template-columns: repeat(var(--pg-xs, 1), minmax(0, 1fr)); }
@media (min-width: 576px) { .pattern-group__cols { grid-template-columns: repeat(var(--pg-sm, 1), minmax(0, 1fr)); } }
@media (min-width: 768px) { .pattern-group__cols { grid-template-columns: repeat(var(--pg-md, 1), minmax(0, 1fr)); } }
@media (min-width: 992px) { .pattern-group__cols { grid-template-columns: repeat(var(--pg-lg, 1), minmax(0, 1fr)); } }
@media (min-width: 1200px) { .pattern-group__cols { grid-template-columns: repeat(var(--pg-xl, 1), minmax(0, 1fr)); } }
.pattern-group__tabs { display: flex; flex-direction: column; gap: 12px; }
.pattern-group__tabs--bottom { flex-direction: column-reverse; }
.pattern-group__tabs--left { flex-direction: row; }
.pattern-group__tabs--right { flex-direction: row-reverse; }
.pattern-group__tablist { display: flex; flex-wrap: wrap; gap: 4px; }
.pattern-group__tabs--left .pattern-group__tablist, .pattern-group__tabs--right .pattern-group__tablist { flex-direction: column; flex: 0 0 220px; }
.pattern-group__tablist [role="tab"] { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line, #e3e7ee); background: #fff; cursor: pointer; font: inherit; }
.pattern-group__tablist [aria-selected="true"] { border-color: var(--q-link-blue, #1379d2); color: var(--q-link-blue, #1379d2); }
.pattern-group__tabs .pattern-group__panel { flex: 1 1 auto; min-width: 0; }
.pattern-group__tabs--fade .pattern-group__panel:not([hidden]) { animation: pattern-group-fade .2s ease-out; }
@keyframes pattern-group-fade { from { opacity: 0; } to { opacity: 1; } }
.pattern-group__accordion { border: 1px solid var(--line, #e3e7ee); border-radius: 4px; margin-bottom: 8px; background: #fff; }
.pattern-group__accordion summary { display: flex; align-items: center; gap: 6px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.pattern-group__accordion .pattern-group__panel { padding: 0 14px 12px; }
@media (max-width: 767px) {
  .pattern-group__tabs--left, .pattern-group__tabs--right { flex-direction: column; }
  .pattern-group__tabs--left .pattern-group__tablist, .pattern-group__tabs--right .pattern-group__tablist { flex-direction: row; flex-basis: auto; }
  .pattern-group__tabs--scroll .pattern-group__tablist { flex-wrap: nowrap; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) { .pattern-group__tabs--fade .pattern-group__panel:not([hidden]) { animation: none; } }

/* EGC Lab v3 — blog DETAIL mast (`Views/Blog/Details.cshtml`). Operator: "bu başlık sola çok birikmiş" — the h1 was a
   black 18ch column (669px, 4 lines at 1440) on a white page. The head is now the same full-width dark band as the index
   mast (bg #0b1014, grid texture, cyan→orange hairline) with a 2-col copy/cover grid ≥1100px. Body/aside/comments stay
   light. Tokens: `--blog-*` used by the aside/pager/prose were only declared on `.blog-lab` (index), so `.blog-story`
   fell back to inherited black; they are declared here. Small orange text on white uses `--blog-orange-text` (#b84400,
   5.4:1) because #ff6000 on white is 3.03:1. Additive; the `.blog-lab-v3` index block above is untouched. */
.blog-story,
body.theme-v2 .blog-story {
  --blog-night: #142128;
  --blog-teal: #006878;          /* 6.55:1 on #fff */
  --blog-orange: #ff6000;        /* backgrounds, borders, ≥24px drop cap (3.03:1 large-text) */
  --blog-orange-text: #b84400;   /* 5.43:1 on #fff for <18px text */
  --blog-purple: #5d5073;        /* 7.34:1 on #fff */
  --lab-bg: #0b1014;
  --lab-panel: #141d25;
  --lab-line: rgba(255,255,255,.08);
  --lab-line-strong: rgba(255,255,255,.16);
  --lab-ink: #e8eef2;            /* 16.2:1 on --lab-bg */
  --lab-muted: #8e9ba6;          /* 6.73:1 on --lab-bg */
  --lab-hot: #ff6000;
  --lab-cyan: #2ad4ff;           /* 10.9:1 on --lab-bg */
  --lab-lime: #b8ff5c;
  --lab-mono: ui-monospace, "Cascadia Mono", "Consolas", "SFMono-Regular", Menlo, monospace;
}
.blog-story .blog-story__pager small { color: var(--blog-orange-text); }

.blog-story .blog-story__head,
body.theme-v2 .blog-story .blog-story__head {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  padding: 34px 0 46px;
  background: var(--lab-bg);
  color: var(--lab-ink);
}
.blog-story__fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blog-story__fx::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42,212,255,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,212,255,.09) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 24% 30%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 24% 30%, #000 15%, transparent 72%);
}
.blog-story__fx::after {
  content: ""; position: absolute; right: -10%; top: -45%; width: 52%; aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,96,0,.30), transparent 56%),
    conic-gradient(from 210deg, transparent 0 62%, rgba(42,212,255,.18) 72%, transparent 80%);
  filter: blur(16px);
}
.blog-story .blog-story__head::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px; z-index: 1;
  background: linear-gradient(90deg, transparent, var(--lab-cyan) 35%, var(--lab-hot) 65%, transparent);
  opacity: .75;
}
.blog-story__head-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.blog-story__copy { min-width: 0; }

.blog-story .blog-story__head .blog-story__crumbs { margin: 0 0 18px; color: var(--lab-muted); font-size: .78rem; }
.blog-story .blog-story__head .blog-story__crumbs a,
body.theme-v2 .blog-story .blog-story__head .blog-story__crumbs a { color: var(--lab-ink); text-decoration: none; }
.blog-story .blog-story__head .blog-story__crumbs a:hover,
.blog-story .blog-story__head .blog-story__crumbs a[aria-current="page"],
body.theme-v2 .blog-story .blog-story__head .blog-story__crumbs a:hover,
body.theme-v2 .blog-story .blog-story__head .blog-story__crumbs a[aria-current="page"] { color: var(--lab-cyan); }

.blog-story .lab-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 18px;
  font-family: var(--lab-mono); font-size: .72rem; letter-spacing: .04em; color: var(--lab-muted);
}
.blog-story .lab-tag,
body.theme-v2 .blog-story .lab-tag {
  display: inline-block; padding: 4px 10px; border: 1px solid var(--lab-line-strong); border-radius: 6px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--lab-ink); text-decoration: none;
}
.blog-story .lab-tag--hot,
body.theme-v2 .blog-story .lab-tag--hot { border-color: var(--lab-hot); background: rgba(255,96,0,.14); color: #ffb380; } /* 9.4:1 on the blended chip */
.blog-story .lab-tag--hot:hover,
body.theme-v2 .blog-story .lab-tag--hot:hover { background: var(--lab-hot); color: #130a04; }

.blog-story .blog-story__head h1,
body.theme-v2 .blog-story .blog-story__head h1 {
  margin: 0 0 14px;
  max-width: min(900px, 100%);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #fff;
  text-wrap: balance;
}
.blog-story .blog-story__head .blog-story__sub {
  margin: 0 0 22px; max-width: 60ch;
  color: var(--lab-cyan); font-size: clamp(1rem, 1.35vw, 1.2rem); font-weight: 600; line-height: 1.45;
}
.blog-story__byline { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .86rem; color: var(--lab-muted); }
.blog-story__byline strong { color: #fff; font-weight: 700; }
.blog-story__byline b { font-family: var(--lab-mono); font-weight: 600; letter-spacing: .06em; color: var(--lab-cyan); }
.blog-story__avatar {
  display: inline-grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px;
  background: linear-gradient(145deg, var(--lab-cyan), var(--lab-hot)); color: #0b1014;
  font-family: var(--lab-mono); font-size: .66rem; font-weight: 800; letter-spacing: .08em;
}

/* Cover inside the band: overrides the old standalone figure (full-width 46vh banner below a white head). */
.blog-story .blog-story__head .blog-story__figure { margin: 0; min-width: 0; }
.blog-story .blog-story__head .blog-story__figure .blog-cover,
body.theme-v2 .blog-story .blog-story__head .blog-story__figure .blog-cover {
  position: relative; display: block; width: 100%; margin: 0; min-height: 0; aspect-ratio: 16 / 9;
  border: 1px solid var(--lab-line-strong); border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
}
.blog-story .blog-story__head .blog-cover__index {
  left: 12px; top: 10px; bottom: auto; padding: 3px 8px; border-radius: 6px;
  background: rgba(11,16,20,.72); backdrop-filter: blur(4px);
  font-family: var(--lab-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; color: var(--lab-cyan); text-shadow: none;
}
.blog-story .blog-story__head + .blog-story__grid { padding-top: 40px; }

@media (min-width: 1100px) {
  .blog-story__head-inner { grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 48px; }
  .blog-story .blog-story__head .blog-story__figure .blog-cover,
  body.theme-v2 .blog-story .blog-story__head .blog-story__figure .blog-cover { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .blog-story .blog-story__head,
  body.theme-v2 .blog-story .blog-story__head { padding: 24px 0 32px; }
  .blog-story .blog-story__head .blog-story__crumbs { margin-bottom: 14px; }
  .blog-story .blog-story__head h1,
  body.theme-v2 .blog-story .blog-story__head h1 { line-height: 1.12; }
  .blog-story .blog-story__head + .blog-story__grid { padding-top: 28px; }
}
