:root {
  color-scheme: light;
  --bg: #f5f6f7;
  --paper: #ffffff;
  --ink: #101010;
  --muted: #6a7076;
  --line: #d9dee2;
  --line-strong: #bbc4cc;
  --soft: #edf0f2;
  --blue: #315f8f;
  --dark: #111417;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.announcement {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.page {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px clamp(18px, 4vw, 42px) 0;
}

body > .page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  width: 100vw;
  height: 0;
  background: var(--dark);
  transform: translateX(-50%);
}

.page > header,
.page > main {
  position: relative;
}

.header {
  padding: 42px 0 28px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.header.site-header {
  width: 100%;
  height: 72px;
  min-height: 72px;
  position: absolute;
  top: 38px;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(72px, 0.72fr) max-content minmax(210px, 0.72fr);
  column-gap: clamp(18px, 2.2vw, 30px);
  align-items: center;
  justify-content: stretch;
  margin-left: 0;
  padding: 0 max(48px, calc((100vw - 1500px) / 2));
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.08);
  transition: background 180ms ease, color 180ms ease, backdrop-filter 180ms ease;
  text-align: left;
}

.header.site-header.menu-active {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px) saturate(1.08);
}

.logo {
  width: min(300px, 62vw);
  margin: 0 auto 28px;
}

.site-header .logo {
  grid-column: 1;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-self: start;
  margin: 0;
  transform: translateX(clamp(80px, 8vw, 170px));
}

.site-header .logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px clamp(22px, 4vw, 46px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
}

.nav a {
  height: 36px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  padding: 0;
  line-height: 1;
}

.nav a:hover,
.nav a.active,
.nav-dropdown-trigger.active {
  border-color: transparent;
  color: var(--ink);
}

.site-header .nav {
  grid-column: 2;
  justify-self: center;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-shadow: none;
}

.site-header .actions {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  color: var(--ink);
  line-height: 1;
  text-shadow: none;
}

.site-header.menu-active .nav,
.site-header.menu-active .actions {
  color: var(--muted);
  text-shadow: none;
}

.site-header:not(.menu-active) .nav a:hover,
.site-header:not(.menu-active) .nav a.active,
.site-header:not(.menu-active) .nav-dropdown-trigger.active,
.site-header:not(.menu-active) .nav-dropdown-trigger:hover,
.site-header:not(.menu-active) .nav-dropdown-trigger:focus-visible,
.site-header:not(.menu-active) .icon-button:hover,
.site-header:not(.menu-active) .icon-button:focus-visible {
  color: var(--ink);
}

.site-header:not(.menu-active) .nav a.active {
  border-color: transparent;
}

.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.menu-button {
  display: none;
}

