:root {
  --color-bg: #fafaf9;
  --color-bg-soft: #f5f5f4;
  --color-bg-dark: #1c1917;
  --color-surface: rgba(255, 255, 255, 0.72);
  --color-surface-strong: rgba(255, 255, 255, 0.92);
  --color-text: #0c0a09;
  --color-text-muted: #57534e;
  --color-text-soft: #78716c;
  --color-border: rgba(28, 25, 23, 0.08);
  --color-gold: #ca8a04;
  --color-gold-light: #eab308;
  --color-gold-dark: #a16207;
  --color-accent: var(--color-gold);
  --color-telegram: #229ed9;
  --color-max-start: #4a90e2;
  --color-max-mid: #6c63f6;
  --color-max-end: #9b59d6;
  --gradient-max: linear-gradient(135deg, var(--color-max-start) 0%, var(--color-max-mid) 52%, var(--color-max-end) 100%);
  --shadow-max: 0 6px 20px rgba(74, 144, 226, 0.28);
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;
  --shadow-soft: 0 4px 24px rgba(12, 10, 9, 0.06);
  --shadow-card: 0 12px 40px rgba(12, 10, 9, 0.08);
  --shadow-gold: 0 8px 32px rgba(202, 138, 4, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-height: 80px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

.glass {
  background: var(--color-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  overflow: hidden;
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.header.is-scrolled {
  background: var(--color-surface-strong);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

/* Header over dark hero (before scroll) */
.header.header--over-hero {
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.92) 0%, rgba(12, 10, 9, 0.55) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.header--over-hero .logo__name {
  color: #fff;
}

.header.header--over-hero .logo__tagline {
  display: none;
}

.header.header--over-hero .header__nav a {
  color: rgba(255, 255, 255, 0.82);
}

.header.header--over-hero .header__nav a:hover {
  color: var(--color-gold-light);
}

.header.header--over-hero .header__phone {
  color: rgba(255, 255, 255, 0.94);
}

.header.header--over-hero .header__phone:hover {
  color: var(--color-gold-light);
}

.header.header--over-hero .btn--ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.header.header--over-hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.header.header--over-hero .header__menu-btn {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.logo__name,
.logo__tagline,
.header__nav a,
.header__phone {
  transition: color var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  flex-shrink: 1;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  transition: transform var(--transition), filter var(--transition);
}

.logo__mark-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo__mark-bg {
  fill: rgba(202, 138, 4, 0.1);
  stroke: rgba(202, 138, 4, 0.28);
  stroke-width: 1.2;
}

.logo__mark-line {
  stroke: var(--color-gold-dark);
  fill: none;
}

.logo__mark-leaf {
  fill: var(--color-gold);
}

.logo__mark-sun {
  fill: var(--color-gold-light);
}

.logo:hover .logo__mark {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 12px rgba(202, 138, 4, 0.28));
}

.header.header--over-hero .logo__mark-bg {
  fill: rgba(234, 179, 8, 0.14);
  stroke: rgba(234, 179, 8, 0.38);
}

.header.header--over-hero .logo__mark-line {
  stroke: #fde68a;
}

.header.header--over-hero .logo__mark-leaf {
  fill: var(--color-gold-light);
}

.header.header--over-hero .logo__mark-sun {
  fill: #fff7cc;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-right: auto;
  margin-left: 2rem;
}

.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-soft);
  transition: color var(--transition);
}

.header__nav a:hover {
  color: var(--color-gold);
}

.header__phone {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
}

.header__phone:hover {
  color: var(--color-gold);
}

.header__catalog-btn {
  display: none;
}

.header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
}

.header__menu-btn svg {
  width: 20px;
  height: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
  color: #fff;
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  box-shadow: 0 12px 36px rgba(202, 138, 4, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn--ghost:hover {
  background: #fff;
}

.btn--telegram {
  background: var(--color-telegram);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.24);
}

.btn--telegram:hover {
  box-shadow: 0 8px 22px rgba(34, 158, 217, 0.32);
}

.btn--max {
  background: var(--gradient-max);
  color: #fff;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  box-shadow: var(--shadow-max);
}

.btn--max:hover {
  box-shadow: 0 10px 26px rgba(108, 99, 246, 0.34);
}

.btn--max .icon-max,
.btn--max svg {
  width: 19px;
  height: 19px;
}

.btn--max-lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.875rem;
}

.btn--max-lg .icon-max-app,
.btn--max-lg svg {
  width: 22px;
  height: 22px;
}

.btn--dark {
  background: var(--color-bg-dark);
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(12, 10, 9, 0.82) 0%, rgba(28, 25, 23, 0.55) 45%, rgba(12, 10, 9, 0.35) 100%),
    radial-gradient(circle at 80% 20%, rgba(202, 138, 4, 0.18), transparent 40%);
}

.hero__content {
  padding-block: 4rem 6rem;
  color: #fff;
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  margin: 0 0 1.25rem;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__text {
  max-width: 560px;
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero__content--wide {
  max-width: 820px;
}

.hero__steps {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.hero-step__num {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-gold);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-step__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  padding-top: 0.15rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 560px;
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

/* Trust bar */
.trust-bar {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  padding-bottom: 2rem;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.trust-card {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.trust-card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  background: rgba(202, 138, 4, 0.12);
  color: var(--color-gold-dark);
}

.trust-card__icon svg {
  width: 22px;
  height: 22px;
}

.trust-card__title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.trust-card__text {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* Category nav */
.category-nav-wrap {
  position: sticky;
  top: calc(var(--header-height) - 1px);
  z-index: 50;
  padding-block: 1rem;
  background: rgba(250, 250, 249, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

.category-nav {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

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

.category-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  font-size: 0.84rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}

.category-nav__item svg {
  width: 18px;
  height: 18px;
}

.category-nav__item:hover,
.category-nav__item.is-active {
  color: var(--color-text);
  border-color: rgba(202, 138, 4, 0.35);
  background: rgba(202, 138, 4, 0.08);
  box-shadow: inset 0 0 0 1px rgba(202, 138, 4, 0.08);
}

/* Catalog */
.catalog {
  padding-block: 3rem 5rem;
}

.catalog-section {
  padding-block: 3.5rem;
  scroll-margin-top: calc(var(--header-height) + 72px);
}

.catalog-section + .catalog-section {
  border-top: 1px solid var(--color-border);
}

.catalog-section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-label {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
}

.section-subtitle {
  margin: 0;
  max-width: 620px;
  color: var(--color-text-muted);
}

.catalog-section__count {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text-soft);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  border-radius: calc(var(--radius-md) + 2px);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(18px);
  position: relative;
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow var(--transition), border-color var(--transition);
}

.product-card.is-visible:hover,
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(12, 10, 9, 0.12);
  border-color: rgba(202, 138, 4, 0.18);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.product-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 9, 0.02) 20%, rgba(12, 10, 9, 0.42) 100%);
  opacity: 0.75;
  transition: opacity var(--transition);
  pointer-events: none;
}

.product-card:hover .product-card__media::after {
  opacity: 0.92;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.07);
}

.product-card__topline {
  position: absolute;
  inset: 0.85rem 0.85rem auto;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-card__sku {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.product-card__quick {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.product-card:hover .product-card__quick {
  transform: translateY(0);
}

.product-card__open {
  display: block;
  color: inherit;
  cursor: pointer;
}

.product-card__title a {
  color: inherit;
  transition: color var(--transition);
}

.product-card__title a:hover {
  color: var(--color-gold-dark);
}

.product-card__stock--out {
  color: #b45309;
}

.product-card__quick svg {
  width: 16px;
  height: 16px;
}

/* Product page */
.page-product {
  background: var(--color-bg);
}

.product-page {
  padding-top: calc(var(--header-height) + 1.5rem);
  padding-bottom: 4rem;
}

.product-page__loading,
.product-page__empty {
  padding: 4rem 0;
  text-align: center;
}

.product-page__empty h1 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0 0 0.75rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--color-text-soft);
}

.breadcrumbs a:hover {
  color: var(--color-gold-dark);
}

.product-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.product-detail__gallery {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.product-detail__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-bg-soft);
}

.product-detail__image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-detail__title {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.25;
  font-weight: 600;
}

.product-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.product-detail__delivery {
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

.product-detail__tags {
  margin-bottom: 1rem;
}

.product-detail__spec {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--color-text-muted);
}

.product-detail__description {
  margin: 0 0 1.5rem;
}

.product-copy {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.96rem;
}

.product-copy__lead {
  margin: 0 0 1.25rem;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--color-text);
}

.product-copy__block + .product-copy__block {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.product-copy__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: normal;
  color: var(--color-text);
}

.product-copy__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.product-copy__list li {
  position: relative;
  padding-left: 1.25rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.product-copy__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

.product-copy__block > p,
.product-copy__text {
  position: relative;
  margin: 0.6rem 0 0;
  padding-left: 1.25rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.product-copy__block > p::before,
.product-copy__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
}

.product-copy__block > p:last-child {
  margin-bottom: 0;
}

.product-copy__outro {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text);
}

.product-copy__note {
  margin: 1.25rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.12);
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.6;
}

.product-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.product-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--color-bg-soft);
  width: 72px;
  height: 72px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  border-color: var(--color-accent);
  transform: translateY(-1px);
}

