/* ═══════════════════════════════════════════════════════════
   ROBSERG — style.css
   Тёмная «вискарная» эстетика. Кавказская роскошь.
   Шрифты: Playfair Display (заголовки) + Raleway (текст)
═══════════════════════════════════════════════════════════ */

/* ─── CSS ПЕРЕМЕННЫЕ ────────────────────────────────────── */
:root {
  --clr-bg-dark:    #1a120b;
  --clr-bg-mid:     #231810;
  --clr-bg-light:   #f5efe6;
  --clr-bg-card:    #2c1f13;

  --clr-gold:       #c9963a;
  --clr-gold-light: #e4b96a;
  --clr-gold-pale:  #f0d9a8;
  --clr-amber:      #8b4513;

  --clr-text-dark:  #1a120b;
  --clr-text-light: #f5efe6;
  --clr-text-muted: #9e7e5e;

  --clr-wb:         #cb11ab;
  --clr-vk:         #0077ff;

  --radius:         8px;
  --radius-lg:      16px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-gold: 0 4px 20px rgba(201,150,58,0.25);

  --transition: 0.25s ease;
}

/* ─── СБРОС И БАЗА ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--clr-text-dark);
  background: var(--clr-bg-dark);
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── ТИПОГРАФИЯ ────────────────────────────────────────── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-text-dark);
  margin-bottom: 28px;
}
.section-title.centered { text-align: center; color: var(--clr-gold-pale); }

/* ─── КНОПКИ ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: 2px solid transparent; border-radius: var(--radius);
  font-family: 'Raleway', sans-serif; font-weight: 600; font-size: 14px;
  letter-spacing: 0.5px; cursor: pointer; transition: var(--transition); white-space: nowrap;
}
.btn-dark { background: var(--clr-bg-dark); color: var(--clr-gold-light); border-color: var(--clr-gold); }
.btn-dark:hover { background: var(--clr-gold); color: var(--clr-bg-dark); }

/* Кнопки с фоновыми картинками */
.btn-wb,
.btn-img {
  display: inline-flex;
  align-items: end;
  gap: 8px;
  width: clamp(220px, 26vw, 320px);
  max-width: 100%;
  height: 60px;
  padding: 0 2px;
  border: none;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.btn-wb { background-image: url('/static/images/ButtonWB.png'); }
.btn-img { background-image: url('/static/images/ButtonCatalog.png'); }
.btn-wb:hover,
.btn-img:hover {
  transform: scale(1.03);
  filter: brightness(1.08);
}
.btn-outline-gold { background: transparent; color: var(--clr-gold-light); border-color: var(--clr-gold); }
.btn-outline-gold:hover { background: var(--clr-gold); color: var(--clr-bg-dark); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.full-w { width: 100%; justify-content: center; }
/* .wb-badge { background: var(--clr-wb); color: white; padding: 2px 7px; border-radius: 4px; font-weight: 800; font-size: 12px; } */

/* ─── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(26,18,11,0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,150,58,0.2);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.header-left  { display: flex; align-items: center; gap: 12px; }

/* Логотип в хедере: по умолчанию спрятан, выезжает при скролле */
.header-logo {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(-12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.header-logo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.header-logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: 4px;
  transition: var(--transition);

  /* добавили */
  border: 1px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-gold-light);

  /* лёгкое внутреннее свечение */
  box-shadow: inset 0 0 8px rgba(245, 232, 210, 0.12);

  border-color: rgba(245, 232, 210, 0.18);

  background: rgba(245, 232, 210, 0.025);
}

.nav-question {
  display: flex;
  align-items: center;
  gap: 6px;

  color: var(--clr-gold);

  border: 1px solid rgba(201,150,58,0.3);

  margin-left: 8px;
}

.nav-question:hover {
  background: rgba(201,150,58,0.06);

  color: var(--clr-gold-light);

  /* внутреннее свечение */
  box-shadow: inset 0 0 10px rgba(245, 232, 210, 0.14);
}
.header-icons { display: flex; gap: 4px; }
.icon-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--clr-text-muted); cursor: pointer; transition: var(--transition); }
.icon-btn:hover { color: var(--clr-gold-light); border-color: rgba(201,150,58,0.3); }
.icon-img { width: 18px; height: 18px; object-fit: contain; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; filter: saturate(1) brightness(0.8); }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(90,18,11,0.3) 50%, rgba(26,18,11,0.55) 75%, rgba(26,18,11,0.92) 100%); }
.hero-content { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 72px; gap: 40px; width: 100%; }
.hero-left { flex: 1; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(38px, 6vw, 72px); font-weight: 900; line-height: 1.08; color: var(--clr-gold-pale); text-shadow: 0 2px 30px rgba(0,0,0,0.5); margin-bottom: 10px; }
.hero-sub { font-size: 16px; font-weight: 400; color: var(--clr-gold-light); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 32px; opacity: 0.85; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-start; align-items: center; margin-left: -52px;}
/* ─── ЛОГОТИП В HERO ────────────────────────────────────── */
.hero-logo-wrap {
  flex-shrink: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
/* Когда скроллим вниз — большой логотип плавно улетает/исчезает */
.hero-logo-wrap.scrolled {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  pointer-events: none;
}
.hero-logo-img {
  width: 150px;          /* ← размер большого логотипа в hero */
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}
.hero-logo-wrap:hover .hero-logo-img {
  transform: scale(1.04);
}

/* ─── О КОМПАНИИ ────────────────────────────────────────── */
/* Попытка Небольших изменений */
.purity-card {
  position: relative;

  background:
    linear-gradient(
      90deg,
      rgba(44,31,19,0.97) 0%,
      rgba(44,31,19,0.93) 50%,
      rgba(44,31,19,0.25) 66%,
      rgba(44,31,19,0.02) 88%,
      rgba(44,31,19,0) 100%
    ),
    url("images/MainAboutMe.png");

  background-size: cover;
  background-position: right -52px;

  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(201,150,58,0.2);

  min-height: 240px;

  display: flex;
  align-items: center;
}

.purity-body {
  padding: 30px;
  max-width: 60%;
}

.about { background: var(--clr-bg-light); padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-text .section-title { color: var(--clr-text-dark); }
.about-text p { color: #4a3520; margin-bottom: 16px; line-height: 1.8; }
/* .purity-card { background: var(--clr-bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid rgba(201,150,58,0.2); }
.purity-img { height: 200px; overflow: hidden; }
.purity-img img { width: 100%; height: 100%; object-fit: cover; }
.purity-body { padding: 28px; } */
.purity-body h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--clr-gold-pale); margin-bottom: 20px; line-height: 1.35; }
.purity-list { display: flex; flex-direction: column; gap: 16px; }
.purity-list li { display: flex; gap: 12px; font-size: 14px; color: #c4a882; line-height: 1.6; }
.purity-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.purity-icon.no  { background: rgba(180,60,60,0.25); color: #e07070; border: 1px solid rgba(180,60,60,0.4); }
.purity-icon.yes { background: rgba(60,150,80,0.25); color: #70d090; border: 1px solid rgba(60,150,80,0.4); }

/* ─── Адаптивность О Компании  ────────────────────────────────────────── */
@media (max-width: 900px) {

  .about {
    padding: 56px 0;
  }

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

  .purity-card {
    min-height: auto;

    background:
      linear-gradient(
        180deg,
        rgba(44,31,19,0.92) 0%,
        rgba(44,31,19,0.82) 45%,
        rgba(44,31,19,0.45) 100%
      ),
      url("images/MainAboutMe.png");

    background-size: cover;
    background-position: center;
  }

  .purity-body {
    max-width: 100%;
    padding: 24px;
  }

  .purity-body h3 {
    font-size: 17px;
    margin-bottom: 16px;
  }

  .purity-list li {
    font-size: 13px;
    line-height: 1.5;
  }

  .about-text p {
    font-size: 15px;
    line-height: 1.7;
  }
}

@media (max-width: 600px) {

  .about {
    padding: 44px 0;
  }

  .purity-body {
    padding: 20px;
  }

  .purity-body h3 br {
    display: none;
  }

  .purity-list {
    gap: 14px;
  }

  .purity-list li {
    gap: 10px;
    font-size: 12px;
  }

  .purity-icon {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
}

/* ─── ПРЕИМУЩЕСТВА ──────────────────────────────────────── */
.advantages { background: var(--clr-bg-dark); padding: 80px 0; border-top: 1px solid rgba(201,150,58,0.15); }
.adv-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 16px; }
.adv-card { background: var(--clr-bg-card); border: 1px solid rgba(201,150,58,0.15); border-radius: var(--radius-lg); padding: 28px 18px; text-align: center; transition: var(--transition); }
.adv-card:hover { border-color: var(--clr-gold); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.adv-icon img { width: 90px; height: 90px; object-fit: contain; display: block; margin: 0 auto; }
.adv-card h4 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--clr-gold-light); margin-bottom: 8px; line-height: 1.3; }
.adv-card p { font-size: 13px; color: var(--clr-text-muted); line-height: 1.55; }

/* ─── КАТАЛОГ ───────────────────────────────────────────── */
.catalog { background: var(--clr-bg-light); padding: 80px 0; }
.catalog .section-title { color: var(--clr-text-dark); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.product-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); transition: var(--transition); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.14); }
.product-img-wrap { position: relative; height: 200px; overflow: hidden; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-badge { position: absolute; top: 12px; left: 12px; background: var(--clr-gold); color: var(--clr-bg-dark); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.product-body { padding: 18px; }
.product-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--clr-text-dark); margin-bottom: 6px; }
.product-desc { font-size: 13px; color: #6b5540; margin-bottom: 16px; line-height: 1.55; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--clr-gold); }

/* Скелетоны */
.product-card.skeleton { pointer-events: none; }
.skeleton-img { height: 200px; background: linear-gradient(90deg, #e8dfd6 25%, #d5c8bc 50%, #e8dfd6 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-body { padding: 18px; }
.skeleton-line { height: 14px; border-radius: 4px; background: linear-gradient(90deg, #e8dfd6 25%, #d5c8bc 50%, #e8dfd6 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; margin-bottom: 10px; }
.skeleton-line.w50 { width: 50%; } .skeleton-line.w60 { width: 60%; } .skeleton-line.w70 { width: 70%; }
.skeleton-line.w75 { width: 75%; } .skeleton-line.w80 { width: 80%; } .skeleton-line.w85 { width: 85%; } .skeleton-line.w90 { width: 90%; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.catalog-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }

/* ─── КОНТАКТЫ ──────────────────────────────────────────── */
.contacts { background: var(--clr-bg-mid); padding: 80px 0; border-top: 1px solid rgba(201,150,58,0.15); }
.contacts .section-title { color: var(--clr-gold-pale); margin-bottom: 40px; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 24px; align-items: start; }
.contact-card { background: var(--clr-bg-card); border: 1px solid rgba(201,150,58,0.18); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
  min-height: 200px; /* Добавь нужную минимальную высоту */
  flex: 1; /* Растягивать до одинаковой высоты в контейнере */
  align-items: stretch;
}
.contact-logo { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: white; flex-shrink: 0; }
.contact-logo-img { width: 36px; height: 36px; object-fit: contain; }
.wb-bg  { background: var(--clr-wb); }
.vk-bg  { background: var(--clr-vk); }
.form-bg { background: linear-gradient(135deg, var(--clr-gold), var(--clr-amber)); font-size: 22px; }
.contact-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin: 0; /* Убрать отступы по умолчанию */
}
.contact-card p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin: 0; /* Убрать отступы по умолчанию */
  margin-top: auto; /* Прижать текст к низу если контента мало */
}
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 11px 16px; border: 1px solid rgba(201,150,58,0.25); border-radius: var(--radius); background: rgba(255,255,255,0.05); color: var(--clr-text-light); font-family: 'Raleway', sans-serif; font-size: 14px; transition: var(--transition); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(158,126,94,0.7); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--clr-gold); background: rgba(255,255,255,0.08); }
.contact-form textarea { resize: vertical; min-height: 90px; }

/* ─── FOOTER ────────────────────────────────────────────── */
.site-footer{
  background:#120a05;
  padding:92px 0 34px;
  border-top:1px solid rgba(201,150,58,.06);
  overflow:hidden;
}

/* ───────── TOP ───────── */

.footer-top{
  display:grid;
  grid-template-columns:
    1.25fr
    .9fr
    .9fr
    .9fr
    1.1fr;
  column-gap:78px;
  align-items:start;
  margin-bottom:72px;
}

/* ───────── BRAND ───────── */

.footer-logo{
  font-family:'Playfair Display',serif;
  font-size:34px;
  font-weight:800;
  color:#d89b3d;
  letter-spacing:.5px;
  margin-bottom:24px;
}

.footer-brand p{
  max-width:260px;
  color:#8d7458;
  line-height:2;
  font-size:14px;
  margin-bottom:34px;
}

.footer-socials{
  display:flex;
  gap:10px;
}

.footer-socials a{
  width:38px;
  height:38px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#d89b3d;
  font-size:13px;
  transition:.25s;
}

.footer-socials a:hover{
  border-color:rgba(201,150,58,.34);
  background:rgba(201,150,58,.05);
}

.social-icon-img { width: 48px; height: 48px; object-fit: contain; }

/* ───────── COLUMNS ───────── */

.footer-col,
.footer-contacts{
  padding-top:2px;
}

.footer-col h4,
.footer-contacts h4{
  font-family:'Playfair Display',serif;
  color:#fff1db;
  font-size:21px;
  font-weight:700;
  margin-bottom:34px;
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:22px;
}

.footer-col a{
  color:#95785c;
  font-size:15px;
  transition:.25s;
}

.footer-col a:hover{
  color:#e7c189;
}

/* ───────── CONTACTS ───────── */

.footer-contact{
  display:flex;
  gap:14px;
  margin-bottom:28px;
  color:#95785c;
  font-size:15px;
  line-height:1.9;
}

.footer-contact span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#d89b3d;
  margin-top:2px;
  font-size:15px;
}

.footer-contact-icon { width: 56px; height: 56px; object-fit: contain; }

.footer-btn{
  margin-top:10px;
  width:100%;
  height:56px;
  border-radius:12px;
  border:1px solid rgba(201,150,58,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#e6bf85;
  font-size:15px;
  font-weight:500;
  transition:.25s;
}

.footer-btn:hover{
  background:rgba(201,150,58,.06);
  border-color:rgba(201,150,58,.5);
}

/* ───────── FEATURES ───────── */

.footer-features{
  border:1px solid rgba(201,150,58,.10);
  border-radius:26px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
  margin-bottom:54px;
}

.footer-feature{
  padding:34px 30px 24px 4px;
  display:flex;
  align-items:flex-start;
  gap:18px;
  border-right:1px solid rgba(201,150,58,.06);
  min-height:180px;
}

.footer-feature:last-child{
  border-right:none;
}

.footer-feature-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:60px;
  color:#d89b3d;
}

.feature-icon-img { width: 200px; height: 200px; object-fit: contain; margin-top: -40px; margin-bottom: -40px; }

.footer-feature h5{
  color:#f1dcc0;
  font-size:18px;
  font-weight:700;
  margin-bottom:10px;
}

.footer-feature p{
  color:#866d52;
  line-height:1.8;
  font-size:14px;
}

/* ───────── BOTTOM ───────── */

.footer-bottom{
  border-top:1px solid rgba(201,150,58,.06);
  padding-top:30px;
  display:grid;
  grid-template-columns:
    1fr
    auto
    1fr;
  align-items:center;
}

.footer-copy{
  color:#705942;
  font-size:13px;
}

.footer-policy{
  display:flex;
  gap:38px;
  justify-content:center;
}

.footer-policy a{
  color:#82684d;
  font-size:13px;
  transition:.25s;
}

.footer-policy a:hover{
  color:#cda56d;
}

/* ───────── MOBILE ───────── */

@media (max-width:1100px){

  .footer-top{
    grid-template-columns:1fr 1fr;
    row-gap:50px;
  }

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

  .footer-feature:nth-child(2){
    border-right:none;
  }
}

@media (max-width:700px){
  .site-footer{
    padding:70px 0 28px;
  }
  .footer-top{
    grid-template-columns:1fr;
    row-gap:42px;
  }
  .footer-features{
    grid-template-columns:1fr;
  }
  .footer-feature{
    border-right:none;
    border-bottom:1px solid rgba(201,150,58,.06);
    min-height:auto;
  }
  .footer-feature:last-child{
    border-bottom:none;
  }
  .footer-bottom{
    grid-template-columns:1fr;
    gap:20px;
  }
  .footer-policy{
    justify-content:flex-start;
    flex-direction:column;
    gap:12px;
  }
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .form-card { grid-column: span 2; }
}
@media (max-width: 768px) {
  .main-nav .nav-link:not(.nav-question) { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .hero-content { flex-direction: column; align-items: flex-start; padding-bottom: 48px; }
  .hero-logo-wrap { align-self: center; margin-top: 20px; }
  .hero-logo-img  { width: 110px; }
  .header-logo img { height: 32px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .form-card { grid-column: span 1; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }

  .btn-wb,
  .btn-img {
    display: inline-flex;
    align-items: center;  /* ← вертикальное центрирование внутри кнопки */
    justify-content: end;
    width: min(100%, 320px);
    height: 56px;
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .btn { justify-content: center; }
  .adv-grid { grid-template-columns: 1fr; }
  .hero-logo-img { width: 90px; }

  .btn-wb,
  .btn-img {
    width: min(100%, 280px);
    height: 52px;
    padding: 0 18px;
    font-size: 14px;
    text-align: center;
  }
}

/* ─── FLASH СООБЩЕНИЯ ───────────────────────────────────── */
.flash {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.flash-success {
  background: rgba(60,150,80,0.2);
  color: #70d090;
  border: 1px solid rgba(60,150,80,0.35);
}
.flash-error {
  background: rgba(180,60,60,0.2);
  color: #e07070;
  border: 1px solid rgba(180,60,60,0.35);
}

/* ─── КОНТАКТЫ: 4-колоночная сетка ─────────────────────── */
.contacts-grid--4 {
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
}
/* Переопределяем форму — она больше не span 2 */
.contacts-grid--4 .form-card {
  grid-column: span 1;
}

/* МАКС логотип */
.max-bg {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ─── СПОСОБ СВЯЗИ — РАДИОКНОПКИ ────────────────────────── */
.contact-method {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-method__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-gold-light);
  letter-spacing: 0.3px;
}
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 6px 0;
}
/* Скрыть нативный input */
.radio-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}
/* Кастомный кружок */
.radio-custom {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(201,150,58,0.4);
  background: transparent;
  position: relative;
  transition: var(--transition);
}
.radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--clr-gold);
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
}
.radio-item input[type="radio"]:checked ~ .radio-custom {
  border-color: var(--clr-gold);
}
.radio-item input[type="radio"]:checked ~ .radio-custom::after {
  opacity: 1;
  transform: scale(1);
}
.radio-text {
  font-size: 13px;
  color: #c4a882;
  transition: var(--transition);
  user-select: none;
}
.radio-item:hover .radio-text { color: var(--clr-gold-light); }
.radio-item input[type="radio"]:checked ~ .radio-text { color: var(--clr-gold-light); font-weight: 600; }

/* Выпадающее поле времени созвона */
.cm-extra {
  display: none;
  flex-direction: column;
  gap: 4px;
  margin-left: 28px;
  margin-top: 2px;
  margin-bottom: 4px;
  animation: slideDown 0.2s ease;
}
.cm-extra.visible { display: flex; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cm-extra__input {
  padding: 9px 12px;
  border: 1px solid rgba(201,150,58,0.35);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  color: var(--clr-text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  color-scheme: dark;
}
.cm-extra__input:focus {
  outline: none;
  border-color: var(--clr-gold);
  background: rgba(255,255,255,0.08);
}
.cm-extra__hint {
  font-size: 11px;
  color: var(--clr-text-muted);
  padding-left: 2px;
}

/* ─── RESPONSIVE для 4 колонок ──────────────────────────── */
@media (max-width: 1200px) {
  .contacts-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
  .contacts-grid--4 .form-card {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .contacts-grid--4 {
    grid-template-columns: 1fr;
  }
  .contacts-grid--4 .form-card {
    grid-column: span 1;
  }
}

/* Catalog /*

/* ═══════════════════════════════════════════════════════════
   CATALOG PAGE — добавить в конец style.css
═══════════════════════════════════════════════════════════ */

/* ─── HERO КАТАЛОГА ─────────────────────────────────────── */
.cat-hero {
  position: relative;
  height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.cat-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cat-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ⬇ СМЕЩЕНИЕ ВЛЕВО: первое значение в % — горизонталь.
     0%   = слева, 50% = центр, 100% = справа.
     Чтобы сместить картинку ВЛЕВО → ставим значение МЕНЬШЕ 50% (например 35%). */
  object-position: 35%;

  /* ⬇ ОТДАЛЕНИЕ + плавность.
     scale(1) — без изменений, scale(0.95) — отдалить на 5%, scale(0.92) — сильнее. */
  transform: scale(1);
  transform-origin: center center;
  transition: transform .35s ease, filter .35s ease;

  /* ⬇ ЗАТЕМНЕНИЕ САМОЙ КАРТИНКИ.
     Было 0.55 (тёмно). 0.80 — заметно светлее. 1.0 — без затемнения. */
  filter: brightness(0.80) saturate(0.85);
}
.cat-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* ⬇ ВТОРОЙ СЛОЙ ЗАТЕМНЕНИЯ (градиент сверху-вниз).
     Было 0.2 → 0.75. Снизили примерно в 2 раза: 0.1 → 0.4.
     Первое число — прозрачность сверху, второе — снизу (там темнее, чтобы читался текст). */
  background: linear-gradient(
    to bottom,
    rgba(26,18,11,0.10) 0%,
    rgba(26,18,11,0.40) 100%
  );
  transition: background .35s ease;
}
.cat-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 40px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.cat-hero-text { flex: 1; }
/* Логотип в cat-hero — те же классы что и в главном hero */
.cat-hero-content .hero-logo-wrap {
  flex-shrink: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.cat-hero-content .hero-logo-wrap.scrolled {
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  pointer-events: none;
}
.cat-hero-content .hero-logo-img {
  width: 130px;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
  transition: transform 0.4s ease;
}
.cat-hero-content .hero-logo-wrap:hover .hero-logo-img {
  transform: scale(1.04);
}
.cat-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-bottom: 10px;
}
.cat-breadcrumb a { color: var(--clr-gold); transition: var(--transition); }
.cat-breadcrumb a:hover { color: var(--clr-gold-light); }
.cat-breadcrumb span { color: var(--clr-text-muted); }
.cat-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: var(--clr-gold-pale);
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.cat-hero-sub {
  font-size: 15px;
  color: var(--clr-gold-light);
  opacity: 0.85;
  line-height: 1.5;
}

/* ─── КАТАЛОГ: ОСНОВНАЯ СЕКЦИЯ ──────────────────────────── */
.catalog-page {
  background: var(--clr-bg-dark);
  padding: 48px 0 64px;
}

/* Тулбар */
.cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.cat-count {
  font-size: 14px;
  color: var(--clr-text-muted);
}
.cat-count b { color: var(--clr-gold-light); font-weight: 600; }
.cat-toolbar-right {
    width: 100%;
    justify-content: space-between;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cat-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--clr-text-muted);
}
.cat-select {
  background: var(--clr-bg-card);
  color: var(--clr-text-light);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e7e5e' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  flex: 1;
}
.cat-select:focus { outline: none; border-color: var(--clr-gold); }
.cat-select option { background: var(--clr-bg-card); }

/* Переключатель вид */
.cat-view-toggle { display: flex; gap: 4px; }
.view-btn {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius);
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.view-btn:hover, .view-btn.active {
  color: var(--clr-gold-light);
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.08);
}

/* ─── КАРТОЧКИ ТОВАРОВ (сетка) ──────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.cat-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.cat-card-img {
  position: relative;
  height: 190px;
  background: #231810;
  overflow: hidden;
}
.cat-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.05); }

.cat-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--clr-gold);
  color: var(--clr-bg-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.cat-card-body { padding: 16px; }

.cat-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 6px;
  line-height: 1.3;
}
.cat-card-desc {
  font-size: 12px;
  color: var(--clr-text-muted);
  line-height: 1.55;
  margin-bottom: 6px;
}
.cat-card-weight {
  font-size: 12px;
  color: rgba(158,126,94,0.6);
  margin-bottom: 14px;
}
.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cat-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-gold);
}
.cat-cart-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.35);
  border-radius: 50%;
  color: var(--clr-gold-light);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.cat-cart-btn:hover {
  background: var(--clr-gold);
  color: var(--clr-bg-dark);
  border-color: var(--clr-gold);
}

/* ─── БЕЙДЖ КОРЗИНЫ ────────────────────────────────────── */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clr-gold);
  color: var(--clr-bg-dark);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ─── ВИД СПИСОК ────────────────────────────────────────── */
