/* =============================================
   МЯГКИЙ ТЁМНЫЙ ФОН — СМК СИТ-СТРОЙ
   ============================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Inter', 'PT Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e8e8e8;
  background: #1e1e2e;
  line-height: 1.6;
  padding-top: 130px;
}

main {
  flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 30px 0 60px;
  background: #1e1e2e;
}

.section--gray {
  background: #161625;
}

.section__header {
  text-align: center;
  margin-bottom: 24px;
}

.section__header h1 {
    font-size: 2rem;
    margin-bottom: 4px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.section__header h2 {
  font-size: 2rem;
  margin-bottom: 4px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.section__header h2::after,
.section__header h1::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #c9a84c;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section__header p {
  color: #a0a0b8;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn--primary {
  background: #c9a84c;
  color: #1e1e2e;
}

.btn--primary:hover {
  background: #dbb95c;
  color: #1e1e2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.btn--secondary {
  background: transparent;
  color: #c9a84c;
  border: 2px solid #c9a84c;
}

.btn--secondary:hover {
  background: #c9a84c;
  color: #1e1e2e;
}

/* ===== ШАПКА ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #161625;
  z-index: 1000;
  border-bottom: 2px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
  padding: 0 20px;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo span {
  color: #c9a84c;
}

.header-search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 380px;
    margin: 0 24px;
}

.header-search input {
    flex: 1;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px 0 0 50px;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    outline: none;
    transition: border-color 0.3s;
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.header-search input:focus {
    border-color: #c9a84c;
}

/* ===== КНОПКА ПОИСКА ===== */
.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #c9a84c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    padding: 8px 18px;
    font-size: 1rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 42px;
    min-width: 48px;
}

.search-btn:hover {
    background: #c9a84c;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    border-color: #c9a84c;
}



.header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e8e8e8;
}

.phone-icon {
  font-size: 1.4rem;
  color: #c9a84c;
}

.phone-number {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  color: #ffffff;
}

.phone-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.header-nav {
  padding: 8px 0;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2px;
}

.nav-menu li a {
  display: block;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 4px;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-menu li a:hover {
  background: rgba(201, 168, 76, 0.1);
  color: #ffffff;
}

.nav-menu li a.active {
  background: #c9a84c;
  color: #1e1e2e;
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.2);
}

/* ===== ГАМБУРГЕР ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== ГЕРОЙ ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: url('../images/fasad1.png') center/cover no-repeat;
  padding: 60px 0 80px;
  background-color: #1e1e2e;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 46, 0.5);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__inner {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.hero__text {
  max-width: 580px;
  color: #ffffff;
  text-align: left;
}

.hero__badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.3);
  color: #e8c84c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  border: 1px solid rgba(201, 168, 76, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__text h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero__text p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 460px;
  margin-bottom: 28px;
}

/* ===== СТАТИСТИКА ===== */
.stats {
  background: #1e1e2e;
  padding: 45px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat__number {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: #c9a84c;
  letter-spacing: 1px;
}

.stat__label {
  color: #a0a0b8;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== КАТАЛОГ ===== */
.catalog-section {
  margin-bottom: 48px;
}

.catalog-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #c9a84c;
}

.category {
  margin-bottom: 32px;
  padding-left: 16px;
  border-left: 3px solid #c9a84c;
}

.category h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.product-type h4 {
  font-size: 1rem;
  font-weight: 500;
  color: #a0a0b8;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.product-card {
  background: #161625;
  border-radius: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: #c9a84c;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.product-card h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.product-card .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c9a84c;
}

/* ===== НОВОСТИ ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  background: #161625;
  border-radius: 6px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: #c9a84c;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.news-card .badge {
  display: inline-block;
  background: #c9a84c;
  color: #1e1e2e;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.news-card h4 {
  color: #ffffff;
}

.news-card .date {
  color: #a0a0b8;
}

/* ===== ФУТЕР ===== */
.footer {
  flex-shrink: 0;
  background: #161625;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 30, 46, 0.92);
  backdrop-filter: blur(6px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #161625;
  border-radius: 10px;
  padding: 36px 32px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #a0a0b8;
  cursor: pointer;
}

.modal-close:hover {
  color: #ffffff;
}

.modal-content h2 {
  color: #ffffff;
}

.modal-content p {
  color: #a0a0b8;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  margin-bottom: 12px;
}

.modal-content input:focus,
.modal-content textarea:focus {
  outline: none;
  border-color: #c9a84c;
}

/* ===== КНОПКИ ВСПЛЫВАЮЩИЕ ===== */
.btn-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #c9a84c;
  color: #1e1e2e;
  border: none;
  border-radius: 50px;
  padding: 12px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
}

.btn-fixed:hover {
  background: #dbb95c;
  transform: scale(1.04);
}

/* ===== КНОПКА НАВЕРХ ===== */
.scroll-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #161625;
  color: #c9a84c;
  border: 1px solid #c9a84c;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #c9a84c;
  color: #1e1e2e;
}

