:root {
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-muted: #faf8f5;
  --text: #1b1b18;
  --muted: #6b6a65;
  --primary: #2b2a28;
  --primary-dark: #201f1d;
  --primary-soft: #f2efeb;
  --accent: #0f6a63;
  --accent-dark: #0b4f4a;
  --accent-soft: #eaf7f4;
  --success: #0f6a63;
  --danger: #b42318;
  --border: #e5dfd6;
  --border-strong: #d3cabd;
  --border-light: #eee7de;
  --tint: #f5f1ec;
  --shadow: 0 1px 3px rgba(31,29,23,.05), 0 8px 24px rgba(31,29,23,.08);
  --shadow-lg: 0 4px 12px rgba(31,29,23,.08), 0 20px 40px rgba(31,29,23,.14);
  --radius: 14px;
  --ease: cubic-bezier(.4,0,.2,1);
}

*,*::before,*::after {
  box-sizing: border-box;
}

::selection {
  background: var(--accent-soft);
  color: var(--primary-dark);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(202, 171, 133, 0.18), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(63, 79, 106, 0.12), transparent 28%),
    linear-gradient(180deg, #fbf7f1 0%, #f5efe6 48%, #f8f5f0 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: transparent; }
body::-webkit-scrollbar-thumb { background: #b0bac6; border-radius: 8px; }
body::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

/* Keyframes */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.15); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(40px); }
}

@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.container {
  width: min(1280px, 94%);
  margin-inline: auto;
}

.topline {
  background: var(--primary-dark);
  color: rgba(255,255,255,.7);
  font-size: 12.5px;
  letter-spacing: .01em;
}

.topline__inner,
.topline__group,
.topline__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topline__inner {
  min-height: 36px;
  justify-content: space-between;
}

.topline__marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.topline__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.topline__track span {
  flex-shrink: 0;
}

.topline__sep {
  margin: 0 14px;
  opacity: .4;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.topline__links {
  flex-shrink: 0;
}

.topline__links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  transition: color .2s var(--ease);
}

.topline__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .6;
}

.topline__links a:hover {
  color: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}

.topbar.is-scrolled {
  box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(15,23,42,.07);
  border-color: transparent;
}

.topbar__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}

.logo:hover { opacity: .85; }

.logo__mark,
.footer__logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 2px 6px rgba(30,41,59,.22);
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

.logo__mark svg,
.footer__logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__text strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -.02em;
}

.logo__text strong::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.logo__text small {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: .005em;
}

.search-wrap {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--tint);
  overflow: visible;
  position: relative;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}

.search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: #fff;
}

.search-wrap:focus-within .search::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.search {
  display: block;
  flex: 1;
  min-width: 0;
}

.search input,
.select {
  width: 100%;
  height: 42px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text);
}

.search input {
  padding: 0 16px 0 44px;
}

.search {
  position: relative;
}

.search::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8e96' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat center / contain;
  z-index: 1;
  pointer-events: none;
}

.search input::placeholder {
  color: #8a8e96;
}

.search input:focus,
.select:focus {
  outline: none;
}

/* ─── Search dropdown ─── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  display: none;
  max-height: 380px;
  overflow-y: auto;
}

.search-dropdown.is-open {
  display: block;
  animation: slideInDown .2s var(--ease);
}

.search-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background .12s var(--ease);
}

.search-suggestion:hover {
  background: var(--tint);
}

.search-suggestion__img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.search-suggestion__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-suggestion__name {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-suggestion__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.search-suggestion__category {
  font-size: 11px;
  color: var(--muted);
  padding: 3px 8px;
  background: var(--tint);
  border-radius: 999px;
  flex-shrink: 0;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn {
  height: 44px;
  border: 1px solid transparent;
  border-radius: 11px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), background-color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow .18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(15,118,110,.2);
}

.btn--primary:hover {
  box-shadow: 0 4px 16px rgba(15,118,110,.32);
}

.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(15,118,110,.2);
}

.btn--accent:hover {
  box-shadow: 0 4px 16px rgba(15,118,110,.32);
}

.btn--accent .icon {
  color: #fff;
}

.btn--ghost,
.btn--icon,
.btn--light {
  background: transparent;
  border-color: var(--border-light);
  color: var(--text);
}

.btn--ghost:hover,
.btn--icon:hover,
.btn--light:hover {
  background: var(--tint);
  border-color: var(--border);
}

.btn--catalog {
  width: auto;
  height: 44px;
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 11px 0 0 11px;
  background: transparent;
  color: var(--text);
  padding: 0 16px;
  font-size: 13.5px;
  font-weight: 600;
  flex-shrink: 0;
}

.btn--catalog:hover {
  background: rgba(0,0,0,.03);
  transform: none;
}

.btn--icon {
  min-width: 0;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn--light {
  min-width: 0;
  padding: 0 14px;
  font-size: 13.5px;
}

.btn--icon.is-active,
.btn--light.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.4);
}

.btn--success {
  background: linear-gradient(135deg, #2a8659, var(--success));
  color: #fff;
  box-shadow: 0 4px 14px rgba(42,134,89,.25);
}

.btn--success:hover {
  box-shadow: 0 6px 20px rgba(42,134,89,.35);
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--primary .icon,
.btn--accent .icon,
.btn--success .icon {
  color: #fff;
}

/* Mobile menu toggle */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hamburger .icon { width: 20px; height: 20px; color: var(--text); }

.showcase {
  padding: 20px 0 0;
}

.showcase__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 16px;
  align-items: stretch;
}

