@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --card: #ffffff;
  --card-alt: #ffffff;
  --text: #1a1714;
  --muted: #4e4a46;
  --line: #e4e0da;
  --accent: #1a1714;
  --accent-dark: #000000;
  --brand-bronze: #1a1714;
  --shadow: 0 2px 20px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.10);
  --radius: 0px;
  --radius-sm: 0px;
  --container: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 17px; }

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  letter-spacing: 0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select, input { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ——— HEADER ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 0;
}
.branding {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}
.branding-wordmark-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  opacity: 0.9;
}
.branding-wordmark-row .brand-wordmark {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.brand-wordmark {
  width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
  transform: scaleX(0.85);
  transform-origin: left center;
  filter: brightness(0);
}
.brand-mark {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer .brand-mark {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  letter-spacing: 0.18em;
}
.text-brand-inline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.1em;
}
.branding-tagline {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}
.header-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  align-items: center;
}
.header-actions .pill,
.header-actions .cart-toggle {
  white-space: nowrap;
  padding: 7px 14px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ——— BUTTONS & PILLS ——— */
.pill,
.button,
.button-secondary,
.cart-toggle {
  border-radius: 0;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.22s ease;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  font-family: 'Jost', sans-serif;
}
.button,
.cart-toggle {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.button:hover,
.cart-toggle:hover {
  background: #333;
  border-color: #333;
}
.button-secondary:hover,
.pill:hover {
  background: var(--text);
  color: #fff;
}
.filters .pill.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}

/* ——— HERO ——— */
.hero { padding: 60px 0 8px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.hero-card,
.panel,
.product-card,
.cart-panel,
.review-card,
.summary-card,
.not-found-card,
.category-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.hero-card {
  padding: 44px;
  border: none;
  background: var(--card-alt);
}
.hero-card--about {
  position: relative;
  overflow: hidden;
}
.hero-about-inner { position: relative; z-index: 1; }
.hero-card--about .hero-about-inner p {
  max-width: none;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--muted);
}
.hero-about-bg { display: none; }
@media (min-width: 681px) {
  .hero-card--about .hero-about-inner {
    padding-bottom: clamp(110px, 22vw, 230px);
  }
  .hero-about-bg {
    display: block;
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: clamp(150px, 36%, 290px);
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background-color: var(--card-alt);
    background-image: url('../img/about-lifestyle.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }
}
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}
.hero p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 26px;
  max-width: 55ch;
  line-height: 1.78;
}
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-side { display: grid; gap: 16px; }

/* ——— SUMMARY CARDS ——— */
.summary-card { padding: 26px; }
.summary-card h3, .panel-title {
  margin: 0 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
}
.home-reviews-list { display: grid; gap: 10px; }
.summary-card--reviews .review-card--compact,
.product-reviews-aside .review-card--compact {
  padding: 13px 15px;
  font-size: 0.92rem;
  box-shadow: none;
  border: 1px solid var(--line);
}
.summary-card--reviews .review-card--compact p,
.product-reviews-aside .review-card--compact p { margin: 0.3em 0 0; }
.summary-card--reviews .review-card--compact .review-head,
.product-reviews-aside .review-card--compact .review-head { margin-bottom: 8px; }
.summary-card--reviews .review-meta,
.product-reviews-aside .review-meta { margin-top: 9px; font-size: 0.84rem; }
.summary-card--reviews .review-meta a,
.product-reviews-aside .review-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.summary-card--cart-preview .home-cart-preview-meta {
  margin: 0 0 10px; min-height: 1.2em; font-size: 1rem; color: var(--muted);
}
.home-cart-preview-scroll {
  max-height: min(260px, 38vh);
  overflow-y: auto;
  margin: 0 0 12px;
  padding-right: 4px;
  scrollbar-gutter: stable;
}
.home-cart-preview-empty {
  margin: 0; padding: 6px 0 10px; font-size: 1rem; color: var(--muted);
}
.home-cart-preview-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 1rem;
}
.home-cart-preview-row:last-child { border-bottom: 0; }
.home-cart-preview-thumb {
  width: 48px; height: 48px; flex-shrink: 0;
  overflow: hidden; background: var(--card-alt);
}
.home-cart-preview-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.home-cart-preview-main {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.home-cart-preview-name { font-weight: 500; line-height: 1.3; }
.home-cart-preview-opts,
.home-cart-preview-line { font-size: 0.81rem; color: var(--muted); }
.home-cart-preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.summary-card--cart-preview .home-cart-preview-cta {
  display: inline-flex; justify-content: center; flex: 1 1 200px; box-sizing: border-box;
}

/* ——— SECTIONS ——— */
.metric {
  font-size: 2rem; font-weight: 300;
  font-family: 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 6px; color: var(--text);
}
.section { padding: 8px 0 28px; }
.section-header {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: end;
  gap: 16px; margin-bottom: 22px;
}
.section-header h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: 0.04em;
}
.section-header p {
  margin: 8px 0 0; color: var(--muted); max-width: 60ch;
  font-size: 1rem; line-height: 1.72;
}
.section-header--filters-below {
  flex-direction: column; align-items: flex-start;
  justify-content: flex-start; gap: 14px;
}
.section-header--filters-below .filters { width: 100%; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* ——— PRODUCT GRID ——— */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

[data-related-grid] {
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  width: fit-content;
  max-width: 100%;
}
[data-related-grid] .product-card-media {
  max-height: 200px;
}
.product-card {
  overflow: hidden; display: flex; flex-direction: column;
  height: 100%; min-height: 0; background: #fff; border: none;
  transition: box-shadow 0.3s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-hover); position: relative; z-index: 2;
}
.product-card-media {
  position: relative; aspect-ratio: 3/4; flex-shrink: 0;
  background: var(--card-alt); overflow: hidden; display: block;
}
.product-card-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  opacity: 0; transition: opacity 0.3s ease-out, transform 0.5s ease;
}
.product-card-media img.is-active { opacity: 1; }
.product-card:hover .product-card-media img.is-active { transform: scale(1.04); }
.card-gallery-dots {
  position: absolute; inset: auto 0 10px;
  display: flex; justify-content: center; gap: 5px;
  padding: 0 0 4px; pointer-events: none;
}
.card-gallery-dot {
  pointer-events: auto; border: 0; width: 6px; height: 6px;
  flex: 0 0 6px; display: block; background: rgba(255,255,255,0.55);
  cursor: pointer; transition: background-color 0.2s ease;
}
.card-gallery-dot:hover,
.card-gallery-dot.is-active { background: #fff; }
.product-card-body {
  display: flex; flex-direction: column; gap: 10px;
  padding: 18px 20px 22px; flex: 1; min-height: 0;
}
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  background: transparent; color: var(--muted);
  border: 1px solid var(--line); border-radius: 0;
  padding: 3px 8px; font-size: 0.69rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.badge--collection {
  background: transparent; border: 1px solid var(--line);
  color: var(--text); font-weight: 500; letter-spacing: 0.08em;
  padding: 4px 10px; font-size: 0.69rem; text-transform: uppercase;
}
.product-card h3, .product-title {
  margin: 0; font-size: 1rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400; letter-spacing: 0.03em; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
}
.card-price {
  font-family: 'Jost', sans-serif; font-size: 1rem; font-weight: 400;
  color: var(--text); letter-spacing: 0.02em;
}
.card-dims { display: none; }
.product-card p, .muted { margin: 0; color: var(--muted); font-size: 1rem; }
.product-card-body > p {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
  line-height: 1.62; font-size: 0.95rem; color: var(--muted);
}
.price-row {
  display: flex; justify-content: space-between;
  align-items: end; gap: 10px; margin-top: auto;
}
.product-card .price-row > .muted,
[data-product-dimensions] { white-space: pre-line; font-size: 0.79rem; }
.price {
  display: inline-flex; align-items: baseline; flex-wrap: wrap;
  gap: 6px; font-size: 1.15rem; font-weight: 400;
  font-family: 'Jost', sans-serif; letter-spacing: 0.02em;
}
.price-old,
.product-price-old {
  color: var(--muted); font-size: 0.8em; font-weight: 400;
  text-decoration: line-through; text-decoration-thickness: 1px;
}
.price-current,
.product-price-current { color: var(--text); }
.rating { color: var(--muted); font-size: 0.84rem; }
.card-actions {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 12px;
}
.card-actions > * { flex: 1; text-align: center; }
.product-card .card-actions .button,
.product-card .card-actions .button-secondary {
  padding: 8px 12px; font-size: 0.71rem; letter-spacing: 0.1em;
}
.notice {
  padding: 15px 18px; border: 1px solid var(--line);
  background: var(--card-alt); color: var(--muted); font-size: 0.97rem;
}

/* ——— FOOTER ——— */
.footer {
  padding: 24px 0 28px;
  border-top: 1px solid var(--line);
  background: #f7f5f2;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
/* Покупателям: ссылки в 2 колонки */
.footer-grid > div:last-child p {
  columns: 2;
  column-gap: 14px;
}

/* ——— PRODUCT PAGE ——— */
.product-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; padding: 32px 0 16px; align-items: start;
}
.product-media-stack {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
}
.product-reviews-aside {
  border: 0; background: transparent; box-shadow: none; padding: 0;
}
.product-reviews-aside__title {
  margin: 0 0 12px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}
.product-panel {
  padding: 0; background: transparent; border: none; box-shadow: none;
}
.product-panel.product-media { padding: 0; overflow: hidden; }
.product-panel.product-content { padding: 0; }
.product-gallery { position: relative; display: grid; gap: 0; }
.product-gallery-main {
  overflow: hidden; background: var(--card-alt); min-height: 260px;
}
@media (min-width: 900px) {
  .product-gallery-main { min-height: 420px; }
}
.product-gallery-thumbs {
  position: absolute; inset: auto 0 10px;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.product-gallery-thumb {
  pointer-events: auto; border: 0; padding: 0; cursor: pointer;
  width: 7px; height: 7px; flex-shrink: 0;
  background: rgba(255,255,255,0.55);
  transition: background-color 0.2s ease;
}
.product-gallery-thumb:hover,
.product-gallery-thumb.is-active { background: #fff; transform: none; }
.gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.75); color: #333;
  font-size: 28px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0; z-index: 10;
  transition: background 0.2s ease, opacity 0.2s ease;
  opacity: 0.85;
}
.gallery-arrow:hover { background: rgba(255,255,255,0.95); opacity: 1; }
.gallery-arrow--prev { left: 10px; }
.gallery-arrow--next { right: 10px; }
.product-content { display: flex; flex-direction: column; gap: 18px; }
.product-collection-badge { margin-top: 0; }
.product-title--page {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.1; margin: 0; color: var(--text); letter-spacing: 0.01em;
}
.product-story-inline {
  padding: 20px 22px; border: 1px solid var(--line);
  background: var(--card-alt); display: grid; gap: 10px;
}
.product-story-inline__title {
  margin: 0; font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.08rem; font-weight: 500; color: var(--text); letter-spacing: 0.05em;
}
.product-story-inline__tagline {
  margin: 0; font-size: 0.97rem; line-height: 1.65; color: var(--muted);
}
.product-story-inline__text {
  margin: 0; font-size: 1rem; line-height: 1.78; color: var(--muted); max-width: 60ch; text-align: justify;
}
.product-price-hero {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding: 14px 0 2px; margin-top: 4px;
}
.product-price-hero::before {
  content: "Цена"; font-size: 0.82rem; color: var(--muted);
  font-family: 'Jost', sans-serif; letter-spacing: 0.04em;
}
.product-price-hero__amount {
  font-family: 'Jost', sans-serif;
  font-size: 1.15rem;
  font-weight: 500; color: var(--text); letter-spacing: 0.02em;
}
.product-price-old { font-size: 0.8em; font-weight: 400; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.product-price-hero__meta { display: none; }
.product-price-hero__rating { display: none; }
.product-rating-stars { margin-right: 3px; }
.product-rating-score { color: var(--text); }
.product-price-hero__reviews { display: none; }
.product-price-hero__sep { display: none; }
.product-price-hero__stock { display: none; }
.option-field { display: grid; gap: 12px; }
.option-field__label {
  font-weight: 500; font-size: 0.76rem; color: var(--text);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.option-chips-scroll { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip {
  border: 1px solid var(--line); background: transparent;
  color: var(--text); padding: 10px 16px; font-size: 0.84rem;
  cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.03em;
}
.option-chip:hover { border-color: var(--text); }
.option-chip.is-active {
  background: var(--text); border-color: var(--text); color: #fff;
}
.color-swatches { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.color-swatch {
  width: 36px; height: 36px; border: 1px solid var(--line);
  padding: 3px; cursor: pointer; background: #fff;
  transition: border-color 0.2s ease; border-radius: 0;
}
.color-swatch__inner {
  display: block; width: 100%; height: 100%; background: var(--swatch);
}
.color-swatch:hover { border-color: var(--text); }
.color-swatch.is-active { border-color: var(--text); border-width: 2px; }
.select {
  width: 100%; border: 1px solid var(--line); padding: 12px 14px; background: #fff;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: ''; position: absolute; right: 16px; top: 50%;
  width: 7px; height: 7px;
  border-right: 1px solid var(--muted); border-bottom: 1px solid var(--muted);
  transform: translateY(-60%) rotate(45deg); pointer-events: none;
}
.select--premium {
  appearance: none; padding-right: 40px;
  border-color: var(--line); background-color: #fff;
}
.product-specs-section__label,
.materials-block__label {
  display: block; font-weight: 500; font-size: 0.76rem;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; color: var(--text);
}
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  width: fit-content; max-width: 100%;
}
.spec-card { padding: 16px 14px; background: #fff; display: grid; gap: 6px; min-height: 72px; }
.spec-card__label {
  font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}
.spec-card__value {
  font-family: 'Jost', sans-serif;
  font-size: 1rem; font-weight: 400; color: var(--text); line-height: 1.35;
}
.materials-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.materials-list li {
  padding: 7px 14px; border: 1px solid var(--line);
  font-size: 0.84rem; color: var(--muted); letter-spacing: 0.03em;
}
.product-cta-row { display: grid; gap: 10px; margin-top: 4px; }
.button--cta-primary {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 16px 24px; font-size: 0.78rem;
  font-weight: 400; letter-spacing: 0.16em; box-shadow: none;
}
.button--cta-primary:hover { box-shadow: none; background: #2d2a27; border-color: #2d2a27; }
.button-secondary--cart {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; text-align: center; background: transparent;
  border-color: var(--line); color: var(--muted);
  font-weight: 400; padding: 14px 18px; box-shadow: none;
}
.button-secondary--cart:hover {
  background: transparent; color: var(--text);
  border-color: var(--text); box-shadow: none;
}
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
  width: fit-content; max-width: 100%;
}
.trust-strip__item {
  padding: 14px 12px; background: var(--card-alt);
  font-size: 0.77rem; line-height: 1.5; color: var(--muted);
}
.trust-strip__item strong {
  display: block; font-size: 0.75rem; color: var(--text);
  font-weight: 500; letter-spacing: 0.06em; margin-bottom: 3px; text-transform: uppercase;
}
.cart-panel,
.panel { padding: 26px; border: 1px solid var(--line); }
.product-page-image { background: var(--card-alt); width: 100%; height: auto; }
.info-list { margin: 0; padding-left: 18px; color: var(--muted); font-size: 0.97rem; line-height: 1.82; }

/* ——— REVIEWS ——— */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { padding: 20px; border: 1px solid var(--line); background: #fff; }
.review-head {
  display: flex; justify-content: space-between;
  gap: 10px; margin-bottom: 10px; align-items: center;
}

/* ——— CART ——— */
.cart-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; }
.cart-items {
  display: grid; gap: 1px; background: var(--line);
  max-height: min(560px, 62vh); overflow-y: auto;
  padding-right: 6px; scrollbar-gutter: stable;
}
.cart-item {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 16px; align-items: center; padding: 16px; background: #fff;
}
.cart-item-thumb {
  width: 80px; height: 80px; flex-shrink: 0;
  overflow: hidden; background: var(--card-alt);
}
.cart-item-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block;
}
.qty-controls {
  display: inline-flex; align-items: center; border: 1px solid var(--line); overflow: hidden;
}
.qty-controls button {
  border: 0; background: #fff; padding: 8px 12px;
  cursor: pointer; transition: background 0.2s;
}
.qty-controls button:hover { background: var(--card-alt); }
.qty-controls span { padding: 0 12px; font-size: 0.9rem; }
.cart-empty { padding: 40px 28px; text-align: center; color: var(--muted); }
.cart-empty-actions {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px;
}
.cart-empty-actions .button,
.cart-empty-actions .button-secondary { flex: 1 1 200px; text-align: center; }
.cart-checkout-block {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line);
}
.cart-history-layout {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 22px; align-items: start;
}
.cart-history-panel {
  align-self: start; height: min(380px, 39vh); display: flex; flex-direction: column;
}
.cart-history-panel [data-order-history] {
  flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; scrollbar-gutter: stable;
}
.order-history-list { display: grid; gap: 8px; }
.order-history-card {
  border: 1px solid var(--line); padding: 14px; background: #fff;
}
.order-history-card p { margin: 0 0 4px; font-size: 0.9rem; }
.order-history-card__meta { font-size: 0.82rem; color: var(--muted); }
.order-history-card__items {
  margin: 6px 0 0; padding-left: 16px; color: var(--muted); font-size: 0.86rem;
}
.section-header--cart-toolbar .cart-toolbar {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: flex-end; gap: 12px 16px;
}
.cart-clear-btn { padding: 7px 14px; font-size: 0.78rem; }
.cart-status { font-size: 0.9rem; color: var(--muted); }

/* ——— BREADCRUMBS ——— */
.breadcrumbs {
  color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap;
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding-top: 20px;
}
.not-found-card { padding: 34px; border: 1px solid var(--line); margin: 28px 0 12px; }
.not-found-card__lead { margin: 0 0 1.1rem; font-size: 1.1rem; line-height: 1.65; color: var(--muted); }

/* ——— GUIDES ——— */
.guide-page main.section,
main.section[data-product-root] { padding-top: 22px; }
.article-shell { padding-bottom: 48px; }
.breadcrumbs--guide { padding-top: 0; margin-bottom: 12px; font-size: 0.76rem; }
.breadcrumbs-current { color: var(--text); }

/* ——— FAQ ——— */
.faq-page .faq-intro { margin-bottom: 10px; }
.faq-accordion {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 8px; border: 1px solid var(--line);
}
.faq-accordion details {
  border-bottom: 1px solid var(--line); background: var(--card); box-shadow: none;
}
.faq-accordion details:last-child { border-bottom: 0; }
.faq-accordion summary {
  cursor: pointer; padding: 18px 24px; font-weight: 400; font-size: 0.97rem;
  color: var(--text); list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 14px; letter-spacing: 0.02em;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: '+'; flex-shrink: 0; font-weight: 300; color: var(--muted);
  font-size: 1.2rem; line-height: 1;
}
.faq-accordion details[open] summary::after { content: '−'; }
.faq-accordion .faq-answer {
  padding: 0 24px 20px; margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.78;
}
.faq-cta {
  margin-top: 30px; padding: 24px 28px; border: 1px solid var(--line); background: var(--card-alt);
}
.faq-cta h2 {
  margin: 0 0 10px; font-size: 1.2rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
}
.faq-cta p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 0.92rem; }

/* ——— CARDS ——— */
.card { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.card--pad { padding: 26px; }

/* ——— ARTICLE / GUIDE ——— */
.article-hero {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: 20px; align-items: stretch; margin-bottom: 30px;
}
.article-hero__copy {
  padding: 32px 36px; display: flex; flex-direction: column;
  gap: 16px; background: var(--card-alt);
}
.article-hero__copy h1 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300; font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1; color: var(--text); letter-spacing: 0.01em;
}
.article-hero__copy > p {
  margin: 0; font-size: 0.98rem; line-height: 1.78; color: var(--muted); max-width: 55ch;
}
.article-hero__media {
  display: flex; align-items: center; justify-content: center;
  background: var(--card-alt); overflow: hidden;
}
.article-hero__media img {
  width: 100%; max-width: min(100%, 480px);
  height: clamp(240px, 48vw, 440px); object-fit: cover; object-position: center;
}
.guide-page .article-hero__media.card { border: none; box-shadow: none; background: transparent; padding: 0; }
.guide-page .article-hero__media img { max-width: 100%; }
.eyebrow {
  display: block; font-size: 0.69rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.article-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; align-items: start;
}
.article-content h2 {
  margin: 30px 0 14px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400; font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  color: var(--text); letter-spacing: 0.02em;
}
.article-content > section:first-child h2 { margin-top: 0; }
.article-content section p { margin: 0 0 13px; line-height: 1.78; color: var(--muted); font-size: 0.96rem; }

.comparison-grid,
.fact-grid,
.mini-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 14px;
}
.comparison-card, .note-card { padding: 20px; background: #fff; }
.fact-card { padding: 20px; background: var(--card-alt); }
.comparison-card h3, .fact-card h3, .note-card h3 {
  margin: 0 0 8px; font-size: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; color: var(--text);
}
.comparison-card p, .fact-card p, .note-card p {
  margin: 0; font-size: 0.92rem; line-height: 1.62; color: var(--muted);
}

.bullet-list { margin: 10px 0 0; padding-left: 1.2rem; color: var(--muted); line-height: 1.82; font-size: 1rem; }
.bullet-list li { margin-bottom: 8px; }
.callout { margin-top: 4px; padding: 17px 20px; background: var(--card-alt); border: 1px solid var(--line); color: var(--muted); line-height: 1.72; font-size: 1rem; }
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px; margin-top: 34px;
  padding: 24px 28px; background: var(--card-alt); border: 1px solid var(--line); box-shadow: none;
}
.cta-strip h3 {
  margin: 8px 0 0; font-size: 1.1rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
  color: var(--text); letter-spacing: 0.04em;
}
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sidebar-stack { display: flex; flex-direction: column; gap: 20px; }
.sidebar-stack .section-heading__title { margin: 8px 0 0; font-size: 1.2rem; }
.quick-pick h3 {
  margin: 0 0 10px; font-size: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; color: var(--text);
}
.quick-pick p { margin: 0; font-size: 0.97rem; line-height: 1.62; color: var(--muted); }
.link-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.link-list a {
  color: var(--text); text-decoration: underline;
  text-decoration-color: var(--line); text-underline-offset: 3px;
  font-size: 0.97rem; transition: text-decoration-color 0.2s;
}
.link-list a:hover { text-decoration-color: var(--text); }
.section-heading {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: flex-end; gap: 16px; margin-bottom: 22px;
}
.section-heading__title {
  margin: 6px 0 0; font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
  color: var(--text); letter-spacing: 0.02em;
}
.section-heading__lead { max-width: 42ch; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

.guide-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px;
}
.guide-card {
  display: flex; flex-direction: column; overflow: hidden;
  text-decoration: none; color: inherit;
  transition: box-shadow 0.3s ease; border: 1px solid var(--line);
}
.guide-card:hover { transform: none; box-shadow: var(--shadow-hover); }
.guide-card__image {
  aspect-ratio: 16/10; background: var(--card-alt); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.guide-card__image img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  transition: transform 0.5s ease;
}
.guide-card:hover .guide-card__image img { transform: scale(1.04); }
.guide-card__body {
  padding: 20px 22px 22px; display: flex; flex-direction: column;
  gap: 8px; flex: 1; background: #fff;
}
.guide-card__title {
  margin: 0; font-size: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400;
  color: var(--text); letter-spacing: 0.03em;
}
.guide-card__text { margin: 0; font-size: 1rem; line-height: 1.62; color: var(--muted); flex: 1; }
.guide-card__meta {
  font-size: 0.71rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-top: 4px;
}

/* ——— TABLES ——— */
.table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 520px; }
.compare-table th,
.compare-table td {
  padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line);
}
.compare-table th {
  background: var(--card-alt); font-weight: 500; color: var(--text);
  font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td { color: var(--muted); line-height: 1.62; }

/* ——— CHECKOUT MODAL ——— */
.checkout-modal-open { overflow: hidden; }
.checkout-modal-backdrop {
  position: fixed; inset: 0; background: rgba(26,23,20,0.52);
  display: grid; place-items: center; z-index: 120; padding: 16px;
}
.checkout-modal {
  width: min(560px, 100%); max-height: min(90vh, 780px); overflow: auto;
  background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow-hover); padding: 28px 26px; position: relative;
}
.checkout-modal__title {
  margin: 0 36px 16px 0; font-size: 1.3rem;
  font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 400; letter-spacing: 0.04em;
}
.checkout-modal__order-number { margin: -4px 0 16px; font-size: 0.9rem; color: var(--muted); }
.checkout-modal__close {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  width: 30px; height: 30px; cursor: pointer;
  position: absolute; top: 16px; right: 16px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.checkout-form { display: grid; gap: 14px; }
.checkout-form__field { display: grid; gap: 6px; }
.checkout-form__field > span,
.checkout-form__fieldset legend {
  font-size: 0.76rem; color: var(--text); font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.checkout-form__field input,
.checkout-form__field textarea {
  border: 1px solid var(--line); padding: 11px 13px;
  background: #fff; color: var(--text);
  transition: border-color 0.2s; outline: none;
}
.checkout-form__field input:focus,
.checkout-form__field textarea:focus { border-color: var(--text); }
.checkout-form__field textarea { resize: vertical; }
.checkout-form__fieldset { border: 1px solid var(--line); padding: 12px 14px; margin: 0; }
.checkout-form__fieldset label { display: block; color: var(--muted); margin-top: 8px; font-size: 0.9rem; }
.checkout-form__fieldset label:first-of-type { margin-top: 2px; }
.checkout-form__total { margin: 2px 0 0; font-size: 0.95rem; }
.checkout-form__error { margin: 0; color: #8b2e2e; font-size: 1rem; }
.checkout-form__submit { width: 100%; justify-content: center; }

.hidden { display: none !important; }

/* ——— RESPONSIVE ——— */
@media (max-width: 1024px) {
  .hero-grid,
  .product-layout,
  .cart-history-layout,
  .cart-layout,
  .footer-grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .article-hero { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .comparison-grid,
  .fact-grid,
  .mini-grid { grid-template-columns: 1fr; }
  .cart-history-panel { height: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* ——— HAMBURGER BUTTON ——— */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-burger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-burger--open .nav-burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger--open .nav-burger__line:nth-child(2) { opacity: 0; }
.nav-burger--open .nav-burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cart-mobile { display: none; }

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

@media (max-width: 680px) {
  /* Header: row with logo left, mobile controls right */
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    position: relative;
  }
  /* Резервируем место под кнопки гамбургера до загрузки JS — предотвращает мигание логотипа */
  .branding { max-width: calc(100% - 110px); }

  /* Hide desktop nav pills */
  .header-actions {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    gap: 4px;
    z-index: 200;
  }
  .header-actions.nav-open { display: flex; }
  .header-actions .pill {
    display: block;
    text-align: left;
    padding: 10px 12px;
    border-radius: 6px;
  }
  /* Hide cart pill inside dropdown (we show separate mobile cart link) */
  .header-actions .pill[href*="cart"] { display: none; }

  /* Show hamburger & mobile cart */
  .header-mobile-actions { display: flex; }
  .nav-burger { display: flex; }
  .nav-cart-mobile {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    padding: 6px 10px;
    background: var(--card-alt);
    border-radius: 20px;
  }

  /* Site header needs position for dropdown */
  .site-header { position: relative; }

  .hero { padding: 36px 0 22px; }
  .hero-card { padding: 26px 20px; }
  .summary-card { padding: 20px; }
  .product-panel.product-media { padding: 0; }
  .product-panel.product-content,
  .panel,
  .cart-panel,
  .not-found-card { padding: 20px; }
  .grid,
  .reviews-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 1fr; }
  .section { padding: 14px 0 30px; }

  /* Footer: compact */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid > * {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .footer-grid > *:last-child { border-bottom: none; }
  .footer p { margin: 4px 0 0; }
}

/* ——— HERO: текст + фото рядом ——— */
.hero-about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 480px;
}
.hero-about-text {
  padding: 52px 52px 52px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.hero-about-text h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.hero-about-text p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.82;
  margin: 0 0 16px;
}
.hero-about-text p:last-child { margin-bottom: 0; }
.hero-about-photo {
  overflow: hidden;
  background: var(--card-alt);
}
.hero-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ——— PHI-КЛУБ БАННЕР ——— */
.loyalty-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8e2dc;
  color: var(--text);
  padding: 18px 0;
}
.loyalty-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.loyalty-strip__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 16px;
  opacity: 0.6;
}
.loyalty-strip__text {
  font-size: 0.9rem;
  opacity: 0.8;
}
.loyalty-strip__btn {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 20px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.loyalty-strip__btn:hover {
  background: rgba(0,0,0,0.06);
  border-color: var(--text);
}
@media (max-width: 680px) {
  .loyalty-strip__inner { flex-direction: column; text-align: center; gap: 10px; }
  .loyalty-strip__title { display: none; }
}

/* ——— КАТЕГОРИИ ——— */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.category-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px 20px;
  background: #fff;
  text-decoration: none;
  color: var(--text);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 0.25s ease, color 0.25s ease;
  border: none;
}
.category-card-link:hover {
  background: var(--text);
  color: #fff;
}

/* ——— КАТАЛОГ: HERO И КАРТОЧКИ КАТЕГОРИЙ ——— */
.catalog-hero {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--line);
}
.catalog-hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.08;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.catalog-hero p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  max-width: 55ch;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 40px;
}
.catalog-cat-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--card-alt);
}
.catalog-cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
  filter: brightness(0.72);
}
.catalog-cat-card:hover img {
  transform: scale(1.05);
  filter: brightness(0.55);
}
.catalog-cat-card__body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 36px;
  z-index: 1;
}
.catalog-cat-card__name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.catalog-cat-card__link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.catalog-cat-card:hover .catalog-cat-card__link {
  color: #fff;
  border-color: rgba(255,255,255,0.9);
}
.catalog-cat-card--wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 6;
}
@media (max-width: 680px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-cat-card--wide { grid-column: 1; aspect-ratio: 4 / 3; }
  .catalog-cat-card__body { padding: 20px 22px; }
}