/* =============================================
   АДАПТИВ
   ============================================= */
@media (max-width: 768px) {
  body { padding-top: 110px; }

  .header-top {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    margin: 0;
    max-width: 100%;
  }

  .logo { font-size: 1.3rem; }
  .logo-img { height: 30px; }
  .phone-number { font-size: 0.95rem; }
  .phone-icon { font-size: 1.2rem; }

  .hero {
    min-height: 70vh;
    text-align: center;
    padding: 80px 0 60px;
  }

  .hero__inner { justify-content: center; }
  .hero__text { max-width: 100%; text-align: center; padding: 0 20px; }
  .hero__text h1 { font-size: 2.2rem; }
  .hero__text p { font-size: 1rem; margin-left: auto; margin-right: auto; }

  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat__number { font-size: 2rem; }

  .contacts-grid { grid-template-columns: 1fr; gap: 20px; }
  .section__header h2 { font-size: 1.8rem; }

  .btn-fixed {
    bottom: 16px;
    right: 16px;
    padding: 10px 14px;
    font-size: 0.75rem;
  }
  .btn-fixed span { display: none; }
  .btn-fixed::before { content: "💬"; font-size: 1.2rem; }

  .scroll-top { bottom: 80px; right: 16px; width: 36px; height: 36px; font-size: 1rem; }

  .cta-compact__inner {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 650px) {
  body { padding-top: 100px; }

  .header-top {
    flex-wrap: nowrap;
    gap: 6px;
    padding: 4px 0;
  }

  .logo {
    font-size: 0.8rem;
    gap: 6px;
  }
  .logo-img { height: 22px; }

  .header-search { max-width: 100px; flex: 0 1 auto; }
  .header-search input { padding: 4px 8px; font-size: 0.7rem; min-width: 50px; }
  .header-search input::placeholder { font-size: 0.6rem; }
  .header-search button { padding: 4px 8px; font-size: 0.7rem; }

  .header-phone .phone-number { font-size: 0.6rem; }
  .phone-icon { font-size: 0.75rem; }
  .phone-label { display: none; }

  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #161625;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 10px 0;
  }
  .header-nav.open { display: block; }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .nav-menu li a {
    padding: 8px 20px;
    font-size: 0.85rem;
    width: 100%;
    text-align: center;
  }

  .menu-toggle { display: flex; }

  .hero__text h1 { font-size: 1.8rem; }
  .stat__number { font-size: 1.6rem; }
  .section { padding: 40px 0; }
  .section__header h2 { font-size: 1.4rem; }
  .btn { padding: 10px 18px; font-size: 0.8rem; }
}

@media (max-width: 400px) {
  body { padding-top: 85px; }
  .container { padding: 0 10px; }
  .logo { font-size: 0.7rem; }
  .logo-img { height: 18px; }
  .header-search { max-width: 70px; }
  .header-search input { min-width: 35px; font-size: 0.55rem; }
  .header-search input::placeholder { font-size: 0.5rem; }
  .header-search button { padding: 4px 6px; font-size: 0.55rem; }
  .phone-number { font-size: 0.5rem; }
  .phone-icon { font-size: 0.65rem; }
  .hero__text h1 { font-size: 1.4rem; }
  .hero__text p { font-size: 0.85rem; }
  .stat__number { font-size: 1.2rem; }
  .btn { padding: 6px 12px; font-size: 0.7rem; }
}

/* ===== КОМПАКТНАЯ КНОПКА "НАПИСАТЬ НАМ" (ПО ЦЕНТРУ) ===== */
.cta-compact {
    background: #161625;
    padding: 10px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    border-bottom: 1px solid rgba(201, 168, 76, 0.08);
}

