:root {
  color-scheme: light;
  --ink: #17171c;
  --muted: #6d6e78;
  --soft: #f1f2f5;
  --surface: #fbfbfc;
  --white: #ffffff;
  --line: #e4e5e9;
  --accent: #ec3764;
  --accent-dark: #ce234e;
  --accent-soft: #fff0f4;
  --radius-card: 8px;
  --radius-control: 7px;
  --header-height: 68px;
  --content-width: 1320px;
  font-family: "Avenir Next", "SF Pro Text", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

body.has-dialog { overflow: hidden; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(236, 55, 100, .3);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 8px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
  transition: transform 180ms cubic-bezier(.2,.8,.2,1);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 252, .94);
  border-bottom: 1px solid rgba(228, 229, 233, .85);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: var(--header-height);
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: #101014;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
}

.brand-mark.compact { font-size: 30px; }

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

.icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(.2,.8,.2,1), transform 180ms cubic-bezier(.2,.8,.2,1);
}

.icon-button:hover { background: var(--soft); }
.icon-button:active { transform: translateY(1px) scale(.98); }

.icon-button svg,
.primary-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selection-count {
  position: absolute;
  right: 0;
  top: 0;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 10px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.search-panel {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 28px 16px;
}

.search-panel > label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.search-field {
  min-height: 50px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  padding: 0 8px 0 15px;
  border-radius: var(--radius-control);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.search-field:focus-within { box-shadow: inset 0 0 0 2px var(--accent); }
.search-field svg { width: 21px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search-field input { min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-field input::placeholder { color: #8a8b94; opacity: 1; }
.search-field button { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 23px; color: var(--muted); }

main { min-height: 70vh; }

.catalog-hero {
  max-width: var(--content-width);
  height: calc(100vh - 180px);
  min-height: 440px;
  max-height: 620px;
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #f2eef0;
}

.hero-copy {
  align-self: center;
  padding: 54px 60px;
}

.hero-kicker,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  font-family: "SF Pro Display", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy > p:last-child {
  max-width: 510px;
  margin: 24px 0 0;
  color: #565760;
  font-size: 17px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-media { position: relative; min-height: 0; overflow: hidden; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #f2eef0 0%, rgba(242,238,240,.12) 28%, transparent 60%); pointer-events: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e6e2e5, #f8f6f7); }

.catalog-section {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px 28px 90px;
}

.category-strip-wrap { margin: 0 -4px; overflow: hidden; }

.category-strip {
  display: flex;
  gap: 8px;
  padding: 4px 4px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-strip::-webkit-scrollbar { display: none; }

.category-button {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 0 20px;
  border: 0;
  border-radius: 22px;
  background: var(--soft);
  color: #34353c;
  cursor: pointer;
  scroll-snap-align: start;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms cubic-bezier(.2,.8,.2,1), background-color 180ms cubic-bezier(.2,.8,.2,1), transform 180ms cubic-bezier(.2,.8,.2,1);
}

.category-button:hover { background: #e7e8ec; }
.category-button:active { transform: scale(.98); }
.category-button.active { background: var(--accent); color: white; }

.catalog-heading-row {
  margin: 26px 0 20px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.catalog-heading-row h2 { margin: 0; font-size: 30px; font-weight: 470; line-height: 1.12; }
.catalog-count { margin: 0 0 3px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.catalog-heading-actions { display: flex; align-items: center; gap: 18px; }
.price-downloads { display: flex; gap: 7px; }
.price-downloads a {
  min-height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 520;
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.price-downloads a:hover { border-color: #b7b8be; background: #f8f8fa; }
.price-downloads svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

.product-card { min-width: 0; display: flex; flex-direction: column; }

.product-media-button {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--soft);
  cursor: pointer;
}

.product-media-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(.22,.75,.16,1);
}

.product-media-button:hover img { transform: scale(1.025); }

.product-labels {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
}

.product-label {
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.product-label.promotion { background: var(--accent); color: white; }

.product-copy { padding: 12px 2px 0; }
.product-category { display: block; color: var(--muted); font-size: 11px; line-height: 1.3; }
.product-title-button { width: 100%; margin: 3px 0 0; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; }
.product-title { min-height: 39px; margin: 0; display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 14px; line-height: 1.35; font-weight: 470; }
.product-article { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
.product-prices { margin-top: 8px; display: grid; gap: 2px; }
.product-price { margin: 0; display: flex; align-items: baseline; gap: 6px; font-size: 18px; line-height: 1.25; font-weight: 560; font-variant-numeric: tabular-nums; }
.product-price small { color: var(--muted); font-size: 10px; font-weight: 500; }
.product-price-wholesale,
.product-price-wholesale small { color: var(--accent); }

.color-dots { min-height: 22px; margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.color-dot { width: 14px; height: 14px; border: 2px solid white; border-radius: 50%; background: var(--color); box-shadow: 0 0 0 1px #c8c9cf; }
.color-more { color: var(--muted); font-size: 11px; }

.product-actions { margin-top: auto; padding-top: 12px; display: grid; gap: 7px; }
.manager-button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: background-color 180ms cubic-bezier(.2,.8,.2,1), transform 180ms cubic-bezier(.2,.8,.2,1);
}

.manager-button,
.primary-button {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 560;
  white-space: nowrap;
}

.manager-button:hover,
.primary-button:hover { background: var(--accent-dark); }
.manager-button:active,
.primary-button:active,
.secondary-button:active { transform: translateY(1px) scale(.99); }
.manager-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.selection-toggle {
  min-height: 34px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 13px;
}

.selection-toggle:hover { text-decoration: underline; text-underline-offset: 3px; }
.selection-toggle.is-selected { color: #4d4e56; }

.product-skeleton {
  aspect-ratio: 4 / 6.6;
  border-radius: var(--radius-card);
  background: linear-gradient(100deg, #eceef1 20%, #f7f7f8 38%, #eceef1 56%);
  background-size: 220% 100%;
  animation: skeleton 1.4s cubic-bezier(.4,0,.2,1) infinite;
}

@keyframes skeleton { to { background-position-x: -220%; } }

.catalog-error,
.catalog-empty,
.selection-empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--muted);
}

.catalog-error h3,
.catalog-empty h3,
.selection-empty h3 { margin: 0 0 8px; color: var(--ink); font-size: 22px; font-weight: 520; }
.catalog-error p,
.catalog-empty p,
.selection-empty p { max-width: 480px; margin: 0 auto 22px; }

.secondary-button {
  min-height: 44px;
  padding: 0 18px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
  font-weight: 520;
}
.secondary-button:hover { background: #e5e6ea; }

.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 36px 28px 48px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1.2fr auto;
  align-items: start;
  gap: 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 6px 0 0; }
.site-footer a { color: inherit; text-underline-offset: 4px; }
.footer-brand { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 25px; }
.footer-intro address { margin-top: 18px; color: var(--ink); font-style: normal; line-height: 1.55; }
.route-link { display: inline-block; margin-top: 9px; }
.footer-column { display: grid; align-content: start; gap: 9px; }
.footer-column h2 { margin: 2px 0 5px; color: var(--ink); font-size: 13px; font-weight: 600; }
.footer-column a { width: fit-content; text-decoration: none; }
.footer-column a:hover, .footer-account a:hover, .route-link:hover { color: var(--accent-dark); }
.footer-account { padding-top: 3px; white-space: nowrap; }

dialog {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

dialog::backdrop { background: rgba(18, 18, 22, .42); }

.sheet {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
}

.sheet-shell {
  width: min(100%, 1180px);
  min-height: 100%;
  margin-left: auto;
  background: var(--surface);
  box-shadow: -24px 0 70px rgba(34, 25, 29, .16);
}

.sheet-header {
  min-height: 68px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
}
.sheet-header .brand-mark,
.sheet-title { justify-self: center; }
.sheet-header.bordered { border-bottom: 1px solid var(--line); }
.sheet-title { text-align: center; }
.sheet-title h2 { margin: 0; font-size: 20px; font-weight: 540; }
.sheet-title span { color: var(--muted); font-size: 12px; }

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  min-height: calc(100vh - 68px);
}

.detail-gallery { padding: 0 26px 38px; }
.detail-main-media { position: sticky; top: 18px; }
.detail-main-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-card); background: var(--soft); }
.detail-main-frame img,
.detail-main-frame video { width: 100%; height: 100%; object-fit: cover; }
.gallery-arrow { position: absolute; top: 50%; width: 42px; height: 42px; transform: translateY(-50%); border: 0; border-radius: 50%; background: rgba(255,255,255,.9); cursor: pointer; font-size: 27px; line-height: 1; }
.gallery-arrow:hover { background: white; }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-counter { position: absolute; right: 14px; bottom: 14px; padding: 6px 9px; border-radius: 14px; background: rgba(20,20,24,.62); color: white; font-size: 12px; font-variant-numeric: tabular-nums; }
.video-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 30px; text-align: center; background: #efeff2; }
.video-placeholder a { color: var(--accent-dark); text-underline-offset: 4px; }
.detail-thumbnails { margin-top: 10px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.detail-thumb { position: relative; aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: var(--soft); cursor: pointer; }
.detail-thumb.active { border-color: var(--accent); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumb.video { display: grid; place-items: center; color: var(--accent-dark); font-size: 11px; font-weight: 600; }

.detail-info { padding: 36px clamp(28px, 5vw, 70px) 70px; border-left: 1px solid var(--line); }
.detail-category { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.detail-info h1 { margin: 0; font-size: 40px; font-weight: 480; line-height: 1.08; text-wrap: balance; }
.detail-article { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.detail-prices { margin-top: 24px; display: grid; gap: 3px; }
.detail-price { margin: 0; display: flex; align-items: baseline; gap: 9px; font-size: 30px; font-weight: 550; font-variant-numeric: tabular-nums; }
.detail-price small { color: var(--muted); font-size: 12px; font-weight: 500; }
.detail-price-wholesale,
.detail-price-wholesale small { color: var(--accent); }
.detail-stock { margin: 8px 0 0; color: #277747; font-size: 13px; }
.detail-stock.out { color: #9a5e20; }
.detail-section { margin-top: 30px; }
.detail-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 560; }
.detail-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-color { min-height: 40px; padding: 0 13px 0 9px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 20px; background: white; cursor: pointer; }
.detail-color.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.detail-color span { width: 20px; height: 20px; border: 2px solid white; border-radius: 50%; background: var(--color); box-shadow: 0 0 0 1px #c8c9cf; }
.detail-color small { font-size: 12px; }
.detail-sizes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.detail-size { min-height: 58px; padding: 7px 9px; display: flex; flex-direction: column; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: white; text-align: center; }
.detail-size strong { font-size: 13px; font-weight: 560; }
.detail-size span { margin-top: 2px; color: var(--muted); font-size: 10px; }
.detail-size.unavailable { color: #9697a0; background: #f4f4f6; }
.detail-size.unavailable strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.detail-size-price { font-variant-numeric: tabular-nums; }
.detail-size-price small { font-size: 8px; }
.detail-size-price-wholesale,
.detail-size-price-wholesale small { color: var(--accent); }
.detail-description { margin-top: 34px; padding-top: 25px; border-top: 1px solid var(--line); }
.detail-description h2 { margin: 0 0 9px; font-size: 17px; font-weight: 560; }
.detail-description p { margin: 0; color: #55565f; white-space: pre-line; }
.detail-composition { margin-top: 16px !important; }
.detail-composition strong { color: var(--ink); font-weight: 560; }
.detail-actions { position: sticky; bottom: 0; margin: 34px -12px -16px; padding: 12px; display: grid; gap: 8px; background: rgba(251,251,252,.94); backdrop-filter: blur(14px); }
.detail-actions .primary-button { min-height: 52px; }
.detail-actions .selection-toggle { min-height: 46px; border-radius: var(--radius-control); background: var(--soft); color: var(--ink); }
.detail-actions .selection-toggle:hover { text-decoration: none; background: #e6e7eb; }

.selection-shell { width: min(100%, 620px); display: flex; flex-direction: column; }
.selection-list { flex: 1; padding: 8px 26px 120px; }
.selection-item { display: grid; grid-template-columns: 82px minmax(0, 1fr) 40px; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.selection-item img { width: 82px; height: 98px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.selection-item h3 { margin: 0; font-size: 15px; font-weight: 520; line-height: 1.3; }
.selection-item p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.selection-item strong { display: block; margin-top: 8px; font-size: 16px; font-weight: 560; font-variant-numeric: tabular-nums; }
.selection-prices { margin-top: 8px; display: grid; gap: 2px; }
.selection-prices strong { margin-top: 0; }
.selection-prices small { color: var(--muted); font-size: 9px; font-weight: 500; }
.selection-prices strong:last-child,
.selection-prices strong:last-child small { color: var(--accent); }
.selection-item button { width: 38px; height: 38px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 22px; }
.selection-footer { position: sticky; bottom: 0; padding: 14px 26px calc(14px + env(safe-area-inset-bottom)); background: rgba(251,251,252,.95); border-top: 1px solid var(--line); backdrop-filter: blur(14px); }
.selection-footer .primary-button { width: 100%; min-height: 54px; }

.contact-dialog { width: min(92vw, 520px); border-radius: var(--radius-card); background: white; box-shadow: 0 26px 90px rgba(35, 25, 29, .22); }
.contact-shell { padding: 26px; }
.contact-shell header { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.contact-shell h2 { margin: 0; font-size: 27px; font-weight: 530; }
.contact-copy { margin: 15px 0 22px; color: var(--muted); }
.contact-actions { display: grid; gap: 8px; }
.contact-option { min-height: 68px; padding: 10px 14px; display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; align-items: center; border: 0; border-radius: var(--radius-control); background: var(--soft); text-align: left; cursor: pointer; }
.contact-option:hover { background: #e7e8ec; }
.contact-option > span { grid-row: 1 / 3; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: white; font-size: 11px; font-weight: 650; }
.contact-option strong { align-self: end; font-size: 14px; font-weight: 560; }
.contact-option small { align-self: start; color: var(--muted); font-size: 11px; }
.contact-option.whatsapp > span { color: #157a41; }
.contact-option.telegram > span { color: #1677ac; }
.contact-option.copy > span { color: var(--accent-dark); font-size: 18px; }

.menu-dialog { width: min(92vw, 430px); height: 100%; max-height: none; margin: 0 0 0 auto; background: white; }
.menu-shell { min-height: 100%; padding: 22px 24px; }
.menu-shell header { display: flex; align-items: center; justify-content: space-between; }
.menu-shell nav { margin-top: 64px; display: grid; }
.menu-shell h2 { margin: 0 0 20px; color: var(--muted); font-size: 12px; font-weight: 560; text-transform: uppercase; letter-spacing: .08em; }
.menu-shell nav button,
.menu-shell nav a { min-height: 58px; padding: 0; display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; font-size: 20px; font-weight: 470; }
.menu-shell nav span { color: var(--accent-dark); font-variant-numeric: tabular-nums; }

.toast { position: fixed; z-index: 60; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); max-width: min(90vw, 460px); padding: 12px 16px; border-radius: 6px; background: var(--ink); color: white; text-align: center; font-size: 13px; box-shadow: 0 14px 42px rgba(20,20,25,.22); }

@media (max-width: 980px) {
  .catalog-hero { height: 500px; min-height: 0; margin: 14px 16px 0; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 40px; }
  .hero-copy h1 { font-size: 42px; }
  .catalog-section { padding-left: 16px; padding-right: 16px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-detail { grid-template-columns: 1fr 1fr; }
  .detail-info { padding: 28px; }
}

@media (max-width: 720px) {
  :root { --header-height: 58px; }
  .header-inner { min-height: var(--header-height); padding: 0 14px 0 17px; }
  .brand-mark { font-size: 31px; }
  .brand-mark.compact { font-size: 28px; }
  .icon-button { width: 40px; height: 40px; }
  .icon-button svg { width: 21px; height: 21px; }
  .search-panel { padding: 0 14px 13px; }
  .catalog-hero { height: 250px; min-height: 0; margin: 10px 10px 0; grid-template-columns: 1.1fr .9fr; }
  .hero-copy { padding: 24px 8px 24px 20px; }
  .hero-kicker { margin-bottom: 6px; font-size: 9px; }
  .hero-copy h1 { font-size: 25px; font-weight: 400; line-height: 1.08; }
  .hero-copy > p:last-child { margin-top: 12px; font-size: 11px; line-height: 1.45; }
  .hero-media { min-height: 0; }
  .hero-media::after { background: linear-gradient(90deg, #f2eef0 0%, rgba(242,238,240,.12) 35%, transparent 70%); }
  .catalog-section { padding: 18px 10px 64px; }
  .category-strip { gap: 7px; padding-bottom: 10px; }
  .category-button { min-height: 37px; padding: 0 16px; font-size: 12px; }
  .catalog-heading-row { margin: 20px 2px 14px; align-items: center; }
  .catalog-heading-row .section-kicker { display: none; }
  .catalog-heading-row h2 { font-size: 21px; }
  .catalog-count { font-size: 11px; }
  .catalog-heading-actions { align-items: flex-end; flex-direction: column; gap: 7px; }
  .price-downloads a { min-height: 34px; padding: 0 9px; font-size: 11px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 9px; }
  .product-copy { padding-top: 9px; }
  .product-title { min-height: 35px; font-size: 12.5px; }
  .product-category, .product-article { font-size: 10.5px; }
  .product-prices { margin-top: 6px; }
  .product-price { font-size: 16px; }
  .product-price small { font-size: 9px; }
  .color-dots { margin-top: 6px; }
  .product-actions { padding-top: 8px; gap: 4px; }
  .manager-button { min-height: 39px; padding: 0 7px; gap: 5px; font-size: 10.5px; }
  .manager-button svg { width: 14px; height: 14px; }
  .selection-toggle { min-height: 30px; font-size: 11px; }
  .product-labels { left: 6px; top: 6px; gap: 3px; }
  .product-label { padding: 4px 5px; font-size: 8px; }
  .site-footer { padding: 30px 16px 42px; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-intro, .footer-account { grid-column: 1 / -1; }
  .footer-account { padding-top: 0; }
  .sheet-shell { width: 100%; box-shadow: none; }
  .sheet-header { min-height: 58px; padding: 0 10px; }
  .product-detail { display: block; min-height: calc(100vh - 58px); }
  .detail-gallery { padding: 0 10px; }
  .detail-main-media { position: static; }
  .detail-main-frame { aspect-ratio: 4 / 5; }
  .gallery-arrow { width: 38px; height: 38px; }
  .detail-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .detail-info { padding: 24px 16px calc(90px + env(safe-area-inset-bottom)); border-left: 0; }
  .detail-info h1 { font-size: 28px; }
  .detail-prices { margin-top: 17px; }
  .detail-price { font-size: 25px; }
  .detail-section { margin-top: 24px; }
  .detail-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-actions { position: fixed; z-index: 2; left: 0; right: 0; bottom: 0; margin: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); grid-template-columns: 1.2fr .8fr; border-top: 1px solid var(--line); }
  .detail-actions .primary-button { min-height: 48px; padding: 0 9px; font-size: 11px; }
  .detail-actions .selection-toggle { min-height: 48px; padding: 0 8px; font-size: 11px; }
  .selection-list { padding: 6px 14px 110px; }
  .selection-item { grid-template-columns: 72px minmax(0, 1fr) 36px; gap: 12px; }
  .selection-item img { width: 72px; height: 88px; }
  .selection-footer { padding-left: 14px; padding-right: 14px; }
  .contact-shell { padding: 21px 18px; }
  .contact-shell h2 { font-size: 23px; }
}

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