.product-detail__price-block {
  margin-bottom: 1.25rem;
}

.product-detail__price {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.product-detail__note {
  margin: 0;
  font-size: 0.82rem;
  color: var(--color-text-soft);
}

.product-related {
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.product-related__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-related__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-gold-dark);
}

.product-grid--compact .product-card__body {
  padding: 0.95rem;
}

.product-grid--compact .product-card__title {
  min-height: auto;
}

.product-grid--compact .product-card__spec {
  min-height: auto;
  margin-bottom: 0.65rem;
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-detail__gallery {
    position: static;
  }
}

@media (max-width: 640px) {
  .product-detail__actions {
    flex-direction: column;
  }

  .product-detail__actions .btn {
    width: 100%;
  }
}

.product-badge {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-badge--hit {
  background: var(--color-gold);
  color: #fff;
}

.product-badge--premium {
  background: var(--color-bg-dark);
  color: #fff;
}

.product-badge--new {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.product-badge--sale {
  padding: 0.38rem 0.72rem;
  background: linear-gradient(135deg, #d84315 0%, #ef6c00 100%);
  color: #fff;
  border: none;
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 600;
  font-size: 0.72rem;
  box-shadow: 0 4px 14px rgba(216, 67, 21, 0.32);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.15rem 1.2rem;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
}

.product-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-gold-dark);
  font-weight: 600;
}

.product-card__rating svg {
  width: 14px;
  height: 14px;
  color: var(--color-gold);
}

.product-card__stock {
  color: #15803d;
  font-weight: 600;
  white-space: nowrap;
}

.product-card__title {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  min-height: 2.7em;
}

.product-card__spec {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--color-text-soft);
  line-height: 1.5;
  min-height: 2.5em;
}

