:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #171615;
  --muted: #767068;
  --line: #e9e3da;
  --accent: #221f1c;
  --accent-soft: #f1eee8;
  --accent-warm: #8a3f47;
  --ink-soft: #393532;
  --danger: #b84a4a;
  --shadow: 0 28px 70px rgba(25, 21, 18, 0.1);
  --font-ui: Inter, "Segoe UI", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

.theme-graphite {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #171615;
  --muted: #767068;
  --line: #e9e3da;
  --accent: #221f1c;
  --accent-soft: #f1eee8;
  --accent-warm: #8a3f47;
  --ink-soft: #393532;
  --shadow: 0 28px 70px rgba(25, 21, 18, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: clip;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.5;
  transition: background-color 180ms ease, color 180ms ease;
}

html.content-loading body {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-bottom: 1px solid currentColor;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  display: grid;
  grid-template-columns: 136px minmax(320px, 1fr) 146px 164px;
  align-items: center;
  gap: clamp(14px, 1.4vw, 24px);
  min-height: 73px;
  padding: 20px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(34, 31, 28, 0.1);
  background: rgba(251, 250, 247, 0.86);
  backdrop-filter: blur(18px);
}

.site-header > *,
.main-nav > * {
  min-width: 0;
}

.brand {
  width: 136px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: 0;
}

.main-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav > a[href*="#brands"] {
  display: none;
}

.nav-dropdown {
  position: static;
  display: flex;
  align-items: center;
  align-self: stretch;
}

.nav-dropdown-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.nav-dropdown-toggle::after {
  content: "⌄";
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  transition: transform 180ms ease;
}

.nav-dropdown-menu {
  position: absolute;
  z-index: 30;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 0;
  padding: 20px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  box-shadow: 0 20px 40px rgba(34, 31, 28, 0.06);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown-menu a {
  padding: 13px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 11px;
  white-space: nowrap;
}

.nav-dropdown-menu a:nth-child(4n) {
  border-right: 0;
}

.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.main-nav a:hover,
.section-head a:hover {
  color: var(--accent);
}

.header-action,
.header-phone,
.section-head a {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-phone {
  width: 146px;
  justify-self: end;
  text-align: right;
}

.header-action {
  width: 164px;
  justify-self: end;
  text-align: right;
}

.header-action,
.header-phone,
.section-head a {
  position: relative;
}

@media (min-width: 1600px) {
  .site-header {
    grid-template-columns: 136px clamp(80px, 19vw, 390px) max-content minmax(28px, 1fr) 146px max-content;
  }

  .brand {
    grid-column: 1;
  }

  .main-nav {
    grid-column: 3;
    justify-content: flex-start;
  }

  .header-phone {
    grid-column: 5;
  }

  .header-action {
    grid-column: 6;
    width: auto;
    min-width: max-content;
  }
}

@media (max-width: 1180px) and (min-width: 861px) {
  .site-header {
    grid-template-columns: 112px minmax(360px, 1fr) 94px;
    gap: 12px;
    min-height: 68px;
    padding: 16px clamp(20px, 3vw, 36px);
  }

  .brand {
    width: auto;
    font-size: 21px;
  }

  .main-nav {
    justify-content: center;
    gap: clamp(10px, 1.5vw, 18px);
    font-size: 10px;
  }

  .header-phone {
    display: none;
  }

  .header-action {
    width: auto;
    justify-self: end;
    font-size: 10px;
  }

  .catalog-layout {
    grid-template-columns: minmax(200px, 230px) minmax(0, 1fr);
    gap: 32px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contacts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section-shell {
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 84px);
  padding: 54px 0 70px;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  font-weight: 760;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.7vw, 46px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.lead {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button.primary:hover {
  box-shadow: 0 10px 24px rgba(32, 32, 32, 0.16);
}

.button.secondary:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.button.primary {
  color: white;
  border-color: var(--accent);
  background: var(--accent);
}

.button.secondary {
  background: var(--surface);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
}

.hero-meta dt {
  font-size: 24px;
  font-weight: 760;
}

.hero-meta dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 0;
}

.brand-grid,
.category-grid,
.product-grid,
.blog-grid {
  display: grid;
  gap: 16px;
}

.brand-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.brand-grid a,
.category-card,
.blog-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.brand-grid a {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-weight: 720;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.brand-grid a:hover,
.category-card:hover,
.product-card:hover,
.blog-card:hover {
  border-color: rgba(32, 32, 32, 0.22);
  box-shadow: 0 14px 32px rgba(32, 32, 32, 0.08);
  transform: translateY(-2px);
}

.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card {
  position: relative;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background: var(--category-image) center / cover;
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 28% 100%);
  opacity: 0;
  transform: translateX(100%);
  transition: transform 260ms ease, opacity 260ms ease;
  z-index: -1;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  background: var(--surface);
  clip-path: polygon(0 0, 52% 0, 30% 100%, 0 100%);
  transition: transform 260ms ease;
  z-index: -1;
}

.category-card:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.category-card:hover::after {
  transform: translateX(-18%);
}

.category-card span,
.product-info p,
.blog-card-meta {
  color: var(--muted);
  font-size: 13px;
}

.category-card strong {
  font-size: 24px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--accent-soft);
}

.product-info,
.blog-card {
  padding: 18px;
}

.product-info h3 {
  margin-bottom: 12px;
}

.product-info span {
  font-weight: 760;
}

.product-info small {
  display: inline-flex;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  overflow: hidden;
}

.blog-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--accent-soft);
}

.blog-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.blog-card {
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-section {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: start;
  gap: 32px;
}

.contact-panel {
  padding: 24px;
}

body[data-page="home"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(251, 250, 247, 0) 360px),
    var(--bg);
}

.section-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-button {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.slider-button:hover {
  border-color: rgba(34, 31, 28, 0.34);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.header-action::after,
.header-phone::after,
.section-head a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.42);
  transform-origin: left;
  transition: transform 220ms ease;
}

.header-action:hover::after,
.header-phone:hover::after,
.section-head a:hover::after {
  transform: scaleX(1);
}

body[data-page="home"] .section-shell {
  width: min(1360px, calc(100% - clamp(36px, 7vw, 104px)));
}

body[data-page="home"] .hero {
  min-height: min(820px, calc(100vh - 76px));
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5.6vw, 88px);
  padding: clamp(44px, 6vw, 82px) 0 clamp(48px, 6vw, 78px);
}

body[data-page="home"] .hero-copy {
  max-width: 610px;
  padding-top: 4vh;
}

body[data-page="home"] .eyebrow {
  margin-bottom: 18px;
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
}

body[data-page="home"] h1,
body[data-page="home"] h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
}