.showcase__content {
  min-height: 440px;
  padding: 28px 32px;
  display: grid;
  align-content: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.showcase h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.showcase__lead {
  margin: 0;
  max-width: 580px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.showcase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.showcase__actions .btn,
.showcase__actions a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.showcase__quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.quickfact {
  min-width: 120px;
  padding: 12px 14px;
  display: grid;
  gap: 2px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.quickfact strong {
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
}

.quickfact span {
  color: var(--muted);
  font-size: 12px;
}

.showcase__visual {
  position: relative;
  min-height: 440px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.showcase__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}

.showcase__visual:hover img {
  transform: scale(1.03);
}

.showcase__visual-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-top: 3px solid var(--accent);
  box-shadow: 0 4px 20px rgba(15,23,42,.12);
}

.showcase__visual-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase__visual-card strong {
  display: block;
  font-size: 20px;
  line-height: 1.15;
}

.showcase__visual-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.metric-card,
.info-card,
.catalog-toolbar,
.category-section__chips,
.company-card__table-wrap,
.cart {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.metric-card {
  min-height: 108px;
  padding: 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.metric-card strong {
  font-size: 17px;
}

.metric-card span {
  color: var(--muted);
  font-size: 14px;
}

.info-card {
  padding: 22px;
  border-radius: 18px;
}

.info-card--accent {
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.info-card--accent .info-card__label,
.info-card--accent .info-list,
.info-card--accent p {
  color: rgba(255, 255, 255, 0.84);
}

.info-card__label,
.section-head__eyebrow,
.catalog-toolbar__title {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-card h2,
.info-card h3,
.section-head h2,
.catalog-head h2 {
  margin: 0;
}

.info-card h2 {
  font-size: 26px;
  line-height: 1.1;
}

.info-card h3 {
  font-size: 22px;
  line-height: 1.15;
}

.info-list,
.contact-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.info-list {
  padding-left: 18px;
}

.contact-list a {
  font-weight: 600;
  text-decoration: none;
}

.contact-list p,
.info-card p,
.section-head__text,
.catalog-head p,
.company-table td,
.company-table th {
  color: var(--muted);
}

.trust-strip {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.trust-item {
  min-height: 120px;
  padding: 18px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.trust-item .icon {
  width: 22px;
  height: 22px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  stroke: var(--accent);
  flex-shrink: 0;
}

.trust-item strong {
  font-size: 15px;
  line-height: 1.25;
}

.trust-item span,
.trust-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.bottom-cta {
  margin-top: 32px;
}

.trust-strip::after {
  content: "";
  grid-column: 1 / -1;
  display: block;
  width: 48px;
  height: 3px;
  margin: 12px auto 0;
  border-radius: 2px;
  background: var(--border);
}

.category-section,
.main-content,
.company-card {
  margin-top: 32px;
}

.category-section--top {
  margin-top: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 16px;
}

.section-head--spaced {
  margin-bottom: 18px;
}

.section-head--compact {
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.catalog-head h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 10px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head__text {
  margin: 0;
  max-width: 500px;
  text-align: right;
}

.category-section__chips {
  padding: 14px;
  border-radius: 18px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.chip:hover {
  background: var(--tint);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(31,29,23,.08);
}

.chip.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.chip__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--tint);
  color: var(--muted);
}

.chip.is-active .chip__count {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.catalog-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.catalog-bar .chips {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.catalog-bar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* ─── Filter toggle buttons ─── */
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.filter-toggle__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.filter-toggle:hover {
  background: var(--tint);
  border-color: var(--border-strong);
  color: var(--text);
}
.filter-toggle.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ─── Sort wrapper ─── */
.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 10px 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}
.sort-wrap__icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.sort-wrap__select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  height: 100%;
}
.sort-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.catalog-bar__count {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  padding-left: 4px;
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

.main-content {
  padding-top: 20px;
  padding-bottom: 48px;
  min-height: 60vh;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.catalog-load-more {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.catalog-load-more__btn {
  min-width: 220px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(214, 203, 190, .96);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,241,233,.98));
  color: #39485f;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(33, 27, 22, .05);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.catalog-load-more__btn:hover {
  transform: translateY(-1px);
  border-color: rgba(189,170,145,.94);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(251,247,241,.99));
  box-shadow: 0 16px 30px rgba(33, 27, 22, .08);
}

.catalog-load-more__btn:active {
  transform: translateY(0);
}

/* ═══ Product Card ═══ */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  opacity: 0;
  transform: translateY(18px);
}

.card.is-revealed {
  animation: cardReveal .4s var(--ease) both;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.card--clickable { cursor: pointer; }
.card--clickable:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,.10);
  border-color: var(--border);
}
.card--clickable:focus-visible {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.card__image-wrap {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
}

.card__image-link {
  display: block;
  text-decoration: none;
}

.card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: linear-gradient(90deg,#e2e8f0 25%,#f1f5f9 50%,#e2e8f0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.6s infinite linear;
  transition: transform .35s var(--ease);
}
.card--clickable:hover .card__img { transform: scale(1.04); }

.card__discount-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.like-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.9);
  color: #bbb;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s var(--ease), color .2s var(--ease), background .2s var(--ease);
}
.card--clickable:hover .like-btn,
.like-btn.is-liked { opacity: 1; }
.like-btn:hover { background: #fff; color: var(--danger); }
.like-btn.is-liked { color: var(--danger); background: #fff; }

.card__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card__price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}

.card__price-old {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
  text-decoration-color: rgba(220,38,38,.45);
}

.card__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.card__title:hover { color: var(--accent); }

.card__unit {
  font-size: 11px;
  color: var(--muted);
  margin-top: -3px;
  font-weight: 400;
}

.card__rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.card__stars { color: #f59e0b; font-weight: 700; }
.card__reviews { color: var(--muted); }

.card__delivery { margin-top: auto; padding-top: 4px; }
.card__stock {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.card__stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.card__stock--ok { color: #16a34a; }
.card__stock--order { color: #d97706; }

.card__cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 36px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.card__cart-btn svg { width: 16px; height: 16px; }
.card__cart-btn:hover { background: var(--accent-dark); }
.card__cart-btn:active { transform: scale(.97); }
.card__cart-btn.is-added {
  background: #16a34a;
  pointer-events: none;
  animation: addedPop .35s var(--ease);
}

@keyframes addedPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.search-wrap--detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.product-page {
  padding: 18px 0 48px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.breadcrumbs a {
  text-decoration: none;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 18px;
}

.product-sections {
  margin-top: 24px;
}

.product-gallery,
.product-summary,
.product-panel,
.product-empty,
.related-empty,
.mini-card {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-gallery,
.product-summary,
.product-panel,
.product-empty {
  border-radius: 24px;
}

.product-gallery {
  padding: 18px;
}

.product-gallery__main {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.product-gallery__main img {
  width: 100%;
  aspect-ratio: 1 / 0.76;
  object-fit: cover;
  display: block;
}

.product-gallery__thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery__thumb {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.product-gallery__thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.product-gallery__thumb img {
  width: 100%;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
  display: block;
}

.product-summary {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* top meta row */
.product-summary__top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.product-summary__category {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.product-summary__discount-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  background: #fbe9e7;
  color: var(--danger);
  font-size: 12px;
  font-weight: 700;
}

.product-summary h1 {
  margin: 0;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.1;
}

.product-summary__sku {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.product-summary__lead {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* price block */
.product-summary__price-block {
  padding: 16px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
    text-align: center;
  }

  .product-summary__top,
  .product-summary__price-row,
  .product-summary__status-row {
    justify-content: center;
  }

  .product-summary__top,
  .product-summary__price-row {
    flex-wrap: wrap;
  }

  .product-summary h1 {
    margin-inline: auto;
    max-width: 11ch;
    text-wrap: balance;
  }

  .product-summary__economy {
    margin-inline: auto;
  }
.product-summary__price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.product-summary__current {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}
.product-summary__unit {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}
.product-summary__old {
  font-size: 16px;
  color: #aaa;
  text-decoration: line-through;
  text-decoration-color: rgba(220,38,38,.4);
}
.product-summary__economy {
  font-size: 13px;
  color: #16a34a;
  font-weight: 600;
}

/* status block */
.product-summary__status-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-summary__status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pd-stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.pd-stock__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.pd-stock--ok { color: #16a34a; }
.pd-stock--order { color: #d97706; }
.pd-delivery {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}
.pd-delivery svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* action buttons */
.product-summary__actions-block {
  display: flex;
  gap: 10px;
}
.pd-cart-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.pd-cart-btn:hover { background: var(--accent-dark); }
.pd-cart-btn:active { transform: scale(.98); }
.pd-cart-btn .icon { width: 18px; height: 18px; }

.pd-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.pd-fav-btn .icon { width: 16px; height: 16px; }
.pd-fav-btn:hover { border-color: var(--danger); color: var(--danger); background: #fdf2f1; }
.pd-fav-btn.is-liked { border-color: var(--danger); color: var(--danger); background: #fdf2f1; }

/* contact buttons */
.product-summary__contacts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.pd-contact-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--tint);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}

.pd-contact-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ─── Product page trust strip ─── */
.pd-trust-strip {
  display: flex;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 4px;
}
.pd-trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-right: 1px solid var(--border-light);
  background: var(--tint);
}
.pd-trust-item:last-child { border-right: none; }
.pd-trust-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent);
  stroke-width: 2;
}

/* ─── Product page tabs ─── */
.product-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 0;
}
.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 20px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.product-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
.product-tab:hover { color: var(--text); }
.product-tab.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.product-tab__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.product-tab.is-active .product-tab__count {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.product-tab-panel {
  display: none;
}
.product-tab-panel.is-active {
  display: block;
}

/* ─── Key specs overview (Description tab) ─── */
.pd-key-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.pd-key-spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--tint);
  border: 1px solid var(--border-light);
  border-radius: 10px;
}
.pd-key-spec__label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pd-key-spec__value {
  font-size: 13px;
  color: var(--text);
  font-weight: 700;
  line-height: 1.3;
}



.product-panel {
  padding: 24px;
}

.product-panel__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.product-panel__desc {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.product-panel__brand-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
  margin-top: 10px;
}
.product-panel__brand-label {
  font-size: 13px;
  color: var(--muted);
}
.product-panel__brand-block strong {
  font-size: 13px;
  color: var(--text);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface-muted);
  border: 1px solid var(--border-light);
}

.spec-row span {
  color: var(--muted);
  font-size: 13px;
}

.spec-row strong {
  text-align: right;
  font-size: 13px;
}

.delivery-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.delivery-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.delivery-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}

.related-block {
  margin-top: 28px;
}

.related-block__head {
  margin-bottom: 14px;
}
.related-block__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mini-card {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.mini-card__image {
  display: block;
  color: inherit;
  text-decoration: none;
}

.mini-card__image img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
}

.mini-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mini-card__badges,
.mini-card__meta,
.mini-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-card__meta {
  color: var(--muted);
  font-size: 13px;
}

.mini-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.mini-card h3 a {
  color: inherit;
  text-decoration: none;
}

.mini-card h3 a:hover {
  color: var(--primary);
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.mini-card__footer {
  margin-top: auto;
  align-items: flex-end;
  justify-content: space-between;
}

.mini-card__price {
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.product-empty,
.related-empty {
  padding: 28px;
}

.product-empty {
  display: grid;
  gap: 12px;
  justify-items: flex-start;
}

.company-card__grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 18px;
}

.bottom-cta__content {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--primary-dark);
  color: #fff;
  border-color: transparent;
  overflow: hidden;
}

.bottom-cta__content::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.bottom-cta__content h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
}

.bottom-cta__content p {
  margin: 10px 0 0;
  max-width: 700px;
  color: rgba(255,255,255,.6);
}

.bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.company-card__summary {
  display: grid;
  gap: 18px;
}

.company-card__table-wrap {
  border-radius: 18px;
  overflow: auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  text-align: left;
  font-size: 14px;
}

.company-table th {
  width: 34%;
  background: var(--surface-muted);
  color: #334155;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table a {
  color: var(--primary);
  text-decoration: none;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(430px, 92vw);
  height: 100dvh;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
  z-index: 70;
  display: flex;
  flex-direction: column;
  border-radius: 24px 0 0 24px;
  background: var(--surface);
}

.cart.is-open {
  transform: translateX(0);
  box-shadow: -8px 0 40px rgba(12,20,34,.18);
}

.cart__header,
.cart__footer {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

.cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart__header h2 {
  margin: 0;
  font-size: 22px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}

.icon-btn:hover {
  background: #f1f5f9;
  border-color: var(--border-strong);
}

.icon-btn .icon { width: 18px; height: 18px; }

.cart__items {
  flex: 1;
  overflow: auto;
  padding: 14px 18px;
}

.cart-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 0 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  animation: fadeInUp .25s var(--ease) both;
}

.cart-row__img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--tint);
  border: 1px solid var(--border-light);
}

.cart-row__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-row__name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .15s var(--ease);
}

.cart-row__name:hover {
  color: var(--accent);
}

.cart-row__meta {
  color: var(--muted);
  font-size: 12px;
}

.cart-row__price {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.cart-row__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-row__remove {
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  color: var(--muted);
  transition: color .15s var(--ease);
}

.cart-row__remove:hover {
  color: var(--danger);
}

.cart-row__remove .icon {
  width: 16px;
  height: 16px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty button {
  border: 0;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s var(--ease);
}

.qty button:hover {
  background: var(--tint);
}

.qty span {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.cart__footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  display: grid;
  gap: 12px;
}

.cart__summary {
  font-size: 14px;
  color: var(--muted);
}

.cart__summary-row {
  display: flex;
  justify-content: space-between;
}

.cart__delivery-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart__delivery-text {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart__delivery-track {
  height: 4px;
  border-radius: 4px;
  background: var(--tint);
  overflow: hidden;
}

.cart__delivery-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent));
  transition: width .4s var(--ease);
}

.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
}

.cart__total strong {
  font-size: 20px;
}

.cart__header-count {
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
}

.empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.empty__icon {
  width: 48px;
  height: 48px;
  color: var(--border-strong);
  margin-bottom: 8px;
}

.empty p {
  margin: 0;
  font-weight: 600;
  color: var(--text);
}

.empty__hint {
  font-size: 14px;
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 18, 0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 60;
  animation: fadeIn .25s var(--ease);
}

.footer {
  margin-top: 40px;
  padding: 40px 0 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer__about p {
  margin: 8px 0 0;
  color: rgba(255,255,255,.55);
  font-size: 14px;
  line-height: 1.5;
}

.footer__legal {
  margin-top: 14px !important;
  font-size: 12px !important;
  color: rgba(255,255,255,.32) !important;
}

.footer__heading {
  display: block;
  margin-bottom: 14px;
  color: #fff;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer__list a {
  font-size: 14px;
}

.footer__col p {
  margin: 6px 0 0;
  font-size: 14px;
}

.footer__col p:first-of-type {
  margin-top: 0;
}

.footer__address {
  color: rgba(255,255,255,.4) !important;
  font-size: 13px !important;
}

.footer a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.footer a:hover {
  color: var(--accent);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
}

.footer__logo-mark {
  display: grid;
  place-items: center;
}

.footer__logo {
  width: 100%;
  height: 100%;
  display: block;
  flex-shrink: 0;
}

.footer__bottom {
  margin-top: 28px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13px;
  color: rgba(255,255,255,.35);
}

.footer__mobile-links {
  display: none;
}

.footer__mobile-note {
  display: none;
}

.footer--compact {
  margin-top: 0;
  padding: 22px 0 24px;
}

.page-shell {
  padding: 28px 0 36px;
}

.page-hero {
  margin-bottom: 18px;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.06;
}

.page-hero p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topbar__actions--page .hamburger {
  display: inline-flex;
}

.company-card--page {
  margin-top: 0;
}

/* ═══════════════════════════════════════════
   RESPONSIVE: 1180px — Tablet landscape
   ═══════════════════════════════════════════ */
@media (max-width: 1180px) {
  .topbar__inner {
    grid-template-columns: 1fr;
  }

  .search-wrap {
    order: 3;
  }

  .topbar__actions {
    justify-content: flex-end;
  }

  .showcase__hero,
  .company-card__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-hero,
  .product-sections {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE: 920px — Tablet portrait
   ═══════════════════════════════════════════ */
@media (max-width: 920px) {
  /* ── Topline ── */
  .topline__links {
    display: none;
  }

  .topline__inner {
    justify-content: center;
  }

  .topline__marquee {
    text-align: center;
  }

  /* ── Topbar / Logo ── */
  .logo__text small {
    display: none;
  }

  .topline__group {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-toolbar,
  .catalog-toolbar__group,
  .section-head,
  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-wrap {
    flex-direction: column;
    height: auto;
  }

  .search-wrap--detail {
    grid-template-columns: 1fr;
  }

  .page-actions {
    justify-content: flex-start;
  }

  .showcase__content {
    padding: 22px;
  }

  .showcase__visual {
    min-height: 320px;
  }

  .showcase h1 {
    font-size: clamp(26px, 6vw, 38px);
  }

  .catalog-toolbar .select,
  .btn--light,
  .btn--icon {
    width: 100%;
  }

  .section-head__text {
    max-width: none;
    text-align: left;
  }

  .bottom-cta__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-summary__price,
  .product-summary__actions,
  .product-summary__contact,
  .spec-row,
  .mini-card__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ── Category chips: horizontal scroll ── */
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    flex-shrink: 0;
  }

  /* ── Like button always visible on touch ── */
  .like-btn {
    opacity: 1;
    transform: scale(1);
  }

  /* ── Card discount tag mobile ── */
  .card__discount-tag {
    font-size: 12px;
    padding: 4px 8px;
  }

  /* ── Search dropdown mobile adjustments ── */
  .search-dropdown {
    border-radius: 0 0 14px 14px;
    max-height: 60vh;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE: 640px — Mobile
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  .container {
    width: min(100% - 16px, 1280px);
  }

  /* ── Topline compact ── */
  .topline {
    font-size: 11.5px;
  }

  .topline__inner {
    min-height: 30px;
  }

  /* ── Topbar compact ── */
  .topbar__inner {
    min-height: 56px;
    gap: 10px;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
    border-radius: 9px;
  }

  .logo__text strong {
    font-size: 16px;
  }

  .logo__text strong::before {
    height: 13px;
  }

  /* ── Actions: icon-only on mobile ── */
  .topbar__actions {
    gap: 6px;
  }

  .topbar__actions .btn {
    padding: 0;
    width: 42px;
    height: 42px;
    min-height: 42px;
    justify-content: center;
    font-size: 0;
    border-radius: 11px;
    gap: 0;
  }

  .topbar__actions .btn .icon {
    width: 20px;
    height: 20px;
  }

  .topbar__actions .btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
  }

  .topbar__actions .btn {
    position: relative;
  }

  /* ── Footer ── */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer {
    padding: 28px 0 0;
  }

  .footer__brand {
    font-size: 18px;
  }

  .page-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  /* ── Showcase ── */
  .showcase {
    padding-top: 12px;
  }

  .showcase__content {
    padding: 18px;
  }

  .showcase__visual {
    min-height: 220px;
    border-radius: 16px;
  }

  .showcase__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .showcase__actions .btn,
  .showcase__actions a.btn {
    width: 100%;
  }

  .showcase__quickfacts {
    gap: 12px;
  }

  .quickfact {
    padding: 10px;
  }

  .quickfact strong {
    font-size: 20px;
  }

  /* ── Category section ── */
  .category-section__chips {
    padding: 10px;
  }

  .chip {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .chip__count {
    min-width: 20px;
    height: 20px;
    font-size: 10px;
  }

  /* ── Trust strip ── */
  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .trust-item {
    padding: 14px;
  }

  .trust-item strong {
    font-size: 13.5px;
  }

  .trust-item span {
    font-size: 12px;
  }

  /* ── Catalog toolbar ── */
  .catalog-toolbar {
    padding: 12px 14px;
  }

  .info-card {
    padding-inline: 14px;
  }

  /* ── Product grid: 2 columns on mobile (marketplace style) ── */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-load-more {
    margin-top: 16px;
  }

  .catalog-load-more__btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-size: 13px;
  }

  .card {
    border-radius: 10px;
  }

  .card__body {
    padding: 10px;
    gap: 5px;
  }

  .card__price {
    font-size: 16px;
  }

  .card__price-old {
    font-size: 11px;
  }

  .card__title {
    font-size: 12px;
  }

  .card__rating-row {
    font-size: 11px;
  }

  .card__cart-btn {
    height: 32px;
    font-size: 12px;
  }

  .catalog-bar {
    gap: 8px;
  }

  .catalog-bar__right {
    width: 100%;
  }

  .card__specs {
    display: none;
  }

  .price {
    font-size: 16px;
  }

  .price-old {
    font-size: 11px;
  }

  .card__footer {
    gap: 6px;
    padding-top: 8px;
  }

  .card__footer .btn {
    padding-inline: 10px;
    font-size: 12px;
    height: 34px;
    border-radius: 8px;
  }

  .card__footer .btn .icon {
    width: 14px;
    height: 14px;
  }

  .card__image-wrap {
    border-radius: 14px 14px 0 0;
  }

  .card__discount-tag {
    font-size: 11px;
    padding: 3px 7px;
    top: 8px;
    left: 8px;
    border-radius: 6px;
  }

  .like-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    top: 8px;
    right: 8px;
    font-size: 13px;
  }

  .card__image-link::after {
    font-size: 12px;
  }

  /* ── Bottom CTA ── */
  .bottom-cta__content {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .bottom-cta__content h2 {
    font-size: clamp(22px, 5vw, 30px);
  }

  .bottom-cta__content p {
    font-size: 13.5px;
  }

  .bottom-cta__actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .bottom-cta__actions .btn,
  .bottom-cta__actions a.btn {
    width: 100%;
  }

  /* ── Cart panel: full width ── */
  .cart {
    width: 100vw;
    border-radius: 0;
  }

  .cart__header {
    padding: 14px 16px;
  }

  .cart__header h2 {
    font-size: 19px;
  }

  .cart__items {
    padding: 10px 16px;
  }

  .cart-row {
    grid-template-columns: 46px 1fr auto;
    gap: 0 10px;
    padding: 12px 0;
  }

  .cart-row__img {
    width: 46px;
    height: 46px;
    border-radius: 8px;
  }

  .cart-row__name {
    font-size: 13px;
  }

  .cart-row__meta {
    font-size: 11px;
  }

  .cart-row__price {
    font-size: 14px;
  }

  .cart__footer {
    padding: 14px 16px;
    gap: 10px;
  }

  .cart__delivery-text {
    font-size: 12px;
  }

  .cart__total {
    font-size: 16px;
  }

  .cart__total strong {
    font-size: 18px;
  }

  .qty {
    height: 30px;
  }

  .qty button {
    width: 30px;
    font-size: 15px;
  }

  .qty span {
    font-size: 13px;
    min-width: 22px;
  }

  /* ── Mini grid ── */
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .product-gallery__main {
    border-radius: 14px;
  }

  .product-gallery__thumb {
    border-radius: 10px;
  }

  /* ── Product page ── */
  .product-summary,
  .product-panel,
  .product-gallery,
  .product-empty {
    padding: 14px;
  }

  .company-card__table-wrap {
    padding-inline: 0;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .company-table td {
    padding-top: 0;
  }

  /* ── Sticky bar: compact ── */
  .sticky-bar__inner {
    padding: 10px 0;
    gap: 10px;
  }

  .sticky-bar__img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .sticky-bar__name {
    font-size: 12.5px;
    max-width: 140px;
  }

  .sticky-bar__price {
    font-size: 14px;
  }

  .sticky-bar .btn {
    height: 38px;
    font-size: 13px;
    padding: 0 14px;
  }

  /* ── Toast: compact bottom-center ── */
  .toast-container {
    bottom: 16px;
    right: 8px;
    left: 8px;
    align-items: stretch;
  }

  .toast {
    min-width: 0;
    max-width: none;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
  }

  /* ── Back to top: compact ── */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 20px;
    left: 16px;
  }

  /* ── Section headings ── */
  .section-head h2 {
    font-size: clamp(22px, 5vw, 28px);
  }

  .section-head h2::after,
  .catalog-head h2::after {
    width: 32px;
    height: 2px;
    margin-top: 8px;
  }

  .section-head__eyebrow {
    font-size: 11px;
  }

  .catalog-head h2 {
    font-size: clamp(22px, 5vw, 28px);
  }

  /* ── Result count pill ── */
  #resultCount {
    font-size: 12px;
  }

  /* ── Breadcrumbs ── */
  .breadcrumbs {
    font-size: 13px;
    gap: 6px;
    margin-bottom: 14px;
  }

  /* ── Page hero ── */
  .page-hero {
    padding: 18px 16px;
    border-radius: 16px;
  }

  .page-hero h1 {
    font-size: clamp(24px, 5vw, 36px);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE: 400px — Small phones
   ═══════════════════════════════════════════ */
@media (max-width: 400px) {
  .product-grid {
    gap: 6px;
  }

  .card__body {
    padding: 8px;
    gap: 4px;
  }

  .card__price {
    font-size: 14px;
  }

  .card__title {
    font-size: 11.5px;
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }

  .card__cart-btn {
    height: 30px;
    font-size: 11px;
    border-radius: 6px;
  }

  .sticky-bar__name {
    max-width: 100px;
    font-size: 11.5px;
  }

  .sticky-bar__info {
    gap: 8px;
  }

  .showcase__content {
    padding: 14px;
  }

  .bottom-cta__content {
    padding: 18px 14px;
  }
}

/* ─── Toast notifications ─── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  animation: toastIn .35s var(--ease) both;
}

.toast.is-leaving {
  animation: toastOut .3s var(--ease) both;
}

.toast .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.toast--success { border-left: 4px solid var(--success); }
.toast--success .icon { color: var(--success); }
.toast--info { border-left: 4px solid var(--primary); }
.toast--info .icon { color: var(--primary); }
.toast--error { border-left: 4px solid var(--danger); }
.toast--error .icon { color: var(--danger); }

/* ─── Sticky product bar ─── */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(15,23,42,.08);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
  pointer-events: none;
}

.sticky-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.sticky-bar__info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sticky-bar__img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.sticky-bar__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 400px;
}

.sticky-bar__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

/* ─── Back to top ─── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .18s var(--ease);
}

.back-to-top .icon { width: 20px; height: 20px; color: var(--text); }

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-soft);
}

.back-to-top:hover .icon { color: var(--primary); }

/* ─── Breadcrumbs improved ─── */
.breadcrumbs a {
  transition: color .18s var(--ease);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

/* ─── Cart count badge pulse ─── */
.btn .cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease);
}

.btn--primary .cart-badge,
.btn--accent .cart-badge {
  background: rgba(255,255,255,.24);
  color: #fff;
}

.btn--icon .cart-badge,
.btn--ghost .cart-badge {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

/* Active state when count > 0 */
.btn--icon .cart-badge.has-items,
.btn--ghost .cart-badge.has-items {
  background: var(--accent);
  color: #fff;
}

.btn--primary .cart-badge.has-items,
.btn--accent .cart-badge.has-items {
  background: #fff;
  color: var(--accent-dark);
}

.cart-badge.is-bumped {
  animation: badgePop .4s var(--ease);
}

@keyframes badgePop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  70%  { transform: scale(.9); }
  100% { transform: scale(1); }
}

/* ─── Showcase visual overlay improved ─── */
.showcase__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(32,31,29,.05) 0%, rgba(32,31,29,.42) 100%);
  transition: background .4s var(--ease);
}

.showcase__visual:hover::after {
  background: linear-gradient(180deg, rgba(32,31,29,.03) 0%, rgba(32,31,29,.34) 100%);
}

/* ─── Company table row hover ─── */
.company-table tr {
  transition: background .15s var(--ease);
}

.company-table tbody tr:hover th,
.company-table tbody tr:hover td {
  background: var(--tint);
}

/* ─── Mobile hamburger breakpoint ─── */
@media (max-width: 920px) {
  .hamburger {
    display: flex;
  }

  .search-wrap:not(.search-wrap--detail) {
    display: none;
  }

  .search-wrap.is-mobile-open {
    display: grid;
    grid-template-columns: 1fr;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px min(3%, 16px);
    box-shadow: 0 8px 24px rgba(31,29,23,.12);
    animation: slideInDown .25s var(--ease);
    z-index: 39;
    overflow: visible;
  }

  .search-wrap.is-mobile-open .search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 0 0 14px 14px;
    border-top: 0;
    max-height: 50vh;
  }

  .search-wrap.is-mobile-open .btn--catalog {
    display: none;
  }

  .topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
  }

  .topbar__actions {
    gap: 8px;
  }

  /* Product page detail search-wrap */
  .search-wrap--detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-wrap--detail .btn {
    flex: 1;
    min-width: 0;
  }
}

/* ═══════════════════════════════════════════
   Touch device: disable hover lift effects
   ═══════════════════════════════════════════ */
@media (hover: none) {
  .card--clickable:hover {
    transform: none;
    box-shadow: var(--shadow);
    border-color: var(--border);
  }

  .card--clickable:hover .card__img {
    transform: none;
  }

  .card--clickable:hover .card__image-link::after {
    opacity: 0;
  }

  .chip:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ═══ Catalog Hero + Smart Toolbar ═══ */
.catalog-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 16px;
  margin-bottom: 14px;
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 20px;
  background:
    radial-gradient(1100px 320px at 0% -10%, rgba(15,106,99,.16) 0%, transparent 62%),
    radial-gradient(700px 260px at 100% 110%, rgba(43,42,40,.14) 0%, transparent 68%),
    linear-gradient(160deg, #ffffff 0%, #faf8f5 52%, #f5f1ec 100%);
  border: 1px solid var(--border);
}

.catalog-hero__content,
.catalog-hero__aside {
  padding: 22px;
}

.catalog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

.catalog-hero__title {
  margin: 10px 0 10px;
  max-width: 24ch;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.catalog-hero__text {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.catalog-hero__actions .btn.is-active {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.catalog-hero__stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.catalog-hero__stat {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  border-radius: 14px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.catalog-hero__stat strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.catalog-hero__stat span {
  color: var(--muted);
  font-size: 12px;
}

.catalog-hero__aside {
  display: grid;
  gap: 10px;
  align-content: start;
}

.catalog-hero__feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  padding: 10px 11px;
}

.catalog-hero__feature svg {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  color: var(--accent);
}

.catalog-hero__feature strong {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.catalog-hero__feature p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.af-chip {
  height: 31px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--primary);
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}

.af-chip:hover {
  border-color: var(--border-strong);
  background: var(--tint);
}

.af-chip__x {
  font-size: 15px;
  line-height: 1;
  opacity: .68;
}

.af-chip--reset {
  background: var(--surface-muted);
  border-style: dashed;
}

.catalog-toolbar__right {
  margin-left: auto;
}

@media (min-width: 921px) {
  .catalog-bar {
    display: block;
  }

  .catalog-bar .chips {
    width: 100%;
  }

  .catalog-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .catalog-toolbar .catalog-bar__right {
    margin-left: 0;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .catalog-toolbar__right {
    flex-shrink: 0;
    margin-left: auto;
  }
}

.view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
}

.view-switch__btn {
  height: 30px;
  border: none;
  border-radius: 8px;
  padding: 0 10px;
  background: transparent;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.view-switch__btn svg {
  width: 14px;
  height: 14px;
}

.view-switch__btn.is-active {
  background: var(--primary-dark);
  color: #fff;
}

#productGrid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 10px;
}

#productGrid[data-view="list"] .card {
  flex-direction: row;
  min-height: 200px;
}

#productGrid[data-view="list"] .card__image-wrap {
  width: 240px;
  flex-shrink: 0;
}

#productGrid[data-view="list"] .card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

#productGrid[data-view="list"] .card__body {
  padding: 14px 16px;
  gap: 8px;
}

#productGrid[data-view="list"] .card__title {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 15px;
}

#productGrid[data-view="list"] .card__price {
  font-size: 24px;
}

#productGrid[data-view="list"] .card__delivery {
  margin-top: 4px;
}

#productGrid[data-view="list"] .card__cart-btn {
  width: max-content;
  min-width: 180px;
  padding: 0 14px;
  margin-top: auto;
}

@media (max-width: 920px) {
  .catalog-hero {
    grid-template-columns: 1fr;
  }

  .catalog-hero__content,
  .catalog-hero__aside {
    padding: 16px;
  }

  .catalog-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-toolbar__right {
    margin-left: 0;
  }

  .view-switch {
    width: 100%;
    justify-content: stretch;
  }

  .view-switch__btn {
    flex: 1;
    justify-content: center;
  }

  #productGrid[data-view="list"] .card {
    flex-direction: column;
    min-height: 0;
  }

  #productGrid[data-view="list"] .card__image-wrap {
    width: 100%;
  }

  #productGrid[data-view="list"] .card__img {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  #productGrid[data-view="list"] .card__cart-btn {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .catalog-hero__title {
    font-size: clamp(24px, 8vw, 30px);
  }

  .catalog-hero__stats {
    grid-template-columns: 1fr;
  }
}

