:root {
  --bg: #e2e7e8;
  --surface: #d5eaff;
  --surface-strong: #c8def4;
  --surface-deep: #b7d4f4;
  --surface-soft: rgba(255, 255, 255, 0.42);
  --primary: #003e7e;
  --primary-dark: #042d59;
  --text: #003e7e;
  --text-light: #f6feff;
  --muted: #547ba4;
  --border: rgba(0, 62, 126, 0.12);
  --shadow: 0 24px 60px rgba(0, 41, 84, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --container: 1720px;
}


@font-face {
  font-family: "Miratrix";
  src: url("./assets/fonts/Miratrix-Normal.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Neutral Face";
  src: url("./assets/fonts/NeutralFace.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Neutral Face";
  src: url("./assets/fonts/NeutralFace-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Widock Trial";
  src: url("./assets/fonts/Widock-TRIAL-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #eff8fc 0%, var(--bg) 32%, #dde6e9 100%);
  color: var(--text);
  font-family: "Neutral Face", "Arial", "Helvetica Neue", sans-serif;
}

/* Global text overflow guard: long labels should wrap inside blocks instead of leaking out. */
:where(h1, h2, h3, p, a, span, strong, em, li, label, button) {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1,
h2,
h3,
.catalog-section-card__title,
.catalog-section-card__subtitle,
.related-card__title,
.product-card__title {
  overflow-wrap: normal;
  word-break: normal;
}

body[data-page="home"] {
  background: #edf3f4;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

body[data-page="home"] .container {
  width: min(calc(100% - 124px), 1440px);
}

.site-header {
  padding-top: 18px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 14px;
  padding: 0 6px;
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.topbar-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.topbar-phone {
  white-space: nowrap;
}

.searchbar {
  display: grid;
  grid-template-columns: minmax(260px, 520px) minmax(300px, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 88px;
  padding: 0 30px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88px;
  background: var(--surface-deep);
  border-radius: var(--radius-lg);
  overflow: visible;
  box-shadow: var(--shadow);
}

.search-field input {
  width: 100%;
  padding: 0 28px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.4rem);
  font-weight: 700;
  outline: none;
}

.search-field input::placeholder {
  color: var(--text);
}

.search-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-right: 8px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  color: var(--primary);
}

.search-icon svg {
  width: 34px;
  height: 34px;
}

.search-suggest {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(232, 242, 252, 0.98);
  box-shadow: 0 18px 40px rgba(0, 41, 84, 0.18);
}

.search-suggest.hidden {
  display: none !important;
}

.search-suggest__item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--primary);
}

.search-suggest__item strong {
  font-size: 0.95rem;
  line-height: 1.15;
}

.search-suggest__item span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}

.product-stock {
  margin: 10px 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-stock--in {
  color: #2f6b39;
}

.product-stock--low {
  color: #9a6a18;
}

.product-stock--out {
  color: #a33b32;
}

.product-stock--detail {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.product-card--out {
  opacity: 0.92;
}

.search-suggest__item:hover,
.search-suggest__item:focus-visible {
  background: var(--primary);
  color: var(--text-light);
}

.search-suggest__item:hover span,
.search-suggest__item:focus-visible span {
  color: rgba(246, 254, 255, 0.8);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .icon-link[href="./cart.html"] {
  order: 1;
}

.header-actions .icon-link[href="./faq.html"] {
  order: 2;
}

.icon-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 104px;
  min-height: 88px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  color: var(--primary);
  font-family: "Neutral Face", Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.icon-link--with-label {
  flex-direction: column;
  justify-content: center;
  font-size: 0.82rem;
}

.icon-link__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
}

.icon-link__icon svg {
  width: 100%;
  height: 100%;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  min-width: 24px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--text-light);
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
}

.cart-toast {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 120;
  min-width: min(420px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  padding: 18px 22px;
  border: 2px solid rgba(0, 62, 126, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(233, 244, 255, 0.98) 0%, rgba(200, 222, 244, 0.98) 100%);
  color: var(--primary);
  box-shadow: 0 24px 80px rgba(0, 41, 84, 0.22);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-50% + 14px)) scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.auth-notice {
  position: fixed;
  inset: auto 16px 16px auto;
  z-index: 130;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0, 62, 126, 0.96);
  color: var(--text-light);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.auth-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 27, 54, 0.58);
  backdrop-filter: blur(2px);
}

.auth-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 24px 22px 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #e9f3ff 0%, #cfe0f2 100%);
  box-shadow: 0 34px 80px rgba(0, 35, 74, 0.35);
}

.auth-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 62, 126, 0.12);
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.auth-modal__eyebrow {
  margin: 0;
  color: var(--muted);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-modal__title {
  margin: 0;
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  line-height: 0.95;
  color: var(--primary);
  text-transform: uppercase;
}

.auth-fallback {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 62, 126, 0.16);
  background: rgba(0, 62, 126, 0.08);
  color: var(--primary);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.76rem;
  line-height: 1.4;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.auth-tab {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(0, 62, 126, 0.1);
  color: var(--primary);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-tab.hidden {
  display: none;
}

.auth-tab.is-active {
  background: var(--primary);
  color: var(--text-light);
}

.auth-pane {
  display: none;
  gap: 10px;
}

.auth-pane.hidden {
  display: none !important;
}

.auth-pane.is-active {
  display: grid;
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  display: grid;
  gap: 6px;
  color: var(--primary);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.auth-form input {
  min-height: 52px;
  padding: 0 14px;
  border: 2px solid rgba(0, 62, 126, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--primary);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.auth-form .button {
  min-height: 52px;
}

.auth-recaptcha {
  min-height: 78px;
}

.auth-helper {
  margin: 0;
  color: var(--muted);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.35;
}

.auth-google {
  display: grid;
  justify-content: start;
  gap: 10px;
}

.auth-google .button {
  min-height: 50px;
  font-size: 0.92rem;
}

.auth-session {
  display: grid;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 62, 126, 0.12);
}

.hero-banner {
  margin-top: 28px;
  background: var(--primary);
  color: var(--text-light);
  border-radius: 34px;
  box-shadow: var(--shadow);
  padding: 54px 0 42px;
}

body[data-page="faq"] .hero-banner {
  padding: 30px 0 26px;
}

body[data-page="faq"] .hero-kicker {
  margin-bottom: 8px;
  font-size: clamp(0.94rem, 2.3vw, 1.2rem);
}

body[data-page="faq"] .hero-banner h1 {
  font-size: clamp(1.9rem, 5.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.hero-kicker,
.page-hero__eyebrow {
  margin: 0 0 10px;
  font-family: "Miratrix", Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 2.2rem);
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.hero-content {
  display: flex;
  justify-content: flex-start;
  padding: 20px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border: 0;
  border-radius: var(--radius-md);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.button-primary {
  background: var(--primary);
  color: var(--text-light);
}

.button-secondary {
  background: var(--surface-deep);
  color: var(--primary);
}

.button:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  filter: grayscale(0.1);
}

.button-wide {
  width: 100%;
}

.popular {
  padding-top: 38px;
}

.popular h2,
.section-title {
  margin: 0 0 18px;
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.popular-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: stretch;
}

.product-strip {
  --mini-visible-count: 5;
  --mini-gap: 12px;
  display: grid;
  overflow: hidden;
  gap: var(--mini-gap);
}

.product-strip__track {
  display: flex;
  align-items: stretch;
  gap: inherit;
  width: 100%;
  transition: transform 420ms ease;
  will-change: transform;
}

.mini-product {
  position: relative;
  flex: 0 0 calc((100% - (var(--mini-gap) * (var(--mini-visible-count) - 1))) / var(--mini-visible-count));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 18px 14px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(213, 234, 255, 0.96) 100%);
  box-shadow: var(--shadow);
  overflow: visible;
}

.mini-product img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}

.mini-product--compact img {
  width: 46%;
  height: 46%;
}

.mini-product--mechanical img {
  width: 36%;
  height: 56%;
}

.mini-product--coal img {
  width: 44%;
  height: 66%;
}

.mini-product--system img {
  width: 64%;
  height: 72%;
}

.mini-product--wide img {
  width: 70%;
  height: 68%;
}

.mini-product__highlight {
  position: absolute;
  inset: -8px;
  border: 4px solid var(--primary);
  border-radius: calc(var(--radius-md) + 8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.mini-product:hover .mini-product__highlight,
.mini-product:focus-visible .mini-product__highlight {
  opacity: 1;
}

@media (hover: none) and (pointer: coarse) {
  .mini-product {
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-x;
  }

  .mini-product:hover .mini-product__highlight,
  .mini-product:focus-visible .mini-product__highlight {
    opacity: 0;
  }
}

.popular-copy,
.page-hero__shell,
.checkout-stack,
.summary-list,
.related-products,
.faq-layout,
.catalog-grid,
.cart-list {
  display: grid;
  gap: 16px;
}

.catalog-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.catalog-section-card {
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 22px 20px 22px;
  background: #c8def4;
  color: var(--primary);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, filter 180ms ease;
}

.catalog-section-card:hover,
.catalog-section-card:focus-visible {
  transform: translateY(-2px);
  filter: brightness(0.98);
}

.catalog-section-card__title,
.catalog-section-card__subtitle {
  text-transform: uppercase;
}

.catalog-section-card__title {
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  overflow-wrap: normal;
  word-break: normal;
}

.catalog-section-card__subtitle {
  font-family: "Miratrix", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: none;
}

.popular-copy p,
.about p,
.page-hero__description,
.faq-item p {
  margin: 0;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: left;
}

.popular-copy {
  align-content: space-between;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(200, 222, 244, 0.98) 0%, rgba(183, 212, 244, 0.92) 100%);
  box-shadow: var(--shadow);
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-top: 44px;
}

.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 410px;
  padding: 18px 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(200, 222, 244, 0.95) 0%, rgba(213, 234, 255, 0.98) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.category-copy {
  display: grid;
  gap: 6px;
  width: 100%;
}

.category-copy span,
.category-copy strong {
  text-transform: uppercase;
}

.category-copy span {
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(1.9rem, 2.9vw, 3.25rem);
  line-height: 0.88;
  font-weight: 700;
}

.category-copy strong {
  font-family: "Miratrix", Arial, sans-serif;
  font-size: clamp(1.6rem, 1.9vw, 2.15rem);
  line-height: 0.9;
  font-weight: 400;
}

.category-copy__accent {
  font-family: "Miratrix", Arial, sans-serif;
  font-size: clamp(1.6rem, 1.9vw, 2.15rem);
  line-height: 0.9;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
}

.category-card--mix .category-copy__mix-line {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}

.category-card--mix .category-copy__mix-line span,
.category-card--mix .category-copy__mix-line strong {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.category-card--mix .category-copy__mix-line strong {
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.35rem);
  line-height: 0.88;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.category-card img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 250px;
  max-height: 250px;
  object-fit: contain;
  object-position: center bottom;
}

.category-card--square-media img {
  aspect-ratio: 1 / 1;
  height: 250px;
  max-height: 250px;
  object-fit: cover;
  object-position: center;
}

.category-card--horeca img {
  width: 86%;
  height: 250px;
  max-height: 250px;
  object-position: center center;
}

.category-card--materials img {
  width: 100%;
}

.category-card--home img {
  width: 92%;
  height: 250px;
}

.mix-showcase {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  height: 250px;
  padding: 0 10px 6px;
}

.mix-showcase__item {
  display: block;
  height: auto;
  max-height: none;
  margin: 0;
  object-fit: contain;
}

.mix-showcase__item--left {
  width: 26%;
  transform: translateX(14px);
}

.mix-showcase__item--center {
  width: 32%;
  z-index: 1;
}

.mix-showcase__item--right {
  width: 28%;
  transform: translateX(-14px);
}

.video-section {
  padding-top: 50px;
}

.video-card {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 1320px);
  aspect-ratio: 1473 / 774;
  margin: 0 auto;
  border: 0;
  border-radius: 34px;
  background: var(--primary);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-card.is-active {
  background: var(--primary-dark);
}

.play-icon {
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 42px solid #fff;
  transform: translateX(6px);
}

.video-card__label {
  position: absolute;
  bottom: 24px;
  left: 28px;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 26px;
  text-align: left;
}

.stats article {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.stats strong {
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(2.5rem, 4.3vw, 4.8rem);
  line-height: 0.9;
  font-weight: 700;
}

.stats span {
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(1rem, 1.3vw, 1.55rem);
  font-weight: 700;
  text-transform: uppercase;
}

.about {
  max-width: 1440px;
  padding-top: 24px;
  padding-bottom: 52px;
}

.about p {
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.site-footer {
  background: linear-gradient(180deg, #054d98 0%, var(--primary) 100%);
  color: var(--text-light);
  margin-top: 8px;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}

.site-footer h3 {
  margin: 0 0 16px;
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 2.2rem);
}

.site-footer ul,
.catalog-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li,
.catalog-sidebar li + li,
.faq-item + .faq-item {
  margin-top: 4px;
}

.footer-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-top: 56px;
  text-align: center;
}

.footer-brand strong {
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
}

body[data-page="home"] .site-header {
  padding-top: 12px;
}

body[data-page="home"] .topbar {
  display: flex;
  margin-bottom: 8px;
  padding: 0 8px;
  font-size: 0.95rem;
}

body[data-page="home"] .searchbar {
  grid-template-columns: minmax(260px, 520px) minmax(300px, 1fr) auto;
  gap: 0;
  padding: 0 18px 0 0;
  border: 0;
  border-radius: 26px;
  background: #c9dbf0;
}

body[data-page="home"] .brand {
  min-height: 82px;
  padding: 0 28px;
  border-radius: 24px;
  box-shadow: none;
  font-size: clamp(2rem, 2.2vw, 2.7rem);
}

body[data-page="home"] .search-field {
  min-height: 82px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .search-field input {
  padding: 0 18px 0 28px;
  font-size: clamp(1.4rem, 1.6vw, 2rem);
  text-transform: none;
}

body[data-page="home"] .search-icon {
  width: 74px;
  height: 74px;
  margin-right: 0;
  border-radius: 0;
}

body[data-page="home"] .search-icon svg {
  width: 44px;
  height: 44px;
}

body[data-page="home"] .header-actions {
  gap: 10px;
  padding-left: 12px;
}

body[data-page="home"] .icon-link {
  min-width: 52px;
  min-height: 82px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  justify-content: center;
}

body[data-page="home"] .icon-link--with-label {
  gap: 0;
  font-size: 0;
}

body[data-page="home"] .icon-link__icon {
  width: 42px;
  height: 42px;
}

body[data-page="home"] .cart-badge {
  top: 14px;
  right: -2px;
  min-width: 18px;
  padding: 1px 4px;
  font-size: 0.55rem;
}

body[data-page="home"] .hero {
  padding-top: 28px;
}

body[data-page="home"] .hero-banner {
  margin-top: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 30px 0 28px;
}

body[data-page="home"] .hero-kicker {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 1.8vw, 2.1rem);
}

body[data-page="home"] .hero h1 {
  font-size: clamp(5.1rem, 7vw, 7.8rem);
  letter-spacing: -0.03em;
}

body[data-page="home"] .hero-content {
  padding: 16px 0 0;
}

body[data-page="home"] .button {
  min-height: 58px;
  padding: 0 42px;
  border-radius: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.55rem);
}

body[data-page="home"] .popular {
  padding-top: 18px;
}

body[data-page="home"] .popular h2 {
  margin-bottom: 12px;
  font-size: clamp(5rem, 7vw, 7rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
}

body[data-page="home"] .popular-grid {
  grid-template-columns: minmax(0, 1fr) 314px;
  gap: 14px;
}

body[data-page="home"] .product-strip {
  --mini-gap: 10px;
  gap: 10px;
}

body[data-page="home"] .mini-product {
  min-height: 148px;
  padding: 14px 10px;
  border-radius: 0;
  background: #d8e9fb;
  box-shadow: none;
}

body[data-page="home"] .mini-product img {
  width: 72%;
  height: 72%;
}

body[data-page="home"] .mini-product--compact img {
  width: 42%;
  height: 42%;
}

body[data-page="home"] .mini-product--mechanical img {
  width: 34%;
  height: 54%;
}

body[data-page="home"] .mini-product--coal img {
  width: 38%;
  height: 62%;
}

body[data-page="home"] .mini-product--system img {
  width: 60%;
  height: 68%;
}

body[data-page="home"] .mini-product--wide img {
  width: 68%;
  height: 66%;
}

body[data-page="home"] .mini-product__highlight {
  inset: 0;
  border: 4px solid var(--primary);
  border-radius: 0;
}

body[data-page="home"] .popular-copy {
  padding: 12px 14px 14px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .popular-copy p {
  font-family: Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.15;
  text-align: left;
}

body[data-page="home"] .categories {
  gap: 14px;
  padding-top: 28px;
}

body[data-page="home"] .category-card {
  min-height: 290px;
  padding: 12px;
  border-radius: 0;
  background: #d8e9fb;
  box-shadow: none;
}

body[data-page="home"] .category-copy {
  gap: 0;
}

body[data-page="home"] .category-copy span {
  font-size: clamp(2.2rem, 2.7vw, 3rem);
  letter-spacing: -0.04em;
}

body[data-page="home"] .category-copy strong {
  font-size: clamp(1.6rem, 1.7vw, 2rem);
}

body[data-page="home"] .category-copy__accent {
  font-size: clamp(1.6rem, 1.7vw, 2rem);
}

body[data-page="home"] .category-card--mix .category-copy__mix-line strong {
  font-size: clamp(1.7rem, 2.1vw, 2.2rem);
}

body[data-page="home"] .category-card img {
  height: 180px;
  max-height: 180px;
  object-fit: contain;
}

body[data-page="home"] .category-card--square-media img {
  height: 160px;
  max-height: 160px;
  object-fit: cover;
}

body[data-page="home"] .category-card--materials img {
  width: 72%;
  height: 160px;
  max-height: 160px;
  object-fit: cover;
  object-position: center;
}

body[data-page="home"] .mix-showcase {
  height: 180px;
  padding: 0 0 4px;
}

body[data-page="home"] .category-card--horeca img {
  width: 88%;
}

body[data-page="home"] .category-card--home img {
  width: 90%;
}

body[data-page="home"] .mix-showcase__item--left {
  width: 25%;
  transform: translateX(16px);
}

body[data-page="home"] .mix-showcase__item--center {
  width: 30%;
}

body[data-page="home"] .mix-showcase__item--right {
  width: 25%;
  transform: translateX(-16px);
}

body[data-page="home"] .video-section {
  padding-top: 46px;
}

body[data-page="home"] .video-card {
  width: min(100%, 1190px);
  border-radius: 0;
  box-shadow: none;
}

body[data-page="home"] .play-icon {
  border-top-width: 28px;
  border-bottom-width: 28px;
  border-left-width: 46px;
}

body[data-page="home"] .stats {
  gap: 0;
  padding-top: 18px;
}

body[data-page="home"] .stats article {
  gap: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .stats strong {
  font-size: clamp(3rem, 4.1vw, 4rem);
}

body[data-page="home"] .stats span {
  font-size: 0.82rem;
}

body[data-page="home"] .about {
  max-width: none;
  padding-top: 8px;
  padding-bottom: 24px;
}

body[data-page="home"] .about p {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: Arial, sans-serif;
  font-size: 0.62rem;
  line-height: 1.18;
}

body[data-page="home"] .site-footer {
  margin-top: 0;
  padding: 22px 0 14px;
}

body[data-page="home"] .footer-grid {
  gap: 18px;
}

body[data-page="home"] .site-footer h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

body[data-page="home"] .site-footer li + li {
  margin-top: 2px;
}

body[data-page="home"] .footer-brand {
  gap: 4px;
  padding-top: 18px;
}

body[data-page="home"] .footer-brand strong {
  font-size: clamp(2rem, 2.3vw, 2.5rem);
}

.page-hero {
  padding: 42px 0 28px;
}

body[data-page="catalog"] .page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 4rem);
  line-height: 0.95;
}

/* Product pages: compact DNS-like scale */
body[data-page="product"] .page-hero,
body[data-product] .page-hero {
  padding: 18px 0 14px;
}

body[data-page="product"] .page-hero__shell,
body[data-product] .page-hero__shell {
  gap: 6px;
  padding: 16px 20px;
}

body[data-page="product"] .page-hero__eyebrow,
body[data-product] .page-hero__eyebrow {
  margin: 0;
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  letter-spacing: 0.02em;
}

body[data-page="product"] .page-hero h1,
body[data-product] .page-hero h1 {
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.2vw, 2.05rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero__shell,
.catalog-sidebar,
.product-card,
.product-gallery,
.product-detail__content,
.faq-item,
.summary-card,
.checkout-card,
.cart-item,
.empty-state,
.related-card {
  background: var(--surface-strong);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 56px;
}

.catalog-sidebar,
.summary-card,
.checkout-card {
  padding: 28px;
}

.catalog-sidebar h2,
.summary-card h2,
.checkout-card h2 {
  margin: 0 0 20px;
  font-family: "Widock Trial", Arial, sans-serif;
  font-size: 1.9rem;
  text-transform: uppercase;
}

.catalog-sidebar a {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  line-height: 1.2;
  white-space: nowrap;
}

.catalog-sidebar ul {
  display: grid;
  gap: 6px;
}

.catalog-toolbar,
.summary-row,
.product-actions-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  min-width: 0;
}

.catalog-toolbar {
  align-items: flex-start;
}

.catalog-toolbar .button-secondary {
  min-height: 52px;
  padding: 0 28px;
  margin-top: -10px;
  margin-bottom: 14px;
  font-size: clamp(0.9rem, 1.1vw, 1.2rem);
}

.catalog-result {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.product-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 26px;
}

.related-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.product-card__category {
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__media,
.cart-item__media,
.related-card__media,
.product-gallery__main,
.product-gallery__thumb {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.3);
}

.product-card__media {
  min-height: 210px;
  padding: 18px;
}

.related-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 12px;
  overflow: hidden;
}

.product-card__media img,
.product-gallery__main img,
.product-gallery__thumb img,
.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.related-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  margin: 0;
  transform: scale(0.8);
  transform-origin: center center;
}

.related-card__media.is-slim img {
  transform: scale(0.72);
}

.related-card__media.is-medium img {
  transform: scale(0.8);
}

.related-card__media.is-wide img {
  transform: scale(0.88);
}

.product-card__media img {
  width: auto;
  height: 68%;
  max-width: 68%;
  margin: auto;
}

body[data-catalog-category="cartridges-mix"] .product-card__media {
  min-height: 210px;
}

body[data-catalog-category="cartridges-mix"] .product-card__media img {
  width: auto;
  height: 132px;
  max-width: 132px;
  min-width: 132px;
  min-height: 132px;
  object-fit: contain;
}

body[data-catalog-category="cartridges-coal"] .product-card__media {
  min-height: 210px;
}

body[data-catalog-category="cartridges-coal"] .product-card__media img {
  width: auto;
  height: 148px;
  max-width: 148px;
  min-width: 148px;
  min-height: 148px;
  object-fit: contain;
  object-position: center center;
  margin: auto;
}

body[data-catalog-category="materials"] .product-card__media {
  min-height: 210px;
}

body[data-catalog-category="materials"] .product-card__media img {
  width: auto;
  height: 172px;
  max-width: 172px;
  min-width: 172px;
  min-height: 172px;
  object-fit: contain;
  object-position: center center;
  margin: auto;
}

.product-card__content,
.cart-item__details,
.product-detail__content,
.checkout-grid,
.field,
.product-detail__specs {
  display: grid;
  gap: 10px;
}

.product-card__title,
.cart-item__title,
.related-card__title {
  margin: 0;
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(1.2rem, 1.5vw, 1.8rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.related-card__title {
  font-size: clamp(0.95rem, 1.1vw, 1.25rem);
}

.product-card__description,
.cart-item__description,
.choice-card p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
}

.product-card__actions,
.cart-item__controls {
  display: grid;
  gap: 12px;
  justify-items: end;
}

.product-card__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.product-card__price,
.summary-row strong,
.product-detail__price {
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.related-card .product-card__category {
  font-size: 0.6rem;
}

.related-card .summary-row strong {
  font-size: 1.1rem;
}

.related-card .summary-row .button {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.7rem;
}

.circle-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: var(--text-light);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.back-link span[aria-hidden="true"] {
  font-size: 1.15rem;
  line-height: 1;
}

.catalog-pagination {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.pagination-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 0 20px;
  background: var(--surface-deep);
}

.pagination-row a,
.pagination-row span {
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 840px) minmax(300px, 840px);
  gap: 32px;
  padding-bottom: 56px;
}

body[data-page="product"] .product-detail,
body[data-product] .product-detail {
  grid-template-columns: minmax(300px, 520px) minmax(320px, 560px);
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  padding-bottom: 32px;
}

.product-gallery {
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 18px;
  padding: 28px;
}

body[data-page="product"] .product-gallery,
body[data-product] .product-gallery {
  min-height: 100%;
  align-items: center;
  justify-items: center;
  gap: 0;
  padding: 14px;
  background: var(--surface-strong);
}

.product-gallery__main {
  aspect-ratio: 1 / 1;
}

body[data-page="product"] .product-gallery__main,
body[data-product] .product-gallery__main {
  aspect-ratio: 1 / 1;
  min-height: 320px;
  height: clamp(320px, 34vw, 520px);
  max-height: 520px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.product-gallery__thumbs,
.related-grid,
.checkout-grid--double {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

body[data-page="product"] .product-gallery__thumbs,
body[data-product] .product-gallery__thumbs {
  gap: 10px;
}

.product-gallery__thumb {
  aspect-ratio: 1 / 1;
  padding: 10px;
}

body[data-page="product"] .product-gallery__thumb,
body[data-product] .product-gallery__thumb {
  padding: 6px;
  background: transparent;
  border: 0;
  overflow: hidden;
}

body[data-page="product"] .product-gallery__main img,
body[data-product] .product-gallery__main img {
  --housing-visual-scale: 1;
  --product-visual-scale: 1;
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 82%;
  object-fit: contain;
  object-position: center center;
  transform: scale(calc(var(--housing-visual-scale) * var(--product-visual-scale)));
  transform-origin: center center;
  transition: transform 220ms ease;
}

body[data-page="product"] .product-gallery__thumb img,
body[data-product] .product-gallery__thumb img {
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transform: rotate(var(--thumb-rotate, 0deg)) scale(var(--thumb-scale, 1));
  transform-origin: center center;
  transition: transform 160ms ease;
}

.product-detail__content {
  padding: 28px;
}

body[data-page="product"] .product-detail__content,
body[data-product] .product-detail__content {
  padding: 16px 18px;
  gap: 8px;
}

.product-detail__title {
  margin: 0;
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: clamp(2rem, 4.8vw, 4.9rem);
  line-height: 0.92;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body[data-page="product"] .product-detail__title,
body[data-product] .product-detail__title {
  font-size: clamp(1.85rem, 3.1vw, 3.2rem);
  line-height: 0.94;
}

.product-detail__body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 700;
}

body[data-page="product"] .product-detail__body,
body[data-product] .product-detail__body,
body[data-page="product"] .product-detail__subtitle,
body[data-product] .product-detail__subtitle {
  font-size: 0.92rem;
  line-height: 1.35;
}

body[data-page="product"] .product-detail__price,
body[data-product] .product-detail__price {
  font-size: clamp(1.15rem, 1.9vw, 1.9rem);
}

body[data-page="product"] .product-detail__specs li,
body[data-product] .product-detail__specs li {
  font-size: 0.9rem;
  line-height: 1.35;
}

body[data-page="product"] .product-actions-inline,
body[data-product] .product-actions-inline {
  gap: 10px;
}

body[data-page="product"] .product-actions-inline .button,
body[data-product] .product-actions-inline .button {
  min-height: 52px;
  padding: 0 20px;
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
}

.product-detail__specs {
  margin: 0;
  padding-left: 20px;
}

.product-detail__specs li {
  font-size: 0.98rem;
  line-height: 1.5;
  font-weight: 700;
}

.product-detail__subtitle {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.faq-item {
  padding: 24px 28px;
}

.faq-item h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  text-transform: uppercase;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 28px;
  padding-bottom: 56px;
}

.cart-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px;
}

.topbar a:hover,
.catalog-sidebar a:hover,
.site-footer a:hover,
.product-card__title a:hover,
.related-card__title a:hover {
  opacity: 0.72;
}

.button-primary:hover,
.button-secondary:hover,
.search-icon:hover,
.circle-button:hover {
  filter: brightness(0.94);
}

.cart-item__media {
  --cart-media-scale: 0.84;
  aspect-ratio: 1 / 1;
  width: 150px;
  height: 150px;
  padding: 12px;
  justify-self: center;
  overflow: hidden;
  border-radius: 18px;
}

.cart-item__media img {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: calc(100% * var(--cart-media-scale)) !important;
  max-height: calc(100% * var(--cart-media-scale)) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain;
  object-position: center center;
  margin: auto;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
}

.quantity-control button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 900;
}

.quantity-control span {
  min-width: 44px;
  text-align: center;
  font-weight: 800;
}

.summary-row--total {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 62, 126, 0.2);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 28px;
  padding-bottom: 56px;
}

.catalog-sidebar,
.product-card,
.cart-item,
.product-detail,
.product-gallery,
.product-detail__content,
.summary-card,
.checkout-card,
.related-card,
.faq-item,
.empty-state {
  min-width: 0;
}

.product-actions-inline .button,
.catalog-toolbar .button,
.summary-row > * {
  min-width: 0;
}

.product-actions-inline .button {
  flex: 1 1 220px;
}

.field span,
.choice-card label {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field textarea {
  min-height: 56px;
  padding: 14px 16px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  outline: none;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.choice-card {
  position: relative;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
}

.choice-card input {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.choice-card:has(input:checked) {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.7);
}

.empty-state {
  padding: 28px;
}

.hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .searchbar,
  .catalog-layout,
  .product-detail,
  .cart-layout,
  .checkout-layout,
  .popular-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .product-card,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .product-card__actions,
  .cart-item__controls {
    justify-items: start;
  }

  body[data-page="home"] .container {
    width: min(calc(100% - 32px), 1440px);
  }

  body[data-page="home"] .searchbar,
  body[data-page="home"] .popular-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .header-actions {
    justify-content: flex-start;
  }

  body[data-page="home"] .popular-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 5;
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .product-strip__track {
    display: flex;
  }
}

@media (max-width: 900px) {
  .product-strip,
  .related-grid,
  .categories,
  .checkout-grid--double {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 5;
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .product-strip__track {
    display: flex;
  }

  body[data-page="home"] .popular-grid {
    grid-template-columns: minmax(0, 1fr) 190px;
  }

  body[data-page="home"] .popular h2 {
    white-space: nowrap;
  }

  body[data-page="home"] .category-copy span,
  body[data-page="home"] .category-copy strong,
  body[data-page="home"] .category-copy__accent {
    white-space: normal;
  }

  body[data-page="home"] .category-copy span {
    font-size: clamp(1.4rem, 3.6vw, 1.8rem);
  }

  body[data-page="home"] .category-copy strong,
  body[data-page="home"] .category-copy__accent {
    font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  }

  body[data-page="home"] .category-card--mix .category-copy__mix-line strong {
    font-size: clamp(1.35rem, 3.2vw, 1.6rem);
  }
}

@media (max-width: 700px) {
  body {
    font-size: 0.92rem;
  }

  .button {
    min-height: 48px;
    padding: 0 22px;
    font-size: 0.9rem;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .topbar-nav {
    gap: 12px 16px;
    font-size: 0.82rem;
  }

  .brand,
  .search-field,
  .icon-link {
    min-height: 52px;
  }

  body:not([data-page="home"]) .brand {
    min-width: 0;
    padding: 0 16px;
    font-size: clamp(1.5rem, 6.2vw, 2rem);
    line-height: 1;
  }

  body:not([data-page="home"]) .header-actions {
    justify-content: flex-start;
  }

  .icon-link {
    min-width: 68px;
  }

  .search-icon {
    width: 44px;
    height: 44px;
  }

  .product-strip,
  .categories,
  .related-grid,
  .stats,
  .checkout-grid--double {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .topbar {
    font-size: 0.78rem;
  }

  body[data-page="home"] .searchbar {
    gap: 8px;
    border-width: 2px;
    padding-bottom: 8px;
  }

  body[data-page="catalog"] .catalog-section-card {
    padding: 18px 14px;
    min-height: 142px;
    gap: 10px;
  }

  body[data-page="catalog"] .catalog-section-card__title {
    font-family: "Widock Trial", Arial, sans-serif;
    font-size: clamp(1.75rem, 8.2vw, 2.2rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  body[data-page="catalog"] .catalog-section-card__subtitle {
    font-family: "Miratrix", Arial, sans-serif;
    font-size: clamp(1.45rem, 6.4vw, 1.9rem);
    line-height: 1.02;
    letter-spacing: 0;
  }

  body[data-page="home"] .brand,
  body[data-page="home"] .search-field,
  body[data-page="home"] .icon-link {
    min-height: 48px;
  }

  body[data-page="home"] .categories {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page="home"] .popular h2 {
    font-size: clamp(2.5rem, 8.4vw, 3.2rem);
    line-height: 0.95;
    white-space: normal;
  }

  body[data-page="home"] .popular-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 3;
    gap: 8px;
  }

  body[data-page="home"] .product-strip__track {
    display: flex;
    gap: 8px;
  }

  body[data-page="home"] .mini-product {
    min-height: 128px;
    padding: 10px 8px;
  }

  body[data-page="home"] .mini-product img {
    width: 66%;
    height: 66%;
  }

  body[data-page="home"] .mini-product--compact img {
    width: 44%;
    height: 44%;
  }

  body[data-page="home"] .mini-product--mechanical img {
    width: 34%;
    height: 52%;
  }

  body[data-page="home"] .mini-product--coal img {
    width: 38%;
    height: 60%;
  }

  body[data-page="home"] .mini-product--system img {
    width: 56%;
    height: 64%;
  }

  body[data-page="home"] .mini-product--wide img {
    width: 62%;
    height: 60%;
  }

  body[data-page="home"] .popular-copy {
    padding: 0;
  }

  body[data-page="home"] .popular-copy p {
    font-size: 0.86rem;
    line-height: 1.35;
  }

  body[data-page="home"] .popular-copy .button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.78rem;
  }

  body[data-page="home"] .category-card {
    min-height: 232px;
    padding: 12px 10px 8px;
    display: grid;
    grid-template-rows: auto 1fr;
  }

  body[data-page="home"] .category-copy {
    display: grid;
    align-content: start;
    align-items: start;
    gap: 2px;
    margin-bottom: 10px;
  }

  body[data-page="home"] .category-copy span,
  body[data-page="home"] .category-copy strong,
  body[data-page="home"] .category-copy__accent {
    overflow-wrap: normal;
    word-break: normal;
  }

  body[data-page="home"] .category-copy span {
    font-size: clamp(1.02rem, 4vw, 1.28rem);
    letter-spacing: -0.02em;
  }

  body[data-page="home"] .category-copy strong,
  body[data-page="home"] .category-copy__accent {
    font-size: clamp(0.8rem, 3vw, 1rem);
    line-height: 1.05;
  }

  body[data-page="home"] .category-card--mix .category-copy {
    gap: 2px;
  }

  body[data-page="home"] .category-card--mix .category-copy__mix-line {
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
  }

  body[data-page="home"] .category-card--mix .category-copy__mix-line strong {
    font-size: clamp(1.05rem, 3.6vw, 1.4rem);
  }

  body[data-page="home"] .category-card img {
    align-self: end;
    justify-self: center;
    width: 100%;
    height: 126px;
    max-height: 126px;
    object-fit: contain;
    object-position: center bottom;
  }

  body[data-page="home"] .category-card--square-media img,
  body[data-page="home"] .category-card--materials img {
    width: 100%;
    height: 126px;
    max-height: 126px;
    object-fit: contain;
  }

  body[data-page="home"] .category-card--horeca img,
  body[data-page="home"] .category-card--home img,
  body[data-page="home"] .category-card--materials img {
    width: 84%;
  }

  body[data-page="home"] .mix-showcase {
    align-self: end;
    justify-self: center;
    height: 126px;
    padding: 0;
  }

  body[data-page="home"] .category-card--horeca img {
    transform: translate(8px, -6px);
  }

  body[data-page="home"] .category-card--materials img {
    transform: translate(8px, -8px);
  }

  body[data-page="home"] .category-card--home img {
    transform: translate(9px, -5px);
  }

  body[data-page="home"] .category-card--mix .mix-showcase {
    transform: translate(2px, -6px);
  }

  body[data-page="home"] .mix-showcase__item--left {
    width: 28%;
    transform: translateX(10px);
  }

  body[data-page="home"] .mix-showcase__item--center {
    width: 34%;
  }

  body[data-page="home"] .mix-showcase__item--right {
    width: 30%;
    transform: translateX(-10px);
  }

  .container {
    width: min(calc(100% - 24px), 960px);
  }

  .searchbar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .search-field {
    grid-column: 1 / -1;
  }

  .header-actions {
    gap: 8px;
    width: 100%;
    justify-content: flex-start;
  }

  .header-actions::after {
    content: "";
    flex: 1 1 auto;
  }

  body[data-page="product"] .searchbar,
  body[data-product] .searchbar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  body[data-page="product"] .header-actions,
  body[data-product] .header-actions {
    justify-content: flex-start;
    width: 100%;
    margin-right: auto;
  }

  body[data-page="product"] .icon-link,
  body[data-product] .icon-link {
    min-width: 96px;
  }

  .page-hero {
    padding: 18px 0 12px;
  }

  .page-hero__shell {
    gap: 8px;
  }

  body[data-page="product"] .page-hero,
  body[data-product] .page-hero {
    padding: 10px 0 10px;
  }

  body[data-page="product"] .page-hero__shell,
  body[data-product] .page-hero__shell {
    gap: 4px;
    padding: 14px 16px;
  }

  body[data-page="product"] .page-hero__eyebrow,
  body[data-product] .page-hero__eyebrow {
    font-size: 0.82rem;
  }

  .catalog-layout {
    gap: 18px;
    padding-bottom: 32px;
  }

  .catalog-sidebar,
  .summary-card,
  .checkout-card {
    padding: 18px;
  }

  .catalog-toolbar {
    gap: 10px;
  }

  .catalog-toolbar .button-secondary {
    min-height: 46px;
    padding: 0 20px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .product-card {
    padding: 16px;
    gap: 14px;
    border-radius: 14px;
  }

  .product-card__media {
    min-height: 150px;
    padding: 10px;
  }

  .product-card__media img {
    height: 80%;
    max-width: 80%;
  }

  .product-card__title {
    font-size: clamp(1rem, 4vw, 1.3rem);
  }

  .product-card__description {
    font-size: 0.9rem;
  }

  .product-card__price {
    font-size: 1.4rem;
  }

  .product-card__buttons {
    width: 100%;
    justify-content: stretch;
  }

  .product-card__buttons .button {
    flex: 1 1 46%;
    min-height: 44px;
    font-size: 0.8rem;
  }

  .product-detail {
    gap: 16px;
  }

  body[data-page="product"] .product-detail,
  body[data-product] .product-detail {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    align-items: stretch;
  }

  .product-gallery__main {
    min-height: 240px;
    height: clamp(240px, 64vw, 360px);
    padding: 12px;
  }

  body[data-page="product"] .product-gallery,
  body[data-product] .product-gallery {
    min-height: 100%;
    padding: 10px;
  }

  body[data-page="product"] .product-gallery__main,
  body[data-product] .product-gallery__main {
    width: 100%;
    min-height: 0;
    height: 100%;
    padding: 18px 10px;
  }

  body[data-page="product"] .product-gallery__main img,
  body[data-product] .product-gallery__main img {
    max-width: 76%;
    max-height: 72%;
  }

  .product-detail__content {
    padding: 14px;
  }

  body[data-page="product"] .product-detail__content,
  body[data-product] .product-detail__content {
    gap: 8px;
    padding: 12px 12px 14px;
  }

  .product-detail__title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  body[data-page="product"] .product-detail__title,
  body[data-product] .product-detail__title {
    font-size: clamp(0.96rem, 4.7vw, 1.2rem);
    line-height: 0.94;
    letter-spacing: -0.03em;
  }

  body[data-page="product"] .product-detail__subtitle,
  body[data-product] .product-detail__subtitle,
  body[data-page="product"] .product-detail__body,
  body[data-product] .product-detail__body {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .product-detail__price {
    font-size: 1.5rem;
  }

  body[data-page="product"] .product-detail__price,
  body[data-product] .product-detail__price {
    font-size: 0.92rem;
  }

  body[data-page="product"] .product-detail__specs,
  body[data-product] .product-detail__specs {
    gap: 4px;
    padding-left: 16px;
  }

  body[data-page="product"] .product-detail__specs li,
  body[data-product] .product-detail__specs li {
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .product-actions-inline {
    gap: 10px;
  }

  body[data-page="product"] .product-actions-inline,
  body[data-product] .product-actions-inline {
    gap: 8px;
  }

  .product-actions-inline .button {
    flex: 1 1 46%;
    min-height: 44px;
    font-size: 0.85rem;
  }

  body[data-page="product"] .product-actions-inline .button,
  body[data-product] .product-actions-inline .button {
    flex: 1 1 100%;
    min-height: 42px;
    font-size: 0.72rem;
    padding: 0 14px;
  }

  .related-products {
    gap: 12px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="product"] .related-products,
  body[data-product] .related-products {
    gap: 8px;
    padding-bottom: 10px;
  }

  body[data-page="product"] .related-products .section-title,
  body[data-product] .related-products .section-title {
    margin-bottom: 4px;
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  body[data-page="product"] .related-grid,
  body[data-product] .related-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x proximity;
  }

  .related-card {
    padding: 12px;
  }

  body[data-page="product"] .related-card,
  body[data-product] .related-card {
    flex: 0 0 calc((100% - 24px) / 4);
    min-width: calc((100% - 24px) / 4);
    gap: 6px;
    padding: 8px;
    scroll-snap-align: start;
  }

  .related-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  body[data-page="product"] .related-card__media,
  body[data-product] .related-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 6px;
  }

  body[data-page="product"] .related-card__title,
  body[data-product] .related-card__title {
    font-size: 0.58rem;
    line-height: 1.05;
  }

  body[data-page="product"] .related-card .product-card__category,
  body[data-product] .related-card .product-card__category,
  body[data-page="product"] .related-card .summary-row strong,
  body[data-product] .related-card .summary-row strong {
    font-size: 0.5rem;
  }

  .related-card .summary-row {
    gap: 8px;
  }

  body[data-page="product"] .related-card .summary-row,
  body[data-product] .related-card .summary-row {
    gap: 4px;
    flex-direction: column;
    align-items: stretch;
  }

  body[data-page="product"] .related-card .summary-row .button,
  body[data-product] .related-card .summary-row .button {
    width: 100%;
    min-height: 30px;
    padding: 0 8px;
    font-size: 0.5rem;
  }

  .cart-item {
    padding: 16px;
    gap: 12px;
  }

  .cart-item__controls {
    gap: 8px;
  }

  .quantity-control {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 0.88rem;
  }

  .button {
    min-height: 44px;
    padding: 0 18px;
    font-size: 0.85rem;
  }

  .auth-modal__panel {
    padding: 20px 14px 14px;
    border-radius: 16px;
  }

  .auth-modal__title {
    font-size: 1.35rem;
  }

  .auth-form input,
  .auth-form .button,
  .auth-google .button {
    min-height: 44px;
  }

  .topbar-nav {
    flex-wrap: wrap;
  }

  .search-field input {
    font-size: 0.9rem;
  }

  body:not([data-page="home"]) .brand {
    padding: 0 12px;
    font-size: clamp(1.32rem, 5.8vw, 1.68rem);
  }

  body:not([data-page="home"]) .header-actions {
    justify-content: flex-start;
    width: 100%;
  }

  body[data-page="catalog"] .catalog-section-card {
    padding: 10px;
    min-height: 82px;
    gap: 4px;
  }

  body[data-page="catalog"] .catalog-sections {
    gap: 16px;
  }

  body[data-page="catalog"] .catalog-section-card__title {
    font-family: "Neutral Face", Arial, sans-serif;
    font-size: clamp(1.1rem, 6vw, 1.42rem);
    line-height: 0.96;
  }

  body[data-page="catalog"] .catalog-section-card__subtitle {
    font-family: "Neutral Face", Arial, sans-serif;
    font-size: clamp(0.9rem, 4.2vw, 1.04rem);
    line-height: 1.02;
  }

  body[data-page="catalog"] .catalog-grid {
    gap: 4px;
  }

  body[data-page="catalog"] .product-card {
    grid-template-columns: 1fr;
    gap: 2px;
    width: calc(100% - 10px);
    margin-inline: auto;
    padding: 2px;
    border-radius: 12px;
  }

  body[data-page="catalog"] .product-card__media {
    min-height: 42px;
    padding: 0;
  }

  body[data-page="catalog"] .product-card__media img {
    height: 64%;
    max-width: 64%;
  }

  body[data-catalog-category="cartridges-mix"] .product-card__media,
  body[data-catalog-category="cartridges-coal"] .product-card__media {
    min-height: 34px;
  }

  body[data-catalog-category="cartridges-mix"] .product-card__media img,
  body[data-catalog-category="cartridges-coal"] .product-card__media img {
    height: 20%;
    max-width: 20%;
  }

  body[data-catalog-category="mainline"] .product-card__media {
    min-height: 60px;
  }

  body[data-catalog-category="mainline"] .product-card__media img {
    height: 82%;
    max-width: 82%;
  }

  body[data-page="catalog"] .product-card__title {
    font-size: 0.95rem;
  }

  body[data-page="catalog"] .product-card__description {
    font-size: 0.74rem;
  }

  body[data-page="catalog"] .product-card__price {
    font-size: 1rem;
  }

  body[data-page="catalog"] .product-card__content {
    gap: 2px;
  }

  body[data-page="catalog"] .product-card__actions {
    gap: 3px;
  }

  body[data-page="catalog"] .product-card__buttons {
    gap: 3px;
  }

  body[data-page="catalog"] .product-card__buttons .button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.74rem;
  }

  body[data-page="faq"] .hero-banner {
    padding: 20px 0 18px;
    border-radius: 24px;
  }

  body[data-page="faq"] .hero-kicker {
    font-size: 0.82rem;
  }

  body[data-page="faq"] .hero-banner h1 {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    line-height: 1.06;
  }

  body[data-page="catalog"] .catalog-sections {
    gap: 18px;
  }

  body[data-page="catalog"] .catalog-section-card__title {
    font-family: "Neutral Face", Arial, sans-serif;
    font-size: clamp(0.98rem, 5.1vw, 1.16rem);
    line-height: 1;
    letter-spacing: -0.008em;
    white-space: nowrap;
  }

  body[data-page="catalog"] .catalog-section-card__subtitle {
    font-family: "Neutral Face", Arial, sans-serif;
    font-size: clamp(0.8rem, 3.8vw, 0.94rem);
    line-height: 1.03;
  }

  .catalog-toolbar .button-secondary {
    width: 100%;
  }

  .product-card__buttons .button,
  .product-actions-inline .button {
    flex: 1 1 100%;
  }

  .related-card .summary-row {
    flex-direction: column;
    align-items: stretch;
  }

  .related-card .summary-row .button {
    width: 100%;
  }

  .checkout-grid--double {
    grid-template-columns: 1fr;
  }

  body[data-page="product"] .header-actions,
  body[data-product] .header-actions {
    gap: 6px;
  }

  body[data-page="product"] .icon-link,
  body[data-product] .icon-link {
    min-width: 90px;
    padding: 12px 10px;
  }

  body[data-page="product"] .product-detail,
  body[data-product] .product-detail {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 0;
  }

  body[data-page="product"] .product-gallery,
  body[data-product] .product-gallery,
  body[data-page="product"] .product-detail__content,
  body[data-product] .product-detail__content {
    padding: 10px;
  }

  body[data-page="product"] .product-gallery__main,
  body[data-product] .product-gallery__main {
    height: 100%;
    min-height: 100%;
    padding: 16px 8px;
  }

  body[data-page="product"] .product-gallery__main img,
  body[data-product] .product-gallery__main img {
    max-width: 74%;
    max-height: 70%;
  }

  body[data-page="product"] .product-detail__title,
  body[data-product] .product-detail__title {
    font-size: clamp(0.88rem, 4.5vw, 1.08rem);
  }

  body[data-page="product"] .product-detail__subtitle,
  body[data-product] .product-detail__subtitle,
  body[data-page="product"] .product-detail__body,
  body[data-product] .product-detail__body,
  body[data-page="product"] .product-detail__specs li,
  body[data-product] .product-detail__specs li {
    font-size: 0.68rem;
  }

  body[data-page="product"] .product-detail__price,
  body[data-product] .product-detail__price {
    font-size: 0.86rem;
  }

  body[data-page="product"] .product-actions-inline .button,
  body[data-product] .product-actions-inline .button {
    min-height: 38px;
    font-size: 0.66rem;
  }

  body[data-page="product"] .related-card,
  body[data-product] .related-card {
    flex-basis: calc((100% - 18px) / 4);
    min-width: calc((100% - 18px) / 4);
    padding: 7px;
  }

  body[data-page="product"] .related-card__media,
  body[data-product] .related-card__media {
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
  }

  body[data-page="home"] .popular-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 2.4;
    gap: 6px;
  }

  body[data-page="home"] .product-strip__track {
    gap: 6px;
  }

  body[data-page="home"] .mini-product {
    min-height: 118px;
    padding: 10px 6px;
  }

  body[data-page="home"] .popular-copy p {
    font-size: 0.8rem;
  }

  body[data-page="home"] .popular-copy .button {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.74rem;
  }

  body[data-page="home"] .category-card {
    min-height: 214px;
    padding: 10px 8px 6px;
  }

  body[data-page="home"] .category-copy span {
    font-size: clamp(0.95rem, 4.2vw, 1.14rem);
  }

  body[data-page="home"] .category-copy strong,
  body[data-page="home"] .category-copy__accent {
    font-size: clamp(0.74rem, 3.2vw, 0.92rem);
  }

  body[data-page="home"] .category-card--mix .category-copy__mix-line strong {
    font-size: clamp(0.98rem, 3.8vw, 1.25rem);
  }

  body[data-page="home"] .category-card img {
    height: 112px;
    max-height: 112px;
  }

  body[data-page="home"] .category-card--square-media img,
  body[data-page="home"] .category-card--materials img {
    height: 112px;
    max-height: 112px;
  }

  body[data-page="home"] .category-card--horeca img {
    transform: translate(7px, -4px);
  }

  body[data-page="home"] .category-card--materials img {
    transform: translate(7px, -6px);
  }

  body[data-page="home"] .category-card--home img {
    transform: translate(8px, -4px);
  }

  body[data-page="home"] .category-card--mix .mix-showcase {
    transform: translate(2px, -5px);
  }
}

/* Compact adaptive pass: preserve current visual language, reduce scale, improve mobile layout */
:root {
  --shadow: 0 20px 48px rgba(0, 41, 84, 0.1);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1400px;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-size: 15px;
}

.container {
  width: min(calc(100% - 32px), var(--container));
}

body[data-page="home"] .container {
  width: min(calc(100% - 72px), 1220px);
}

.site-header {
  padding-top: 14px;
}

.topbar {
  gap: 18px;
  margin-bottom: 10px;
  font-size: 0.74rem;
}

.topbar-nav {
  gap: 20px;
}

.searchbar {
  grid-template-columns: minmax(220px, 430px) minmax(280px, 1fr) auto;
  gap: 12px;
}

.brand {
  min-height: 74px;
  padding: 0 24px;
  font-size: clamp(1.5rem, 1.75vw, 2.1rem);
}

.search-field {
  min-height: 74px;
}

.search-field input {
  padding: 0 24px;
  font-size: clamp(0.98rem, 1.15vw, 1.18rem);
}

.search-icon {
  width: 62px;
  height: 62px;
  margin-right: 6px;
  border-radius: 20px;
}

.search-icon svg {
  width: 28px;
  height: 28px;
}

.header-actions {
  gap: 12px;
}

.icon-link {
  min-width: 92px;
  min-height: 74px;
  padding: 12px 14px;
}

.icon-link--with-label {
  font-size: 0.72rem;
}

.icon-link__icon {
  width: 28px;
  height: 28px;
}

.cart-badge {
  min-width: 18px;
  padding: 1px 4px;
  font-size: 0.52rem;
}

.hero-banner {
  margin-top: 22px;
  border-radius: 30px;
  padding: 44px 0 34px;
}

.hero-kicker,
.page-hero__eyebrow {
  margin-bottom: 8px;
  font-size: clamp(0.92rem, 1.45vw, 1.6rem);
}

.hero h1,
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6.3rem);
}

.hero-content {
  padding-top: 16px;
}

.button {
  min-height: 54px;
  padding: 0 28px;
  font-size: clamp(0.92rem, 1.1vw, 1.18rem);
}

.popular {
  padding-top: 28px;
}

.popular h2,
.section-title {
  margin-bottom: 14px;
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
}

.popular-grid {
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 14px;
}

.product-strip {
  --mini-gap: 10px;
}

.mini-product {
  min-height: 198px;
  padding: 14px 10px;
}

.popular-copy,
.page-hero__shell,
.catalog-sidebar,
.summary-card,
.checkout-card,
.cart-item,
.faq-item,
.empty-state,
.product-card,
.product-gallery,
.product-detail__content {
  gap: 12px;
}

.popular-copy {
  padding: 18px;
}

.popular-copy p,
.about p,
.page-hero__description,
.faq-item p {
  font-size: 0.92rem;
  line-height: 1.48;
}

.categories {
  gap: 14px;
  padding-top: 32px;
}

.category-card {
  min-height: 320px;
  padding: 14px 14px 16px;
}

.category-copy span {
  font-size: clamp(1.7rem, 2.25vw, 2.6rem);
}

.category-copy strong,
.category-copy__accent {
  font-size: clamp(1.28rem, 1.45vw, 1.7rem);
}

.category-card--mix .category-copy__mix-line strong {
  font-size: clamp(1.3rem, 1.7vw, 1.86rem);
}

.category-card img,
.category-card--square-media img,
.category-card--horeca img,
.category-card--materials img,
.category-card--home img {
  height: 200px;
  max-height: 200px;
}

.mix-showcase {
  height: 200px;
}

.video-section {
  padding-top: 38px;
}

.video-card {
  width: min(100%, 1160px);
  border-radius: 28px;
}

.play-icon {
  border-top-width: 22px;
  border-bottom-width: 22px;
  border-left-width: 34px;
}

.video-card__label {
  bottom: 18px;
  left: 22px;
  font-size: 0.9rem;
}

.stats {
  gap: 16px;
  padding-top: 18px;
}

.stats article {
  padding: 18px 20px;
}

.stats strong {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}

.stats span {
  font-size: clamp(0.88rem, 1vw, 1.2rem);
}

.about {
  padding-top: 18px;
  padding-bottom: 38px;
}

.about p {
  padding: 20px 22px;
}

.site-footer {
  padding: 42px 0 22px;
}

.footer-grid {
  gap: 22px;
}

.site-footer h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.45vw, 1.7rem);
}

.footer-brand {
  gap: 8px;
  padding-top: 34px;
}

.footer-brand strong {
  font-size: clamp(1.7rem, 2.2vw, 2.35rem);
}

body[data-page="home"] .topbar {
  margin-bottom: 8px;
  font-size: 0.82rem;
}

body[data-page="home"] .searchbar {
  grid-template-columns: minmax(220px, 420px) minmax(240px, 1fr) auto;
  padding: 0 14px 0 0;
}

body[data-page="home"] .brand {
  min-height: 72px;
  padding: 0 22px;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

body[data-page="home"] .search-field {
  min-height: 72px;
}

body[data-page="home"] .icon-link {
  min-height: 72px;
}

body[data-page="home"] .hero {
  padding-top: 20px;
}

body[data-page="home"] .hero-banner {
  padding: 24px 0 24px;
}

body[data-page="home"] .hero-kicker {
  font-size: clamp(1.2rem, 1.55vw, 1.55rem);
}

body[data-page="home"] .hero h1 {
  font-size: clamp(4rem, 5.8vw, 6rem);
}

body[data-page="home"] .hero-content {
  padding-top: 12px;
}

body[data-page="home"] .button {
  min-height: 50px;
  padding: 0 30px;
  font-size: clamp(0.96rem, 1.15vw, 1.2rem);
}

body[data-page="home"] .popular h2 {
  font-size: clamp(4rem, 5.8vw, 5.4rem);
}

body[data-page="home"] .popular-grid {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 12px;
}

body[data-page="home"] .mini-product {
  min-height: 132px;
}

body[data-page="home"] .popular-copy p {
  font-size: 0.68rem;
}

body[data-page="home"] .categories {
  padding-top: 22px;
}

body[data-page="home"] .category-card {
  min-height: 252px;
  padding: 10px;
}

body[data-page="home"] .category-copy span {
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
}

body[data-page="home"] .category-copy strong,
body[data-page="home"] .category-copy__accent {
  font-size: clamp(1.22rem, 1.35vw, 1.54rem);
}

body[data-page="home"] .category-card--mix .category-copy__mix-line strong {
  font-size: clamp(1.32rem, 1.6vw, 1.7rem);
}

body[data-page="home"] .category-card img {
  height: 154px;
  max-height: 154px;
}

body[data-page="home"] .category-card--square-media img,
body[data-page="home"] .category-card--materials img {
  height: 140px;
  max-height: 140px;
}

body[data-page="home"] .mix-showcase {
  height: 154px;
}

body[data-page="home"] .video-section {
  padding-top: 32px;
}

body[data-page="home"] .video-card {
  width: min(100%, 1060px);
}

body[data-page="home"] .play-icon {
  border-top-width: 22px;
  border-bottom-width: 22px;
  border-left-width: 34px;
}

body[data-page="home"] .stats {
  padding-top: 14px;
}

body[data-page="home"] .stats strong {
  font-size: clamp(2.5rem, 3.4vw, 3.2rem);
}

body[data-page="home"] .stats span {
  font-size: 0.72rem;
}

body[data-page="home"] .about {
  padding-bottom: 18px;
}

body[data-page="home"] .about p {
  font-size: 0.58rem;
}

.page-hero {
  padding: 28px 0 20px;
}

body[data-page="catalog"] .page-hero h1 {
  font-size: clamp(1.7rem, 3.6vw, 3.2rem);
}

.catalog-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 40px;
}

.catalog-sidebar,
.summary-card,
.checkout-card {
  padding: 22px;
}

.catalog-sidebar h2,
.summary-card h2,
.checkout-card h2 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}

.catalog-toolbar .button-secondary {
  min-height: 46px;
  padding: 0 22px;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.product-card {
  grid-template-columns: 210px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px;
}

.product-card__media {
  min-height: 168px;
  padding: 14px;
}

.product-card__title,
.cart-item__title,
.related-card__title {
  font-size: clamp(1.02rem, 1.24vw, 1.36rem);
}

.product-card__description,
.cart-item__description,
.choice-card p {
  font-size: 0.9rem;
}

.product-card__price,
.summary-row strong,
.product-detail__price {
  font-size: 1.46rem;
}

.product-detail {
  grid-template-columns: minmax(280px, 760px) minmax(280px, 720px);
  gap: 22px;
  padding-bottom: 40px;
}

body[data-page="product"] .product-detail,
body[data-product] .product-detail {
  grid-template-columns: minmax(260px, 430px) minmax(280px, 480px);
  gap: 14px;
  padding-bottom: 22px;
}

.product-gallery {
  padding: 20px;
}

body[data-page="product"] .product-gallery,
body[data-product] .product-gallery {
  padding: 12px;
}

body[data-page="product"] .product-gallery__main,
body[data-product] .product-gallery__main {
  min-height: 280px;
  height: clamp(280px, 30vw, 420px);
  max-height: 420px;
  padding: 14px;
}

.product-detail__content {
  padding: 20px;
}

body[data-page="product"] .product-detail__content,
body[data-product] .product-detail__content {
  padding: 14px 16px;
}

.product-detail__title {
  font-size: clamp(1.6rem, 3.8vw, 3.4rem);
}

body[data-page="product"] .product-detail__title,
body[data-product] .product-detail__title {
  font-size: clamp(1.55rem, 2.4vw, 2.5rem);
}

.product-detail__body,
.product-detail__subtitle,
.product-detail__specs li {
  font-size: 0.92rem;
}

body[data-page="product"] .product-detail__body,
body[data-product] .product-detail__body,
body[data-page="product"] .product-detail__subtitle,
body[data-product] .product-detail__subtitle,
body[data-page="product"] .product-detail__specs li,
body[data-product] .product-detail__specs li {
  font-size: 0.84rem;
}

body[data-page="product"] .product-detail__price,
body[data-product] .product-detail__price {
  font-size: clamp(1rem, 1.5vw, 1.45rem);
}

body[data-page="product"] .product-actions-inline .button,
body[data-product] .product-actions-inline .button {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.84rem;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 22px;
  padding-bottom: 40px;
}

.cart-item {
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 18px;
  padding: 16px;
}

.checkout-layout {
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 22px;
  padding-bottom: 40px;
}

.field input,
.field textarea {
  min-height: 50px;
  padding: 12px 14px;
}

.field textarea {
  min-height: 112px;
}

.choice-card {
  padding: 16px 18px;
}

@media (max-width: 1180px) {
  .container {
    width: min(calc(100% - 28px), 1120px);
  }

  body[data-page="home"] .container {
    width: min(calc(100% - 40px), 1120px);
  }

  .searchbar {
    grid-template-columns: minmax(200px, 300px) minmax(220px, 1fr) auto;
  }

  body[data-page="home"] .searchbar {
    grid-template-columns: minmax(200px, 300px) minmax(220px, 1fr) auto;
  }

  .popular-grid,
  body[data-page="home"] .popular-grid {
    grid-template-columns: 1fr 220px;
  }

  .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card {
    min-height: 280px;
  }

  .catalog-layout,
  .cart-layout,
  .checkout-layout,
  .product-detail,
  body[data-page="product"] .product-detail,
  body[data-product] .product-detail {
    grid-template-columns: 1fr;
  }

  .summary-card {
    order: -1;
  }
}

@media (max-width: 780px) {
  body {
    font-size: 0.92rem;
  }

  .container,
  body[data-page="home"] .container {
    width: min(calc(100% - 24px), 900px);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.72rem;
  }

  .topbar-nav {
    gap: 10px 14px;
  }

  .searchbar,
  body[data-page="home"] .searchbar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .brand,
  .search-field,
  .icon-link,
  body[data-page="home"] .brand,
  body[data-page="home"] .search-field,
  body[data-page="home"] .icon-link {
    min-height: 52px;
  }

  .brand,
  body[data-page="home"] .brand {
    min-width: 0;
    padding: 0 16px;
    font-size: clamp(1.2rem, 5.8vw, 1.72rem);
  }

  .search-field,
  body[data-page="home"] .search-field {
    grid-column: 1 / -1;
  }

  .search-field input,
  body[data-page="home"] .search-field input {
    padding: 0 16px;
    font-size: 0.9rem;
  }

  .search-icon {
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
  }

  body[data-page="catalog"] .catalog-layout {
    gap: 10px;
  }

  body[data-page="catalog"] .catalog-sidebar,
  body[data-page="catalog"] .catalog-toolbar,
  body[data-page="catalog"] .catalog-grid {
    gap: 10px;
  }

  body[data-page="catalog"] .catalog-sidebar {
    padding: 12px;
  }

  body[data-page="catalog"] .catalog-sidebar h2 {
    margin-bottom: 8px;
    font-size: 1rem;
  }

  body[data-page="catalog"] .catalog-sidebar ul {
    gap: 6px;
  }

  body[data-page="catalog"] .catalog-sidebar a {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 0.8rem;
    white-space: nowrap;
  }

  body[data-page="catalog"] .catalog-toolbar {
    gap: 8px;
  }

  body[data-page="catalog"] .catalog-toolbar .button-secondary {
    min-height: 40px;
    padding: 0 12px;
    margin-bottom: 0;
  }

  body[data-page="catalog"] .catalog-result {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  body[data-page="catalog"] .product-card {
    grid-template-columns: 1fr;
    gap: 2px;
    width: min(calc(100% - 8px), 280px);
    justify-self: center;
    margin-inline: auto;
    padding: 2px;
    border-radius: 10px;
  }

  body[data-page="catalog"] .product-card__media {
    min-height: 104px;
    padding: 4px 0 0;
  }

  body[data-page="catalog"] .product-card__media img {
    width: auto;
    height: 68px;
    max-width: 68px;
  }

  body[data-catalog-category="cartridges-mix"] .product-card__media,
  body[data-catalog-category="cartridges-coal"] .product-card__media {
    min-height: 104px;
  }

  body[data-catalog-category="cartridges-mix"] .product-card__media img,
  body[data-catalog-category="cartridges-coal"] .product-card__media img {
    height: 50px;
    max-width: 50px;
  }

  body[data-catalog-category="mainline"] .product-card__media {
    min-height: 112px;
  }

  body[data-catalog-category="mainline"] .product-card__media img {
    height: 72px;
    max-width: 72px;
  }

  body[data-page="catalog"] .product-card__content {
    gap: 2px;
    min-height: 104px;
    padding: 8px 10px 4px;
  }

  body[data-page="catalog"] .product-card__category {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  body[data-page="catalog"] .product-card__title {
    font-size: clamp(0.92rem, 4vw, 1.02rem);
    line-height: 1.06;
  }

  body[data-page="catalog"] .product-card__description {
    font-size: 0.76rem;
    line-height: 1.16;
  }

  body[data-page="catalog"] .product-card__price {
    font-size: 0.98rem;
  }

  body[data-page="catalog"] .product-card__actions {
    gap: 4px;
    padding: 0 10px 10px;
  }

  body[data-page="catalog"] .product-card__buttons {
    gap: 4px;
  }

  body[data-page="catalog"] .product-card__buttons .button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.72rem;
  }

  .icon-link,
  body[data-page="home"] .icon-link {
    min-width: 72px;
    padding: 10px 12px;
  }

  .button,
  body[data-page="home"] .button {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.82rem;
  }

  .hero-banner,
  body[data-page="home"] .hero-banner {
    margin-top: 14px;
    padding: 20px 0 18px;
    border-radius: 24px;
  }

  .hero h1,
  .page-hero h1,
  body[data-page="home"] .hero h1,
  .popular h2,
  .section-title,
  body[data-page="home"] .popular h2 {
    font-size: clamp(2rem, 8.4vw, 3.2rem);
    line-height: 0.95;
  }

  .popular,
  body[data-page="home"] .popular {
    padding-top: 16px;
  }

  .popular-grid,
  body[data-page="home"] .popular-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .product-strip,
  body[data-page="home"] .product-strip {
    --mini-visible-count: 3;
    --mini-gap: 8px;
  }

  .mini-product,
  body[data-page="home"] .mini-product {
    min-height: 118px;
    padding: 10px 8px;
  }

  .popular-copy,
  body[data-page="home"] .popular-copy {
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .popular-copy p,
  body[data-page="home"] .popular-copy p {
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .categories,
  body[data-page="home"] .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding-top: 18px;
  }

  .category-card,
  body[data-page="home"] .category-card {
    min-height: 220px;
    padding: 10px 8px 8px;
  }

  .category-copy span,
  body[data-page="home"] .category-copy span {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .category-copy strong,
  .category-copy__accent,
  body[data-page="home"] .category-copy strong,
  body[data-page="home"] .category-copy__accent {
    font-size: clamp(0.78rem, 3vw, 0.96rem);
    line-height: 1.04;
  }

  .category-card--mix .category-copy__mix-line strong,
  body[data-page="home"] .category-card--mix .category-copy__mix-line strong {
    font-size: clamp(0.96rem, 3.6vw, 1.2rem);
  }

  .category-card img,
  .category-card--square-media img,
  .category-card--materials img,
  .category-card--horeca img,
  .category-card--home img,
  body[data-page="home"] .category-card img,
  body[data-page="home"] .category-card--square-media img,
  body[data-page="home"] .category-card--materials img,
  body[data-page="home"] .category-card--horeca img,
  body[data-page="home"] .category-card--home img {
    height: 118px;
    max-height: 118px;
  }

  .mix-showcase,
  body[data-page="home"] .mix-showcase {
    height: 118px;
  }

  .video-section,
  body[data-page="home"] .video-section {
    padding-top: 24px;
  }

  .video-card,
  body[data-page="home"] .video-card {
    border-radius: 18px;
  }

  .stats,
  body[data-page="home"] .stats {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 14px;
  }

  .stats article,
  body[data-page="home"] .stats article {
    padding: 10px 0;
  }

  .about,
  body[data-page="home"] .about {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .about p,
  body[data-page="home"] .about p {
    padding: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .page-hero {
    padding: 14px 0 10px;
  }

  .page-hero__shell {
    gap: 8px;
    padding: 16px;
  }

  .catalog-sidebar,
  .summary-card,
  .checkout-card,
  .product-gallery,
  .product-detail__content,
  .cart-item,
  .faq-item,
  .empty-state {
    padding: 16px;
  }

  .catalog-toolbar .button-secondary {
    width: 100%;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 2px;
    width: min(calc(100% - 8px), 280px);
    margin-inline: auto;
    padding: 2px;
  }

  .product-card__media {
    min-height: 104px;
  }

  .product-card__buttons,
  .product-actions-inline {
    width: 100%;
  }

  .product-card__buttons .button,
  .product-actions-inline .button {
    flex: 1 1 100%;
  }

  .product-gallery__main {
    min-height: 220px;
    height: clamp(220px, 66vw, 320px);
  }

  body[data-page="product"] .product-gallery__main,
  body[data-product] .product-gallery__main {
    min-height: 220px;
    height: clamp(220px, 66vw, 320px);
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="product"] .related-grid,
  body[data-product] .related-grid {
    display: grid;
    overflow: visible;
    padding-bottom: 0;
  }

  body[data-page="product"] .related-card,
  body[data-product] .related-card {
    min-width: 0;
    flex: initial;
    padding: 8px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .quantity-control {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 520px) {
  .container,
  body[data-page="home"] .container {
    width: min(calc(100% - 20px), 100%);
  }

  .topbar-nav {
    gap: 8px 12px;
    font-size: 0.74rem;
  }

  .brand,
  body[data-page="home"] .brand {
    padding: 0 12px;
    font-size: clamp(1.06rem, 5.2vw, 1.42rem);
  }

  .header-actions::after {
    content: "";
    flex: 1 1 auto;
  }

  .button,
  body[data-page="home"] .button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.76rem;
  }

  .hero-banner,
  body[data-page="home"] .hero-banner,
  body[data-page="faq"] .hero-banner {
    border-radius: 18px;
    padding: 18px 0 16px;
  }

  .categories,
  body[data-page="home"] .categories,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  body[data-page="home"] .category-card {
    min-height: 208px;
  }

  .category-card img,
  .category-card--square-media img,
  .category-card--materials img,
  .category-card--horeca img,
  .category-card--home img,
  body[data-page="home"] .category-card img,
  body[data-page="home"] .category-card--square-media img,
  body[data-page="home"] .category-card--materials img,
  body[data-page="home"] .category-card--horeca img,
  body[data-page="home"] .category-card--home img {
    height: 108px;
    max-height: 108px;
  }

  .mix-showcase,
  body[data-page="home"] .mix-showcase {
    height: 108px;
  }

  .page-hero__description,
  .popular-copy p,
  .about p,
  .faq-item p {
    font-size: 0.8rem;
  }

  body[data-page="product"] .product-detail__title,
  body[data-product] .product-detail__title {
    font-size: clamp(1rem, 5vw, 1.16rem);
  }

  body[data-page="product"] .product-detail__subtitle,
  body[data-product] .product-detail__subtitle,
  body[data-page="product"] .product-detail__body,
  body[data-product] .product-detail__body,
  body[data-page="product"] .product-detail__specs li,
  body[data-product] .product-detail__specs li {
    font-size: 0.76rem;
    line-height: 1.24;
  }

  body[data-page="product"] .product-detail__price,
  body[data-product] .product-detail__price {
    font-size: 0.94rem;
  }
}

/* Mobile golden-ratio alignment pass: keep style, improve proportion and stacking */
@media (max-width: 780px) {
  body[data-page="home"] .hero {
    padding-top: 12px;
  }

  body[data-page="home"] .hero-banner {
    padding: 18px 0 16px;
  }

  body[data-page="home"] .hero-content {
    padding-top: 10px;
  }

  body[data-page="home"] .hero-content .button {
    width: fit-content;
    min-width: min(100%, 13rem);
  }

  body[data-page="home"] .popular {
    padding-top: 14px;
  }

  body[data-page="home"] .popular-grid {
    gap: 8px;
  }

  body[data-page="home"] .popular-copy {
    width: min(100%, 61.8%);
    justify-self: end;
  }

  body[data-page="home"] .categories {
    gap: 8px;
    align-items: stretch;
  }

  body[data-page="home"] .category-card {
    padding: 9px 8px 7px;
  }

  body[data-page="home"] .category-copy {
    gap: 1px;
    margin-bottom: 8px;
  }

  body[data-page="home"] .video-section {
    padding-top: 21px;
  }

  body[data-page="home"] .stats {
    gap: 8px;
  }

  body[data-page="home"] .about {
    padding-top: 8px;
    padding-bottom: 18px;
  }

  .page-hero {
    padding: 13px 0 8px;
  }

  .catalog-layout,
  .cart-layout,
  .checkout-layout {
    gap: 13px;
    padding-bottom: 24px;
  }

  .catalog-sidebar,
  .summary-card,
  .checkout-card,
  .product-gallery,
  .product-detail__content,
  .cart-item,
  .faq-item,
  .empty-state {
    padding: 14px;
  }
}

@media (min-width: 390px) and (max-width: 520px) {
  body[data-page="home"] .categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page="home"] .categories > :nth-child(1),
  body[data-page="home"] .categories > :nth-child(4) {
    grid-column: 1 / -1;
  }

  body[data-page="home"] .categories > :nth-child(2),
  body[data-page="home"] .categories > :nth-child(3) {
    grid-column: span 1;
  }

  body[data-page="home"] .category-card {
    min-height: 198px;
  }

  body[data-page="home"] .category-card img,
  body[data-page="home"] .category-card--square-media img,
  body[data-page="home"] .category-card--materials img,
  body[data-page="home"] .category-card--horeca img,
  body[data-page="home"] .category-card--home img {
    height: 104px;
    max-height: 104px;
  }

  body[data-page="home"] .mix-showcase {
    height: 104px;
  }

  body[data-page="home"] .popular-copy {
    width: min(100%, 72%);
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 389px) {
  body[data-page="home"] .popular-copy {
    width: 100%;
  }

  body[data-page="home"] .categories {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .category-card {
    min-height: 196px;
  }
}

/* Refined mobile golden grid pass */
@media (max-width: 780px) {
  body[data-page="home"] main {
    display: grid;
    gap: 0;
  }

  body[data-page="home"] .hero .container,
  body[data-page="home"] .popular.container,
  body[data-page="home"] .categories.container,
  body[data-page="home"] .video-section.container,
  body[data-page="home"] .stats.container,
  body[data-page="home"] .about.container {
    width: min(calc(100% - 24px), 38rem);
  }

  body[data-page="home"] .hero-banner .container,
  body[data-page="home"] .hero-content {
    width: min(100%, 38rem);
  }

  body[data-page="home"] .hero-banner .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page="home"] .hero-kicker {
    max-width: 61.8%;
    margin-bottom: 6px;
  }

  body[data-page="home"] .hero h1 {
    max-width: 88%;
  }

  body[data-page="home"] .hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }

  body[data-page="home"] .hero-content .button {
    min-width: clamp(10.5rem, 61.8%, 13.5rem);
  }

  body[data-page="home"] .popular {
    display: grid;
    gap: 8px;
  }

  body[data-page="home"] .popular h2 {
    max-width: 88%;
    margin-bottom: 6px;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 2.18;
  }

  body[data-page="home"] .popular-copy {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    justify-self: start;
    display: grid;
    gap: 8px;
  }

  body[data-page="home"] .popular-copy .button {
    width: fit-content;
    min-width: 11rem;
  }

  body[data-page="home"] .categories {
    grid-auto-rows: 1fr;
    justify-items: stretch;
  }

  body[data-page="home"] .category-card {
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: stretch;
  }

  body[data-page="home"] .category-copy {
    align-self: start;
    max-width: 92%;
  }

  body[data-page="home"] .category-card img,
  body[data-page="home"] .mix-showcase {
    align-self: end;
    justify-self: center;
  }

  body[data-page="home"] .stats {
    width: 100%;
  }

  body[data-page="home"] .stats article:nth-child(2) {
    width: 100%;
  }

  body[data-page="home"] .about p {
    max-width: 100%;
  }
}

@media (min-width: 390px) and (max-width: 520px) {
  body[data-page="home"] .hero h1,
  body[data-page="home"] .popular h2 {
    max-width: 100%;
  }

  body[data-page="home"] .popular-grid {
    gap: 8px;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 2.08;
  }

  body[data-page="home"] .popular-copy {
    width: 100%;
  }

  body[data-page="home"] .categories {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
  }

  body[data-page="home"] .categories > :nth-child(1) {
    order: 1;
  }

  body[data-page="home"] .categories > :nth-child(4) {
    order: 2;
  }

  body[data-page="home"] .categories > :nth-child(2) {
    order: 3;
  }

  body[data-page="home"] .categories > :nth-child(3) {
    order: 4;
  }

  body[data-page="home"] .categories > :nth-child(1),
  body[data-page="home"] .categories > :nth-child(2),
  body[data-page="home"] .categories > :nth-child(3),
  body[data-page="home"] .categories > :nth-child(4) {
    min-height: 186px;
  }

  body[data-page="home"] .category-copy {
    max-width: 100%;
  }

  body[data-page="home"] .stats {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }

  body[data-page="home"] .stats article:nth-child(1) {
    grid-column: 1 / -1;
  }

  body[data-page="home"] .stats article:nth-child(2),
  body[data-page="home"] .stats article:nth-child(3) {
    width: 100%;
  }

  body[data-page="home"] .about p {
    max-width: 100%;
  }
}

@media (max-width: 389px) {
  body[data-page="home"] .hero-kicker,
  body[data-page="home"] .hero h1,
  body[data-page="home"] .popular h2,
  body[data-page="home"] .category-copy,
  body[data-page="home"] .about p {
    max-width: 100%;
  }

  body[data-page="home"] .popular-copy,
  body[data-page="home"] .stats {
    width: 100%;
    min-width: 0;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: 2;
  }
}

/* Home hero selector CTA */
body[data-page="home"] .hero-banner .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 430px);
  align-items: center;
  gap: 28px;
}

body[data-page="home"] .hero-banner__copy {
  max-width: 680px;
}

.hero-selector-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(214, 238, 255, 0.5);
  color: #f1f8ff;
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.22), transparent 48%),
    linear-gradient(125deg, rgba(12, 72, 140, 0.86), rgba(8, 50, 96, 0.96));
  box-shadow: 0 24px 42px rgba(0, 29, 62, 0.35);
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-selector-cta::before,
.hero-selector-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-selector-cta::before {
  background:
    linear-gradient(90deg, transparent 61.8%, rgba(255, 255, 255, 0.16) 61.8%, transparent 62.2%),
    linear-gradient(180deg, transparent 38.2%, rgba(255, 255, 255, 0.14) 38.2%, transparent 38.6%),
    linear-gradient(132deg, transparent 44%, rgba(255, 255, 255, 0.18) 49%, transparent 54%);
  opacity: 0.66;
}

.hero-selector-cta::after {
  width: 160%;
  height: 3px;
  top: 12%;
  left: -26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
  transform: rotate(-15deg);
  animation: selectorSweep 3.6s linear infinite;
}

.hero-selector-cta:hover,
.hero-selector-cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 32px 54px rgba(0, 28, 60, 0.42);
}

.hero-selector-cta__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-selector-cta strong {
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.hero-selector-cta em {
  font-style: normal;
  font-family: "Neutral Face", Arial, sans-serif;
  font-size: 0.72rem;
  line-height: 1.35;
  opacity: 0.88;
}

@keyframes selectorSweep {
  from {
    transform: translate(-50%, -30px) rotate(-15deg);
  }
  to {
    transform: translate(50%, 100px) rotate(-15deg);
  }
}

/* Filter builder page */
body[data-page="filter-builder"] {
  background:
    radial-gradient(circle at 7% 6%, rgba(231, 245, 255, 0.92), transparent 34%),
    radial-gradient(circle at 92% 22%, rgba(206, 226, 246, 0.82), transparent 44%),
    linear-gradient(180deg, #ecf4f7 0%, #d7e0e3 100%);
}

body[data-page="filter-builder"] .container {
  width: min(calc(100% - 92px), 1440px);
}

.builder-hero {
  position: relative;
  margin-top: 24px;
  margin-bottom: 22px;
  padding: clamp(30px, 4vw, 54px);
  border-radius: 24px;
  background: linear-gradient(120deg, #003f80 0%, #0755a6 100%);
  color: #f3f9ff;
  overflow: hidden;
}

.builder-hero__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 61.8%, rgba(255, 255, 255, 0.22) 61.8%, transparent 62.2%),
    linear-gradient(180deg, transparent 38.2%, rgba(255, 255, 255, 0.2) 38.2%, transparent 38.6%),
    linear-gradient(126deg, transparent 45%, rgba(255, 255, 255, 0.16) 50%, transparent 55%),
    linear-gradient(45deg, transparent 44%, rgba(255, 255, 255, 0.08) 50%, transparent 56%);
  opacity: 0.76;
  pointer-events: none;
}

.builder-hero__eyebrow {
  position: relative;
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.builder-hero h1 {
  position: relative;
  margin: 0 0 16px;
  max-width: min(100%, 760px);
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.builder-hero__lead {
  position: relative;
  margin: 0;
  max-width: min(100%, 820px);
  font-size: clamp(0.92rem, 1.25vw, 1.2rem);
  line-height: 1.45;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 16px;
  align-items: start;
}

.builder-panel,
.builder-preview {
  border-radius: 24px;
  border: 1px solid rgba(0, 62, 126, 0.14);
  background: linear-gradient(180deg, rgba(234, 245, 255, 0.95) 0%, rgba(202, 224, 245, 0.93) 100%);
  box-shadow: 0 24px 48px rgba(0, 40, 84, 0.12);
}

.builder-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px;
}

.builder-panel h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.56rem);
  text-transform: uppercase;
}

.builder-panel__groups {
  display: grid;
  gap: 16px;
}

.builder-group + .builder-group {
  margin-top: 0;
}

.builder-group h3 {
  margin: 0 0 10px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.builder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-option {
  padding: 10px 14px;
  border: 1px solid rgba(0, 62, 126, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  transition: transform 170ms ease, background 170ms ease, color 170ms ease, box-shadow 170ms ease;
}

.builder-option:hover,
.builder-option:focus-visible {
  transform: translateY(-1px);
  background: rgba(231, 244, 255, 0.95);
}

.builder-option.is-active {
  color: var(--text-light);
  background: linear-gradient(120deg, #024386, #0a5ab0);
  box-shadow: 0 12px 22px rgba(0, 39, 81, 0.24);
}

.builder-preview {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.builder-preview__label {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.builder-preview h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.4vw, 2.3rem);
  line-height: 0.96;
}

.builder-preview p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.42;
}

.builder-preview__body {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-top: 6px;
  padding: 16px 12px;
  border-radius: 18px;
  border: 1px solid rgba(0, 62, 126, 0.12);
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.builder-preview__body img {
  display: block;
  width: min(100%, 320px);
  max-height: 320px;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.builder-preview__body img.is-swapping {
  opacity: 0.12;
}

.builder-preview__block {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 62, 126, 0.12);
  background: rgba(255, 255, 255, 0.48);
}

.builder-preview__section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.builder-preview__section-head h3 {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-preview__section-head span {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.7);
}

.builder-includes {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.builder-includes li {
  display: grid;
  grid-template-columns: minmax(118px, 132px) minmax(0, 1fr);
  align-items: flex-start;
  column-gap: 16px;
  row-gap: 6px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 62, 126, 0.08);
}

.builder-includes li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.builder-includes span,
.builder-includes__label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.72);
  white-space: nowrap;
}

.builder-includes strong,
.builder-includes__value {
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: right;
  min-width: 0;
}

.builder-preview__pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.builder-preview__pricing span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.builder-preview__pricing strong {
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1;
}

.builder-preview__footer {
  display: grid;
  gap: 12px;
}

.builder-preview__note {
  color: rgba(15, 33, 54, 0.76);
}

.builder-preview__cta {
  width: 100%;
}

@media (max-width: 1080px) {
  body[data-page="home"] .hero-banner .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  body[data-page="home"] .hero-selector-cta {
    max-width: 540px;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  body[data-page="home"] .hero-banner .container {
    width: min(100%, 38rem);
  }

  body[data-page="home"] .hero-selector-cta {
    min-height: 114px;
    padding: 16px;
    border-radius: 16px;
  }

}

@media (max-width: 520px) {
  body[data-page="filter-builder"] .container {
    width: min(calc(100% - 24px), 38rem);
  }

  .builder-hero {
    padding: 20px;
    border-radius: 18px;
  }

  .builder-panel,
  .builder-preview {
    padding: 16px;
    border-radius: 18px;
  }

  .builder-preview__section-head,
  .builder-includes li,
  .builder-preview__pricing {
    gap: 10px;
  }

  .builder-includes li {
    grid-template-columns: minmax(102px, 120px) minmax(0, 1fr);
  }

  .builder-includes strong,
  .builder-includes__value {
    text-align: left;
  }
}

/* Mobile home fixes: compact top area, left-aligned header icons, compact hero CTA, strict 2x2 categories */
@media (max-width: 780px) {
  body[data-page="home"] .site-header {
    padding-top: 8px;
  }

  body[data-page="home"] .topbar {
    margin-bottom: 6px;
    gap: 8px;
  }

  body[data-page="home"] .searchbar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 0;
  }

  body[data-page="home"] .search-field {
    min-height: 64px;
    width: 100%;
  }

  body[data-page="home"] .header-actions {
    width: 100%;
    padding-left: 0;
    justify-content: flex-start;
    gap: 6px;
  }

  body[data-page="home"] .header-actions::after {
    content: "";
    flex: 1 1 auto;
  }

  body[data-page="home"] .hero {
    padding-top: 6px;
  }

  body[data-page="home"] .hero-banner {
    padding: 20px 0 14px;
  }

  body[data-page="home"] .hero-content {
    padding-top: 10px;
  }

  body[data-page="home"] .hero-selector-cta {
    width: min(100%, 360px);
    min-height: 82px;
    padding: 10px 12px;
    border-radius: 14px;
    gap: 5px;
  }

  body[data-page="home"] .hero-selector-cta__eyebrow {
    font-size: 0.62rem;
  }

  body[data-page="home"] .hero-selector-cta strong {
    font-size: 0.68rem;
    line-height: 1.1;
  }

  body[data-page="home"] .hero-selector-cta em {
    font-size: 0.56rem;
    line-height: 1.2;
  }

  body[data-page="home"] .categories,
  body[data-page="home"] .categories.container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
  }

  body[data-page="home"] .categories > :nth-child(1),
  body[data-page="home"] .categories > :nth-child(2),
  body[data-page="home"] .categories > :nth-child(3),
  body[data-page="home"] .categories > :nth-child(4) {
    order: initial;
    grid-column: auto;
    min-height: 186px;
  }
}

@media (max-width: 389px) {
  body[data-page="home"] .categories,
  body[data-page="home"] .categories.container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body[data-page="home"] .category-card {
    min-height: 172px;
  }
}

/* Mobile category cards: centered media, minimal empty space, equal-height blocks */
@media (max-width: 780px) {
  body[data-page="home"] .categories,
  body[data-page="home"] .categories.container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 1fr !important;
    gap: 8px !important;
  }

  body[data-page="home"] .category-card {
    min-height: 184px !important;
    padding: 8px !important;
    display: grid !important;
    grid-template-rows: auto 1fr !important;
    align-items: stretch !important;
  }

  body[data-page="home"] .category-copy {
    margin: 0 !important;
    gap: 0 !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .category-card img,
  body[data-page="home"] .category-card--square-media img,
  body[data-page="home"] .category-card--materials img,
  body[data-page="home"] .category-card--horeca img,
  body[data-page="home"] .category-card--home img {
    align-self: center !important;
    justify-self: center !important;
    width: 78% !important;
    height: 94px !important;
    max-height: 94px !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    margin: 0 !important;
  }

  body[data-page="home"] .category-card--square-media img {
    width: 86% !important;
  }

  body[data-page="home"] .mix-showcase {
    align-self: center !important;
    justify-self: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    height: 108px !important;
    width: 96% !important;
    padding: 0 !important;
    transform: none !important;
  }

  body[data-page="home"] .mix-showcase__item {
    max-height: 100% !important;
  }

  body[data-page="home"] .mix-showcase__item--left {
    width: 31% !important;
    transform: translateX(10px) !important;
  }

  body[data-page="home"] .mix-showcase__item--center {
    width: 38% !important;
  }

  body[data-page="home"] .mix-showcase__item--right {
    width: 31% !important;
    transform: translateX(-10px) !important;
  }
}

/* Force home mobile header icons to the LEFT + full CTA redesign */
@media (max-width: 780px) {
  body[data-page="home"] .hero-banner .container,
  body[data-page="home"] .hero-content {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }

  body[data-page="home"] .searchbar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 8px !important;
  }

  body[data-page="home"] .brand {
    order: 1;
    justify-self: stretch;
  }

  body[data-page="home"] .search-field {
    order: 2;
    width: 100%;
    min-height: 62px;
  }

  body[data-page="home"] .header-actions {
    order: 3;
    width: auto !important;
    margin: 0 auto 0 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
    align-items: center;
    gap: 8px !important;
    justify-self: start !important;
    align-self: start !important;
  }

  body[data-page="home"] .header-actions::after {
    display: none !important;
  }

  body[data-page="home"] .header-actions .icon-link {
    min-width: 56px;
    min-height: 46px;
    padding: 4px 6px;
  }

  body[data-page="home"] .hero-banner {
    padding: 16px 0 10px;
  }

  body[data-page="home"] .hero-banner .container {
    gap: 10px;
  }

  body[data-page="home"] .hero-selector-cta {
    position: relative;
    width: min(100%, 340px);
    min-height: 74px;
    padding: 10px 12px 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(178, 214, 250, 0.44);
    background: linear-gradient(135deg, rgba(12, 68, 134, 0.98) 0%, rgba(20, 86, 157, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), 0 8px 20px rgba(0, 27, 58, 0.2);
    gap: 4px;
    transform: none;
    transition: background 180ms ease, box-shadow 180ms ease;
  }

  body[data-page="home"] .hero-selector-cta::before,
  body[data-page="home"] .hero-selector-cta::after {
    content: none !important;
    animation: none !important;
  }

  body[data-page="home"] .hero-selector-cta:hover,
  body[data-page="home"] .hero-selector-cta:focus-visible {
    transform: none;
    background: linear-gradient(135deg, rgba(14, 76, 148, 0.99) 0%, rgba(22, 94, 169, 0.96) 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07), 0 10px 24px rgba(0, 27, 58, 0.26);
  }

  body[data-page="home"] .hero-selector-cta__eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    opacity: 0.95;
  }

  body[data-page="home"] .hero-selector-cta strong {
    font-size: 0.58rem;
    line-height: 1.12;
    letter-spacing: 0.01em;
    font-weight: 700;
  }

  body[data-page="home"] .hero-selector-cta em {
    font-size: 0.49rem;
    line-height: 1.2;
    opacity: 0.9;
  }
}

@media (max-width: 780px) {
  .searchbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

  .brand,
  .search-field {
    width: 100%;
  }

  .header-actions {
    width: auto !important;
    margin: 0 !important;
    padding-left: 0 !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
    gap: 8px !important;
  }

  .header-actions::after {
    content: none !important;
    display: none !important;
  }

  body[data-page="home"] .popular-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    align-items: start !important;
  }

  body[data-page="home"] .product-strip {
    --mini-visible-count: auto !important;
    --mini-gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-bottom: 8px !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  body[data-page="home"] .product-strip::-webkit-scrollbar {
    display: none;
  }

  body[data-page="home"] .product-strip__track {
    width: max-content !important;
    min-width: 100% !important;
    gap: 12px !important;
    transform: none !important;
    transition: none !important;
  }

  body[data-page="home"] .mini-product {
    flex: 0 0 clamp(180px, 72vw, 250px) !important;
    min-height: 170px !important;
    padding: 12px 10px !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    touch-action: pan-x;
  }

  body[data-page="home"] .mini-product img {
    width: 74% !important;
    height: 74% !important;
  }

  body[data-page="home"] .mini-product--compact img {
    width: 42% !important;
    height: 42% !important;
  }

  body[data-page="home"] .mini-product--mechanical img {
    width: 34% !important;
    height: 54% !important;
  }

  body[data-page="home"] .mini-product--coal img {
    width: 38% !important;
    height: 62% !important;
  }

  body[data-page="home"] .mini-product--system img {
    width: 60% !important;
    height: 68% !important;
  }

  body[data-page="home"] .mini-product--wide img {
    width: 68% !important;
    height: 66% !important;
  }

  body[data-page="home"] .mini-product__highlight {
    opacity: 0 !important;
    transition: none !important;
  }

  body[data-page="home"] .popular-copy {
    width: 100%;
  }
}

/* Unified product media rhythm: one square frame and shape-based scaling instead of per-category image sizes. */
.product-card__media,
.related-card__media {
  --product-media-scale: 1;
  --housing-visual-scale: 1;
  --product-visual-scale: 1;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
}

.product-card__media {
  width: 100%;
  max-width: 250px;
  padding: 16px;
  justify-self: center;
  border-radius: 24px;
}

.related-card__media {
  padding: 14px;
}

.product-card__media img,
.related-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  object-fit: contain;
  object-position: center center;
  transform: scale(calc(var(--product-media-scale) * var(--housing-visual-scale) * var(--product-visual-scale)));
  transform-origin: center center;
}

.product-card__media.media-fit--tall,
.related-card__media.media-fit--tall {
  --product-media-scale: 1.16;
}

.product-card__media.media-fit--ultra-tall,
.related-card__media.media-fit--ultra-tall {
  --product-media-scale: 1.3;
}

.product-card__media.media-fit--wide,
.related-card__media.media-fit--wide {
  --product-media-scale: 1.08;
}

.product-card__media.media-fit--ultra-wide,
.related-card__media.media-fit--ultra-wide {
  --product-media-scale: 1.14;
}

@media (max-width: 980px) {
  .product-card__media {
    max-width: 220px;
    padding: 14px;
  }
}

@media (max-width: 640px) {
  body[data-page="catalog"] .product-card__media,
  .product-card__media {
    width: 100%;
    max-width: 156px;
    min-height: 0;
    padding: 8px;
  }

  body[data-page="catalog"] .product-card__media img,
  .product-card__media img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }

  body[data-page="catalog"] .product-card__media {
    margin-bottom: 4px;
  }

  body[data-page="catalog"] .product-card__media.media-fit--balanced {
    --product-media-scale: 1.08;
  }

  body[data-page="catalog"] .product-card__media.media-fit--tall {
    --product-media-scale: 1.24;
  }

  body[data-page="catalog"] .product-card__media.media-fit--ultra-tall {
    --product-media-scale: 1.38;
  }

  body[data-page="catalog"] .product-card__media.media-fit--wide {
    --product-media-scale: 1.14;
  }

  body[data-page="catalog"] .product-card__media.media-fit--ultra-wide {
    --product-media-scale: 1.2;
  }

}

.related-card__media {
  padding: 8px;
}

.product-card__media--housing-swap,
.related-card__media {
  position: relative;
}

.product-card__media--housing-swap img {
  transition: opacity 220ms ease;
}

.product-card__media--housing-swap img.is-housing-fading {
  opacity: 0;
}

.housing-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.housing-switcher__button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(18, 42, 66, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.housing-switcher__button:hover:not(:disabled),
.housing-switcher__button:focus-visible:not(:disabled) {
  border-color: rgba(18, 42, 66, 0.3);
  transform: translateY(-1px);
}

.housing-switcher__button.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.housing-switcher__button:disabled {
  opacity: 0.56;
  cursor: default;
}

body[data-page="filter-builder"] .builder-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.56fr);
  gap: 20px;
}