.icon-button {
  width: 36px;
  height: 36px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.site-header .icon-button {
  color: var(--ink);
  filter: none;
}

.site-header.menu-active .icon-button {
  color: var(--ink);
  filter: none;
}

.site-header:not(.menu-active) .logo img {
  filter: brightness(0);
}

.site-header.menu-active .logo img {
  filter: brightness(0);
}

.menu-button.icon-button {
  display: none;
}

.icon-button:hover,
.icon-button:focus-visible,
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger:focus-visible {
  outline: 0;
  color: var(--blue);
}

.cart-count {
  min-width: 16px;
  height: 16px;
  position: absolute;
  right: 0;
  top: 2px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.site-header:not(.menu-active) .cart-count {
  background: var(--ink);
  color: #fff;
}

.site-header:not(.menu-active) .language-current {
  color: var(--ink);
  text-shadow: none;
}

.site-header.menu-active .language-current {
  color: var(--ink);
  text-shadow: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-transform: inherit;
  line-height: 1;
  cursor: pointer;
}

.nav-chevron {
  width: 13px;
  height: 13px;
}

.nav-dropdown-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  display: none;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(29, 29, 27, 0.12);
  transform: none;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  max-width: 1360px;
  margin: 0 auto;
  padding: 54px clamp(38px, 5vw, 84px) 64px;
  text-transform: none;
}

.mega-menu-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mega-menu-column strong {
  margin-bottom: 28px;
  color: var(--ink);
  font-size: clamp(26px, 2.4vw, 42px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: none;
}

.lab-mega-menu .mega-menu-inner {
  grid-template-columns: minmax(240px, 420px);
  justify-content: center;
}

.nav-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 0 0 18px;
  color: #6d6a64;
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 750;
  line-height: 1.22;
  text-transform: none;
  white-space: normal;
}

.nav-dropdown-menu a:hover {
  background: transparent;
  color: var(--ink);
}

.language-switcher {
  width: max-content;
  position: relative;
  margin: 0;
  z-index: 30;
}

.mobile-language-switcher {
  display: none;
}

.language-current,
.language-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-current {
  min-height: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  line-height: 1;
  text-transform: uppercase;
}

.language-flag {
  width: 22px;
  height: 22px;
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 999px;
  border: 0;
  background-color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow:
    0 8px 18px rgba(29, 29, 27, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.82);
  line-height: 1;
  flex: 0 0 auto;
}

.language-flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.28), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 46%, rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.flag-cn {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2060%22%3E%3Crect%20width%3D%2260%22%20height%3D%2260%22%20fill%3D%22%23de2910%22%2F%3E%3Cpolygon%20fill%3D%22%23ffde00%22%20points%3D%2213%2C7%2015.4%2C14.6%2023.3%2C14.6%2016.9%2C19.2%2019.4%2C26.8%2013%2C22.1%206.6%2C26.8%209.1%2C19.2%202.7%2C14.6%2010.6%2C14.6%22%2F%3E%3Cg%20fill%3D%22%23ffde00%22%3E%3Cpolygon%20points%3D%2230%2C8%2031%2C11%2034.1%2C11%2031.6%2C12.8%2032.6%2C15.8%2030%2C14%2027.4%2C15.8%2028.4%2C12.8%2025.9%2C11%2029%2C11%22%20transform%3D%22rotate(20%2030%2012)%22%2F%3E%3Cpolygon%20points%3D%2238%2C17%2039%2C20%2042.1%2C20%2039.6%2C21.8%2040.6%2C24.8%2038%2C23%2035.4%2C24.8%2036.4%2C21.8%2033.9%2C20%2037%2C20%22%20transform%3D%22rotate(45%2038%2021)%22%2F%3E%3Cpolygon%20points%3D%2238%2C29%2039%2C32%2042.1%2C32%2039.6%2C33.8%2040.6%2C36.8%2038%2C35%2035.4%2C36.8%2036.4%2C33.8%2033.9%2C32%2037%2C32%22%20transform%3D%22rotate(10%2038%2033)%22%2F%3E%3Cpolygon%20points%3D%2229%2C38%2030%2C41%2033.1%2C41%2030.6%2C42.8%2031.6%2C45.8%2029%2C44%2026.4%2C45.8%2027.4%2C42.8%2024.9%2C41%2028%2C41%22%20transform%3D%22rotate(35%2029%2042)%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.flag-us {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2060%22%3E%3Crect%20width%3D%2260%22%20height%3D%2260%22%20fill%3D%22%23fff%22%2F%3E%3Cg%20fill%3D%22%23b22234%22%3E%3Crect%20y%3D%220%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3Crect%20y%3D%229.23%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3Crect%20y%3D%2218.46%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3Crect%20y%3D%2227.69%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3Crect%20y%3D%2236.92%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3Crect%20y%3D%2246.15%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3Crect%20y%3D%2255.38%22%20width%3D%2260%22%20height%3D%224.62%22%2F%3E%3C%2Fg%3E%3Crect%20width%3D%2231%22%20height%3D%2232.3%22%20fill%3D%22%233c3b6e%22%2F%3E%3Cg%20fill%3D%22%23fff%22%3E%3Ccircle%20cx%3D%225%22%20cy%3D%225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2210%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2210%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2210%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2210%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%225%22%20cy%3D%2215%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2215%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2215%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2215%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2220%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2220%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2220%22%20cy%3D%2220%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2226%22%20cy%3D%2220%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%225%22%20cy%3D%2225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%2225%22%20r%3D%221.1%22%2F%3E%3Ccircle%20cx%3D%2223%22%20cy%3D%2225%22%20r%3D%221.1%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.flag-jp {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2060%22%3E%3Crect%20width%3D%2260%22%20height%3D%2260%22%20fill%3D%22%23fff%22%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%2230%22%20r%3D%2217%22%20fill%3D%22%23bc002d%22%2F%3E%3C%2Fsvg%3E");
}

.flag-kr {
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2060%2060%22%3E%3Crect%20width%3D%2260%22%20height%3D%2260%22%20fill%3D%22%23fff%22%2F%3E%3Cg%20transform%3D%22translate(30%2030)%20rotate(33)%22%3E%3Cpath%20d%3D%22M0%2C-15a15%2C15%200%200%201%200%2C30a7.5%2C7.5%200%200%201%200%2C-15a7.5%2C7.5%200%200%200%200%2C-15%22%20fill%3D%22%23cd2e3a%22%2F%3E%3Cpath%20d%3D%22M0%2C15a15%2C15%200%200%201%200%2C-30a7.5%2C7.5%200%200%201%200%2C15a7.5%2C7.5%200%200%200%200%2C15%22%20fill%3D%22%230047a0%22%2F%3E%3C%2Fg%3E%3Cg%20stroke%3D%22%23111%22%20stroke-width%3D%222.6%22%20stroke-linecap%3D%22square%22%3E%3Cpath%20d%3D%22M13%2014l10%206M15%2010l10%206M11%2018l10%206M37%2040l10%206M39%2036l10%206M35%2044l10%206M39%2015l10-6M41%2019l4-2.4M47%2015.6l4-2.4M43%2023l10-6M11%2042l10-6M13%2046l4-2.4M19%2042.4l4-2.4M15%2050l10-6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
}

.language-button .language-flag {
  width: 24px;
  height: 24px;
  box-shadow: 0 10px 20px rgba(29, 29, 27, 0.22);
}

.language-caret {
  width: 13px;
  height: 13px;
  color: var(--muted);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 164px;
  display: none;
  border: 0;
  background: var(--paper);
  box-shadow: 0 18px 36px rgba(29, 29, 27, 0.14);
  transform: translateX(-50%);
}

.language-switcher.open .language-menu {
  display: block;
}

.language-button {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  background: var(--paper);
  text-align: left;
}

.language-button.active {
  background: var(--ink);
  color: #fff;
}

.language-selected {
  width: 16px;
  height: 16px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  opacity: 0.9;
}

.language-selected .icon {
  width: 14px;
  height: 14px;
}

.language-current {
  min-height: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  gap: 9px;
  padding: 0 2px;
  line-height: 1;
}

.language-current:focus-visible {
  outline: 0;
}

.site-header:not(.menu-active) .language-current {
  color: var(--ink);
  text-shadow: none;
}

.site-header.menu-active .language-current {
  color: var(--ink);
  text-shadow: none;
}

.language-current .language-flag {
  width: 24px;
  height: 24px;
}

.flag-cn {
  background-image: url("assets/flags/cn.svg");
}

.flag-us {
  background-image: url("assets/flags/us.svg");
}

.flag-jp {
  background-image: url("assets/flags/jp.svg");
}

.flag-kr {
  background-image: url("assets/flags/kr.svg");
}

.utility-layer {
  position: relative;
  z-index: 45;
}

.utility-backdrop {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.utility-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.utility-panel {
  position: fixed;
  z-index: 46;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

.utility-panel.open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  z-index: 29;
  top: 0;
  left: 0;
  right: 0;
  min-height: 360px;
  transform: translateY(-18px);
}

.search-panel.open {
  transform: translateY(0);
}

.utility-panel-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 116px clamp(22px, 5vw, 72px) 54px;
}

.side-panel {
  z-index: 46;
  top: 0;
  right: 0;
  width: min(448px, 100vw);
  height: 100vh;
  transform: translateX(26px);
}

.side-panel.open {
  transform: translateX(0);
}

.side-panel-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 42px);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(28px, 5vw, 54px);
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-heading p {
  margin: 0;
}

.search-form {
  display: block;
}

.search-form span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.search-form input {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: clamp(28px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  outline: 0;
}

.search-form input::placeholder {
  color: rgba(29, 29, 27, 0.28);
}

.panel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.panel-links span {
  width: 100%;
  color: var(--ink);
  font-size: 12px;
  text-transform: uppercase;
}

.panel-links a {
  border-bottom: 1px solid transparent;
}

.panel-links a:hover {
  border-color: currentColor;
  color: var(--ink);
}

.empty-state {
  margin-top: auto;
  padding-bottom: 18px;
}

.panel-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 0.98;
}

.empty-state p {
  margin: 18px 0 28px;
  color: var(--muted);
  line-height: 1.75;
}

.panel-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.title-block {
  width: 100vw;
  min-height: clamp(420px, 58vh, 680px);
  display: grid;
  place-items: end start;
  margin-left: calc(50% - 50vw);
  padding: clamp(138px, 16vw, 210px) clamp(22px, 6vw, 86px) clamp(54px, 8vw, 96px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 70% 34%, rgba(255, 255, 255, 0.12), transparent 25%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 36%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 42px),
    linear-gradient(140deg, #111417 0%, #1f262b 48%, #08090a 100%);
  color: #fff;
  text-align: left;
}

.title-block::after {
  content: "";
  position: absolute;
  right: -16%;
  bottom: -32%;
  width: min(860px, 74vw);
  aspect-ratio: 49 / 42;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.64), rgba(185, 199, 210, 0.16)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 18px);
  box-shadow: 0 80px 130px rgba(0, 0, 0, 0.42);
  opacity: 0.62;
  transform: perspective(1200px) rotateX(58deg) rotateZ(-24deg);
}

