:root {
  --ink: #16181d;
  --ink-soft: #666b76;
  --paper: #f3f4f7;
  --paper-light: #ffffff;
  --white: #fff;
  --clay: #a4442f;
  --clay-dark: #702e23;
  --sand: #d9dce4;
  --line: rgba(22, 24, 29, 0.13);
  --shadow: 0 24px 64px rgba(23, 28, 45, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1360px;
  --font-sans: Manrope, Inter, "Segoe UI", Arial, sans-serif;
  --font-display: Manrope, Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(164, 68, 47, 0.38);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper-light) 94%, transparent);
  backdrop-filter: blur(14px);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 76px;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--clay);
}

.brand-mark svg {
  width: 32px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 40px);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
}

.main-nav a {
  position: relative;
  padding-block: 25px;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  background: var(--clay);
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--clay);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  box-shadow: 0 12px 24px rgba(164, 68, 47, 0.22);
  transform: translateY(-2px);
}

.button--dark {
  background: var(--ink);
}

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

.button--small {
  min-height: 42px;
  padding: 9px 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero {
  overflow: hidden;
  padding: clamp(42px, 5.5vw, 78px) 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero h1 {
  max-width: 720px;
  margin: 20px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(46px, 5.3vw, 78px);
  font-weight: 760;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  color: var(--ink);
  font-style: normal;
  font-weight: 450;
}

.hero-lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.35vw, 20px);
}

.hero-search {
  max-width: 680px;
  margin-top: 32px;
}

.hero-search .catalog-search input {
  min-height: 62px;
  padding-inline: 22px;
  border-color: rgba(22, 24, 29, 0.2);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(23, 28, 45, 0.06);
  font-size: 16px;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  margin-top: 14px;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-categories a {
  border-bottom: 1px solid transparent;
}

.hero-categories a:hover {
  border-color: currentColor;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  border-radius: var(--radius-md);
  background: var(--paper);
}

.hero-visual > a,
.hero-visual > a img {
  width: 100%;
  height: 100%;
}

.hero-visual > a img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 500ms ease;
}

.hero-visual:hover > a img {
  transform: scale(1.025);
}

.hero-visual__caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(22, 24, 29, 0.82);
  color: var(--white);
  backdrop-filter: blur(12px);
  gap: 20px;
}

.hero-visual__caption span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual__caption strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 54px;
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
  gap: 0;
}

.store-benefits div {
  display: grid;
  padding-inline: 28px;
  border-left: 1px solid var(--line);
  gap: 5px;
}

.store-benefits div:first-child {
  padding-left: 0;
  border-left: 0;
}

.store-benefits strong {
  font-size: 14px;
}

.store-benefits span {
  color: var(--ink-soft);
  font-size: 12px;
}

.section {
  padding: clamp(84px, 9vw, 132px) 0;
}

.section--ink {
  background: var(--ink);
  color: var(--white);
}

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

.section--muted {
  background: #f6f7f9;
}

.section--categories {
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  align-items: end;
  margin-bottom: 58px;
  gap: 56px;
}

.section-head h2,
.page-title {
  max-width: 920px;
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.section--ink .section-head p {
  color: rgba(255, 255, 255, 0.66);
}

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

.category-card {
  position: relative;
  display: flex;
  min-height: 300px;
  overflow: hidden;
  align-items: flex-end;
  padding: 24px;
  border-radius: var(--radius-md);
  background: #ddd3c4;
  color: var(--white);
  isolation: isolate;
  grid-column: span 3;
}

.category-card--lead {
  min-height: 390px;
  grid-column: span 6;
}

.category-card--final {
  grid-column: span 4;
}

.category-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgba(15, 12, 10, 0.78));
}

.category-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.09);
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.category-card:hover img {
  transform: scale(1.12);
}

.category-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1;
}

.category-card p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

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

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

.product-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background: #eceef2;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.002);
  transition: transform 500ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
}

.product-card__body {
  padding: 18px 0 0;
}

.product-card__meta {
  color: var(--ink-soft);
  font-size: 12px;
}

.product-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 8px 0 18px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.price-prefix {
  color: var(--ink-soft);
  font-size: 12px;
}

.price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 760;
}

.price-unit {
  color: var(--ink-soft);
  font-size: 11px;
}