body[data-page="filter-builder"] .builder-panel,
body[data-page="filter-builder"] .builder-preview {
  height: fit-content;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(240, 248, 255, 0.96) 0%, rgba(204, 226, 247, 0.95) 100%);
  box-shadow: 0 26px 54px rgba(0, 40, 84, 0.14);
}

body[data-page="filter-builder"] .builder-panel {
  gap: 18px;
  padding: 28px;
  align-content: start;
}

body[data-page="filter-builder"] .builder-panel h2 {
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
}

body[data-page="filter-builder"] .builder-panel__groups {
  gap: 14px;
}

body[data-page="filter-builder"] .builder-group {
  display: grid;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="filter-builder"] .builder-group + .builder-group {
  padding-top: 12px;
  border-top: 1px solid rgba(0, 62, 126, 0.08);
}

body[data-page="filter-builder"] .builder-group::before {
  content: none;
}

body[data-page="filter-builder"] .builder-group h3 {
  margin: 0;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.96);
}

body[data-page="filter-builder"] .builder-options {
  gap: 8px;
}

body[data-page="filter-builder"] .builder-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 30px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(0, 62, 126, 0.18);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: normal;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

body[data-page="filter-builder"] .builder-option:hover,
body[data-page="filter-builder"] .builder-option:focus-visible {
  border-color: rgba(0, 62, 126, 0.28);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 16px rgba(5, 46, 92, 0.08);
}