/* ═══ Premium Minimal Refinement Pass ═══ */
:root {
  --font-sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-sans);
  letter-spacing: .001em;
}

h1,
h2,
h3,
.logo__text strong,
.card__price,
.catalog-hero__title {
  letter-spacing: -0.02em;
}

.topline {
  background: var(--primary-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.topline__inner {
  min-height: 34px;
}

.topbar {
  background: rgba(255,255,255,.92);
}

.topbar__inner {
  min-height: 74px;
}

.main-content {
  padding-top: 16px;
}

.catalog-hero {
  margin-bottom: 16px;
}

.catalog-hero::before {
  border-radius: 24px;
}

.catalog-hero__content,
.catalog-hero__aside {
  padding: 24px;
}

.catalog-hero__text {
  font-size: 15px;
  line-height: 1.65;
}

.catalog-hero__stat {
  border-radius: 12px;
  background: rgba(255,255,255,.82);
}

.catalog-hero__stat strong {
  font-size: 22px;
}

.catalog-hero__feature {
  border-radius: 12px;
}

.catalog-bar {
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.filter-toggle,
.sort-wrap {
  height: 36px;
  border-radius: 10px;
}

.sort-wrap__select {
  font-size: 12.5px;
}

.card {
  border: 1px solid #e6edf3;
  box-shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 22px rgba(15,23,42,.06);
}

.card--clickable:hover {
  box-shadow: 0 4px 20px rgba(15,23,42,.1);
}

.card__body {
  padding: 13px;
  gap: 7px;
}

.card__title {
  font-size: 13.5px;
  line-height: 1.45;
}

.card__cart-btn {
  height: 38px;
  border-radius: 10px;
}

.catalog-toolbar {
  margin-bottom: 14px;
}

.active-filters {
  row-gap: 6px;
}

.af-chip {
  border-radius: 10px;
}

.view-switch {
  border-radius: 13px;
}

.view-switch__btn {
  height: 31px;
}

#productGrid[data-view="list"] {
  gap: 12px;
}

#productGrid[data-view="list"] .card {
  border-radius: 14px;
}

#productGrid[data-view="list"] .card__body {
  padding: 16px;
  gap: 9px;
}

#productGrid[data-view="list"] .card__title {
  font-size: 16px;
  line-height: 1.4;
}

#productGrid[data-view="list"] .card__price {
  font-size: 26px;
}

@media (max-width: 920px) {
  .catalog-hero__content,
  .catalog-hero__aside {
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .topline__inner {
    min-height: 32px;
  }

  .main-content {
    padding-top: 12px;
  }

  .catalog-hero__text {
    font-size: 14px;
  }

  .card__body {
    padding: 11px;
  }
}

/* ═══ Final Micro Polish Pass ═══ */
:root {
  --motion-fast: .18s;
  --motion-normal: .26s;
}

.card--clickable {
  transition: border-color var(--motion-normal) var(--ease), box-shadow var(--motion-normal) var(--ease), transform var(--motion-fast) var(--ease);
}

.card--clickable:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(15,23,42,.08);
}

.card__discount-tag {
  top: 9px;
  left: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .01em;
}

.card__price-old {
  color: #a1a1aa;
}

.card__stock {
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #f8fafc;
}

.card__stock::before {
  width: 5px;
  height: 5px;
}

.like-btn {
  transition: opacity var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}

.like-btn:hover {
  transform: scale(1.04);
}

.card__cart-btn {
  font-weight: 650;
  transition: background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease);
}

.card__cart-btn:hover {
  box-shadow: 0 6px 14px rgba(15,118,110,.2);
}

.product-page {
  padding-top: 16px;
}

.breadcrumbs {
  font-size: 13px;
  margin-bottom: 16px;
}

.product-summary h1 {
  font-size: clamp(26px, 3.1vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.024em;
}

.product-summary__lead {
  font-size: 15px;
  line-height: 1.65;
}

.product-summary__current {
  font-size: clamp(30px, 4vw, 42px);
}

.product-summary__economy,
.product-summary__sku,
.product-panel__brand-label,
.delivery-list li,
.spec-row span,
.spec-row strong {
  font-size: 12.5px;
}

.product-panel {
  padding: 22px;
}

.product-panel__desc {
  font-size: 15px;
  line-height: 1.7;
}

.product-tabs {
  gap: 2px;
}

.product-tab {
  border-radius: 10px 10px 0 0;
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}

.product-tab:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.product-tab.is-active {
  background: linear-gradient(180deg, #f0fdfa 0%, rgba(240,253,250,0) 100%);
}

.product-gallery__thumb,
.pd-cart-btn,
.pd-fav-btn,
.pd-contact-btn,
.af-chip,
.view-switch__btn,
.filter-toggle,
.chip {
  transition: border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), box-shadow var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}

.product-gallery__thumb:hover,
.pd-fav-btn:hover,
.pd-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(15,23,42,.09);
}

.pd-cart-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15,118,110,.24);
}

.product-gallery__thumb:focus-visible,
.pd-cart-btn:focus-visible,
.pd-fav-btn:focus-visible,
.pd-contact-btn:focus-visible,
.product-tab:focus-visible,
.card__cart-btn:focus-visible,
.like-btn:focus-visible,
.view-switch__btn:focus-visible,
.af-chip:focus-visible,
.filter-toggle:focus-visible,
.chip:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@media (max-width: 920px) {
  .product-summary h1 {
    font-size: clamp(23px, 6vw, 30px);
  }

  .product-summary__lead,
  .product-panel__desc {
    font-size: 14px;
  }
  .product-summary__category,
  .product-summary__discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══ Premium Palette v3: Full Project System ═══ */
:root {
  --bg: #f4f1ec;
  --surface: #fffdfa;
  --surface-muted: #f7f2eb;
  --text: #1d1916;
  --muted: #70675e;

  --primary: #2b241f;
  --primary-dark: #1d1814;
  --primary-soft: #efe7dd;

  --accent: #1a6058;
  --accent-dark: #12453f;
  --accent-soft: #e8f2f0;

  --success: #3f6b4f;
  --danger: #a63a2b;

  --border: #dfd4c7;
  --border-strong: #cdbfac;
  --border-light: #ece3d8;
  --tint: #f5eee5;

  --luxury: #9a7743;
  --luxury-soft: #f4ead8;

  --shadow: 0 1px 3px rgba(29,24,20,.05), 0 8px 24px rgba(29,24,20,.1);
  --shadow-lg: 0 4px 12px rgba(29,24,20,.1), 0 20px 40px rgba(29,24,20,.16);

  --btn-primary-top: #1a6058;
  --btn-primary-bottom: #12453f;
  --btn-primary-text: #ffffff;
  --btn-primary-shadow: rgba(18,69,63,.28);
  --btn-primary-shadow-hover: rgba(18,69,63,.4);

  --btn-secondary-bg: #fffdf9;
  --btn-secondary-text: #332b25;
  --btn-secondary-border: #d8c9b8;
  --btn-secondary-hover-bg: #f4ebdf;
  --btn-secondary-hover-border: #c8baa9;

  --btn-success-top: #486b4f;
  --btn-success-bottom: #35503c;
  --btn-success-text: #ffffff;
  --btn-success-shadow: rgba(53,80,60,.28);
  --btn-success-shadow-hover: rgba(53,80,60,.4);

  --status-ok: #3b734f;
  --status-ok-soft: #edf5ef;
  --status-ok-border: #c5d8ca;
  --status-warn: #8d6938;
  --status-warn-soft: #f8efe2;
  --status-warn-border: #e2d1b8;

  --danger-soft: #f8eeec;
  --danger-border: #dfbbb6;
}

body {
  background: var(--bg);
  color: var(--text);
}

body::-webkit-scrollbar-thumb {
  background: #ab9b89;
}

body::-webkit-scrollbar-thumb:hover {
  background: #93826f;
}

.topline {
  background: var(--primary-dark);
}

.topbar {
  background: rgba(255,253,250,.93);
}

.logo__text strong::before,
.section-head h2::after,
.catalog-head h2::after {
  background: var(--luxury);
}

.chip,
.filter-toggle,
.af-chip,
.view-switch__btn:not(.is-active),
.btn--ghost,
.btn--icon,
.btn--light,
.pd-contact-btn {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-border);
}

.chip:hover,
.filter-toggle:hover,
.af-chip:hover,
.view-switch__btn:not(.is-active):hover,
.btn--ghost:hover,
.btn--icon:hover,
.btn--light:hover,
.pd-contact-btn:hover {
  background: var(--btn-secondary-hover-bg);
  border-color: var(--btn-secondary-hover-border);
}

.chip.is-active,
.filter-toggle.is-active,
.view-switch__btn.is-active,
.btn--icon.is-active,
.btn--light.is-active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn--primary,
.btn--accent,
.card__cart-btn,
.pd-cart-btn {
  background: linear-gradient(180deg, var(--btn-primary-top), var(--btn-primary-bottom));
  color: var(--btn-primary-text);
}

.btn--primary,
.btn--accent {
  box-shadow: 0 3px 10px var(--btn-primary-shadow);
}

.btn--primary:hover,
.btn--accent:hover,
.card__cart-btn:hover,
.pd-cart-btn:hover {
  background: linear-gradient(180deg, #20756d, var(--btn-primary-bottom));
}

.btn--primary:hover,
.btn--accent:hover {
  box-shadow: 0 6px 16px var(--btn-primary-shadow-hover);
}

.card__cart-btn:hover,
.pd-cart-btn:hover {
  box-shadow: 0 8px 18px var(--btn-primary-shadow-hover);
}

.btn--success {
  background: linear-gradient(180deg, var(--btn-success-top), var(--btn-success-bottom));
  color: var(--btn-success-text);
  box-shadow: 0 4px 14px var(--btn-success-shadow);
}

.btn--success:hover {
  box-shadow: 0 6px 20px var(--btn-success-shadow-hover);
}

.btn--catalog:hover {
  background: var(--btn-secondary-hover-bg);
}

.catalog-hero::before {
  background:
    radial-gradient(1100px 320px at 0% -10%, rgba(63,79,106,.18) 0%, transparent 62%),
    radial-gradient(700px 260px at 100% 110%, rgba(43,36,31,.14) 0%, transparent 68%),
    linear-gradient(160deg, #fffdfa 0%, #faf5ee 52%, #f4ece2 100%);
  border-color: var(--border);
}

.catalog-hero__actions .btn.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: none;
}

.catalog-hero__actions .btn.is-active .icon {
  color: currentColor;
}

.catalog-hero__stat,
.catalog-hero__feature,
.catalog-bar,
.card,
.product-gallery,
.product-summary,
.product-panel,
.company-card,
.info-card {
  border-color: var(--border);
}

.card__discount-tag {
  background: var(--danger);
}

.pd-fav-btn:hover,
.pd-fav-btn.is-liked,
.like-btn.is-liked {
  border-color: var(--danger-border);
  color: var(--danger);
  background: var(--danger-soft);
}

.product-summary__discount-badge {
  background: var(--danger-soft);
  color: var(--danger);
}

.product-tab.is-active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(232,242,240,0) 100%);
}

.card__stock.card__stock--ok {
  color: var(--status-ok);
  border-color: var(--status-ok-border);
  background: var(--status-ok-soft);
}

.card__stock.card__stock--order {
  color: var(--status-warn);
  border-color: var(--status-warn-border);
  background: var(--status-warn-soft);
}

.pd-stock--ok {
  color: var(--status-ok);
}

.pd-stock--order {
  color: var(--status-warn);
}