.cat-grid--list {
  grid-template-columns: 1fr;
}
.cat-grid--list .cat-card {
  display: flex;
  flex-direction: row;
}
.cat-grid--list .cat-card-img {
  width: 160px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 0;
}
.cat-grid--list .cat-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
}
.cat-grid--list .cat-card-name  { font-size: 17px; margin-bottom: 4px; }
.cat-grid--list .cat-card-desc  { margin-bottom: 0; flex: 1; }
.cat-grid--list .cat-card-weight { margin-bottom: 0; }
.cat-grid--list .cat-card-footer { flex-direction: column; align-items: flex-end; gap: 8px; }

/* ─── ПУСТОЙ КАТАЛОГ ────────────────────────────────────── */
.cat-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 24px;
  color: var(--clr-text-muted);
  font-size: 15px;
}

/* ─── КНОПКА "ПОКАЗАТЬ ЕЩЁ" ────────────────────────────── */
.cat-load-more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.cat-load-more .btn {
  gap: 10px;
}

/* ─── ПРЕИМУЩЕСТВА (подвал каталога) ────────────────────── */
.cat-features {
  background: var(--clr-bg-mid);
  border-top: 1px solid rgba(201,150,58,0.15);
  padding: 36px 0;
}
.cat-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cat-feature-icon {
  font-size: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cat-feature h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold-light);
  margin-bottom: 4px;
}
.cat-feature p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.55;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .cat-hero { height: 220px; }
  .cat-hero-content { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cat-hero-content .hero-logo-wrap { align-self: center; margin-top: 0; }
  .cat-hero-content .hero-logo-img { width: 100px; }
  .cat-hero-bg img {
    object-position: 42% 55%;
    transform: scale(1); /* ПОИГРАТЬСЯ ДЛЯ ТЕЛЕФОНА */
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid--list .cat-card { flex-direction: column; }
  .cat-grid--list .cat-card-img { width: 100%; height: 180px; }
  .cat-grid--list .cat-card-body { flex-direction: column; align-items: flex-start; }
  .cat-grid--list .cat-card-footer { flex-direction: row; width: 100%; }
  .cat-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .cat-grid { grid-template-columns: 1fr !important; }
  .cat-toolbar { flex-direction: column; align-items: flex-start; }
  .cat-features-grid { grid-template-columns: 1fr; }
}

/* ─── СТАРЫЙ STICKY ЛОГОТИП (СПРАВА) — ОТКЛЮЧЁН ───────────
   Логотип теперь живёт в хедере + hero и анимируется между ними.
────────────────────────────────────────────────────────── */
.sticky-logo { display: none !important; }
@media (max-width: 768px) {
  .sticky-logo { display: none !important; }
}

/* ─── БУРГЕР-КНОПКА ─────────────────────────────────────── */
.burger-btn {
  display: none;          /* скрыт на ПК */
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 8px 7px;
  transition: var(--transition);
  flex-shrink: 0;
}
.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-gold-light);
  border-radius: 2px;
  transition: var(--transition);
}
.burger-btn:hover {
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.06);
}

