@import url('fonts.css');

/* ============================================================
   ОСОБЫЙ ВЫБОР — дом тканей
   Дизайн-система: тёплая бумага, вино, золото, антиква
   ============================================================ */

:root {
  --paper: #f5f0e7;
  --paper-2: #fbf8f1;
  --card: #fffdf8;
  --ink: #1a1512;
  --ink-2: #3d332c;
  --muted: #7a6e63;
  --line: rgba(26, 21, 18, 0.14);
  --line-soft: rgba(26, 21, 18, 0.075);
  --wine: #6d1f2c;
  --wine-deep: #541622;
  --gold: #b39363;
  --sand: #e9dcc8;
  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 40px 80px -48px rgba(62, 32, 20, 0.45);
  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);
  --shell: 1360px;
  --pad: clamp(20px, 4.2vw, 56px);
  --header-h: 88px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}

/* тёплая зернистость поверх фона */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

body.no-scroll {
  overflow: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

p {
  margin: 0;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--wine);
  color: #fff;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 1px solid var(--wine);
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 300;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 20px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transition: top 0.3s;
}

.skip:focus {
  top: 16px;
}

/* ---------------- utilities ---------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--pad);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
}

.eyebrow--plain::before {
  display: none;
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 19px 30px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  overflow: hidden;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover {
  color: var(--paper);
}

.btn:hover::before {
  transform: translateY(0);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--solid {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff7ef;
}

.btn--solid::before {
  background: var(--ink);
}

.btn--solid:hover {
  color: var(--paper-2);
}

.btn--ghost {
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--light {
  border-color: rgba(245, 240, 231, 0.35);
  color: var(--paper);
}

.btn--light::before {
  background: var(--paper);
}

.btn--light:hover {
  color: var(--ink);
}

.btn--sm {
  padding: 13px 20px;
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s, gap 0.3s;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.link-arrow:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------------- top bar ---------------- */

.topbar {
  position: relative;
  z-index: 60;
  background: var(--ink);
  color: rgba(245, 240, 231, 0.7);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
  padding-block: 8px;
}

.topbar__addr {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.topbar__addr svg {
  width: 12px;
  height: 12px;
  color: var(--gold);
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 26px;
}

.topbar__meta a {
  color: var(--paper);
  transition: color 0.25s;
}

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

.topbar__opt {
  padding-left: 26px;
  border-left: 1px solid rgba(245, 240, 231, 0.22);
}

.topbar__hours {
  color: rgba(245, 240, 231, 0.55);
}

/* ---------------- header ---------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 55;
  background: rgba(245, 240, 231, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.4s, box-shadow 0.4s;
}

.header.is-scrolled {
  background: rgba(245, 240, 231, 0.95);
  box-shadow: 0 12px 40px -32px rgba(40, 20, 12, 0.6);
  border-bottom-color: var(--line);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}

.header.is-scrolled .header__in {
  height: 72px;
}

.logo {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo__mark {
  display: block;
  height: 46px;
  width: auto;
  flex: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo__text b {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
}

.logo__text small {
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--muted);
}

.logo--footer {
  margin-bottom: 22px;
}

.logo--footer .logo__mark {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.logo--footer .logo__text b {
  color: var(--paper);
}

.logo--footer .logo__text small {
  color: rgba(245, 240, 231, 0.45);
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: clamp(8px, 3vw, 44px);
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: 8px;
  transition: color 0.25s;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link[aria-expanded='true'],
.nav__link.is-active {
  color: var(--wine);
}

.nav__link:hover::after,
.nav__link[aria-expanded='true']::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link svg {
  width: 9px;
  height: 9px;
  transition: transform 0.3s;
}

.nav__link[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.icon-btn:hover {
  background: rgba(26, 21, 18, 0.06);
  color: var(--wine);
}

.header__phone {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  margin-inline: 16px 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.header__phone small {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}

.cart-btn svg {
  width: 15px;
  height: 15px;
}

.cart-btn__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 19px;
  padding-inline: 5px;
  border-radius: 999px;
  background: var(--wine);
  color: #fff;
  font-size: 9px;
  letter-spacing: 0;
}

.cart-btn:hover {
  border-color: var(--ink);
}

.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
}

.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 1px;
  background: var(--ink);
  content: '';
  transition: transform 0.3s, opacity 0.3s;
}

.burger span {
  top: 21px;
}

.burger span::before {
  top: -7px;
  left: 0;
}

.burger span::after {
  top: 7px;
  left: 0;
}

/* ---------------- mega menu ---------------- */

.mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 40px 60px -50px rgba(40, 20, 12, 0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.35s var(--ease), visibility 0.3s;
  z-index: 54;
}

.mega.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega__in {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding-block: 44px 48px;
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 32px;
}

.mega__title {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.mega__links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega__links a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s, padding-left 0.25s var(--ease);
  display: inline-block;
}

.mega__links a:hover {
  color: var(--wine);
  padding-left: 4px;
}

.mega__more {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wine);
}

.mega__more svg {
  width: 12px;
  height: 12px;
}

.mega__promo {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  border-radius: 2px;
  background: var(--sand);
}

.mega__promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.mega__promo:hover img {
  transform: scale(1.05);
}

.mega__promo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(20, 12, 9, 0.78));
}

.mega__promo span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.05;
}

.mega__promo small {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.72);
}