body[data-page="home"] h1 {
  max-width: 640px;
  margin-bottom: 26px;
  font-size: clamp(46px, 5.05vw, 78px);
  line-height: 0.96;
}

body[data-page="home"] h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 0.98;
}

body[data-page="home"] h3 {
  font-weight: 560;
}

body[data-page="home"] .lead {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.65vw, 22px);
  line-height: 1.62;
}

body[data-page="home"] .hero-actions {
  gap: 14px;
  margin-top: 34px;
}

body[data-page="home"] .button {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-page="home"] .button.primary {
  background: var(--accent);
}

body[data-page="home"] .button.secondary {
  background: transparent;
}

body[data-page="home"] .hero-meta {
  max-width: 520px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

body[data-page="home"] .hero-meta dt {
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 500;
}

body[data-page="home"] .hero-meta dd {
  font-size: 12px;
  line-height: 1.45;
}

body[data-page="home"] .hero-visual {
  position: relative;
  aspect-ratio: 1.06 / 1;
  min-height: 0;
  max-height: min(680px, calc(100vh - 150px));
  overflow: hidden;
  background: var(--accent-soft);
}

body[data-page="home"] .hero-visual::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  z-index: 1;
  pointer-events: none;
}

body[data-page="home"] .hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
  transform: scale(1.01);
}

body[data-page="home"] .section {
  padding: clamp(70px, 8vw, 124px) 0;
}

body[data-page="home"] .section-head {
  display: grid;
  grid-template-columns: 140px minmax(0, 760px) minmax(120px, 1fr);
  align-items: end;
  gap: clamp(24px, 4vw, 56px);
  margin-bottom: clamp(28px, 4vw, 54px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

body[data-page="home"] .section-head h2 {
  grid-column: 2;
}

body[data-page="home"] .section-head .eyebrow {
  grid-column: 1;
}

body[data-page="home"] .section-head > a,
body[data-page="home"] .section-head .section-controls {
  grid-column: 3;
  justify-self: end;
}

body[data-page="home"] .brand-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

body[data-page="home"] .brand-grid a {
  min-height: 118px;
  justify-content: flex-start;
  padding: 26px 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.7vw, 42px);
  font-weight: 500;
  letter-spacing: 0;
}

body[data-page="home"] .brand-grid a:nth-child(4n) {
  border-right: 0;
}

body[data-page="home"] .brand-grid a:hover {
  background: rgba(255, 255, 255, 0.58);
  box-shadow: none;
  transform: none;
}

body[data-page="home"] .category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

body[data-page="home"] .category-card {
  min-height: clamp(230px, 27vw, 360px);
  padding: 24px;
  border: 0;
  border-radius: 0;
  background: var(--surface);
}

body[data-page="home"] .category-card::before {
  clip-path: none;
  opacity: 0.34;
  transform: scale(1.04);
  transition: transform 520ms ease, opacity 520ms ease;
}

body[data-page="home"] .category-card::after {
  display: none;
}

body[data-page="home"] .category-card:hover::before {
  opacity: 0.72;
  transform: scale(1);
}

body[data-page="home"] .category-card span {
  font-size: 12px;
  letter-spacing: 0.1em;
}

body[data-page="home"] .category-card strong {
  position: relative;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 48px);
  font-weight: 500;
  line-height: 0.98;
  text-shadow: 0 1px 18px rgba(251, 250, 247, 0.68);
}