@media (max-width: 768px) {
  .burger-btn { display: flex; }
}

/* ─── ЗАТЕМНЕНИЕ ФОНА ───────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}
.mobile-overlay.visible {
  display: block;
  background: rgba(0,0,0,0.55);
}

/* ─── БОКОВОЕ МЕНЮ (шторка) ─────────────────────────────── */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100dvh;
  z-index: 200;
  /* Чуть темнее чем --clr-bg-card (#2c1f13), но в той же палитре */
  background: #1e1409;
  border-right: 1px solid rgba(201,150,58,0.18);
  display: flex;
  flex-direction: column;
  /* Скрыт за левым краем */
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-drawer.open {
  transform: translateX(0);
}

/* Шапка меню: логотип + крестик */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(201,150,58,0.12);
  flex-shrink: 0;
}

.mobile-logo-link {
  display: flex;
  align-items: center;
}
.mobile-logo-img {
  /* ← Под ваш логотип: если он вытянутый — увеличьте width, уменьшите height */
  height: 48px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.mobile-drawer-close {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius);
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.mobile-drawer-close:hover {
  color: var(--clr-gold-light);
  border-color: var(--clr-gold);
}

/* Навигация в меню */
.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  gap: 2px;
  flex: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-text-muted);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--clr-gold-light);
  background: rgba(245,232,210,0.04);
  border-color: rgba(245,232,210,0.1);
}
.mobile-nav-question {
  color: var(--clr-gold);
  border-color: rgba(201,150,58,0.2);
  margin-top: 8px;
}
.mobile-nav-question:hover {
  background: rgba(201,150,58,0.06);
  border-color: rgba(201,150,58,0.35);
  color: var(--clr-gold-light);
}

/* Подвал меню — соцсети */
.mobile-drawer-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(201,150,58,0.12);
  flex-shrink: 0;
}


/* Отдельный CSS для страницы каталога */
/* ─── LAYOUT: сайдбар + основная область ────────────────── */
.cat-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
}
 