.section-action {
  margin-top: 48px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 38px;
}

.catalog-sidebar {
  position: sticky;
  top: 106px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper-light);
}

.catalog-sidebar h2 {
  margin: 0 0 18px;
  font-size: 14px;
}

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

.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
}

.filter-list a:hover,
.filter-list a[aria-current="page"] {
  color: var(--clay-dark);
}

.filter-list small {
  color: #968d82;
}

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  gap: 20px;
}

.catalog-search {
  position: relative;
  flex: 1;
}

.catalog-search input {
  width: 100%;
  min-height: 54px;
  padding: 12px 48px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.search-results {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: none;
  max-height: 440px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-results.is-open {
  display: grid;
}

.search-result {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  padding: 8px;
  border-radius: 12px;
  gap: 12px;
}

.search-result:hover {
  background: var(--paper);
}

.search-result img {
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
}

.search-result span {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result b {
  font-size: 12px;
  white-space: nowrap;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  gap: 8px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 13px;
}

.pagination [aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.breadcrumbs {
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: 24px 0 8px;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

.breadcrumbs a,
.breadcrumbs span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs i {
  opacity: 0.45;
  font-style: normal;
}

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

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  align-items: end;
  gap: 46px;
}

.page-intro {
  max-width: 660px;
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 17px;
}

.brand-directory-section {
  padding-top: 12px;
}

.brand-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand-directory__item {
  display: grid;
  min-height: 92px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-content: center;
  gap: 5px;
  transition: background 160ms ease, color 160ms ease;
}

.brand-directory__item:hover {
  background: var(--oxide);
  color: var(--white);
}

.brand-directory__item strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.brand-directory__item span {
  color: var(--ink-soft);
  font-size: 12px;
}

.brand-directory__item:hover span {
  color: rgba(255, 255, 255, 0.72);
}

.directory-actions {
  margin-top: 32px;
}

.seo-landing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(36px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

.seo-link-list {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 48px;
}

.seo-link-list a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  transition: border-color 160ms ease, color 160ms ease;
}

.seo-link-list a:hover {
  border-color: var(--oxide);
  color: var(--oxide);
}

.product-page {
  padding: 28px 0 96px;
}

.product-kicker a,
.product-summary a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(164, 68, 47, 0.34);
  text-underline-offset: 3px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: start;
  gap: clamp(38px, 6vw, 86px);
}

.product-gallery {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
}

.gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 9px;
}

.gallery-thumb {
  overflow: hidden;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #e9e2d7;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--clay);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
  transform: scale(1.09);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: none;
}

.gallery-main {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.6), transparent),
    #e8e0d4;
}

.gallery-main img[src*="/media/official/"][src*="/products/"] {
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  margin: 24px;
  border: 1px solid rgba(23, 21, 18, 0.12);
  border-radius: calc(var(--radius-md) - 10px);
  background: #f7f5f1;
  box-shadow: 0 14px 38px rgba(23, 21, 18, 0.07);
  object-fit: contain;
  mix-blend-mode: normal;
  transform: none;
}

.gallery-thumb img[src*="/media/official/"][src*="/products/"] {
  box-sizing: border-box;
  padding: 5px;
  background: #f7f5f1;
  object-fit: contain;
  mix-blend-mode: normal;
  transform: none;
}

.product-info {
  position: sticky;
  top: 116px;
}

.product-kicker {
  margin-bottom: 12px;
  color: var(--clay-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 60px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
}

.product-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 30px 0;
  padding: 18px 0;
  border-block: 1px solid var(--line);
  gap: 10px 26px;
}

.product-summary div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 12px;
}

.product-summary b {
  color: var(--ink);
  font-weight: 650;
  text-align: right;
}

.product-price {
  margin: 24px 0;
}

.product-price .price {
  font-size: 38px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-sections {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  margin-top: 80px;
  gap: 70px;
}

.detail-sections h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 500;
}

.spec-table {
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.7fr) minmax(0, 1fr);
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
  font-size: 13px;
}

.spec-row span:first-child {
  color: var(--ink-soft);
}

.selector {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.6fr);
  padding: clamp(34px, 5vw, 70px);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(184, 83, 54, 0.17), transparent 48%),
    var(--ink);
  color: var(--white);
  gap: 70px;
}

