@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.e58febde317b.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.938c6e8019b6.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-black-italic-cyrillic.942667a1abe1.woff2") format("woff2");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-black-italic-latin.b2cdd1b3f5e3.woff2") format("woff2");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #080808;
  --graphite: #191919;
  --muted: #6d7179;
  --line: #e5e7eb;
  --soft: #f5f6f7;
  --white: #ffffff;
  --orange: #f4510b;
  --orange-dark: #cf3d00;
  --green: #16803b;
  --purple: #7c3eb3;
  --shadow: 0 16px 40px rgb(0 0 0 / 8%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

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

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

.page-shell {
  width: min(1480px, calc(100% - 48px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: var(--white);
  box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
}

.header-main {
  min-height: 86px;
  display: grid;
  grid-template-columns: 216px 132px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 24px;
  color: var(--white);
}

.header-main::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 86px;
  background: var(--black);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
}

.brand-logo {
  width: 58px;
  height: 56px;
  flex: 0 0 58px;
  object-fit: contain;
  object-position: center;
  filter: invert(1);
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 54px;
  flex: 0 0 52px;
  overflow: hidden;
}

.brand-mark img {
  position: absolute;
  width: 146px;
  max-width: none;
  top: 50%;
  left: 50%;
  filter: invert(1);
  transform: translate(-50%, -50%);
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-name {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 23px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--orange);
}

.brand-tagline {
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: 3px;
}

.catalog-button,
.primary-button,
.apply-button,
.cart-button,
.filter-open-button {
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  transition:
    background-color 160ms ease,
    transform 160ms ease;
}

.catalog-button:hover,
.primary-button:hover,
.apply-button:hover,
.cart-button:hover,
.filter-open-button:hover {
  background: var(--orange-dark);
}

.catalog-button:active,
.primary-button:active,
.apply-button:active,
.cart-button:active {
  transform: translateY(1px);
}

.catalog-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-inline: 20px;
  font-size: 16px;
}

.catalog-button .icon-menu {
  width: 22px;
  height: 22px;
}

.catalog-button.is-open {
  background: var(--orange-dark);
}

.catalog-dropdown {
  position: absolute;
  z-index: 40;
  top: 86px;
  right: 0;
  left: 0;
  border-top: 1px solid rgb(255 255 255 / 18%);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 18px 30px rgb(0 0 0 / 14%);
}

.catalog-dropdown-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 48px;
  padding-block: 24px 28px;
}

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

.catalog-category-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}

.catalog-brand-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.catalog-category-links a,
.catalog-brand-links a {
  min-height: 38px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}

.catalog-brand-links a {
  gap: 8px;
}

.catalog-brand-logo {
  width: 28px;
  height: 20px;
  flex: 0 0 28px;
  object-fit: contain;
}

.brand-logo-solaris,
.brand-logo-volga {
  filter: brightness(0);
}

.catalog-category-links a:hover,
.catalog-brand-links a:hover,
.catalog-all-brands-link:hover {
  color: var(--orange);
}