/* ─── САЙДБАР ───────────────────────────────────────────── */
.cat-sidebar {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 80px;   /* ниже sticky-хедера */
}
 
.cat-sidebar-block {
  padding: 20px 20px;
  border-bottom: 1px solid rgba(201,150,58,0.10);
}
.cat-sidebar-block:last-child {
  border-bottom: none;
}
 
.cat-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-gold-pale);
}
 
 
.cat-filter-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-gold-light);
}
 
.cat-filter-arrow {
  transition: transform 0.25s ease;
  color: var(--clr-gold);
}
.cat-filter-arrow.rotated {
  transform: rotate(180deg);
}
 
.cat-filter-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 200px;
  opacity: 1;
}
.cat-filter-body.collapsed {
  max-height: 0;
  opacity: 0;
}
 
/* ── Кастомный чекбокс ── */
.cat-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.cat-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cat-checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(201,150,58,0.4);
  background: transparent;
  position: relative;
  transition: var(--transition);
}
.cat-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid var(--clr-gold);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: var(--transition);
}
.cat-checkbox input[type="checkbox"]:checked ~ .cat-checkbox-custom {
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.12);
}
.cat-checkbox input[type="checkbox"]:checked ~ .cat-checkbox-custom::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}
.cat-checkbox-label {
  font-size: 14px;
  color: #c4a882;
  transition: var(--transition);
}
.cat-checkbox:hover .cat-checkbox-label {
  color: var(--clr-gold-light);
}
.cat-checkbox input[type="checkbox"]:checked ~ .cat-checkbox-label {
  color: var(--clr-gold-light);
  font-weight: 600;
}
 
/* ── Кнопка сброса ── */
.cat-reset-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(201,150,58,0.25);
  border-radius: var(--radius);
  color: var(--clr-text-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 14px;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
  justify-content: center;
}
.cat-reset-btn:hover {
  color: var(--clr-gold-light);
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.06);
}
.cat-reset-btn svg {
  transition: transform 0.4s ease;
}
.cat-reset-btn:hover svg {
  transform: rotate(-180deg);
}
 
/* ── Полезная информация ── */
.cat-sidebar-info {
  padding-top: 18px;
}
.cat-info-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 14px;
}
.cat-info-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-info-list li a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 10px;
  font-size: 13px;
  color: var(--clr-text-muted);
  border-radius: 6px;
  transition: var(--transition);
  line-height: 1.4;
}
.cat-info-list li a svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(158,126,94,0.5);
  transition: var(--transition);
}
.cat-info-list li a:hover {
  color: var(--clr-gold-light);
  background: rgba(201,150,58,0.07);
}
.cat-info-list li a:hover svg {
  color: var(--clr-gold);
  transform: translateX(2px);
}
 
/* ─── RESPONSIVE: сайдбар ───────────────────────────────── */
@media (max-width: 900px) {
  .cat-layout {
    grid-template-columns: 1fr !important;
  }
  .cat-sidebar {
    position: static !important;
    display: block !important;
    width: 100%;
  }
  .cat-sidebar-block:last-child {
    border-bottom: 1px solid rgba(201,150,58,0.10);
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .cat-sidebar {
    grid-template-columns: 1fr;
  }
}


/* ─── СЕКЦИЯ КОНТАКТОВ: иконки логотипов (WB, VK, MAX, конверт) ── */
.contact-card { background: var(--clr-bg-card); border: 1px solid rgba(201,150,58,0.18); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; flex: 1; align-items: stretch; }

.contact-logo-img { width: 56px; height: 56px; object-fit: contain; }

.contact-card-header { display: flex; align-items: center; gap: 16px; text-align: center; }
.contact-logo { width: 64px; height: 64px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: white; flex-shrink: 0; }

.contact-card h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--clr-gold-pale); margin: 0; }
.contact-card p { font-size: 13px; color: var(--clr-text-muted); line-height: 1.65; margin: 0; }

/* ─── КАРТОЧКА КОНТАКТА: вертикальный стек ─────────────── */
/* Было: gap между элементами работал нормально,
   но иконки не выравнивались по верху */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  /* убираем align-items: stretch чтобы иконка не растягивалась */
  align-items: flex-start;
}
 
/* ─── ФУТЕР: иконки рядом с контактными данными ─────────── */
/* Проблема: иконки 56×56 — слишком большой контейнер */
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  color: #95785c;
  font-size: 15px;
  line-height: 1.9;
}
 
/* Контейнер иконки в футере */
.footer-contact span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 4px;
}
 
/* Сама иконка футера */
.footer-contact-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
 
/* ═══════════════════════════════════════════════════════════
   КАРТОЧКИ: фиксированная нижняя часть
═══════════════════════════════════════════════════════════ */

/* Главная страница — catalog-grid */
.product-card {
  display: flex;
  flex-direction: column;
}
.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-desc {
  flex: 1;
}

/* Каталог — cat-card */
.cat-card {
  display: flex;
  flex-direction: column;
}
.cat-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cat-card-desc {
  flex: 1;
}
/* cat-card-weight прижимается вниз автоматически через flex */

/* ═══════════════════════════════════════════════════════════
   МОДАЛЬНОЕ ОКНО ТОВАРА
═══════════════════════════════════════════════════════════ */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 6, 3, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.product-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.product-modal {
  position: relative;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.25);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: row;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.28s ease;
}
.product-modal-overlay.active .product-modal {
  transform: translateY(0) scale(1);
}

/* Кнопка закрытия */
.product-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: 50%;
  color: var(--clr-gold-light);
  cursor: pointer;
  transition: var(--transition);
}
.product-modal-close:hover {
  background: rgba(201,150,58,0.2);
  border-color: var(--clr-gold);
}

/* Левая часть — фото */
.product-modal-img {
  flex-shrink: 0;
  width: 320px;
  min-height: 420px;
  background: #1a120b;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.product-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Правая часть — информация */
.product-modal-info {
  flex: 1;
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}

.product-modal-badge {
  display: inline-block;
  background: var(--clr-gold);
  color: var(--clr-bg-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.product-modal-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.25;
  margin-bottom: 8px;
}

.product-modal-short {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Выбор веса */
.product-modal-weight-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-gold-light);
  letter-spacing: 0.3px;
  margin-bottom: 10px;
}
.weight-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.weight-btn {
  padding: 7px 16px;
  border: 1px solid rgba(201,150,58,0.35);
  border-radius: var(--radius);
  background: transparent;
  color: var(--clr-text-muted);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.weight-btn:hover {
  border-color: var(--clr-gold);
  color: var(--clr-gold-light);
}
.weight-btn.selected {
  background: rgba(201,150,58,0.15);
  border-color: var(--clr-gold);
  color: var(--clr-gold-light);
}

/* Цена */
.product-modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}
.product-modal-price {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--clr-gold);
}
.product-modal-price-note {
  font-size: 13px;
  color: var(--clr-text-muted);
}
.product-modal-wholesale {
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-top: -12px;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Описание */
.product-modal-desc-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 8px;
}
.product-modal-desc-text {
  font-size: 14px;
  color: #fff8f0;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

/* Нижняя панель кнопок */
.product-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.product-modal-ask {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--clr-gold);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: var(--radius);
  padding: 9px 16px;
  cursor: pointer;
  background: transparent;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.product-modal-ask:hover {
  background: rgba(201,150,58,0.08);
  border-color: var(--clr-gold);
  color: var(--clr-gold-light);
}
.product-modal-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: var(--clr-gold);
  color: var(--clr-bg-dark);
  border: none;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.product-modal-cart:hover {
  background: var(--clr-gold-light);
}

/* ── Адаптивность модала ── */
@media (max-width: 768px) {
  .product-modal {
    flex-direction: column;
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .product-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .product-modal-img {
    width: 100%;
    min-height: 220px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .product-modal-info {
    padding: 24px 20px 20px;
  }
  .product-modal-name {
    font-size: 20px;
  }
  .product-modal-price {
    font-size: 28px;
  }
  .product-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .product-modal-ask,
  .product-modal-cart {
    justify-content: center;
  }
}


/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════════ */

/* ─── ОСНОВНАЯ СЕКЦИЯ ───────────────────────────────────── */
.profile-page {
  background: var(--clr-bg-dark);
  padding: 48px 0 80px;
  min-height: 60vh;
}

/* ─── LAYOUT: ОДНА КОЛОНКА ──────────────────────────────── */
.profile-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

/* ─── FLASH СООБЩЕНИЯ ───────────────────────────────────── */
.profile-flash-wrap {
  max-width: 860px;
  margin: 0 auto 16px;
}

/* ─── БЛОКИ ─────────────────────────────────────────────── */
.profile-block {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  transition: border-color var(--transition);
}
.profile-block:hover {
  border-color: rgba(201,150,58,0.28);
}

/* ─── ЗАГОЛОВОК БЛОКА ───────────────────────────────────── */
.profile-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.profile-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.2;
}

/* ─── КНОПКА РЕДАКТИРОВАТЬ ──────────────────────────────── */
.profile-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  background: transparent;
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: var(--radius);
  color: var(--clr-gold);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.profile-edit-btn:hover {
  background: rgba(201,150,58,0.07);
  border-color: var(--clr-gold);
  color: var(--clr-gold-light);
}
.profile-edit-btn.editing {
  border-color: rgba(180,60,60,0.45);
  color: #e07070;
}
.profile-edit-btn.editing:hover {
  background: rgba(180,60,60,0.08);
  border-color: rgba(180,60,60,0.65);
}

/* ─── ЛИЧНЫЕ ДАННЫЕ: СЕТКА ──────────────────────────────── */
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
.personal-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,150,58,0.10);
}
.personal-grid .personal-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.personal-field--full {
  grid-column: span 2;
}
.personal-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.personal-input {
  width: 100%;
  padding: 11px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,150,58,0.18);
  border-radius: var(--radius);
  color: var(--clr-gold-pale);
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  outline: none;
}
.personal-input[readonly] {
  cursor: default;
  color: var(--clr-gold-pale);
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}
.personal-input[disabled] {
  cursor: default;
  color: var(--clr-text-muted);
  background: transparent;
  border-color: transparent;
  padding-left: 0;
}
.personal-input:not([readonly]):not([disabled]):focus {
  border-color: var(--clr-gold);
  background: rgba(255,255,255,0.07);
}