/* ---------------- search overlay ---------------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(245, 240, 231, 0.97);
  backdrop-filter: blur(12px);
  padding-top: clamp(60px, 12vh, 140px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__bar {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 18px;
}

.search-overlay__bar svg {
  width: 24px;
  height: 24px;
  flex: none;
  color: var(--wine);
}

.search-overlay__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  outline: none;
}

.search-overlay__input::placeholder {
  color: rgba(26, 21, 18, 0.28);
}

.search-overlay__close {
  flex: none;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
  transition: color 0.2s;
}

.search-overlay__close:hover {
  color: var(--wine);
}

.search-overlay__hint {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-overlay__hint button {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: all 0.2s;
}

.search-overlay__hint button:hover {
  border-color: var(--wine);
  color: var(--wine);
}

.search-results {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.search-results__empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 14px;
}

.search-hit {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  transition: border-color 0.25s, transform 0.25s;
}

.search-hit:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}

.search-hit img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  flex: none;
  background: var(--sand);
}

.search-hit b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.15;
  margin-bottom: 4px;
}

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

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  min-height: min(780px, calc(100svh - 126px));
  border-bottom: 1px solid var(--line);
  z-index: 2;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px, 7vw, 96px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 64px)
    max(var(--pad), calc((100vw - var(--shell)) / 2 + var(--pad)));
}

.hero__content > * {
  animation: heroRise 1s var(--ease) both;
}

.hero__content > *:nth-child(1) {
  animation-delay: 0.05s;
}

.hero__content > *:nth-child(2) {
  animation-delay: 0.12s;
}

.hero__content > *:nth-child(3) {
  animation-delay: 0.2s;
}

.hero__content > *:nth-child(4) {
  animation-delay: 0.28s;
}

.hero__content > *:nth-child(5) {
  animation-delay: 0.36s;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__title {
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 26px 0 0;
}

.hero__title em {
  font-style: italic;
  color: var(--wine);
  font-weight: 400;
}

.hero__lead {
  max-width: 430px;
  margin-top: 30px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 3.4vw, 48px);
  margin-top: clamp(38px, 5vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero__stat b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stat span {
  display: block;
  margin-top: 8px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d9d4cc;
}

.hero__media > img {
  position: absolute;
  left: 0;
  right: 0;
  top: -4%;
  width: 100%;
  height: 124%;
  object-fit: cover;
  object-position: 18% 34%;
}

.hero__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(245, 240, 231, 0) 16%),
    linear-gradient(0deg, rgba(20, 12, 8, 0.42) 0%, transparent 42%);
  pointer-events: none;
}

.hero__note {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 4vw, 48px);
  bottom: clamp(24px, 4vw, 48px);
  width: 300px;
  max-width: calc(100% - 48px);
  padding: 20px 22px;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 2px;
}

.hero__note small {
  display: block;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 8px;
}

.hero__note p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.2;
}

.hero__note a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  white-space: nowrap;
}

.hero__note a svg {
  width: 13px;
  height: 13px;
}

.hero__note a:hover {
  color: var(--wine);
  border-color: var(--wine);
}

/* ---------------- ticker ---------------- */

.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  padding-block: 20px;
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 38px;
  padding-right: 38px;
}

.ticker__item {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--ink-2);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.ticker__dot {
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------------- sections ---------------- */

.section {
  position: relative;
  z-index: 2;
  padding-block: clamp(64px, 8vw, 118px);
  scroll-margin-top: calc(var(--header-h) + 10px);
}

.section--tint {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
}

.section--dark {
  background: #17110e;
  color: var(--paper);
}

.section__head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 340px;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section__index {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9885a;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.section__title {
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 0.96;
}

.section__title em {
  font-style: italic;
  color: var(--wine);
  font-weight: 400;
}

.section__lead {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 8px;
}

.section__foot {
  display: flex;
  justify-content: center;
  margin-top: clamp(34px, 4vw, 54px);
}

/* ---------------- chips ---------------- */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}

.chip {
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: all 0.3s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------------- category grid ---------------- */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 36px) clamp(16px, 2vw, 26px);
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cat-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
  border-radius: 2px;
}

.cat-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(24, 14, 10, 0.16));
  opacity: 0;
  transition: opacity 0.5s;
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter 0.6s;
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.055);
}

.cat-card:hover .cat-card__media::after {
  opacity: 1;
}

.cat-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.cat-card__name {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 21px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.cat-card:hover .cat-card__name {
  color: var(--wine);
}

.cat-card__arrow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin-top: 1px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.35s var(--ease);
}

.cat-card__arrow svg {
  width: 11px;
  height: 11px;
  transition: transform 0.35s var(--ease);
}

.cat-card:hover .cat-card__arrow {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

.cat-card:hover .cat-card__arrow svg {
  transform: translate(2px, -2px);
}

.cat-card[hidden] {
  display: none;
}

/* ---------------- product cards / rail ---------------- */

.prod-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 1fr);
  gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.rail-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 18px;
}

.section--featured .section__head {
  margin-bottom: 30px;
}

.rail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.rail-btn svg {
  width: 14px;
  height: 14px;
}

.rail-btn:first-child svg {
  transform: rotate(180deg);
}

.rail-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

@media (max-width: 900px) {
  .rail-controls {
    display: none;
  }
}

.prod-rail::-webkit-scrollbar {
  display: none;
}