.footer {
  background: linear-gradient(180deg, #241e1a 0%, #1d1814 100%);
}

/* ═══ Premium Palette v2: Buttons + Semantic States ═══ */
:root {
  --accent: #3f4f6a;
  --accent-dark: #2b3b53;
  --accent-soft: #e9eef6;

  --link: #2f4767;
  --link-hover: #223552;
  --link-underline: #b7c6db;

  --discount-badge-bg: #6a3d46;
  --discount-badge-soft: #f7ecef;
  --discount-badge-text: #6a3d46;
  --discount-badge-border: #dfc4ca;

  --btn-primary-top: #425773;
  --btn-primary-bottom: #2b3b53;
  --btn-primary-text: #ffffff;
  --btn-primary-shadow: rgba(43,59,83,.28);
  --btn-primary-shadow-hover: rgba(43,59,83,.4);

  --btn-secondary-bg: #fffcf8;
  --btn-secondary-text: #322f2b;
  --btn-secondary-border: #d6cbbe;
  --btn-secondary-hover-bg: #f5ede3;
  --btn-secondary-hover-border: #c8baa9;

  --btn-success-top: #5c6a40;
  --btn-success-bottom: #455030;
  --btn-success-text: #ffffff;
  --btn-success-shadow: rgba(69,80,48,.28);
  --btn-success-shadow-hover: rgba(69,80,48,.4);

  --status-ok: #3b734f;
  --status-ok-soft: #edf5ef;
  --status-ok-border: #c5d8ca;
  --status-warn: #966736;
  --status-warn-soft: #faf1e4;
  --status-warn-border: #e8d5bd;

  --danger-soft: #fcf0ef;
  --danger-border: #e3bdb9;
}

.btn--primary,
.btn--accent,
.card__cart-btn,
.pd-cart-btn {
  background: linear-gradient(180deg, var(--btn-primary-top), var(--btn-primary-bottom));
  color: var(--btn-primary-text);
}

.btn--primary,
.btn--accent {
  box-shadow: 0 3px 10px var(--btn-primary-shadow);
}

.btn--primary:hover,
.btn--accent:hover,
.card__cart-btn:hover,
.pd-cart-btn:hover {
  background: linear-gradient(180deg, #4d6485, var(--btn-primary-bottom));
}

.btn--primary:hover,
.btn--accent:hover {
  box-shadow: 0 6px 16px var(--btn-primary-shadow-hover);
}

.card__cart-btn:hover,
.pd-cart-btn:hover {
  box-shadow: 0 8px 18px var(--btn-primary-shadow-hover);
}

.btn--success {
  background: linear-gradient(180deg, var(--btn-success-top), var(--btn-success-bottom));
  color: var(--btn-success-text);
  box-shadow: 0 4px 14px var(--btn-success-shadow);
}

.btn--success:hover {
  box-shadow: 0 6px 20px var(--btn-success-shadow-hover);
}

.btn--ghost,
.btn--icon,
.btn--light,
.pd-contact-btn,
.filter-toggle,
.view-switch__btn:not(.is-active),
.af-chip {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  border-color: var(--btn-secondary-border);
  box-shadow: none;
}

.btn--ghost:hover,
.btn--icon:hover,
.btn--light:hover,
.pd-contact-btn:hover,
.filter-toggle:hover,
.view-switch__btn:not(.is-active):hover,
.af-chip:hover {
  background: var(--btn-secondary-hover-bg);
  border-color: var(--btn-secondary-hover-border);
  box-shadow: 0 2px 8px rgba(43,42,40,.08);
}

.btn--catalog:hover {
  background: var(--btn-secondary-hover-bg);
}

.filter-toggle.is-active,
.view-switch__btn.is-active,
.btn--icon.is-active,
.btn--light.is-active {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.catalog-hero__actions .btn.is-active {
  background: var(--primary-soft);
  border-color: var(--primary);
  color: var(--primary-dark);
  box-shadow: none;
}

.catalog-hero__actions .btn.is-active .icon {
  color: currentColor;
}

.pd-fav-btn:hover,
.pd-fav-btn.is-liked,
.like-btn.is-liked {
  border-color: var(--danger-border);
  color: var(--danger);
  background: var(--danger-soft);
}

.card__stock.card__stock--ok {
  color: var(--status-ok);
  border-color: var(--status-ok-border);
  background: var(--status-ok-soft);
}

.card__stock.card__stock--order {
  color: var(--status-warn);
  border-color: var(--status-warn-border);
  background: var(--status-warn-soft);
}

.pd-stock--ok {
  color: var(--status-ok);
}

.pd-stock--order {
  color: var(--status-warn);
}

.product-tab.is-active {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(233,238,246,0) 100%);
}

/* Premium harmony: links + discount badges */
.card__discount-tag {
  background: var(--discount-badge-bg);
  color: #fff;
  box-shadow: 0 6px 14px rgba(106,61,70,.18);
}

.product-summary__discount-badge {
  background: var(--discount-badge-soft);
  color: var(--discount-badge-text);
  border: 1px solid var(--discount-badge-border);
}

.contact-list a,
.company-table a {
  color: var(--link);
}

.contact-list a:hover,
.company-table a:hover,
.breadcrumbs a:hover,
.mini-card h3 a:hover,
.card__title:hover {
  color: var(--link-hover);
  text-decoration-color: var(--link-underline);
}

/* Product page: cleaner segmented menu */
.product-tabs-shell {
  position: sticky;
  top: 76px;
  z-index: 12;
  margin-bottom: 10px;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.product-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  border-bottom: none;
  margin-bottom: 0;
}

.product-tab {
  height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  margin-bottom: 0;
  justify-content: center;
  color: var(--muted);
  transition: border-color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease), color var(--motion-fast) var(--ease), transform var(--motion-fast) var(--ease);
}

.product-tab svg {
  width: 15px;
  height: 15px;
}

.product-tab:hover {
  background: #f8fafc;
  color: var(--text);
}

.product-tab.is-active {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #f4f8fd 100%);
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset;
}

.product-tab__count {
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  font-size: 10.5px;
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(43,59,83,.14);
  color: var(--accent-dark);
}

.product-tab-panel {
  display: none;
}

.product-tab-panel.is-active {
  display: block;
}

@media (max-width: 920px) {
  .product-tabs-shell {
    top: 62px;
    padding: 5px;
  }

  .product-tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    flex: 0 0 auto;
    min-width: max-content;
    padding-inline: 13px;
  }
}

@media (max-width: 640px) {
  .product-tabs-shell {
    top: 56px;
    border-radius: 12px;
    margin-bottom: 8px;
  }

  .product-tab {
    height: 40px;
    font-size: 13px;
    gap: 6px;
  }

  .product-tab__count {
    min-width: 17px;
    height: 17px;
    font-size: 10px;
  }
}

/* Compact media hero: text partially overlays image */
.catalog-hero__content {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 336px;
}

.catalog-hero__content > * {
  position: relative;
  z-index: 1;
}

.catalog-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.catalog-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(15,20,28,.78) 0%, rgba(15,20,28,.56) 38%, rgba(15,20,28,.18) 72%),
    linear-gradient(180deg, rgba(15,20,28,.18) 0%, rgba(15,20,28,.38) 100%);
}

.catalog-hero__eyebrow {
  color: #e8eef7;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 6px 11px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.catalog-hero__title {
  color: #fff;
  max-width: 18ch;
  text-wrap: balance;
}

.catalog-hero__text {
  color: rgba(255,255,255,.9);
  max-width: 52ch;
}

.catalog-hero__actions .btn--icon {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.34);
  color: #fff;
}

.catalog-hero__actions .btn--icon:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.5);
}

.catalog-hero__stats {
  max-width: 700px;
}

.catalog-hero__stat {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.24);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.catalog-hero__stat strong,
.catalog-hero__stat span {
  color: #fff;
}

@media (max-width: 920px) {
  .catalog-hero__content {
    min-height: 304px;
    border-radius: 16px;
  }

  .catalog-hero__title {
    max-width: 22ch;
  }

  .catalog-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(15,20,28,.68) 0%, rgba(15,20,28,.36) 54%, rgba(15,20,28,.42) 100%);
  }
}

@media (max-width: 640px) {
  .catalog-hero__content {
    min-height: 0;
  }

  .catalog-hero__eyebrow {
    font-size: 11px;
    padding: 5px 10px;
  }

  .catalog-hero__text {
    max-width: 34ch;
  }

  .catalog-hero__stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* Editorial storefront refresh */
.main-content {
  position: relative;
}

.main-content::before {
  content: "";
  position: absolute;
  inset: 18px -48px auto auto;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(202,171,133,.22) 0%, rgba(202,171,133,0) 68%);
  pointer-events: none;
  filter: blur(8px);
}

.logo__text strong,
.catalog-hero__title,
.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
}

.logo__text strong {
  font-size: 1.7rem;
  letter-spacing: -.03em;
}

.catalog-hero {
  position: relative;
  gap: 22px;
  align-items: stretch;
}

.catalog-hero::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 22px;
  width: 122px;
  height: 122px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: radial-gradient(circle, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 72%);
  pointer-events: none;
}

.catalog-hero__content,
.catalog-hero__aside {
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 64px rgba(27, 24, 18, .16);
}

.catalog-hero__content {
  min-height: 372px;
  padding: 34px 34px 28px;
  background: linear-gradient(180deg, rgba(20,24,30,.34) 0%, rgba(20,24,30,.2) 100%);
}

.catalog-hero__bg img {
  transform: scale(1.05);
  filter: saturate(.88) contrast(1.05);
}

.catalog-hero__bg::after {
  background:
    radial-gradient(circle at top right, rgba(228,196,155,.22), transparent 24%),
    linear-gradient(96deg, rgba(12,16,24,.84) 0%, rgba(18,27,38,.58) 42%, rgba(15,20,28,.18) 74%),
    linear-gradient(180deg, rgba(15,20,28,.12) 0%, rgba(15,20,28,.42) 100%);
}

.catalog-hero__eyebrow {
  width: fit-content;
  color: #f7f1e7;
  background: linear-gradient(135deg, rgba(255,255,255,.17), rgba(233,221,204,.08));
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 12px 30px rgba(10, 14, 20, .16);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-hero__title {
  margin-top: 6px;
  font-size: clamp(3rem, 5.2vw, 4.7rem);
  line-height: .95;
  letter-spacing: -.05em;
  max-width: 12ch;
}

.catalog-hero__text {
  max-width: 48ch;
  font-size: 1.03rem;
  color: rgba(247, 244, 239, .88);
}

.catalog-hero__materials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.catalog-hero__materials span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(248, 243, 235, .1);
  border: 1px solid rgba(248, 243, 235, .18);
  color: #f8f3eb;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.catalog-hero__actions {
  gap: 14px;
}

.catalog-hero__actions .btn {
  min-width: 210px;
  height: 48px;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(10, 14, 20, .16);
}

.catalog-hero__actions .btn--primary {
  background: linear-gradient(180deg, rgba(82, 105, 137, .96), rgba(40, 56, 80, .98));
}

.catalog-hero__actions .btn--icon {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.catalog-hero__stats {
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.catalog-hero__stat {
  min-height: 104px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.08));
  border-color: rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.catalog-hero__stat strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 2.35rem;
  line-height: .88;
  letter-spacing: -.04em;
}

.catalog-hero__stat span {
  color: rgba(248, 243, 235, .84);
  font-size: .86rem;
}

.catalog-hero__aside {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(250,245,238,.98)),
    var(--surface);
  border-radius: 24px;
}

.catalog-hero__aside::before {
  content: "LK PARTNER";
  position: absolute;
  right: -18px;
  top: 14px;
  color: rgba(63,79,106,.08);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: .18em;
  transform: rotate(90deg);
  transform-origin: top right;
  pointer-events: none;
}

.catalog-hero__feature {
  position: relative;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(215, 202, 188, .72);
  box-shadow: 0 12px 28px rgba(33, 27, 22, .06);
}

.catalog-hero__feature::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(180deg, #d0b491, var(--accent));
}

.catalog-hero__feature strong {
  font-size: 1rem;
}

.catalog-hero__feature p {
  color: #5f5a53;
}

.catalog-hero__feature svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.catalog-bar,
.catalog-toolbar {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(215, 202, 188, .9);
  background:
    linear-gradient(180deg, rgba(255,255,255,.9), rgba(250,245,238,.96)),
    var(--surface);
  box-shadow: 0 18px 40px rgba(33, 27, 22, .08);
  overflow: hidden;
}

.catalog-bar::before,
.catalog-toolbar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(208,180,145,0), rgba(208,180,145,.85), rgba(208,180,145,0));
}

.catalog-bar {
  padding: 18px 20px;
}

.catalog-toolbar {
  padding: 12px 16px;
}

.catalog-bar__count {
  min-width: 106px;
  justify-content: center;
  background: rgba(63,79,106,.06);
  border: 1px solid rgba(63,79,106,.12);
  border-radius: 999px;
  color: var(--accent-dark);
  font-weight: 700;
}

.footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(208,180,145,.16), transparent 24%),
    linear-gradient(180deg, #211c18 0%, #171310 100%);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.04), transparent 26%, transparent 74%, rgba(255,255,255,.04));
  pointer-events: none;
}

.footer__brand {
  font-size: 2rem;
  letter-spacing: -.03em;
}