body[data-page="filter-builder"] .builder-option.is-active {
  padding-left: 12px;
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, #0d57a8 0%, #024386 100%);
  color: #fff;
  outline: none;
  box-shadow: 0 8px 18px rgba(0, 39, 81, 0.18);
}

body[data-page="filter-builder"] .builder-panel__insights {
  display: grid;
  gap: 0;
  overflow: hidden;
  padding-top: 8px;
  border-radius: 24px;
  border: 1px solid rgba(0, 62, 126, 0.1);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(232, 244, 255, 0.76) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

body[data-page="filter-builder"] .builder-panel__insight {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
}

body[data-page="filter-builder"] .builder-panel__insight + .builder-panel__insight {
  border-top: 1px solid rgba(0, 62, 126, 0.08);
}

body[data-page="filter-builder"] .builder-panel__insight-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(217, 234, 249, 0.82) 100%);
  color: rgba(0, 62, 126, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 20px rgba(0, 52, 110, 0.08);
}

body[data-page="filter-builder"] .builder-panel__insight-icon svg {
  width: 20px;
  height: 20px;
}

body[data-page="filter-builder"] .builder-panel__insight-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body[data-page="filter-builder"] .builder-panel__insight-title {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.84);
}

body[data-page="filter-builder"] .builder-panel__insight-copy,
body[data-page="filter-builder"] .builder-panel__insight-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(0, 62, 126, 0.76);
}