body[data-page="home"] .product-grid {
  display: flex;
  grid-template-columns: none;
  gap: clamp(18px, 2vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 18px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body[data-page="home"] .product-slider {
  overflow: hidden;
}

body[data-page="home"] .product-grid::-webkit-scrollbar {
  display: none;
}

body[data-page="home"] .product-card {
  flex: 0 0 calc((100% - clamp(18px, 2vw, 28px) * 3) / 4);
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  scroll-snap-align: start;
}

body[data-page="home"] .product-card img {
  aspect-ratio: 3 / 4;
  background: var(--accent-soft);
  transition: transform 520ms ease, filter 520ms ease;
}

body[data-page="home"] .product-info {
  padding: 18px 0 0;
}

body[data-page="home"] .product-info p {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-page="home"] .product-info h3 {
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 500;
}

body[data-page="home"] .product-info span {
  font-size: 14px;
  font-weight: 650;
}

body[data-page="home"] .product-card:hover {
  box-shadow: none;
  transform: none;
}

body[data-page="home"] .product-card:hover img {
  filter: saturate(0.92) contrast(1.03);
  transform: translateY(-4px);
}

body[data-page="home"] .blog-grid {
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(18px, 3vw, 46px);
}

body[data-page="home"] #blog .section-head h2 {
  max-width: none;
  font-size: clamp(34px, 3.8vw, 58px);
  white-space: nowrap;
}

body[data-page="home"] .blog-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

body[data-page="home"] .blog-card img {
  aspect-ratio: 16 / 10;
}

body[data-page="home"] .blog-card .blog-card-meta {
  display: block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[data-page="home"] .blog-card .blog-card-meta time {
  display: inline;
  margin-top: 0;
}

body[data-page="home"] .blog-card h3 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1.05;
}

body[data-page="home"] .blog-card:hover {
  box-shadow: none;
  transform: none;
}

body[data-page="home"] .contact-section {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  padding-top: clamp(78px, 9vw, 132px);
  padding-bottom: clamp(78px, 9vw, 132px);
  border-top: 1px solid var(--line);
}

body[data-page="home"] .contact-section > div:first-child {
  display: grid;
  grid-template-columns: 140px minmax(0, 760px);
  align-content: start;
  gap: clamp(24px, 4vw, 56px);
}

body[data-page="home"] .contact-section > div:first-child .eyebrow {
  grid-column: 1;
}

body[data-page="home"] .contact-section > div:first-child h2 {
  grid-column: 2;
}

.contact-intro .contact-benefits {
  grid-column: 2;
}

.contact-benefits {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-benefits li {
  display: grid;
  gap: 6px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-benefits strong {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
}

.contact-benefits span {
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

body[data-page="home"] .contact-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(28px, 4vw, 54px);
  border-radius: 0;
  background: #fff;
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  width: min(900px, 100%);
  margin-left: calc(140px + clamp(24px, 4vw, 56px));
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 500;
  line-height: 1.08;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent-warm);
  font-family: var(--font-ui);
  font-size: 22px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  max-width: 690px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.faq-list details[open] summary {
  padding-bottom: 12px;
}

@media (max-width: 1440px) and (min-width: 861px) {
  body[data-page="home"] .section-shell {
    width: min(1180px, calc(100% - 76px));
  }

  body[data-page="home"] .hero {
    min-height: auto;
    grid-template-columns: minmax(360px, 0.88fr) minmax(0, 0.95fr);
    gap: clamp(34px, 4.2vw, 60px);
    padding-top: 54px;
  }

  body[data-page="home"] h1 {
    font-size: clamp(58px, 5.25vw, 72px);
  }

  body[data-page="home"] .hero-visual {
    max-height: 500px;
  }

  body[data-page="home"] .section-head {
    grid-template-columns: 120px minmax(0, 620px) minmax(100px, 1fr);
  }

  body[data-page="home"] .contact-section > div:first-child {
    grid-template-columns: 120px minmax(0, 620px);
  }

  .faq-list {
    margin-left: calc(120px + clamp(24px, 4vw, 56px));
  }
}

.map-preview {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 4px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.1), rgba(251, 250, 247, 0.86)),
    linear-gradient(90deg, rgba(251, 250, 247, 0.26), rgba(251, 250, 247, 0.08)),
    url("assets/map-showroom.webp") center / cover no-repeat,
    var(--accent-soft);
  transition: border-color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.map-preview:hover {
  border-color: rgba(34, 31, 28, 0.34);
  filter: contrast(1.02);
  transform: translateY(-1px);
}

.map-preview::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--surface);
  border-radius: 50% 50% 50% 0;
  background: var(--accent-warm);
  box-shadow: 0 10px 28px rgba(34, 31, 28, 0.24);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.map-preview::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(138, 63, 71, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.map-preview span,
.map-preview strong,
.map-preview small {
  position: relative;
  z-index: 1;
}

.map-preview span,
.map-preview small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-preview strong {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 1px 16px rgba(251, 250, 247, 0.82);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--accent);
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-socials a:hover {
  border-color: rgba(34, 31, 28, 0.36);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

body[data-page="catalog"],
body[data-page="product"],
body[data-page="blog"],
body[data-page="article"],
body[data-page="contacts"],
body[data-page="listing"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(251, 250, 247, 0) 320px),
    var(--bg);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  padding: clamp(54px, 7vw, 104px) 0 clamp(36px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
}

.catalog-hero h1 {
  grid-column: 1;
  max-width: 900px;
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 500;
  line-height: 0.96;
}

.catalog-hero .lead {
  grid-column: 2;
  grid-row: 2 / span 2;
  align-self: end;
  max-width: 430px;
  margin-bottom: 0;
  font-size: 18px;
}

.catalog-hero .breadcrumbs,
.catalog-hero .eyebrow,
.catalog-hero .hero-actions {
  grid-column: 1;
}

.catalog-hero-media {
  grid-column: 2;
  grid-row: 1 / span 1;
  align-self: start;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: var(--line);
  aspect-ratio: 4 / 5;
}

.catalog-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(230px, 280px) 1fr;
  gap: clamp(28px, 4vw, 58px);
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(80px, 9vw, 132px);
}

.filters-panel,
.catalog-toolbar {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.filters-panel {
  align-self: start;
  position: sticky;
  top: 92px;
  padding: 0;
}

.filter-block h2 {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
}

.filter-block label {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-filter {
  margin-bottom: 18px;
}

.price-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.price-inputs label {
  margin-bottom: 0;
}

.filter-block select,
.filter-block input,
.catalog-toolbar select {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  padding: 0 0 8px;
}

.price-range {
  appearance: none;
  -webkit-appearance: none;
  --range-progress: 100%;
  width: 100%;
  height: 20px;
  margin-top: 18px;
  background: transparent;
  cursor: pointer;
}

.price-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0,
    var(--accent) var(--range-progress),
    var(--line) var(--range-progress),
    var(--line) 100%
  );
}

.price-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
}

.price-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.price-range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.price-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid var(--bg);
  border-radius: 50%;
  background: var(--accent);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-toolbar select {
  max-width: 240px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 46px) clamp(18px, 2vw, 28px);
}