@media (max-width: 920px) {
  .catalog-hero::after,
  .catalog-hero__aside::before,
  .main-content::before {
    display: none;
  }

  .catalog-hero__content {
    min-height: 334px;
    padding: 26px 24px 24px;
  }

  .catalog-hero__title {
    max-width: 12ch;
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .catalog-hero__materials {
    gap: 8px;
  }

  .catalog-hero__materials span {
    min-height: 31px;
    padding-inline: 12px;
    font-size: .78rem;
  }

  .catalog-hero__actions .btn {
    min-width: 0;
    flex: 1 1 220px;
  }
}

@media (max-width: 640px) {
  .logo__text strong {
    font-size: 1.45rem;
  }

  .catalog-hero__content {
    padding: 20px 14px 14px;
    min-height: 0;
  }

  .catalog-hero__title {
    max-width: 13ch;
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .catalog-hero__text {
    max-width: 30ch;
    font-size: .98rem;
  }

  .catalog-hero__materials {
    gap: 7px;
  }

  .catalog-hero__materials span {
    min-height: 30px;
    font-size: .74rem;
    letter-spacing: .03em;
  }

  .catalog-hero__actions {
    gap: 10px;
  }

  .catalog-hero__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .catalog-hero__stat {
    min-height: 0;
    padding: 14px 14px 13px;
  }

  .catalog-hero__stat strong {
    margin-bottom: 6px;
    font-size: 2rem;
  }

  .catalog-hero__aside {
    border-radius: 18px;
  }

  .catalog-hero__feature {
    padding: 16px 14px 16px 14px;
  }

  .catalog-bar,
  .catalog-toolbar {
    border-radius: 18px;
  }

  .catalog-bar {
    padding: 14px;
  }

  .catalog-toolbar {
    padding: 10px 12px;
  }
}

/* Product page mobile optimization */
.pd-trust-strip {
  grid-column: 1 / -1;
}

@media (max-width: 920px) {
  .topbar__inner .search-wrap--detail {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .topbar__inner .search-wrap--detail .btn {
    width: 100%;
    min-height: 40px;
    padding-inline: 12px;
    justify-content: center;
  }

  .product-page {
    padding-bottom: 88px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .spec-row strong {
    max-width: 58%;
  }
}

@media (max-width: 640px) {
  .topbar__inner .search-wrap--detail {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .topbar__inner .search-wrap--detail .btn {
    min-height: 38px;
    font-size: 13px;
    border-radius: 10px;
  }

  .product-page {
    padding-top: 12px;
    padding-bottom: 94px;
  }

  .breadcrumbs {
    font-size: 12px;
    gap: 5px;
    margin-bottom: 12px;
  }

  .product-summary h1 {
    font-size: clamp(20px, 6.2vw, 28px);
  }

  .product-summary__lead {
    font-size: 13.5px;
    line-height: 1.55;
  }

  .product-summary__price-row {
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 8px;
  }

  .product-summary__current {
    font-size: clamp(24px, 8vw, 32px);
  }

  .product-summary__actions-block,
  .product-summary__contacts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pd-cart-btn,
  .pd-fav-btn,
  .pd-contact-btn {
    width: 100%;
  }

  .pd-fav-btn {
    height: 44px;
    padding: 0 14px;
  }

  .pd-contact-btn {
    justify-content: flex-start;
    padding: 0 12px;
  }

  .pd-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
    margin-top: 0;
  }

  .pd-trust-item {
    border: 1px solid var(--border-light);
    border-right: none;
    border-radius: 10px;
    background: var(--tint);
    padding: 10px 12px;
  }

  .product-tabs-shell {
    padding: 4px;
    margin-bottom: 6px;
  }

  .product-tab {
    min-width: max-content;
    padding-inline: 11px;
  }

  .product-tab svg {
    display: none;
  }

  .product-panel {
    padding: 14px 12px;
  }

  .spec-row {
    padding: 10px 12px;
  }

  .related-block {
    margin-top: 20px;
  }

  .related-block .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sticky-bar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .sticky-bar__name {
    max-width: 100%;
  }

  .sticky-bar .btn {
    height: 36px;
    padding: 0 12px;
    font-size: 12.5px;
  }
}

@media (max-width: 420px) {
  .related-block .mini-grid {
    grid-template-columns: 1fr;
  }

  .sticky-bar__img,
  .sticky-bar .btn .icon {
    display: none;
  }

  .sticky-bar__info {
    gap: 0;
  }

  .sticky-bar__price {
    font-size: 13.5px;
  }
}

/* Homepage mobile-first refinement */
@media (max-width: 920px) {
  .topbar__inner > .search-wrap:not(.search-wrap--detail) {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
  }

  .catalog-hero {
    gap: 10px;
    margin-bottom: 12px;
  }

  .catalog-hero__aside {
    display: grid;
    gap: 8px;
  }

  .catalog-hero__feature {
    padding: 10px 11px;
    border-radius: 10px;
  }

  .catalog-bar {
    padding: 10px;
    gap: 8px;
  }

  .catalog-bar__right {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .catalog-bar__count {
    margin-left: auto;
  }

  .active-filters {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .active-filters::-webkit-scrollbar {
    display: none;
  }

  .af-chip {
    flex-shrink: 0;
  }
}

@media (max-width: 760px) {
  .catalog-toolbar {
    flex-wrap: wrap;
  }

  .catalog-toolbar .catalog-bar__right {
    order: 1;
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .catalog-toolbar__right {
    order: 2;
    width: 100%;
    margin-left: 0;
  }

  .active-filters {
    order: 3;
  }

  .catalog-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-hero__actions .btn {
    width: 100%;
  }

  .catalog-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-bar .chips {
    order: 2;
    flex: 1 0 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }

  .catalog-bar .chips::-webkit-scrollbar {
    display: none;
  }

  .sort-wrap {
    flex: 1;
    min-width: 164px;
  }

  .sort-wrap__select {
    width: 100%;
  }

  #productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding-top: 10px;
  }

  .catalog-hero__content,
  .catalog-hero__aside {
    padding: 12px;
  }

  .catalog-hero__title {
    font-size: clamp(22px, 8.5vw, 27px);
    line-height: 1.08;
  }

  .catalog-hero__text {
    font-size: 13px;
    line-height: 1.5;
    max-width: none;
  }

  .catalog-hero__eyebrow {
    font-size: 10.5px;
    padding: 4px 9px;
  }

  .catalog-hero__stat {
    padding: 8px 10px;
    border-radius: 10px;
  }

  .catalog-hero__stat strong {
    font-size: 18px;
  }

  .catalog-bar {
    padding: 8px 9px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .filter-toggle,
  .sort-wrap {
    height: 32px;
    font-size: 12px;
  }

  .filter-toggle {
    padding: 0 10px;
  }

  .sort-wrap {
    padding-inline: 8px;
  }

  .catalog-bar__count {
    padding-left: 8px;
    font-size: 11px;
  }

  .catalog-toolbar {
    gap: 7px;
    margin-bottom: 8px;
  }

  .view-switch {
    width: 100%;
    padding: 3px;
    border-radius: 10px;
  }

  .view-switch__btn {
    height: 29px;
    font-size: 11.5px;
    padding: 0 8px;
  }

  .view-switch__btn svg {
    display: none;
  }

  #productGrid {
    gap: 6px;
  }

  #productGrid .card {
    border-radius: 10px;
  }

  #productGrid .card__body {
    padding: 8px;
    gap: 4px;
  }

  #productGrid .card__price {
    font-size: 14px;
  }

  #productGrid .card__title {
    font-size: 11.5px;
    line-height: 1.35;
  }

  #productGrid .card__cart-btn {
    height: 30px;
    margin-top: 6px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .container {
    width: min(100% - 12px, 1280px);
  }

  .catalog-hero__title {
    font-size: clamp(20px, 9.2vw, 24px);
  }

  .catalog-hero__stats {
    grid-template-columns: 1fr;
  }

  .catalog-hero__actions .btn {
    height: 35px;
    font-size: 12px;
  }

  .filter-toggle__icon,
  .sort-wrap__icon {
    display: none;
  }

  .filter-toggle,
  .sort-wrap {
    padding-inline: 8px;
  }

  .catalog-bar__count {
    border-left: 0;
    padding-left: 0;
  }

  #productGrid .card__discount-tag {
    top: 6px;
    left: 6px;
    font-size: 10px;
    padding: 2px 6px;
  }
}

/* Mobile gold standard pack */
@media (max-width: 640px) {
  .main-content {
    padding-bottom: max(72px, calc(56px + env(safe-area-inset-bottom)));
  }

  .catalog-hero__content {
    border-radius: 14px;
  }

  .catalog-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(15,20,28,.72) 0%, rgba(15,20,28,.42) 58%, rgba(15,20,28,.48) 100%);
  }

  .catalog-hero__actions .btn {
    min-height: 38px;
  }

  .catalog-bar__right {
    row-gap: 6px;
  }

  .catalog-bar__right > * {
    flex-shrink: 0;
  }

  #productGrid[data-view="list"] {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  #productGrid[data-view="list"] .card {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    min-height: 104px;
    border-radius: 12px;
    overflow: hidden;
  }

  #productGrid[data-view="list"] .card__image-wrap {
    width: auto;
  }

  #productGrid[data-view="list"] .card__img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

  #productGrid[data-view="list"] .card__discount-tag {
    top: 6px;
    left: 6px;
    font-size: 10px;
    padding: 2px 6px;
  }

  #productGrid[data-view="list"] .card__body {
    padding: 8px 9px;
    gap: 4px;
  }

  #productGrid[data-view="list"] .card__title {
    font-size: 12.5px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  #productGrid[data-view="list"] .card__price {
    font-size: 16px;
  }

  #productGrid[data-view="list"] .card__price-old {
    font-size: 10px;
  }

  #productGrid[data-view="list"] .card__rating-row,
  #productGrid[data-view="list"] .card__specs {
    display: none;
  }

  #productGrid[data-view="list"] .card__stock {
    font-size: 11px;
  }

  #productGrid[data-view="list"] .card__cart-btn {
    width: max-content;
    min-width: 0;
    height: 30px;
    margin-top: 4px;
    padding: 0 10px;
    font-size: 11px;
  }
}

@media (max-width: 760px) {
  .product-page {
    padding-bottom: max(102px, calc(86px + env(safe-area-inset-bottom)));
  }

  .product-hero {
    gap: 12px;
  }

  .product-gallery__main img {
    aspect-ratio: 1 / 0.86;
  }

  .product-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    grid-template-columns: none;
    padding-bottom: 2px;
  }

  .product-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-gallery__thumb {
    flex: 0 0 86px;
  }

  .product-gallery__thumb img {
    aspect-ratio: 1 / 1;
  }

  .product-summary {
    gap: 12px;
  }

  .product-summary__price-block {
    padding: 12px 0;
  }

  .product-tabs-shell {
    top: 52px;
  }

  .product-tab-panel {
    scroll-margin-top: 106px;
  }

  .pd-key-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-bar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

@media (max-width: 420px) {
  #productGrid[data-view="list"] .card {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 92px;
  }

  #productGrid[data-view="list"] .card__body {
    padding: 7px 8px;
  }

  #productGrid[data-view="list"] .card__title {
    font-size: 12px;
  }

  .pd-key-specs {
    grid-template-columns: 1fr;
  }

  .product-summary__category,
  .product-summary__discount-badge {
    font-size: 11px;
  }

  .sticky-bar__inner {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sticky-bar .btn {
    width: 100%;
  }
}

@media (max-width: 390px) {
  .topbar__inner {
    min-height: 54px;
    gap: 8px;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .logo__text strong {
    font-size: 15px;
  }

  .topbar__actions .btn {
    width: 38px;
    height: 38px;
    min-height: 38px;
    border-radius: 10px;
  }

  .topbar__actions .btn .icon {
    width: 18px;
    height: 18px;
  }

  .main-content {
    padding-top: 8px;
  }

  .catalog-hero {
    gap: 8px;
    margin-bottom: 10px;
  }

  .catalog-hero__content,
  .catalog-hero__aside {
    padding: 10px;
  }

  .catalog-hero__title {
    font-size: clamp(20px, 8.7vw, 24px);
    line-height: 1.08;
    margin: 8px 0;
  }

  .catalog-hero__text {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .catalog-hero__stat {
    padding: 7px 9px;
    gap: 1px;
  }

  .catalog-hero__stat strong {
    font-size: 16px;
  }

  .catalog-hero__feature {
    padding: 8px 9px;
  }

  .catalog-hero__feature p {
    font-size: 11px;
    line-height: 1.35;
  }

  .catalog-bar {
    padding: 7px;
    gap: 6px;
  }

  .filter-toggle,
  .sort-wrap {
    height: 31px;
    font-size: 11.5px;
    border-radius: 8px;
  }

  .catalog-toolbar {
    gap: 6px;
    margin-bottom: 7px;
  }

  .view-switch__btn {
    height: 28px;
    font-size: 11px;
  }

  #productGrid {
    gap: 6px;
  }

  #productGrid .card__body {
    padding: 7px;
  }

  #productGrid .card__title {
    font-size: 11px;
  }

  #productGrid[data-view="list"] .card {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 88px;
  }

  #productGrid[data-view="list"] .card__price {
    font-size: 15px;
  }

  .product-page {
    padding-top: 10px;
  }

  .breadcrumbs {
    font-size: 11.5px;
    margin-bottom: 10px;
  }

  .product-gallery,
  .product-summary,
  .product-panel,
  .product-empty {
    padding: 12px;
    border-radius: 16px;
  }

  .product-summary h1 {
    font-size: clamp(19px, 7vw, 23px);
  }

  .product-summary__lead {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .product-summary__current {
    font-size: clamp(22px, 8.2vw, 29px);
  }

  .pd-cart-btn,
  .pd-fav-btn {
    height: 42px;
    font-size: 13px;
  }

  .pd-contact-btn {
    height: 40px;
    font-size: 12px;
  }

  .pd-trust-item {
    padding: 9px 10px;
    font-size: 11.5px;
  }

  .product-tabs-shell {
    top: 50px;
  }

  .product-tab {
    height: 38px;
    font-size: 12px;
  }

  .product-tab__count {
    min-width: 16px;
    height: 16px;
  }

  .spec-row,
  .delivery-list li {
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .topline {
    font-size: 10.5px;
  }

  .topbar__inner {
    min-height: 52px;
    gap: 7px;
  }

  .logo__text strong {
    font-size: 14px;
  }

  .topbar__actions .btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .main-content {
    padding-top: 6px;
  }

  .catalog-hero__title {
    font-size: clamp(19px, 9vw, 22px);
  }

  .catalog-hero__text {
    font-size: 12px;
  }

  .catalog-bar__count {
    display: none;
  }

  .view-switch__btn {
    padding: 0 6px;
  }

  #productGrid .card__price {
    font-size: 13px;
  }

  #productGrid .card__cart-btn {
    height: 29px;
    font-size: 10.5px;
  }

  #productGrid[data-view="list"] .card {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 82px;
  }

  .product-summary h1 {
    font-size: clamp(18px, 7.4vw, 21px);
  }

  .product-summary__lead,
  .product-summary__sku,
  .product-summary__economy {
    font-size: 12px;
  }

  .product-tab {
    padding-inline: 9px;
  }

  .sticky-bar__price {
    font-size: 13px;
  }
}

/* Topline mobile cleanup */
@media (max-width: 920px) {
  .topline {
    font-size: 11px;
  }

  .topline__inner {
    min-height: 28px;
    padding-block: 0;
  }

  .topline__group {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 8px;
  }

  .topline__group span:last-child {
    display: none;
  }
}

@media (max-width: 640px) {
  .topline {
    display: none;
  }
}

/* Mobile product header hotfix */
@media (max-width: 920px) {
  .product-detail-page .topbar__inner {
    flex-wrap: wrap;
  }

  .product-detail-page .topbar__inner .search-wrap--detail {
    order: 20;
    flex: 1 0 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-top: 2px;
  }

  .product-detail-page .topbar__inner .search-wrap--detail .btn {
    width: 100%;
    min-height: 40px;
    padding: 0 12px;
    justify-content: flex-start;
  }
}

/* Mobile compact density pass */
@media (max-width: 640px) {
  .main-content,
  .product-page,
  .page-shell {
    padding-top: 8px;
  }

  .breadcrumbs {
    margin-bottom: 8px;
  }

  .footer {
    margin-top: 20px;
    padding: 20px 0 0;
  }

  .footer--compact {
    padding: 16px 0 12px;
  }

  .footer__grid {
    gap: 14px;
  }

  .footer__brand {
    gap: 8px;
    font-size: 16px;
  }

  .footer__logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .footer__about p {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.4;
  }

  .footer__legal {
    margin-top: 8px !important;
    font-size: 11px !important;
  }

  .footer__heading {
    margin-bottom: 8px;
    font-size: 12.5px;
  }

  .footer__list {
    gap: 6px;
  }

  .footer__list a,
  .footer__col p,
  .footer__address {
    font-size: 13px !important;
  }

  .footer__bottom {
    margin-top: 12px;
    padding: 10px 0 12px;
    font-size: 11.5px;
  }

  .back-to-top {
    width: 38px;
    height: 38px;
    bottom: 14px;
    left: 12px;
  }

  .back-to-top .icon {
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 390px) {
  .footer {
    margin-top: 16px;
    padding-top: 16px;
  }

  .footer__grid {
    gap: 11px;
  }

  .footer__heading {
    margin-bottom: 6px;
  }

  .footer__list {
    gap: 5px;
  }

  .footer__bottom {
    margin-top: 10px;
    padding: 9px 0 10px;
  }
}

/* Compact hero + cards refresh */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].is-revealed {
  animation: sectionReveal .45s var(--ease) var(--reveal-delay, 0ms) both;
}

@keyframes sectionReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-hero {
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
  gap: 12px;
  margin-bottom: 12px;
}

.catalog-hero__content {
  min-height: 236px;
  padding: 18px 20px 15px;
  border-radius: 22px;
}

.catalog-hero__eyebrow {
  padding: 5px 10px;
  font-size: .7rem;
}

.catalog-hero__title {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(1.85rem, 2.8vw, 2.7rem);
  line-height: .98;
}

.catalog-hero__text {
  max-width: 48ch;
  margin: 0;
  font-size: .88rem;
}

.catalog-hero__materials {
  gap: 8px;
}

.catalog-hero__materials span {
  min-height: 30px;
  padding-inline: 12px;
  font-size: .76rem;
}

.catalog-hero__actions {
  gap: 10px;
}

.catalog-hero__actions .btn {
  min-width: 164px;
  height: 42px;
}

.catalog-hero__stats {
  max-width: none;
  gap: 10px;
}

.catalog-hero__stat {
  min-height: 68px;
  padding: 10px 12px 9px;
  border-radius: 16px;
}

.catalog-hero__stat strong {
  margin-bottom: 4px;
  font-size: 1.65rem;
}

.catalog-hero__stat span {
  font-size: .72rem;
  line-height: 1.18;
}

.catalog-hero__aside {
  padding: 10px;
  gap: 8px;
}

.catalog-hero__feature {
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
}

.catalog-hero__feature strong {
  font-size: .96rem;
}

.catalog-hero__feature p {
  margin: 4px 0 0;
  font-size: .86rem;
  line-height: 1.35;
}

.catalog-bar {
  padding: 15px 16px;
}

.catalog-toolbar {
  padding: 10px 14px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

#productGrid .card {
  border-radius: 22px;
  border: 1px solid rgba(215, 202, 188, .88);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,247,241,.98));
  box-shadow: 0 18px 34px rgba(32, 26, 21, .08);
  transform: translateY(16px) scale(.992);
}

#productGrid .card.is-revealed {
  animation: cardReveal .42s var(--ease) var(--card-delay, 0ms) both;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#productGrid .card--clickable:hover {
  border-color: rgba(189, 170, 145, .95);
  box-shadow: 0 24px 46px rgba(32, 26, 21, .12);
}

#productGrid .card__image-wrap {
  position: relative;
  background: linear-gradient(180deg, #f4ecdf, #e9dfd0);
}

#productGrid .card__image-link {
  display: block;
  aspect-ratio: 1 / .86;
}

#productGrid .card__image-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(180deg, rgba(15, 20, 28, 0) 0%, rgba(15, 20, 28, .26) 100%);
  pointer-events: none;
}

#productGrid .card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  animation-duration: 2s;
}

#productGrid .card__discount-tag {
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
}

#productGrid .card__category {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.58);
  color: #28231f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#productGrid .like-btn {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  opacity: 1;
  box-shadow: 0 8px 18px rgba(20, 16, 12, .1);
}

#productGrid .card__body {
  padding: 15px 15px 14px;
  gap: 9px;
}

#productGrid .card__title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

#productGrid .card__subtitle {
  margin: -2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #69625b;
  font-size: 12.6px;
  line-height: 1.48;
}

#productGrid .card__price-block {
  gap: 4px;
}

#productGrid .card__price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