.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.product-card__tag {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.product-card__divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1rem;
}

.product-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: auto;
}

.product-card__price-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card__price-wrap > div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.product-card__price-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  font-weight: 600;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1;
}

.product-card__delivery {
  font-size: 0.72rem;
  color: var(--color-text-soft);
  white-space: nowrap;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

/* CTA band */
.cta-band {
  padding-block: 5rem;
}

.cta-band__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(202, 138, 4, 0.18), transparent 35%),
    linear-gradient(135deg, #1c1917, #292524);
  color: #fff;
  box-shadow: var(--shadow-card);
}

.cta-band__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.cta-band__text {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.cta-band__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-band__panel {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-band__panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.cta-band__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.cta-band__list li {
  display: flex;
  gap: 0.75rem;
  align-items: start;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.cta-band__list svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Footer */
.footer {
  padding-block: 3rem 2rem;
  background: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.82);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer__brand .logo__name {
  color: #fff;
}

.footer__brand .logo__tagline {
  color: rgba(255, 255, 255, 0.55);
}

.footer__desc {
  margin: 1rem 0 0;
  max-width: 360px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer__title {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer__links {
  display: grid;
  gap: 0.55rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
  cursor: pointer;
}

.footer__links a:hover {
  color: var(--color-gold-light);
}

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__requisites {
  display: grid;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.footer__links span {
  color: rgba(255, 255, 255, 0.72);
}

/* Category hub */
.categories-hub {
  padding: 4.5rem 0;
}

.category-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-hub-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
  color: inherit;
}

.category-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.category-hub-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.category-hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-hub-card:hover .category-hub-card__media img {
  transform: scale(1.04);
}

.category-hub-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 9, 0.55) 100%);
}

.category-hub-card__icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-gold);
}

