@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:wght@400;500;600;700&display=swap');

    [class*=__container] {
      max-width: 1920px;
      margin: 0px auto;
      padding: 0px 55px;
    }

    body {
      margin: 0;
      font-family: Montserrat, sans-serif;
      font-weight: 400;
      font-size: 16px;
      background-color: #fff;
      color: var(--main-color);
    }

    .section__header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 55;
      border-bottom: 1px solid #ccc;
    }


    .section__container {
      min-height: 44px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      column-gap: 25px;
    }

.main__header {
  padding: 10px 0;
  box-shadow: inset 0px -1px 0px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
}

.header__container {
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.menu__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu__list {
  display: flex;
  align-items: center;
  column-gap: 40px;
  flex-wrap: wrap;
  grid-row-gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu__item {
  display: flex;
  align-items: center;
}

.menu__link {
  text-decoration: none;
  color: var(--main-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu__link:hover {
  color: var(--accent-color);
}

/* Адаптив для планшетов (max-width: 768px) */
@media (max-width: 768px) {
  .main__header {
    padding: 8px 0;
  }

  .header__container {
    justify-content: center; /* Центрируем, если оборачивается */
    gap: 15px; /* Добавляем gap для равномерности */
  }

  .menu__list {
    column-gap: 20px; /* Уменьшаем расстояние между элементами */
    grid-row-gap: 10px;
  }

  .menu__link {
    font-size: 14px; /* Немного уменьшаем шрифт для компактности */
  }
}

/* Адаптив для мобильных устройств (max-width: 480px) */
@media (max-width: 480px) {
  .main__header {
    padding: 5px 0;
  }

  .header__container {
    flex-direction: column; /* Вертикальная компоновка для мобильных */
    align-items: center;
    gap: 10px;
  }

  .menu__body {
    flex-direction: column; /* Меню вертикально */
    gap: 10px;
    width: 100%;
  }

  .menu__list {
    column-gap: 15px; /* Маленький gap */
    grid-row-gap: 5px;
    justify-content: center; /* Центрируем элементы меню */
  }

  .menu__link {
    font-size: 13px; /* Уменьшаем шрифт для мобильных */
  }

  .menu__item.site-logo .menu__link {
    font-size: 18px; /* Сохраняем логотип крупным */
  }

  .menu__item.site-logo {
    order: -1; /* Логотип наверху */
  }
}


    .site-logo h1 {
      margin: 0;
      font-size: 35px;
      font-weight: 700;
    }

    .site-logo a {
      color: var(--main-color);
      text-decoration: none;
    }

    #catalogBtn {
    background-color: #0b4c52;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 18px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
    transition: background-color 0.3s;
  }
  #catalogBtn:hover,
  #catalogBtn.active {
    background-color: #07403a;
  }

  /* Иконка крестика */
  #catalogBtn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  /* Окно каталога */
  #catalogOverlay {
    position: absolute;
    left: 0;
    bottom: 0;
    background: #fff;
    box-shadow: 0 0 30px rgb(0 0 0 / 0.1);
    display: none;
    z-index: 1000;
    max-height: calc(100vh - 56px);
  }

  #catalogOverlay.active {
    display: flex;
  }

  /* Контейнер с левой и правой частью */
  .catalog-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
  }

  /* Левая колонка: список видов товаров */
  .catalog-left {
    flex: 0 0 280px;
    border-right: 1px solid #eee;
    overflow-y: auto;
  }
  .catalog-left ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .catalog-left li {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
    gap: 14px;
    font-size: 15px;
    color: #222;
  }
  .catalog-left li:hover,
  .catalog-left li.active {
    background-color: #f5faff;
    color: #0b4c52;
    font-weight: 600;
  }
  .catalog-left li.active svg.arrow {
    opacity: 1;
  }
  /* Стрелка справа */
  .catalog-left li svg.arrow {
    margin-left: auto;
    width: 12px;
    height: 12px;
    stroke: #0b4c52;
    stroke-width: 2;
    opacity: 0;
    transition: opacity 0.2s;
  }

  /* Изображения слева */
  .catalog-left li img {
    width: 40px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
  }

  /* Правая колонка: варианты выбора */
  .catalog-right {
    flex: 1 1 auto;
    padding: 30px 30px 30px 40px;
    overflow-y: auto;
  }
  .catalog-right h2 {
    margin-top: 0;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 26px;
    color: #111;
  }
  /* Секции вариантов */
  .catalog-section {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
  }
  .catalog-group {
    flex: 1 1 280px;
    min-width: 260px;
  }
  .catalog-group strong {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 14px;
    color: #0b4c52;
  }
  .catalog-group ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
  }
  .catalog-group ul li {
    margin-bottom: 7px;
    font-weight: 400;
    font-size: 14px;
  }
  .catalog-group ul li a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
  }
  .catalog-group ul li a:hover,
  .catalog-group ul li a:focus {
    color: #0b4c52;
    text-decoration: underline;
  }

  /* Скроллы */
  .catalog-left,
  .catalog-right {
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
  }
  .catalog-left::-webkit-scrollbar,
  .catalog-right::-webkit-scrollbar {
    width: 8px;
  }
  .catalog-left::-webkit-scrollbar-thumb,
  .catalog-right::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
  }
  .catalog-left::-webkit-scrollbar-track,
  .catalog-right::-webkit-scrollbar-track {
    background: transparent;
  }

  /* Адаптив */
  @media (max-width: 900px) {
    #catalogOverlay {
      top: 48px;
    }
    .catalog-container {
      flex-direction: column;
      max-width: 100%;
      height: auto;
    }
    .catalog-left {
      flex: none;
      width: 100%;
      border-right: none;
      border-bottom: 1px solid #eee;
      display: flex;
      overflow-x: auto;
      padding-left: 10px;
    }
    .catalog-left ul {
      display: flex;
      gap: 10px;
    }
    .catalog-left li {
      flex: none;
      border-bottom: none;
      padding: 10px 14px;
      font-size: 14px;
      border-radius: 4px;
      white-space: nowrap;
      gap: 6px;
    }
    .catalog-left li img {
      display: none;
    }
    .catalog-left li svg.arrow {
      display: none;
    }
    .catalog-left li.active {
      background-color: #e1f0ff;
      font-weight: 600;
      color: #0b4c52;
    }
    .catalog-right {
      padding: 20px 20px 30px;
      height: auto;
      max-height: 60vh;
      overflow-y: auto;
    }
    .catalog-right h2 {
      font-size: 22px;
      margin-bottom: 16px;
    }
    .catalog-section {
      gap: 30px;
    }
    .catalog-group {
      flex: 1 1 100%;
      min-width: auto;
    }
  }
  @media (max-width: 480px) {
    header {
      padding: 10px 14px;
    }
    #catalogBtn {
      padding: 6px 14px;
      font-size: 13px;
    }
    .catalog-right {
      max-height: 50vh;
      padding: 15px 15px 25px;
    }
  }

    .contacts span {
      font-weight: 600;
    }

    .catalog {
      position: relative;
    }

    .catalog button {
      background-color: var(--accent);
      color: #fff;
      border: none;
      padding: 8px 12px;
      cursor: pointer;
      border-radius: 4px;
    }

    .catalog-menu {
      display: none;
      position: absolute;
      top: 40px;
      left: 0;
      background: #fff;
      border: 1px solid #ccc;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      z-index: 10;
      padding: 10px;
      border-radius: 4px;
    }

    .catalog-menu.active {
      display: block;
    }

    .catalog-menu a {
      display: block;
      padding: 6px 10px;
      text-decoration: none;
      color: var(--main-color);
    }

    .catalog-menu a:hover {
      background: var(--gray-bg);
    }

    .search {
      flex-grow: 1;
      margin: 10px;
    }

    .search input {
      flex: 1;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px 0 0 4px;
    }

    .search button {
      padding: 8px 12px;
      border: none;
      background-color: #ccc;
      border-radius: 0 4px 4px 0;
      cursor: pointer;
    }

    .icons {
      display: flex;
      gap: 10px;
    }

    .icon {
      position: relative;
      font-size: 20px;
      cursor: pointer;
    }

    .icon span.count {
      position: absolute;
      top: -6px;
      right: -6px;
      background: red;
      color: #fff;
      border-radius: 50%;
      padding: 2px 6px;
      font-size: 10px;
    }

    /* Контейнер страницы */
  .page-container {
    max-width: 1900px;
    margin: 40px auto;
    padding: 0 40px;
    display: flex;
    gap: 40px;
  }

  /* Левая часть */
  .left-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* Главное фото */
  .main-photo {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .main-photo img {
    object-fit: contain;
    height: 600px;
  }

  /* Блок описания под фото */
  .description-block {
    font-size: 14px;
    color: #000;
    line-height: 2em;
  }
  .description-block p {
    margin-bottom: 16px;
  }
  .description-block strong {
    font-weight: 700;
  }

  /* Характеристики */
  .container {
        max-width: 800px;
    }

  h2 {
      font-size: 20px;
      margin-bottom: 10px;
    }

  .section-title {
      font-weight: bold;
      margin-top: 30px;
      margin-bottom: 10px;
    }

  .spec-table {
      font-size: 14px;
      width: 100%;
      border-collapse: collapse;
    }

  .spec-table tr {
      border-bottom: 1px solid #eee;
    }

  .spec-table td {
      padding: 8px 0;
      vertical-align: top;
    }

  .spec-table td:first-child {
      color: #666;
      width: 400px;
    }

  /* Правая часть */
  .right-column {
    flex: 1 1 1440px;
    background: #f9f9f9;
    border-radius: 16px;
    padding: 24px 32px 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
  }
  /* Иконка избранного (сердце) */
  .favorite {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 28px;
    height: 28px;
    fill: #ccc;
    cursor: pointer;
    transition: fill 0.3s ease;
  }
  .favorite.active {
    fill: #d20074;
  }

  /* Название и наличие */
  .product-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    margin-bottom: 6px;
    color: #111;
  }