/* ─── КНОПКА СОХРАНИТЬ ──────────────────────────────────── */
.personal-save-wrap {
  display: none;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.personal-save-wrap.visible {
  display: flex;
}
/* ─── КНОПКА ВЫХОДА ─────────────────────────────────────── */
.profile-block-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(201,150,58,0.10);
}
.profile-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  background: transparent;
  border: 1px solid rgba(180,60,60,0.35);
  border-radius: var(--radius);
  color: #c87070;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.profile-logout-btn:hover {
  background: rgba(180,60,60,0.09);
  border-color: rgba(180,60,60,0.6);
  color: #e07070;
}

/* ─── ИСТОРИЯ ЗАЯВОК ────────────────────────────────────── */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}
.order-item:hover {
  background: rgba(201,150,58,0.05);
  border-color: rgba(201,150,58,0.2);
}
.order-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201,150,58,0.1);
  border: 1px solid rgba(201,150,58,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  flex-shrink: 0;
}
.order-info {
  flex: 1;
}
.order-num {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-gold-pale);
  margin-bottom: 2px;
}
.order-date {
  font-size: 12px;
  color: var(--clr-text-muted);
}
.order-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
  border-radius: 6px;
  flex-shrink: 0;
}
.order-item:hover .order-arrow {
  color: var(--clr-gold-light);
}

/* Кнопка "Показать ещё" в заявках */
.orders-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: transparent;
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius);
  color: var(--clr-gold);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.orders-load-more:hover {
  background: rgba(201,150,58,0.06);
  border-color: rgba(201,150,58,0.4);
}
.orders-load-more:disabled {
  cursor: default;
  color: var(--clr-text-muted);
  border-color: rgba(201,150,58,0.1);
}

/* ─── АДРЕСА ДОСТАВКИ ───────────────────────────────────── */
.addresses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.address-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,150,58,0.14);
  border-radius: var(--radius);
  transition: var(--transition);
}
.address-item:hover {
  border-color: rgba(201,150,58,0.28);
  background: rgba(255,255,255,0.05);
}
.address-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.address-badge {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(201,150,58,0.15);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.3px;
  width: fit-content;
  margin-bottom: 2px;
}
.address-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-gold-pale);
  line-height: 1.4;
}
.address-contact {
  font-size: 13px;
  color: var(--clr-text-muted);
}
.address-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.address-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius);
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.address-btn:hover {
  color: var(--clr-gold-light);
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.07);
}
.address-btn--del:hover {
  color: #e07070;
  border-color: rgba(180,60,60,0.5);
  background: rgba(180,60,60,0.07);
}

/* Кнопка добавить адрес */
.address-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px;
  background: transparent;
  border: 1px dashed rgba(201,150,58,0.3);
  border-radius: var(--radius);
  color: var(--clr-gold);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.address-add-btn:hover {
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.05);
}

/* Форма добавления адреса */
.address-form-wrap {
  display: none;
  margin-top: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius);
  animation: slideDown 0.2s ease;
}
.address-form-wrap.visible {
  display: block;
}
.address-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.address-form-grid .personal-input {
  padding: 11px 16px;
  border-color: rgba(201,150,58,0.25);
  background: rgba(255,255,255,0.05);
  color: var(--clr-text-light);
}
.address-form-grid .personal-input::placeholder {
  color: rgba(158,126,94,0.6);
}
.address-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── БЛОК НУЖНА ПОМОЩЬ ─────────────────────────────────── */
.profile-help-block {
  background: linear-gradient(
    135deg,
    rgba(44,31,19,0.98) 0%,
    rgba(44,31,19,0.92) 100%
  );
  border-color: rgba(201,150,58,0.22);
  position: relative;
  overflow: hidden;
}
.profile-help-block::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,150,58,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.profile-help-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.profile-help-content .profile-block-title {
  margin-bottom: 8px;
}
.profile-help-text {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.65;
}
.profile-help-btn {
  flex-shrink: 0;
  white-space: nowrap;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .profile-page {
    padding: 36px 0 60px;
  }
  .profile-block {
    padding: 24px 24px;
  }
}

@media (max-width: 700px) {
  .personal-grid {
    grid-template-columns: 1fr;
  }
  .personal-field--full {
    grid-column: span 1;
  }
  .profile-block-header {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
  }
  .profile-help-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-help-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .profile-block {
    padding: 20px 16px;
    border-radius: var(--radius);
  }
  .address-form-grid {
    grid-template-columns: 1fr;
  }
  .address-form-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .address-form-footer > div {
    display: flex;
    gap: 10px;
  }
  .order-item {
    padding: 12px 12px;
  }
  .profile-block-title {
    font-size: 19px;
  }
}
.profile-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}

.profile-sidebar {
  position: sticky;
  top: 80px;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.profile-nav {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 2px;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.profile-nav-item:hover {
  color: var(--clr-gold-light);
  background: rgba(201,150,58,0.06);
  border-color: rgba(201,150,58,0.15);
}

.profile-nav-item.active {
  color: var(--clr-gold-light);
  background: rgba(201,150,58,0.10);
  border-color: rgba(201,150,58,0.25);
}

.profile-nav-item svg {
  flex-shrink: 0;
  color: var(--clr-gold);
  opacity: 0.75;
  transition: var(--transition);
}

.profile-nav-item:hover svg,
.profile-nav-item.active svg {
  opacity: 1;
}

/* Разделитель перед «Выйти» */
.profile-nav-logout {
  margin-top: 8px;
  padding-top: 13px;
  border-top: 1px solid rgba(201,150,58,0.12) !important;
  color: #c87070;
  border-radius: 0 0 var(--radius) var(--radius);
  border: none;
}

.profile-nav-logout:hover {
  color: #e07070;
  background: rgba(180,60,60,0.08);
  border-color: rgba(180,60,60,0.2) !important;
}

.profile-nav-logout svg {
  color: #c87070;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

/* Скрыть кнопку "Выйти" внутри блока личных данных —
   она теперь есть в боковой панели */
/* Оставим её, она не мешает */

/* ── Адаптивность: убрать сайдбар на мобильных ── */
@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    display: none;
  }
}



/* ═══════════════════════════════════════════════════════════
   DELIVERY PAGE
═══════════════════════════════════════════════════════════ */

/* ─── HERO ДОСТАВКИ ─────────────────────────────────────── */
.delivery-hero .cat-hero-bg img {
  object-position: 55% center;
  filter: brightness(0.70) saturate(0.80);
}
.delivery-hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.delivery-hero-btns .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
}

/* ─── СПОСОБЫ ДОСТАВКИ ──────────────────────────────────── */
.delivery-methods {
  background: var(--clr-bg-dark);
  padding: 64px 0 60px;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.delivery-methods .section-title {
  margin-bottom: 36px;
}
.delivery-methods-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.delivery-method-card {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: var(--transition);
}
.delivery-method-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.delivery-method-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,150,58,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  background: rgba(201,150,58,0.06);
  margin-bottom: 4px;
  transition: var(--transition);
}
.delivery-method-card:hover .delivery-method-icon {
  background: rgba(201,150,58,0.12);
  border-color: var(--clr-gold);
}
.delivery-method-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.3;
}
.delivery-method-card p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.5;
  flex: 1;
}
.delivery-timing {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 20px;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.3);
  color: var(--clr-gold-light);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.delivery-timing--free {
  background: rgba(60,150,80,0.12);
  border-color: rgba(60,150,80,0.3);
  color: #70d090;
}

/* ─── КАЛЬКУЛЯТОР + СРОКИ ───────────────────────────────── */
.delivery-info {
  background: var(--clr-bg-mid);
  padding: 64px 0;
  border-top: 1px solid rgba(201,150,58,0.12);
}

/* Внешняя сетка: левый блок и правый блок одинаковой высоты */
.delivery-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch; /* ← растягивает оба блока до одинаковой высоты */
}

/* ── Левый блок: внутри два столбца (список | калькулятор) ── */
.delivery-cost-block {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.18);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* список | разделитель | калькулятор */
  gap: 0;
  overflow: hidden;
}

/* Левая колонка внутри блока */
.delivery-cost-left {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

/* Вертикальный разделитель между колонками */
.delivery-cost-vsep {
  width: 1px;
  background: rgba(201,150,58,0.12);
  align-self: stretch;
}

.delivery-cost-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.delivery-cost-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--clr-text-muted);
}
.delivery-cost-list li svg {
  color: var(--clr-gold);
  flex-shrink: 0;
}

/* Бесплатная доставка — без фона, просто строка с иконкой */
.delivery-free-plain {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto; /* прижимает к низу левой колонки */
  padding-top: 20px;
  border-top: 1px solid rgba(201,150,58,0.1);
}
.delivery-free-plain svg {
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.delivery-free-plain strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 3px;
}
.delivery-free-plain span {
  font-size: 12px;
  color: var(--clr-text-muted);
}

/* Правая колонка: калькулятор */
.delivery-calc {
  padding: 44px 28px;
  display: flex;
  flex-direction: column;
}

/* Заголовок «Рассчитайте стоимость доставки» — выделен золотым цветом */
.delivery-calc-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.2px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(201,150,58,0.2);
}

.delivery-calc-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.delivery-calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.delivery-calc-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.delivery-input-wrap {
  position: relative;
}
.delivery-input {
  width: 100%;
  padding: 11px 38px 11px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,150,58,0.25);
  border-radius: var(--radius);
  color: var(--clr-text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}
.delivery-input::placeholder { color: rgba(158,126,94,0.6); }
.delivery-input:focus {
  border-color: var(--clr-gold);
  background: rgba(255,255,255,0.07);
}
.delivery-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
}
.delivery-select {
  appearance: none;
  cursor: pointer;
  padding-right: 38px;
}
.delivery-select option { background: var(--clr-bg-card); }