body[data-page="filter-builder"] .builder-panel__insight-note {
  color: rgba(0, 62, 126, 0.92);
}

body[data-page="filter-builder"] .builder-panel__insight-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="filter-builder"] .builder-panel__insight-list li {
  position: relative;
  padding-left: 14px;
  font-size: 0.8rem;
  line-height: 1.42;
  color: rgba(0, 62, 126, 0.76);
}

body[data-page="filter-builder"] .builder-panel__insight-list li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 86, 165, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.34);
}

body[data-page="filter-builder"] .builder-preview {
  position: sticky;
  top: 18px;
  gap: 16px;
  padding: 28px;
  overflow: hidden;
}

body[data-page="filter-builder"] .builder-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.08) 100%);
  pointer-events: none;
}

body[data-page="filter-builder"] .builder-preview > * {
  position: relative;
  z-index: 1;
}

body[data-page="filter-builder"] .builder-preview__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(0, 62, 126, 0.72);
}

body[data-page="filter-builder"] .builder-preview h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.45rem);
}

body[data-page="filter-builder"] .builder-preview__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -2px;
}

body[data-page="filter-builder"] .builder-summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 62, 126, 0.08);
  color: rgba(0, 62, 126, 0.84);
  font-size: 0.78rem;
  line-height: 1.2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