.title-block > * {
  position: relative;
  z-index: 1;
}

.title-block h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(58px, 11vw, 148px);
  font-weight: 900;
  line-height: 0.88;
}

.title-block p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  line-height: 1.7;
}

.section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.lab-title-block h1 {
  max-width: 760px;
}

.lab-matrix-section {
  width: min(100% - 48px, 1480px);
  margin: 0 auto 96px;
}

.matrix-stage {
  min-height: clamp(520px, 62vw, 860px);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 42%, rgba(49, 95, 143, 0.08), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 242, 245, 0.92));
  color: var(--ink);
}

.matrix-cross {
  position: absolute;
  z-index: 1;
  background: rgba(16, 16, 16, 0.22);
  pointer-events: none;
}

.matrix-cross-x {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.matrix-cross-y {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.matrix-axis {
  position: absolute;
  z-index: 2;
  color: rgba(16, 16, 16, 0.56);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 900;
  text-transform: uppercase;
  pointer-events: none;
}

.matrix-axis-top {
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.matrix-axis-bottom {
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
}

.matrix-axis-left {
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
}

.matrix-axis-right {
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
}

.matrix-point {
  width: 18px;
  height: 18px;
  position: absolute;
  z-index: 5;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.matrix-dot {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(16, 16, 16, 0.08), 0 18px 38px rgba(16, 16, 16, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.matrix-point:hover .matrix-dot,
.matrix-point:focus-visible .matrix-dot,
.matrix-point.active .matrix-dot {
  transform: scale(1.18);
  box-shadow: 0 0 0 9px rgba(16, 16, 16, 0.1), 0 20px 44px rgba(16, 16, 16, 0.22);
}

.matrix-point:focus-visible {
  outline: 0;
}

.matrix-card {
  width: min(260px, 72vw);
  position: absolute;
  left: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.matrix-card.is-left {
  left: auto;
  right: 26px;
}

.matrix-card.is-low {
  bottom: auto;
  top: 26px;
}

.matrix-point:hover .matrix-card,
.matrix-point:focus-visible .matrix-card,
.matrix-point.active .matrix-card {
  opacity: 1;
  transform: translateY(0);
}

.matrix-card-image,
.matrix-card-placeholder {
  width: 82px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background:
    linear-gradient(rgba(49, 95, 143, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 95, 143, 0.1) 1px, transparent 1px),
    #edf3f8;
  background-size: 10px 10px;
}

.matrix-card-copy {
  display: grid;
  gap: 6px;
}

.matrix-card-copy strong {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.15;
}

.matrix-card-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.matrix-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  margin: 0;
  color: rgba(16, 16, 16, 0.52);
  font-size: 14px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.section-title {
  margin: 0 0 28px;
  text-align: center;
}

.section-title span {
  display: block;
  font-size: 24px;
  font-weight: 750;
}

.section-title small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.category-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.category-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 26px);
}

.product-grid.featured {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid.featured .product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  align-content: start;
  background: #f8f9fa;
  padding: clamp(18px, 3vw, 34px);
}

.product-grid.featured .product-image {
  aspect-ratio: 16 / 10;
}

.product-grid.featured .product-name {
  font-size: clamp(18px, 2.2vw, 30px);
  line-height: 1.1;
}

.quick-add {
  position: relative;
  z-index: 3;
  min-height: 40px;
  margin-top: -40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(29, 29, 27, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(29, 29, 27, 0.025) 1px, transparent 1px),
    #edf1f4;
  background-size: 26px 26px;
}

.product-image-media,
.gallery-main-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.product-image.has-media::before,
.product-image.has-media::after,
.gallery-main.has-media::before,
.gallery-main.has-media::after {
  display: none;
}

/* Base 3D product shape */
.product-image::before {
  content: "";
  position: absolute;
  left: 12%;
  right: -16%;
  top: 42%;
  aspect-ratio: 49 / 42;
  border: 1px solid rgba(29, 29, 27, 0.15);
  border-radius: 7px;
  background: linear-gradient(135deg, #fff, #dbe3e8);
  transform: perspective(780px) rotateX(60deg) rotateZ(-26deg);
  box-shadow: 0 24px 38px rgba(29, 29, 27, 0.1);
}

/* Reflection sheen on glass pads */
.product-image::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.product-image.glass::after {
  left: 20%;
  right: 6%;
  top: 50%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45) 20%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.3) 80%, transparent);
  transform: perspective(780px) rotateX(60deg) rotateZ(-26deg);
  border-radius: 2px;
}

/* Glass: dark */
.product-image.glass.dark::before {
  background:
    linear-gradient(135deg, #3a3d40 0%, #1e2022 45%, #0f1012 100%);
  border-color: rgba(255,255,255,0.08);
  box-shadow:
    0 24px 38px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.06);
}

/* Glass: light (for graphite etc.) */
.product-image.glass:not(.dark)::before {
  background:
    linear-gradient(135deg, #e8eaec 0%, #c4c9cd 45%, #a8adb2 100%);
  border-color: rgba(29,29,27,0.12);
  box-shadow:
    0 24px 38px rgba(29,29,27,0.12),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Cloth pad: stitched edge + fabric texture */
.product-image.cloth::before {
  left: 9%;
  right: 9%;
  top: 22%;
  border-radius: 9px;
  border: 1.5px solid rgba(29,29,27,0.18);
  outline: 1px dashed rgba(29,29,27,0.08);
  outline-offset: -6px;
  background:
    repeating-linear-gradient(90deg, rgba(29,29,27,0.06) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(rgba(255,255,255,0.28) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, #dfe4e5, #bfc7c8);
  transform: rotate(-7deg);
  box-shadow: 0 12px 22px rgba(29,29,27,0.08);
}

.product-image.cloth::after {
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  background: linear-gradient(to top, rgba(29,29,27,0.06), transparent);
  border-radius: 0 0 8px 8px;
}

.product-image.cloth.dark::before {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(rgba(255,255,255,0.05) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, #2f3437, #17191b);
  border-color: rgba(255,255,255,0.06);
}

.product-image.cloth.dark::after {
  background: linear-gradient(to top, rgba(0,0,0,0.18), transparent);
}

/* Skates: PTFE dots with packaging card */
.product-image.skates::before,
.product-image.skates::after {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(29, 29, 27, 0.12);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #e2e8eb 72%);
  box-shadow:
    72px 4px 0 -1px #edf1f4,
    144px 0 0 -1px #edf1f4,
    32px 80px 0 -1px #edf1f4,
    110px 86px 0 -1px #edf1f4,
    184px 74px 0 -1px #edf1f4;
  transform: none;
}

.product-image.skates::before {
  left: 14%;
  top: 24%;
  right: auto;
  aspect-ratio: auto;
}

.product-image.skates::after {
  left: 38%;
  top: 44%;
  border-radius: 999px 999px 48px 48px;
  transform: rotate(-17deg);
  opacity: 0.72;
}

/* Arm sleeve: folded fabric tube */
.product-image.sleeve::before {
  left: 17%;
  right: 17%;
  top: 22%;
  aspect-ratio: 0.48;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.05);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.1) 0%, transparent 30%, rgba(255,255,255,0.08) 65%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 11px),
    linear-gradient(135deg, #24272a, #070808);
  transform: rotate(15deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

.product-image.sleeve::after {
  left: 24%;
  right: 24%;
  top: 62%;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent);
  transform: rotate(15deg);
}

.product-image.sleeve.light::before {
  border-color: rgba(29,29,27,0.06);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.7) 0%, transparent 32%, rgba(255,255,255,0.45) 65%, transparent 100%),
    repeating-linear-gradient(0deg, rgba(29,29,27,0.04) 0 2px, transparent 2px 11px),
    linear-gradient(135deg, #edf1f1, #cfd8da);
  box-shadow: 0 8px 20px rgba(29,29,27,0.06);
}

.product-image.sleeve.light::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.5), transparent);
}

/* Product label overlay for gallery main image */
.gallery-main:not(.has-media)::after {
  content: attr(data-gallery-word);
  position: absolute;
  left: 50%;
  top: 18%;
  z-index: 2;
  transform: translateX(-50%);
  color: rgba(16,16,16,0.14);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.gallery-main.glass.dark:not(.has-media)::after {
  color: rgba(255,255,255,0.1);
}

.soldout {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 8px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.product-name {
  margin: 10px 0 4px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.price {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-origin {
  margin: 6px 0 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.brand-products {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.detail-price {
  margin: 12px 0 0;
  font-size: 18px;
  font-weight: 750;
}

.product-ownership {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 26px 0 0;
  background: rgba(29, 29, 27, 0.12);
  border: 1px solid rgba(29, 29, 27, 0.12);
}

.ownership-item {
  min-height: 76px;
  padding: 14px;
  background: var(--paper);
}

.ownership-item span {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.ownership-item strong {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.25;
}

.availability-line {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.breadcrumbs {
  width: min(100% - 48px, 1480px);
  margin: 0 auto;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-detail {
  width: min(100% - 48px, 1480px);
  margin: 0 auto clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(24px, 3vw, 56px);
  padding: clamp(24px, 3vw, 46px) 0 0;
  min-height: auto;
  background: transparent;
  border-top: 0;
  border-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 18px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.gallery-main {
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.72), transparent 34%),
    #e7e8ea;
}

.gallery-main.has-media {
  background: #e7e8ea;
}

.gallery-main.product-image::before {
  left: 12%;
  right: 12%;
  top: 34%;
  border-color: rgba(29, 29, 27, 0.12);
  border-radius: 10px;
  box-shadow: 0 36px 70px rgba(20, 26, 31, 0.18);
  transform: perspective(1200px) rotateX(58deg) rotateZ(-12deg);
}

.gallery-main.glass::after,
.gallery-main.cloth::after,
.gallery-main.sleeve::after {
  content: attr(data-gallery-word);
  left: clamp(28px, 5vw, 72px);
  bottom: clamp(28px, 5vw, 72px);
  color: rgba(29, 29, 27, 0.08);
  font-size: clamp(58px, 8vw, 128px);
  font-weight: 900;
  letter-spacing: 0;
}

.gallery-main.cloth::before {
  left: 8%;
  right: 8%;
  top: 20%;
  border-radius: 16px;
  transform: rotate(-5deg);
}

.gallery-main.sleeve::before {
  left: 35%;
  right: 35%;
  top: 12%;
  transform: rotate(16deg);
}

.gallery-main.skates::before,
.gallery-main.skates::after {
  width: clamp(84px, 9vw, 136px);
  height: clamp(84px, 9vw, 136px);
  box-shadow:
    150px 18px 0 -1px #eef3f4,
    300px 5px 0 -1px #eef3f4,
    70px 170px 0 -1px #eef3f4,
    230px 182px 0 -1px #eef3f4,
    380px 146px 0 -1px #eef3f4;
}

.gallery-main.skates::before {
  left: 16%;
  top: 24%;
}

.gallery-main.skates::after {
  left: 38%;
  top: 44%;
}

.gallery-thumbs {
  display: flex;
  gap: 14px;
  align-items: center;
  overflow-x: auto;
  padding: 0 0 8px;
  background: transparent;
  border-top: 0;
  scrollbar-width: none;
}

.gallery-thumbs::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  width: clamp(62px, 6vw, 86px);
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  cursor: pointer;
}

.gallery-thumb.active {
  border-bottom-color: var(--ink);
}

.gallery-thumb .product-image {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.68), transparent 40%),
    #dfe3e6;
}

.gallery-thumb .product-image::before {
  left: 8%;
  right: 8%;
  top: 38%;
  transform: perspective(780px) rotateX(60deg) rotateZ(-14deg);
}

.product-image.shot-angle::before {
  left: 2%;
  right: -18%;
  top: 42%;
  transform: perspective(920px) rotateX(62deg) rotateZ(-24deg);
}

.product-image.shot-top::before {
  left: 14%;
  right: 14%;
  top: 19%;
  transform: rotate(-3deg);
}

.product-image.shot-surface::before {
  left: 16%;
  right: 16%;
  top: 18%;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    repeating-linear-gradient(45deg, rgba(29, 29, 27, 0.045) 0 1px, transparent 1px 8px),
    linear-gradient(135deg, #f8fbff, #cfdce6);
  transform: none;
}

.product-image.shot-edge::before {
  left: 10%;
  right: 10%;
  top: 52%;
  aspect-ratio: 5.6;
  border-radius: 999px;
  background: linear-gradient(90deg, #d9e8f5, #ffffff 42%, #bacbd7);
  transform: perspective(760px) rotateX(58deg) rotateZ(-8deg);
}

.product-image.shot-base::before {
  left: 11%;
  right: 11%;
  top: 33%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(29, 29, 27, 0.08) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(rgba(29, 29, 27, 0.06) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #dfe8ef, #bfcbd3);
  transform: rotate(4deg);
}

.product-info {
  align-self: start;
  position: sticky;
  top: 32px;
  max-width: 680px;
  padding: clamp(8px, 2vw, 22px) 0 clamp(28px, 4vw, 64px);
}

.drop-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 4.8vw, 76px);
  line-height: 1.06;
  letter-spacing: 0;
}

.product-purchase-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(34px, 5vw, 66px);
}

.detail-price {
  margin: 0;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 850;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ef3448;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.product-primary-button {
  width: 100%;
  min-height: 78px;
  border: 0;
  border-radius: 999px;
  background: #ef3448;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  cursor: not-allowed;
}

.product-copy-block {
  margin-top: clamp(34px, 5vw, 62px);
  padding-top: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
}

.product-copy-block h2 {
  margin: 0 0 clamp(28px, 4vw, 52px);
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.35;
  text-transform: uppercase;
}

.product-copy-block p {
  margin: 0 0 22px;
}

.product-spec-copy {
  margin-top: clamp(30px, 4vw, 52px);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.48;
}

.product-spec-copy p {
  margin: 0 0 8px;
}

.product-imagery-note {
  margin-top: clamp(30px, 4vw, 52px) !important;
  color: var(--muted);
  font-style: italic;
}

.notify-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid var(--ink);
  background: var(--paper);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-newsletter {
  width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border: 0;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(29, 29, 27, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(29, 29, 27, 0.025) 1px, transparent 1px),
    #f8f9fa;
  background-size: 28px 28px;
  text-align: center;
}

.product-newsletter h2 {
  margin: 0 0 10px;
}

.product-newsletter p {
  max-width: 620px;
  margin: 0 auto 18px;
  color: var(--muted);
  line-height: 1.7;
}

.authorized-distributors {
  width: min(100% - 48px, 1480px);
  margin: 0 auto;
  padding: clamp(30px, 4.5vw, 60px);
  border: 1px solid var(--line);
  background: #f8f9fa;
}

.product-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 28px;
}

.product-section-head span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.authorized-distributors h2,
.product-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4.5vw, 58px);
  line-height: 0.98;
}

.distributor-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}

.distributor-item {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.distributor-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.distributor-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.distributor-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.product-stockists {
  background: var(--paper);
}

.product-stockist-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stockist-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(120px, 0.46fr) minmax(180px, 0.8fr) minmax(280px, 1.5fr) minmax(132px, auto);
  gap: clamp(18px, 2.4vw, 38px);
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.stockist-row:last-child {
  border-bottom: 0;
}

a.stockist-row:hover .stockist-name,
a.stockist-row:focus-visible .stockist-name {
  color: var(--blue);
}

.stockist-region {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.stockist-name {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.05;
}

.stockist-summary {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.stockist-action {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.stockist-action .icon {
  width: 15px;
  height: 15px;
}

.detail-grid {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.product-details-section {
  width: min(100% - 48px, 1480px);
  margin: clamp(28px, 5vw, 72px) auto 0;
  padding: 0 0 clamp(48px, 7vw, 92px);
  border-bottom: 0;
  background: transparent;
}

.product-details-section .section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  text-align: left;
}

.product-details-section .section-title span {
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.95;
}

.product-details-section .detail-grid {
  width: 100%;
  margin-left: 0;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 1px solid var(--line);
}

.detail-card {
  min-height: 320px;
  padding: clamp(24px, 4vw, 46px);
  background: #f8f9fa;
}

.media-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: min(680px, 68vh);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(20, 26, 31, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(20, 26, 31, 0.035) 1px, transparent 1px),
    #edf1f4;
  background-size: 32px 32px;
}

.product-story.media-band {
  width: min(100% - 48px, 1480px);
  margin: clamp(28px, 5vw, 72px) auto 0;
  min-height: clamp(420px, 42vw, 660px);
  border: 1px solid var(--line);
}

.product-story .media-band-copy span {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-story .media-band-copy h2 {
  max-width: 780px;
  font-size: clamp(40px, 6vw, 82px);
}

.media-band::before {
  content: "";
  position: absolute;
  left: 20%;
  right: -10%;
  bottom: -8%;
  aspect-ratio: 49 / 42;
  border: 1px solid rgba(29, 29, 27, 0.14);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(210,222,230,0.68));
  transform: perspective(1200px) rotateX(58deg) rotateZ(-22deg);
  box-shadow: 0 60px 90px rgba(20, 26, 31, 0.12);
}

.media-band.dark {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    #171819;
  background-size: 32px 32px;
}

.media-band.dark::before {
  background: linear-gradient(135deg, #34383a, #0b0c0d);
}

.media-band-copy {
  position: absolute;
  left: clamp(24px, 6vw, 82px);
  bottom: clamp(24px, 6vw, 76px);
  max-width: 520px;
}

.media-band-copy h2 {
  margin: 0;
  font-size: clamp(42px, 8vw, 104px);
  line-height: 0.92;
}

.media-band-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.media-band.dark .media-band-copy,
.media-band.dark .media-band-copy p {
  color: #fff;
}

.detail-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.distributor-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.plain-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.9;
}

.admin-panel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.admin-tabs {
  display: flex;
  justify-content: center;
  gap: 1px;
  background: var(--line);
}

.admin-tab {
  min-height: 54px;
  min-width: 160px;
  border: 0;
  background: #f8f9fa;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--ink);
  color: #fff;
}

.admin-helper {
  display: none;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1px;
}

.admin-helper.active {
  display: grid;
}

.admin-form,
.admin-output-wrap {
  margin: 0;
  padding: clamp(22px, 4vw, 46px);
  background: var(--paper);
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: none;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  padding: 12px;
}

.admin-form textarea {
  min-height: 110px;
  resize: vertical;
}

.admin-output {
  min-height: 360px;
  margin: 18px 0 0;
  padding: 18px;
  background: #f8f9fa;
  border: 1px solid var(--line);
  overflow: auto;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.admin-output-wrap h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1;
}

.admin-output-wrap p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.news {
  max-width: 760px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.news-row time {
  color: var(--muted);
  font-size: 13px;
}

form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 28px auto 0;
}

input,
textarea,
button {
  border-radius: 0;
  font: inherit;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 16px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer {
  padding: 0;
  background: #101010;
  color: #fff;
}

.footer-inner {
  max-width: 1720px;
  margin: 0 auto;
  padding: 60px clamp(56px, 6vw, 120px) 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) repeat(3, minmax(190px, 1fr));
  gap: clamp(54px, 7vw, 140px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 34px;
}

.footer-logo {
  width: min(230px, 62vw);
  filter: brightness(0) invert(1);
}

.footer h4 {
  margin: 0 0 14px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.copyright {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1100px) {
  .header.site-header {
    grid-template-columns: minmax(64px, 0.64fr) max-content minmax(190px, 0.64fr);
    column-gap: 20px;
    padding-inline: 32px;
  }

  .site-header .logo {
    transform: none;
  }

  .primary-nav .nav-secondary {
    display: none;
  }

  .site-header .actions {
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .header.site-header {
    grid-template-columns: 54px max-content 1fr;
    justify-content: normal;
  }

  .site-header .logo,
  .site-header .nav,
  .site-header .actions {
    grid-column: auto;
  }

  .site-header .logo {
    justify-self: start;
  }

  .product-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .breadcrumbs,
  .product-detail,
  .authorized-distributors,
  .product-story.media-band,
  .product-details-section {
    width: min(100% - 36px, 1480px);
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: auto;
  }

  .product-info {
    position: static;
    max-width: none;
    padding: clamp(28px, 6vw, 52px) 0 clamp(34px, 7vw, 60px);
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .product-section-head,
  .product-details-section .section-title {
    display: block;
  }

  .product-section-head h2 {
    margin-top: 10px;
  }

  .product-story.media-band {
    min-height: 520px;
  }

  .distributor-list {
    grid-template-columns: 1fr;
  }

  .stockist-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 0;
  }

  .stockist-action {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .header:not(.site-header) {
    padding-top: 30px;
  }

  .header:not(.site-header) .logo {
    margin-bottom: 22px;
  }

  .menu-button {
    display: inline-flex;
  }

  .menu-button.icon-button {
    display: inline-flex;
  }

  .header.site-header {
    min-height: 64px;
    grid-template-columns: 44px 1fr auto;
    padding: 0 14px;
  }

  .site-header .logo {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-self: auto;
  }

  .site-header .desktop-language-switcher,
  .site-header .account-button {
    display: none;
  }

  .site-header.nav-open .mobile-language-switcher {
    width: 100%;
    display: block;
    order: 2;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .site-header.nav-open .mobile-language-switcher .language-current {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.18);
    color: var(--ink);
    text-shadow: none;
  }

  .mobile-language-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .site-header.nav-open .mobile-language-switcher .language-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0;
    padding: 6px 0 8px;
    box-shadow: none;
    transform: none;
  }

  .site-header.nav-open .mobile-language-switcher .language-button {
    min-height: 38px;
    padding: 0;
    background: transparent;
  }

  .site-header.nav-open .mobile-language-switcher .language-button.active {
    color: var(--ink);
    font-weight: 950;
  }

  .site-header .actions {
    justify-self: end;
    gap: 2px;
  }

  .site-header .icon-button {
    width: 34px;
    height: 34px;
  }

  .site-header .nav {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    padding: 14px 18px 22px;
    border-bottom: 0;
    color: var(--ink);
    text-shadow: none;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px) saturate(1.12);
  }

  .site-header.nav-open .nav {
    display: flex;
  }

  .site-header .nav a,
  .site-header .nav-dropdown-trigger {
    width: 100%;
    height: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.18);
    background: transparent;
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-align: left;
  }

  .site-header .nav-dropdown {
    width: 100%;
  }

  .primary-nav .nav-secondary {
    display: flex;
  }

  .site-header .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 0 14px;
  }

  .mega-menu-column strong {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.05;
  }

  .site-header .nav-dropdown-menu a {
    padding: 0 0 11px;
    font-size: 13px;
    line-height: 1.2;
  }

  .site-header .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .lab-matrix-section {
    width: min(100% - 28px, 1480px);
    margin-bottom: 64px;
  }

  .matrix-stage {
    min-height: 520px;
  }

  .matrix-axis-left {
    left: 12px;
  }

  .matrix-axis-right {
    right: 12px;
  }

  .matrix-card {
    width: min(230px, 76vw);
    grid-template-columns: 70px 1fr;
    left: 22px;
    bottom: 22px;
  }

  .matrix-card.is-left {
    right: 22px;
  }

  .matrix-card.is-low {
    top: 22px;
  }

  .matrix-card-image,
  .matrix-card-placeholder {
    width: 70px;
  }

  .site-header .actions {
    gap: 4px;
  }

  .search-panel {
    min-height: 330px;
  }

  .utility-panel-inner {
    padding: 88px 18px 34px;
  }

  .side-panel-inner {
    padding: 24px 20px 32px;
  }

  .panel-heading {
    margin-bottom: 28px;
  }

  .product-grid,
  .footer-grid,
  .product-ownership,
  .news-row {
    grid-template-columns: 1fr;
  }

  .breadcrumbs,
  .product-detail,
  .authorized-distributors,
  .product-story.media-band,
  .product-details-section {
    width: min(100% - 32px, 1480px);
  }

  .product-detail {
    padding-top: 18px;
    margin-bottom: 46px;
  }

  .gallery {
    gap: 10px;
  }

  .product-info h1 {
    font-size: clamp(34px, 12vw, 54px);
  }

  .product-primary-button {
    min-height: 62px;
    font-size: 16px;
  }

  .product-copy-block {
    font-size: 16px;
  }

  .authorized-distributors {
    padding: 24px 18px;
  }

  .product-story.media-band {
    min-height: 460px;
  }

  .product-story .media-band-copy {
    left: 22px;
    right: 22px;
    bottom: 28px;
    max-width: none;
  }

  .product-story .media-band-copy h2 {
    font-size: clamp(34px, 12vw, 52px);
  }

  .product-details-section .section-title span {
    font-size: clamp(34px, 12vw, 52px);
  }

  .footer-inner {
    padding: 42px 18px 36px;
  }

  .product-grid.featured {
    grid-template-columns: 1fr;
  }
}

/* ---- Cart ---- */

.cart-container {
  max-width: 820px;
  margin: 0 auto;
}

.cart-empty {
  text-align: center;
  padding: 60px 0 40px;
}

.cart-empty-text {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-image {
  width: 68px;
  height: 52px;
  flex-shrink: 0;
}

.cart-item-image .product-image {
  width: 68px;
  height: 52px;
  border-radius: 4px;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-item-name {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 12px;
  color: var(--muted);
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.cart-qty-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: var(--soft);
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.cart-item-total {
  font-size: 14px;
  font-weight: 700;
  min-width: 60px;
  text-align: right;
  white-space: nowrap;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}

.cart-item-remove:hover {
  color: #c0392b;
}

.cart-summary {
  margin-top: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cart-subtotal-value {
  font-size: 18px;
}

.cart-checkout-note {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.cart-summary .product-primary-button {
  width: 100%;
  margin-bottom: 14px;
}

.cart-continue {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.cart-continue:hover {
  color: var(--ink);
}

/* Add-to-cart feedback toast */

.cart-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.cart-toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Responsive cart */

@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: 56px 1fr auto;
    gap: 10px 8px;
    padding: 14px 0;
    position: relative;
  }

  .cart-item-image {
    width: 56px;
    height: 42px;
  }

  .cart-item-image .product-image {
    width: 56px;
    height: 42px;
  }

  .cart-item-info {
    grid-column: 2;
  }

  .cart-item-total {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    font-size: 13px;
  }

  .cart-item-qty {
    grid-column: 2 / 4;
    justify-self: start;
    margin-top: 2px;
  }

  .cart-item-remove {
    position: absolute;
    top: 10px;
    right: 0;
  }

  .cart-summary {
    padding: 18px;
  }
}

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

.footer-social {
  display: flex;
  gap: 18px;
  margin-bottom: 16px;
}

.footer-social a {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer-social a:hover {
  color: var(--ink);
}

/* ---- Catalog filters ---- */

.catalog-filters {
  margin-bottom: 28px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-pill {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms, background 140ms, color 140ms;
  white-space: nowrap;
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.filter-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.sort-select {
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236a7076'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.sort-select:focus {
  outline: 0;
  border-color: var(--ink);
}

.filter-count {
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-sort {
    justify-content: space-between;
  }
}

/* ---- Search results ---- */

.search-results {
  display: none;
  margin-top: 14px;
  max-height: 380px;
  overflow-y: auto;
}

.search-results.visible {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}

.search-result-item:hover {
  background: var(--soft);
  margin: 0 -8px;
  padding: 12px 8px;
  border-radius: 4px;
}

.search-result-image {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.search-result-image .product-image {
  width: 48px;
  height: 48px;
  background-size: 14px 14px;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.search-result-info strong {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-info span {
  font-size: 12px;
  color: var(--muted);
}

.search-no-results {
  padding: 18px 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---- Mobile product detail ---- */

@media (max-width: 600px) {
  .product-detail {
    padding-bottom: 80px;
    margin-bottom: 0;
  }

  .product-info {
    padding-bottom: 18px;
  }

  .product-purchase-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .detail-price {
    font-size: 28px;
    margin: 0;
  }

  .status-pill {
    flex-shrink: 0;
  }

  .product-primary-button {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20;
    width: 100%;
    min-height: 56px;
    border-radius: 0;
    font-size: 15px;
    letter-spacing: 0.02em;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }

  .product-primary-button:not(:disabled) {
    background: var(--ink);
    color: #fff;
  }

  .product-primary-button:disabled {
    background: var(--line);
    color: var(--muted);
    opacity: 0.8;
  }

  .gallery-thumbs {
    gap: 6px;
  }

  .gallery-thumb {
    width: 56px;
    height: 56px;
  }

  .product-copy-block {
    font-size: 14px;
  }
}

/* ---- Cookie consent banner ---- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 14px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 300ms, transform 300ms;
}

.cookie-banner.dismissed {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner span {
  max-width: 520px;
  line-height: 1.45;
}

.cookie-accept {
  padding: 8px 20px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.cookie-accept:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
}

/* ---- Announcement close ---- */

.announcement {
  position: relative;
}

.announcement-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.announcement-close:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    padding: 12px 18px;
    text-align: center;
  }

  .cookie-banner span {
    font-size: 12px;
  }
}

/* ---- Contact form ---- */

.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label > span {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.contact-form label > span small {
  font-weight: 400;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  line-height: 1.45;
  transition: border-color 160ms;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--ink);
}

.form-error {
  font-size: 12px;
  color: #c0392b;
  font-weight: 500;
}

.contact-form .product-primary-button {
  align-self: flex-start;
  min-width: 160px;
}

.contact-success-inner {
  text-align: center;
  padding: 48px 0 32px;
}

.contact-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  margin-bottom: 18px;
}

.contact-success-inner h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.contact-success-inner p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-info {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ---- Related products ---- */

.related-products-section {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.related-products-section .section-title {
  margin-bottom: 24px;
}

/* ---- 404 category links ---- */

.category-links-404 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.category-links-404 a {
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.category-links-404 a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

/* ---- Cart side panel ---- */

.cart-panel-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  max-height: calc(100vh - 220px);
}

.cart-panel-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-panel-image {
  width: 48px;
  height: 38px;
  flex-shrink: 0;
}

.cart-panel-image .product-image {
  width: 48px;
  height: 38px;
  border-radius: 4px;
  background-size: 14px 14px;
}

.cart-panel-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cart-panel-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-panel-name:hover {
  text-decoration: underline;
}

.cart-panel-price {
  font-size: 12px;
  color: var(--muted);
}

.cart-panel-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.cart-panel-qty .cart-qty-btn {
  width: 28px;
  height: 28px;
  font-size: 13px;
}

.cart-panel-qty span {
  min-width: 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-panel-remove {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0;
}

.cart-panel-remove:hover {
  color: #c0392b;
}

.cart-panel-footer {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-panel-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}

.cart-panel-subtotal span:last-child {
  font-size: 16px;
}

.cart-panel-footer .panel-button {
  width: 100%;
  text-align: center;
  margin-bottom: 0;
}