.cta-compact__inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-compact__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    text-align: center;
}

.cta-compact__text strong {
    color: #c9a84c;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.cta-compact__text strong:hover {
    color: #dbb95c;
}

/* Адаптив для телефонов */
@media (max-width: 650px) {
    .cta-compact__text {
        font-size: 0.85rem;
    }
}
/* ===== КЛИКАБЕЛЬНЫЙ ТЕЛЕФОН ===== */
.phone-number {
    font-size: 1.1rem;
    font-weight: 700;
    display: block;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #c9a84c;
}

/* Адаптив для телефонов — чтобы было удобно тыкать пальцем */
@media (max-width: 650px) {
    .phone-number {
        font-size: 0.8rem;
        padding: 2px 0;
    }
}
/* ===== ПОСТОЯННЫЙ СКРОЛЛБАР ===== */
html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    overflow-y: visible;
}
/* ===== КОНТАКТЫ (КОМПАКТНЫЕ) ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #161625;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(201, 168, 76, 0.3);
    background: #1a1a2e;
}

.contact-icon {
    font-size: 1.2rem;
    min-width: 28px;
    color: #c9a84c;
}

.contact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

.contact-value {
    font-size: 0.9rem;
    color: #e8e8e8;
    word-break: break-word;
    line-height: 1.4;
}

/* Ссылки в контактах */
.phone-link,
.email-link {
    color: #e8e8e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
    color: #c9a84c;
}

/* Адаптив для телефонов */
@media (max-width: 650px) {
    .contact-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .contact-icon {
        font-size: 1rem;
        min-width: 24px;
    }

    .contact-label {
        font-size: 0.6rem;
    }

    .contact-value {
        font-size: 0.8rem;
    }
}
/* ===== АДРЕС НАД КАРТОЙ ===== */
.map-address-full {
    text-align: center;
    padding: 16px 20px;
    margin-bottom: 16px;
    background: #1a1a2e;
    border-radius: 8px;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

.map-address-full p {
    margin: 0;
    color: #e8e8e8;
    font-size: 1.2rem;
    font-weight: 400;
}

.map-address-full strong {
    color: #c9a84c;
    font-weight: 700;
}

/* Адаптив для телефонов */
@media (max-width: 650px) {
    .map-address-full p {
        font-size: 1rem;
    }

    .map-address-full {
        padding: 12px 16px;
    }
}
/* ===== ССЫЛКИ В КАТАЛОГЕ ===== */
.category a,
.product-type a,
.product-card a {
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    padding: 4px 0 !important;
}

.category a:hover,
.product-type a:hover,
.product-card a:hover {
    color: #c9a84c !important;
    text-decoration: underline !important;
}

/* Чтобы ссылки не сливались с текстом */
.category h3,
.product-type h4,
.product-card h5 {
    margin: 0 !important;
    padding: 0 !important;
}

.category {
    cursor: pointer !important;
}

.product-type {
    cursor: pointer !important;
}

/* ===== КАТЕГОРИИ (БЕЗ НАЗВАНИЯ) ===== */
.catalog-item.catalog-item--category {
    display: block;  /* ← не flex, а block */
}

.catalog-item.catalog-item--category .catalog-item__image {
    height: 280px;  /* ← больше для категорий */
    aspect-ratio: 1 / 1;  /* ← квадратные плитки */
    height: auto;
}

/* ===== КАТЕГОРИИ (КВАДРАТНЫЕ, БЕЗ НАЗВАНИЯ) ===== */
.catalog-item--category {
    display: block;
}

.catalog-item--category .catalog-item__image {
    height: auto;
    aspect-ratio: 1 / 1;  /* квадрат */
}

/* Адаптив */
@media (max-width: 650px) {
    .catalog-item--category .catalog-item__image {
        aspect-ratio: 1 / 1;
    }
}

/* ===== ПЛИТОЧНЫЙ КАТАЛОГ ===== */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 колонки на компьютере */
    gap: 24px;
    margin-top: 20px;
    align-items: stretch;
}

.catalog-item {
    display: flex;
    flex-direction: column;
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.catalog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: #c9a84c;
}

