:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --paper: #f5f5f7;
  --white: #ffffff;
  --sage: #0071e3;
  --clay: #0071e3;
  --amber: #86868b;
  --charcoal: #1d1d1f;
  --rose: #f5f5f7;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.zoom-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto auto minmax(240px, 520px) auto;
  align-items: center;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(245, 245, 247, 0.82);
  border-bottom: 1px solid rgba(210, 210, 215, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 0;
}

.brand-mark {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 15px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.header-search span {
  color: var(--muted);
  font-size: 20px;
}

.header-search input {
  min-height: 40px;
  padding: 0;
  border: 0;
  outline: 0;
}

.search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.search-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.search-icon::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 10px;
  height: 10px;
  border: 1.7px solid var(--ink);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 7px;
  height: 1.7px;
  border-radius: 2px;
  background: var(--ink);
  transform: rotate(45deg);
  transform-origin: center;
}

.cart-button,
.icon-button {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
}

.cart-button {
  min-width: 68px;
  height: 44px;
  padding: 0 10px;
  gap: 6px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.cart-bag-icon {
  position: relative;
  display: block;
  width: 19px;
  height: 19px;
}

.cart-bag-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 15px;
  height: 12px;
  border: 1.7px solid var(--ink);
  border-radius: 2px 2px 5px 5px;
}

.cart-bag-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 7px;
  height: 8px;
  border: 1.7px solid var(--ink);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.cart-separator,
#cartCount {
  line-height: 1;
}

.cart-icon {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: min(620px, calc(100vh - 68px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 247, 0.94) 0%, rgba(245, 245, 247, 0.72) 38%, rgba(245, 245, 247, 0.08) 76%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  padding: clamp(74px, 11vw, 120px) clamp(18px, 4vw, 56px) 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1;
}

h1 {
  font-size: clamp(52px, 8vw, 104px);
  max-width: 8ch;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.hero-copy {
  width: min(460px, 100%);
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
}

.hero-actions,
.catalog-tools,
.drawer-header,
.cart-summary > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-link,
.secondary-link,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 750;
}

.primary-link,
.primary-button {
  border: 0;
  color: var(--white);
  background: var(--sage);
  cursor: pointer;
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.quick-categories {
  padding: 24px clamp(18px, 4vw, 56px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.quick-category {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
  background: var(--white);
  cursor: pointer;
}

.quick-category span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--white);
  font-size: 24px;
  box-shadow: inset 0 0 0 1px var(--line);
  filter: grayscale(1);
}

.quick-category strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-category small {
  color: var(--muted);
}

.service-strip article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.service-strip strong {
  font-size: 24px;
}

.service-strip span,
.catalog-tools,
.filters,
.checkout-section p,
.form-status {
  color: var(--muted);
}

.catalog-section,
.checkout-section {
  scroll-margin-top: 84px;
  padding: 64px clamp(18px, 4vw, 56px);
}

.service-strip {
  scroll-margin-top: 84px;
}

.promo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.promo-row article {
  display: grid;
  gap: 8px;
  min-height: 92px;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.promo-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading,
.checkout-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 36px;
  align-items: end;
}

.search-field,
.checkout-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  margin-top: 36px;
}

.filters {
  align-self: start;
  display: grid;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.filter-title {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 800;
}

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

.filter-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  cursor: pointer;
}

.filter-chip span:first-child {
  min-width: 0;
  text-align: left;
}

.filter-chip span:last-child {
  flex: 0 0 auto;
  font-weight: 750;
}

.filter-chip.active {
  color: var(--white);
  border-color: var(--sage);
  background: var(--ink);
}

.filter-hint {
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font-size: 13px;
  line-height: 1.35;
}

.catalog-tools {
  justify-content: space-between;
  margin-bottom: 16px;
}

.catalog-tools select {
  width: 220px;
}

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

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(260px, 100%);
  min-height: 46px;
  margin: 24px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.load-more[hidden] {
  display: none;
}

.product-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.06);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 154px;
  padding: 20px;
  background: var(--white);
}