body[data-page="catalog"] .product-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
}

body[data-page="catalog"] .product-card img {
  aspect-ratio: 3 / 4;
  transition: filter 420ms ease, transform 420ms ease;
}

body[data-page="catalog"] .product-info {
  padding: 18px 0 0;
}

body[data-page="catalog"] .product-info p {
  margin-bottom: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="catalog"] .product-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.06;
}

body[data-page="catalog"] .product-card:hover {
  transform: none;
  box-shadow: none;
}

body[data-page="catalog"] .product-card:hover img {
  filter: saturate(0.92) contrast(1.03);
  transform: translateY(-4px);
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
}

.product-page {
  width: min(1440px, calc(100% - 36px));
  padding: clamp(28px, 4vw, 54px) 0 clamp(86px, 10vw, 140px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.54fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: 82px minmax(0, 620px);
  gap: 16px;
  align-items: start;
}

.product-thumbs {
  display: grid;
  gap: 10px;
  max-height: min(720px, calc(100vh - 132px));
  overflow-y: auto;
  scrollbar-width: thin;
}

.product-thumb {
  display: block;
  width: 82px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.product-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: var(--accent-soft);
}

.product-thumb:hover,
.product-thumb.is-active {
  border-color: rgba(34, 31, 28, 0.48);
}

.product-thumb:not(.is-active) {
  opacity: 0.7;
}

.product-thumb:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.product-main-image {
  position: relative;
  width: min(100%, 620px);
  margin: 0;
  background: var(--accent-soft);
}

.product-main-image img {
  display: block;
  width: 100%;
  max-height: min(720px, calc(100vh - 132px));
  aspect-ratio: 4 / 5;
  cursor: zoom-in;
  object-fit: cover;
}

.product-slide-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 31, 28, 0.12);
  background: rgba(251, 250, 247, 0.82);
  color: var(--accent);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.product-main-image:hover .product-slide-button,
.product-slide-button:focus-visible {
  opacity: 1;
}

.product-slide-button:hover {
  border-color: rgba(34, 31, 28, 0.34);
  background: rgba(251, 250, 247, 0.96);
}

.product-slide-prev {
  left: 16px;
}

.product-slide-next {
  right: 16px;
}