.catalog-item__image {
    width: 100%;
    height: 320px;
    flex-shrink: 0;
    background: #0f0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}
.catalog-item__name {
    font-size: 1rem;
    font-weight: 600;
    color: #c9a84c;
    text-align: center;
    padding: 14px 10px;
    background: #1a1a2e;
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    transition: color 0.3s ease, text-decoration 0.3s ease;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
}

.catalog-item:hover .catalog-item__name {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.catalog-item__price {
    color: #c9a84c;
    font-weight: 700;
    font-size: 1rem;
    padding: 0 12px 14px;
    text-align: center;
}

/* ===== ТЕЛЕФОНЫ — 2 КОЛОНКИ ===== */
@media (max-width: 650px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);  /* 2 колонки */
        gap: 14px;
    }

    .catalog-item__image {
            height: 220px;
    }

    .catalog-item__price {
        font-size: 0.85rem;
        padding: 0 8px 10px;
    }
}

@media (max-width: 400px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .catalog-item__image {
            height: 220px;   /* ← добавьте эту строку */
    }

    .catalog-item__price {
        font-size: 0.75rem;
        padding: 0 6px 8px;
    }
}

/* ===== КАРТОЧКА ТОВАРА ===== */
.product-detail__back {
    margin-bottom: 24px;
}

.product-detail__card {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ===== ВЕРХНЯЯ ЧАСТЬ: ДВЕ КОЛОНКИ ===== */
.product-detail__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 36px 20px 36px;
    align-items: start;
}

.product-detail__left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-detail__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #dcfce7;
    color: #166534;
    width: fit-content;
}

.product-detail__title {
    font-size: 2rem;
    font-weight: 800;
    color: #f0f0f0;
    margin: 4px 0 8px 0;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.product-detail__article {
    font-size: 0.9rem;
    color: #a0a0b8;
    margin-bottom: 4px;
}

.product-detail__price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 4px 0 8px 0;
}

.product-detail__price {
    font-size: 2rem;
    font-weight: 800;
    color: #c9a84c;
}

.product-detail__price-no {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c9a84c;
}

.product-detail__unit {
    font-size: 1rem;
    color: #a0a0b8;
}

/* ===== ПРАВАЯ КОЛОНКА (КАРТИНКА) ===== */
.product-detail__right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-detail__image-wrapper {
    width: 100%;
    max-width: 400px;
    background: #0f0f1a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease;
}

.product-detail__image-wrapper:hover {
    border-color: #c9a84c;
}

.product-detail__image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    padding: 8px;
}

.product-detail__image-wrapper:hover .product-detail__image {
    transform: scale(1.02);
}

.product-detail__image-hint {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: #6b7a8f;
    padding: 4px 0 10px 0;
    background: #0f0f1a;
    letter-spacing: 0.5px;
}

.product-detail__image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    background: #0f0f1a;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #c9a84c;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===== ТИП ТОВАРА ===== */
.product-detail__type {
    font-size: 0.95rem;
    color: #c9a84c;
    margin-bottom: 4px;
    font-weight: 500;
}

.catalog-item__type {
    font-size: 0.8rem;
    color: #a0a0b8;
    text-align: center;
    margin-top: -4px;
    margin-bottom: 4px;
}

/* ===== ОПИСАНИЕ ОТДЕЛЬНО ВНИЗУ ===== */
.product-detail__description-wrapper {
    padding: 0 36px 32px 36px;
}

.product-detail__description {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid #c9a84c;
}

.product-detail__description h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f0f0f0;
    margin-bottom: 6px;
}

.product-detail__description p {
    color: #a0a0b8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.product-detail__description p br {
    display: block;
    content: '';
    margin-top: 4px;
}

/* ===== СПИСКИ В ОПИСАНИИ ===== */
.product-detail__description ul,
.product-detail__description ol {
    color: #a0a0b8;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 24px;
    margin: 8px 0;
}