.catalog-all-brands-link {
  min-height: 42px;
  display: inline-flex;
  align-items: flex-end;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.catalog-service-links {
  display: none;
}

.catalog-service-links nav {
  display: grid;
  gap: 8px;
}

.catalog-service-links a {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
  height: 48px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
}

.search-form input {
  min-width: 0;
  border: 0;
  padding-inline: 18px;
  outline: 0;
  color: var(--black);
  font-size: 15px;
}

.search-form input:focus {
  box-shadow: inset 0 0 0 2px var(--orange);
}

.search-form button {
  border: 0;
  background: var(--orange);
  color: var(--white);
  font-size: 26px;
}

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

.header-action {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
}

.action-button {
  border: 0;
  background: transparent;
  padding: 0;
}

.header-action > span:last-child {
  display: grid;
}

.header-action strong {
  max-width: 110px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-action small {
  color: #a8abb0;
  font-size: 10px;
}

.header-action small b {
  color: var(--orange);
}

.action-icon {
  width: 30px;
  height: 32px;
}

.ui-icon {
  display: inline-block;
  flex: 0 0 auto;
  background-color: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.icon-user {
  mask-image: url("../icons/user-round.fa7673086775.svg");
  -webkit-mask-image: url("../icons/user-round.fa7673086775.svg");
}

.icon-heart {
  mask-image: url("../icons/heart.ed74f0ae0b66.svg");
  -webkit-mask-image: url("../icons/heart.ed74f0ae0b66.svg");
}

.icon-cart {
  mask-image: url("../icons/shopping-cart.43141dbddd99.svg");
  -webkit-mask-image: url("../icons/shopping-cart.43141dbddd99.svg");
}

.icon-camera {
  mask-image: url("../icons/camera.9d5add776dc5.svg");
  -webkit-mask-image: url("../icons/camera.9d5add776dc5.svg");
}

.icon-menu {
  mask-image: url("../icons/menu.e41a0bbbdaef.svg");
  -webkit-mask-image: url("../icons/menu.e41a0bbbdaef.svg");
}

.icon-trash {
  mask-image: url("../icons/trash-2.26ae9987e6da.svg");
  -webkit-mask-image: url("../icons/trash-2.26ae9987e6da.svg");
}

.secondary-nav {
  background: var(--white);
}

.secondary-nav .page-shell {
  min-height: 49px;
  display: flex;
  align-items: center;
  gap: 42px;
  overflow-x: auto;
  scrollbar-width: none;
}

.secondary-nav .page-shell::-webkit-scrollbar {
  display: none;
}

.secondary-nav a {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
}

.secondary-nav a:hover {
  color: var(--orange);
}

.hero {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--black);
  background-image: url("../images/ironhorse-hero.8ee57358b160.png");
  background-position: center;
  background-size: cover;
  color: var(--white);
}

.hero-content {
  width: min(730px, 55%);
  padding: 48px;
}

.eyebrow,
.section-kicker,
.product-category {
  margin: 0;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 8px 0 12px;
  font-size: 36px;
  line-height: 1.15;
  font-weight: 800;
}

.hero h1 span {
  color: var(--orange);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  color: #d2d4d7;
  font-size: 14px;
  font-weight: 600;
}

.hero-points li::before {
  content: "•";
  margin-right: 10px;
  color: var(--orange);
}

.hero-points li:first-child::before {
  display: none;
}

.hero-offer {
  width: min(580px, 100%);
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border: 1px solid rgb(244 81 11 / 55%);
  padding: 16px 18px;
}

.hero-offer > div {
  display: grid;
}

.hero-offer strong {
  text-transform: uppercase;
  font-size: 15px;
}

.hero-offer span {
  color: #c3c6ca;
  font-size: 12px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  white-space: nowrap;
}

.brands-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.brands-list {
  min-height: 82px;
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.brands-list > a,
.brands-list > span,
.brands-list > button {
  min-width: 112px;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border-right: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.brands-list > a:hover,
.brands-list > a.is-active,
.brands-list > button:hover {
  color: var(--orange);
  background: #fff8f4;
}

.brand-logo-frame {
  width: 42px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-frame img {
  width: 38px;
  height: 32px;
  object-fit: contain;
  transition: transform 160ms ease;
}

.brands-list > a:hover .brand-logo-frame img,
.brands-list > a.is-active .brand-logo-frame img {
  transform: scale(1.06);
}

.brands-list .all-brands {
  min-width: 130px;
  border: 0;
  border-right: 0;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  font-size: 12px;
}

.all-brands-panel {
  border-top: 1px solid var(--line);
  background: #fafafa;
}

.all-brands-grid {
  max-height: 300px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 22px;
  overflow-y: auto;
  padding-block: 14px 18px;
}

.all-brands-grid a {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}

.all-brand-logo {
  width: 36px;
  height: 28px;
  display: flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
}

.all-brand-logo img {
  width: 34px;
  height: 26px;
  object-fit: contain;
}

.all-brands-grid a:hover,
.all-brands-grid a.is-active {
  color: var(--orange);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding-block: 28px 70px;
}

.filters {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-header h2 {
  margin: 0 0 18px;
  font-size: 15px;
  text-transform: uppercase;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  background: transparent;
  font-size: 30px;
}

.filters form {
  display: grid;
}

.filters label:not(.check-row),
.filters legend {
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.filters select,
.toolbar-controls select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  padding: 0 12px;
  color: var(--graphite);
  font-size: 13px;
}

.filters select {
  margin-bottom: 16px;
}

.filters select:disabled {
  background: var(--soft);
  color: #9a9da3;
}

.filters fieldset {
  display: grid;
  gap: 10px;
  margin: 8px 0 20px;
  border: 0;
  padding: 0;
}

.filters legend {
  margin-bottom: 10px;
  padding: 0;
}

.check-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.check-row input {
  width: 17px;
  height: 17px;
  accent-color: var(--orange);
}

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

.apply-button {
  width: 100%;
}

.reset-link {
  min-height: 44px;
  display: grid;
  place-items: center;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  min-height: 62px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.catalog-toolbar h2 {
  margin: 2px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.catalog-result-count {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toolbar-controls select {
  width: 180px;
}

.view-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.view-toggle button {
  width: 44px;
  height: 42px;
  border: 0;
  background: var(--white);
  color: var(--muted);
  font-size: 20px;
}

.view-toggle button + button {
  border-left: 1px solid var(--line);
}

.view-toggle button.is-active {
  color: var(--orange);
  background: #fff8f4;
}

.filter-open-button {
  display: none;
  padding-inline: 18px;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.product-card:hover {
  border-color: #cdd0d4;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  height: 235px;
  overflow: hidden;
  background: var(--soft);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-link,
.product-image-link picture,
.cart-item-media picture {
  width: 100%;
  height: 100%;
  display: block;
}

.product-category a {
  color: inherit;
  text-decoration: none;
}

.product-category a:hover {
  text-decoration: underline;
}

.product-fallback {
  width: 100%;
  height: 100%;
}

.image-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  background: #f0f1f2;
  color: #7b7f86;
  text-align: center;
}

.image-placeholder .icon-camera {
  width: 52px;
  height: 52px;
}

.image-placeholder strong {
  font-size: 14px;
  font-weight: 800;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 3px;
  background: var(--purple);
  padding: 5px 8px;
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.badge-new {
  background: var(--green);
}

.favorite-form {
  display: contents;
}

.favorite-button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgb(255 255 255 / 90%);
  color: var(--graphite);
}

.favorite-button .ui-icon {
  width: 23px;
  height: 23px;
}

.favorite-button:hover,
.favorite-button[aria-pressed="true"] {
  color: var(--orange);
}

.favorite-button[aria-pressed="true"] {
  background: #fff2eb;
}

.favorite-button:disabled,
.favorite-detail-button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.product-body {
  display: grid;
  min-height: 386px;
  grid-template-rows: 34px 96px 20px 82px 36px auto;
  padding: 16px;
}

.product-category {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  font-size: 10px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.product-card h3 a:hover {
  color: var(--orange);
}

.product-sku,
.detail-sku {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  height: 76px;
  margin: 0;
  border: 1px solid #f0d6ca;
  background: #f0d6ca;
}

.product-specs div {
  min-width: 0;
  background: var(--white);
  padding: 7px;
}

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

.product-specs dd {
  margin: 1px 0 0;
  font-size: 11px;
  font-weight: 700;
}

.color-row {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 7px;
  min-height: 36px;
  margin: 0;
}

.color-row > span:first-child {
  margin-right: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.color-swatch {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #b8bbc0;
}

.product-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: end;
}

.product-price {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
}

.product-price-request {
  max-width: 170px;
  font-size: 20px;
  line-height: 1.2;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  font-weight: 800;
}

.pagination a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.pagination span {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.pagination i {
  width: 28px;
  color: var(--muted);
  text-align: center;
  font-style: normal;
}

.cart-button {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
}

.empty-catalog {
  grid-column: 1 / -1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #f7f8f9;
  padding: 36px;
  text-align: center;
}

.empty-catalog h3 {
  margin: 0 0 6px;
  font-size: 22px;
}

.empty-catalog p {
  margin: 0;
  color: var(--muted);
}

.empty-reset-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfd2d6;
  border-radius: 4px;
  margin-top: 18px;
  background: var(--white);
  padding-inline: 18px;
  font-weight: 800;
}

.empty-reset-button:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.site-footer {
  border-top: 4px solid var(--orange);
  background: var(--black);
  color: var(--white);
}

.site-footer .page-shell {
  min-height: 140px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
}

.footer-brand {
  font-size: 20px;
}

.site-footer p {
  color: #a8abb0;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 700;
}

.filter-backdrop {
  display: none;
}

.toast-stack {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100% - 48px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  width: 100%;
  border-radius: 4px;
  background: var(--graphite);
  padding: 13px 18px;
  color: var(--white);
  font-weight: 700;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.toast-error {
  border-left: 4px solid #dc2626;
}

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

.product-grid.is-list .product-card {
  display: grid;
  grid-template-columns: 300px 1fr;
}

.product-grid.is-list .product-media {
  height: 100%;
  min-height: 270px;
}

.product-grid.is-list .product-body {
  min-height: 270px;
}

.detail-header {
  background: var(--black);
  color: var(--white);
}

.detail-header .page-shell {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
}

.back-link:hover {
  color: var(--orange);
}

.detail-cart-link,
.detail-favorite-link,
.detail-account-link {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.detail-cart-link:hover,
.detail-favorite-link:hover,
.detail-account-link:hover,
.cart-account-link:hover {
  color: var(--orange);
}

.detail-cart-link .ui-icon,
.detail-favorite-link .ui-icon,
.detail-account-link .ui-icon {
  width: 24px;
  height: 24px;
}

.detail-cart-link b,
.detail-favorite-link b {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
  gap: 56px;
  padding-block: 56px 80px;
}

.detail-gallery-shell {
  min-width: 0;
  display: grid;
  gap: 12px;
}

.detail-gallery {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 480px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
}

.detail-image-open {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
}

.detail-gallery img,
.detail-image-open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-image-open > span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: rgb(255 255 255 / 92%);
  padding-inline: 13px;
  color: var(--graphite);
  font-size: 12px;
  font-weight: 800;
}

.detail-image-open:hover > span,
.detail-image-open:focus-visible > span {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.detail-fallback {
  width: 100%;
  height: 100%;
  min-height: 480px;
}

.detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.detail-thumbnail {
  aspect-ratio: 1;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--soft);
  padding: 0;
}

.detail-thumbnail.is-active {
  border-color: var(--orange);
}

.detail-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-info {
  min-width: 0;
  padding-top: 8px;
}

.detail-info h1 {
  margin: 8px 0 16px;
  font-size: 38px;
  line-height: 1.2;
}

.detail-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.detail-specs {
  display: grid;
  margin: 24px 0;
  border-top: 1px solid var(--line);
}

.detail-specs div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.detail-specs dt {
  color: var(--muted);
}

.detail-specs dd {
  margin: 0;
  font-weight: 700;
}

.detail-colors {
  margin: 0 0 28px;
  border: 0;
  padding: 0;
}

.detail-colors legend {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-colors > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.detail-colors label {
  display: grid;
  justify-items: center;
  gap: 6px;
  cursor: pointer;
}

.detail-colors input {
  position: absolute;
  opacity: 0;
}

.color-swatch-large {
  width: 34px;
  height: 34px;
}

.detail-colors input:checked + .color-swatch {
  box-shadow: 0 0 0 2px var(--orange);
}

.detail-colors small {
  color: var(--muted);
  font-size: 11px;
}

.detail-compatibility {
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.detail-compatibility h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.detail-compatibility ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-compatibility li {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-compatibility li:first-child {
  border-top: 1px solid var(--line);
}

.detail-compatibility li strong {
  font-size: 13px;
}

.detail-compatibility li span,
.compatibility-empty {
  color: var(--muted);
  font-size: 13px;
}

.compatibility-universal {
  display: inline-flex;
  border-left: 3px solid var(--orange);
  margin: 0 0 14px;
  background: #fff4ef;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.compatibility-empty {
  margin: 0;
}

.detail-purchase {
  display: grid;
  grid-template-columns: auto minmax(240px, 320px);
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.detail-purchase-actions {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 48px;
  gap: 8px;
}

.favorite-detail-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--graphite);
}

.favorite-detail-button:hover,
.favorite-detail-button[aria-pressed="true"] {
  border-color: var(--orange);
  background: #fff2eb;
  color: var(--orange);
}

.favorite-detail-button .ui-icon {
  width: 24px;
  height: 24px;
}

.favorites-main {
  padding-block: 42px 80px;
}

.favorites-title {
  min-height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.favorites-title h1 {
  margin: 0;
  font-size: 42px;
}

.favorites-title > span {
  color: var(--muted);
  font-weight: 700;
}

.favorites-title > span b {
  color: var(--graphite);
}

.favorites-empty {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 30px;
  text-align: center;
}

.favorites-empty[hidden],
.favorites-grid[hidden] {
  display: none;
}

.favorites-empty > .ui-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  color: var(--orange);
}

.favorites-empty h2 {
  margin: 0;
  font-size: 25px;
}

.favorites-empty p {
  margin: 8px 0 22px;
  color: var(--muted);
}

.favorites-empty .primary-button {
  min-height: 48px;
  padding-inline: 24px;
}

.gallery-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) 68px;
  align-items: center;
  background: rgb(0 0 0 / 92%);
  padding: 72px 28px 28px;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal > img {
  width: 100%;
  height: calc(100dvh - 100px);
  object-fit: contain;
}

.gallery-close,
.gallery-nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  background: rgb(0 0 0 / 52%);
  color: var(--white);
  font-size: 26px;
}

.gallery-close:hover,
.gallery-nav:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 22px;
}

.gallery-prev {
  justify-self: start;
}

.gallery-next {
  justify-self: end;
}

.cart-page {
  min-height: 100vh;
  background: #f5f6f7;
}

.cart-account-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}

.cart-main {
  padding-block: 44px 80px;
}

.cart-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.cart-title h1 {
  margin: 3px 0 0;
  font-size: 38px;
  line-height: 1.1;
}

.cart-title > span {
  color: var(--muted);
  font-weight: 700;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 24px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 300px;
  gap: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
}

.cart-item-media {
  min-height: 152px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--soft);
}

.cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item-media .image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.cart-item-media .icon-camera {
  width: 48px;
  height: 48px;
  color: #969ba2;
}

.cart-item-info {
  min-width: 0;
  padding-block: 4px;
}

.cart-item-info > p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item-info h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.cart-item-info h2 a:hover {
  color: var(--orange-dark);
}

.cart-item-sku {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.cart-item-color {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cart-item-color .color-swatch {
  width: 18px;
  height: 18px;
}

.cart-item-color i {
  font-style: normal;
}

.cart-item-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  align-items: center;
  gap: 16px;
  border-left: 1px solid var(--line);
  padding: 4px 0 4px 20px;
}

.quantity-control {
  width: 132px;
  height: 46px;
  display: grid;
  grid-template-columns: 42px 48px 42px;
  overflow: hidden;
  border: 1px solid #cfd2d6;
  border-radius: 4px;
}

.quantity-control form,
.quantity-control button,
.quantity-control input {
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--white);
}

.quantity-control button {
  color: var(--graphite);
  font-size: 21px;
  cursor: pointer;
}

.quantity-control button:hover {
  background: #f1f2f3;
  color: var(--orange-dark);
}

.quantity-control input {
  border-inline: 1px solid #cfd2d6;
  outline: 0;
  padding: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.quantity-control button.sr-only {
  width: 1px;
  height: 1px;
}

.cart-item-price {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

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

.cart-item-price strong {
  font-size: 18px;
  line-height: 1.2;
}

.cart-item-price .cart-price-request {
  white-space: nowrap;
  font-size: 16px;
}

.remove-item-form {
  position: absolute;
  right: 18px;
  bottom: 18px;
}

.remove-item-form button {
  width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dadd;
  border-radius: 4px;
  background: var(--white);
  padding: 0;
  color: var(--muted);
}

.remove-item-form button:hover {
  border-color: #d92d20;
  background: #fff1f0;
  color: #b42318;
}

.remove-item-form .ui-icon {
  width: 17px;
  height: 17px;
}

.cart-summary {
  position: sticky;
  top: 24px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.cart-summary h2 {
  margin: 0 0 20px;
  font-size: 23px;
}

.cart-summary dl {
  display: grid;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.cart-summary dl div,
.cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

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

.cart-summary dd {
  margin: 0;
  font-weight: 700;
}

.cart-total {
  margin-top: 18px;
}

.cart-total span {
  font-size: 16px;
  font-weight: 800;
}

.cart-total strong {
  max-width: 180px;
  font-size: 21px;
  line-height: 1.2;
  text-align: right;
}

.cart-summary > p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-button {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 4px;
  margin-top: 22px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.checkout-button:hover {
  background: var(--orange-dark);
}

.checkout-button:disabled {
  background: #b8bbc0;
  cursor: not-allowed;
}

.checkout-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.checkout-modal.is-open {
  display: flex;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 68%);
}

.checkout-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(720px, calc(100dvh - 40px));
  overflow-y: auto;
  border-top: 4px solid var(--orange);
  background: var(--white);
  padding: 28px;
  box-shadow: 0 18px 60px rgb(0 0 0 / 32%);
}

.checkout-dialog > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.checkout-dialog h2 {
  margin: 3px 0 0;
  font-size: 27px;
  line-height: 1.2;
}

.checkout-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--graphite);
  font-size: 28px;
  line-height: 1;
}

.checkout-close:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

.checkout-dialog form {
  display: grid;
  gap: 17px;
}

.turnstile-field {
  width: 100%;
  min-height: 65px;
  overflow: hidden;
}

.turnstile-field .cf-turnstile {
  width: 100%;
}

.turnstile-config-error {
  min-height: 65px;
  display: flex;
  align-items: center;
  border-left: 3px solid #b42318;
  margin: 0;
  background: #fff1f0;
  padding: 10px 12px;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.turnstile-load-error {
  margin: 10px 0 0;
  color: #a12b16;
  font-size: 14px;
  line-height: 1.45;
}

.turnstile-load-error button {
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.checkout-field {
  display: grid;
  gap: 7px;
}

.checkout-field label {
  font-size: 13px;
  font-weight: 800;
}

.checkout-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd2d6;
  border-radius: 4px;
  outline: 0;
  padding-inline: 14px;
  font-size: 16px;
}

.checkout-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgb(255 76 0 / 14%);
}

.checkout-field .errorlist,
.checkout-form-errors .errorlist {
  margin: 0;
  padding: 0;
  color: #b42318;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.checkout-form-errors {
  border-left: 3px solid #b42318;
  background: #fff1f0;
  padding: 10px 12px;
}

.checkout-dialog form > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-submit {
  min-height: 52px;
  border: 0;
  border-radius: 4px;
  background: var(--orange);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
}

.checkout-submit:hover {
  background: var(--orange-dark);
}

.checkout-submit:disabled {
  background: #b8bbc0;
}

.cart-empty {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 40px 24px;
  text-align: center;
}

.cart-empty > .ui-icon {
  width: 62px;
  height: 62px;
  color: #969ba2;
}

.cart-empty h2 {
  margin: 18px 0 6px;
  font-size: 26px;
}

.cart-empty p {
  margin: 0 0 22px;
  color: var(--muted);
}

.cart-empty .primary-button {
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
}

.order-success {
  min-height: calc(100vh - 86px);
  display: grid;
  place-items: center;
  padding-block: 50px;
}

.order-success > section {
  width: min(680px, 100%);
  border: 1px solid var(--line);
  background: var(--white);
  padding: 42px;
}

.order-success-mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 24px;
  background: #168348;
  color: var(--white);
  font-size: 30px;
  font-weight: 800;
}

.order-success h1 {
  margin: 5px 0 8px;
  font-size: 38px;
}

.order-success > section > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
}

.order-success-details {
  display: grid;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.order-success-details div {
  min-height: 48px;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.order-success-details dt {
  color: var(--muted);
}

.order-success-details dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.order-success .primary-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 24px;
}

.info-page,
.error-page {
  background: var(--surface);
}

.info-main {
  padding-block: 58px 80px;
}

.info-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.info-heading h1,
.error-content h1 {
  margin: 6px 0 12px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
}

.info-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.info-sections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}

.info-sections section {
  min-height: 220px;
  padding: 30px;
}

.info-sections section + section {
  border-left: 1px solid var(--line);
}

.info-sections h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

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

.info-contact-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--orange);
  font-size: 17px;
  font-weight: 800;
}

.info-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 34px;
}

.info-navigation a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 800;
}

.info-navigation a[aria-current="page"] {
  color: var(--orange);
  text-decoration: none;
}

.error-content {
  min-height: calc(100dvh - 86px);
  display: grid;
  place-content: center;
  justify-items: start;
  padding-block: 56px;
}

.error-code {
  margin: 0;
  color: var(--orange);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.error-content > p:not(.error-code) {
  max-width: 620px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1240px) {
  .page-shell {
    width: min(1180px, calc(100% - 32px));
  }

  .header-main {
    grid-template-columns: 176px 112px minmax(240px, 1fr) auto;
    gap: 14px;
  }

  .brand-logo {
    width: 48px;
    height: 50px;
    flex-basis: 48px;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-tagline {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-action > span:last-child {
    display: none;
  }

  .secondary-nav .page-shell {
    gap: 30px;
  }

}

@media (max-width: 1100px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: fixed;
    z-index: 55;
    top: 0;
    left: 0;
    width: min(360px, calc(100% - 44px));
    height: 100dvh;
    overflow-y: auto;
    border: 0;
    background: var(--white);
    padding: 22px;
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  .filters.is-open {
    transform: translateX(0);
  }

  .icon-button {
    display: block;
  }

  .filter-backdrop {
    position: fixed;
    z-index: 50;
    inset: 0;
    background: rgb(0 0 0 / 56%);
  }

  .filter-backdrop.is-visible {
    display: block;
  }

  .filter-open-button {
    display: block;
  }

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

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

  .cart-summary {
    position: static;
  }
}

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

  .header-main {
    min-height: 148px;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: 76px 56px;
  }

  .header-main::before {
    height: 148px;
  }

  .catalog-dropdown {
    top: 148px;
  }

  .catalog-dropdown-inner {
    max-height: min(620px, calc(100dvh - 148px));
    grid-template-columns: 1fr;
    gap: 26px;
    overflow-y: auto;
  }

  .catalog-service-links {
    display: block;
  }

  .brand {
    grid-column: 1;
  }

  .catalog-button {
    grid-column: 2;
  }

  .header-actions {
    grid-column: 3;
  }

  .secondary-nav {
    display: none;
  }

  .header-action:first-child {
    display: none;
  }

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

  .secondary-nav .page-shell {
    min-height: 0;
    display: grid;
    gap: 0;
    padding-block: 6px;
  }

  .secondary-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .all-brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hero {
    min-height: 500px;
    align-items: flex-end;
    background-position: 61% center;
  }

  .hero-content {
    width: 100%;
    padding: 34px;
    background: rgb(0 0 0 / 72%);
  }

  .hero h1 {
    font-size: 32px;
  }

  .brands-list > a,
  .brands-list > span {
    min-width: 106px;
  }

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

  .filters {
    position: fixed;
    z-index: 55;
    top: 0;
    left: 0;
    width: min(360px, calc(100% - 44px));
    height: 100dvh;
    overflow-y: auto;
    border: 0;
    background: var(--white);
    padding: 22px;
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }

  .filters.is-open {
    transform: translateX(0);
  }

  .icon-button {
    display: block;
  }

  .filter-backdrop {
    position: fixed;
    z-index: 50;
    inset: 0;
    background: rgb(0 0 0 / 56%);
  }

  .filter-backdrop.is-visible {
    display: block;
  }

  .filter-open-button {
    display: block;
  }

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

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

  .detail-gallery,
  .detail-fallback {
    min-height: 440px;
  }

  .site-footer .page-shell {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 34px;
  }

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

  .cart-item-controls {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr auto;
    border-top: 1px solid var(--line);
    border-left: 0;
    padding: 16px 0 0;
  }

  .remove-item-form {
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .cart-item-info {
    padding-right: 52px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .page-shell {
    width: min(100% - 24px, 600px);
  }

  .header-main {
    min-height: 132px;
    grid-template-columns: minmax(0, 1fr) 48px 68px;
    grid-template-rows: 68px 52px;
    gap: 6px;
  }

  .header-main::before {
    height: 132px;
  }

  .catalog-dropdown {
    top: 132px;
  }

  .catalog-dropdown-inner {
    max-height: calc(100dvh - 132px);
    gap: 22px;
    padding-block: 18px 22px;
  }

  .catalog-category-links,
  .catalog-brand-links {
    grid-template-columns: 1fr;
  }

  .all-brands-grid {
    max-height: 55dvh;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap-inline: 16px;
  }

  .brand-mark {
    width: 42px;
    height: 46px;
    flex-basis: 42px;
  }

  .brand-mark img {
    width: 122px;
  }

  .brand-name {
    font-size: 19px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-tagline {
    font-size: 7px;
    letter-spacing: 2px;
  }

  .catalog-button {
    width: 48px;
    min-height: 46px;
    padding: 0;
  }

  .catalog-button span:last-child {
    display: none;
  }

  .header-actions {
    display: flex;
    gap: 4px;
  }

  .header-action {
    justify-content: center;
  }

  .search-form {
    height: 46px;
  }

  .search-form input {
    font-size: 16px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 510px;
    width: 100%;
    background-position: 68% center;
  }

  .hero-content {
    padding: 26px 18px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .hero-points {
    display: grid;
    gap: 6px;
  }

  .hero-points li::before,
  .hero-points li:first-child::before {
    display: inline;
  }

  .hero-offer {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-offer .primary-button {
    width: 100%;
  }

  .catalog-layout {
    padding-top: 22px;
  }

  .catalog-toolbar {
    display: grid;
  }

  .catalog-toolbar h2 {
    font-size: 21px;
  }

  .toolbar-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .toolbar-controls form {
    min-width: 0;
  }

  .toolbar-controls select {
    width: 100%;
    font-size: 12px;
  }

  .view-toggle {
    display: none;
  }

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

  .product-media {
    height: 150px;
  }

  .image-placeholder .icon-camera {
    width: 38px;
    height: 38px;
  }

  .image-placeholder strong {
    font-size: 11px;
  }

  .product-body {
    min-height: 310px;
    grid-template-rows: 28px 80px 18px 58px 30px auto;
    padding: 11px;
  }

  .product-card h3 {
    margin: 0;
    font-size: 15px;
    -webkit-line-clamp: 4;
  }

  .product-category {
    font-size: 9px;
  }

  .product-sku {
    margin: 0;
    font-size: 10px;
  }

  .product-specs {
    height: 52px;
    grid-template-columns: 1fr;
  }

  .product-specs div:last-child {
    display: none;
  }

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

  .product-price-request {
    font-size: 15px;
    line-height: 1.25;
  }

  .cart-button {
    min-height: 44px;
    font-size: 14px;
  }

  .favorite-button {
    right: 6px;
    bottom: 6px;
  }

  .pagination {
    flex-wrap: wrap;
  }

  .pagination a,
  .pagination span {
    width: 40px;
    height: 40px;
  }

  .site-footer .page-shell {
    width: calc(100% - 36px);
  }

  .footer-links {
    display: grid;
    gap: 10px;
  }

  .product-detail {
    gap: 24px;
    padding-block: 24px 50px;
  }

  .detail-header .page-shell {
    min-height: 74px;
  }

  .detail-actions {
    gap: 12px;
  }

  .detail-actions .back-link {
    display: none;
  }

  .detail-account-link > span:last-child,
  .detail-favorite-link > span:not(.ui-icon),
  .detail-cart-link > span:not(.ui-icon) {
    display: none;
  }

  .detail-header .brand-mark {
    display: none;
  }

  .detail-gallery,
  .detail-fallback {
    min-height: 320px;
  }

  .detail-gallery {
    aspect-ratio: 1;
  }

  .detail-thumbnails {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .detail-info h1 {
    font-size: 25px;
  }

  .detail-description {
    font-size: 14px;
  }

  .detail-compatibility li {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 12px;
  }

  .detail-purchase {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .favorites-main {
    padding-block: 28px 50px;
  }

  .favorites-title {
    min-height: 64px;
    margin-bottom: 18px;
  }

  .favorites-title h1 {
    font-size: 30px;
  }

  .favorites-title > span {
    font-size: 12px;
  }

  .favorites-empty {
    min-height: 420px;
    padding: 24px 18px;
  }

  .gallery-modal {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding: 64px 10px 18px;
  }

  .gallery-modal > img {
    height: calc(100dvh - 82px);
  }

  .gallery-close,
  .gallery-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .gallery-close {
    top: 12px;
    right: 12px;
  }

  .cart-main {
    padding-block: 28px 50px;
  }

  .cart-title {
    margin-bottom: 18px;
  }

  .cart-title h1 {
    font-size: 30px;
  }

  .cart-item {
    min-height: 0;
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .cart-item-media {
    min-height: 104px;
  }

  .cart-item-info h2 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 15px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .cart-item-info > p {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .cart-item-color {
    margin-top: 8px;
    font-size: 11px;
  }

  .cart-item-controls {
    grid-template-columns: 132px 1fr;
    gap: 12px;
  }

  .cart-item-price strong {
    font-size: 15px;
  }

  .remove-item-form {
    top: 12px;
    right: 12px;
    bottom: auto;
  }

  .cart-summary {
    padding: 20px;
  }

  .cart-empty {
    min-height: 360px;
  }

  .checkout-modal {
    align-items: flex-end;
    padding: 0;
  }

  .checkout-dialog {
    width: 100%;
    max-height: calc(100dvh - 24px);
    padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
  }

  .checkout-dialog h2 {
    font-size: 23px;
  }

  .order-success {
    min-height: calc(100vh - 74px);
    padding-block: 24px;
  }

  .order-success > section {
    padding: 28px 20px;
  }

  .order-success h1 {
    font-size: 30px;
  }

  .order-success-details div {
    grid-template-columns: 100px 1fr;
  }

  .order-success .primary-button {
    width: 100%;
  }

  .info-main {
    padding-block: 34px 56px;
  }

  .info-heading {
    margin-bottom: 24px;
  }

  .info-heading h1,
  .error-content h1 {
    font-size: 34px;
  }

  .info-heading > p:last-child,
  .error-content > p:not(.error-code) {
    font-size: 16px;
  }

  .info-sections {
    grid-template-columns: 1fr;
  }

  .info-sections section {
    min-height: 0;
    padding: 24px 20px;
  }

  .info-sections section + section {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