.selector h2 {
  margin: 12px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.selector p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.65);
}

.selector-form {
  display: grid;
  align-content: center;
  gap: 10px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.field select option {
  color: var(--ink);
}

.form-status {
  min-height: 20px;
  margin: 4px 0 0;
  color: var(--sand);
  font-size: 12px;
}

.prose {
  max-width: 920px;
}

.prose h2 {
  margin: 48px 0 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 32px 0 12px;
  font-size: 20px;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 16px;
}

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 650;
  list-style: none;
}

.faq summary::after {
  content: "+";
  color: var(--clay);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  max-width: 860px;
  margin: -4px 0 22px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 70px 0 28px;
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 0.6fr));
  gap: 50px;
}

.footer-brand p {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-column nav {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  overflow: auto;
  padding: 22px;
  background: rgba(23, 21, 18, 0.78);
  backdrop-filter: blur(10px);
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal-card {
  position: relative;
  width: min(100%, 580px);
  padding: 38px;
  border-radius: var(--radius-md);
  background: var(--paper-light);
  box-shadow: var(--shadow);
}

.modal-card h2 {
  margin: 0 50px 12px 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
}

.modal-card p {
  color: var(--ink-soft);
}

.modal-card .field input,
.modal-card .field select,
.modal-card .field textarea {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.empty-state {
  padding: 50px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-align: center;
}

@media (max-width: 1100px) {
  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    top: 76px;
    right: 0;
    left: 0;
    display: grid;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper-light);
  }

  .main-nav a {
    padding: 10px 0;
  }

  .main-nav a::after {
    bottom: 5px;
  }

  .header-row {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions .button {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.8fr);
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .category-card,
  .category-card--lead,
  .category-card--final {
    min-height: 300px;
    grid-column: span 2;
  }

  .category-card--lead {
    grid-column: span 3;
  }

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

  .footer-grid {
    grid-template-columns: 1.2fr repeat(2, 0.7fr);
  }

  .footer-column:last-child {
    grid-column: 2 / -1;
  }
}

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

  .header-row {
    min-height: 68px;
  }

  .main-nav.is-open {
    top: 68px;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid,
  .page-hero__grid,
  .product-detail,
  .detail-sections,
  .selector {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero h1 {
    max-width: 680px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .category-card,
  .category-card--lead,
  .category-card--final {
    grid-column: span 1;
    min-height: 300px;
  }

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

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
    padding: 18px;
  }

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

  .product-info {
    position: static;
  }

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

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

  .footer-column:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(42px, 12.5vw, 54px);
  }

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

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

  .hero-categories {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .hero-categories::-webkit-scrollbar {
    display: none;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-visual__caption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 13px 14px;
  }

  .store-benefits {
    grid-template-columns: 1fr;
    margin-top: 38px;
    padding-block: 22px;
  }

  .store-benefits div,
  .store-benefits div:first-child {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .store-benefits div:first-child {
    border-top: 0;
  }

  .section {
    padding-block: 64px;
  }

  .section-head h2,
  .page-title {
    font-size: 43px;
  }

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

  .category-card:nth-child(n) {
    grid-column: 1 / -1;
    min-height: 270px;
  }

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

  .product-card__body {
    padding-top: 11px;
  }

  .product-card h3 {
    font-size: 13px;
  }

  .price {
    font-size: 20px;
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 8px;
    scrollbar-width: none;
  }

  .filter-list::-webkit-scrollbar {
    display: none;
  }

  .catalog-sidebar {
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .catalog-sidebar h2 {
    display: none;
  }

  .filter-list a {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--white);
    white-space: nowrap;
  }

  .filter-list a[aria-current="page"] {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }

  .filter-list small {
    margin-left: 8px;
  }

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

  .gallery-thumbs {
    grid-template-columns: repeat(5, 1fr);
    grid-row: 2;
  }

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

  .spec-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .selector {
    padding: 28px 20px;
    gap: 30px;
  }

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

  .footer-brand,
  .footer-column:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Storefront layout */
.utility-bar {
  border-bottom: 1px solid var(--line);
  background: #f7f7f8;
  color: var(--ink-soft);
  font-size: 12px;
}

.utility-bar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  gap: 24px;
}

.utility-bar__row > span::before {
  margin-right: 7px;
  color: var(--clay);
  content: "●";
  font-size: 7px;
  vertical-align: 2px;
}

.utility-bar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.utility-bar a:hover {
  color: var(--ink);
}

.site-header {
  overflow: visible;
  background: rgba(255, 255, 255, 0.97);
}

.store-header {
  display: grid;
  grid-template-columns: auto auto auto minmax(280px, 1fr) auto;
  align-items: center;
  min-height: 88px;
  gap: 14px;
}

.store-header .brand {
  margin-right: 14px;
  font-size: 20px;
}

.catalog-trigger,
.ready-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  gap: 11px;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.catalog-trigger {
  border-color: var(--clay);
  background: var(--clay);
  color: var(--white);
  cursor: pointer;
}

.catalog-trigger:hover,
.catalog-trigger[aria-expanded="true"] {
  border-color: var(--clay-dark);
  background: var(--clay-dark);
}

.catalog-trigger__icon {
  display: grid;
  width: 18px;
  gap: 3px;
}

.catalog-trigger__icon i {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.ready-link {
  border-color: var(--line);
  background: #f7f7f8;
}

.ready-link:hover {
  border-color: rgba(164, 68, 47, 0.34);
  color: var(--clay-dark);
}

.ready-link svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.header-search {
  min-width: 0;
}

.catalog-search {
  position: relative;
  margin: 0;
}

.catalog-search label.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.catalog-search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 52px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.catalog-search input:focus {
  border-color: rgba(164, 68, 47, 0.55);
  box-shadow: 0 0 0 4px rgba(164, 68, 47, 0.09);
  outline: 0;
}

.catalog-search > button {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 5px;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  cursor: pointer;
  place-items: center;
}

.catalog-search > button svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.store-actions {
  display: flex;
  align-items: stretch;
  gap: 4px;
}

.store-action {
  position: relative;
  display: grid;
  min-width: 74px;
  padding: 7px 9px;
  color: var(--ink-soft);
  font-size: 11px;
  text-align: center;
  gap: 3px;
  place-items: center;
}

.store-action:hover {
  color: var(--clay-dark);
}

.store-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.store-action b {
  position: absolute;
  top: 1px;
  right: 8px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding-inline: 4px;
  border-radius: 99px;
  background: var(--clay);
  color: var(--white);
  font-size: 10px;
  place-items: center;
}

.catalog-mega {
  position: absolute;
  z-index: 60;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 26px 56px rgba(20, 25, 38, 0.16);
}

.catalog-mega.is-open {
  display: block;
}

.catalog-mega__grid {
  display: grid;
  grid-template-columns: 0.8fr 2fr 0.9fr;
  padding-block: 34px 40px;
  gap: 42px;
}

.catalog-mega__intro {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.catalog-mega__intro strong {
  max-width: 250px;
  font-size: 22px;
  line-height: 1.2;
}

.catalog-mega__intro > a {
  margin-top: auto;
  color: var(--clay-dark);
  font-size: 13px;
  font-weight: 750;
}

.catalog-mega__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 4px 24px;
}

.catalog-mega__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 680;
}

.catalog-mega__links a:hover {
  color: var(--clay-dark);
}

.catalog-mega__links small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
}

.catalog-mega__service {
  display: grid;
  align-content: start;
  gap: 8px;
}

.catalog-mega__service a {
  display: grid;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--paper);
  gap: 2px;
}

.catalog-mega__service a:hover {
  background: #f4e8e4;
}

.catalog-mega__service strong {
  font-size: 13px;
}

.catalog-mega__service span {
  color: var(--ink-soft);
  font-size: 11px;
}

.mobile-store-nav {
  display: none;
}

.storefront-hero {
  padding-block: 58px 0;
  background: #f5f5f6;
}

.promo-slider {
  position: relative;
}

.promo-slider__viewport {
  position: relative;
  min-height: clamp(440px, 42vw, 590px);
  overflow: hidden;
  border-radius: 18px;
  background: #d8d9dc;
}

.promo-slide {
  position: absolute;
  visibility: hidden;
  inset: 0;
  opacity: 0;
  transition:
    opacity 420ms ease,
    visibility 420ms ease;
}

.promo-slide.is-active {
  visibility: visible;
  opacity: 1;
}

.promo-slide,
.promo-slide > a,
.promo-slide img {
  width: 100%;
  height: 100%;
}

.promo-slide img {
  object-fit: cover;
}

.promo-slide__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 13, 18, 0.78) 0%, rgba(10, 13, 18, 0.36) 42%, transparent 72%),
    linear-gradient(0deg, rgba(10, 13, 18, 0.23), transparent 46%);
}