#productGrid .card__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: .92;
  letter-spacing: -.04em;
}

#productGrid .card__price-old {
  font-size: 12px;
}

#productGrid .card__unit {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

#productGrid .card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

#productGrid .card__stock {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: rgba(255,255,255,.72);
  font-size: 11.5px;
}

#productGrid .card__delivery-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(63, 79, 106, .08);
  color: #534d46;
  font-size: 11.5px;
  font-weight: 500;
}

#productGrid .card__footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

#productGrid .card__detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(214, 203, 190, .95);
  background: rgba(255,255,255,.82);
  color: #2d2a27;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}

#productGrid .card__detail-link:hover {
  border-color: rgba(189, 170, 145, .95);
  background: #fff;
  transform: translateY(-1px);
}

#productGrid .card__cart-btn {
  height: 42px;
  margin-top: 0;
  border-radius: 12px;
}

#productGrid .card__cart-btn svg {
  width: 18px;
  height: 18px;
}

#productGrid[data-view="list"] {
  grid-template-columns: 1fr;
  gap: 14px;
}

#productGrid[data-view="list"] .card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
}

#productGrid[data-view="list"] .card__image-link {
  height: 100%;
  aspect-ratio: auto;
  min-height: 100%;
}

#productGrid[data-view="list"] .card__img {
  height: 100%;
}

#productGrid[data-view="list"] .card__body {
  padding: 18px 18px 16px;
}

#productGrid[data-view="list"] .card__title {
  font-size: 18px;
}

#productGrid[data-view="list"] .card__subtitle {
  font-size: 13px;
}

#productGrid[data-view="list"] .card__price {
  font-size: 2.1rem;
}

@media (max-width: 1180px) {
  .catalog-hero {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .catalog-hero {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .catalog-hero__content {
    min-height: 214px;
    padding: 14px 15px 13px;
  }

  .catalog-hero__title {
    max-width: 13.6ch;
    font-size: clamp(1.82rem, 5.8vw, 2.5rem);
  }

  .catalog-hero__text {
    max-width: 44ch;
    font-size: .84rem;
  }

  .catalog-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-hero__aside {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(220px, 1fr);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 4px;
    gap: 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    scrollbar-width: none;
  }

  .catalog-hero__aside::-webkit-scrollbar {
    display: none;
  }

  .catalog-hero__feature {
    min-height: 100%;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #productGrid[data-view="list"] .card {
    grid-template-columns: 176px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-hero {
    margin-bottom: 8px;
  }

  .catalog-hero__content {
    min-height: 184px;
    padding: 12px 12px 11px;
    gap: 8px;
  }

  .catalog-hero__eyebrow,
  .catalog-hero__materials,
  .catalog-hero__aside,
  .catalog-hero::after {
    display: none;
  }

  .catalog-hero__title {
    max-width: 14ch;
    font-size: clamp(1.56rem, 6vw, 1.95rem);
    line-height: .98;
  }

  .catalog-hero__text {
    max-width: 31ch;
    font-size: .76rem;
    line-height: 1.32;
  }

  .catalog-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .catalog-hero__actions .btn {
    min-width: 0;
    width: 100%;
    height: 34px;
    padding-inline: 10px;
    font-size: 11.6px;
    border-radius: 11px;
  }

  .catalog-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .catalog-hero__stat {
    min-height: 52px;
    padding: 7px 7px 6px;
    border-radius: 12px;
  }

  .catalog-hero__stat strong {
    font-size: 1.18rem;
    margin-bottom: 2px;
  }

  .catalog-hero__stat span {
    font-size: .58rem;
    line-height: 1.08;
  }

  .product-grid {
    gap: 10px;
  }

  #productGrid .card {
    border-radius: 16px;
  }

  #productGrid .card__image-link {
    aspect-ratio: 1 / .9;
  }

  #productGrid .card__discount-tag,
  #productGrid .like-btn {
    transform: scale(.92);
    transform-origin: top right;
  }

  #productGrid .card__category {
    transform: scale(.92);
    transform-origin: left bottom;
  }

  #productGrid .card__body {
    padding: 12px;
    gap: 8px;
  }

  #productGrid .card__title {
    font-size: 13.5px;
  }

  #productGrid .card__subtitle {
    display: none;
  }

  #productGrid .card__price {
    font-size: 1.55rem;
  }

  #productGrid .card__meta {
    gap: 6px;
  }

  #productGrid .card__stock,
  #productGrid .card__delivery-note {
    min-height: 28px;
    font-size: 10.8px;
    padding-inline: 8px;
  }

  #productGrid .card__detail-link {
    display: none;
  }

  #productGrid .card__footer {
    grid-template-columns: 1fr;
  }

  #productGrid .card__cart-btn {
    height: 38px;
  }

  #productGrid[data-view="list"] .card {
    grid-template-columns: 128px minmax(0, 1fr);
  }

  #productGrid[data-view="list"] .card__body {
    padding: 12px;
  }

  #productGrid[data-view="list"] .card__title {
    font-size: 14px;
  }

  #productGrid[data-view="list"] .card__price {
    font-size: 1.65rem;
  }
}

@media (max-width: 420px) {
  .catalog-hero__actions {
    grid-template-columns: 1fr;
  }

  .catalog-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-hero__stat:last-child {
    grid-column: 1 / -1;
  }

  .catalog-hero__content {
    min-height: 174px;
    padding: 11px 11px 10px;
  }

  .catalog-hero__title {
    max-width: 19.5ch;
    margin-inline: auto;
    font-size: clamp(1.28rem, 4.9vw, 1.5rem);
    line-height: .97;
    text-align: center;
  }

  .catalog-hero__text {
    max-width: 30ch;
    font-size: .72rem;
  }

  .catalog-hero__actions .btn {
    height: 33px;
    font-size: 11.2px;
  }

  .catalog-hero__stats {
    gap: 5px;
  }

  .catalog-hero__stat {
    min-height: 48px;
    padding: 6px;
  }

  .catalog-hero__stat strong {
    font-size: 1.08rem;
  }

  .catalog-hero__stat span {
    font-size: .56rem;
  }

  #productGrid[data-view="list"] .card {
    grid-template-columns: 118px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .footer {
    margin-top: 14px;
    padding: 14px 0 0;
  }

  .footer__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 8px 12px;
    align-items: start;
  }

  .footer__about {
    grid-column: 1;
    min-height: 94px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
  }

  .footer__mobile-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
    align-content: center;
    align-self: center;
    padding: 2px 0;
  }

  .footer__mobile-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.78);
    font-size: 10.5px;
    line-height: 1;
    white-space: nowrap;
    width: 100%;
  }

  .footer__col,
  .footer__legal,
  .footer__address {
    display: none;
  }

  .footer__about > p,
  .footer__heading {
    display: none;
  }

  .footer__mobile-note {
    display: grid;
    gap: 9px;
    margin: 0;
    width: 100%;
    max-width: none;
    align-self: center;
    justify-items: center;
    text-align: center;
    color: rgba(255,255,255,.5);
    font-size: 9.6px;
    line-height: 1.05;
  }

  .footer__mobile-note a,
  .footer__mobile-note span {
    color: rgba(255,255,255,.58);
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    white-space: nowrap;
  }

  .footer__mobile-note span {
    font-size: .9em;
    letter-spacing: -.01em;
  }

  .footer__brand {
    font-size: 15px;
  }

  .footer__bottom {
    margin-top: 6px;
    padding: 7px 0 9px;
    font-size: 10.5px;
  }
}

@media (max-width: 420px) {
  .footer {
    margin-top: 12px;
    padding-top: 12px;
  }

  .footer__grid {
    gap: 7px 8px;
  }

  .footer__mobile-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 7px;
  }

  .footer__mobile-links a {
    min-height: 26px;
    padding: 0 8px;
    font-size: 10px;
  }

  .footer__brand {
    font-size: 14px;
  }

  .footer__mobile-note {
    gap: 8px;
    font-size: 9.2px;
    line-height: 1.02;
  }

  .footer__mobile-note {
    font-size: 10px;
  }

  .footer__bottom {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .card {
    opacity: 1;
    transform: none;
  }

  [data-reveal].is-revealed,
  .card.is-revealed {
    animation: none;
  }
}

/* Product page premium pass */
.product-page {
  padding: 20px 0 56px;
}

.product-hero {
  align-items: start;
  gap: 22px;
}

.product-gallery,
.product-summary,
.product-panel,
.product-empty,
.related-empty,
.mini-grid .card {
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(251,247,241,.98));
  border: 1px solid rgba(215, 202, 188, .9);
  box-shadow: 0 18px 44px rgba(33, 27, 22, .08);
}

.product-gallery,
.product-summary,
.product-panel,
.product-empty {
  border-radius: 26px;
}

.product-gallery {
  position: relative;
  overflow: hidden;
  padding: 20px;
}

.product-gallery::before,
.product-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(208,180,145,0), rgba(208,180,145,.8), rgba(208,180,145,0));
}

.product-gallery__main {
  border-radius: 24px;
  background: linear-gradient(180deg, #f6efe6, #e9decd);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.product-gallery__main img {
  aspect-ratio: 1 / .82;
}

.product-gallery__thumbs {
  gap: 10px;
}

.product-gallery__thumb {
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.product-gallery__thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(189,170,145,.9);
  box-shadow: 0 12px 24px rgba(33, 27, 22, .1);
}

.product-summary {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 26px;
  gap: 16px;
}

.product-summary__top {
  gap: 8px;
}

.product-summary__category,
.product-summary__discount-badge {
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .05em;
}

.product-summary__discount-badge {
  display: inline-flex;
  align-items: center;
  background: var(--discount-badge-soft);
  color: var(--discount-badge-text);
  border: 1px solid var(--discount-badge-border);
}

.product-summary h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: .94;
  letter-spacing: -.04em;
}

.product-summary__sku {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(63,79,106,.06);
  border: 1px solid rgba(63,79,106,.12);
}

.product-summary__lead {
  max-width: 56ch;
  font-size: .96rem;
  line-height: 1.65;
}

.product-summary__price-block {
  padding: 18px 0;
  gap: 10px;
}

.product-summary__price-row {
  gap: 10px;
}

.product-summary__current {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.3vw, 4rem);
  line-height: .9;
  letter-spacing: -.05em;
}

.product-summary__unit {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.product-summary__old {
  font-size: 14px;
}

.product-summary__economy {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--status-ok-soft);
  border: 1px solid var(--status-ok-border);
}

.product-summary__status-block {
  padding: 12px;
  border-radius: 18px;
  background: rgba(63,79,106,.04);
  border: 1px solid rgba(63,79,106,.08);
}

.product-summary__status-row {
  gap: 10px;
}

.pd-stock,
.pd-delivery {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(214,203,190,.9);
}

.pd-delivery {
  color: #5a534d;
}

.product-summary__actions-block {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
}

.pd-cart-btn,
.pd-fav-btn {
  height: 50px;
  border-radius: 14px;
}

.pd-cart-btn {
  box-shadow: 0 18px 34px rgba(43,59,83,.18);
}

.product-summary__contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pd-contact-btn {
  min-height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.68);
}

.pd-contact-btn:hover {
  border-color: rgba(189,170,145,.9);
  background: #fff;
}

.pd-trust-strip {
  gap: 10px;
  border: 0;
  background: transparent;
  margin-top: 2px;
}

.pd-trust-item {
  border: 1px solid rgba(214,203,190,.86);
  border-right: 1px solid rgba(214,203,190,.86);
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  padding: 12px 14px;
}

.product-tabs-shell {
  margin-bottom: 10px;
}

.product-panel {
  padding: 24px;
}

.pd-key-spec {
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}

.related-block {
  margin-top: 24px;
}

.related-block__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.35rem);
  letter-spacing: -.03em;
}

.mini-grid {
  gap: 14px;
}

.mini-grid .card {
  border-radius: 22px;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}

.mini-grid .card:hover {
  transform: translateY(-3px);
  border-color: rgba(189,170,145,.92);
  box-shadow: 0 24px 46px rgba(33, 27, 22, .12);
}

.mini-grid .card__image-wrap {
  position: relative;
  background: linear-gradient(180deg, #f4ecdf, #e9dfd0);
}

.mini-grid .card__image-link {
  display: block;
  aspect-ratio: 1 / .86;
}

.mini-grid .card__image-link::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(15,20,28,0) 0%, rgba(15,20,28,.24) 100%);
}

.mini-grid .card__discount-tag {
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 11px;
}

.mini-grid .card__category {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.58);
  color: #28231f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.mini-grid .card__body {
  padding: 15px;
  gap: 9px;
}

.mini-grid .card__title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.mini-grid .card__subtitle {
  margin: -2px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #69625b;
  font-size: 12.6px;
  line-height: 1.48;
}

.mini-grid .card__price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.mini-grid .card__price {
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: .92;
  letter-spacing: -.04em;
}

.mini-grid .card__unit {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.mini-grid .card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mini-grid .card__stock,
.mini-grid .card__delivery-note {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
}

.mini-grid .card__stock {
  border: 1px solid currentColor;
  background: rgba(255,255,255,.72);
}

.mini-grid .card__delivery-note {
  display: inline-flex;
  align-items: center;
  background: rgba(63,79,106,.08);
  color: #534d46;
}

.mini-grid .card__footer {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.mini-grid .card__detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(214,203,190,.95);
  background: rgba(255,255,255,.82);
  color: #2d2a27;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.mini-grid .card__cart-btn {
  height: 42px;
  margin-top: 0;
  border-radius: 12px;
}

@media (max-width: 920px) {
  .product-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-gallery,
  .product-summary,
  .product-panel,
  .product-empty {
    border-radius: 20px;
  }

  .product-gallery {
    padding: 14px;
  }

  .product-gallery__main {
    border-radius: 18px;
  }

  .product-summary {
    padding: 20px 18px 18px;
    gap: 14px;
  }

  .product-summary h1 {
    font-size: clamp(2.05rem, 7vw, 3rem);
  }

  .product-summary__lead {
    font-size: .9rem;
    line-height: 1.55;
  }

  .product-summary__current {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .product-summary__actions-block,
  .product-summary__contacts {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pd-trust-strip {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pd-trust-item {
    min-height: 48px;
  }

  .related-block .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .product-page {
    padding-top: 10px;
  }

  .product-gallery,
  .product-summary,
  .product-panel,
  .product-empty {
    border-radius: 16px;
  }

  .product-gallery {
    padding: 10px;
  }

  .product-gallery__main img {
    aspect-ratio: 1 / .9;
  }

  .product-gallery__thumbs {
    gap: 8px;
  }

  .product-gallery__thumb {
    border-radius: 12px;
  }

  .product-summary {
    padding: 16px 14px 14px;
    gap: 12px;
  }

  .product-summary__top {
    gap: 6px;
  }

  .product-summary__category,
  .product-summary__discount-badge,
  .product-summary__sku,
  .pd-stock,
  .pd-delivery {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10.5px;
  }

  .product-summary h1 {
    font-size: clamp(1.7rem, 7vw, 2.15rem);
  }

  .product-summary__lead {
    font-size: .82rem;
    line-height: 1.45;
  }

  .product-summary__price-block {
    padding: 14px 0;
  }

  .product-summary__current {
    font-size: clamp(1.95rem, 8.5vw, 2.5rem);
  }

  .product-summary__unit {
    font-size: 10px;
  }

  .product-summary__economy {
    min-height: 28px;
    font-size: 11px;
  }

  .product-summary__status-block {
    padding: 10px;
    border-radius: 14px;
  }

  .pd-cart-btn,
  .pd-fav-btn {
    height: 44px;
    font-size: 13px;
  }

  .pd-contact-btn {
    min-height: 40px;
    justify-content: flex-start;
    font-size: 12px;
  }

  .pd-trust-item {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 11px;
  }

  .product-panel {
    padding: 16px 14px;
  }

  .pd-key-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .pd-key-spec,
  .spec-row,
  .product-panel__brand-block {
    border-radius: 12px;
  }

  .related-block__head h2 {
    font-size: 1.7rem;
  }

  .related-block .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mini-grid .card {
    border-radius: 16px;
  }

  .mini-grid .card__image-link {
    aspect-ratio: 1 / .92;
  }

  .mini-grid .card__discount-tag,
  .mini-grid .card__category {
    transform: scale(.92);
    transform-origin: left top;
  }

  .mini-grid .card__category {
    transform-origin: left bottom;
  }

  .mini-grid .card__body {
    padding: 12px;
    gap: 8px;
  }

  .mini-grid .card__title {
    font-size: 13.5px;
  }

  .mini-grid .card__subtitle,
  .mini-grid .card__detail-link {
    display: none;
  }

  .mini-grid .card__price {
    font-size: 1.55rem;
  }

  .mini-grid .card__meta {
    gap: 6px;
  }

  .mini-grid .card__stock,
  .mini-grid .card__delivery-note {
    min-height: 28px;
    font-size: 10.8px;
    padding-inline: 8px;
  }

  .mini-grid .card__footer {
    grid-template-columns: 1fr;
  }

  .mini-grid .card__cart-btn {
    height: 38px;
  }
}

@media (max-width: 420px) {
  .product-summary h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem);
  }

  .pd-key-specs,
  .related-block .mini-grid {
    grid-template-columns: 1fr;
  }
}

/* Product page sticky bar + desktop polish */
.sticky-bar {
  left: max(8px, env(safe-area-inset-left));
  right: max(8px, env(safe-area-inset-right));
  bottom: calc(8px + env(safe-area-inset-bottom));
  background: transparent;
  border-top: 0;
  box-shadow: none;
  visibility: hidden;
  transform: translateY(18px) scale(.985);
  filter: blur(6px);
  transition:
    transform .44s cubic-bezier(.2, .78, .18, 1),
    opacity .28s ease,
    filter .32s ease,
    visibility 0s linear .44s;
  will-change: transform, opacity, filter;
  transform-origin: center bottom;
}

.sticky-bar.is-visible {
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  transition-delay: 0s;
}

.sticky-bar__inner {
  position: relative;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 22px;
  border: 1px solid rgba(214, 203, 190, .94);
  background: linear-gradient(135deg, rgba(253, 249, 242, .97), rgba(241, 234, 223, .95));
  box-shadow: 0 16px 34px rgba(24, 20, 16, .14);
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(.992);
  transition: transform .42s cubic-bezier(.18, .82, .22, 1), opacity .26s ease;
}

.sticky-bar.is-visible .sticky-bar__inner {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sticky-bar__inner::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(208,180,145,0), rgba(208,180,145,.88), rgba(208,180,145,0));
}

.sticky-bar__info {
  gap: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: transform .4s cubic-bezier(.18, .82, .22, 1), opacity .24s ease;
}

.sticky-bar.is-visible .sticky-bar__info {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .04s;
}

.sticky-bar__copy {
  min-width: 0;
}

.sticky-bar__img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border-color: rgba(214, 203, 190, .95);
  box-shadow: 0 8px 18px rgba(33, 27, 22, .12);
}