.delivery-calc-btn {
  margin-top: auto; /* кнопка прижата к низу колонки */
  gap: 10px;
  justify-content: center;
}
.delivery-calc-result {
  padding: 14px 16px;
  background: rgba(201,150,58,0.06);
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.65;
  animation: slideDown 0.2s ease;
}

/* ── Правый блок: сроки доставки ── */
.delivery-timing-block {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.18);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.delivery-timing-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}
.delivery-timing-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(201,150,58,0.08);
}
.delivery-timing-list li:last-child { border-bottom: none; }
.delivery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--clr-gold);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201,150,58,0.45);
}
.delivery-city {
  flex: 1;
  font-size: 14px;
  color: var(--clr-gold-pale);
  font-weight: 500;
}
.delivery-days {
  font-size: 13px;
  color: var(--clr-text-muted);
  font-weight: 600;
  white-space: nowrap;
}

/* SVG-карта (закомментирована в HTML, стили оставлены про запас) */
.delivery-map-decor {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(201,150,58,0.03);
  border: 1px solid rgba(201,150,58,0.1);
  padding: 12px;
}
.delivery-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Фото-блок — растягивается на оставшуюся высоту блока */
.delivery-map-photo {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201,150,58,0.15);
  min-height: 140px;
  background: rgba(26,18,11,0.6);
}
.delivery-map-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82) saturate(0.75);
  transition: filter 0.4s ease;
}
.delivery-map-photo:hover img {
  filter: brightness(0.95) saturate(0.9);
}
.delivery-map-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,18,11,0.4) 0%, transparent 55%);
  pointer-events: none;
}

/* ─── СПОСОБЫ ОПЛАТЫ ────────────────────────────────────── */
.payment-methods {
  background: var(--clr-bg-dark);
  padding: 64px 0 72px;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.payment-methods .section-title {
  margin-bottom: 36px;
}
.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.payment-card {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}
.payment-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.payment-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(201,150,58,0.3);
  background: rgba(201,150,58,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  flex-shrink: 0;
  transition: var(--transition);
}
.payment-card:hover .payment-icon {
  background: rgba(201,150,58,0.14);
  border-color: var(--clr-gold);
}
.payment-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 5px;
  line-height: 1.3;
}
.payment-card p {
  font-size: 12px;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .delivery-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-info-grid { grid-template-columns: 1fr; }
}
/* На средних экранах — внутри левого блока тоже переходим в колонку */
@media (max-width: 860px) {
  .delivery-cost-block {
    grid-template-columns: 1fr;
  }
  .delivery-cost-vsep {
    width: auto;
    height: 1px;
    align-self: auto;
  }
}
@media (max-width: 768px) {
  .delivery-methods { padding: 48px 0; }
  .delivery-methods-grid { grid-template-columns: repeat(2, 1fr); }
  .delivery-cost-left { padding: 24px 20px; }
  .delivery-calc { padding: 24px 20px; }
  .delivery-timing-block { padding: 24px 20px; }
  .payment-methods { padding: 48px 0; }
  .delivery-hero-btns { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .delivery-methods-grid { grid-template-columns: 1fr; }
  .payment-grid { grid-template-columns: 1fr; }
}



/* ═══════════════════════════════════════════════════════════
   CART PAGE
═══════════════════════════════════════════════════════════ */

/* ─── ОСНОВНАЯ СЕКЦИЯ ───────────────────────────────────── */
.cart-page {
  background: var(--clr-bg-dark);
  padding: 48px 0 80px;
  min-height: 60vh;
}

/* ─── LAYOUT: товары + боковой итог ────────────────────── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

/* ═══════════════════════════════════════════════════════════
   ПУСТАЯ КОРЗИНА
═══════════════════════════════════════════════════════════ */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 100px 24px;
  text-align: center;
}
.cart-empty-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,150,58,0.3);
  background: rgba(201,150,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-bottom: 8px;
}
.cart-empty-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-gold-pale);
}
.cart-empty-sub {
  font-size: 15px;
  color: var(--clr-text-muted);
  max-width: 320px;
}
.cart-empty-btn {
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════════════════
   ШАПКА СПИСКА ТОВАРОВ
═══════════════════════════════════════════════════════════ */
.cart-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.cart-header-label {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--clr-gold-pale) !important;
}
.cart-header-count {
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-left: auto;
}
.cart-header-count b { color: var(--clr-gold-light); }

.cart-delete-selected {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: transparent;
  border: 1px solid rgba(180,60,60,0.3);
  border-radius: var(--radius);
  color: #c87070;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.cart-delete-selected:not(:disabled):hover {
  background: rgba(180,60,60,0.08);
  border-color: rgba(180,60,60,0.6);
  color: #e07070;
}
.cart-delete-selected:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ═══════════════════════════════════════════════════════════
   ТОВАР В КОРЗИНЕ
═══════════════════════════════════════════════════════════ */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.14);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), opacity 0.3s ease, transform 0.3s ease;
  position: relative;
}
.cart-item:hover {
  border-color: rgba(201,150,58,0.30);
}
.cart-item--removing {
  opacity: 0;
  transform: translateX(20px);
}

/* Флажок */
.cart-item-check {
  flex-shrink: 0;
}

/* Фото */
.cart-item-img {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #231810;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cart-item:hover .cart-item-img img {
  transform: scale(1.05);
}
.cart-item-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--clr-gold);
  color: var(--clr-bg-dark);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

/* Информация */
.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.3;
  /* Обрезать в 2 строки */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-weight {
  font-size: 12px;
  color: rgba(158,126,94,0.65);
}
.cart-item-desc {
  font-size: 12px;
  color: var(--clr-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Правая группа: кол-во + цена + удалить */
.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
}

/* Счётчик количества */
.cart-qty-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: var(--radius);
  overflow: hidden;
}
.cart-qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,150,58,0.06);
  border: none;
  color: var(--clr-gold-light);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}
.cart-qty-btn:hover {
  background: rgba(201,150,58,0.18);
}
.cart-qty-val {
  min-width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  padding: 0 4px;
  border-left: 1px solid rgba(201,150,58,0.2);
  border-right: 1px solid rgba(201,150,58,0.2);
  line-height: 32px;
  user-select: none;
}

/* Цена позиции */
.cart-item-price {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-gold);
  white-space: nowrap;
}

/* Кнопка удалить */
.cart-item-del {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(180,60,60,0.25);
  border-radius: var(--radius);
  color: #c87070;
  cursor: pointer;
  transition: var(--transition);
}
.cart-item-del:hover {
  background: rgba(180,60,60,0.10);
  border-color: rgba(180,60,60,0.55);
  color: #e07070;
}

/* ═══════════════════════════════════════════════════════════
   РЕКОМЕНДАЦИИ
═══════════════════════════════════════════════════════════ */
.cart-recommendations {
  margin-top: 40px;
}
.cart-rec-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 18px;
}
.cart-rec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cart-rec-card {
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   БОКОВОЙ БЛОК: ИТОГ ЗАКАЗА
═══════════════════════════════════════════════════════════ */
.cart-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-summary {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-summary-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 4px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--clr-text-muted);
}
.cart-summary-row span:last-child {
  color: var(--clr-text-light);
  font-weight: 500;
}
.cart-discount-val {
  color: #70d090 !important;
  font-weight: 600 !important;
}
.cart-delivery-val {
  font-style: italic;
  font-size: 13px;
  color: var(--clr-text-muted) !important;
}

.cart-summary-divider {
  height: 1px;
  background: rgba(201,150,58,0.15);
  margin: 4px 0;
}

.cart-summary-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.cart-summary-total-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--clr-gold-light);
}
.cart-summary-total-val {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--clr-gold);
}

/* ── Промокод ── */
.cart-promo-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--clr-gold);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.cart-promo-toggle:hover { color: var(--clr-gold-light); }
.cart-promo-toggle.active { color: var(--clr-text-muted); }

.cart-promo-field {
  display: none;
  flex-direction: column;
  gap: 8px;
  animation: slideDown 0.2s ease;
}
.cart-promo-field.visible {
  display: flex;
}

/* ── Кнопка заказа ── */
.cart-order-btn {
  justify-content: center;
  font-size: 15px;
  padding: 14px 24px;
  letter-spacing: 0.3px;
  transition: var(--transition), opacity 0.2s ease;
}

.cart-summary-note {
  font-size: 11px;
  color: rgba(158,126,94,0.55);
  text-align: center;
  line-height: 1.55;
}

/* ── Преимущества под итогом ── */
.cart-perks {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart-perk {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.45;
}
.cart-perk svg {
  flex-shrink: 0;
  color: var(--clr-gold);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .cart-layout {
    grid-template-columns: 1fr 300px;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-sidebar {
    position: static;
    /* На мобильных итог уходит вниз */
  }
  .cart-rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 14px;
  }
  .cart-item-check {
    order: 0;
  }
  .cart-item-img {
    width: 80px;
    height: 80px;
    order: 1;
  }
  .cart-item-info {
    order: 2;
    flex: 1 1 calc(100% - 80px - 40px - 32px);
  }
  .cart-item-right {
    order: 3;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .cart-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 14px;
  }
  .cart-header-count { margin-left: 0; }
  .cart-rec-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cart-summary-total-val { font-size: 24px; }
}


/* ═══════════════════════════════════════════════════════════
   INFORMATION PAGE
═══════════════════════════════════════════════════════════ */

/* ─── HERO ИНФОРМАЦИИ ───────────────────────────────────── */
.info-hero .cat-hero-bg img {
  object-position: 60% center;
  filter: brightness(0.65) saturate(0.80);
}

/* ─── ОСНОВНАЯ СЕКЦИЯ ───────────────────────────────────── */
.info-page {
  background: var(--clr-bg-dark);
  padding: 52px 0 80px;
}

/* ─── LAYOUT: сайдбар + основная область ────────────────── */
.info-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

/* ═══════════════════════════════════════════════════════════
   САЙДБАР
═══════════════════════════════════════════════════════════ */
.info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 80px;
}