body[data-page="filter-builder"] .builder-summary-chip:last-child {
  background: linear-gradient(180deg, rgba(0, 62, 126, 0.08), rgba(255, 255, 255, 0.72));
}

body[data-page="filter-builder"] .builder-preview__body {
  min-height: 280px;
  margin-top: 0;
  padding: 26px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.22) 55%, transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(224, 239, 252, 0.76) 100%);
}

body[data-page="filter-builder"] .builder-preview__body img {
  width: min(100%, 360px);
  max-height: 360px;
  filter: drop-shadow(0 18px 30px rgba(0, 45, 88, 0.16));
  transition: opacity 180ms ease, transform 220ms ease;
}

body[data-page="filter-builder"] .builder-preview__body img.is-swapping {
  opacity: 0.1;
  transform: scale(0.985);
}

body[data-page="filter-builder"] .builder-preview__block,
body[data-page="filter-builder"] .builder-preview__trust,
body[data-page="filter-builder"] .builder-preview__footer {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(0, 62, 126, 0.12);
  background: rgba(255, 255, 255, 0.52);
}

body[data-page="filter-builder"] .builder-preview__block {
  gap: 14px;
}

body[data-page="filter-builder"] .builder-preview__section-head {
  align-items: baseline;
}

body[data-page="filter-builder"] .builder-preview__section-head h3 {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
}