.sticky-bar__name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.sticky-bar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.sticky-bar__price {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.8);
  color: #241e19;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

.sticky-bar__unit,
.sticky-bar__status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.sticky-bar__unit {
  background: rgba(63,79,106,.08);
  color: var(--accent-dark);
}

.sticky-bar__status {
  border: 1px solid transparent;
}

.sticky-bar__status--ok {
  background: var(--status-ok-soft);
  border-color: var(--status-ok-border);
  color: var(--status-ok-text);
}

.sticky-bar__status--order {
  background: rgba(106, 61, 70, .1);
  border-color: rgba(106, 61, 70, .18);
  color: #6a3d46;
}

.sticky-bar .btn {
  height: 46px;
  min-width: 168px;
  border-radius: 14px;
  box-shadow: 0 16px 30px rgba(43,59,83,.22);
  opacity: 0;
  transform: translateY(8px) scale(.985);
  transition: transform .42s cubic-bezier(.18, .82, .22, 1), opacity .24s ease;
}

.sticky-bar.is-visible .btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: .08s;
}

.sticky-bar .btn .icon {
  width: 17px;
  height: 17px;
}

.product-tabs-shell {
  position: sticky;
  top: 86px;
  z-index: 8;
}

.product-tabs {
  width: fit-content;
  max-width: 100%;
  gap: 8px;
  padding: 8px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,241,233,.96));
  border: 1px solid rgba(214, 203, 190, .92);
  box-shadow: 0 16px 34px rgba(33, 27, 22, .08);
}

.product-tab {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  color: #5f5851;
  font-weight: 700;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}

.product-tab:hover {
  transform: translateY(-1px);
  color: #2a2622;
  background: rgba(255,255,255,.72);
}

.product-tab.is-active {
  background: linear-gradient(135deg, #334a69, #24354f);
  color: #fff;
  box-shadow: 0 16px 28px rgba(43,59,83,.2);
}

.product-tab__count {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(63,79,106,.08);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 800;
}

.product-tab.is-active .product-tab__count {
  background: rgba(255,255,255,.16);
  color: #fff;
}

.product-tab-panel.is-active {
  animation: fadeSlideUp .34s var(--ease) both;
}

.product-panel {
  position: relative;
  overflow: hidden;
}

.product-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(208,180,145,0), rgba(208,180,145,.82), rgba(208,180,145,0));
}

.product-panel__mobile-actions {
  display: none;
}

.pd-key-specs {
  gap: 10px;
}

.pd-key-spec {
  padding: 16px 16px 15px;
  border: 1px solid rgba(214, 203, 190, .88);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.pd-key-spec__label {
  font-size: 10.5px;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pd-key-spec__value {
  font-size: 1rem;
  line-height: 1.35;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-row {
  display: grid;
  gap: 8px;
  min-height: 110px;
  align-content: start;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(214, 203, 190, .88);
  background: rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.spec-row span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #81766c;
}

.spec-row strong {
  font-size: 1rem;
  line-height: 1.45;
  color: #2d2823;
}

.sticky-bar + .footer {
  padding-bottom: calc(26px + env(safe-area-inset-bottom));
}

@media (min-width: 1080px) {
  .product-page {
    padding-top: 28px;
    padding-bottom: 80px;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .product-hero {
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr);
    gap: 28px 30px;
  }

  .product-gallery {
    padding: 22px;
  }

  .product-gallery__main {
    border-radius: 28px;
  }

  .product-gallery__main img {
    aspect-ratio: 1 / .78;
  }

  .product-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }

  .product-summary {
    padding: 34px 34px 30px;
    gap: 18px;
  }

  .product-summary__top {
    gap: 10px;
  }

  .product-summary h1 {
    max-width: 11ch;
    font-size: clamp(3.1rem, 3.6vw, 4.3rem);
  }

  .product-summary__sku {
    margin-top: -2px;
  }

  .product-summary__lead {
    max-width: 58ch;
    font-size: 1rem;
    line-height: 1.72;
  }

  .product-summary__price-block {
    padding: 22px 0 18px;
  }

  .product-summary__current {
    font-size: clamp(3rem, 4vw, 4.5rem);
  }

  .product-summary__unit {
    font-size: 11px;
  }

  .product-summary__status-block {
    padding: 14px;
    border-radius: 20px;
  }

  .product-summary__actions-block {
    grid-template-columns: minmax(0, 1.08fr) minmax(220px, .92fr);
    gap: 12px;
  }

  .pd-cart-btn,
  .pd-fav-btn {
    height: 54px;
    border-radius: 16px;
  }

  .product-summary__contacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .pd-contact-btn {
    min-height: 46px;
    border-radius: 14px;
  }

  .pd-trust-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -2px;
  }

  .pd-trust-item {
    min-height: 72px;
    padding: 15px 16px;
  }

  .product-sections {
    margin-top: 28px;
  }

  .product-tabs-shell {
    margin-bottom: 14px;
  }

  .product-tabs {
    width: fit-content;
    padding: 8px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,241,233,.98));
    border: 1px solid rgba(214, 203, 190, .92);
    box-shadow: 0 16px 34px rgba(33, 27, 22, .08);
  }

  .product-panel {
    padding: 30px;
  }

  .product-panel__desc {
    max-width: 78ch;
    font-size: 1.02rem;
    line-height: 1.78;
  }

  .pd-key-specs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
  }

  .spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-block {
    margin-top: 30px;
  }

  .related-block .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .mini-grid .card__body {
    padding: 16px;
  }

  .mini-grid .card__title {
    font-size: 15.5px;
  }
}

@media (min-width: 1360px) {
  .product-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(470px, .92fr);
    gap: 32px;
  }

  .product-summary {
    padding: 36px 36px 32px;
  }

  .related-block .mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .sticky-bar__inner {
    padding-inline: 18px;
  }
}

@media (max-width: 640px) {
  .product-detail-page .topbar {
    padding-block: 8px 10px;
  }

  .product-detail-page .topbar__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px 10px;
  }

  .product-detail-page .logo {
    min-width: 0;
    gap: 8px;
  }

  .product-detail-page .logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .product-detail-page .logo__text strong {
    font-size: 1.1rem;
  }

  .product-detail-page .logo__text small {
    display: none;
  }

  .product-detail-page .topbar__actions {
    gap: 6px;
  }

  .product-detail-page .topbar__actions .btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
    font-size: 0;
  }

  .product-detail-page .topbar__actions .btn .icon {
    width: 17px;
    height: 17px;
  }

  .product-detail-page .topbar__actions .btn .cart-badge {
    right: 4px;
    top: 4px;
  }

  .product-detail-page .topbar__inner .search-wrap--detail {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
    gap: 8px;
    margin-top: 0;
  }

  .product-detail-page .topbar__inner .search-wrap--detail .btn {
    width: 100%;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(33, 27, 22, .05);
  }

  .product-detail-page .topbar__inner .search-wrap--detail .btn .icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .product-page {
    padding-bottom: 102px;
  }

  .product-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  .product-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  .product-gallery__thumb {
    flex: 0 0 78px;
    scroll-snap-align: start;
  }

  .sticky-bar {
    left: 6px;
    right: 6px;
    bottom: calc(6px + env(safe-area-inset-bottom));
  }

  .sticky-bar__inner {
    padding: 8px 10px;
    border-radius: 18px;
  }

  .sticky-bar__price {
    min-height: 24px;
    padding-inline: 8px;
    font-size: 1.25rem;
  }

  .sticky-bar__unit,
  .sticky-bar__status {
    min-height: 22px;
    padding-inline: 8px;
    font-size: 9.5px;
  }

  .sticky-bar .btn {
    height: 42px;
    min-width: 0;
  }

  .product-tabs-shell {
    top: 72px;
    margin-bottom: 10px;
  }

  .product-tabs {
    width: 100%;
    padding: 6px;
    border-radius: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .product-tabs::-webkit-scrollbar {
    display: none;
  }

  .product-tab {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .product-summary {
    gap: 10px;
  }

  .product-summary__sku {
    display: none;
  }

  .product-summary__lead {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: none;
    margin-top: -1px;
  }

  .product-summary__status-block {
    padding: 8px;
  }

  .product-summary__contacts {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-top: -2px;
    scrollbar-width: none;
  }

  .product-summary__contacts::-webkit-scrollbar {
    display: none;
  }

  .pd-contact-btn {
    flex: 0 0 auto;
    width: max-content;
    max-width: none;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    justify-content: center;
    font-size: 11.5px;
    white-space: nowrap;
  }

  .pd-contact-btn svg {
    width: 14px;
    height: 14px;
  }

  .pd-trust-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-top: 2px;
    scrollbar-width: none;
  }

  .pd-trust-strip::-webkit-scrollbar {
    display: none;
  }

  .pd-trust-item {
    flex: 0 0 auto;
    min-height: 0;
    padding: 9px 12px;
    border-radius: 999px;
    white-space: nowrap;
    font-size: 11px;
  }

  .pd-trust-item svg {
    width: 14px;
    height: 14px;
  }

  .product-sections {
    margin-top: 18px;
  }

  .product-panel {
    padding: 14px 12px;
    border-radius: 18px;
  }

  .pd-key-specs {
    gap: 8px;
    margin-bottom: 12px;
  }

  .pd-key-spec {
    padding: 12px;
  }

  .product-panel__desc {
    font-size: .88rem;
    line-height: 1.58;
  }

  .product-panel__mobile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .product-panel__jump {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(214, 203, 190, .92);
    background: rgba(255,255,255,.76);
    color: #2f2b27;
    font-size: 11.5px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(33, 27, 22, .06);
  }

  .product-panel__jump svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .spec-row {
    min-height: 0;
    padding: 14px;
    border-radius: 14px;
    gap: 6px;
    background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(250,246,240,.88));
    box-shadow: 0 10px 18px rgba(33, 27, 22, .04);
  }

  .spec-row span {
    font-size: 10px;
    letter-spacing: .11em;
  }

  .spec-row strong {
    font-size: .98rem;
    line-height: 1.38;
  }

  .sticky-bar + .footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 420px) {
  .product-detail-page .topbar__inner {
    gap: 7px 8px;
  }

  .product-detail-page .logo__mark {
    width: 40px;
    height: 40px;
  }

  .product-detail-page .logo__text strong {
    font-size: 1.02rem;
  }

  .product-detail-page .topbar__actions .btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
  }

  .product-detail-page .topbar__inner .search-wrap--detail {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: 7px;
  }

  .product-detail-page .topbar__inner .search-wrap--detail .btn {
    min-height: 36px;
    padding-inline: 10px;
    border-radius: 13px;
    font-size: 12px;
  }

  .product-summary h1 {
    max-width: 10.5ch;
  }

  .product-tabs-shell {
    padding: 5px;
  }

  .product-tabs {
    padding: 5px;
  }

  .product-tab {
    min-height: 50px;
    padding-inline: 5px;
    font-size: 11px;
  }

  .product-tab__count {
    min-width: 20px;
    height: 20px;
    font-size: 9px;
  }

  .product-gallery__thumb {
    flex-basis: 70px;
  }

  .sticky-bar__inner {
    gap: 8px;
    border-radius: 16px;
  }

  .sticky-bar__price {
    font-size: 1.1rem;
  }

  .product-panel__mobile-actions {
    grid-template-columns: 1fr;
  }

  .sticky-bar + .footer {
    padding-bottom: calc(112px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-bar,
  .sticky-bar__inner,
  .sticky-bar__info,
  .sticky-bar .btn {
    transition: none;
    transform: none;
    filter: none;
  }

  .sticky-bar.is-visible,
  .sticky-bar.is-visible .sticky-bar__inner,
  .sticky-bar.is-visible .sticky-bar__info,
  .sticky-bar.is-visible .btn {
    transform: none;
  }
}

@media (max-width: 640px) {
  .product-summary {
    text-align: center;
  }

  .product-summary .product-summary__top,
  .product-summary .product-summary__price-row,
  .product-summary .product-summary__status-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .product-summary .product-summary__status-row {
    gap: 8px;
  }

  .product-summary h1 {
    margin-inline: auto;
    max-width: 10.8ch;
    text-align: center;
    text-wrap: balance;
  }

  .product-summary .product-summary__economy {
    margin-inline: auto;
  }

  .product-tabs-shell {
    padding: 6px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,241,233,.98));
    border: 1px solid rgba(214, 203, 190, .92);
    box-shadow: 0 12px 26px rgba(33, 27, 22, .06);
  }

  .product-tabs-shell .product-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .product-tabs-shell .product-tab {
    display: grid;
    align-content: center;
    justify-items: center;
    min-width: 0;
    min-height: 54px;
    padding: 8px 6px;
    gap: 4px;
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    color: #4d4640;
    font-size: 12px;
    line-height: 1.12;
    white-space: normal;
    text-align: center;
  }

  .product-tabs-shell .product-tab svg {
    display: none;
  }

  .product-tabs-shell .product-tab__count {
    min-width: 20px;
    height: 20px;
    margin: 0;
    font-size: 9px;
  }

  .product-tabs-shell .product-tab.is-active {
    background: linear-gradient(135deg, #334a69, #24354f);
    color: #fff;
    box-shadow: 0 14px 24px rgba(43,59,83,.18);
  }

  .product-tab-panel .spec-row {
    gap: 6px;
    padding: 14px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255,255,255,.86), rgba(250,246,240,.9));
    box-shadow: 0 10px 18px rgba(33, 27, 22, .04);
  }

  .product-tab-panel .spec-row span {
    font-size: 10px;
    letter-spacing: .11em;
  }

  .product-tab-panel .spec-row strong {
    font-size: .98rem;
    line-height: 1.38;
  }
}