.category-hub-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.category-hub-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.category-hub-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0 0 0.35rem;
}

.category-hub-card__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.category-hub-card__meta {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-gold);
}

.categories-hub__footer {
  margin-top: 2rem;
  text-align: center;
}

.page-main {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  min-height: 60vh;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header--row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cta-band__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.cta-band .cta-band__contact {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: anywhere;
}

.cta-band .cta-band__contact:hover {
  color: var(--color-gold-light);
}

.cta-band .section-label {
  color: var(--color-gold-light);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 90;
  padding: 1rem;
  background: var(--color-surface-strong);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-110%);
  transition: transform var(--transition);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav__links {
  display: grid;
  gap: 0.5rem;
}

.mobile-nav__links a {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .trust-bar__grid,
  .footer__grid,
  .cta-band__inner,
  .category-hub-grid {
    grid-template-columns: 1fr;
  }

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

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

  .header__nav,
  .header__phone {
    display: none;
  }

  .header .logo__tagline {
    display: none;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  .logo__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .logo__mark {
    width: 38px;
    height: 38px;
  }

  .header__catalog-btn {
    display: inline-flex;
  }

  .header__actions .btn--ghost:not(.header__catalog-btn) {
    display: none;
  }

  .header__menu-btn {
    display: inline-grid;
    place-items: center;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 72px;
  }

  .header.header--over-hero {
    background: linear-gradient(180deg, rgba(12, 10, 9, 0.96) 0%, rgba(12, 10, 9, 0.78) 100%);
  }

  .header__inner {
    gap: 0.65rem;
  }

  .logo__name {
    font-size: 1.05rem;
    letter-spacing: 0.02em;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .header__actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .header__menu-btn {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .header__catalog-btn {
    display: none !important;
  }

  .cta-band {
    padding-block: 3rem;
  }

  .cta-band__inner {
    padding: 1.35rem;
    gap: 1.25rem;
  }

  .cta-band__title {
    font-size: 1.65rem;
  }

  .cta-band__text {
    margin-bottom: 1rem;
    font-size: 0.92rem;
  }

  .cta-band__contacts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .cta-band .cta-band__contact {
    font-size: 0.88rem;
  }

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

  /* Категории: 2 колонки на мобильных */
  .page-category .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .page-category .product-card__body {
    padding: 0.85rem 0.75rem 0.9rem;
  }

  .page-category .product-card__title {
    font-size: 0.88rem;
    min-height: auto;
    line-height: 1.3;
  }

  .page-category .product-card__spec {
    font-size: 0.74rem;
    min-height: auto;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .page-category .product-card__tags {
    display: none;
  }

  .page-category .product-card__divider {
    margin-bottom: 0.65rem;
  }

  .page-category .product-card__price {
    font-size: 1.2rem;
  }

  .page-category .product-card__delivery {
    display: none;
  }

  .page-category .product-card__actions .btn {
    font-size: 0.68rem;
    padding: 0.55rem 0.45rem;
  }

  .page-category .product-card__topline {
    inset: 0.55rem 0.55rem auto;
  }

  .page-category .product-card__sku {
    display: none;
  }

  .page-category .product-badge {
    font-size: 0.58rem;
    padding: 0.28rem 0.5rem;
  }

  .catalog-section__header {
    flex-direction: column;
    align-items: start;
  }

  .hero__cta,
  .cta-band__buttons {
    flex-direction: column;
  }

  .hero__cta .btn,
  .cta-band__buttons .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
  }

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