/* ——— КОРПОРАТИВНЫЕ ЗАКАЗЫ ——— */
.section--corporate {
  background: var(--card-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.corporate-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.corporate-split h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: 0.04em;
  margin: 0 0 8px;
}
.corporate-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.78;
  margin: 0;
}
.corporate-split > .button {
  flex-shrink: 0;
}

/* ——— RESPONSIVE: новые блоки ——— */
@media (max-width: 768px) {
  .hero-about-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-about-text {
    padding: 32px 24px;
  }
  .hero-about-photo {
    height: 280px;
  }
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Категории: 1 колонка на телефонах (после 768px-блока, чтобы перебить его) */
@media (max-width: 680px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* ——— ОТЗЫВЫ И РЕЙТИНГИ УДАЛЕНЫ ——— */
[data-reviews-section], .product-reviews-aside,
[data-product-rating-line], [data-product-reviews-link],
[data-meta-sep-a], [data-meta-sep-b],
.rating, .home-reviews-list,
.summary-card--reviews, .review-card { display: none !important; }

/* ——— АНИМАЦИЯ КАРТОЧЕК ——— */
.product-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Если JS не загрузился — карточки всё равно видны */
.no-js .product-card { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .product-card { opacity: 1; transform: none; transition: none; }
}

/* ——— ФОРМА ОБРАТНОЙ СВЯЗИ ——— */
.section--contact {
  background: var(--card-alt);
  border-top: 1px solid var(--line);
}
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 28px;
  align-items: center;
  padding: 16px 0;
}
.contact-text h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.15rem;
  margin: 0 0 6px;
  letter-spacing: 0.02em;
}
.contact-text p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0 0 4px;
}
.contact-text p:last-child { margin-bottom: 0; }
.contact-alt { font-size: 0.82rem !important; }
.contact-alt a { color: var(--text); }