.product-gallery-bar {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.product-photo-count,
.product-grid-open {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 31, 28, 0.12);
  background: rgba(251, 250, 247, 0.9);
  color: var(--accent);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-photo-count {
  min-width: 62px;
  padding: 0 10px;
}

.product-grid-open {
  padding: 0 14px;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-grid-open:hover {
  border-color: rgba(34, 31, 28, 0.34);
  background: var(--bg);
  transform: translateY(-1px);
}

body.photo-modal-open {
  overflow: hidden;
}

.product-photo-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: block;
  padding: 0 clamp(16px, 3vw, 42px) clamp(18px, 3vw, 42px);
  background: var(--bg);
  opacity: 0;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.product-photo-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.product-photo-modal-head {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.98);
}

.product-photo-modal-head strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.05;
}

.product-photo-modal-head .eyebrow {
  margin-bottom: 4px;
}

.product-photo-modal-close {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.product-photo-modal-close:hover {
  border-color: rgba(34, 31, 28, 0.34);
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.product-photo-grid {
  column-count: 4;
  column-gap: clamp(14px, 1.5vw, 24px);
  padding-top: clamp(18px, 3vw, 38px);
  overflow: visible;
}

.product-photo-grid figure {
  break-inside: avoid;
  margin: 0 0 clamp(14px, 1.5vw, 24px);
  background: var(--accent-soft);
}

.product-photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: zoom-in;
  object-fit: cover;
}

.product-image-viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #11100f;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 160ms ease, transform 160ms ease;
}