/* Стили для модального уведомления */
  .copy-modal {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
  }
  .copy-modal.show {
    opacity: 1;
    pointer-events: auto;
  }

  .availability {
    font-size: 14px;
    color: #666;
    margin-bottom: 16px;
  }

  /* Баллы */
  .points {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #5c5caa;
    margin-bottom: 8px;
  }
  .points svg {
    width: 20px;
    height: 20px;
    fill: #5c5caa;
  }

  /* Цена */
  .price-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
  }
  .price-current {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
  }
  .price-current sup {
    font-size: 18px;
    vertical-align: top;
    margin-left: 2px;
  }
  .price-old {
    font-size: 16px;
    color: #888;
    text-decoration: line-through;
  }
  .discount-badge {
    background: #007b8f;
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 12px;
    user-select: none;
  }

  /* К материалам */
  .materials-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .materials {
    display: flex;          /* Добавлено для выравнивания текста и стрелки */
    align-items: center;    /* Вертикальное выравнивание по центру */
    justify-content: flex-start;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Убираем подчеркивание */
  }

  .materials img {
    margin-left: 8px; /* Отступ между текстом и стрелкой */
    width: 20px; /* Ширина стрелки (при необходимости измените) */
    height: auto; /* Автоматическая высота для сохранения пропорций */
  }

  /* Ориентация (кнопки переключения) */
  .orientation-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
  }
  .orientation-buttons {
    display: flex;
    gap: 12px;
  }
  .orientation-button {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    width: 56px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition:
      border-color 0.3s ease,
      background-color 0.3s ease;
  }
  .orientation-button svg {
    width: 40px;
    height: 20px;
    stroke: #666;
    stroke-width: 1.5;
    fill: none;
  }
  .orientation-button.active {
    border-color: #a7c584;
    background-color: #eff9ea;
  }
  .orientation-button.active svg {
    stroke: #007b8f;
  }
  .orientation-button:hover:not(.active) {
    border-color: #a7c584;
  }

  /* Количество и кнопка в корзину */
  .quantity-cart {
    flex-direction: column;
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
  }

  .copy {
    display: flex;
    align-items: center;
    justify-content: center;

  }

  .copy p{
    align-items: center;
    font-size: 16px;
    margin-right: 10px;
    font-weight: 500;
  }

  .copy img {
    width: 20px;
    height: 20px;
  }

  .quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .quantity-controls button {
    width: 32px;
    height: 32px;
    background: #eee;
    border-radius: 50%;
    font-size: 25px;
    line-height: 1;
    color: #555;
    font-weight: 700;
    user-select: none;
    transition: background-color 0.3s ease;
  }
  .quantity-controls button:hover {
    background: #ccc;
  }
  .quantity-value {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    user-select: none;
  }
  .btn-cart {
    display: flex; /* Добавлено для центрирования текста */
    justify-content: center; /* Центрирование текста по горизонтали */
    align-items: center; /* Центрирование текста по вертикали */
    background-color: #a7c584;
    color: white;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 18px;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Убираем подчеркивание */
  }
  .btn-cart:hover {
    background-color: #6b8a47;
  }


  /* Габариты (блок с картинкой и текстом) */
  .dimensions-block {
    margin-top: 24px;
  }
  .dimensions-img {
  width: 100%;
  margin-bottom: 12px;
  user-select: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.dimensions-img--zoomed {
  transform: scale(1.2);
  z-index: 10;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
  .dimensions-list {
    font-size: 14px;
    color: #222;
  }
  .dimensions-list strong {
    font-weight: 600;
  }

  .specs {
    width: 100%;
    max-width: 400px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.4;
    color: #2a2a2a;
  }
  .specs tr {
    border-bottom: 1px solid #e7e7e7;
  }
  .specs tr:last-child {
    border-bottom: none;
  }
  .specs td {
    padding: 10px 0;
  }
  .specs td:first-child {
    font-weight: 400;
    color: #2a2a2a;
  }
  .specs td:last-child {
    font-weight: 500;
    color: #2a2a2a;
    text-align: right;
  }

  /* Адаптив */
  @media (max-width: 1024px) {
    .page-container {
      flex-direction: column;
      max-width: 90vw;
    }
    .right-column {
      max-width: 100%;
      padding: 20px 16px 32px;
      border-radius: 12px;
    }
    .left-column {
      margin-bottom: 40px;
    }
  }