/* Блок контактов */
.info-contact-block {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.18);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.info-sidebar-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 22px;
  line-height: 1.2;
}

.info-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(201,150,58,0.08);
}
.info-contact-item:last-child { border-bottom: none; }

.info-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201,150,58,0.09);
  border: 1px solid rgba(201,150,58,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-contact-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.info-contact-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.info-contact-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-gold-pale);
  transition: var(--transition);
  line-height: 1.3;
}
.info-contact-val:hover { color: var(--clr-gold-light); }
.info-contact-note {
  font-size: 12px;
  color: rgba(158,126,94,0.65);
  line-height: 1.3;
}

/* Блок «Не нашли ответ» */
.info-noanswer-block {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.18);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.info-noanswer-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 8px;
}
.info-noanswer-text {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.6;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════════════════
   FAQ — ПРАВАЯ ЧАСТЬ
═══════════════════════════════════════════════════════════ */
.info-main {
  min-width: 0;
}

/* Заголовок + поиск */
.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px;
}

.info-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.2;
  flex-shrink: 0;
}

/* Поисковая строка */
.faq-search-wrap {
  position: relative;
  flex: 1;
  max-width: 320px;
}
.faq-search {
  width: 100%;
  padding: 10px 38px 10px 14px;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.25);
  border-radius: var(--radius);
  color: var(--clr-text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}
.faq-search::placeholder { color: rgba(158,126,94,0.6); }
.faq-search:focus {
  border-color: var(--clr-gold);
  background: rgba(44,31,19,0.9);
}
.faq-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
}

/* ── Список FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,150,58,0.15);
}

.faq-item {
  border-bottom: 1px solid rgba(201,150,58,0.10);
  background: var(--clr-bg-card);
  transition: background var(--transition);
}
.faq-item:last-child { border-bottom: none; }
.faq-item.open { background: rgba(44,31,19,0.95); }

/* Кнопка вопроса */
.faq-question {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--clr-gold-pale);
  transition: var(--transition);
}
.faq-question:hover { color: var(--clr-gold-light); }
.faq-item.open .faq-question { color: var(--clr-gold-light); font-weight: 600; }

.faq-arrow {
  flex-shrink: 0;
  color: var(--clr-gold);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* Ответ (скрытый) */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(201,150,58,0.08);
  padding-top: 14px;
}

/* Пустой результат поиска */
.faq-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 24px;
  color: var(--clr-text-muted);
  font-size: 14px;
  text-align: center;
}
.faq-empty svg { color: rgba(158,126,94,0.35); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — INFORMATION PAGE
═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .info-layout {
    grid-template-columns: 1fr;
  }
  .info-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
@media (max-width: 640px) {
  .info-sidebar {
    grid-template-columns: 1fr;
  }
  .faq-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .faq-search-wrap {
    max-width: 100%;
    width: 100%;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 14px;
  }
  .faq-answer p {
    padding: 0 18px 16px;
    padding-top: 12px;
  }
}


/* ═══════════════════════════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════════════════════════ */

/* ─── HERO ──────────────────────────────────────────────── */
.contacts-hero .cat-hero-bg img {
  object-position: 40% center;
  filter: brightness(0.68) saturate(0.80);
}

/* ─── КАРТОЧКИ КОНТАКТОВ ────────────────────────────────── */
.contacts-cards-section {
  background: var(--clr-bg-dark);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(201,150,58,0.12);
}

.contacts-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.contacts-info-card {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: var(--transition);
}
.contacts-info-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.contacts-info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,150,58,0.4);
  background: rgba(201,150,58,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-bottom: 8px;
  transition: var(--transition);
}
.contacts-info-card:hover .contacts-info-icon {
  background: rgba(201,150,58,0.14);
  border-color: var(--clr-gold);
}

.contacts-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-gold-pale);
}
.contacts-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-light);
  line-height: 1.5;
}
.contacts-info-sub {
  font-size: 12px;
  color: var(--clr-text-muted);
  line-height: 1.5;
}

/* ─── СТРОКА СОЦСЕТЕЙ ───────────────────────────────────── */
.contacts-socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.contacts-social-link {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(201,150,58,0.2);
  background: var(--clr-bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.contacts-social-link:hover {
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.08);
  transform: translateY(-2px);
}
.contacts-social-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ─── ФОРМА + КАРТА ─────────────────────────────────────── */
.contacts-form-section {
  background: var(--clr-bg-mid);
  padding: 64px 0;
  border-top: 1px solid rgba(201,150,58,0.12);
}

.contacts-form-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: stretch;
}

.contacts-form-block {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.18);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contacts-block-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 4px;
}
.contacts-block-sub {
  font-size: 14px;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.contacts-page-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.contacts-page-form input,
.contacts-page-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(201,150,58,0.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  color: var(--clr-text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}
.contacts-page-form input::placeholder,
.contacts-page-form textarea::placeholder {
  color: rgba(158,126,94,0.6);
}
.contacts-page-form input:focus,
.contacts-page-form textarea:focus {
  border-color: var(--clr-gold);
  background: rgba(255,255,255,0.07);
}
.contacts-page-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contacts-submit-btn {
  margin-top: 4px;
}

.contacts-form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--clr-text-muted);
}
.contacts-form-note svg {
  flex-shrink: 0;
  color: var(--clr-gold);
  opacity: 0.7;
}

/* ─── КАРТА ─────────────────────────────────────────────── */
.contacts-map-block {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(201,150,58,0.18);
  min-height: 460px;
  position: relative;
}
.contacts-map-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  position: relative;
  text-decoration: none;
}
.contacts-map-inner {
  width: 100%;
  height: 100%;
  min-height: 460px;
  position: relative;
}
.contacts-map-iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  pointer-events: none; /* клик идёт на overlay/ссылку */
}

/* Оверлей поверх карты с информацией */
.contacts-map-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(26,18,11,0.88);
  border: 1px solid rgba(201,150,58,0.3);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(6px);
  pointer-events: none; /* не мешает клику на ссылку */
  transition: var(--transition);
}
.contacts-map-link:hover .contacts-map-overlay {
  border-color: var(--clr-gold);
  background: rgba(26,18,11,0.94);
}
.contacts-map-pin {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(201,150,58,0.15);
  border: 1px solid rgba(201,150,58,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  flex-shrink: 0;
}
.contacts-map-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contacts-map-info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-gold-pale);
}
.contacts-map-info span {
  font-size: 12px;
  color: var(--clr-text-muted);
}
.contacts-map-open-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--clr-gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── FAQ ───────────────────────────────────────────────── */
.contacts-faq-section {
  background: var(--clr-bg-dark);
  padding: 64px 0;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.contacts-faq-section .section-title {
  margin-bottom: 36px;
}

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

.faq-item {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition);
}
.faq-item:hover {
  border-color: rgba(201,150,58,0.35);
}
.faq-item.open {
  border-color: var(--clr-gold);
}

.faq-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
}
.faq-question {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-gold-pale);
  line-height: 1.4;
  user-select: none;
}
.faq-arrow {
  flex-shrink: 0;
  color: var(--clr-gold);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
}
.faq-item.open .faq-body {
  max-height: 200px;
  padding: 0 20px 18px;
}
.faq-body p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.7;
}

/* ─── ДИСТРИБЬЮТОРЫ ─────────────────────────────────────── */
.distributors-section {
  background: var(--clr-bg-mid);
  padding: 64px 0 72px;
  border-top: 1px solid rgba(201,150,58,0.12);
}
.distributors-sub {
  font-size: 14px;
  color: var(--clr-text-muted);
  margin-top: -16px;
  margin-bottom: 32px;
}

.distributors-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.distributors-viewport {
  overflow: hidden;
  flex: 1;
}

.distributors-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Каждая карточка дистрибьютора */
.dist-card {
  flex: 0 0 calc((100% - 60px) / 4); /* 4 карточки */
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.dist-card:hover {
  border-color: var(--clr-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.dist-card-img {
  height: 130px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.dist-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,18,11,0.15) 0%, rgba(26,18,11,0.5) 100%);
}

.dist-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dist-card-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dist-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.2;
}
.dist-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(201,150,58,0.12);
  border: 1px solid rgba(201,150,58,0.28);
  font-size: 11px;
  font-weight: 700;
  color: var(--clr-gold);
  letter-spacing: 0.3px;
  width: fit-content;
}

.dist-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dist-info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.4;
}
.dist-info-list li svg {
  flex-shrink: 0;
  color: var(--clr-gold);
  opacity: 0.7;
}

/* Кнопки навигации карусели */
.dist-nav-btn {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.3);
  color: var(--clr-gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}
.dist-nav-btn:hover:not(:disabled) {
  background: rgba(201,150,58,0.12);
  border-color: var(--clr-gold);
}
.dist-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* Точки-индикаторы */
.dist-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.dist-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,150,58,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.dist-dot.active {
  background: var(--clr-gold);
  width: 24px;
  border-radius: 4px;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1100px) {
  .contacts-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-card { flex: 0 0 calc((100% - 40px) / 3); }
}
@media (max-width: 900px) {
  .contacts-form-grid { grid-template-columns: 1fr; }
  .contacts-map-block { min-height: 320px; }
  .contacts-map-link { min-height: 320px; }
  .contacts-map-inner { min-height: 320px; }
  .contacts-map-iframe { min-height: 320px; }
  .faq-grid { grid-template-columns: 1fr; }
  .dist-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 600px) {
  .contacts-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-card { flex: 0 0 100%; }
  .contacts-map-overlay { flex-wrap: wrap; gap: 10px; }
  .contacts-map-open-hint { width: 100%; justify-content: flex-end; }
}
@media (max-width: 420px) {
  .contacts-cards-grid { grid-template-columns: 1fr 1fr; }
}


/* ═══════════════════════════════════════════════════════════
   REVIEWS PAGE
═══════════════════════════════════════════════════════════ */

