@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/roboto-0.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/roboto-1.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 600;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/roboto-2.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/roboto-3.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 800;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/roboto-4.ttf) format("truetype");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 900;
  font-stretch: normal;
  font-display: swap;
  src: url(/assets/roboto-5.ttf) format("truetype");
}

:root {
  --paper: #f7f3ec;
  --panel: #fcfaf6;
  --ink: #1e1e1e;
  --muted: #635f5a;
  --soft: #9c9791;
  --line: #e8e2d9;
  --brand: #c94e2f;
  --brand-dark: #a83e25;
  --dark: #1a1a1a;
  --radius: 20px;
  --shadow: 0 14px 34px rgba(30, 30, 30, 0.08);
  --max: 1280px;
  --font-body: "Roboto", Arial, system-ui, sans-serif;
  --font-display: "Roboto", Arial, system-ui, sans-serif;
  --ui-outline: rgba(30, 30, 30, 0.18);
  --ui-outline-active: rgba(201, 78, 47, 0.58);
  --scrollbar-thumb: #b8afa4;
  --scrollbar-thumb-hover: #948a7f;
  --scrollbar-track: #eee8df;
  --z-sticky-content: 100;
  --z-dropdown: 200;
  --z-site-header: 400;
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
  background-color: #fff;
  color-scheme: light;
  width: 100%;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  min-width: 36px;
  min-height: 36px;
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
  background: var(--scrollbar-thumb);
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

@media (forced-colors: active) {
  * {
    scrollbar-color: auto;
  }
}

body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root,
#app {
  width: 100%;
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
}

html.site-menu-open,
html.site-menu-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-site-header);
  background: var(--panel);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(30, 30, 30, 0.04);
  padding-top: var(--safe-area-top);
}

.top-promo {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 9px max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(
    24px,
    calc((100vw - var(--max)) / 2),
    calc(var(--safe-area-right) + 12px)
  );
  padding-left: max(
    24px,
    calc((100vw - var(--max)) / 2),
    calc(var(--safe-area-left) + 12px)
  );
  background: var(--brand);
  color: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.top-promo span,
.top-promo a {
  padding-inline: 0;
}

.header-phone-menu {
  position: relative;
  flex: 0 0 auto;
}

.header-phone-primary {
  display: block;
}

.header-phone-mobile-toggle {
  display: none;
}

.header-phone-popover {
  position: absolute;
  z-index: 70;
  top: 100%;
  right: 0;
  display: grid;
  gap: 8px;
  min-width: 206px;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(30, 30, 30, 0.18);
  color: var(--ink);
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  pointer-events: none;
}

.header-phone-menu::after {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  height: 8px;
  content: "";
}

.header-phone-menu:hover .header-phone-popover,
.header-phone-menu:focus-within .header-phone-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header-phone-popover a {
  white-space: nowrap;
}

.header-phone-popover a:hover,
.header-phone-popover a:focus-visible {
  color: var(--brand);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 14px 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.logo img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.logo span,
.footer-logo span {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.logo span i,
.footer-logo span i {
  color: var(--brand);
  font-style: normal;
}

.footer-logo span {
  color: #fff;
}

.footer-logo {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0 14px;
  align-items: center;
}

.footer-logo img {
  display: block;
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.logo b {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.7vw, 32px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  scrollbar-color: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a:last-child {
  color: var(--muted);
}

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

.menu-toggle,
.mobile-menu {
  display: none;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: clamp(190px, 15vw, 260px);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.search-field img,
.icon-button img,
.cart-button img {
  width: 18px;
  height: 18px;
}

.search-field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

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

.search-suggestions {
  position: absolute;
  z-index: 60;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(390px, calc(100vw - 32px));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(30, 30, 30, 0.18);
}

.search-suggestion {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 66px;
  padding: 6px 8px;
  border-radius: 7px;
}

.search-suggestion:hover,
.search-suggestion:focus-visible {
  background: var(--paper);
}

.search-suggestion > img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--paper);
}

.search-suggestion span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.search-suggestion strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion small {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-all {
  min-height: 40px;
  margin-top: 5px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
}

.search-empty {
  margin: 0;
  padding: 14px 12px;
  color: var(--muted);
  font-size: 13px;
}

.icon-button,
.header-section-link,
.cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.header-section-link {
  position: relative;
}

.header-section-link img {
  width: 19px;
  height: 19px;
}

.header-section-link span {
  position: absolute;
  top: -6px;
  right: -9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border: 2px solid var(--panel);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  height: clamp(500px, 45vw, 720px);
  background: #d7d5cf;
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(18, 23, 19, 0.82) 0%,
    rgba(18, 23, 19, 0.66) 38%,
    rgba(18, 23, 19, 0.08) 72%
  );
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.025);
  transition:
    opacity 900ms ease,
    transform 5s ease;
}

.hero-bg-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: min(720px, 62vw);
  height: 100%;
  margin-left: max(50px, calc((100vw - var(--max)) / 2));
  padding: 42px 0 110px;
  color: #fff;
}

.hero-badge {
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(12, 16, 13, 0.22);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.hero-overlay h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(46px, 4.7vw, 76px);
  font-weight: 700;
  line-height: 1.02;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.hero-description {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.hero-overlay .hero-actions {
  margin-bottom: 30px;
}

.button.light {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(20, 24, 21, 0.28);
  color: #fff;
  backdrop-filter: blur(6px);
}

.button.light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
}

.hero-stats div {
  min-width: 132px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.hero-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.05;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
}

.hero-carousel-controls {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid rgba(30, 30, 30, 0.14);
  border-radius: 999px;
  background: rgba(252, 250, 246, 0.82);
  box-shadow: 0 6px 16px rgba(30, 30, 30, 0.08);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.hero-carousel-controls > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.carousel-arrow {
  display: block;
  width: 10px;
  height: 10px;
  border-top: 3px solid currentcolor;
  border-right: 3px solid currentcolor;
}

.carousel-arrow.is-previous {
  transform: translateX(2px) rotate(-135deg);
}

.carousel-arrow.is-next {
  transform: translateX(-2px) rotate(45deg);
}

.hero-carousel-controls > button:hover {
  background: rgba(201, 78, 47, 0.1);
  color: var(--brand);
}

.hero-carousel-controls > span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-carousel-controls > span button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.25);
  cursor: pointer;
  transition:
    width 160ms ease,
    background 160ms ease;
}

.hero-carousel-controls > span button.is-active {
  width: 20px;
  border-radius: 999px;
  background: var(--brand);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(360px, 560px);
  align-items: center;
  gap: 64px;
  max-width: calc(var(--max) + 160px);
  min-height: clamp(520px, calc(100vh - 116px), 640px);
  min-height: clamp(520px, calc(100svh - 116px), 640px);
  margin: 0 auto;
  padding: 70px 80px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 20px;
  padding: 7px 14px;
  border: 1px solid rgba(201, 78, 47, 0.2);
  border-radius: 999px;
  background: rgba(201, 78, 47, 0.1);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.section-kicker {
  min-height: auto;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.04;
}

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(44px, 5vw, 60px);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 50px);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 32px;
  color: #4a4540;
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.button.primary {
  border-color: var(--brand);
  background: var(--brand);
  color: white;
  box-shadow: 0 8px 18px rgba(201, 78, 47, 0.24);
}

.button.primary:hover {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: rgba(30, 30, 30, 0.22);
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.button.quiet {
  min-height: 38px;
  padding: 10px 18px;
  border-color: transparent;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
}

.button.quiet img {
  width: 14px;
  height: 14px;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
}

.trust-row div {
  position: relative;
}

.trust-row div + div::before {
  position: absolute;
  top: 7px;
  left: -18px;
  width: 1px;
  height: 40px;
  content: "";
  background: rgba(30, 30, 30, 0.15);
}

.trust-row dt {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.1;
}

.trust-row dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(30, 30, 30, 0.12);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card figcaption {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.82);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.hero-card figcaption span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78ca6b;
}

.section {
  padding: 96px 80px;
}

.section-heading,
.products-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  max-width: var(--max);
  margin: 0 auto 48px;
}

.section-heading > p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 14px;
}

.category-grid,
.product-grid,
.advantage-grid,
.faq-grid,
.wholesale,
.footer-top,
.footer-bottom {
  max-width: var(--max);
  margin-inline: auto;
}

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

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  grid-template-rows: 1fr auto;
  min-height: 254px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(30, 30, 30, 0.035);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 600;
  line-height: 1.1;
}

.category-card small {
  display: block;
  margin-top: 6px;
  color: var(--soft);
  font-size: 13px;
}

.category-card > img {
  align-self: end;
  justify-self: end;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.category-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(201, 78, 47, 0.08);
}

.category-card b img {
  width: 16px;
  height: 16px;
}

.categories-action {
  display: flex;
  justify-content: center;
  max-width: var(--max);
  margin: 32px auto 0;
}

.categories-action .button {
  min-width: 220px;
}

.categories-action .button img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.products {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

.catalog-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin: -14px auto 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.sort-control {
  position: relative;
}

.sort-toggle,
.filter-button,
.sort-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 13px;
}

.sort-toggle {
  min-width: 220px;
  justify-content: space-between;
  padding: 7px 14px;
}

.sort-toggle img,
.filter-button img,
.sort-chip img {
  width: 14px;
  height: 14px;
}

.sort-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 5;
  width: 220px;
  overflow: hidden;
  border: 1px solid rgba(201, 78, 47, 0.45);
  border-radius: 8px;
  background: white;
  box-shadow: 0 12px 24px rgba(30, 30, 30, 0.08);
}

.sort-menu button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: white;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.sort-menu button:hover {
  background: var(--paper);
}

.filter-button {
  padding: 7px 14px;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: rgba(201, 78, 47, 0.4);
  background: rgba(201, 78, 47, 0.08);
  color: var(--brand);
}

.sort-chip {
  padding: 6px 10px;
  border-color: rgba(201, 78, 47, 0.45);
  background: rgba(201, 78, 47, 0.08);
  color: var(--brand);
}

.sort-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

.product-grid.is-list-view {
  grid-template-columns: 1fr;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 14px rgba(30, 30, 30, 0.04);
}

.product-card.is-list {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.product-media {
  position: relative;
  min-width: 0;
}

.product-card.is-list .product-media {
  min-height: 260px;
}

.product-image {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--paper);
}