.prod-rail > * {
  scroll-snap-align: start;
}

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

.prod-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ece3d5;
  border-radius: 2px;
}

.prod-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.prod-card:hover .prod-card__media img {
  transform: scale(1.05);
}

.prod-card__tag {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(6px);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-radius: 2px;
}

.prod-card__add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: 0 6px 18px -8px rgba(40, 20, 12, 0.5);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.prod-card__add svg {
  width: 15px;
  height: 15px;
}

.prod-card__add:hover {
  background: var(--wine);
  color: #fff;
  transform: scale(1.06);
}

.prod-card__body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.prod-card__name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.005em;
  transition: color 0.25s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-card__name:hover {
  color: var(--wine);
}

.prod-card__meta {
  margin-top: 7px;
  font-size: 10.5px;
  line-height: 1.45;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.prod-card__bottom {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.prod-card__price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.prod-card__price small {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 4px;
}

.prod-card__unit {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------------- features ---------------- */

.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.feature {
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.feature__num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 18px 0 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
}

.feature__icon svg {
  width: 19px;
  height: 19px;
}

.feature h3 {
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.feature p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------- about ---------------- */

.about {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.about__media {
  position: relative;
}

.about__arch {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 3px 3px;
  background: var(--sand);
}

.about__arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(1.22);
  transition: transform 1.4s var(--ease);
}

.about__arch:hover img {
  transform: scale(1.28);
}

.about__badge {
  position: absolute;
  right: clamp(-16px, -2vw, -10px);
  bottom: 34px;
  padding: 20px 24px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  max-width: 210px;
  box-shadow: var(--shadow);
}

.about__badge b {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about__badge span {
  display: block;
  margin-top: 8px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

.about__body p {
  margin-top: 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.75;
}

.about__quote {
  margin: 32px 0;
  padding-left: 24px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.35;
  color: var(--ink);
}

.about__sign {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.about__mark {
  height: 54px;
  width: auto;
  flex: none;
}

.about__sign span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------------- wholesale ---------------- */

.wholesale {
  position: relative;
  overflow: hidden;
  background: #17110e;
  color: var(--paper);
}

.wholesale::before {
  content: '';
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -320px;
  background: radial-gradient(circle, rgba(109, 31, 44, 0.55), transparent 65%);
  pointer-events: none;
}

.wholesale__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.wholesale__title {
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 0.98;
  margin: 22px 0 24px;
}

.wholesale__title em {
  font-style: italic;
  color: #cfa877;
}

.wholesale p {
  max-width: 480px;
  color: rgba(245, 240, 231, 0.66);
  font-size: 14.5px;
  line-height: 1.75;
}

.wholesale__list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.wholesale__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 0;
  border-top: 1px solid rgba(245, 240, 231, 0.14);
  font-size: 13px;
  color: rgba(245, 240, 231, 0.82);
}

.wholesale__list b {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.wholesale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.wholesale__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(245, 240, 231, 0.16);
  border-radius: 2px;
}

.wholesale__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 1.4s var(--ease);
}

.wholesale__media:hover img {
  transform: scale(1.04);
}

.wholesale__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 17, 14, 0.1), rgba(23, 17, 14, 0.55));
}

.wholesale__caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.8);
}

.wholesale__caption b {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--paper);
}

/* ---------------- logistics ---------------- */

.logistics {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.delivery-list {
  border-top: 1px solid var(--line);
}

.delivery-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 12px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.delivery-row h3 {
  font-size: 21px;
  line-height: 1.15;
}

.delivery-row p {
  grid-column: 1;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.delivery-row b {
  grid-row: 1 / span 2;
  grid-column: 2;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  white-space: nowrap;
}

.delivery-note {
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.pay-card {
  padding: clamp(26px, 3vw, 38px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.pay-card h3 {
  font-size: 30px;
  margin-bottom: 10px;
}

.pay-card > p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.pay-steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  counter-reset: step;
}

.pay-steps li {
  counter-increment: step;
  position: relative;
  padding: 15px 0 15px 48px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-2);
}

.pay-steps li::before {
  content: '0' counter(step);
  position: absolute;
  left: 0;
  top: 15px;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.pay-card .link-arrow {
  margin-top: 24px;
}

/* ---------------- journal ---------------- */

.journal {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 32px);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  transition: background 0.4s, border-color 0.4s, transform 0.4s var(--ease);
}

.post-card:hover {
  background: var(--card);
  border-color: var(--line);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-card__num {
  font-family: var(--serif);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.post-card h3 {
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.12;
}

.post-card__foot {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card__foot svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s var(--ease);
}

.post-card:hover .post-card__foot svg {
  transform: translate(3px, -3px);
  color: var(--wine);
}

/* ---------------- contacts ---------------- */

.contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.contacts__title {
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.96;
}

.contacts__title em {
  font-style: italic;
  color: var(--wine);
}

.contacts__addr {
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 32px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.contacts__grid dt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.contacts__grid dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
}

.contacts__grid dd a:hover {
  color: var(--wine);
}

.contacts__map {
  position: relative;
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
  border: 1px solid rgba(26, 21, 18, 0.2);
  border-radius: 2px;
  background: #17110e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contacts__map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(245, 240, 231, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 240, 231, 0.075) 1px, transparent 1px);
  background-size: 44px 44px;
  transform: rotate(-8deg) scale(1.3);
}

.contacts__pin {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  color: var(--paper);
}

.contacts__pin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfa877;
  box-shadow: 0 0 0 10px rgba(207, 168, 119, 0.14), 0 0 0 22px rgba(207, 168, 119, 0.06);
}

.contacts__pin b {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--paper);
}

.contacts__pin span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.5);
}

.contacts__pin .btn {
  margin-top: 6px;
  background: transparent;
  color: var(--paper);
  border-color: rgba(245, 240, 231, 0.3);
}

.contacts__pin .btn::before {
  background: var(--paper);
}

.contacts__pin .btn:hover {
  color: var(--ink);
}

.contacts__map--iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.82) contrast(0.96);
}