.product-detail__description li {
    color: #a0a0b8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.product-detail__description strong,
.product-detail__description b {
    color: #f0f0f0;
    font-weight: 700;
}

.product-detail__description em,
.product-detail__description i {
    color: #d4d4d4;
}

.product-detail__description h1,
.product-detail__description h2,
.product-detail__description h3 {
    color: #f0f0f0;
    margin: 12px 0 6px 0;
    font-weight: 700;
    line-height: 1.3;
}

.product-detail__description h1 { font-size: 1.4rem; }
.product-detail__description h2 { font-size: 1.2rem; }
.product-detail__description h3 { font-size: 1.05rem; }

.product-detail__description a {
    color: #c9a84c;
    text-decoration: underline;
}

.product-detail__description a:hover {
    color: #dbb95c;
}


/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .product-detail__row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px 18px 16px 18px;
    }
    .product-detail__image-wrapper {
        max-width: 100%;
    }
    .product-detail__image-placeholder {
        max-width: 100%;
    }
    .product-detail__title {
        font-size: 1.6rem;
    }
    .product-detail__price {
        font-size: 1.6rem;
    }
    .product-detail__description-wrapper {
        padding: 0 18px 24px 18px;
    }
}

@media (max-width: 400px) {
    .product-detail__row {
        padding: 16px 14px 12px 14px;
        gap: 16px;
    }
    .product-detail__title {
        font-size: 1.3rem;
    }
    .product-detail__price {
        font-size: 1.3rem;
    }
    .product-detail__description-wrapper {
        padding: 0 14px 18px 14px;
    }
    .product-detail__description {
        padding: 12px 14px;
    }
    .product-detail__description p {
        font-size: 0.85rem;
    }
    .product-detail__image {
        max-height: 250px;
    }
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumbs {
    padding: 12px 0;
    background: #161625;
    border-top: 1px solid #c9a84c;
    border-bottom: 1px solid #c9a84c;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: #c9a84c;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #dbb95c;
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #555;
}

.breadcrumbs span {
    color: #a0a0b8;
}

.breadcrumbs span:last-child {
    color: #ffffff;
    font-weight: 600;
}

/* ===== КНОПКА НАЗАД (УНИВЕРСАЛЬНАЯ) ===== */
.back-button,
.news-detail__back .btn--secondary,
.product-detail__back .btn--secondary,
.back-button-container .btn--secondary {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    color: #c9a84c !important;
    border: 1px solid #c9a84c !important;
    padding: 8px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    cursor: pointer !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
}

.back-button:hover,
.news-detail__back .btn--secondary:hover,
.product-detail__back .btn--secondary:hover,
.back-button-container .btn--secondary:hover {
    background: #c9a84c !important;
    color: #1a1a2e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3) !important;
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: #c9a84c;
}

.gallery-item__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f0f1a;
}

.gallery-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-item__image img {
    transform: scale(1.05);
}

.gallery-item__title-preview {
    padding: 14px 18px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #c9a84c;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ===== АДАПТИВ ГАЛЕРЕИ ===== */
@media (max-width: 650px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
    .gallery-item__title-preview {
        font-size: 0.85rem;
        padding: 10px 12px 12px;
    }
}

@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .gallery-item__title-preview {
        font-size: 0.75rem;
        padding: 8px 8px 10px;
    }
}

/* ============================================================ */
/* ===== ОВЕРЛЕЙ ГАЛЕРЕИ (УВЕЛИЧЕННАЯ КАРТИНКА) ===== */
/* ============================================================ */

.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 23, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    animation: fadeIn 0.3s ease;
}

.gallery-overlay__content {
    max-width: 900px;
    width: 100%;
    height: 100%;
    max-height: 92vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-overlay__slider {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 85vh;
    overflow: hidden;
}

.gallery-overlay__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-overlay__slide:not(.active) {
    display: none;
}

.gallery-overlay__slide.active {
    display: flex;
    position: relative;
}

.gallery-overlay__close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.gallery-overlay__close:hover {
    color: #ffffff;
}

.gallery-overlay__image {
    width: 100%;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: transparent;
    position: relative;
}

.gallery-overlay__image img {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

/* ===== ОПИСАНИЕ НА КАРТИНКЕ (ПОЛУПРОЗРАЧНОЕ, БЕЗ ФОНА) ===== */
.gallery-overlay__description {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    text-align: center;
    max-width: 80%;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9);
    padding: 6px 16px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    pointer-events: none;
    font-weight: 400;
}

/* ===== СТРЕЛКИ ===== */
.gallery-overlay__arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    padding: 20px 14px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    backdrop-filter: blur(4px);
}