.contact-form { display: flex; flex-direction: column; gap: 8px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-form__input {
  width: 100%; box-sizing: border-box;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form__input:focus { border-color: var(--text); }
.contact-form__input::placeholder { color: var(--muted); }
.contact-form__textarea { resize: vertical; min-height: 70px; }
.contact-form__submit { align-self: flex-start; }
.contact-form__status { font-size: 0.82rem; margin: 0; }
.contact-form__status--ok { color: #3a7a3a; }
.contact-form__status--error { color: #a33; }

@media (max-width: 768px) {
  .contact-split { grid-template-columns: 1fr; gap: 16px; padding: 20px 0; }
}
@media (max-width: 680px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ——— iOS PWA БАННЕР ——— */
.pwa-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid #e8e4e0;
  border-radius: 16px 16px 0 0;
  padding: 18px 18px 32px;
  z-index: 9999;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.10);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.pwa-banner--visible { transform: translateY(0); }

.pwa-banner__arrow {
  width: 12px; height: 12px;
  background: #fff;
  border-right: 1px solid #e8e4e0;
  border-bottom: 1px solid #e8e4e0;
  transform: rotate(45deg);
  position: absolute;
  bottom: -7px; right: 28px;
}

.pwa-banner__top {
  display: flex; align-items: center; gap: 12px; margin-bottom: 10px;
}
.pwa-banner__icon {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  border: 1px solid #e8e4e0;
}
.pwa-banner__info { flex: 1; }
.pwa-banner__info strong {
  display: block; font-size: 1rem; font-weight: 500; color: #111;
}
.pwa-banner__info span { font-size: 0.8rem; color: #888; }

.pwa-banner__close {
  background: #f0ece8; border: none; border-radius: 50%;
  width: 28px; height: 28px; font-size: 0.75rem; color: #555;
  cursor: pointer; flex-shrink: 0; line-height: 1;
}

.pwa-banner__text {
  margin: 0 0 8px; font-size: 1rem; color: #555; line-height: 1.5;
}
.pwa-banner__hint {
  margin: 0; font-size: 1rem; color: #333;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.pwa-banner__share-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border: 1px solid #bbb; border-radius: 5px;
  font-size: 1rem; color: #1a73e8;
}