body[data-page="filter-builder"] .builder-preview__section-head span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

body[data-page="filter-builder"] .builder-includes {
  gap: 10px;
}

body[data-page="filter-builder"] .builder-includes li {
  grid-template-columns: minmax(102px, 116px) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px 4px;
  border: 0;
  border-bottom: 1px solid rgba(0, 62, 126, 0.08);
  border-radius: 0;
  background: transparent;
}

body[data-page="filter-builder"] .builder-includes li:last-child {
  border-bottom: 0;
}

body[data-page="filter-builder"] .builder-includes span,
body[data-page="filter-builder"] .builder-includes__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  white-space: nowrap;
}

body[data-page="filter-builder"] .builder-includes strong,
body[data-page="filter-builder"] .builder-includes__value {
  font-size: 0.88rem;
  line-height: 1.35;
  text-align: left;
}

body[data-page="filter-builder"] .builder-preview__trust {
  display: grid;
  gap: 6px;
}

body[data-page="filter-builder"] .builder-preview__trust-title {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.78);
}

body[data-page="filter-builder"] .builder-preview__trust-copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(0, 62, 126, 0.8);
}

body[data-page="filter-builder"] .builder-preview__footer {
  gap: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(232, 243, 253, 0.84) 100%);
}

body[data-page="filter-builder"] .builder-preview__cta-meta {
  margin: 0;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.72);
}