.product-card.is-list .product-image {
  height: 100%;
  min-height: 260px;
}

.product-image.dark {
  background: #161616;
}

.product-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image button {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.product-image button img {
  width: 16px;
  height: 16px;
}

.favorite-toggle {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(142, 128, 108, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 5px 16px rgba(30, 30, 30, 0.12);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.favorite-toggle:hover {
  transform: translateY(-1px);
}

.favorite-toggle img {
  width: 18px;
  height: 18px;
}

.favorite-toggle.is-active {
  border-color: var(--brand);
  background: var(--brand);
}

.favorite-toggle.is-active img {
  filter: brightness(0) invert(1);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 40px;
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.badge.hit {
  background: #f5a524;
}

.badge.new {
  background: #3a9a71;
}

.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 270px;
  padding: 18px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.product-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--soft);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
}

.product-info h3 {
  min-height: 56px;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.1;
}

.product-info h3 + p {
  min-height: 58px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-card.is-list .product-info h3 + p {
  min-height: auto;
  max-width: 680px;
  font-size: 15px;
}

.product-card-features {
  display: none;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.product-card-features li {
  display: flex;
  gap: 8px;
}

.product-card-features li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.product-card.is-list .product-card-features {
  display: grid;
}

.volume-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.volume-row span {
  margin-right: auto;
  color: var(--ink);
}

.product-card:not(.is-list) .volume-row span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--muted);
}

.volume-row i {
  display: none;
}

.price-row {
  display: grid;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.price-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.price-actions > a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  text-align: center;
}

.price-row strong {
  display: grid;
  gap: 1px;
  font-size: 23px;
  line-height: 1.05;
  white-space: nowrap;
}

.price-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.price-row button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 14px;
  border: 0;
  border-radius: 8px;
  background: var(--brand);
  color: white;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.price-row button img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.advantages {
  background: var(--paper);
}

.center-heading {
  max-width: var(--max);
  margin: 0 auto 48px;
  text-align: center;
}

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

.advantage-grid article {
  min-height: 256px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 5px 14px rgba(30, 30, 30, 0.035);
}

.advantage-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  font-style: italic;
}

.advantage-grid h3 {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.15;
}

.advantage-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.wholesale {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 80px;
  align-items: start;
}

.wholesale-copy > p:not(.section-kicker) {
  margin: 26px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.wholesale-copy ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wholesale-copy li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.wholesale-copy li img {
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1px solid rgba(201, 78, 47, 0.2);
  border-radius: 8px;
  background: rgba(201, 78, 47, 0.08);
}

.home-faq {
  background: #fff;
}

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

.faq-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 4px 12px rgba(30, 30, 30, 0.035);
}

.faq-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: rgba(201, 78, 47, 0.1);
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
}

.faq-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.15;
}

.faq-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.price-download {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid rgba(201, 78, 47, 0.32);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(30, 30, 30, 0.06);
}

.price-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand);
  font-size: 22px;
  line-height: 1;
}

.price-file-icon img {
  width: 20px;
  height: 20px;
}

.price-download small {
  display: block;
  margin-bottom: 2px;
  color: var(--brand);
  font-size: 11px;
  text-transform: uppercase;
}

.price-download h3 {
  margin: 0;
  color: var(--ink);
  font-size: 19px;
  font-weight: 500;
}

.price-download p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.price-download > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.price-download > a:hover {
  border-color: var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
}

.wholesale-form {
  display: grid;
  gap: 14px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(30, 30, 30, 0.06);
}

.wholesale-form h3 {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 31px;
  line-height: 1.15;
}

.wholesale-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.wholesale-form input,
.wholesale-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.wholesale-form input {
  height: 44px;
  padding: 0 16px;
}

.wholesale-form textarea {
  min-height: 90px;
  resize: vertical;
  padding: 14px 16px;
}

.wholesale-form input::placeholder,
.wholesale-form textarea::placeholder {
  color: #c4bfba;
}

.wholesale-form .button {
  width: 100%;
  margin-top: 6px;
}

.policy {
  margin: 0;
  color: var(--soft);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
}

.form-notice {
  margin: 0;
  padding: 12px;
  border-radius: 10px;
  background: rgba(58, 154, 113, 0.12);
  color: #236d50;
  font-size: 13px;
}

.site-footer {
  padding: 80px 80px 40px;
  background: var(--dark);
  color: white;
}

.footer-top {
  display: grid;
  grid-template-columns: 320px repeat(2, minmax(150px, 200px)) minmax(
      230px,
      280px
    );
  justify-content: space-between;
  gap: 42px;
}

.footer-logo {
  position: relative;
  display: inline-grid;
  margin-bottom: 20px;
}

.footer-logo::after {
  display: block;
  grid-column: 1 / -1;
  width: 40px;
  height: 2px;
  margin-top: 9px;
  border-radius: 2px;
  content: "";
  background: var(--brand);
}

.footer-brand p,
.site-footer nav a,
.site-footer address span,
.site-footer address p,
.footer-bottom {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}

.footer-brand p {
  margin-bottom: 20px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}

.socials img {
  width: 20px;
  height: 20px;
}

.site-footer nav,
.site-footer address {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-style: normal;
}

.site-footer h2 {
  margin: 0 0 8px;
  color: white;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer nav a:last-child,
.site-footer address > a:not(.phone) {
  color: var(--brand);
}

.site-footer .phone {
  color: white;
  font-size: 18px;
  font-weight: 800;
}

.footer-phone-list {
  display: grid;
  gap: 8px;
}

.footer-phone-list div {
  display: grid;
  gap: 2px;
}

.footer-phone-list span {
  font-size: 13px;
}

.footer-phone-list span a {
  color: var(--brand);
}

.site-footer address p {
  margin: 4px 0 0;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
  margin: 0;
}

.floating-contacts {
  position: fixed;
  right: max(20px, calc(var(--safe-area-right) + 12px));
  bottom: max(28px, calc(var(--safe-area-bottom) + 14px));
  z-index: 15;
  display: grid;
  gap: 10px;
}

.floating-contacts a,
.floating-contacts button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.floating-contacts img {
  width: 22px;
  height: 22px;
}

.floating-call-menu {
  position: relative;
}

.floating-contacts .call {
  position: relative;
  background: var(--dark);
}

.floating-call-list {
  position: absolute;
  right: 62px;
  bottom: 0;
  display: grid;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(30, 30, 30, 0.18);
}

.floating-call-list a {
  justify-content: flex-start;
  width: 100%;
  height: auto;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 7px;
  box-shadow: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.floating-call-list a:hover,
.floating-call-list a:focus-visible {
  background: var(--paper);
  color: var(--brand);
}

.floating-contacts .whatsapp {
  overflow: hidden;
  background: #fff;
}

.floating-contacts .telegram {
  overflow: hidden;
  background: #fff;
}

.floating-contacts .max {
  background: #ffffff;
  overflow: hidden;
}

.floating-contacts .call img {
  filter: brightness(0) invert(1);
}

.floating-contacts .whatsapp img,
.floating-contacts .telegram img {
  width: 36px;
  height: 36px;
}

.floating-contacts .max img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: none;
}

.loading-state {
  min-height: 58vh;
}

.page-hero {
  display: grid;
  min-height: 420px;
  background:
    linear-gradient(
      110deg,
      rgba(247, 243, 236, 0.96),
      rgba(247, 243, 236, 0.7)
    ),
    url("/assets/raw-12.jpeg") center / cover;
}

.page-hero-copy {
  width: min(760px, 100%);
  margin: auto 0;
}

.page-hero p:not(.section-kicker) {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.page-hero--delivery,
.page-hero--about {
  min-height: 560px;
  color: white;
  background-position: center;
  background-size: cover;
}

.page-hero--delivery {
  background-image:
    linear-gradient(
      90deg,
      rgba(17, 19, 17, 0.84) 0%,
      rgba(17, 19, 17, 0.62) 38%,
      rgba(17, 19, 17, 0.08) 74%
    ),
    var(--page-hero-image, url("/assets/delivery-hero-hq.png"));
}

.page-hero--about {
  background-image:
    linear-gradient(
      90deg,
      rgba(17, 19, 17, 0.86) 0%,
      rgba(17, 19, 17, 0.64) 42%,
      rgba(17, 19, 17, 0.08) 76%
    ),
    var(--page-hero-image, url("/assets/about-hero-hq.png"));
}

.page-hero--cart {
  min-height: 560px;
  color: white;
  background-image:
    linear-gradient(
      90deg,
      rgba(17, 19, 17, 0.78) 0%,
      rgba(17, 19, 17, 0.52) 38%,
      rgba(17, 19, 17, 0.05) 70%
    ),
    var(--page-hero-image, url("/assets/cart-hero-hq.png"));
  background-position: center;
  background-size: cover;
}

.page-hero--cart .page-hero-copy {
  width: min(680px, 100%);
}

.page-hero--cart h1 {
  color: white;
}

.page-hero--cart p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero--cart .section-kicker {
  color: #ff815f;
}

.page-hero--contacts {
  min-height: 560px;
  color: white;
  background-image:
    linear-gradient(
      90deg,
      rgba(17, 19, 17, 0.8) 0%,
      rgba(17, 19, 17, 0.54) 38%,
      rgba(17, 19, 17, 0.06) 70%
    ),
    var(--page-hero-image, url("/assets/contacts-hero-hq.png"));
  background-position: center;
  background-size: cover;
}

.page-hero--contacts .page-hero-copy {
  width: min(680px, 100%);
}

.page-hero--contacts h1 {
  color: white;
}

.page-hero--contacts p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero--contacts .section-kicker {
  color: #ff815f;
}

.page-hero--distributors {
  min-height: 560px;
  color: white;
  background-image:
    linear-gradient(
      90deg,
      rgba(17, 19, 17, 0.8) 0%,
      rgba(17, 19, 17, 0.5) 40%,
      rgba(17, 19, 17, 0.05) 70%
    ),
    var(--page-hero-image, url("/assets/distributors-hero-hq.png"));
  background-position: center;
  background-size: cover;
}

.page-hero--distributors .page-hero-copy {
  width: min(700px, 100%);
}

.page-hero--distributors h1 {
  color: white;
}

.page-hero--distributors p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero--distributors .section-kicker {
  color: #ff815f;
}

.page-hero--delivery .page-hero-copy,
.page-hero--about .page-hero-copy {
  width: min(700px, 100%);
}

.page-hero--delivery h1,
.page-hero--about h1 {
  color: white;
}

.page-hero--delivery p:not(.section-kicker),
.page-hero--about p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.86);
}