.gallery-overlay__arrow:hover {
    background: rgba(201, 168, 76, 0.15);
    border-color: #c9a84c;
    color: #c9a84c;
}

.gallery-overlay__arrow--prev {
    left: 20px;
}

.gallery-overlay__arrow--next {
    right: 20px;
}

/* ===== СЧЁТЧИК ===== */
.gallery-overlay__counter {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== АДАПТИВ ОВЕРЛЕЯ ===== */
@media (max-width: 650px) {
    .gallery-overlay {
        padding: 20px 10px;
    }
    .gallery-overlay__close {
        top: 12px;
        right: 16px;
        font-size: 2rem;
    }
    .gallery-overlay__image {
        max-height: 70vh;
    }
    .gallery-overlay__image img {
        max-height: 70vh;
    }
    .gallery-overlay__description {
        font-size: 0.8rem;
        bottom: 16px;
        padding: 4px 12px;
        max-width: 90%;
    }
    .gallery-overlay__arrow {
        font-size: 2rem;
        padding: 14px 10px;
        border-radius: 8px;
    }
    .gallery-overlay__arrow--prev {
        left: 6px;
    }
    .gallery-overlay__arrow--next {
        right: 6px;
    }
    .gallery-overlay__counter {
        font-size: 0.75rem;
        padding: 4px 12px;
        top: 12px;
    }
}

@media (max-width: 400px) {
    .gallery-overlay__image {
        max-height: 60vh;
    }
    .gallery-overlay__image img {
        max-height: 60vh;
    }
    .gallery-overlay__description {
        font-size: 0.7rem;
        bottom: 12px;
        padding: 3px 10px;
    }
    .gallery-overlay__arrow {
        font-size: 1.5rem;
        padding: 10px 6px;
    }
    .gallery-overlay__arrow--prev {
        left: 4px;
    }
    .gallery-overlay__arrow--next {
        right: 4px;
    }
}

/* ===== НОВОСТИ (ПЛИТКИ) ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.news-card {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: #c9a84c;
}

.news-card__image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0f0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card__image img {
    transform: scale(1.03);
}

.news-card__body {
    padding: 18px 20px 22px;
}

.news-card__date {
    font-size: 0.8rem;
    color: #a0a0b8;
    margin-bottom: 6px;
}

.news-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f0f0f0;
    margin-bottom: 6px;
    line-height: 1.3;
}

.news-card__content {
    font-size: 0.95rem;
    color: #a0a0b8;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.news-card__read-more {
    font-size: 0.85rem;
    color: #c9a84c;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-card__read-more:hover {
    color: #dbb95c;
}

/* ===== ДЕТАЛЬНАЯ СТРАНИЦА НОВОСТИ ===== */
.news-detail__back {
    margin-bottom: 24px;
}

.news-detail__card {
    background: #1a1a2e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.news-detail__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 36px;
    align-items: start;
}

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

.news-detail__date {
    font-size: 0.9rem;
    color: #c9a84c;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.news-detail__title {
    font-size: 2rem;
    font-weight: 800;
    color: #f0f0f0;
    margin-bottom: 12px;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.news-detail__content {
    font-size: 1rem;
    color: #d4d4d4;
    line-height: 1.8;
}

.news-detail__content br {
    display: block;
    content: '';
    margin-top: 6px;
}

/* ===== ПРАВАЯ КОЛОНКА (КАРТИНКА) ===== */
.news-detail__right {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-detail__image-wrapper {
    width: 100%;
    max-width: 400px;
    background: #0f0f1a;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease;
}

.news-detail__image-wrapper:hover {
    border-color: #c9a84c;
}

.news-detail__image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
    padding: 8px;
}

.news-detail__image-wrapper:hover .news-detail__image {
    transform: scale(1.02);
}

.news-detail__image-hint {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: #6b7a8f;
    padding: 4px 0 10px 0;
    background: #0f0f1a;
    letter-spacing: 0.5px;
}

/* ===== ОПИСАНИЕ ПОД КАРТИНКОЙ ===== */
.news-detail__description-wrapper {
    padding: 4px 36px 32px;
}

.news-detail__description {
    font-size: 1rem;
    color: #a0a0b8;
    line-height: 1.7;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid #c9a84c;
    font-style: italic;
}

/* ===== МОДАЛЬНОЕ ОКНО ДЛЯ КАРТИНКИ ===== */
.image-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 23, 0.92);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    animation: fadeIn 0.3s ease;
}