.placeholder-icon {
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.placeholder-icon::before,
.modal-placeholder-icon::before {
  content: "";
  width: 34%;
  height: 34%;
  border: 2px solid #b9b9bf;
  border-radius: 50%;
  box-shadow: 16px -10px 0 -10px #86868b, -12px 14px 0 -10px #86868b;
}

.product-image {
  position: relative;
  z-index: 1;
  display: block;
  width: min(82%, 210px);
  height: 142px;
  object-fit: contain;
  filter: none;
  cursor: pointer;
}

.product-image.fallback-image {
  width: min(92%, 230px);
  height: 154px;
  filter: none;
}

.placeholder-brand {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.product-info {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.product-title-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.product-title-button:hover {
  color: var(--sage);
}

.product-copy {
  display: grid;
  gap: 4px;
  min-height: 72px;
}

.product-brand-line {
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-kind-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
}

.product-kind-line strong {
  overflow: hidden;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-kind-line span {
  flex: 0 0 auto;
  color: var(--muted);
  font-weight: 300;
}

.product-variant-line {
  display: -webkit-box;
  min-height: 32px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta-compact {
  display: none;
}

.product-info p {
  display: -webkit-box;
  min-height: 60px;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.price-stack {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 13px;
}

.price-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.buy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.price {
  font-size: 20px;
  font-weight: 850;
  color: var(--ink);
}

.add-button {
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  cursor: pointer;
}

.compact-add-button {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #f5f5f7;
  font-size: 0;
}

.compact-add-button::before {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.registered-price-note {
  display: block;
}

.details-button {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.stock-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.checkout-section {
  align-items: start;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.checkout-section > div:first-child {
  grid-row: span 2;
}

.checkout-section p {
  max-width: 520px;
  line-height: 1.55;
}

.customer-card,
.checkout-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.customer-card h3,
.customer-card p {
  margin: 0;
}

.customer-form {
  display: grid;
  gap: 12px;
}

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

.customer-actions .secondary-link {
  min-height: 42px;
  border: 0;
  color: var(--white);
  background: var(--sage);
  cursor: pointer;
}

.text-button {
  min-height: 42px;
  padding: 0;
  border: 0;
  color: var(--sage);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.checkout-note {
  max-width: 520px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
}

.form-status {
  margin: 0;
  line-height: 1.45;
}

.form-status a {
  color: var(--sage);
  font-weight: 800;
  text-decoration: underline;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  justify-content: end;
  background: rgba(32, 33, 31, 0.38);
}

.cart-drawer.open {
  display: flex;
}

.drawer-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(420px, 100%);
  height: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
}

.drawer-header {
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.drawer-header h2 {
  font-size: 28px;
}

.icon-button {
  padding: 0;
  font-size: 24px;
}

.cart-items {
  overflow: auto;
  padding: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--paper);
  font-size: 28px;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  cursor: pointer;
}

.remove-button {
  border: 0;
  color: #d70015;
  background: transparent;
  cursor: pointer;
}

.empty-cart {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.cart-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.cart-delivery {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  font-size: 14px;
}

.cart-summary > div {
  justify-content: space-between;
}

.full {
  width: 100%;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(32, 33, 31, 0.42);
}

.product-modal.open {
  display: flex;
}

.product-modal-panel {
  position: relative;
  width: min(940px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
}

.modal-product {
  display: grid;
  grid-template-columns: minmax(280px, 44%) 1fr;
  min-height: 520px;
}

.modal-product-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding: 44px 28px;
  background: var(--paper);
}

.modal-product-image {
  display: block;
  width: min(88%, 360px);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.12));
}

.modal-product-image.fallback-image {
  filter: none;
}

.modal-gallery {
  display: grid;
  width: 100%;
  justify-items: center;
  gap: 16px;
}

.modal-image-zoom {
  display: grid;
  justify-items: center;
  gap: 8px;
  width: min(88%, 380px);
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: zoom-in;
}

.modal-image-zoom .modal-product-image {
  width: 100%;
}

.modal-image-zoom span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 72px));
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.gallery-thumb {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--ink);
  background: var(--white);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.gallery-thumb span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-placeholder-icon {
  display: grid;
  place-items: center;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  font-size: 82px;
}

.modal-product-info {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 44px 34px 34px;
}

.modal-title-stack {
  display: grid;
  gap: 8px;
  padding-right: 42px;
}

.modal-brand-line {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 300;
  line-height: 1;
}

.modal-product-info h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.modal-title-stack > span:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.modal-product-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.modal-price-box {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.modal-price-box span,
.modal-price-box small {
  color: var(--muted);
}

.modal-price-box strong {
  font-size: 30px;
}

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

.product-specs div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

.product-specs dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.modal-note {
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--muted);
  background: var(--paper);
  line-height: 1.45;
}

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

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 20, 18, 0.78);
  cursor: zoom-out;
}

.image-zoom-overlay img {
  display: block;
  max-width: min(96vw, 1180px);
  max-height: 92vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.image-zoom-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 61;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav {
    display: none;
  }

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

  .section-heading,
  .checkout-section,
  .catalog-layout {
    grid-template-columns: 1fr;
  }

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

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

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

  .modal-product {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .modal-product-visual {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    padding: 12px 18px;
  }

  .brand {
    font-size: 24px;
    font-weight: 300;
  }

  .search-toggle {
    display: inline-flex;
  }

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

  .site-header.search-open .header-search {
    display: flex;
  }

  .cart-button {
    min-width: 68px;
  }

  .hero {
    display: block;
    min-height: 122px;
    margin: 0 0 4px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
  }

  .hero-image {
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
    opacity: 1;
    transform: none;
  }

  .hero::after {
    display: none;
  }

  .hero-content {
    width: 100%;
    height: 122px;
    margin: 0;
    padding: 9px 18px 12px;
    color: var(--white);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.68), 0 1px 2px rgba(0, 0, 0, 0.36);
  }

  .hero-content .eyebrow {
    position: absolute;
    left: 18px;
    bottom: 12px;
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 300;
  }

  .hero-content h1 {
    max-width: none;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(34px, 8.2vw, 46px);
    font-weight: 200;
    line-height: 1.04;
    white-space: nowrap;
  }

  .hero-copy {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
  }

  .hero-actions {
    display: none;
  }

  .service-strip,
  .filters,
  .catalog-tools,
  .quick-category-grid,
  .promo-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .quick-categories,
  .service-strip,
  .promo-row,
  .section-heading {
    display: none;
  }

  .catalog-section,
  .checkout-section {
    scroll-margin-top: 118px;
    padding-top: 20px;
    padding-bottom: 42px;
  }

  .catalog-section {
    padding-left: 10px;
    padding-right: 10px;
  }

  .checkout-section > div:first-child {
    grid-row: auto;
  }

  .catalog-layout {
    gap: 18px;
    margin-top: 0;
  }

  .filters {
    padding: 0 8px;
    border: 0;
    background: transparent;
  }

  .filter-group,
  .range-filter,
  .filter-hint {
    display: none;
  }

  .catalog-tools {
    margin: 0 8px 12px;
    color: var(--ink);
    font-size: 15px;
  }

  .catalog-tools select {
    width: 100%;
    display: none;
  }

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

  .product-card {
    border-color: rgba(234, 223, 228, 0.75);
    box-shadow: none;
  }

  .product-card:hover {
    transform: none;
    box-shadow: none;
  }

  .product-visual {
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 10px;
  }

  .product-image {
    width: 88%;
    height: 88%;
  }

  .product-image.fallback-image {
    width: 92%;
    height: 92%;
  }

  .placeholder-icon {
    width: 70px;
    height: 70px;
    font-size: 34px;
  }

  .placeholder-brand {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    padding: 4px 7px;
    font-size: 10px;
  }

  .product-info {
    gap: 6px;
    padding: 9px;
  }

  .product-meta {
    display: block;
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-meta span:first-child {
    display: none;
  }

  .product-copy {
    gap: 3px;
    min-height: 78px;
  }

  .product-brand-line {
    font-size: 20px;
  }

  .product-kind-line {
    gap: 5px;
    font-size: 12px;
  }

  .product-variant-line {
    min-height: 30px;
    font-size: 12px;
    font-weight: 500;
  }

  .product-info p,
  .stock-note,
  .buy-row,
  .details-button {
    display: none;
  }

  .price-stack {
    gap: 2px;
    font-size: 10px;
    line-height: 1.2;
  }

  .price {
    font-size: 18px;
  }

  .compact-add-button {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
  }

  .compact-add-button::before {
    font-size: 21px;
  }

  .product-modal {
    padding: 12px;
  }

  .product-modal-panel {
    max-height: calc(100vh - 24px);
  }

  .modal-product-info {
    padding: 28px 18px 18px;
  }

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