.product-image-viewer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.product-image-viewer-toolbar {
  min-height: 66px;
  display: grid;
  grid-template-columns: 90px 1fr 48px;
  gap: 14px;
  align-items: center;
  padding: 12px clamp(14px, 2vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #11100f;
}

.product-image-viewer-count {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.product-image-viewer-controls {
  justify-self: center;
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-image-viewer-controls button,
.product-image-viewer-close,
.product-image-viewer-nav {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease;
}

.product-image-viewer-controls button {
  min-width: 48px;
  height: 40px;
  padding: 0 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 760;
}

.product-image-viewer-controls button:last-child {
  border-right: 0;
}

.product-image-viewer-close {
  width: 44px;
  height: 44px;
  justify-self: end;
  font-size: 30px;
  line-height: 1;
}

.product-image-viewer-controls button:hover,
.product-image-viewer-close:hover,
.product-image-viewer-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.product-image-viewer-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  padding: clamp(16px, 3vw, 42px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  touch-action: none;
}

.product-image-viewer-stage::-webkit-scrollbar {
  display: none;
}

.product-image-viewer-stage img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.product-image-viewer-stage img.is-zoomed {
  max-height: none;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none;
}

.product-image-viewer-stage.is-panning img.is-zoomed {
  cursor: grabbing;
}

.product-image-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 52px;
  height: 72px;
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.product-image-viewer-prev {
  left: clamp(12px, 2vw, 28px);
}

.product-image-viewer-next {
  right: clamp(12px, 2vw, 28px);
}

.product-summary {
  position: sticky;
  top: 92px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.product-summary h1 {
  margin-bottom: 18px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 500;
  line-height: 1.02;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.price-row strong {
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 650;
}

.price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.product-article {
  margin: -8px 0 22px;
  color: var(--muted);
  font-size: 14px;
}

.product-article strong {
  color: var(--text);
}

.product-description {
  max-width: 520px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.62;
}

.product-service-note {
  display: grid;
  gap: 4px;
  margin: 26px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-service-note span {
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-service-note strong {
  font-size: 16px;
}

.product-service-note small {
  color: var(--muted);
  font-size: 13px;
}

.product-specs {
  display: grid;
  gap: 0;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.product-specs div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.product-specs dt {
  color: var(--muted);
}

.product-specs dd {
  margin: 0;
}

.product-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.product-actions .button {
  width: 100%;
  min-height: 54px;
  border-radius: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.auth-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  margin: 26px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.auth-card:hover {
  border-color: rgba(34, 31, 28, 0.32);
  background: var(--surface);
  transform: translateY(-1px);
}

.auth-card-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1;
}

.auth-card strong,
.auth-card small {
  display: block;
}

.auth-card strong {
  margin-bottom: 2px;
  font-size: 15px;
}

.auth-card small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.blog-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(18px, 2vw, 30px);
  padding: clamp(34px, 5vw, 72px) 0 clamp(86px, 10vw, 140px);
}

body[data-page="blog"] .catalog-hero {
  grid-template-columns: 1fr;
}

body[data-page="blog"] .catalog-hero h1 {
  max-width: none;
  font-size: clamp(48px, 5.4vw, 84px);
  white-space: nowrap;
}

body[data-page="blog"] .catalog-hero .lead {
  grid-column: 1;
  grid-row: auto;
  max-width: 720px;
}

.blog-page-grid .blog-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.blog-page-grid .blog-card:first-child {
  grid-column: span 2;
}

.blog-page-grid .blog-card img {
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  transition: filter 420ms ease, transform 420ms ease;
}

.blog-page-grid .blog-card:first-child img {
  aspect-ratio: 16 / 9;
}

.blog-card-meta {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-page-grid .blog-card h3 {
  max-width: 760px;
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.6vw, 42px);
  font-weight: 500;
  line-height: 1.04;
}

.blog-page-grid .blog-card:first-child h3 {
  font-size: clamp(36px, 4.6vw, 72px);
}

.blog-page-grid .blog-card p {
  max-width: 640px;
  font-size: 15px;
  line-height: 1.6;
}

.blog-page-grid .blog-card:hover {
  box-shadow: none;
  transform: none;
}

.blog-page-grid .blog-card:hover img {
  filter: saturate(0.92) contrast(1.03);
  transform: translateY(-4px);
}

.article-page {
  width: min(1320px, calc(100% - 36px));
  padding: clamp(28px, 4vw, 54px) 0 clamp(86px, 10vw, 140px);
}

.article-layout {
  max-width: none;
  margin: 0 auto;
}

.article-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.36fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(28px, 5vw, 72px);
  padding-bottom: clamp(28px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  max-width: 960px;
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(48px, 7vw, 108px);
  font-weight: 500;
  line-height: 0.96;
}

.article-kicker {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-kicker .eyebrow {
  margin-bottom: 0;
}

.article-kicker time {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.article-lead {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
}

.article-cover-frame {
  margin: 0 0 clamp(46px, 7vw, 92px);
}

.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.5;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: var(--accent-soft);
}

.article-content {
  width: min(780px, 100%);
  margin: 0 auto;
  color: var(--text);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.78;
}

.article-content p {
  margin-bottom: 1.15em;
  color: var(--ink-soft);
}

.article-content h2 {
  margin: clamp(42px, 6vw, 76px) 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.04;
}

.article-content figure {
  width: min(1120px, calc(100vw - 36px));
  margin: clamp(38px, 6vw, 78px) 50% clamp(38px, 6vw, 78px);
  transform: translateX(-50%);
}

.article-content figure img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 0;
}

.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-content blockquote {
  margin: clamp(42px, 6vw, 78px) 0;
  padding: 0 0 0 28px;
  border-left: 1px solid var(--accent-warm);
  background: transparent;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.article-content ul {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding-left: 28px;
}

.article-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 12px;
  height: 1px;
  background: var(--accent-warm);
}

.article-template-collection {
  --template-accent: var(--accent-warm);
}

.article-template-collection .article-content blockquote {
  max-width: 980px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.article-template-guide .article-cover {
  aspect-ratio: 16 / 8.8;
}

.article-template-news .article-header {
  grid-template-columns: minmax(0, 1fr);
}

.article-template-brand .article-content h2 {
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.article-template-care .article-content {
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.article-template-news .article-content h2:first-child {
  font-size: clamp(38px, 5vw, 68px);
}

.related-products {
  margin-top: clamp(64px, 8vw, 112px);
}

.related-products .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.related-products .section-heading h2 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 500;
}

.related-products .product-grid {
  display: flex;
  grid-template-columns: none;
  gap: clamp(18px, 2vw, 28px);
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.related-products .product-grid::-webkit-scrollbar {
  display: none;
}

.related-products .product-card {
  flex: 0 0 calc((100% - clamp(18px, 2vw, 28px) * 3) / 4);
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
  box-shadow: none;
  scroll-snap-align: start;
}

.related-products .product-card img {
  aspect-ratio: 3 / 4;
}

.related-products .product-info {
  padding: 16px 0 0;
}

.related-products .product-info p {
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.related-products .product-info h3 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 500;
  line-height: 1.06;
}

.related-products .product-info span {
  font-size: 14px;
  font-weight: 760;
}

.related-products .product-card:hover {
  transform: none;
  box-shadow: none;
}

.listing-page {
  padding-bottom: 80px;
}

.seo-text {
  max-width: 780px;
  margin-top: 56px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.seo-text p {
  margin-bottom: 0;
  color: var(--muted);
}

.contacts-page {
  padding-bottom: 80px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}

.contact-card p {
  color: var(--muted);
}

.contact-steps {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  counter-reset: contact-step;
  list-style: none;
}

.contact-steps li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--text);
  line-height: 1.45;
  counter-increment: contact-step;
}

.contact-steps li::before {
  content: counter(contact-step, decimal-leading-zero);
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
  border-radius: 6px;
  object-fit: cover;
  display: block;
  background: var(--line);
}

.delivery-page {
  padding: clamp(28px, 4vw, 54px) 0 clamp(86px, 10vw, 140px);
}

.delivery-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 0.2fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(28px, 5vw, 68px) 0 clamp(46px, 7vw, 92px);
  border-bottom: 1px solid var(--line);
}

.delivery-hero .breadcrumbs,
.delivery-hero .eyebrow,
.delivery-hero h1,
.delivery-hero .lead {
  grid-column: 1;
}

.delivery-hero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-size: clamp(54px, 7vw, 112px);
  font-weight: 500;
  line-height: 0.96;
}

.delivery-hero .lead {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.45;
}

.delivery-hero .button {
  grid-column: 2;
  grid-row: 4;
  justify-self: end;
  min-width: 190px;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.delivery-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: clamp(28px, 5vw, 78px);
  padding: clamp(44px, 7vw, 96px) 0;
}

.delivery-copy {
  max-width: 820px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.72;
}

.delivery-copy p {
  margin-bottom: 1.05em;
}

.delivery-copy p:last-child {
  margin-bottom: 0;
}

.delivery-note {
  align-self: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.delivery-note span {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.delivery-note strong {
  display: block;
  max-width: 320px;
  margin-bottom: 12px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 500;
  line-height: 1.05;
}

.delivery-note p,
.delivery-list,
.delivery-steps {
  color: var(--muted);
}

.delivery-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.delivery-columns article {
  padding: clamp(26px, 4vw, 54px);
  background: rgba(255, 255, 255, 0.62);
}

.delivery-steps,
.delivery-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: delivery-step;
}

.delivery-steps li,
.delivery-list li {
  position: relative;
  padding-left: 42px;
  color: var(--text);
  line-height: 1.55;
}

.delivery-steps li {
  counter-increment: delivery-step;
}

.delivery-steps li::before {
  content: counter(delivery-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.1em;
}

.delivery-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 22px;
  height: 1px;
  background: var(--accent-warm);
}

.delivery-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(48px, 7vw, 96px);
  padding-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line);
}

.delivery-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.8vw, 72px);
  font-weight: 500;
  line-height: 1;
}

.delivery-cta .button {
  min-width: 190px;
  border-radius: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px 16px;
    min-height: 0;
    padding: 14px 16px 12px;
  }

  .brand,
  .header-phone,
  .header-action {
    width: auto;
    justify-self: auto;
    text-align: left;
  }

  .brand {
    font-size: 21px;
  }

  .main-nav {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, auto));
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 4px 0 8px;
    overflow: visible;
    font-size: 10px;
  }

  .nav-dropdown {
    position: static;
    align-self: auto;
  }

  .nav-dropdown-menu {
    position: fixed;
    top: 112px;
    right: 16px;
    left: 16px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: calc(100vh - 132px);
    padding: 10px;
    overflow-y: auto;
    transform: translateY(-8px);
  }

  .nav-dropdown-menu a,
  .nav-dropdown-menu a:nth-child(4n) {
    border-right: 0;
  }

  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu,
  .nav-dropdown.is-open .nav-dropdown-menu {
    transform: translateY(0);
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .header-action {
    grid-column: 1 / -1;
    width: fit-content;
    max-width: 100%;
    justify-self: start;
    padding-top: 2px;
    text-align: left;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-visual {
    align-self: auto;
  }

  .hero-meta,
  .catalog-hero,
  .brand-grid,
  .category-grid,
  .product-grid,
  .blog-grid,
  .blog-page-grid,
  .contact-section,
  .catalog-layout,
  .catalog-grid,
  .product-detail,
  .product-gallery,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .filters-panel,
  .product-summary {
    position: static;
  }

  .catalog-hero {
    gap: 18px;
    padding-top: 38px;
  }

  .catalog-hero .breadcrumbs,
  .catalog-hero .eyebrow,
  .catalog-hero h1,
  .catalog-hero .lead,
  .catalog-hero .hero-actions,
  .catalog-hero-media {
    grid-column: auto;
    grid-row: auto;
  }

  .catalog-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 0.98;
  }

  body[data-page="blog"] .catalog-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
    white-space: normal;
  }

  .contact-intro .contact-benefits {
    grid-column: auto;
  }

  .catalog-hero .lead {
    max-width: none;
    font-size: 16px;
  }

  .catalog-layout {
    gap: 30px;
    padding-top: 34px;
  }

  .filters-panel {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .filter-block h2 {
    margin-bottom: 18px;
    font-size: 28px;
  }

  .price-inputs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
  }

  .catalog-toolbar select {
    max-width: none;
  }

  .blog-page-grid,
  .article-header {
    grid-template-columns: 1fr;
  }

  .blog-page-grid .blog-card:first-child {
    grid-column: auto;
  }

  .blog-page-grid .blog-card:first-child h3 {
    font-size: clamp(34px, 11vw, 56px);
  }

  .article-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-header h1 {
    font-size: clamp(42px, 12vw, 66px);
  }

  .article-lead {
    max-width: none;
  }

  .article-cover {
    aspect-ratio: 4 / 5;
  }

  .related-products .product-grid {
    grid-template-columns: none;
  }

  .related-products .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .related-products .product-card {
    flex-basis: calc((100% - 22px) / 2);
  }

  .product-page {
    width: min(100% - 32px, 1440px);
    padding-top: 24px;
  }

  .product-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .product-thumbs {
    grid-row: 2;
    grid-template-columns: repeat(6, minmax(58px, 1fr));
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .product-thumb {
    width: auto;
  }

  .product-main-image {
    width: 100%;
  }

  .product-main-image img {
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .product-slide-button {
    width: 38px;
    height: 48px;
    opacity: 1;
  }

  .product-slide-prev {
    left: 10px;
  }

  .product-slide-next {
    right: 10px;
  }

  .product-gallery-bar {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .product-photo-modal {
    padding-inline: 14px;
  }

  .product-photo-modal-head {
    min-height: 72px;
  }

  .product-photo-grid {
    column-count: 2;
    column-gap: 12px;
  }

  .product-photo-grid figure {
    margin-bottom: 12px;
  }

  .product-image-viewer-toolbar {
    grid-template-columns: 58px 1fr 44px;
    gap: 8px;
    padding-inline: 10px;
  }

  .product-image-viewer-controls button {
    min-width: 42px;
    padding-inline: 8px;
  }

  .product-image-viewer-stage {
    padding: 12px;
  }

  .product-image-viewer-nav {
    width: 40px;
    height: 58px;
    font-size: 34px;
  }

  .product-summary h1 {
    font-size: clamp(38px, 11vw, 58px);
  }

  .product-description {
    max-width: none;
  }

  .product-specs div {
    grid-template-columns: 118px 1fr;
  }

  .section-head,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  body[data-page="home"] .section-shell {
    width: min(100% - 32px, 1360px);
  }

  body[data-page="home"] .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 0 56px;
  }

  body[data-page="home"] .hero-copy {
    padding-top: 0;
  }

  body[data-page="home"] h1 {
    font-size: clamp(43px, 13vw, 68px);
    line-height: 0.98;
  }

  body[data-page="home"] h2 {
    font-size: clamp(31px, 10vw, 48px);
  }

  body[data-page="home"] .lead {
    font-size: 17px;
  }

  body[data-page="home"] .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body[data-page="home"] .button {
    width: 100%;
  }

  body[data-page="home"] .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
  }

  body[data-page="home"] .hero-visual,
  body[data-page="home"] .hero-visual img {
    min-height: 390px;
  }

  body[data-page="home"] .section {
    padding: 58px 0;
  }

  body[data-page="home"] .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  body[data-page="home"] .section-head .eyebrow,
  body[data-page="home"] .section-head h2,
  body[data-page="home"] .section-head > a,
  body[data-page="home"] .section-head .section-controls {
    grid-column: auto;
    justify-self: start;
  }

  .section-controls {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  body[data-page="home"] .brand-grid,
  body[data-page="home"] .category-grid,
  body[data-page="home"] .product-grid,
  body[data-page="home"] .blog-grid,
  body[data-page="home"] .contact-section {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .contact-section > div:first-child {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body[data-page="home"] .contact-section > div:first-child .eyebrow,
  body[data-page="home"] .contact-section > div:first-child h2 {
    grid-column: auto;
  }

  .faq-list {
    width: 100%;
    margin-left: 0;
  }

  body[data-page="home"] .brand-grid a,
  body[data-page="home"] .brand-grid a:nth-child(4n) {
    min-height: 86px;
    border-right: 0;
  }

  body[data-page="home"] .category-card {
    min-height: 210px;
  }

  body[data-page="home"] .product-grid,
  body[data-page="home"] .blog-grid {
    gap: 34px;
  }

  body[data-page="home"] #blog .section-head h2 {
    white-space: normal;
  }

  body[data-page="home"] .product-grid {
    gap: 22px;
  }

  body[data-page="home"] .product-card {
    flex-basis: min(82vw, 360px);
  }

  .blog-page-grid {
    padding-top: 34px;
  }

  .contact-card {
    min-height: 0;
  }

  .delivery-page {
    padding-top: 24px;
  }

  .delivery-hero,
  .delivery-intro,
  .delivery-columns {
    grid-template-columns: 1fr;
  }

  .delivery-hero {
    gap: 22px;
  }

  .delivery-hero .button {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
  }

  .delivery-columns {
    gap: 0;
  }

  .delivery-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .related-products .product-info h3 {
    font-size: 24px;
  }

  .map-preview {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .section-shell,
  body[data-page="home"] .section-shell,
  .article-page,
  .product-page {
    width: min(100% - 28px, 1440px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .main-nav {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: stretch;
    gap: 10px 12px;
  }

  .main-nav a,
  .nav-dropdown-toggle {
    white-space: nowrap;
  }

  .header-action {
    width: auto;
  }

  body[data-page="home"] h1,
  .catalog-hero h1,
  .article-header h1,
  .product-summary h1 {
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .hero-actions,
  .product-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  body[data-page="home"] .hero-meta {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .hero-meta div {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: baseline;
    gap: 12px;
  }

  body[data-page="home"] .hero-visual,
  body[data-page="home"] .hero-visual img {
    min-height: 330px;
  }

  .catalog-grid,
  .blog-page-grid {
    gap: 34px;
  }

  .product-specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .auth-card {
    grid-template-columns: 1fr;
  }

  .article-content figure {
    width: calc(100vw - 28px);
  }

  .article-content blockquote {
    padding-left: 18px;
  }

  .related-products .product-card {
    flex-basis: min(82vw, 360px);
  }
}