.image-modal {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.image-modal__close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
    line-height: 1;
}

.image-modal__close:hover {
    color: #ffffff;
}

.image-modal img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .news-detail__row {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px 18px;
    }

    .news-detail__image-wrapper {
        max-width: 100%;
    }

    .news-detail__title {
        font-size: 1.6rem;
    }

    .news-detail__content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .news-detail__description-wrapper {
        padding: 0 18px 24px;
    }

    .news-detail__description {
        font-size: 0.9rem;
        padding: 14px 16px;
    }

    .image-modal__close {
        top: 12px;
        right: 16px;
        font-size: 2rem;
    }
}

@media (max-width: 400px) {
    .news-detail__row {
        padding: 16px 14px;
        gap: 16px;
    }
    .news-detail__title {
        font-size: 1.3rem;
    }
    .news-detail__content {
        font-size: 0.85rem;
    }
    .news-detail__image {
        max-height: 250px;
    }
    .news-detail__description {
        font-size: 0.8rem;
        padding: 12px 14px;
    }
}


/* ===== КНОПКА ПОИСКА (КАК КНОПКА НАЗАД И ВВЕРХ) ===== */
.search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #c9a84c;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: none;
    padding: 8px 18px;
    font-size: 1rem;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 42px;
    min-width: 48px;
}

.search-btn:hover {
    background: #c9a84c;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
    border-color: #c9a84c;
}


/* ===== ТАБЫ В КАРТОЧКЕ ТОВАРА ===== */
.product-detail__tabs {
    display: flex;
    gap: 8px;
    padding: 0 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 16px;
}

.product-detail__tab {
    padding: 12px 24px;
    background: transparent;
    color: #a0a0b8;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.3px;
}

.product-detail__tab:hover {
    color: #c9a84c;
}

.product-detail__tab.active {
    color: #c9a84c;
    border-bottom-color: #c9a84c;
}

.product-detail__tab-content {
    display: none;
    padding: 0 36px 32px 36px;
}

.product-detail__tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===== СПИСКИ В ОПИСАНИИ ===== */
.product-detail__description ul,
.product-detail__description ol {
    color: #a0a0b8;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 24px;
    margin: 8px 0;
}

.product-detail__description li {
    color: #a0a0b8;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 4px;
}

.product-detail__description strong,
.product-detail__description b {
    color: #f0f0f0;
    font-weight: 700;
}

.product-detail__description h1,
.product-detail__description h2,
.product-detail__description h3 {
    color: #f0f0f0;
    margin: 12px 0 6px 0;
    font-weight: 700;
    line-height: 1.3;
}

.product-detail__description h1 { font-size: 1.4rem; }
.product-detail__description h2 { font-size: 1.2rem; }
.product-detail__description h3 { font-size: 1.05rem; }

.product-detail__description a {
    color: #c9a84c;
    text-decoration: underline;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 768px) {
    .product-detail__tabs {
        padding: 0 18px;
    }
    .product-detail__tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    .product-detail__tab-content {
        padding: 0 18px 24px 18px;
    }
}



/* ===== СОГЛАСИЕ НА ОБРАБОТКУ ДАННЫХ ===== */
.modal-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 8px 0 16px 0;
    font-size: 0.8rem;
    color: #a0a0b8;
    line-height: 1.5;
    cursor: pointer;
    user-select: none;
}

.modal-agreement input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 2px 0 0 0;
    border: 1px solid #c9a84c;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal-agreement input[type="checkbox"]:checked {
    background: #c9a84c;
    border-color: #c9a84c;
}

.modal-agreement input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1a2e;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
}

.modal-agreement input[type="checkbox"]:hover {
    border-color: #dbb95c;
}

.modal-agreement span {
    flex: 1;
}

.modal-agreement a {
    color: #c9a84c;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.modal-agreement a:hover {
    color: #dbb95c;
}


/* ===== СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ ===== */
.privacy-content {
    background: #1a1a2e;
    border-radius: 16px;
    padding: 32px 40px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #d4d4d4;
    line-height: 1.8;
}