.contacts__map-route {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  background: var(--paper) !important;
  color: var(--ink) !important;
  border-color: var(--paper) !important;
}

.contacts__map-route:hover {
  background: var(--wine) !important;
  border-color: var(--wine) !important;
  color: var(--paper) !important;
}

/* ---------------- footer ---------------- */

.footer {
  position: relative;
  z-index: 2;
  background: var(--ink);
  color: rgba(245, 240, 231, 0.62);
  padding-top: clamp(56px, 7vw, 84px);
  overflow: hidden;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
}

.footer__brand .logo {
  margin-bottom: 22px;
}

.footer__brand p {
  font-size: 12.5px;
  line-height: 1.75;
  max-width: 260px;
}

.footer__title {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 240, 231, 0.4);
  margin-bottom: 18px;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer__links a {
  font-size: 12.5px;
  transition: color 0.2s;
}

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

.footer__contact p {
  font-size: 13px;
  line-height: 1.8;
}

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

.footer__phone {
  font-family: var(--serif);
  font-size: 25px;
  color: var(--paper);
  display: inline-block;
  margin-bottom: 10px;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding-inline: 12px;
  border: 1px solid rgba(245, 240, 231, 0.18);
  border-radius: 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: all 0.3s;
}

.footer__social a:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.footer__legal a {
  color: rgba(245, 240, 231, 0.55);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

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

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 24px 28px;
  border-top: 1px solid rgba(245, 240, 231, 0.12);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(245, 240, 231, 0.4);
}

/* ---------------- cart drawer ---------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(20, 13, 9, 0.45);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  background: var(--paper-2);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}

.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.drawer__head h3 {
  font-size: 28px;
}

.drawer__head h3 small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-left: 8px;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: all 0.25s;
}

.drawer__close:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.drawer__close svg {
  width: 13px;
  height: 13px;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.cart-line__img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  background: var(--sand);
  border-radius: 2px;
}

.cart-line__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.cart-line__name {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 500;
}

.cart-line__cat {
  display: block;
  margin-top: 4px;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-line__remove {
  flex: none;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  padding: 2px;
  transition: color 0.2s;
}

.cart-line__remove:hover {
  color: var(--wine);
}

.cart-line__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  height: 34px;
}

.qty button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 100%;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.qty button:hover {
  background: rgba(26, 21, 18, 0.05);
  color: var(--ink);
}

.qty svg {
  width: 11px;
  height: 11px;
}

.qty input {
  width: 46px;
  height: 100%;
  border: 0;
  border-inline: 1px solid var(--line-soft);
  background: transparent;
  text-align: center;
  font-size: 12px;
  outline: none;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-line__price {
  font-family: var(--serif);
  font-size: 19px;
  white-space: nowrap;
}

.cart-line__price small {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.drawer__foot {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.drawer__sum {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.drawer__sum span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer__sum b {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
}

.drawer__foot .btn {
  width: 100%;
}

.drawer__note {
  margin-top: 14px;
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: 280px;
  text-align: center;
  color: var(--muted);
}

.cart-empty svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.cart-empty p {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
}

.cart-empty span {
  font-size: 12px;
  max-width: 240px;
}

/* ---------------- toast ---------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 300;
  transform: translate(-50%, 20px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 2px;
  font-size: 11px;
  letter-spacing: 0.06em;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease);
}

.toast.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

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

/* ---------------- page hero ---------------- */

.page-hero {
  position: relative;
  z-index: 2;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(28px, 3vw, 40px) clamp(30px, 4vw, 46px);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}

.breadcrumbs a {
  transition: color 0.2s;
}

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

.breadcrumbs span {
  color: var(--line);
}

.page-hero h1 {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
}

.page-hero__lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------------- catalog page ---------------- */

.catalog {
  position: relative;
  z-index: 2;
  padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 110px);
}

.catalog__layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.filters__toggle {
  display: none;
}

.filters__block + .filters__block {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.filters__title {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.filters__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.filters__item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 10px 8px 0;
  text-align: left;
  font-size: 12.5px;
  color: var(--ink-2);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, padding-left 0.25s var(--ease);
}

.filters__item small {
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.filters__item:hover {
  color: var(--wine);
  padding-left: 4px;
}

.filters__item.is-active {
  color: var(--wine);
  font-weight: 600;
}

.filters__item.is-active small {
  color: var(--wine);
}

.filters__reset {
  margin-top: 18px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
}

.filters__reset:hover {
  color: var(--wine);
  border-color: var(--wine);
}

.catalog__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.catalog__count {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.catalog__count b {
  color: var(--ink);
  font-weight: 600;
}

.catalog__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.select {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.select select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 26px 8px 0;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink);
  cursor: pointer;
  outline: none;
}

.select svg {
  position: absolute;
  right: 2px;
  width: 11px;
  height: 11px;
  pointer-events: none;
  color: var(--muted);
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3.4vw, 46px) clamp(16px, 2vw, 26px);
}

.catalog__grid .prod-card[hidden] {
  display: none;
}

.catalog__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 62px);
}