.promo-slide__copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: clamp(38px, 6vw, 86px);
  max-width: 620px;
  transform: translateY(-50%);
  color: var(--white);
}

.promo-slide__copy .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.promo-slide h1,
.promo-title {
  max-width: 650px;
  margin: 12px 0 20px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.1vw, 74px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.promo-slide__copy > p:not(.promo-title) {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
}

.promo-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 18px;
  border-radius: 9px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.promo-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(15, 17, 21, 0.28);
  color: var(--white);
  cursor: pointer;
  place-items: center;
}

.promo-arrow:hover {
  background: rgba(15, 17, 21, 0.66);
}

.promo-arrow--prev {
  left: 16px;
}

.promo-arrow--next {
  right: 16px;
}

.promo-dots {
  position: absolute;
  z-index: 4;
  right: 28px;
  bottom: 24px;
  display: flex;
  gap: 7px;
}

.promo-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.promo-dots button[aria-pressed="true"] {
  width: 26px;
  border-radius: 99px;
  background: var(--white);
}

.storefront-hero .store-benefits {
  margin-top: 34px;
}

.favorite-button {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(22, 24, 29, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(20, 25, 38, 0.08);
  place-items: center;
}

.favorite-button svg {
  width: 18px;
  fill: transparent;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.favorite-button:hover,
.favorite-button.is-active {
  color: var(--clay);
}

.favorite-button.is-active svg {
  fill: currentColor;
}

.product-card {
  position: relative;
}

.catalog-layout {
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 34px;
}

.catalog-sidebar {
  top: 118px;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.catalog-categories,
.filter-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.catalog-categories {
  margin-bottom: 14px;
}

.catalog-categories h2 {
  margin: 0 0 14px;
  font-size: 14px;
}

.filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.filter-panel__head > strong {
  font-size: 18px;
}

.filter-panel__head button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.filter-block {
  margin: 0;
  padding: 17px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.filter-block h3,
.filter-block summary {
  margin: 0;
  font-size: 13px;
  font-weight: 760;
}

.filter-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
}

.filter-block summary::-webkit-details-marker {
  display: none;
}

.filter-block summary::after {
  content: "−";
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 400;
}

.filter-block:not([open]) summary::after {
  content: "+";
}

.filter-block summary span:not(:empty) {
  display: grid;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--clay);
  color: var(--white);
  font-size: 10px;
  place-items: center;
}

.price-filter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 12px;
  gap: 8px;
}

.price-filter label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-width: 0;
  min-height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  gap: 5px;
}