.page-hero--delivery .section-kicker,
.page-hero--about .section-kicker {
  color: #ff815f;
}

.about-content,
.about-partners,
.about-history,
.about-benefits,
.about-assortment,
.about-quality {
  max-width: var(--max);
  justify-content: center;
  width: 100%;
  font-size: 13px;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: 72px;
  align-items: start;
}

.about-intro h2,
.about-history > h2,
.about-quality > h2 {
  max-width: 820px;
  margin: 8px 0 24px;
}

.about-intro > p:not(.section-kicker),
.about-partners p,
.about-columns p,
.about-assortment-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-highlights {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about-highlights li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.4;
}

.about-highlights li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--brand);
  content: "✓";
}

.about-partners,
.about-benefits {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 72px;
  border-top: 1px solid var(--line);
}

.about-partners h2,
.about-benefits h2 {
  margin-top: 8px;
}

.about-partners p:first-child {
  margin-top: 0;
}

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

.about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.about-principles article {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.about-principles article > span {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.about-principles h3 {
  margin: 10px 0 12px;
  font-size: 22px;
}

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

.about-benefits ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  counter-reset: benefit;
  list-style: none;
}

.about-benefits li {
  position: relative;
  padding: 20px 0 20px 54px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.65;
  counter-increment: benefit;
}

.about-benefits li::before {
  position: absolute;
  top: 18px;
  left: 0;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  content: counter(benefit, decimal-leading-zero);
}

.about-assortment-lead {
  max-width: 780px;
  margin-bottom: 0;
}

.about-assortment .section-heading {
  align-items: flex-end;
  margin-bottom: 28px;
}

.about-assortment .section-heading h2 {
  max-width: 820px;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
}

.about-assortment .section-heading .button {
  flex: 0 0 auto;
  min-width: 190px;
  min-height: 52px;
  padding: 12px 24px;
  white-space: nowrap;
}

.about-assortment > ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.about-assortment > ul li {
  position: relative;
  min-height: 58px;
  padding: 17px 0 17px 24px;
  border-bottom: 1px solid var(--line);
  line-height: 1.45;
}

.about-assortment > ul li::before {
  position: absolute;
  top: 24px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}

.about-quality {
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .about-content,
  .about-partners,
  .about-benefits {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-columns,
  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles {
    gap: 0;
  }

  .about-assortment > ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-assortment .section-heading {
    align-items: flex-start;
  }

  .about-assortment .section-heading .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .about-intro > p:not(.section-kicker),
  .about-partners p,
  .about-columns p,
  .about-assortment-lead {
    font-size: 16px;
  }

  .about-assortment > ul {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-assortment .section-heading h2 {
    font-size: 34px;
  }

  .about-assortment .section-heading .button {
    width: 100%;
  }

  .about-principles h3 {
    font-size: 20px;
  }
}

.page-lead {
  max-width: 610px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.distributor-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 80px;
  align-items: start;
}

.distributor-copy {
  max-width: 830px;
}

.distributor-copy h2 {
  max-width: 760px;
  margin: 10px 0 28px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
}

.distributor-copy > p:not(.section-kicker) {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.distributor-contact {
  position: sticky;
  top: calc(var(--site-header-height, 132px) + 20px);
  display: grid;
  gap: 18px;
  max-height: calc(100vh - var(--site-header-height, 132px) - 40px);
  max-height: calc(100dvh - var(--site-header-height, 132px) - 40px);
  padding: 32px;
  border-radius: 8px;
  background: var(--dark);
  color: white;
  box-shadow: var(--shadow);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.distributor-contact > span {
  color: #ff815f;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.distributor-contact h2,
.distributor-contact p {
  margin: 0;
}

.distributor-contact h2 {
  color: white;
  font-size: 30px;
  line-height: 1.15;
}

.distributor-contact p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.distributor-contact .button {
  width: 100%;
}

.distributor-email {
  color: white;
  font-weight: 500;
  text-align: center;
}

.distributor-email:hover {
  color: #ff815f;
}

/* Unified outlines keep controls and content blocks visually distinct. */
:where(
  .hero,
  .page-hero,
  .button,
  button,
  input,
  select,
  textarea,
  .category-card,
  .product-card,
  .advantage-grid > article,
  .faq-card,
  .service-steps > article,
  .contacts-grid > article,
  .certificate-document,
  .ral-family,
  .ral-selected,
  .tone-card,
  .tinting-step-list > article,
  .formula-card,
  .price-download,
  .wholesale-form,
  .catalog-panel,
  .catalog-sidebar,
  .cart-row,
  .cart-summary,
  .saved-products-actions,
  .empty-state,
  .distributor-contact
) {
  outline: 1px solid var(--ui-outline);
  outline-offset: -1px;
}

:where(
  .distributor-contact,
  .page-hero--delivery,
  .page-hero--about,
  .page-hero--cart,
  .page-hero--contacts,
  .page-hero--distributors
) {
  --ui-outline: rgba(255, 255, 255, 0.28);
}

:where(
  .button,
  button,
  input,
  select,
  textarea,
  .category-card,
  .product-card,
  .certificate-document,
  .tone-card,
  .price-download
):is(:hover, :focus-visible) {
  outline-color: var(--ui-outline-active);
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto 24px;
}

.catalog-category-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  max-width: var(--max);
  margin: 0 auto 18px;
}

.catalog-category-strip a,
.active-filters a,
.view-switch a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
}

.catalog-category-strip a {
  justify-content: space-between;
  min-width: 0;
  min-height: 48px;
  white-space: normal;
  border-radius: 8px;
  line-height: 1.25;
}

.catalog-category-strip span {
  color: var(--soft);
  font-size: 12px;
}

.catalog-category-strip a.is-active,
.view-switch a.is-active {
  border-color: rgba(201, 78, 47, 0.35);
  background: rgba(201, 78, 47, 0.08);
  color: var(--brand);
}

.catalog-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.8fr) minmax(
      180px,
      0.8fr
    ) auto;
  gap: 14px;
  max-width: var(--max);
  margin: -18px auto 32px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 5px 16px rgba(30, 30, 30, 0.04);
}

.catalog-panel.enhanced {
  grid-template-columns: minmax(220px, 1.35fr) minmax(160px, 0.8fr) repeat(
      2,
      minmax(120px, 0.55fr)
    ) minmax(170px, 0.8fr) minmax(160px, 0.7fr) auto;
  margin-top: 0;
}

.catalog-panel label,
.checkout-form {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.catalog-panel input,
.catalog-panel select,
.checkout-form input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink);
  padding: 0 14px;
}

.catalog-panel .button {
  align-self: end;
  height: 44px;
  padding-block: 0;
}

.catalog-checkbox {
  align-self: end;
  min-height: 44px;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  padding: 0 14px;
  color: var(--ink);
  font-size: 14px;
}

.catalog-checkbox input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: var(--brand);
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto 24px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.active-filters a::after {
  content: "×";
  color: var(--brand);
  font-weight: 900;
}

.active-filters a.reset {
  border-color: transparent;
  background: transparent;
  color: var(--brand);
  padding-inline: 4px;
}

.active-filters a.reset::after {
  content: "";
}

.view-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.view-switch a {
  min-height: 32px;
  border-radius: 999px;
  padding: 6px 12px;
}

.empty-state {
  display: grid;
  justify-items: center;
  gap: 12px;
  grid-column: 1 / -1;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
  font-size: 20px;
}

.saved-products {
  min-height: 62vh;
}

.saved-products .section-heading {
  align-items: end;
}

.saved-products .section-heading h1 {
  margin-bottom: 10px;
}

.saved-products .section-heading p:last-child {
  max-width: 680px;
  color: var(--muted);
}

.saved-products-actions {
  display: grid;
  justify-items: end;
}

.saved-products-actions strong {
  color: var(--brand);
  font-size: 42px;
  line-height: 1;
}

.saved-products-actions span {
  color: var(--muted);
  font-size: 13px;
}

.saved-products-actions button {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand);
  font-weight: 700;
  cursor: pointer;
}

.saved-products-grid {
  max-width: var(--max);
  margin-inline: auto;
}

.saved-products-empty {
  min-height: 310px;
  max-width: var(--max);
  margin-inline: auto;
  border-radius: 12px;
  background: var(--panel);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(420px, 600px) minmax(440px, 1fr);
  column-gap: clamp(36px, 4vw, 64px);
  row-gap: 14px;
  align-items: start;
  max-width: 1400px;
  margin-inline: auto;
  padding-top: 22px;
}

.product-breadcrumbs {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  margin-bottom: 2px;
  color: var(--soft);
  font-size: 13px;
}

.product-breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.product-breadcrumbs a:hover {
  color: var(--brand);
}