.catalog-empty {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 2px;
}

.catalog-empty__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  background: var(--sand);
}

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

.catalog-empty__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.catalog-empty h3 {
  font-size: 30px;
}

.catalog-empty p {
  max-width: 460px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

/* ---------------- product page ---------------- */

.pdp {
  position: relative;
  z-index: 2;
  padding-block: clamp(26px, 3vw, 40px) clamp(60px, 8vw, 104px);
}

.pdp__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.pdp__gallery {
  position: sticky;
  top: calc(var(--header-h) + 26px);
}

.pdp__main {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
  border-radius: 2px;
}

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

.pdp__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pdp__thumb {
  width: 72px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--sand);
  border-radius: 2px;
  opacity: 0.6;
  transition: opacity 0.25s, border-color 0.25s;
}

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

.pdp__thumb.is-active,
.pdp__thumb:hover {
  opacity: 1;
  border-color: var(--ink);
}

.pdp__info {
  padding-top: 6px;
}

.pdp__cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: 16px;
}

.pdp__title {
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.02;
}

.pdp__article {
  margin-top: 14px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp__price-row {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.pdp__price {
  font-family: var(--serif);
  font-size: clamp(40px, 4vw, 54px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pdp__price small {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 6px;
}

.pdp__stock {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  margin-bottom: 14px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.pdp__stock::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5d7a52;
}

.pdp__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
}

.pdp__buy .qty {
  height: 52px;
}

.pdp__buy .qty button {
  width: 40px;
}

.pdp__buy .qty input {
  width: 56px;
  font-size: 13px;
}

.pdp__buy .btn {
  flex: 1;
  min-width: 190px;
}

.pdp__hint {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}

.pdp__specs {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.spec-row dt {
  color: var(--muted);
}

.spec-row dd {
  margin: 0;
  text-align: right;
  color: var(--ink);
}

.pdp__desc {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-2);
}

.pdp__desc p + p {
  margin-top: 10px;
}

.pdp__perks {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.perk {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}

.perk svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 1px;
  color: var(--wine);
}

.perk b {
  font-weight: 600;
}

.related {
  position: relative;
  z-index: 2;
  padding-block: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--paper-2);
}

.related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.related__head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}

/* ---------------- content pages ---------------- */

.content-page {
  position: relative;
  z-index: 2;
  padding-block: clamp(36px, 5vw, 64px) clamp(64px, 8vw, 110px);
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.delivery-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

@media (max-width: 1024px) {
  .delivery-layout {
    grid-template-columns: 1fr;
  }

  .delivery-aside {
    position: static;
    max-width: 520px;
  }
}

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin: 42px 0 16px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
  margin-bottom: 14px;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}

.prose li + li {
  margin-top: 6px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.info-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--card);
}

.info-card h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.info-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.info-card b {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-top: 14px;
}

.delivery-options {
  display: grid;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.delivery-option {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.delivery-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--wine);
}

.delivery-option__icon svg {
  width: 18px;
  height: 18px;
}

.delivery-option h3 {
  font-size: 21px;
}

.delivery-option p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.delivery-option b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

.requisites {
  margin-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.requisites div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}

.requisites dt {
  color: var(--muted);
}

.requisites dd {
  margin: 0;
}