.price-filter input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.filter-options {
  display: grid;
  max-height: 240px;
  overflow: auto;
  margin-top: 12px;
  gap: 8px;
  scrollbar-width: thin;
}

.filter-option {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr) auto;
  align-items: center;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 12px;
  gap: 8px;
}

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

.filter-option input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--clay);
}

.filter-option small {
  color: #9a9da5;
  font-size: 10px;
}

.filter-loading {
  color: var(--ink-soft);
  font-size: 11px;
}

.filter-reset {
  width: 100%;
  margin-top: 18px;
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  margin-bottom: 16px;
}

.catalog-tools .catalog-search {
  min-width: 0;
}

.sort-control {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 11px;
  gap: 8px;
}

.sort-control select {
  min-width: 180px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}

.filter-open {
  display: none;
}

.catalog-status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 34px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 12px;
  gap: 20px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.active-filters button {
  padding: 5px 9px;
  border: 1px solid rgba(164, 68, 47, 0.22);
  border-radius: 99px;
  background: #f7ece8;
  color: var(--clay-dark);
  font-size: 10px;
  cursor: pointer;
}

.catalog-empty {
  display: grid;
  min-height: 240px;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 8px;
}

.catalog-empty[hidden] {
  display: none;
}

.catalog-empty .button {
  margin-top: 10px;
}

