:root {
  --ink: #1d1b24;
  --muted: #696671;
  --paper: #f6f5f2;
  --surface: #ffffff;
  --line: #dedce2;
  --violet: #583d78;
  --violet-dark: #3f295b;
  --violet-soft: #eee9f4;
  --silver: #a9a7ad;
  --lime: #d8ed75;
  --danger: #9c3b44;
  --shadow: 0 18px 48px rgba(40, 29, 52, 0.12);
  font-family:
    Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% 5%, rgba(88, 61, 120, 0.08), transparent 26rem),
    var(--paper);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

.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;
}

.store-header {
  position: sticky;
  z-index: 50;
  top: 0;
  width: 100%;
  background: rgba(246, 245, 242, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.store-header-main {
  width: min(1440px, calc(100% - 48px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}

.store-brand img {
  width: 118px;
  height: 41px;
  object-fit: contain;
}

.store-brand small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  color: white;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  background: var(--violet);
  border-radius: 10px;
}

.catalog-button:hover {
  background: var(--violet-dark);
}

.store-header .store-search {
  max-width: none;
  min-width: 0;
}

.store-header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.b2b-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 6px 9px 6px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.b2b-button strong {
  padding: 5px 7px;
  border-radius: 7px;
  color: white;
  background: var(--violet);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.b2b-button:hover {
  border-color: var(--violet);
}

.location-link {
  display: grid;
  gap: 2px;
  padding: 4px 7px;
  color: var(--ink);
  text-decoration: none;
}

.location-link span {
  font-size: 12px;
  font-weight: 750;
}

.location-link small {
  color: var(--muted);
  font-size: 9px;
}

.store-nav {
  width: min(1440px, calc(100% - 48px));
  min-height: 32px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.store-nav a,
.store-nav span {
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
}

.store-nav a:hover {
  color: var(--violet);
}

.store-nav span {
  margin-left: auto;
  color: var(--muted);
  font-weight: 500;
}

.selection-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 10px 8px 13px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.selection-button:hover {
  border-color: var(--violet);
}

.selection-count {
  display: grid;
  place-items: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  color: white;
  font-size: 12px;
  background: var(--violet);
  border-radius: 999px;
}

main {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

.store-hero {
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: center;
  gap: 48px;
  margin-top: 22px;
  padding: 38px 44px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 94% 0, rgba(88, 61, 120, 0.11), transparent 21rem),
    var(--surface);
}

.store-eyebrow {
  margin: 0 0 14px;
  color: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.store-hero .store-eyebrow {
  color: var(--violet);
}

.store-hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.store-lead {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.store-search {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
}

.store-search input {
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
}

.store-search input::placeholder {
  color: #918d97;
}

.store-search button,
.primary-action {
  padding: 0 18px;
  color: white;
  font-size: 12px;
  font-weight: 750;
  background: var(--violet);
  border: 0;
  border-radius: 8px;
}

.store-search button:hover,
.primary-action:hover {
  background: var(--violet-dark);
}

.primary-action:disabled,
.primary-action:disabled:hover {
  cursor: not-allowed;
  color: #96929a;
  background: #e5e3e7;
}

.quick-searches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quick-searches button {
  padding: 8px 12px;
  color: var(--violet);
  font-size: 12px;
  background: var(--violet-soft);
  border: 1px solid transparent;
  border-radius: 999px;
}

.quick-searches button:hover {
  color: white;
  background: var(--violet);
}

.store-hero-facts {
  display: grid;
  gap: 8px;
}

.store-hero-facts article {
  display: grid;
  gap: 3px;
  padding: 13px 15px;
  background: rgba(88, 61, 120, 0.055);
  border-left: 3px solid var(--violet);
  border-radius: 9px;
}

.store-hero-facts strong {
  font-size: 13px;
}

.store-hero-facts span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.assurance-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 16px 0 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.assurance-strip article {
  display: flex;
  gap: 17px;
  min-height: 88px;
  padding: 18px;
  background: var(--surface);
}

.assurance-number {
  color: var(--violet);
  font-size: 12px;
  font-weight: 850;
}

.assurance-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.assurance-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.category-section {
  padding: 58px 0 0;
}

.category-section .store-eyebrow {
  color: var(--violet);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.category-loading {
  grid-column: 1 / -1;
  min-height: 150px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.category-card {
  position: relative;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  padding: 17px;
  overflow: hidden;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  background:
    linear-gradient(145deg, rgba(88, 61, 120, 0.035), transparent 58%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.category-card::after {
  content: "↗";
  position: absolute;
  right: 18px;
  bottom: 16px;
  color: var(--violet);
  font-size: 19px;
}

.category-card:hover {
  color: white;
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}

.category-card:hover::after,
.category-card:hover .category-card-meta,
.category-card:hover .category-index {
  color: var(--lime);
}

.category-index {
  color: var(--violet);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.category-card strong {
  max-width: 88%;
  margin: 14px 0 10px;
  font-size: 14px;
  line-height: 1.28;
}

.category-card-meta {
  padding-right: 30px;
  color: var(--muted);
  font-size: 11px;
}

.catalog-section {
  padding: 64px 0 96px;
}

.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.catalog-heading .store-eyebrow {
  color: var(--violet);
}

.catalog-heading h2 {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(29px, 3.3vw, 43px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

#catalog-title {
  scroll-margin-top: 118px;
}

.catalog-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.catalog-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 20px;
  color: var(--muted);
}

.catalog-breadcrumbs.hidden,
.subcategory-grid.hidden {
  display: none;
}

.catalog-breadcrumbs button {
  padding: 0;
  color: var(--violet);
  font-size: 13px;
  background: none;
  border: 0;
}

.catalog-breadcrumbs button.active {
  color: var(--ink);
  font-weight: 750;
}

.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin: 0 0 18px;
}

.subcategory-grid .category-card {
  min-height: 102px;
  padding: 14px;
}

.subcategory-grid .category-card strong {
  margin: 12px 0 9px;
}

.brand-filters,
.series-filters,
.offer-type-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.brand-filters > strong,
.series-filters > strong,
.offer-type-filters > strong {
  flex: 0 0 120px;
  margin-right: 4px;
  color: var(--ink);
  font-size: 12px;
}

.catalog-filter-surface {
  display: grid;
  gap: 13px;
  margin: 0 0 16px;
  padding: 15px 17px 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.catalog-filter-surface.hidden {
  display: none;
}

.mobile-filter-toggle {
  display: none;
}

.filter-surface-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.filter-surface-header div {
  display: grid;
  gap: 2px;
}

.filter-surface-header strong {
  font-size: 14px;
}

.filter-surface-header small {
  color: var(--muted);
  font-size: 10px;
}

.filter-reset {
  padding: 6px 0;
  color: var(--violet);
  font-size: 11px;
  font-weight: 750;
  background: none;
  border: 0;
}

.filter-reset.hidden {
  display: none;
}

.brand-filters.hidden,
.series-filters.hidden,
.offer-type-filters.hidden,
.availability-filter.hidden {
  display: none;
}

.availability-filter {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 9px 12px;
  color: var(--ink);
  background: #f8f6fa;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.availability-filter input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--violet);
}

.availability-filter span {
  display: grid;
  gap: 3px;
}

.availability-filter strong {
  font-size: 12px;
}

.availability-filter small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}

.etim-filter-panel {
  margin: 0;
  padding-top: 13px;
  background: transparent;
  border-top: 1px solid var(--line);
}

.etim-filter-panel.hidden,
.etim-feature-field.hidden,
.all-filters-button.hidden {
  display: none;
}

.etim-class-control,
.etim-feature-field {
  display: grid;
  gap: 7px;
}

.etim-class-control {
  max-width: 540px;
  margin-bottom: 13px;
}

.etim-class-control label,
.etim-feature-field > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
}

.etim-class-control select,
.etim-feature-field select {
  width: 100%;
  min-height: 38px;
  padding: 7px 32px 7px 10px;
  color: var(--ink);
  background: white;
  border: 1px solid #d8d3dc;
  border-radius: 10px;
}

.etim-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.all-filters-button {
  margin-top: 16px;
  padding: 9px 13px;
  color: var(--violet);
  font-size: 12px;
  font-weight: 750;
  background: white;
  border: 1px solid #cec5d8;
  border-radius: 999px;
}

.brand-filter {
  padding: 7px 10px;
  color: var(--muted);
  font-size: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.brand-filter.extra-filter-choice.hidden {
  display: none;
}

.facet-more-button {
  padding: 7px 10px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 750;
  background: transparent;
  border: 1px dashed #b9aec7;
  border-radius: 999px;
}

.catalog-toolbar {
  min-height: 51px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  padding: 9px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.catalog-toolbar.hidden {
  display: none;
}

.catalog-order {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-order span,
.catalog-order small {
  color: var(--muted);
  font-size: 10px;
}

.catalog-order strong {
  font-size: 12px;
}

.view-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--paper);
  border-radius: 8px;
}

.view-switch button {
  min-height: 31px;
  padding: 0 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-radius: 6px;
}

.view-switch button.active {
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 1px 5px rgba(40, 29, 52, 0.13);
}

.brand-filter:hover,
.brand-filter.active {
  color: white;
  background: var(--violet);
  border-color: var(--violet);
}

.brand-filter span {
  margin-left: 5px;
  opacity: 0.7;
}

.catalog-message {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(88, 61, 120, 0.035), transparent),
    var(--surface);
  border: 1px dashed #c9c5cd;
  border-radius: 24px;
}

.catalog-message.hidden {
  display: none;
}

.message-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 18px;
  color: var(--violet);
  font-size: 31px;
  background: var(--violet-soft);
  border-radius: 20px;
}

.catalog-message strong {
  font-size: 19px;
}

.catalog-message span {
  max-width: 510px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.load-more-wrap.hidden {
  display: none;
}

.load-more {
  min-height: 48px;
  padding: 0 28px;
  color: var(--violet);
  font-weight: 750;
  background: var(--surface);
  border: 1px solid var(--violet);
  border-radius: 12px;
}

.load-more:hover {
  color: white;
  background: var(--violet);
}

.product-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.product-card:hover {
  border-color: #bfb4ca;
  box-shadow: 0 16px 36px rgba(48, 35, 61, 0.11);
  transform: translateY(-2px);
}

.product-card-open {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  text-decoration: none;
  background: none;
  border: 0;
}

.product-image {
  position: relative;
  aspect-ratio: 1.3;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, #fbfafb, #eeecef);
}

.product-image img {
  width: 100%;
  height: 100%;
  padding: 14px;
  object-fit: contain;
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 74px;
  height: 88px;
  color: var(--violet);
  font-size: 24px;
  font-weight: 850;
  border: 2px solid #c2bbc9;
  border-radius: 8px 8px 16px 8px;
  box-shadow: inset 0 0 0 7px #faf9fb;
}

.product-card-copy {
  min-height: 162px;
  padding: 13px 13px 7px;
}

.product-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--violet);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-article {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
}

.offer-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 4px 7px;
  color: #5b5361;
  font-size: 10px;
  font-weight: 750;
  background: #f2eff4;
  border-radius: 999px;
}

.offer-badge.offer-stock {
  color: #17633d;
  background: #e6f5ec;
}

.offer-badge.offer-sellout {
  color: #8b4511;
  background: #fff0dc;
}

.product-card h3 {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-category {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-series {
  margin: 7px 0 0;
  color: var(--violet);
  font-size: 10px;
  font-weight: 700;
}

.product-specs {
  display: grid;
  gap: 3px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
  list-style: none;
}

.product-specs li {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 58px;
  padding: 9px 13px 12px;
}

.price-pending {
  display: flex;
  flex-direction: column;
}

.price-pending strong {
  font-size: 13px;
}

.price-pending small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.product-card.quote-unavailable .price-pending small {
  color: var(--danger);
}

.add-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  color: white;
  font-size: 22px;
  background: var(--violet);
  border: 0;
  border-radius: 9px;
}

.product-grid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 7px;
}

.product-grid[data-view="list"] .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: stretch;
  border-radius: 11px;
}

.product-grid[data-view="list"] .product-card-open {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
}

.product-grid[data-view="list"] .product-image {
  min-height: 108px;
  aspect-ratio: auto;
}

.product-grid[data-view="list"] .product-image img {
  padding: 9px;
}

.product-grid[data-view="list"] .product-card-copy {
  min-height: 108px;
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(180px, 0.8fr);
  align-content: center;
  column-gap: 18px;
  padding: 11px 14px;
}

.product-grid[data-view="list"] .product-kicker,
.product-grid[data-view="list"] .offer-badge,
.product-grid[data-view="list"] h3 {
  grid-column: 1;
}

.product-grid[data-view="list"] .product-category,
.product-grid[data-view="list"] .product-series,
.product-grid[data-view="list"] .product-specs {
  grid-column: 2;
}

.product-grid[data-view="list"] .product-kicker {
  margin-bottom: 5px;
}

.product-grid[data-view="list"] .offer-badge {
  margin-bottom: 5px;
}

.product-grid[data-view="list"] .product-category,
.product-grid[data-view="list"] .product-series,
.product-grid[data-view="list"] .product-specs {
  margin-top: 4px;
}

.product-grid[data-view="list"] .product-card-footer {
  min-height: 108px;
  padding: 12px 14px;
  border-left: 1px solid var(--line);
}

.add-button:hover {
  background: var(--violet-dark);
}

.product-dialog,
.selection-dialog {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(22, 14, 30, 0.33);
}

.product-dialog::backdrop,
.selection-dialog::backdrop {
  background: rgba(20, 15, 25, 0.62);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: var(--ink);
  font-size: 25px;
  background: rgba(246, 245, 242, 0.95);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.dialog-close:hover {
  color: white;
  background: var(--violet);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
}

.product-detail-media {
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 45px;
  background: linear-gradient(145deg, #f9f8f9, #eae7ed);
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  max-height: 390px;
  object-fit: contain;
}

.product-detail-media .product-placeholder {
  width: 125px;
  height: 150px;
  font-size: 40px;
}

.product-detail-copy {
  padding: 48px 46px 42px;
}

.product-detail-copy .store-eyebrow {
  color: var(--violet);
}

.product-detail-copy h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 37px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 17px 0 22px;
}

.detail-meta span {
  padding: 7px 9px;
  color: var(--muted);
  font-size: 11px;
  background: var(--paper);
  border-radius: 7px;
}

.detail-commercial {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 25px;
}

.commercial-card {
  padding: 14px;
  background: var(--violet-soft);
  border-radius: 12px;
}

.commercial-card small {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
}

.commercial-card strong {
  font-size: 14px;
}

.detail-notice {
  margin: 0 0 24px;
  padding-left: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  border-left: 3px solid var(--lime);
}

.properties-title {
  margin: 0 0 10px;
  font-size: 14px;
}

.properties {
  max-height: 230px;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 1px solid var(--line);
}

.property-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 12px;
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}

.property-row span:first-child {
  color: var(--muted);
}

.property-row span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.detail-actions .primary-action {
  min-height: 47px;
}

.detail-actions small {
  color: var(--muted);
}

.selection-dialog {
  width: min(680px, calc(100% - 32px));
  overflow: auto;
}

.selection-header {
  position: relative;
  padding: 32px 34px 23px;
  border-bottom: 1px solid var(--line);
}

.selection-header .store-eyebrow {
  color: var(--violet);
}

.selection-header h2 {
  margin: 0;
  font-size: 31px;
  letter-spacing: -0.035em;
}

.selection-items {
  max-height: 50vh;
  overflow: auto;
  padding: 8px 34px;
}

.selection-empty {
  padding: 55px 0;
  color: var(--muted);
  text-align: center;
}

.selection-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.selection-item strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
}

.selection-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.selection-item .selection-commercial {
  color: #17633d;
  font-weight: 700;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 7px;
}

.quantity-control button,
.remove-item {
  width: 31px;
  height: 31px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quantity-control span {
  min-width: 22px;
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.remove-item:hover {
  color: white;
  background: var(--danger);
  border-color: var(--danger);
}

.selection-footer {
  padding: 23px 34px 30px;
}

.selection-footer > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.inquiry-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.inquiry-form h3 {
  margin: 0 0 16px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.inquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.inquiry-form label {
  display: grid;
  gap: 6px;
}

.inquiry-form label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.inquiry-form label small {
  font-weight: 450;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  min-width: 0;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(88, 61, 120, 0.1);
}

.inquiry-comment {
  margin-top: 13px;
}

.inquiry-form textarea {
  resize: vertical;
}

.inquiry-consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
  margin-top: 14px;
}

.inquiry-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--violet);
}

.inquiry-consent span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.45;
}

.inquiry-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 17px;
}

.selection-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.text-action {
  padding: 7px 0;
  color: var(--violet);
  font-weight: 700;
  background: none;
  border: 0;
}

.text-button {
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
}

.copy-status {
  min-height: 18px;
  margin-top: 10px !important;
  color: var(--violet) !important;
  font-weight: 700;
}

.store-footer {
  width: min(1440px, calc(100% - 48px));
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto;
  padding: 37px 0 50px;
  border-top: 1px solid var(--line);
}

.store-footer strong {
  font-size: 22px;
}

.store-footer p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.store-beta {
  max-width: 430px;
  text-align: right;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .store-brand small,
  .location-link {
    display: none;
  }

  .store-hero {
    grid-template-columns: 1fr;
  }

  .store-hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .subcategory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .store-header-main,
  main,
  .store-footer {
    width: min(100% - 24px, 1440px);
  }

  .store-header-main {
    min-height: 64px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .store-brand img {
    width: 86px;
    height: 34px;
  }

  .catalog-button,
  .store-nav,
  .location-link {
    display: none;
  }

  .selection-button span:first-child {
    display: none;
  }

  .b2b-button span {
    display: none;
  }

  .b2b-button {
    min-height: 38px;
    padding: 5px;
  }

  .selection-button {
    min-height: 38px;
    padding: 6px;
  }

  .store-header .store-search {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
  }

  .store-header .store-search input {
    height: 36px;
    padding: 0 9px;
    font-size: 12px;
  }

  .store-header .store-search button {
    min-height: 36px;
    padding: 0 11px;
    font-size: 0;
  }

  .store-header .store-search button::after {
    content: "⌕";
    font-size: 18px;
  }

  .store-hero {
    min-height: auto;
    gap: 22px;
    margin-top: 12px;
    padding: 26px 20px 22px;
    border-radius: 16px;
  }

  .store-hero h1 {
    font-size: clamp(31px, 9vw, 45px);
  }

  .store-lead {
    font-size: 13px;
  }

  .store-hero-facts {
    grid-template-columns: 1fr;
  }

  .store-hero-facts article {
    padding: 10px 12px;
  }

  .assurance-strip {
    grid-template-columns: 1fr;
  }

  .assurance-strip article {
    min-height: auto;
  }

  .catalog-section {
    padding: 50px 0 72px;
  }

  #catalog-title {
    scroll-margin-top: 76px;
  }

  .category-section {
    padding-top: 50px;
  }

  .catalog-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subcategory-grid {
    grid-template-columns: 1fr;
  }

  .mobile-filter-toggle {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
    padding: 0 15px;
    color: var(--ink);
    font-weight: 800;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .mobile-filter-toggle::after {
    content: "Настроить";
    color: var(--violet);
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-filter-toggle.active::after {
    content: "Свернуть";
  }

  .mobile-filter-toggle.hidden,
  .catalog-filter-surface.mobile-collapsed {
    display: none;
  }

  .etim-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-filters > strong,
  .series-filters > strong,
  .offer-type-filters > strong {
    flex-basis: 100%;
  }

  .filter-surface-header small,
  .catalog-order small {
    display: none;
  }

  .catalog-toolbar {
    align-items: start;
  }

  .product-card-copy {
    min-height: 168px;
    padding: 14px 13px 7px;
  }

  .product-card-footer {
    padding: 10px 13px 14px;
  }

  .product-kicker {
    align-items: start;
    flex-direction: column;
    gap: 4px;
  }

  .product-grid[data-view="list"] .product-card {
    grid-template-columns: 1fr;
  }

  .product-grid[data-view="list"] .product-card-open {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .product-grid[data-view="list"] .product-card-copy {
    min-height: 98px;
    grid-template-columns: 1fr;
  }

  .product-grid[data-view="list"] .product-category,
  .product-grid[data-view="list"] .product-series,
  .product-grid[data-view="list"] .product-specs {
    grid-column: 1;
  }

  .product-grid[data-view="list"] .product-specs {
    display: none;
  }

  .product-grid[data-view="list"] .product-card-footer {
    min-height: 55px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    min-height: 270px;
    max-height: 320px;
  }

  .product-detail-copy {
    padding: 30px 23px;
  }

  .detail-commercial {
    grid-template-columns: 1fr;
  }

  .selection-header,
  .selection-items,
  .selection-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .inquiry-grid {
    grid-template-columns: 1fr;
  }

  .selection-item {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .remove-item {
    grid-column: 2;
  }

  .store-footer {
    align-items: start;
    flex-direction: column;
  }

  .store-beta {
    text-align: left;
  }
}

@media (max-width: 430px) {
  .etim-feature-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-image {
    aspect-ratio: 1.5;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 116px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .view-switch {
    width: 100%;
  }

  .view-switch button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card {
    transition: none;
  }
}