body[data-page="filter-builder"] .builder-preview__pricing {
  align-items: flex-end;
}

body[data-page="filter-builder"] .builder-preview__pricing span {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

body[data-page="filter-builder"] .builder-preview__pricing strong {
  font-size: clamp(1.6rem, 2.5vw, 2.35rem);
  line-height: 0.95;
  color: var(--primary);
}

body[data-page="filter-builder"] .builder-preview__note {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 241, 228, 0.66);
  color: #6c4b21;
  font-size: 0.82rem;
  line-height: 1.45;
}

body[data-page="filter-builder"] .builder-preview__cta {
  min-height: 56px;
  font-size: 0.9rem;
  box-shadow: 0 18px 30px rgba(0, 45, 88, 0.2);
}

body[data-page="filter-builder"] .builder-preview__cta:disabled {
  box-shadow: none;
  opacity: 0.78;
}

@media (max-width: 1080px) {
  body[data-page="filter-builder"] .builder-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="filter-builder"] .builder-preview {
    position: static;
    top: auto;
  }
}

@media (max-width: 780px) {
  body[data-page="filter-builder"] .builder-layout {
    gap: 14px;
  }

  body[data-page="filter-builder"] .builder-panel,
  body[data-page="filter-builder"] .builder-preview {
    padding: 18px;
    border-radius: 22px;
  }

  body[data-page="filter-builder"] .builder-group {
    gap: 9px;
  }

  body[data-page="filter-builder"] .builder-group + .builder-group {
    padding-top: 10px;
  }

  body[data-page="filter-builder"] .builder-preview__summary {
    gap: 6px;
  }

  body[data-page="filter-builder"] .builder-summary-chip {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.74rem;
  }

  body[data-page="filter-builder"] .builder-preview__body {
    min-height: 220px;
    padding: 18px 14px;
  }

  body[data-page="filter-builder"] .builder-preview__body img {
    width: min(100%, 300px);
    max-height: 300px;
  }

  body[data-page="filter-builder"] .builder-includes li {
    grid-template-columns: minmax(92px, 104px) minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  body[data-page="filter-builder"] .builder-preview__trust-copy {
    font-size: 0.8rem;
  }

  body[data-page="filter-builder"] .builder-option {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.64rem;
  }

  body[data-page="filter-builder"] .builder-panel__insights {
    padding-top: 6px;
    border-radius: 20px;
  }

  body[data-page="filter-builder"] .builder-panel__insight {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
  }

  body[data-page="filter-builder"] .builder-panel__insight-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  body[data-page="filter-builder"] .builder-panel__insight-copy,
  body[data-page="filter-builder"] .builder-panel__insight-note,
  body[data-page="filter-builder"] .builder-panel__insight-list li {
    font-size: 0.76rem;
  }

  body[data-page="filter-builder"] .builder-preview__block,
  body[data-page="filter-builder"] .builder-preview__trust,
  body[data-page="filter-builder"] .builder-preview__footer {
    padding: 14px;
    border-radius: 18px;
  }

  body[data-page="filter-builder"] .builder-preview__pricing {
    align-items: start;
  }

  body[data-page="filter-builder"] .builder-preview__pricing strong {
    font-size: 1.7rem;
  }

  body[data-page="filter-builder"] .builder-includes li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  body[data-page="filter-builder"] .builder-includes span,
  body[data-page="filter-builder"] .builder-includes__label {
    white-space: normal;
  }
}

@media (max-width: 780px) {
  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-sections {
    gap: 12px;
  }

  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-section-card__title {
    font-family: "Widock Trial", Arial, sans-serif;
    line-height: 0.96;
    letter-spacing: -0.01em;
  }

  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-section-card__subtitle {
    font-family: "Miratrix", Arial, sans-serif;
    line-height: 1;
    letter-spacing: 0;
  }
}

@media (max-width: 520px) {
  body[data-page="catalog"] .catalog-toolbar {
    gap: 12px;
    margin-bottom: 12px;
  }

  body[data-page="catalog"] .catalog-grid {
    gap: 10px;
  }

  body[data-page="catalog"] .product-card__actions {
    gap: 8px;
    padding: 4px 10px 12px;
  }

  body[data-page="catalog"] .product-card__buttons {
    gap: 8px;
  }

  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-sections {
    gap: 10px;
  }

  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-section-card {
    min-height: 96px;
    padding: 12px 11px;
    gap: 6px;
  }

  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-section-card__title {
    font-family: "Widock Trial", Arial, sans-serif;
    font-size: clamp(1.04rem, 5.2vw, 1.22rem);
    line-height: 0.96;
    letter-spacing: -0.01em;
  }

  body[data-page="catalog"][data-catalog-category="cartridges"] .catalog-section-card__subtitle {
    font-family: "Miratrix", Arial, sans-serif;
    font-size: clamp(0.98rem, 4.4vw, 1.12rem);
    line-height: 1;
    letter-spacing: 0;
  }
}

/* Premium evolution: filter configurator */
body[data-page="filter-builder"] .builder-hero.container,
body[data-page="filter-builder"] .builder-layout.container {
  width: min(calc(100% - 72px), 1376px);
}

body[data-page="filter-builder"] .builder-hero {
  margin-bottom: 28px;
  padding: clamp(22px, 3.2vw, 45px);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(132deg, #003f80 0%, #0755a6 62%, #0a67bf 100%);
}

body[data-page="filter-builder"] .builder-hero__lead {
  max-width: 704px;
  font-size: clamp(0.74rem, 1vw, 0.96rem);
}

body[data-page="filter-builder"] .builder-hero__metrics {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

body[data-page="filter-builder"] .builder-hero__metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="filter-builder"] .builder-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: 18px;
  align-items: start;
}

body[data-page="filter-builder"] .builder-panel,
body[data-page="filter-builder"] .builder-preview {
  height: fit-content;
  border-radius: 30px;
  border: 1px solid rgba(0, 62, 126, 0.12);
  background:
    linear-gradient(180deg, rgba(242, 249, 255, 0.97) 0%, rgba(205, 227, 247, 0.95) 100%);
  box-shadow: 0 30px 60px rgba(0, 40, 84, 0.13);
}

body[data-page="filter-builder"] .builder-panel {
  gap: 18px;
  padding: 24px;
}

body[data-page="filter-builder"] .builder-panel__header {
  display: grid;
  gap: 8px;
  padding-bottom: 2px;
}

body[data-page="filter-builder"] .builder-panel__eyebrow {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.72);
}