@media (max-width: 420px) {
  .product-summary h1 {
    max-width: 10ch;
  }

  .product-tabs-shell {
    padding: 5px;
  }

  .product-tabs-shell .product-tab {
    min-height: 50px;
    padding-inline: 5px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .product-summary {
    text-align: left;
  }

  .product-summary .product-summary__top,
  .product-summary .product-summary__price-row,
  .product-summary .product-summary__status-row {
    justify-content: flex-start;
  }

  .product-summary h1 {
    margin-inline: 0;
    max-width: 9.8ch;
    text-align: left;
  }

  .product-summary .product-summary__economy {
    margin-inline: 0;
  }

  .product-summary__actions-block {
    gap: 8px;
  }

  .product-summary__actions-block .pd-cart-btn,
  .product-summary__actions-block .pd-fav-btn,
  .product-summary__contacts .pd-contact-btn {
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .product-summary__contacts .pd-contact-btn {
    width: auto;
  }

  .product-tabs-shell .product-tab {
    justify-items: start;
    align-content: start;
    text-align: left;
    padding: 8px 10px;
    gap: 6px;
  }

  .product-tabs-shell .product-tab__count {
    justify-self: start;
  }
}

@media (max-width: 420px) {
  .product-summary h1 {
    max-width: 9.2ch;
  }

  .product-tabs-shell .product-tab {
    padding-inline: 8px;
  }
}

@media (max-width: 640px) {
  .product-summary__category,
  .product-summary__discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
  }

  .product-summary h1 {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 420px) {
  .product-summary h1 {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .product-tabs-shell {
    padding: 5px;
    border-radius: 16px;
    margin-bottom: 8px;
  }

  .product-tabs-shell .product-tabs {
    gap: 5px;
  }

  .product-tabs-shell .product-tab {
    min-height: 44px;
    padding: 7px 8px;
    gap: 4px;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.08;
    border-radius: 12px;
  }

  .product-tabs-shell .product-tab__count {
    min-width: 18px;
    height: 18px;
    font-size: 8.5px;
  }

  .product-tab-panel .product-panel {
    padding: 11px 10px;
    border-radius: 16px;
  }

  .product-tab-panel .product-panel__desc {
    font-size: 12px;
    line-height: 1.45;
  }

  .product-tab-panel .spec-grid {
    gap: 7px;
  }

  .product-tab-panel .spec-row {
    gap: 5px;
    padding: 11px;
    border-radius: 12px;
  }

  .product-tab-panel .spec-row span {
    font-size: 8px;
    letter-spacing: .1em;
  }

  .product-tab-panel .spec-row strong {
    font-size: 12.5px;
    line-height: 1.28;
  }

  .product-tab-panel .delivery-list {
    gap: 7px;
    margin-bottom: 8px;
  }

  .product-tab-panel .delivery-list li {
    padding-left: 14px;
    font-size: 10.5px;
    line-height: 1.4;
  }

  .product-tab-panel .delivery-list li::before {
    top: .46em;
    width: 5px;
    height: 5px;
  }

  .product-tab-panel .product-panel__brand-block {
    padding: 11px 12px;
    border-radius: 12px;
  }

  .product-tab-panel .product-panel__brand-label {
    font-size: 9px;
  }

  .product-tab-panel .product-panel__brand-block strong {
    font-size: 12px;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  .product-tabs-shell .product-tab {
    min-height: 42px;
    padding: 6px 7px;
    font-size: 11px;
  }

  .product-tabs-shell .product-tab__count {
    min-width: 17px;
    height: 17px;
    font-size: 8px;
  }

  .product-tab-panel .product-panel__desc {
    font-size: 11.5px;
  }

  .product-tab-panel .spec-row strong {
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .product-panel .pd-key-specs {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 10px;
  }

  .product-panel .pd-key-spec,
  .product-tab-panel .spec-row {
    display: grid;
    grid-template-columns: minmax(78px, 92px) minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,255,255,.8);
    box-shadow: none;
  }

  .product-panel .pd-key-spec__label,
  .product-tab-panel .spec-row span {
    font-size: 8.6px;
    line-height: 1.15;
    letter-spacing: .1em;
    font-weight: 600;
  }

  .product-panel .pd-key-spec__value,
  .product-tab-panel .spec-row strong {
    justify-self: end;
    text-align: right;
    font-size: 11.5px;
    line-height: 1.3;
  }

  .product-tabs-shell .product-tab {
    justify-items: center;
    align-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
  }

  .product-tabs-shell .product-tab__count {
    display: none;
  }
}

@media (max-width: 420px) {
  .product-tabs-shell .product-tab {
    font-size: 11.5px;
  }

  .product-tabs-shell .product-tab__count {
    display: none;
  }

  .product-panel .pd-key-spec,
  .product-tab-panel .spec-row {
    grid-template-columns: minmax(72px, 84px) minmax(0, 1fr);
    gap: 7px;
    padding: 9px 10px;
  }

  .product-panel .pd-key-spec__value,
  .product-tab-panel .spec-row strong {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .product-tab-panel .spec-grid {
    gap: 6px;
  }

  .product-tab-panel .spec-row {
    display: grid;
    grid-template-columns: minmax(84px, 96px) minmax(0, 1fr);
    align-items: start;
    gap: 6px;
    padding: 8px 11px;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    box-shadow: none;
  }

  .product-tab-panel .spec-row span {
    font-size: 8.4px;
    line-height: 1.15;
    letter-spacing: .1em;
    font-weight: 600;
    white-space: normal;
  }

  .product-tab-panel .spec-row span::after {
    content: ":";
  }

  .product-tab-panel .spec-row strong {
    display: block;
    justify-self: end;
    width: 100%;
    max-width: none;
    text-align: right;
    font-size: 11.5px;
    line-height: 1.3;
  }
}

@media (max-width: 420px) {
  .product-tab-panel .spec-row {
    grid-template-columns: minmax(80px, 90px) minmax(0, 1fr);
    gap: 6px;
    padding: 8px 10px;
  }

  .product-tab-panel .spec-row strong {
    display: block;
    width: 100%;
    max-width: none;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .product-summary__actions-block,
  .product-summary__contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .product-summary__contacts {
    margin-top: 0;
    padding-bottom: 0;
    overflow: visible;
  }

  .product-summary__actions-block .pd-cart-btn,
  .product-summary__actions-block .pd-fav-btn,
  .product-summary__contacts .pd-contact-btn {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 11.5px;
    gap: 7px;
  }

  .product-summary__contacts .pd-contact-btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .product-summary__contacts .pd-contact-btn svg,
  .product-summary__actions-block .icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
  }

  .product-tabs-shell {
    padding: 4px;
    border-radius: 15px;
    margin-bottom: 7px;
    box-shadow: 0 10px 20px rgba(33, 27, 22, .05);
  }

  .product-tabs-shell .product-tabs {
    gap: 4px;
  }

  .product-tabs-shell .product-tab {
    min-height: 40px;
    padding: 6px 8px;
    border-radius: 11px;
    font-size: 11.5px;
    line-height: 1.05;
    letter-spacing: -.01em;
  }

  .product-tabs-shell .product-tab.is-active {
    box-shadow: 0 10px 18px rgba(43,59,83,.16);
  }
}

@media (max-width: 420px) {
  .product-summary__actions-block .pd-cart-btn,
  .product-summary__actions-block .pd-fav-btn,
  .product-summary__contacts .pd-contact-btn {
    min-height: 38px;
    font-size: 11px;
    padding-inline: 10px;
  }

  .product-tabs-shell {
    padding: 4px;
  }

  .product-tabs-shell .product-tab {
    min-height: 38px;
    padding: 6px;
    font-size: 11px;
  }
}

@media (min-width: 921px) {
  .product-detail-page .product-summary__category,
  .product-detail-page .product-summary__discount-badge,
  .product-detail-page .product-summary__sku,
  .product-detail-page .product-summary__economy,
  .product-detail-page .pd-stock,
  .product-detail-page .pd-delivery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
  }

  .product-detail-page .topbar {
    background: rgba(255, 252, 248, .94);
    border-bottom-color: rgba(215, 202, 188, .74);
    box-shadow: 0 10px 30px rgba(33, 27, 22, .04);
  }

  .product-detail-page .topbar__inner {
    min-height: 78px;
    gap: 18px;
    grid-template-columns: auto minmax(360px, 1fr) auto;
  }

  .product-detail-page .logo {
    padding-right: 2px;
  }

  .product-detail-page .search-wrap--desktop {
    min-width: 0;
    height: 50px;
    border-radius: 15px;
    border-color: rgba(214, 203, 190, .96);
    background: linear-gradient(180deg, rgba(248, 242, 235, .96), rgba(255, 255, 255, .98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 26px rgba(33, 27, 22, .05);
  }

  .product-detail-page .search-wrap--detail {
    display: none;
  }

  .product-detail-page .search-wrap--desktop:focus-within {
    box-shadow: 0 0 0 3px rgba(217, 194, 167, .28), 0 16px 30px rgba(33, 27, 22, .08);
  }

  .product-detail-page .search-wrap--desktop .btn--catalog {
    height: 48px;
    padding-inline: 17px;
    border-right-color: rgba(214, 203, 190, .92);
    font-size: 13px;
    letter-spacing: .01em;
  }

  .product-detail-page .search-wrap--desktop .search {
    flex: 1;
  }

  .product-detail-page .search-wrap--desktop .search input {
    padding-right: 18px;
    font-size: 13.5px;
  }

  .product-detail-page .search-wrap--desktop .product-header__requisites {
    height: 42px;
    margin-right: 4px;
    padding-inline: 14px;
    border-color: rgba(214, 203, 190, .92);
    background: rgba(255,255,255,.7);
    box-shadow: none;
  }

  .product-detail-page .search-wrap--desktop .product-header__requisites:hover {
    background: rgba(255,255,255,.94);
    border-color: rgba(189,170,145,.88);
  }

  .product-detail-page .topbar__actions {
    gap: 10px;
  }

  .product-detail-page .topbar__actions .btn {
    height: 46px;
    border-radius: 14px;
    padding-inline: 16px;
    box-shadow: 0 10px 22px rgba(33, 27, 22, .04);
  }

  .product-detail-page .topbar__actions .btn--icon {
    background: rgba(255,255,255,.74);
    border-color: rgba(214, 203, 190, .9);
  }

  .product-detail-page .product-summary {
    padding: 38px 30px 34px;
    gap: 18px;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 22px 52px rgba(33, 27, 22, .08);
  }

  .product-detail-page .product-summary__top,
  .product-detail-page .product-summary__price-row,
  .product-detail-page .product-summary__status-row {
    justify-content: flex-start;
  }

  .product-detail-page .product-summary__top {
    gap: 10px;
  }

  .product-detail-page .product-summary h1,
  .product-detail-page .product-summary__sku,
  .product-detail-page .product-summary__lead,
  .product-detail-page .product-summary__economy {
    align-self: flex-start;
    margin-inline: 0;
    text-align: left;
  }

  .product-detail-page .product-summary h1 {
    width: 100%;
    max-width: none;
    margin-top: 2px;
    font-size: clamp(2.85rem, 3.35vw, 4rem);
    line-height: .95;
    text-wrap: pretty;
  }

  .product-detail-page .product-summary__sku {
    min-height: 34px;
    padding-inline: 13px;
    font-size: 12px;
    letter-spacing: .03em;
  }

  .product-detail-page .product-summary__lead {
    max-width: 54ch;
    color: #665e58;
    font-size: .98rem;
    line-height: 1.7;
  }

  .product-detail-page .product-summary__price-block {
    padding: 20px 0 18px;
  }

  .product-detail-page .product-summary__status-block {
    width: 100%;
    padding: 14px 16px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.84), rgba(246,240,232,.88));
    border-color: rgba(214, 203, 190, .9);
  }

  .product-detail-page .product-summary__status-row {
    gap: 10px;
  }

  .product-detail-page .product-summary__actions-block,
  .product-detail-page .product-summary__contacts {
    gap: 10px;
  }

  .product-detail-page .pd-cart-btn,
  .product-detail-page .pd-fav-btn {
    height: 52px;
    border-radius: 15px;
  }

  .product-detail-page .pd-contact-btn {
    min-height: 46px;
    border-radius: 15px;
  }

  .product-detail-page .pd-trust-strip {
    margin-top: 6px;
    gap: 12px;
  }

  .product-detail-page .pd-trust-item {
    padding: 13px 15px;
    border-radius: 18px;
  }
}

@media (max-width: 920px) {
  .product-summary__category,
  .product-summary__discount-badge,
  .product-summary__sku,
  .product-summary__economy,
  .pd-stock,
  .pd-delivery {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .topbar__inner {
    min-height: 56px;
    gap: 8px 10px;
  }

  .logo__mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .logo__text strong {
    font-size: 1.1rem;
  }

  .topbar__actions {
    gap: 6px;
  }

  .topbar__actions .btn {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    border-radius: 14px;
  }

  .topbar__actions .btn .icon {
    width: 17px;
    height: 17px;
  }

  .topbar__actions .btn .cart-badge {
    right: 4px;
    top: 4px;
  }
}

@media (max-width: 420px) {
  .topbar__inner {
    gap: 7px 8px;
  }

  .logo__mark {
    width: 40px;
    height: 40px;
  }

  .logo__text strong {
    font-size: 1.02rem;
  }

  .topbar__actions .btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .product-detail-page .related-block .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .product-detail-page .related-block .mini-grid .card__body {
    padding: 10px;
    gap: 7px;
  }

  .product-detail-page .related-block .mini-grid .card__image-link {
    aspect-ratio: 1 / .9;
  }

  .product-detail-page .related-block .mini-grid .card__title {
    font-size: 12.5px;
    line-height: 1.28;
  }

  .product-detail-page .related-block .mini-grid .card__price {
    font-size: 1.24rem;
  }

  .product-detail-page .related-block .mini-grid .card__stock,
  .product-detail-page .related-block .mini-grid .card__delivery-note {
    min-height: 24px;
    padding-inline: 6px;
    font-size: 10px;
  }

  .product-detail-page .related-block .mini-grid .card__cart-btn {
    height: 36px;
    padding-inline: 10px;
    font-size: 12px;
    gap: 6px;
  }

  .product-detail-page .related-block .mini-grid .card__cart-btn .icon {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 640px) {
  .topbar__actions .btn--icon {
    background: rgba(255, 252, 248, .96);
    border-color: rgba(214, 203, 190, .92);
    color: #3f516a;
    box-shadow: 0 8px 18px rgba(33, 27, 22, .05);
  }

  .topbar__actions .btn--primary {
    background: linear-gradient(135deg, #425773, #2b3b53);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(43, 59, 83, .18);
  }

  .topbar__actions .btn--primary .icon,
  .topbar__actions .btn--primary {
    color: #fff;
  }
}

.topbar__actions .cart-badge {
  background: rgb(233, 238, 246);
  border: 1px solid rgba(43, 59, 83, .16);
  color: rgb(43, 59, 83);
}

.topbar__actions .btn--icon .cart-badge.has-items,
.topbar__actions .btn--ghost .cart-badge.has-items,
.topbar__actions .btn--primary .cart-badge.has-items,
.topbar__actions .btn--accent .cart-badge.has-items {
  background: rgb(233, 238, 246);
  border-color: rgba(43, 59, 83, .16);
  color: rgb(43, 59, 83);
}

@media (min-width: 921px) {
  #productGrid:not([data-view="list"]) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .topbar__inner > .search-wrap:not(.search-wrap--detail) {
    min-width: 0;
    height: 50px;
    border-radius: 15px;
    border-color: rgba(214, 203, 190, .96);
    background: linear-gradient(180deg, rgba(248, 242, 235, .96), rgba(255, 255, 255, .98));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 12px 26px rgba(33, 27, 22, .05);
  }

  .topbar__inner > .search-wrap:not(.search-wrap--detail):focus-within {
    box-shadow: 0 0 0 3px rgba(217, 194, 167, .28), 0 16px 30px rgba(33, 27, 22, .08);
  }

  .topbar__inner > .search-wrap:not(.search-wrap--detail) .btn--catalog {
    height: 48px;
    padding-inline: 17px;
    border-right-color: rgba(214, 203, 190, .92);
    font-size: 13px;
    letter-spacing: .01em;
  }

  .topbar__inner > .search-wrap:not(.search-wrap--detail) .search {
    flex: 1;
  }

  .topbar__inner > .search-wrap:not(.search-wrap--detail) .search input {
    padding-right: 18px;
    font-size: 13.5px;
    color: #1d1916;
  }

  .topbar__inner > .search-wrap:not(.search-wrap--detail) .search input::placeholder {
    color: #7e7468;
  }

  .product-page {
    padding-bottom: 40px;
  }
}

#catalog.main-content {
  padding-bottom: 28px;
}

.footer {
  margin-top: 8px;
}

@media (max-width: 640px) {
  #catalog.main-content {
    margin-top: 10px;
    padding-bottom: max(12px, calc(8px + env(safe-area-inset-bottom)));
  }

  #catalog.main-content .catalog-hero {
    margin-bottom: 6px;
  }

  .product-page {
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .footer {
    margin-top: 4px;
    padding-top: 10px;
  }

  .product-detail-page .footer {
    margin-top: 4px;
    padding-top: 12px;
  }

  .topbar .logo__mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .topbar .logo__text strong {
    font-size: 1.02rem;
  }

  .topbar .logo__text small {
    display: none;
  }

  .product-detail-page .topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .product-detail-page .logo {
    min-width: 0;
    gap: 8px;
  }

  .product-detail-page .topbar__actions {
    gap: 4px;
  }

  .topbar__actions .btn,
  .topbar__actions .hamburger {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-radius: 13px;
    font-size: 0;
  }

  .topbar__actions .btn .icon,
  .topbar__actions .hamburger .icon {
    width: 17px;
    height: 17px;
  }

  .topbar__actions {
    gap: 4px;
  }

  .topbar__inner .search-wrap--detail {
    grid-column: 1 / -1;
  }

  .product-detail-page .topbar__inner .search-wrap--detail {
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 1fr;
  }
}