.product-breadcrumbs > span:last-child {
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-gallery-column {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  position: sticky;
  top: 96px;
}

.product-gallery {
  width: min(100%, 570px);
  overflow: hidden;
  border: 1px solid #eceae7;
  border-radius: 18px;
  background: #f7f7f7;
  box-shadow: none;
}

.product-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-detail-copy {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  padding: 4px 0 0;
}

.product-detail-copy h1 {
  max-width: 720px;
  margin: 10px 0 12px;
  font-size: clamp(29px, 2.4vw, 39px);
  line-height: 1.12;
}

.product-detail-copy .product-summary {
  max-width: 700px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.product-detail-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}

.product-detail-meta .section-kicker {
  margin: 0;
}

.product-detail-meta > span {
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(55, 115, 76, 0.1);
  color: #316a43;
  font-size: 13px;
  font-weight: 700;
}

.product-detail-meta > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-detail-meta small {
  color: var(--soft);
  font-size: 12px;
  white-space: nowrap;
}

.product-detail-meta > div > span {
  max-width: 240px;
  overflow: hidden;
  padding: 7px 11px;
  border-radius: 999px;
  background: #edf7ef;
  color: #316a43;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-specs div {
  display: grid;
  grid-template-columns: minmax(170px, 0.7fr) minmax(0, 1.3fr);
  gap: 20px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.product-specs div:last-child {
  border-bottom: 0;
}

.product-specs dt {
  color: var(--soft);
  font-size: 14px;
}

.product-specs dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-features {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.product-features li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.product-features img {
  width: 22px;
  height: 22px;
  padding: 3px;
  border: 1px solid rgba(201, 78, 47, 0.2);
  border-radius: 8px;
  background: rgba(201, 78, 47, 0.08);
}

.detail-buy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #eceae7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(35, 32, 28, 0.06);
}

.detail-buy > .button {
  width: 100%;
  min-height: 56px;
  margin: 0;
  box-shadow: none;
}

.detail-buy strong {
  font-size: 36px;
  line-height: 1;
}

.tier-price-picker {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.selected-price-label {
  margin-bottom: -12px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-price-picker fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.tier-price-picker legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.tier-price-picker label {
  display: flex;
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ddd9d4;
  border-radius: 12px;
  background: #faf9f7;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.tier-price-picker label:has(input:checked) {
  border-color: var(--brand);
  background: #fff5f1;
}

.tier-price-picker label > span {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
}

.tier-price-picker label b {
  color: var(--ink);
  font-size: 15px;
  white-space: nowrap;
}

.tier-price-picker input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 2px solid #b8aea2;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  cursor: pointer;
}

.tier-price-picker input:checked {
  border-color: var(--brand);
  background: radial-gradient(circle, var(--brand) 0 4px, #fff 5px);
}

.tier-price-picker input:focus-visible {
  outline: 3px solid rgba(201, 78, 47, 0.2);
  outline-offset: 3px;
}

.tier-price-picker small {
  grid-column: 1 / -1;
  color: var(--muted);
  line-height: 1.45;
}

.product-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 12px;
}

.product-secondary-actions .button {
  min-height: 44px;
  padding-inline: 16px;
  border-color: #ddd9d4;
  background: #fff;
}

.product-info-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-info-switcher button {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid #ddd9d4;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.product-info-switcher button:hover,
.product-info-switcher button[aria-expanded="true"] {
  border-color: var(--brand);
  background: #fff5f1;
  color: var(--brand-dark);
}

.product-info-switcher button:focus-visible {
  outline: 3px solid rgba(201, 78, 47, 0.18);
  outline-offset: 2px;
}

.product-info-switcher span {
  color: var(--brand);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.product-info-panel {
  max-height: 390px;
  margin-top: 10px;
  overflow-y: auto;
  padding: 20px;
  border: 1px solid #eceae7;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
  animation: product-info-in 180ms ease-out both;
}

.product-info-panel > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-line;
}

.product-info-panel .product-features {
  margin: 22px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

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

.quantity-control.detail-quantity {
  width: 100%;
  grid-template-columns: 48px minmax(48px, 1fr) 48px;
  border-color: var(--brand);
  border-radius: 8px;
  background: var(--brand);
  box-shadow: 0 10px 22px rgba(201, 78, 47, 0.2);
}

.quantity-control.detail-quantity button,
.quantity-control.detail-quantity span {
  height: 52px;
  color: #fff;
  font-size: 18px;
  line-height: 52px;
}

.quantity-control.detail-quantity button:hover {
  background: rgba(255, 255, 255, 0.14);
}

.quantity-control.detail-quantity span {
  border-right: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.stock-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  max-width: var(--max);
  margin-inline: auto;
}

.cart-list {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 16px;
  border: 1px solid rgba(142, 128, 108, 0.3);
  border-radius: 22px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.72),
      rgba(247, 243, 236, 0.92)
    ),
    var(--paper);
  box-shadow:
    0 14px 34px rgba(30, 30, 30, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.cart-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  align-self: start;
  padding: 16px;
  border: 1px solid rgba(142, 128, 108, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 22px rgba(30, 30, 30, 0.04);
}

.cart-row > img {
  width: 112px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
}

.cart-row h3 {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}

.cart-row p {
  margin-bottom: 8px;
  color: var(--muted);
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.quantity-control button {
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.quantity-control span {
  text-align: center;
  font-weight: 700;
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
}

.cart-summary {
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.cart-summary h2 {
  font-size: 34px;
}

.cart-summary > strong {
  display: block;
  margin: 16px 0;
  font-size: 32px;
}

.cart-summary p {
  color: var(--muted);
}

.cart-summary .price-tier-status {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(30, 30, 30, 0.06);
  color: var(--text);
  font-weight: 700;
}

.cart-summary .price-tier-status.is-active {
  background: rgba(201, 78, 47, 0.12);
  color: var(--brand-dark);
}

.checkout-form {
  margin-top: 20px;
}

.tinting-page {
  display: grid;
  gap: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(247, 243, 236, 0)),
    var(--paper);
}

.tinting-page > * {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.tinting-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: 28px;
  align-items: stretch;
}

.tinting-hero-copy,
.tinting-visual,
.tinting-workspace,
.tinting-request {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tinting-hero-copy {
  padding: 48px;
}

.tinting-hero-copy h1 {
  max-width: 790px;
}

.tinting-hero-copy > p:not(.section-kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.tinting-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 0;
}

.tinting-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.tinting-stats dt {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
}

.tinting-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.tinting-visual {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  padding: 32px;
  background:
    linear-gradient(145deg, rgba(30, 30, 30, 0.88), rgba(86, 54, 42, 0.88)),
    #2a2521;
  color: white;
}

.fan-deck {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 260px;
  height: 300px;
  transform: translateX(-50%);
}

.fan-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 112px;
  height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 54px 54px 14px 14px;
  transform-origin: 50% 94%;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.fan-card::after {
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  content: "";
}

.fan-card.tone-1 {
  background: #f1d577;
  transform: translateX(-50%) rotate(-30deg);
}

.fan-card.tone-2 {
  background: #bf593e;
  transform: translateX(-50%) rotate(-15deg);
}

.fan-card.tone-3 {
  background: #f2ece1;
  transform: translateX(-50%) rotate(0deg);
}

.fan-card.tone-4 {
  background: #789a8b;
  transform: translateX(-50%) rotate(15deg);
}

.fan-card.tone-5 {
  background: #4b6174;
  transform: translateX(-50%) rotate(30deg);
}

.formula-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.formula-card span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.formula-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.08;
}

.formula-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.tinting-systems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tinting-systems.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.tinting-system-card {
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: 0 5px 14px rgba(30, 30, 30, 0.035);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tinting-system-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tinting-system-card > span {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.95;
}

.tinting-system-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.swatch-row {
  display: flex;
  gap: 8px;
  align-self: end;
}

.swatch-row i {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(30, 30, 30, 0.12);
  border-radius: 50%;
  background: var(--swatch);
}

.tinting-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
  gap: 32px;
  padding: 36px;
}

.tinting-controls h2 {
  margin-bottom: 22px;
}

.tinting-step-list {
  display: grid;
  gap: 12px;
}

.tinting-step-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.tinting-step-list span {
  grid-row: span 2;
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1;
}

.tinting-step-list strong {
  font-size: 16px;
}

.tinting-step-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.tinting-preview {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-head > span {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tone-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: max-content;
  align-content: start;
  gap: 12px;
}

.tinting-preview .tone-card {
  grid-template-columns: 72px minmax(0, 1fr);
  min-height: 112px;
  padding: 18px;
}

.tinting-preview .tone-card i {
  width: 72px;
  height: 72px;
}

.tinting-preview .tone-card strong {
  font-size: 18px;
}

.tinting-preview .tone-card span {
  font-size: 14px;
}

.tone-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.tone-card.is-selected,
.ral-chip.is-selected {
  border-color: rgba(201, 78, 47, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 78, 47, 0.13);
}

.tone-card i {
  grid-row: span 2;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(30, 30, 30, 0.14);
  border-radius: 50%;
  background: var(--tone);
}

.tone-card strong {
  font-size: 14px;
}

.tone-card span {
  color: var(--muted);
  font-size: 12px;
}

.ral-picker {
  display: grid;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ral-picker-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: end;
}

.ral-picker-head h2 {
  max-width: 760px;
}

.ral-picker-head p:not(.section-kicker) {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.ral-picker-summary {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  justify-self: end;
}

.ral-picker-summary > .button {
  width: 100%;
  min-height: 50px;
  justify-content: center;
  text-align: center;
}

.mobile-tinting-order-cta {
  display: none;
}

.tinting-reference-charts {
  display: grid;
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.tinting-reference-head {
  max-width: 780px;
}

.tinting-reference-head > p:not(.section-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.tinting-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.tinting-reference-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.tinting-reference-card h3 {
  margin: 0;
  font-size: 24px;
}

.tinting-reference-card p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.tinting-reference-card > a {
  display: grid;
  grid-template-rows: 360px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.tinting-reference-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: contain;
}

.tinting-reference-card > a span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  background: var(--dark);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.tinting-reference-card > a:hover span,
.tinting-reference-card > a:focus-visible span {
  background: var(--brand);
}

.ral-selected {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  column-gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.ral-selected i {
  grid-row: span 3;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(30, 30, 30, 0.14);
  border-radius: 50%;
  background: var(--selected);
}

.ral-selected span {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ral-selected strong {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.05;
}

.ral-selected small {
  max-height: 42px;
  overflow: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.ral-family-grid {
  display: grid;
  gap: 16px;
}

.ral-family {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.ral-family-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

.ral-family-head strong {
  font-size: 16px;
}

.ral-family-meta {
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ral-family-chevron {
  display: none;
}

.ral-palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
}

.ral-palette-grid[hidden] {
  display: none;
}

.ral-chip {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-height: 64px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.ral-chip i {
  width: 36px;
  height: 100%;
  min-height: 48px;
  border: 1px solid rgba(30, 30, 30, 0.14);
  border-radius: 7px;
  background: var(--tone);
}

.ral-chip span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  text-align: left;
}

.ral-chip span strong {
  font-size: 12px;
}

.ral-chip span small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.ral-chip.is-selected::after {
  content: "✓";
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 11px;
}

.ral-chip.is-selected {
  grid-template-columns: 36px minmax(0, 1fr) 18px;
}

.tone-grid-empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.tinting-request {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: 34px;
  align-items: start;
  padding: 42px;
}

.tinting-request > div > p:not(.section-kicker) {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.tinting-form {
  padding: 28px;
  background: white;
  box-shadow: none;
}

.tinting-grid,
.service-steps,
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
}

.tinting-grid article,
.service-steps article,
.contacts-grid article {
  min-height: 170px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 5px 14px rgba(30, 30, 30, 0.035);
}

.contacts-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
}

.contacts-grid h2 {
  margin: 0;
  font-size: clamp(38px, 4.1vw, 54px);
  line-height: 0.98;
}

.contacts-grid p {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.service-steps span {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
}

.contacts-grid a {
  color: var(--brand);
  font-weight: 500;
}

.contact-phone-list {
  display: grid;
  gap: 8px;
}

.contact-phone-list > div {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: baseline;
}

.contact-phone-list span {
  color: var(--muted);
  font-size: 13px;
}

.contact-phone-list span a {
  font-size: inherit;
}

.delivery-pickup {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  align-items: start;
  gap: 24px;
  max-width: var(--max);
  margin-inline: auto;
  padding-top: 0;
}

.delivery-pickup-copy,
.delivery-pickup-action {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.delivery-pickup-copy {
  background: var(--panel);
}

.delivery-pickup-copy h2,
.contacts-map-heading h2 {
  margin: 8px 0 16px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.delivery-pickup-copy > p:not(.section-kicker) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.delivery-pickup-meta {
  display: grid;
  gap: 5px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.delivery-pickup-meta span,
.delivery-pickup-meta small {
  color: var(--muted);
}

.delivery-pickup-meta strong {
  font-size: 20px;
}

.delivery-pickup-action {
  display: grid;
  align-content: start;
  gap: 24px;
  background: var(--dark);
  color: white;
}

.delivery-pickup-action > span {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 54px;
}

.delivery-pickup-action p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.6;
}

.contacts-map-section {
  max-width: var(--max);
  margin-inline: auto;
  padding-top: 0;
}

.contacts-map-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 24px;
}

.contacts-map-heading p {
  margin: 0;
}

.contacts-map-heading > div:last-child {
  display: grid;
  gap: 7px;
  justify-items: end;
  color: var(--muted);
  text-align: right;
}

.contacts-map-heading a {
  color: var(--brand);
  font-weight: 500;
}

.contacts-map {
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #e9e6e0;
  box-shadow: 0 8px 24px rgba(30, 30, 30, 0.06);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
}

.contacts-route-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding: 20px 24px;
  border: 1px solid rgba(201, 78, 47, 0.3);
  border-left: 5px solid var(--brand);
  border-radius: 12px;
  background: var(--panel);
}

.contacts-route-note strong {
  color: var(--brand-dark);
  font-size: 17px;
}

.contacts-route-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .delivery-pickup {
    grid-template-columns: 1fr;
  }

  .delivery-pickup-action {
    gap: 20px;
    padding: 28px 24px;
  }

  .delivery-pickup-action > span {
    font-size: 46px;
    line-height: 1;
  }

  .tinting-reference-charts {
    gap: 18px;
    padding: 22px;
  }

  .tinting-reference-grid {
    grid-template-columns: 1fr;
  }

  .tinting-reference-card {
    gap: 14px;
    padding: 14px;
  }

  .tinting-reference-card h3 {
    font-size: 20px;
  }

  .tinting-reference-card > a {
    grid-template-rows: clamp(240px, 70vw, 420px) auto;
  }

  .tinting-reference-card img {
    height: clamp(240px, 70vw, 420px);
  }

  .contacts-map-heading {
    align-items: start;
    flex-direction: column;
  }

  .contacts-map-heading > div:last-child {
    justify-items: start;
    text-align: left;
  }

  .contacts-map,
  .contacts-map iframe {
    height: 380px;
    min-height: 380px;
  }
}

.contacts-grid .contact-socials-card {
  grid-column: 1 / -1;
  min-height: 0;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-social-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 16px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-social-links a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.contact-social-links img {
  width: 30px;
  height: 30px;
}

.certificates-page {
  background: var(--paper);
}

.certificates-hero {
  max-width: var(--max);
  margin: 0 auto 38px;
}

.certificates-hero > div {
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    linear-gradient(
      90deg,
      rgba(17, 19, 17, 0.86) 0%,
      rgba(17, 19, 17, 0.63) 43%,
      rgba(17, 19, 17, 0.06) 78%
    ),
    var(--certificates-hero-image, url("/assets/certificates-hero-hq.png")) center / cover;
  box-shadow: var(--shadow);
  padding: 42px;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.certificates-hero p:not(.section-kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.65;
}

.certificates-hero h1 {
  max-width: 760px;
  color: white;
}

.certificates-hero .section-kicker {
  color: #ff815f;
}

.certificates-hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.certificates-hero .button.secondary:hover {
  background: white;
  color: var(--ink);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: var(--max);
  margin-inline: auto;
}

.certificate-card {
  display: grid;
  gap: 18px;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 24px;
  box-shadow: 0 5px 16px rgba(30, 30, 30, 0.04);
}

.certificate-stamp {
  justify-self: start;
  border: 1px solid rgba(201, 78, 47, 0.35);
  border-radius: 999px;
  background: rgba(201, 78, 47, 0.08);
  color: var(--brand);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.certificate-card > p {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.certificate-card h2 {
  margin: 0;
  font-size: 30px;
}

.certificate-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.certificate-card dl div {
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.certificate-card dt {
  color: var(--soft);
  font-size: 12px;
}

.certificate-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.certificate-card > a {
  align-self: end;
  color: var(--brand);
  font-weight: 800;
}

.certificate-gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto 24px;
}

.certificate-gallery-head h2,
.certificate-gallery-head p {
  margin-bottom: 0;
}

.certificate-gallery-head > p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.55;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--max);
  margin-inline: auto;
}

.certificate-document {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  box-shadow: 0 5px 16px rgba(30, 30, 30, 0.04);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.certificate-document:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 78, 47, 0.38);
  box-shadow: 0 16px 34px rgba(30, 30, 30, 0.1);
}

.certificate-document-preview {
  aspect-ratio: 4 / 5;
  min-height: 0;
  padding: 14px;
  border-bottom: 1px solid var(--line);
  background: #f0ede7;
}
.certificate-pdf-placeholder {
  min-height: 360px;
  display: grid;
  place-items: center;
  background: #ece9e3;
  color: var(--brand);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: .08em;
}

.certificate-document-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  box-shadow: 0 4px 18px rgba(30, 30, 30, 0.12);
}

.certificate-document-meta {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
}

.certificate-document-meta > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.certificate-document-meta strong {
  font-size: 20px;
  line-height: 1.25;
}

.certificate-document-meta small {
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.certificate-document-meta b {
  margin-top: 8px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 500;
}

.document-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.document-flow article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  padding: 28px;
}

.document-flow span {
  color: var(--brand);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  font-style: italic;
}

.document-flow h2 {
  margin: 18px 0 10px;
  font-size: 30px;
}

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

.in-page-error {
  min-height: 760px;
}

.error-page {
  min-height: 100vh;
  min-height: 100dvh;
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(280px, 520px);
  gap: 80px;
  align-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 80px;
}

.error-layout h1 {
  margin-bottom: 24px;
}

.error-layout p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.help-line {
  font-weight: 700;
}

.error-layout aside {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 50%;
  background: #eee8de;
}

.error-layout aside strong {
  font-family: var(--font-display);
  font-size: clamp(110px, 15vw, 170px);
  line-height: 1;
}

.error-layout aside span {
  position: absolute;
  padding: 11px 18px;
  border-radius: 999px;
  background: white;
  color: var(--muted);
  font-size: 14px;
  box-shadow: var(--shadow);
}

.error-layout aside span:first-of-type {
  top: 70px;
  left: 20px;
}

.error-layout aside span:last-of-type {
  right: 0;
  bottom: 75px;
}

@media (max-width: 1320px) {
  .header-main {
    flex-wrap: wrap;
    row-gap: 10px;
    padding-inline: 32px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    padding-top: 0;
  }

  .hero-inner,
  .wholesale {
    grid-template-columns: 1fr;
  }

  .cart-layout,
  .distributor-content,
  .certificates-hero,
  .tinting-hero,
  .tinting-workspace,
  .tinting-request,
  .ral-picker-head {
    grid-template-columns: 1fr;
  }

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

  .hero-card {
    max-width: none;
  }

  .product-grid,
  .advantage-grid,
  .certificate-grid,
  .tinting-systems {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tinting-visual {
    min-height: 420px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .wholesale {
    gap: 48px;
  }

  .distributor-content {
    gap: 36px;
  }

  .distributor-contact {
    position: static;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
  }
}

@media (min-width: 1180px) and (max-width: 1320px) {
  .popular-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: static;
  }

  .site-header.is-menu-open {
    position: fixed;
    top: var(--visual-viewport-offset-top, 0px);
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    height: 100vh;
    height: var(--visual-viewport-height, 100dvh);
    max-height: none;
    flex-direction: column;
    overflow: hidden;
    overscroll-behavior: contain;
  }

  .site-header.is-menu-open .mobile-menu {
    position: static;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ral-picker-summary {
    max-width: none;
    justify-self: stretch;
  }

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

  .product-breadcrumbs {
    grid-column: 1;
    grid-row: 1;
  }

  .product-gallery-column {
    grid-column: 1;
    grid-row: 2;
    position: static;
  }

  .product-detail-copy {
    grid-column: 1;
    grid-row: 3;
  }

  .top-promo {
    flex-direction: column;
    gap: 4px;
    padding-right: max(22px, calc(var(--safe-area-right) + 12px));
    padding-left: max(22px, calc(var(--safe-area-left) + 12px));
    font-size: 12px;
  }

  .header-phone-primary {
    display: none;
  }

  .header-phone-mobile-toggle {
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }

  .header-phone-popover {
    right: auto;
    left: 0;
    min-width: 230px;
  }

  .header-phone-menu:hover .header-phone-popover:not(.is-open),
  .header-phone-menu:focus-within .header-phone-popover:not(.is-open) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    pointer-events: none;
  }

  .header-phone-popover.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header-main,
  .hero-inner,
  .section,
  .site-footer,
  .error-layout {
    padding-right: max(22px, calc(var(--safe-area-right) + 12px));
    padding-left: max(22px, calc(var(--safe-area-left) + 12px));
  }

  .header-main {
    flex-wrap: nowrap;
    gap: 18px;
    padding-block: 16px;
  }

  .logo span,
  .footer-logo span {
    font-size: 30px;
  }

  .logo img {
    width: 48px;
    height: 48px;
  }

  .header-actions {
    width: auto;
    margin-left: auto;
  }

  .header-actions .search-field,
  .header-actions .icon-button,
  .main-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    background: var(--ink);
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 40;
    top: var(--mobile-menu-top, 122px);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 24px;
    padding: 24px max(22px, calc(var(--safe-area-right) + 12px))
      calc(36px + var(--safe-area-bottom))
      max(22px, calc(var(--safe-area-left) + 12px));
    border-top: 1px solid var(--line);
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
    overflow-y: auto;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mobile-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
  }

  .mobile-search img {
    width: 19px;
    height: 19px;
  }

  .mobile-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
  }

  .mobile-search .search-suggestions {
    right: -1px;
    left: -1px;
    width: auto;
  }

  .mobile-menu nav {
    display: grid;
  }

  .mobile-menu nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    font-weight: 500;
  }

  .mobile-menu nav a span {
    color: var(--brand);
    font-size: 22px;
  }

  .mobile-menu-phone {
    display: grid;
    gap: 8px;
  }

  .mobile-menu-phone-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 78, 47, 0.28);
    border-radius: 10px;
    background: #fff;
    color: var(--brand);
    text-align: left;
    cursor: pointer;
  }

  .mobile-menu-phone-toggle span {
    display: grid;
    gap: 3px;
    font-size: 19px;
    font-weight: 600;
  }

  .mobile-menu-phone-toggle small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
  }

  .mobile-menu-phone-list {
    display: grid;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .mobile-menu-phone-list a {
    min-height: 48px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
  }

  .mobile-menu-phone-list a:last-child {
    border-bottom: 0;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero {
    height: clamp(360px, 56.25vw, 500px);
  }

  .hero-overlay {
    width: min(610px, calc(100vw - 44px));
    margin-left: 22px;
    padding-block: 34px 105px;
  }

  .hero-badge {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .hero-overlay h1 {
    margin-bottom: 12px;
    font-size: clamp(38px, 7vw, 54px);
  }

  .hero-description {
    max-width: 540px;
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-overlay .hero-actions {
    margin-bottom: 20px;
  }

  .hero-stats dt {
    font-size: 24px;
  }

  .hero-inner {
    gap: 36px;
    padding-block: 56px 44px;
  }

  .hero-card {
    aspect-ratio: 16 / 10;
  }

  .hero-carousel-controls {
    bottom: 12px;
  }

  .section {
    padding-block: 72px;
  }

  .service-steps {
    padding-bottom: 24px;
  }

  .delivery-pickup {
    padding-top: 24px;
  }

  .section-heading,
  .products-heading,
  .catalog-head,
  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 32px;
  }

  .catalog-head,
  .catalog-toolbar {
    display: flex;
  }

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

  .tinting-grid,
  .faq-grid,
  .service-steps,
  .contacts-grid,
  .document-flow,
  .tone-grid {
    grid-template-columns: 1fr;
  }

  .tinting-hero-copy,
  .tinting-workspace,
  .tinting-request,
  .ral-picker {
    padding: 28px;
  }

  .tinting-visual {
    min-height: 380px;
  }

  .cart-row {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .quantity-control,
  .remove-button {
    grid-column: 2;
    justify-self: start;
  }

  .catalog-tools {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .error-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 56px;
  }

  .ral-family {
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    outline: 0;
  }

  .ral-family-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
    min-height: 62px;
    padding: 13px 2px;
    outline: 0;
    cursor: pointer;
  }

  .ral-family-head:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
  }

  .ral-family-head strong,
  .ral-family-meta {
    grid-column: 1;
  }

  .ral-family-chevron {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: block;
    width: 22px;
    height: 22px;
    align-self: center;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease;
  }

  .ral-family.is-open .ral-family-chevron {
    transform: rotate(180deg);
  }

  .ral-palette-grid {
    grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
    padding: 0 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-slide {
    transform: none;
    transition: opacity 180ms linear;
  }
}

@media (max-width: 640px) {
  .mobile-tinting-order-cta {
    position: fixed;
    z-index: 80;
    right: max(86px, calc(var(--safe-area-right) + 78px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    left: max(14px, calc(var(--safe-area-left) + 8px));
    display: inline-flex;
    width: auto;
    min-height: 54px;
    padding: 13px 18px;
    justify-content: center;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(130, 45, 26, 0.3);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
  }

  .header-main {
    gap: 10px;
    padding-inline: 16px;
  }

  .header-actions {
    gap: 9px;
  }

  .header-section-link,
  .cart-button {
    min-width: 26px;
  }

  .header-section-link span {
    right: -7px;
  }

  .hero {
    height: 590px;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(18, 23, 19, 0.86) 0%,
      rgba(18, 23, 19, 0.7) 64%,
      rgba(18, 23, 19, 0.28) 100%
    );
  }

  .hero-bg-slide {
    background-position: 67% center;
  }

  .hero-overlay {
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-block: 30px 110px;
  }

  .hero-overlay h1 {
    font-size: 38px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-overlay .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-overlay .button {
    width: 100%;
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stats div {
    min-width: 0;
    flex: 1;
    padding-inline: 12px;
  }

  .hero-stats dt {
    font-size: 22px;
  }

  .hero-stats dd {
    font-size: 10px;
  }

  .top-promo span {
    display: none;
  }

  .top-promo {
    align-items: flex-start;
    padding-block: 8px;
  }

  .mobile-menu {
    --mobile-menu-top: 106px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .trust-row {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .trust-row div + div::before {
    left: -7px;
  }

  .category-grid,
  .product-grid,
  .advantage-grid,
  .faq-grid,
  .form-row,
  .footer-top,
  .catalog-panel,
  .catalog-panel.enhanced,
  .certificate-grid,
  .product-specs,
  .tinting-systems,
  .tinting-stats {
    grid-template-columns: 1fr;
  }

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

  .popular-product-grid .product-card {
    border-radius: 10px;
  }

  .popular-product-grid .product-image {
    height: auto;
    aspect-ratio: 1.15 / 1;
  }

  .popular-product-grid .favorite-toggle {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .popular-product-grid .favorite-toggle img {
    width: 15px;
    height: 15px;
  }

  .popular-product-grid .product-info {
    min-height: 230px;
    padding: 11px;
  }

  .popular-product-grid .product-meta {
    gap: 4px;
    margin-bottom: 7px;
  }

  .popular-product-grid .product-meta span {
    min-width: 0;
    max-width: 100%;
    min-height: 20px;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
  }

  .popular-product-grid .product-info h3 {
    min-height: 82px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.15;
  }

  .popular-product-grid .product-info h3 + p {
    display: none;
  }

  .popular-product-grid .volume-row {
    padding-bottom: 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  .popular-product-grid .price-row {
    gap: 8px;
    padding-top: 9px;
  }

  .popular-product-grid .price-row strong {
    font-size: 18px;
  }

  .popular-product-grid .price-actions {
    grid-template-columns: 1fr;
  }

  .popular-product-grid .price-actions > a {
    display: none;
  }

  .popular-product-grid .cart-add-button {
    justify-content: center;
    min-width: 0;
    padding: 8px 6px;
    font-size: 11px;
  }

  .popular-product-grid .cart-add-button img {
    width: 14px;
    height: 14px;
  }

  .faq-card {
    min-height: auto;
    padding: 24px;
  }

  .faq-card h3 {
    font-size: 24px;
  }

  .tinting-page {
    gap: 28px;
  }

  .fan-deck {
    width: 220px;
    height: 260px;
  }

  .fan-card {
    width: 92px;
    height: 238px;
  }

  .formula-card strong {
    font-size: 24px;
  }

  .preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .ral-picker-head {
    align-items: flex-start;
  }

  .product-card.is-list {
    grid-template-columns: clamp(96px, 28vw, 112px) minmax(0, 1fr);
    align-items: stretch;
    min-height: 148px;
  }

  .product-card.is-list .product-media {
    height: 100%;
    min-height: 0;
  }

  .product-card.is-list .product-image {
    height: 100%;
    min-height: 148px;
  }

  .product-card.is-list .product-image > img {
    object-fit: contain;
  }

  .product-card.is-list .favorite-toggle {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
  }

  .product-card.is-list .favorite-toggle img {
    width: 15px;
    height: 15px;
  }

  .product-card.is-list .badge {
    top: 8px;
    left: 8px;
    min-width: 0;
    padding: 4px 6px;
    font-size: 9px;
  }

  .product-card.is-list .product-info {
    min-width: 0;
    min-height: 0;
    padding: 12px;
  }

  .product-card.is-list .product-meta {
    flex-wrap: nowrap;
    gap: 4px;
    min-width: 0;
    margin-bottom: 6px;
  }

  .product-card.is-list .product-meta span {
    min-width: 0;
    min-height: 20px;
    padding: 2px 6px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card.is-list .product-meta span:first-child {
    flex: 1 1 auto;
  }

  .product-card.is-list .product-meta span:last-child {
    flex: 0 0 auto;
  }

  .product-card.is-list .product-info h3 {
    display: -webkit-box;
    min-height: 0;
    margin: 0 0 6px;
    overflow: hidden;
    font-size: 17px;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .product-card.is-list .product-info h3 + p,
  .product-card.is-list .product-card-features {
    display: none;
  }

  .product-card.is-list .volume-row {
    min-width: 0;
    margin-top: auto;
    padding-bottom: 8px;
    font-size: 11px;
  }

  .product-card.is-list .volume-row span {
    overflow: hidden;
    color: var(--muted);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-card.is-list .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding-top: 8px;
  }

  .product-card.is-list .price-row strong {
    min-width: 0;
    overflow: hidden;
    font-size: 19px;
    text-overflow: ellipsis;
  }

  .product-card.is-list .price-actions {
    display: block;
  }

  .product-card.is-list .price-actions > a {
    display: none;
  }

  .product-card.is-list .cart-add-button {
    position: relative;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .product-card.is-list .cart-add-button img {
    width: 18px;
    height: 18px;
  }

  .product-card.is-list .cart-add-button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .product-card.is-list .cart-add-button.is-added img {
    display: none;
  }

  .product-card.is-list .cart-add-button.is-added::before {
    content: "\2713";
    font-size: 22px;
    line-height: 1;
  }

  .saved-products .section-heading {
    align-items: flex-start;
  }

  .saved-products-actions {
    justify-items: start;
  }

  .product-specs div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .product-info {
    min-height: 0;
  }

  .product-info h3 {
    min-height: 0;
    font-size: 30px;
  }

  .product-info h3 + p {
    min-height: 0;
  }

  .volume-row {
    padding-bottom: 12px;
  }

  .price-row {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .price-row strong {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-size: 30px;
  }

  .price-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 10px;
  }

  .price-actions > a,
  .price-row button {
    justify-content: center;
    width: 100%;
    min-height: 46px;
    font-size: 14px;
  }

  .certificates-hero > div {
    padding: 24px;
  }

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

  .catalog-tools > span:first-child {
    width: 100%;
  }

  .sort-control,
  .sort-toggle {
    width: 100%;
  }

  .sort-menu {
    width: 100%;
  }

  .wholesale-form {
    padding: 24px;
  }

  .price-download {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .price-file-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .price-download h3 {
    font-size: 18px;
  }

  .price-download > a {
    grid-column: 1 / -1;
    width: 100%;
  }

  .floating-contacts {
    display: none;
  }
}

/* Roboto has a taller Cyrillic x-height than the previous display face. */
h1,
h2,
h3,
.logo span,
.footer-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

p,
li,
dt,
dd,
label,
input,
textarea,
select,
button,
a {
  letter-spacing: 0;
}

.hero-copy h1,
.page-hero h1,
.catalog-head h1,
.product-detail h1,
.certificates-hero h1,
.tinting-hero h1,
.error-layout h1 {
  font-weight: 700;
  line-height: 1.08;
}

.product-info h3,
.contacts-grid h2,
.certificate-card h2,
.cart-row h3 {
  line-height: 1.18;
}

.service-steps h2,
.contacts-grid h2 {
  font-weight: 400;
  line-height: 1.08;
}

.service-steps h2 {
  font-size: clamp(32px, 3vw, 42px);
}

.contacts-grid h2 {
  font-size: clamp(32px, 3.3vw, 44px);
}

.service-steps span,
.contacts-grid a {
  font-weight: 400;
}

.button,
.price-row button,
.main-nav,
.top-promo {
  font-weight: 500;
}

@media (max-width: 900px) {
  .cart-layout,
  .cart-summary,
  .checkout-form,
  .checkout-form label,
  .checkout-form input {
    min-width: 0;
    max-width: 100%;
  }

  .checkout-form input {
    font-size: 16px;
  }

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

  .page-hero--delivery,
  .page-hero--about {
    min-height: 520px;
    background-position: 62% center;
  }

  .page-hero--delivery {
    background-image:
      linear-gradient(
        90deg,
        rgba(17, 19, 17, 0.9) 0%,
        rgba(17, 19, 17, 0.7) 54%,
        rgba(17, 19, 17, 0.2) 100%
      ),
      var(--page-hero-image, url("/assets/delivery-hero-hq.png"));
  }

  .page-hero--about {
    background-image:
      linear-gradient(
        90deg,
        rgba(17, 19, 17, 0.9) 0%,
        rgba(17, 19, 17, 0.72) 58%,
        rgba(17, 19, 17, 0.22) 100%
      ),
      var(--page-hero-image, url("/assets/about-hero-hq.png"));
  }

  .page-hero--cart {
    min-height: 520px;
    background-image:
      linear-gradient(
        90deg,
        rgba(17, 19, 17, 0.88) 0%,
        rgba(17, 19, 17, 0.68) 52%,
        rgba(17, 19, 17, 0.18) 100%
      ),
      var(--page-hero-image, url("/assets/cart-hero-hq.png"));
    background-position: 62% center;
  }

  .page-hero--contacts {
    min-height: 520px;
    background-image:
      linear-gradient(
        90deg,
        rgba(17, 19, 17, 0.9) 0%,
        rgba(17, 19, 17, 0.7) 54%,
        rgba(17, 19, 17, 0.18) 100%
      ),
      var(--page-hero-image, url("/assets/contacts-hero-hq.png"));
    background-position: 62% center;
  }

  .page-hero--distributors {
    min-height: 520px;
    background-image:
      linear-gradient(
        90deg,
        rgba(17, 19, 17, 0.9) 0%,
        rgba(17, 19, 17, 0.7) 54%,
        rgba(17, 19, 17, 0.18) 100%
      ),
      var(--page-hero-image, url("/assets/distributors-hero-hq.png"));
    background-position: 62% center;
  }

  .certificates-hero > div {
    min-height: 470px;
    background:
      linear-gradient(
        90deg,
        rgba(17, 19, 17, 0.92) 0%,
        rgba(17, 19, 17, 0.72) 58%,
        rgba(17, 19, 17, 0.22) 100%
      ),
      var(--certificates-hero-image, url("/assets/certificates-hero-hq.png")) 62% center / cover;
  }
}

@media (max-width: 640px) {
  .categories-action .button {
    width: 100%;
  }

  .catalog-category-strip {
    grid-template-columns: 1fr;
  }

  .certificate-gallery-head {
    display: grid;
    align-items: start;
  }

  .certificate-gallery {
    grid-template-columns: 1fr;
  }

  .page-hero--delivery,
  .page-hero--about {
    min-height: 500px;
    background-position: 68% center;
  }

  .page-hero--delivery .page-hero-copy,
  .page-hero--about .page-hero-copy {
    align-self: end;
  }

  .page-hero--cart {
    min-height: 500px;
    background-position: 68% center;
  }

  .page-hero--cart .page-hero-copy {
    align-self: end;
  }

  .page-hero--contacts {
    min-height: 500px;
    background-position: 68% center;
  }

  .page-hero--contacts .page-hero-copy {
    align-self: end;
  }

  .page-hero--distributors {
    min-height: 500px;
    background-position: 70% center;
  }

  .page-hero--distributors .page-hero-copy {
    align-self: end;
  }

  .certificates-hero > div {
    min-height: 500px;
    background-position: 68% center;
  }
}

/* Catalog workspace: navigation and filters stay in a clear left rail. */
.catalog-mobile-controls {
  display: none;
}

.catalog-filter-bar {
  max-width: var(--max);
  margin: 0 auto 32px;
}

.catalog-filter-bar .catalog-panel.enhanced {
  grid-template-columns: minmax(210px, 1.45fr) repeat(
      2,
      minmax(105px, 0.55fr)
    ) minmax(150px, 0.8fr) minmax(150px, 0.8fr) minmax(300px, auto);
  max-width: none;
  margin: 0;
}

.catalog-filter-actions {
  display: flex;
  align-self: end;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.catalog-filter-actions .button {
  flex: 1 1 130px;
  min-width: 118px;
}

.catalog-filter-actions .view-switch {
  flex: 0 0 auto;
}

.mobile-catalog-view-switch {
  display: none;
}

.catalog-search-control {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.catalog-search-control > label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.catalog-search-input-wrap,
.catalog-mobile-search-field {
  position: relative;
  min-width: 0;
}

.catalog-search-input-wrap input {
  padding-right: 40px;
}

.catalog-search-clear {
  position: absolute;
  top: 50%;
  right: 5px;
  display: inline-grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.catalog-search-clear:hover,
.catalog-search-clear:focus-visible {
  background: var(--paper);
  color: var(--brand);
  outline: 0;
}

.catalog-search-clear:focus-visible {
  box-shadow: 0 0 0 2px var(--ui-outline-active);
}

.catalog-search-suggestions {
  position: absolute;
  z-index: var(--z-dropdown);
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: min(390px, calc(100vw - 48px));
  max-height: 480px;
  overflow-y: auto;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 18px 48px rgba(30, 30, 30, 0.18);
}

.catalog-search-options {
  display: grid;
}

.catalog-search-suggestion {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 5px 8px;
  border-radius: 5px;
}

.catalog-search-suggestion:hover,
.catalog-search-suggestion:focus-visible,
.catalog-search-suggestion.is-active {
  background: var(--paper);
}

.catalog-search-suggestion > img {
  width: 54px;
  height: 54px;
  border-radius: 4px;
  object-fit: contain;
  background: var(--paper);
}

.catalog-search-suggestion > span {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.catalog-search-suggestion strong,
.catalog-search-suggestion small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-search-suggestion strong {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.25;
}

.catalog-search-suggestion small,
.catalog-search-empty {
  color: var(--muted);
  font-size: 12px;
}

.catalog-search-empty {
  margin: 0;
  padding: 14px;
}

.catalog-search-all {
  width: 100%;
  min-height: 40px;
  margin-top: 5px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  color: var(--brand);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.catalog-search-all:hover,
.catalog-search-all:focus-visible {
  border-color: var(--brand);
  background: var(--paper);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
  max-width: var(--max);
  margin-inline: auto;
}

.catalog-sidebar-track {
  position: relative;
  min-width: 0;
  min-height: var(--catalog-sidebar-height, auto);
}

.catalog-sidebar {
  position: relative;
  top: var(--catalog-sidebar-offset, 0);
  min-width: 0;
  height: max-content;
  max-height: none;
  overflow: visible;
  overflow-anchor: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  box-shadow: 0 4px 14px rgba(30, 30, 30, 0.04);
}

.catalog-sidebar[data-sticky-mode="top"],
.catalog-sidebar[data-sticky-mode="bottom"] {
  position: fixed;
  right: auto;
  left: var(--catalog-sidebar-left);
  width: var(--catalog-sidebar-width);
  z-index: 10;
}

.catalog-sidebar[data-sticky-mode="top"] {
  top: calc(var(--site-header-height) + 16px);
  bottom: auto;
}

.catalog-sidebar[data-sticky-mode="bottom"] {
  top: auto;
  bottom: 16px;
}

.catalog-sidebar-title {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.catalog-sidebar-title span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-sidebar-title strong,
.catalog-sidebar-title h1 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.catalog-sidebar .catalog-category-strip {
  grid-template-columns: 1fr;
  gap: 7px;
  max-width: none;
  margin: 0;
}

.catalog-sidebar .catalog-category-strip a {
  min-height: 42px;
  padding: 9px 12px;
  font-size: 13px;
  line-height: 1.25;
}

.catalog-sidebar .catalog-subcategory-list {
  display: grid;
  gap: 3px;
  margin: -2px 0 5px;
  padding: 6px 0 4px 13px;
  border-left: 2px solid rgba(201, 78, 47, 0.2);
}

.catalog-sidebar .catalog-subcategory-list a {
  min-height: 0;
  padding: 7px 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.catalog-sidebar .catalog-subcategory-list a:hover,
.catalog-sidebar .catalog-subcategory-list a.is-active {
  background: var(--paper);
  color: var(--brand);
}

.catalog-sidebar .catalog-panel.enhanced {
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: none;
  margin: 24px 0 0;
  padding: 16px;
  border-radius: 8px;
  box-shadow: none;
}

.catalog-sidebar .catalog-panel.enhanced.catalog-panel-top {
  margin: 0;
}

.catalog-category-title {
  margin-top: 28px;
}

.catalog-sidebar .catalog-panel .button {
  width: 100%;
}

.catalog-results {
  min-width: 0;
  scroll-margin-top: calc(var(--site-header-height) + 16px);
}

.catalog-results .catalog-toolbar {
  max-width: none;
  margin-top: 0;
}

.catalog-results > .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-results > .product-grid.is-list-view {
  grid-template-columns: 1fr;
}

@media (min-width: 901px) {
  .catalog-layout {
    width: 100%;
  }

  .catalog-results {
    min-height: 0;
  }

  .catalog-results .catalog-toolbar {
    padding-bottom: 14px;
    background: var(--paper);
  }

  .catalog-results > .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    min-height: 0;
  }

  .catalog-results > .product-grid.is-list-view {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1600px) {
  .catalog-filter-bar,
  .catalog-layout {
    max-width: 1480px;
  }

  .catalog-layout {
    grid-template-columns: minmax(230px, 240px) minmax(0, 1fr);
    gap: 20px;
  }

  .catalog-results > .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-results > .product-grid.is-list-view {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1320px) {
  .catalog-filter-bar .catalog-panel.enhanced {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-filter-actions {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .catalog-mobile-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    max-width: var(--max);
    margin: 0 auto 14px;
  }

  .catalog-mobile-actions {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px;
    align-items: center;
  }

  .catalog-mobile-control,
  .catalog-mobile-search {
    min-width: 0;
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 3px 10px rgba(30, 30, 30, 0.035);
  }

  .catalog-mobile-search-field {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
  }

  .catalog-mobile-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }

  .catalog-mobile-control svg {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .catalog-mobile-control:hover,
  .catalog-mobile-control:focus-visible {
    border-color: var(--ui-outline-active);
    outline: 0;
  }

  .catalog-mobile-control.is-active {
    border-color: var(--brand);
    background: var(--brand);
    box-shadow: 0 8px 20px rgba(201, 78, 47, 0.2);
    color: white;
  }

  .catalog-mobile-search {
    position: relative;
    z-index: var(--z-sticky-content);
    display: flex;
    align-items: center;
    overflow: visible;
    transition:
      border-color 160ms ease,
      box-shadow 160ms ease;
  }

  .catalog-mobile-search:focus-within {
    border-color: var(--ui-outline-active);
    box-shadow: 0 0 0 3px rgba(201, 78, 47, 0.1);
  }

  .catalog-mobile-search > .catalog-mobile-search-submit {
    display: inline-grid;
    flex: 0 0 34px;
    width: 34px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .catalog-mobile-search > .catalog-mobile-search-submit:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -4px;
  }

  .catalog-mobile-search > .catalog-mobile-search-submit img {
    width: 17px;
    height: 17px;
  }

  .catalog-mobile-search-suggestions {
    top: calc(100% + 7px);
    width: 100%;
    max-height: min(480px, calc(100vh - 190px));
    max-height: min(480px, calc(100dvh - 190px));
    max-height: min(480px, calc(var(--visual-viewport-height, 100dvh) - 190px));
  }

  .catalog-mobile-search input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 0 38px 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: 16px;
  }

  .catalog-mobile-search input::placeholder {
    color: var(--soft);
  }

  .catalog-mobile-search .catalog-search-clear {
    right: 2px;
  }

  .catalog-filter-bar {
    margin-bottom: 0;
  }

  .catalog-filter-bar > .catalog-sidebar-title {
    display: none;
  }

  .catalog-filter-bar .catalog-panel.enhanced {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-filter-bar.is-mobile-open .catalog-panel.enhanced {
    display: grid;
    margin: 0 auto 16px;
    padding: 18px;
    border-radius: 14px;
    background: white;
    box-shadow: 0 8px 24px rgba(30, 30, 30, 0.06);
  }

  .catalog-filter-bar .catalog-search-control {
    display: none;
  }

  .catalog-filter-actions .view-switch {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .catalog-sidebar-track {
    position: static;
    min-height: 0;
  }

  .catalog-sidebar {
    display: none;
    position: static;
    max-height: none;
    overflow: visible;
    top: auto;
  }

  .catalog-sidebar.is-mobile-open {
    display: block;
    margin-bottom: 4px;
    padding: 14px;
  }

  .catalog-sidebar.is-mobile-open .catalog-sidebar-title {
    display: none;
  }

  .catalog-sidebar .catalog-category-strip,
  .catalog-sidebar .catalog-panel.enhanced {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-catalog-view-switch {
    display: inline-flex;
    justify-self: end;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .catalog-mobile-control {
    gap: 5px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .catalog-mobile-control svg {
    width: 16px;
    height: 16px;
  }

  .mobile-catalog-view-switch {
    gap: 4px;
    padding: 3px;
  }

  .mobile-catalog-view-switch a {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .catalog-filter-bar .catalog-panel.enhanced {
    grid-template-columns: 1fr;
  }

  .catalog-search-suggestions {
    width: 100%;
  }

  .catalog-sidebar .catalog-category-strip,
  .catalog-sidebar .catalog-panel.enhanced,
  .catalog-results > .product-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filter-actions {
    grid-column: auto;
  }

  .catalog-layout {
    row-gap: 12px;
  }
}

@media (max-width: 380px) {
  .catalog-mobile-control {
    gap: 0;
    padding-inline: 6px;
    font-size: 11px;
  }

  .catalog-mobile-control svg {
    display: none;
  }

  .mobile-catalog-view-switch {
    gap: 3px;
    padding: 2px;
  }

  .mobile-catalog-view-switch a {
    min-height: 28px;
    padding: 4px 6px;
    font-size: 11px;
  }

  .catalog-mobile-search > .catalog-mobile-search-submit {
    flex-basis: 32px;
    width: 32px;
  }
}

button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chat-assistant {
  position: fixed;
  z-index: 90;
  right: max(96px, calc(var(--safe-area-right) + 88px));
  bottom: calc(
    24px + var(--safe-area-bottom) + var(--visual-viewport-bottom, 0px)
  );
  display: grid;
  justify-items: end;
  gap: 12px;
}

.chat-toggle {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 28px rgba(130, 45, 26, 0.28);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease;
}

.chat-toggle:hover { background: var(--brand-dark); transform: translateY(-2px); }

.chat-panel {
  width: min(380px, calc(100vw - 32px));
  max-width: calc(
    100vw - 32px - var(--safe-area-left) - var(--safe-area-right)
  );
  max-height: calc(
    100vh - var(--site-header-height, 132px) - 106px
  );
  max-height: calc(
    100svh - var(--site-header-height, 132px) - 106px
  );
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 20px 55px rgba(30, 30, 30, 0.2);
}

.chat-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--dark);
  color: #fff;
}

.chat-panel-header div { display: grid; gap: 3px; }
.chat-panel-header strong { font-size: 16px; }
.chat-panel-header span { color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.chat-close { padding: 0; border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 27px; line-height: 1; }
.chat-body, .chat-success { display: grid; gap: 14px; padding: 20px; }
.chat-message { padding: 12px 14px; border-radius: 10px; background: #f1ebe3; color: var(--ink); font-size: 14px; }
.chat-body label { display: grid; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 600; }
.chat-body input, .chat-body textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); padding: 11px 12px; outline: 0; }
.chat-body textarea { min-height: 104px; resize: vertical; }
.chat-body input:focus, .chat-body textarea:focus { border-color: var(--ui-outline-active); box-shadow: 0 0 0 3px rgba(201, 78, 47, 0.1); }
.chat-hint { color: var(--muted); font-size: 12px; font-weight: 400; line-height: 1.4; }
.chat-success strong { font-size: 18px; }
.chat-success p { margin: 0; color: var(--muted); font-size: 14px; }
.chat-back { justify-self: start; padding: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; text-decoration: underline; }

@media (max-width: 640px) {
  .chat-assistant {
    right: max(14px, calc(var(--safe-area-right) + 8px));
    bottom: calc(
      14px + var(--safe-area-bottom) + var(--visual-viewport-bottom, 0px)
    );
  }
  .chat-panel { width: min(380px, calc(100vw - 28px)); }
  .chat-assistant:has(.chat-body :is(input, textarea):focus) .chat-toggle {
    display: none;
  }
}
.form-notice.is-error {
  color: #a3291c;
}

.detail-favorite {
  margin-top: 0;
  gap: 8px;
}
.detail-favorite[aria-pressed="true"] {
  color: var(--accent);
}
.optional-field {
  font-weight: 400;
  color: var(--muted);
}
.checkout-form label {
  display: grid;
  gap: 8px;
}

@media (max-width: 640px) {
  .product-detail {
    gap: 28px;
  }

  .product-detail-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-breadcrumbs {
    margin-bottom: -12px;
  }

  .product-breadcrumbs > span:last-child {
    display: none;
  }

  .product-gallery-column {
    position: static;
  }

  .product-detail-meta > div {
    width: 100%;
    justify-content: space-between;
  }

  .product-detail-copy h1 {
    font-size: 34px;
  }

  .detail-buy {
    align-items: stretch;
    padding: 18px;
  }

  .detail-buy > .button,
  .detail-buy > .detail-quantity,
  .tier-price-picker {
    width: 100%;
  }

  .tier-price-picker fieldset {
    grid-template-columns: 1fr;
  }

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

  .product-info-panel {
    max-height: 55vh;
    padding: 16px;
  }
}

.catalog-page { padding-top: 36px; }

/* iOS zooms the viewport when a focused form control renders below 16px. */
@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  :root :is(input, textarea, select) {
    font-size: 16px;
  }
}