.privacy-content h3 {
    color: #c9a84c;
    font-size: 1.2rem;
    margin: 24px 0 12px 0;
    font-weight: 700;
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: #a0a0b8;
    margin-bottom: 12px;
}

.privacy-content ul {
    color: #a0a0b8;
    padding-left: 24px;
    margin: 12px 0;
}

.privacy-content li {
    margin-bottom: 6px;
}

@media (max-width: 650px) {
    .privacy-content {
        padding: 20px 18px;
    }
    .privacy-content h3 {
        font-size: 1rem;
    }
}


/* ===== ПАГИНАЦИЯ ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 20px 0;
    flex-wrap: wrap;
}

.pagination__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: transparent;
    color: #c9a84c;
    border: 1px solid #c9a84c;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination__btn:hover:not(:disabled) {
    background: #c9a84c;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.pagination__btn--disabled,
.pagination__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    color: #6b7a8f;
    border-color: #6b7a8f;
}

.pagination__pages {
    display: flex;
    gap: 6px;
    align-items: center;
}

.pagination__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: transparent;
    color: #a0a0b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination__page:hover {
    color: #c9a84c;
    border-color: #c9a84c;
}

.pagination__page.active {
    background: #c9a84c;
    color: #1a1a2e;
    border-color: #c9a84c;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.pagination__dots {
    color: #6b7a8f;
    padding: 0 4px;
    font-weight: 600;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 650px) {
    .pagination {
        gap: 6px;
        margin: 24px 0 16px 0;
    }
    .pagination__btn {
        padding: 8px 14px;
        font-size: 0.75rem;
    }
    .pagination__page {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 0.8rem;
    }
    .pagination__dots {
        padding: 0 2px;
    }
}

@media (max-width: 400px) {
    .pagination__btn {
        padding: 6px 12px;
        font-size: 0.7rem;
    }
    .pagination__page {
        min-width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }
}

/* ===== ВАРИАНТЫ ТОЛЩИНЫ ===== */
.variants-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.variants-label {
    font-size: 0.95rem;
    color: #a0a0b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thickness-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ===== ОБЩИЕ СТИЛИ ===== */
.thickness-btn {
    border: 1px solid rgba(201, 168, 76, 0.4);
    background: transparent;
    color: #c9a84c;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.thickness-btn:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.7);
}

.thickness-btn.active {
    background: #c9a84c;
    color: #1a1a2e;
    border-color: #c9a84c;
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.35);
}

/* ===== КНОПКА С КАРТИНКОЙ ===== */
.thickness-btn--image {
    padding: 6px;
    min-width: 90px;
    min-height: 90px;
}

.thickness-btn--image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

/* ===== КНОПКА С ТЕКСТОМ ===== */
.thickness-btn--text {
    padding: 10px 20px;
}

/* ===== ЦЕНА + ЕДИНИЦА ===== */
.variant-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.variant-price {
    font-size: 2rem;
    font-weight: 800;
    color: #c9a84c;
    transition: color 0.2s ease;
}

.variant-price__unit {
    font-size: 1rem;
    color: #a0a0b8;
}

/* ===== АДАПТИВ ВАРИАНТОВ ===== */
@media (max-width: 768px) {
    .thickness-btn--image {
        min-width: 70px;
        min-height: 70px;
        padding: 4px;
    }
    .thickness-btn--image img {
        width: 60px;
        height: 60px;
    }
    .thickness-btn--text {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    .variant-price {
        font-size: 1.6rem;
    }
    .variant-price__unit {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .thickness-btn--image {
        min-width: 55px;
        min-height: 55px;
        padding: 3px;
    }
    .thickness-btn--image img {
        width: 48px;
        height: 48px;
    }
    .thickness-btn--text {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .variant-price {
        font-size: 1.3rem;
    }
    .variant-price__unit {
        font-size: 0.85rem;
    }
}

/* ===== ЦЕНА-ЗАГЛУШКА "СВЯЖИТЕСЬ С МЕНЕДЖЕРОМ" ===== */
.variant-price--contact {
    font-size: 1.2rem !important;
    color: #c9a84c !important;
    font-weight: 600 !important;
    line-height: 1.3;
}

.variants-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.variant-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 4px;  /* ← небольшой отступ снизу */
}

.variants-label {
    font-size: 0.95rem;
    color: #a0a0b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;  /* ← отступ сверху */
}