.wholesale-page {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.wholesale-card {
  padding: clamp(26px, 3vw, 36px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.wholesale-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.wholesale-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.wholesale-card .footer__phone {
  color: var(--ink);
  margin-top: 14px;
  font-size: 26px;
}

.wholesale-card .btn {
  width: 100%;
  margin-top: 20px;
}

/* ---------------- forms ---------------- */

.form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  outline: none;
  transition: border-color 0.25s;
  border-radius: 0;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
}

.form__note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------------- reveal ---------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal-delay='1'] {
  transition-delay: 0.08s;
}

[data-reveal-delay='2'] {
  transition-delay: 0.16s;
}

[data-reveal-delay='3'] {
  transition-delay: 0.24s;
}

/* ---------------- mobile menu ---------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: var(--paper);
  padding: 26px var(--pad) 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.5s var(--ease);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: none;
  visibility: visible;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-menu__head .logo__mark {
  height: 40px;
}

.mobile-menu__head .logo__text b {
  font-size: 16px;
}

.mobile-menu__nav {
  display: grid;
  gap: 4px;
  border-top: 1px solid var(--line);
}

.mobile-menu__nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.1;
}

.mobile-menu__meta {
  margin-top: 30px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
}

.mobile-menu__meta span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.mobile-menu__social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.mobile-menu__social a {
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
}

/* ---------------- responsive ---------------- */

@media (max-width: 1180px) {
  .section__head {
    grid-template-columns: 120px 1fr 300px;
    gap: 28px;
  }

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

  .nav {
    gap: 20px;
  }

  .header__phone {
    display: none;
  }

  .mega__in {
    grid-template-columns: 1fr 260px;
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .topbar__hours {
    display: none;
  }

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

  .hero__content {
    padding: clamp(40px, 7vw, 64px) var(--pad) 44px;
    order: 2;
  }

  .hero__media {
    order: 1;
    aspect-ratio: 4 / 3;
  }

  .hero__media > img {
    top: -12%;
    height: 150%;
    object-position: 0% 40%;
  }

  .hero__content {
    padding-top: 36px;
  }

  .hero__media::before {
    background: linear-gradient(0deg, var(--paper) 0%, rgba(245, 240, 231, 0) 26%);
  }

  .hero__note {
    display: none;
  }

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

  .about,
  .wholesale__in,
  .logistics,
  .contacts,
  .pdp__grid,
  .wholesale-page {
    grid-template-columns: 1fr;
  }

  .about__media {
    max-width: 460px;
  }

  .wholesale__media {
    max-width: 420px;
    aspect-ratio: 3 / 2;
  }

  .contacts__map {
    aspect-ratio: 16 / 9;
  }

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

  .filters {
    position: static;
    display: none;
  }

  .filters.is-open {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    background: var(--card);
    border-radius: 2px;
    margin-bottom: 26px;
  }

  .filters__toggle {
    display: inline-flex;
  }

  .pdp__gallery {
    position: static;
  }

  .pdp__main {
    aspect-ratio: 1 / 1;
  }

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

@media (max-width: 900px) {
  .nav,
  .header__phone {
    display: none;
  }

  .burger {
    display: inline-block;
  }

  .mega {
    display: none;
  }

  .section__head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .section__index {
    width: 100%;
    padding-bottom: 8px;
  }

  .section__lead {
    max-width: 460px;
  }

  .search-results {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .logo__mark {
    height: 40px;
  }

  .logo__text b {
    font-size: 16px;
  }

  .header__in {
    gap: 18px;
  }

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

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

  .requisites div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  .header__in {
    gap: 12px;
  }

  .logo {
    gap: 8px;
  }

  .logo__mark {
    height: 36px;
  }

  .logo__text b {
    font-size: 14px;
    letter-spacing: 0.06em;
  }

  .logo__text small {
    font-size: 6.5px;
    letter-spacing: 0.22em;
  }

  .cart-btn {
    width: 54px;
    padding: 0;
    justify-content: center;
    gap: 6px;
  }

  .cart-btn__label {
    display: none;
  }

  .hero__lead {
    margin-top: 18px;
  }

  .hero__actions {
    margin-top: 24px;
  }

  .hero__stats {
    margin-top: 28px;
    padding-top: 18px;
  }

  .hero__content {
    padding-bottom: 32px;
  }

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

  .topbar__in {
    min-height: 34px;
  }

  .topbar__addr span {
    display: none;
  }

  .topbar__addr::after {
    content: 'Санкт-Петербург';
  }

  .topbar__meta {
    gap: 14px;
    font-size: 9.5px;
  }

  .topbar__opt {
    display: none;
  }

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

  .hero__stat b {
    font-size: 30px;
  }

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

  .cat-card__name {
    font-size: 17px;
  }

  .cat-card__arrow {
    width: 24px;
    height: 24px;
  }

  .features,
  .journal {
    grid-template-columns: 1fr;
  }

  .journal .post-card {
    min-height: 0;
  }

  .prod-rail {
    grid-auto-columns: 72%;
  }

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

  .prod-card__name {
    font-size: 17px;
  }

  .prod-card__price {
    font-size: 20px;
  }

  .prod-card__meta {
    font-size: 9.5px;
  }

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

  .about__badge {
    right: 12px;
    bottom: 16px;
    padding: 16px 18px;
  }

  .about__badge b {
    font-size: 32px;
  }

  .delivery-row {
    grid-template-columns: 1fr;
  }

  .delivery-row b {
    grid-row: auto;
    grid-column: 1;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .search-results {
    grid-template-columns: 1fr;
    max-height: 55vh;
    overflow-y: auto;
  }

  .search-overlay__bar {
    gap: 12px;
  }

  .search-overlay__close {
    font-size: 0;
    padding: 8px;
  }

  .search-overlay__close::before {
    content: '✕';
    font-size: 18px;
  }

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

  .delivery-option {
    grid-template-columns: 44px 1fr;
  }

  .delivery-option b {
    grid-column: 2;
    font-size: 18px;
  }

  .pdp__buy .btn {
    min-width: 0;
  }

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

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-empty {
    grid-template-columns: 1fr;
  }

  .prod-rail {
    grid-auto-columns: 86%;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

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

/* ============================================================
   Крупнее текст на десктопе
   ============================================================ */

@media (min-width: 1025px) {
  body {
    font-size: 17px;
  }

  .topbar {
    font-size: 11px;
  }

  .topbar__in {
    min-height: 42px;
  }

  .nav__link {
    font-size: 12px;
  }

  .header__phone {
    font-size: 13.5px;
  }

  .header__phone small {
    font-size: 9.5px;
  }

  .cart-btn {
    font-size: 10.5px;
  }

  .btn {
    font-size: 12px;
  }

  .btn--sm {
    font-size: 10.5px;
  }

  .link-arrow {
    font-size: 11.5px;
  }

  .eyebrow {
    font-size: 11.5px;
  }

  .mega__title {
    font-size: 10.5px;
  }

  .mega__links a {
    font-size: 14px;
  }

  .mega__more {
    font-size: 10.5px;
  }

  .hero__lead {
    font-size: 17px;
  }

  .hero__stat span {
    font-size: 10px;
  }

  .hero__note small {
    font-size: 9.5px;
  }

  .hero__note p {
    font-size: 20px;
  }

  .hero__note a {
    font-size: 10.5px;
  }

  .section__index {
    font-size: 10.5px;
  }

  .section__lead {
    font-size: 15.5px;
  }

  .chip {
    font-size: 10.5px;
  }

  .cat-card__name {
    font-size: 23px;
  }

  .prod-card__tag {
    font-size: 9px;
  }

  .prod-card__name {
    font-size: 21px;
  }

  .prod-card__meta {
    font-size: 13px;
  }

  .prod-card__price {
    font-size: 26px;
  }

  .prod-card__price small {
    font-size: 11px;
  }

  .prod-card__unit {
    font-size: 11px;
  }

  .feature__num {
    font-size: 14px;
  }

  .feature h3 {
    font-size: 26px;
  }

  .feature p {
    font-size: 15px;
  }

  .about__body p {
    font-size: 16px;
  }

  .about__badge span {
    font-size: 9.5px;
  }

  .wholesale p {
    font-size: 15.5px;
  }

  .wholesale__list li {
    font-size: 14px;
  }

  .delivery-row h3 {
    font-size: 22px;
  }

  .delivery-row p {
    font-size: 13.5px;
  }

  .delivery-row b {
    font-size: 21px;
  }

  .delivery-note {
    font-size: 13px;
  }

  .pay-card > p {
    font-size: 14px;
  }

  .pay-steps li {
    font-size: 14px;
  }

  .post-card h3 {
    font-size: 25px;
  }

  .post-card__foot {
    font-size: 10px;
  }

  .contacts__addr {
    font-size: 16px;
  }

  .contacts__grid dt {
    font-size: 10px;
  }

  .contacts__grid dd {
    font-size: 14.5px;
  }

  .footer__title {
    font-size: 10px;
  }

  .footer__brand p {
    font-size: 13.5px;
  }

  .footer__links a {
    font-size: 14px;
  }

  .footer__contact p {
    font-size: 14px;
  }

  .footer__bottom {
    font-size: 11px;
  }

  .catalog__count {
    font-size: 12px;
  }

  .filters__title {
    font-size: 10px;
  }

  .filters__item {
    font-size: 14px;
  }

  .filters__item small {
    font-size: 10.5px;
  }

  .filters__reset {
    font-size: 10px;
  }

  .select select {
    font-size: 12px;
  }

  .page-hero__lead {
    font-size: 15.5px;
  }

  .breadcrumbs {
    font-size: 10.5px;
  }

  .pdp__cat {
    font-size: 10px;
  }

  .pdp__article {
    font-size: 11px;
  }

  .pdp__hint {
    font-size: 12.5px;
  }

  .spec-row {
    font-size: 14px;
  }

  .pdp__desc {
    font-size: 14.5px;
  }

  .perk {
    font-size: 13px;
  }

  .prose,
  .prose p,
  .prose li,
  .prose ul {
    font-size: 16px;
  }

  .info-card p {
    font-size: 14px;
  }

  .delivery-option h3 {
    font-size: 22px;
  }

  .delivery-option p {
    font-size: 13px;
  }

  .delivery-option b {
    font-size: 21px;
  }

  .requisites div {
    font-size: 13.5px;
  }

  .field label {
    font-size: 10px;
  }

  .field input,
  .field textarea {
    font-size: 15px;
  }

  .form__note {
    font-size: 11px;
  }

  .drawer__head h3 small {
    font-size: 11px;
  }

  .cart-line__name {
    font-size: 18px;
  }

  .cart-line__cat {
    font-size: 9.5px;
  }

  .drawer__note {
    font-size: 10.5px;
  }

  .cart-empty span {
    font-size: 13px;
  }

  .search-hit b {
    font-size: 17px;
  }

  .search-hit span {
    font-size: 12px;
  }

  .search-overlay__hint button {
    font-size: 11px;
  }

  .mobile-menu__meta {
    font-size: 14px;
  }
}

/* ---------------- purchase modes / rolls ---------------- */

.prod-card__roll {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 2px;
  background: rgba(109, 31, 44, 0.92);
  color: #fff7ef;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.buy-modes {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.buy-mode {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.buy-mode:hover {
  border-color: var(--ink-2);
}

.buy-mode input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.buy-mode:has(input:checked) {
  border-color: var(--wine);
  background: rgba(109, 31, 44, 0.04);
}

.buy-mode__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.buy-mode__body b {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.buy-mode__body small {
  font-size: 11.5px;
  color: var(--muted);
}

.buy-mode__dot {
  position: relative;
  width: 17px;
  height: 17px;
  margin-left: auto;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.2s;
}

.buy-mode__dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--wine);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}

.buy-mode input:checked ~ .buy-mode__dot {
  border-color: var(--wine);
}

.buy-mode input:checked ~ .buy-mode__dot::after {
  transform: scale(1);
}

.buy-mode__save,
.buy-mode__status {
  padding: 4px 7px;
  border-radius: 2px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.buy-mode__save {
  color: #4f6b46;
  background: rgba(93, 122, 82, 0.1);
}

.buy-mode__status {
  color: var(--muted);
  background: var(--paper);
}

.buy-mode--disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.filters__check {
  font-size: 12.5px;
  color: var(--ink-2);
}

/* ---------------- cookie banner ---------------- */

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 210;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie__in {
  pointer-events: auto;
  width: 100%;
  max-width: 940px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 30px 60px -40px rgba(40, 20, 12, 0.65);
}

.cookie p {
  max-width: 640px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.cookie p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.cookie__more {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line);
}

.cookie__more:hover {
  color: var(--wine);
  border-color: var(--wine);
}

/* ---------------- forms: consent ---------------- */

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--wine);
}

.check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check.is-error {
  color: var(--wine);
}

.field__error {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--wine);
}

.field.is-error input,
.field.is-error textarea {
  border-color: var(--wine);
}

/* ---------------- legal pages ---------------- */

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.legal-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: grid;
  gap: 16px;
}

.legal-card {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-card b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}

.legal-card a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-card ul {
  margin: 8px 0 0;
  padding-left: 16px;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal h2 {
  margin: 34px 0 12px;
  font-size: clamp(23px, 2.4vw, 30px);
}

.legal h3 {
  margin: 24px 0 8px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.legal p,
.legal li {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.legal p + p {
  margin-top: 10px;
}

.legal ul,
.legal ol {
  margin: 10px 0 16px;
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.legal .legal-note {
  margin: 22px 0;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: var(--paper-2);
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------- checkout ---------------- */

.checkout {
  position: relative;
  z-index: 2;
  padding-block: clamp(28px, 4vw, 46px) clamp(64px, 8vw, 110px);
}

.checkout__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.checkout__head h1 {
  font-size: clamp(38px, 5vw, 64px);
}

.checkout__head p {
  max-width: 380px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.checkout__main {
  min-width: 0;
}

.checkout-step {
  padding: 26px 0 30px;
  border-bottom: 1px solid var(--line-soft);
}

.checkout-step:first-child {
  padding-top: 0;
}

.checkout-step__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}

.checkout-step__num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.checkout-step h2 {
  font-size: 28px;
}

.checkout-step__note {
  margin-left: auto;
  font-size: 11px;
  color: var(--muted);
}

.checkout__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

.checkout__grid--full {
  grid-template-columns: 1fr;
}

.option-list {
  display: grid;
  gap: 10px;
}

.option {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}

.option:hover {
  border-color: var(--ink-2);
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option__radio {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: border-color 0.2s;
}

.option__radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--wine);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}

.option input:checked ~ .option__radio {
  border-color: var(--wine);
}

.option input:checked ~ .option__radio::after {
  transform: scale(1);
}

.option:has(input:checked) {
  border-color: var(--wine);
  background: rgba(109, 31, 44, 0.035);
}

.option__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.option__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.option__meta {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.5;
}

.option__price {
  margin-left: auto;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  white-space: nowrap;
}

.option--disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout__summary {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.checkout__summary h2 {
  font-size: 26px;
  margin-bottom: 6px;
}

.checkout__summary > p {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.checkout-items {
  display: grid;
  gap: 0;
  max-height: 330px;
  overflow-y: auto;
  margin-bottom: 8px;
}

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

.checkout-item img {
  width: 54px;
  height: 68px;
  object-fit: cover;
  background: var(--sand);
  border-radius: 2px;
}

.checkout-item__name {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.15;
}

.checkout-item__meta {
  margin-top: 3px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.checkout-item__price {
  font-family: var(--serif);
  font-size: 16px;
  white-space: nowrap;
}

.checkout-totals {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  font-size: 12.5px;
  color: var(--muted);
}

.checkout-total-row b {
  color: var(--ink);
  font-weight: 600;
}

.checkout-grand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.checkout-grand span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.checkout-grand b {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
}

.checkout__summary .btn {
  width: 100%;
  margin-top: 20px;
}

.checkout__summary .check {
  margin-top: 14px;
  font-size: 10.5px;
}

.checkout__security {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  font-size: 10px;
  line-height: 1.55;
  color: var(--muted);
}

.checkout__security svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--wine);
}

.checkout-empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px;
  border: 1px solid var(--line);
  background: var(--card);
}

.checkout-empty h2 {
  font-size: 30px;
}

.checkout-success {
  display: none;
  max-width: 720px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 2px;
}

.checkout-success.is-open {
  display: block;
}

.checkout-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--wine);
}

.checkout-success h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  margin-bottom: 12px;
}

.checkout-success p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.checkout-success__number {
  display: inline-block;
  margin: 18px 0;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
}

.checkout-success__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.checkout__submit {
  width: 100%;
  margin-top: 22px;
}

.check--consent {
  font-size: 12px;
}

@media (max-width: 1024px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .checkout__summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 720px) {
  .cookie__in {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .cookie__actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }

  .cookie__actions .btn {
    width: 100%;
  }

  .cookie__more {
    font-size: 9px;
  }

  .legal-aside {
    grid-template-columns: 1fr;
  }

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

  .checkout__head p {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


@media (min-width: 1025px) {
  .pdp__price small {
    font-size: 11px;
  }

  .cart-btn {
    font-size: 11px;
  }

  .prod-card__tag {
    font-size: 9.5px;
  }

  .hero__stat span {
    font-size: 10.5px;
  }
}