.catalog-load-more {
  margin-top: 42px;
  text-align: center;
}

.catalog-load-more[hidden],
.filter-backdrop {
  display: none;
}

@media (max-width: 1180px) {
  .store-header {
    grid-template-columns: auto auto minmax(240px, 1fr) auto;
  }

  .ready-link {
    display: none;
  }

  .catalog-mega__grid {
    grid-template-columns: 0.7fr 2fr;
  }

  .catalog-mega__service {
    display: none;
  }

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

@media (max-width: 900px) {
  .utility-bar nav {
    gap: 14px;
  }

  .utility-bar nav a:nth-child(-n + 2) {
    display: none;
  }

  .store-header {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    padding-block: 10px;
  }

  .store-header .brand {
    margin: 0;
  }

  .store-action {
    min-width: 46px;
  }

  .store-action span {
    display: none;
  }

  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: fixed;
    z-index: 120;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(88vw, 370px);
    overflow: auto;
    padding: 14px;
    transform: translateX(-105%);
    background: #f5f5f6;
    transition: transform 220ms ease;
  }

  body.filters-open {
    overflow: hidden;
  }

  body.filters-open .catalog-sidebar {
    transform: translateX(0);
  }

  body.filters-open .filter-backdrop {
    position: fixed;
    z-index: 110;
    display: block;
    inset: 0;
    background: rgba(13, 16, 24, 0.52);
  }

  .filter-panel__head button {
    display: block;
  }

  .catalog-tools {
    grid-template-columns: minmax(0, 1fr) auto auto;
  }

  .filter-open {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    padding-inline: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
  }
}

@media (max-width: 680px) {
  .utility-bar {
    display: none;
  }

  .site-header {
    position: sticky;
  }

  .store-header {
    grid-template-columns: auto 1fr auto;
    min-height: 0;
    gap: 8px;
  }

  .store-header .brand {
    font-size: 16px;
  }

  .store-header .brand-mark {
    width: 30px;
    height: 30px;
  }

  .catalog-trigger {
    justify-self: start;
    min-height: 42px;
    padding: 0 12px;
  }

  .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .header-search .catalog-search input {
    min-height: 44px;
  }

  .store-actions {
    justify-self: end;
  }

  .store-action {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-store-nav {
    position: absolute;
    z-index: 70;
    top: 100%;
    right: 0;
    left: 0;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding: 14px;
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .mobile-store-nav.is-open {
    display: grid;
  }

  .mobile-store-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    font-weight: 650;
  }

  .catalog-mega__grid {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 120px);
    overflow: auto;
    padding-block: 20px;
    gap: 18px;
  }

  .catalog-mega__intro {
    display: none;
  }

  .catalog-mega__links {
    grid-template-columns: 1fr;
  }

  .storefront-hero {
    padding-top: 18px;
  }

  .promo-slider__viewport {
    min-height: 500px;
    border-radius: 12px;
  }

  .promo-slide__shade {
    background: linear-gradient(0deg, rgba(10, 13, 18, 0.78), rgba(10, 13, 18, 0.08) 76%);
  }

  .promo-slide__copy {
    top: auto;
    right: 24px;
    bottom: 44px;
    left: 24px;
    transform: none;
  }

  .promo-slide h1,
  .promo-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .promo-arrow {
    top: 42%;
    width: 40px;
    height: 40px;
  }

  .promo-dots {
    right: 20px;
    bottom: 18px;
  }

  .storefront-hero .store-benefits {
    margin-top: 20px;
  }

  .catalog-tools {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .catalog-tools .catalog-search {
    grid-column: 1 / -1;
  }

  .filter-open,
  .sort-control {
    min-width: 0;
  }

  .sort-control {
    padding-inline: 10px;
  }

  .sort-control > span {
    display: none;
  }

  .sort-control select {
    width: 100%;
    min-width: 0;
  }

  .catalog-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .active-filters {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .brand-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .brand-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-landing {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .seo-link-list {
    padding-top: 0;
  }
}

@media (max-width: 460px) {
  .brand-directory {
    grid-template-columns: 1fr;
  }
}