body[data-page="filter-builder"] .builder-panel__lead {
  margin: 0;
  max-width: 608px;
  font-size: 0.74rem;
  line-height: 1.6;
  color: rgba(0, 62, 126, 0.8);
}

body[data-page="filter-builder"] .builder-panel__groups {
  gap: 10px;
}

body[data-page="filter-builder"] .builder-group {
  display: grid;
  gap: 10px;
  padding: 13px 14px 14px;
  border-radius: 22px;
  border: 1px solid rgba(0, 62, 126, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(243, 249, 255, 0.46) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-page="filter-builder"] .builder-group + .builder-group {
  padding-top: 13px;
  border-top: 1px solid rgba(0, 62, 126, 0.08);
}

body[data-page="filter-builder"] .builder-group__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

body[data-page="filter-builder"] .builder-group__step {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0, 62, 126, 0.12), rgba(255, 255, 255, 0.82));
  color: var(--primary);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

body[data-page="filter-builder"] .builder-group h3 {
  margin: 0;
  font-size: 0.66rem;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.95);
}

body[data-page="filter-builder"] .builder-options {
  gap: 8px;
}

body[data-page="filter-builder"] .builder-option {
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 62, 126, 0.16);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
  font-size: 0.61rem;
  line-height: 1.2;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

body[data-page="filter-builder"] .builder-option:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 62, 126, 0.24);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 18px rgba(0, 45, 88, 0.08);
}

body[data-page="filter-builder"] .builder-option:active {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body[data-page="filter-builder"] .builder-option:focus-visible {
  outline: 2px solid rgba(0, 62, 126, 0.28);
  outline-offset: 2px;
  border-color: rgba(0, 62, 126, 0.32);
  background: rgba(255, 255, 255, 0.96);
}

body[data-page="filter-builder"] .builder-option.is-active {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, #0f5ead 0%, #024386 100%);
  color: #fff;
  box-shadow: 0 16px 28px rgba(0, 45, 88, 0.18);
}

body[data-page="filter-builder"] .builder-panel__autofit {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(0, 62, 126, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(231, 242, 252, 0.72) 100%);
}

body[data-page="filter-builder"] .builder-panel__autofit-title {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="filter-builder"] .builder-panel__autofit-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="filter-builder"] .builder-panel__autofit-list li {
  position: relative;
  padding-left: 15px;
  font-size: 0.69rem;
  line-height: 1.55;
  color: rgba(0, 62, 126, 0.82);
}

body[data-page="filter-builder"] .builder-panel__autofit-list li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 62, 126, 0.42);
}

body[data-page="filter-builder"] .builder-preview {
  position: sticky;
  top: 18px;
  gap: 11px;
  padding: 19px;
}

body[data-page="filter-builder"] .builder-preview__label {
  color: rgba(0, 62, 126, 0.7);
}

body[data-page="filter-builder"] .builder-preview h2 {
  font-size: clamp(1.44rem, 2.16vw, 2.16rem);
  line-height: 0.94;
}

body[data-page="filter-builder"] .builder-preview__subline {
  margin: -2px 0 2px;
  max-width: 28ch;
  font-size: 0.7rem;
  line-height: 1.55;
  color: rgba(0, 62, 126, 0.78);
}

body[data-page="filter-builder"] .builder-preview__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

body[data-page="filter-builder"] .builder-summary-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 62, 126, 0.1);
  background: rgba(255, 255, 255, 0.66);
  font-size: 0.59rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

body[data-page="filter-builder"] .builder-preview__body {
  position: relative;
  min-height: 272px;
  padding: 24px 18px 19px;
  border-radius: 26px;
  border: 1px solid rgba(0, 62, 126, 0.1);
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.2) 54%, transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(224, 239, 252, 0.78) 100%);
}

body[data-page="filter-builder"] .builder-preview__body::after {
  content: "";
  position: absolute;
  inset: auto 12% 12px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 45, 88, 0.12), transparent 72%);
  filter: blur(6px);
}

body[data-page="filter-builder"] .builder-preview__body img {
  position: relative;
  z-index: 1;
  width: min(100%, 312px);
  max-height: 312px;
  object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(0, 45, 88, 0.14));
  transition: opacity 200ms ease, transform 220ms ease;
}

body[data-page="filter-builder"] .builder-preview__body img.is-swapping {
  opacity: 0.08;
  transform: translateY(4px) scale(0.986);
}

body[data-page="filter-builder"] .builder-preview__visual-note {
  margin-top: -2px;
  font-size: 0.62rem;
  line-height: 1.45;
  color: rgba(0, 62, 126, 0.66);
}

body[data-page="filter-builder"] .builder-preview__block,
body[data-page="filter-builder"] .builder-preview__trust,
body[data-page="filter-builder"] .builder-preview__footer {
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(0, 62, 126, 0.1);
  background: rgba(255, 255, 255, 0.58);
}

body[data-page="filter-builder"] .builder-preview__section-head {
  align-items: center;
}

body[data-page="filter-builder"] .builder-preview__section-head h3 {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

body[data-page="filter-builder"] .builder-preview__section-head span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(0, 62, 126, 0.07);
  font-size: 0.54rem;
  font-weight: 700;
}

body[data-page="filter-builder"] .builder-includes {
  gap: 2px;
}

body[data-page="filter-builder"] .builder-includes li {
  grid-template-columns: minmax(106px, 118px) minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid rgba(0, 62, 126, 0.08);
}

body[data-page="filter-builder"] .builder-includes li:last-child {
  border-bottom: 0;
}

body[data-page="filter-builder"] .builder-includes__label {
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(0, 62, 126, 0.68);
  white-space: normal;
}

body[data-page="filter-builder"] .builder-includes__value {
  font-size: 0.74rem;
  line-height: 1.5;
  font-weight: 700;
  text-align: left;
  white-space: normal;
}

body[data-page="filter-builder"] .builder-preview__trust {
  display: grid;
  gap: 8px;
  background:
    linear-gradient(180deg, rgba(244, 250, 255, 0.78) 0%, rgba(230, 241, 251, 0.76) 100%);
}

body[data-page="filter-builder"] .builder-preview__trust-title {
  font-size: 0.59rem;
  letter-spacing: 0.14em;
}

body[data-page="filter-builder"] .builder-preview__trust-copy {
  font-size: 0.69rem;
  line-height: 1.55;
}

body[data-page="filter-builder"] .builder-preview__trust-points {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body[data-page="filter-builder"] .builder-preview__trust-points li {
  position: relative;
  padding-left: 13px;
  font-size: 0.64rem;
  line-height: 1.5;
  color: rgba(0, 62, 126, 0.72);
}

body[data-page="filter-builder"] .builder-preview__trust-points li::before {
  content: "";
  position: absolute;
  top: 0.54rem;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0, 62, 126, 0.34);
}

body[data-page="filter-builder"] .builder-preview__footer {
  gap: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(229, 241, 252, 0.92) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-page="filter-builder"] .builder-preview__cta-meta {
  font-size: 0.59rem;
  letter-spacing: 0.14em;
}

body[data-page="filter-builder"] .builder-preview__cta-support {
  margin: -2px 0 2px;
  font-size: 0.67rem;
  line-height: 1.55;
  color: rgba(0, 62, 126, 0.78);
}

body[data-page="filter-builder"] .builder-preview__pricing {
  align-items: end;
  gap: 13px;
  padding: 10px 0 2px;
}

body[data-page="filter-builder"] .builder-preview__pricing span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: rgba(0, 62, 126, 0.66);
}

body[data-page="filter-builder"] .builder-preview__pricing strong {
  font-size: clamp(1.6rem, 2.24vw, 2.16rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

body[data-page="filter-builder"] .builder-preview__note {
  padding: 10px 11px;
  border-radius: 16px;
}

body[data-page="filter-builder"] .builder-preview__cta {
  min-height: 48px;
  border-radius: 16px;
  box-shadow: 0 20px 34px rgba(0, 45, 88, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

body[data-page="filter-builder"] .builder-preview__cta:hover:not(:disabled) {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 24px 38px rgba(0, 45, 88, 0.2);
}

body[data-page="filter-builder"] .builder-preview__cta:focus-visible {
  outline: 2px solid rgba(0, 62, 126, 0.28);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="filter-builder"] .builder-option,
  body[data-page="filter-builder"] .builder-preview__body img,
  body[data-page="filter-builder"] .builder-preview__cta {
    transition: none;
  }
}

@media (max-width: 1080px) {
  body[data-page="filter-builder"] .builder-layout {
    grid-template-columns: 1fr;
  }

  body[data-page="filter-builder"] .builder-preview {
    position: static;
    top: auto;
  }
}

@media (max-width: 780px) {
  body[data-page="filter-builder"] .builder-hero {
    border-radius: 24px;
  }

  body[data-page="filter-builder"] .builder-hero__metrics {
    gap: 8px;
    margin-top: 18px;
  }

  body[data-page="filter-builder"] .builder-hero__metrics span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.68rem;
  }

  body[data-page="filter-builder"] .builder-panel,
  body[data-page="filter-builder"] .builder-preview {
    padding: 18px;
    border-radius: 24px;
  }

  body[data-page="filter-builder"] .builder-group {
    padding: 14px;
    border-radius: 18px;
  }

  body[data-page="filter-builder"] .builder-group__heading {
    gap: 10px;
  }

  body[data-page="filter-builder"] .builder-group__step {
    width: 30px;
    height: 30px;
    border-radius: 10px;
  }

  body[data-page="filter-builder"] .builder-option {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.72rem;
  }

  body[data-page="filter-builder"] .builder-preview__body {
    min-height: 250px;
    padding: 20px 16px 18px;
  }

  body[data-page="filter-builder"] .builder-preview__body img {
    width: min(100%, 310px);
    max-height: 310px;
  }

  body[data-page="filter-builder"] .builder-preview__block,
  body[data-page="filter-builder"] .builder-preview__trust,
  body[data-page="filter-builder"] .builder-preview__footer,
  body[data-page="filter-builder"] .builder-panel__autofit {
    padding: 16px;
    border-radius: 20px;
  }

  body[data-page="filter-builder"] .builder-includes li {
    grid-template-columns: minmax(92px, 106px) minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 520px) {
  body[data-page="filter-builder"] .builder-layout {
    gap: 14px;
  }

  body[data-page="filter-builder"] .builder-panel__lead,
  body[data-page="filter-builder"] .builder-preview__subline,
  body[data-page="filter-builder"] .builder-preview__cta-support,
  body[data-page="filter-builder"] .builder-preview__trust-copy {
    font-size: 0.8rem;
  }

  body[data-page="filter-builder"] .builder-preview__summary {
    gap: 6px;
  }

  body[data-page="filter-builder"] .builder-summary-chip {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.7rem;
  }

  body[data-page="filter-builder"] .builder-includes li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }

  body[data-page="filter-builder"] .builder-preview__pricing {
    align-items: start;
  }

  body[data-page="filter-builder"] .builder-preview__pricing strong {
    font-size: 1.95rem;
  }
}

/* External checkout handoff */
.checkout-copy,
.checkout-cta-note,
.checkout-trust__copy,
.checkout-status-card__meta {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(0, 62, 126, 0.78);
}

.choice-card--info {
  cursor: default;
}

.choice-card--info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.35;
  text-transform: uppercase;
}

.checkout-handoff-note,
.checkout-trust,
.checkout-error {
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 62, 126, 0.1);
  background: rgba(255, 255, 255, 0.52);
}

.checkout-handoff-note {
  margin-top: 14px;
  font-size: 0.86rem;
  line-height: 1.55;
}

.checkout-trust {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.checkout-trust__title,
.checkout-status-card__eyebrow {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(0, 62, 126, 0.72);
}

.checkout-error {
  margin-bottom: 14px;
  background: rgba(255, 241, 228, 0.72);
  color: #6c4b21;
}

.checkout-status-shell {
  padding: 72px 0 40px;
}

.checkout-status-card {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
  text-align: center;
}

.checkout-status-card--wide {
  max-width: 1040px;
}

.checkout-status-card h1 {
  margin: 0;
}

.checkout-status-card__actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.checkout-payload-preview {
  margin: 6px 0 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: left;
  overflow: auto;
}

@media (max-width: 780px) {
  .checkout-copy,
  .checkout-cta-note,
  .checkout-trust__copy,
  .checkout-status-card__meta,
  .checkout-handoff-note {
    font-size: 0.82rem;
  }

  .checkout-status-shell {
    padding: 34px 0 24px;
  }

  .checkout-status-card__actions {
    gap: 8px;
  }

  .checkout-status-card__actions .button {
    width: 100%;
  }
}