/* ─── HERO ОТЗЫВОВ ──────────────────────────────────────── */
/* Увеличиваем высоту hero чтобы текст не обрезался шапкой */
.reviews-hero {
  min-height: 380px !important;
  align-items: flex-end;
}
.reviews-hero .cat-hero-bg img {
  object-position: 60% center;
  filter: brightness(0.55) saturate(0.85);
}
/* Текст внутри hero прижат вниз — breadcrumb сверху, кнопки снизу */
.reviews-hero .cat-hero-content {
  padding-bottom: 48px;
  align-items: flex-end;
}
.reviews-hero-title {
  font-size: clamp(34px, 5.5vw, 62px) !important;
  line-height: 1.1 !important;
  margin-bottom: 10px;
}
.reviews-hero-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  align-items: center;
  margin-left: -52px;
}

/* ─── ТРАСТОВЫЕ ИКОНКИ ──────────────────────────────────── */
.reviews-trust {
  background: var(--clr-bg-mid);
  border-top: 1px solid rgba(201,150,58,0.12);
  padding: 44px 0;
}
.reviews-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.reviews-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.reviews-trust-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(201,150,58,0.25);
  background: rgba(201,150,58,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gold);
  margin-bottom: 4px;
}
.reviews-trust-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.3;
}
.reviews-trust-item p {
  font-size: 13px;
  color: var(--clr-text-muted);
  line-height: 1.5;
  max-width: 180px;
}

/* ─── ОСНОВНАЯ СЕКЦИЯ — ТЁМНЫЙ ФОН САЙТА ───────────────── */
.reviews-main {
  background: var(--clr-bg-dark);
  padding: 72px 0 64px;
  border-top: 1px solid rgba(201,150,58,0.12);
}

/* ─── БЛОК РЕЙТИНГА ─────────────────────────────────────── */
.reviews-rating-block {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(201,150,58,0.15);
}
.reviews-rating-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.2;
}
.reviews-rating-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.reviews-rating-score {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: var(--clr-gold-pale);
  line-height: 1;
}
.reviews-rating-stars {
  display: flex;
  gap: 3px;
}
.star-filled { color: var(--clr-gold); }
.star-empty  { color: rgba(201,150,58,0.2); }
.reviews-rating-count {
  font-size: 13px;
  color: var(--clr-text-muted);
  margin-top: 2px;
}

/* Полосы рейтинга */
.reviews-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rating-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rating-bar-label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: var(--clr-gold-pale);
  font-weight: 600;
  width: 28px;
  flex-shrink: 0;
}
.rating-bar-track {
  flex: 1;
  height: 7px;
  background: rgba(201,150,58,0.1);
  border-radius: 4px;
  overflow: hidden;
}
.rating-bar-fill {
  height: 100%;
  background: var(--clr-gold);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.rating-bar-count {
  font-size: 13px;
  color: var(--clr-text-muted);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

/* ─── СЕТКА КАРТОЧЕК ОТЗЫВОВ ────────────────────────────── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.review-card:hover {
  transform: translateY(-3px);
  border-color: var(--clr-gold);
  box-shadow: var(--shadow-gold);
}

/* Анимация появления подгруженных карточек */
.review-card--new {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.review-card--new.visible {
  opacity: 1;
  transform: translateY(0);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(201,150,58,0.12);
  border: 2px solid rgba(201,150,58,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-avatar-letter {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-gold);
}
.review-meta {
  flex: 1;
}
.review-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--clr-gold-pale);
  margin-bottom: 2px;
}
.review-date {
  font-size: 12px;
  color: var(--clr-text-muted);
}
.review-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.review-text {
  font-size: 14px;
  color: #c4a882;
  line-height: 1.7;
}
.review-pros,
.review-cons {
  font-size: 13px;
  line-height: 1.6;
  color: var(--clr-text-muted);
}
.review-pros strong {
  color: #70d090;
  font-weight: 700;
  margin-right: 4px;
}
.review-cons strong {
  color: #e07070;
  font-weight: 700;
  margin-right: 4px;
}

/* Фото в отзыве */
.review-photos {
  display: flex;
  gap: 8px;
}
.review-photo {
  flex: 1;
  max-width: calc(33.33% - 6px);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--clr-bg-mid);
}
.review-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.review-photo:hover img {
  transform: scale(1.06);
}

/* Подпись товара */
.review-product {
  font-size: 12px;
  color: var(--clr-gold);
  font-weight: 600;
  letter-spacing: 0.2px;
  padding-top: 10px;
  border-top: 1px solid rgba(201,150,58,0.12);
}

/* ─── КНОПКА "ПОКАЗАТЬ ЕЩЁ" ────────────────────────────── */
.reviews-load-more {
  display: flex;
  justify-content: center;
}
.reviews-load-btn {
  min-width: 240px;
  justify-content: center;
}

/* ─── CTA СЕКЦИЯ ────────────────────────────────────────── */
.reviews-cta {
  position: relative;
  padding: 72px 0;
  overflow: hidden;
}
.reviews-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.reviews-cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.75);
}
.reviews-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
    rgba(26,18,11,0.88) 0%,
    rgba(26,18,11,0.55) 60%,
    rgba(26,18,11,0.25) 100%
  );
}
.reviews-cta-content {
  position: relative;
  z-index: 2;
}
.reviews-cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--clr-gold-pale);
  line-height: 1.2;
  margin-bottom: 12px;
}
.reviews-cta-text p {
  font-size: 15px;
  color: var(--clr-gold-light);
  opacity: 0.8;
  margin-bottom: 28px;
}
.reviews-cta-btns {
  display: flex;
  gap: 10px;
  margin-left: -52px;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .reviews-rating-block {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
  }
  .reviews-rating-bars {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .reviews-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-rating-block {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .reviews-rating-heading { text-align: center; }
  .reviews-rating-bars {
    grid-column: span 1;
    max-width: 320px;
    margin: 0 auto;
  }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-hero-btns { margin-left: 0; flex-direction: column; align-items: flex-start; }
  .reviews-cta-btns  { margin-left: 0; }
  .reviews-hero { min-height: 320px !important; }
}
@media (max-width: 480px) {
  .reviews-trust-grid { grid-template-columns: 1fr; }
  .reviews-trust-item { flex-direction: row; text-align: left; align-items: flex-start; gap: 16px; }
  .reviews-trust-icon { flex-shrink: 0; }
  .reviews-trust-item p { max-width: none; }
  .reviews-rating-score { font-size: 56px; }
  .review-photos { flex-wrap: wrap; }
  .review-photo { max-width: calc(50% - 4px); }
}

/* ═══════════════════════════════════════════════════════════
   AUTH MODAL — ОКНО ВХОДА / РЕГИСТРАЦИИ
═══════════════════════════════════════════════════════════ */

.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 6, 3, 0);
  transition: background 0.3s ease;
}
.auth-overlay.visible {
  display: block;
  background: rgba(10, 6, 3, 0.75);
}

.auth-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 301;
  transform: translate(-50%, -48%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;

  background: var(--clr-bg-card);
  border: 1px solid rgba(201,150,58,0.25);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 420px;
  padding: 40px 36px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
}
.auth-modal.visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Кнопка закрытия */
.auth-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,150,58,0.2);
  border-radius: 50%;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.auth-modal-close:hover {
  color: var(--clr-gold-light);
  border-color: var(--clr-gold);
}

/* Логотип */
.auth-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--clr-gold);
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-align: center;
}

/* Вкладки */
.auth-tabs {
  display: flex;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,150,58,0.15);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 28px;
}
.auth-tab {
  flex: 1;
  padding: 9px 0;
  background: transparent;
  border: none;
  border-radius: calc(var(--radius) - 2px);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.auth-tab.active {
  background: rgba(201,150,58,0.18);
  color: var(--clr-gold-light);
  box-shadow: inset 0 0 10px rgba(201,150,58,0.08);
}

/* Форма */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.auth-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.auth-required {
  color: var(--clr-gold);
}
.auth-input-wrap {
  position: relative;
}
.auth-input {
  width: 100%;
  padding: 11px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,150,58,0.22);
  border-radius: var(--radius);
  color: var(--clr-text-light);
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  transition: var(--transition);
  outline: none;
}
.auth-input-wrap .auth-input {
  padding-right: 42px;
}
.auth-input::placeholder { color: rgba(158,126,94,0.55); }
.auth-input:focus {
  border-color: var(--clr-gold);
  background: rgba(255,255,255,0.08);
}

/* Кнопка показать пароль */
.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--clr-text-muted);
  cursor: pointer;
  opacity: 0.5;
  transition: var(--transition);
  padding: 4px;
  display: flex;
  align-items: center;
}
.auth-eye:hover { opacity: 1; color: var(--clr-gold-light); }

/* Запомнить */
.auth-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--clr-text-muted);
  user-select: none;
}
.auth-remember input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.auth-remember-custom {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 4px;
  border: 2px solid rgba(201,150,58,0.35);
  background: transparent;
  position: relative;
  transition: var(--transition);
}
.auth-remember-custom::after {
  content: '';
  position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid var(--clr-gold);
  border-top: none;
  border-left: none;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: var(--transition);
}
.auth-remember input:checked ~ .auth-remember-custom {
  border-color: var(--clr-gold);
  background: rgba(201,150,58,0.12);
}
.auth-remember input:checked ~ .auth-remember-custom::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

/* Кнопка отправки */
.auth-submit {
  margin-top: 4px;
  font-size: 15px;
  padding: 13px 24px;
}

/* Переключатель */
.auth-switch {
  text-align: center;
  font-size: 13px;
  color: var(--clr-text-muted);
}
.auth-switch-btn {
  background: transparent;
  border: none;
  color: var(--clr-gold);
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
  padding: 0;
}
.auth-switch-btn:hover { color: var(--clr-gold-light); }

/* Мобильная адаптация */
@media (max-width: 480px) {
  .auth-modal {
    max-width: calc(100vw - 32px);
    padding: 32px 20px 24px;
  }
}

/* ─── ГЛОБАЛЬНЫЕ FLASH-УВЕДОМЛЕНИЯ ──────────────────────── */
.global-flash {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 320px;
  max-width: 480px;
  transition: opacity 0.4s ease;
}
.global-flash .flash {
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}