/* шрифт Google Sans подключён в header.tpl (27.09.2026) */

:root {
  --primary-red: #ee4444;
  --border-color: #e5e5e5;
  --text-main: #222;
  --text-muted: #999;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
body {
	background: #ffffff;
	/* font-family: 'Manrope', sans-serif; */
  font-family: 'Google Sans', sans-serif;
	min-height: 100vh;
}

/* header */

.header {
  width: 100%;
  max-width: 1440px;
  height: 50px;
  margin: 30px auto;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 30px;
}

/* Логотип */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 222px;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-a {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.logo-text {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -1px;
}

/* Кнопка Каталог */
.catalog-btn {
  width: 190px;
  height: 50px;
  background-color: #EE4444;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0 16px 0 20px; /* Выравнивание по ТЗ */
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  position: relative;
  z-index: 1001;transition: background 0.2s;
}

.catalog-btn:hover {
  background-color: #E21C1E;
}

.catalog-btn.is-active {
  background-color: #687074 !important;
}

.catalog-btn.is-active .arrow-down {
  transform: rotate(180px);
}

.custom-select-wrapper {
    position: relative;
    margin-bottom: 15px;
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 9999 !important;
    padding: 0;
    margin: 5px 0 0 0;
    list-style: none;
}

.dropdown-list li {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 15px;
    color: #1a1a1a;
    transition: background 0.2s;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-list li:last-child {
    border-bottom: none;
}

.dropdown-list li:hover {
    background: #f9fafb;
    color: #EE4444; /* Твой красный цвет */
}

/* Стили выпадающего меню */
.catalog-menu {
  display: none; /* Скрыто по умолчанию */
  position: absolute;
  top: 90px; /* Отступ от хедера */
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: auto;
  background: #ffffff;
  border-radius: 20px;
  padding-left: 22px;
  padding-top: 20px;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 1;
  box-sizing: border-box;
  border: 1px solid var(--border-color);
}

/* Показываем меню, когда добавлен класс */
.catalog-menu.is-visible {
  display: block !important;
  animation: fadeIn 0.2s ease-out;
}

/* Контейнер для колонок */
.menu-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 равные колонки */
    gap: 30px; /* Расстояние между колонками */
    height: 100%;
}

/* Стили заголовков и ссылок внутри колонок */
.menu-column h3 {
    font-size: 18px;
    font-weight: 400;
    color: #A5B2B8;
	margin-bottom: 14px;
}

.menu-column ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.menu-column ul li {
    margin-bottom: 12px;
}

.menu-column ul li a {
    text-decoration: underline;
    font-size: 16px;
	font-weight: 400;
	line-height: 30px;
    transition: color 0.2s;
}

.menu-column ul li a:hover {
    color: #E21C1E;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Сетка из 9 круглых точек */
.catalog-dots {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  grid-template-rows: repeat(3, 4px);
  gap: 3px;
}

.catalog-dots span {
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 50%; /* Делаем точки круглыми */
}

.catalog-text {
  flex-grow: 1;
  text-align: left;
  margin-left: 12px;
}

/* Стрелочка */
.arrow-down {
  transition: transform 0.2s;
}

.catalog-btn:hover .arrow-down {
  transform: translateY(2px); /* Легкий эффект при наведении */
}

.catalog-icon {
  display: grid;
  grid-template-columns: repeat(3, 4px);
  gap: 2px;
}

.catalog-icon span {
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 1px;
}

/* Форма поиска */
.search-form {
  width: 492px;
  height: 50px;
  border: 1px solid #f29999; /* Цвет как на макете */
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  box-sizing: border-box;
}

.search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--text-muted);
}

.search-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* Общие стили для блоков Кабинет/Корзина */
.user-cabinet, .cart-block {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 50px;
  cursor: pointer;
}

.icon-box {
  width: 50px;
  height: 50px;
  background: #f4f6f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #666;
}

.text-info {
  display: flex;
  flex-direction: column;
}

.label {
  font-size: 12px;
  color: var(--text-muted);
}

.action {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

/* Бейдж корзины */
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ee4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

/* footer */

/* Общий контейнер для выравнивания по центру (1440px) */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* 1. Секция преимуществ */
.benefits-section {
  width: 100%;
  height: 282px;
  background-color: #F6F6F6;
  display: flex;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* .benefit-item {
  text-align: center;
} */

.benefit-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 50%;
  margin: 0 0 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.05); */
}

.benefit-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.benefit-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

/* 2. Секция марок */
.brands-section {
    max-width: 1440px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    color: #B4C1D0; /* Светло-серый заголовок */
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
}

/* Контейнер с колонками */
.brands-columns {
    column-count: 8;
    column-gap: 20px;
    width: 100%;
}

.brands-columns-car-page {
    margin-top: 40px;
    margin-bottom: 80px;
    column-count: 6;
}

.brand-group {
    display: flex;
    gap: 12px;
    /* margin-bottom: 20px; */
    break-inside: avoid; /* Чтобы буква не отрывалась от своего списка */
}

.letter {
    color: #B4C1D0;
    font-weight: 700;
    font-size: 14px;
    min-width: 15px;
    padding-top: 2px;
}

.brand-list {
    list-style: none;
    line-height: 22px;
    padding: 0;
    margin: 0;
}

.brand-list li {
    margin-bottom: 6px;
}

.brand-list li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.2s;
}

.brand-list li a:hover {
    color: #E21C1E;
}

.count {
    color: #B4C1D0;
    font-size: 12px;
    margin-left: 3px;
}

/* Кнопка "Все марки" */
.all-brands-wrapper {
    margin-top: 20px;
}

.all-brands-link {
    display: inline-flex;
    align-items: center;
    background: #F6F6F6;
    padding: 10px 20px;
    border-radius: 8px;
    color: #EE4444;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}

.all-brands-link:hover {
    background: #EEEEEE;
}

/* Разделительная линия */
.footer-line {
  height: 2px;
  background-color: #EAEAEA;
  margin: 40px auto;
}

/* 3. Основной футер (4 колонки) */
.footer-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 50px;
  align-items: start;
}

.footer-col {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.footer-logo-header, 
.footer-col h5 {
  height: 30px; /* Высота самого большого логотипа */
  margin-bottom: 25px; /* Отступ до текста снизу */
  display: flex;
  align-items: center; /* Центрируем логотипы и текст по вертикали */
  margin-top: 0;
}

/* Контейнер логотипов */
.footer-logo-header {
  display: flex;
  gap: 10px; /* Расстояние между кружком и текстом логотипа */
}

/* Заголовки в остальных колонках */
.footer-col h5 {
  font-size: 24px;
  font-weight: 400;
  color: #A5B2B8;
  white-space: nowrap;
}

/* Описание под логотипом и списки */
.footer-desc, 
.footer-col ul, 
.footer-phone {
  margin-top: 0;
  /* Теперь все эти элементы начнутся с одной и той же высоты */
}

.footer-desc {
  font-size: 14px;
  line-height: 1.4;
  color: #666;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.footer-phone {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* 4. Низ футера */
.footer-bottom {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #EAEAEA;
  font-size: 12px;
  color: #999;
}

.bottom-links a {
  margin-left: 20px;
  font-size: 14px;
  color: #999;
  text-decoration: none;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-links li {
    margin-bottom: 12px;
}

.social-links li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #222;
    font-size: 14px;
    transition: color 0.2s;
}

.social-links li a svg {
    margin-right: 10px;
    flex-shrink: 0;
}

/* Эффект при наведении */
.social-links li a:hover {
    color: #E21C1E;
}

/* Home */

.banner-section {
    background: #E8F0F3;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
 
  .banner-inner {
    display: flex;
    flex-direction: row-reverse; /* Подбор будет слева, слайдер справа */
    align-items: center;
    justify-content: center;
    gap: 32px;
    max-width: 1440px;
    margin: 0 auto;
    height: 500px;
  }
 
  /* ===== CAR SELECTOR BLOCK ===== */
  .car-selector {
  width: 338px;
  height: 400px; /* Фикс высота только для десктопа */
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  z-index: 50;
  flex-shrink: 0;
}
 
  .car-selector h3 {
    font-size: 24px;
    font-family: Google Sans;
    font-weight: 500;
    font-style: Medium;
    color: #000000;
    line-height: 1.35;
    margin-bottom: 28px;
  }
 
  .selector-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
    margin-top: 16px;
  }
  .selector-label:first-of-type { margin-top: 0; }
 
  /* Select buttons */
  .select-btn {
    width: 278px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-right: 10px;
    padding-bottom: 14px;
    padding-left: 16px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
  }
 
  .select-btn:hover {
    border-color: #c0c0c0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  }
 
  .select-btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
 
  .select-btn-label {
    font-size: 11px;
    color: #aaa;
  }
 
  .select-btn-value {
    font-size: 14px;
    color: #333;
    font-weight: 400;
  }
 
  .select-btn svg {
    flex-shrink: 0;
    color: #aaa;
  }
 
  /* Submit button */
  .submit-btn {
    width: 278px;
    height: 50px;
    border-radius: 8px;
    background: #EE4444;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: auto;
    margin-bottom: 0;
    gap: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
    transition: background 0.2s, transform 0.1s;
  }
 
  .submit-btn:hover { background: #cc2720; }
  .submit-btn:active { transform: scale(0.98); }
 
  /* ===== SLIDER ===== */
  .slider-wrapper {
    flex: 1;
    height: 400px;
    position: relative;
    overflow: hidden;
 
  }
 
  .slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }
 
  .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    /* align-items: center; */
    padding: 0 32px;
    position: relative;
    gap: 32px;
  }
  
  .overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; /* Чтобы ссылка была выше текста и картинок */
}
 
  /* Slide backgrounds — transparent */
  .slide-1, .slide-2, .slide-3, .slide-4, .slide-5 { background: transparent; }
 
  .slide-text {
    flex: 1;
    z-index: 2;
  }
 
  .slide-badge {
    display: inline-block;
    border: 1px solid #999;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    padding: 3px 24px;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
 
  .slide-title {
    font-size: 48px;
    font-weight: 700;
    color: #000000;
    line-height: 60px;
    margin-bottom: 16px;
    text-transform: uppercase;
  }
 
  .slide-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 450px;
  }
 
  .slide-image {
    flex-shrink: 0;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
 
  /* SVG product illustrations */
  .product-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 12px 32px rgba(0,0,0,0.18));
    transition: transform 0.4s ease;
  }
 
  .slide:hover .product-svg {
    transform: translateY(-6px) rotate(1deg);
  }
 
  /* Slider controls — bottom-right row: dots + arrows */
   /* DOTS — bottom left */
  .slider-dots {
    position: absolute;
    bottom: 20px;
    left: 32px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 10;
  }
  .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bbb;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }
  .dot.active { width: 10px; height: 10px; background: #1a1a1a; transform: scale(1.2); }
 
  /* ARROWS — bottom right */
  .slider-arrows {
    position: absolute;
    bottom: 12px;
    right: 8px;
    display: flex;
    gap: 18px;
    z-index: 10;
  }
  .slider-arrow {
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.13);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s, background 0.2s;
  }
  .slider-arrow:hover { background: #f5f5f5; box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
  .slider-arrow svg { width: 16px; height: 16px; stroke: #444; stroke-width: 2; fill: none; }

  /* Popular categories */

  .categories-section {
    background: #fff;
    padding: 56px 0 56px;
  }
 
  .categories-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
  }
 
  .categories-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
  }
 
  .categories-title {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0;
    color: #1a1a1a;
  }
 
  .categories-link {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #e63329;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
  }
  .categories-link:hover { opacity: 0.75; }
  .categories-link svg {
    width: 16px;
    height: 16px;
    stroke: #e63329;
    stroke-width: 2;
    fill: none;
  }
 
  .categories-grid {
    display: flex;
    justify-content: space-between;
  }
 
  .cat-card {
    width: 224px;
    height: 300px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: #111;
    display: block;
    text-decoration: none;
  }
 
  /* SVG/gradient backgrounds per card */
  .cat-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .cat-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

  .cat-card:hover .cat-card-bg { transform: scale(1.05); }
 
  /* Dark gradient overlay */
  .cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.45) 0%,
      rgba(0,0,0,0.1) 40%,
      rgba(0,0,0,0.05) 60%,
      rgba(0,0,0,0.55) 100%
    );
    border-radius: 16px;
    z-index: 1;
  }
 
  .cat-label {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    color: #fff;
    z-index: 2;
  }
 
  .cat-arrow {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    background: #e63329;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
  }
  .cat-card:hover .cat-arrow { background: #cc2720; }
  .cat-arrow svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none;
  }
 
  /* Individual card backgrounds using SVG patterns */
  .cat-1 .cat-card-bg { background: radial-gradient(ellipse at 60% 80%, #2a2a2a 0%, #111 100%); }
  .cat-2 .cat-card-bg { background: radial-gradient(ellipse at 40% 70%, #222 0%, #0d0d0d 100%); }
  .cat-3 .cat-card-bg { background: radial-gradient(ellipse at 50% 60%, #1e1e1e 0%, #111 100%); }
  .cat-4 .cat-card-bg { background: radial-gradient(ellipse at 50% 70%, #252525 0%, #0f0f0f 100%); }
  .cat-5 .cat-card-bg { background: radial-gradient(ellipse at 60% 50%, #222 0%, #111 100%); }
  .cat-6 .cat-card-bg { background: radial-gradient(ellipse at 40% 60%, #1a1a1a 0%, #0d0d0d 100%); }

  /* Popular products */

    .products-section {
    background: #fff;
    padding: 56px 0 64px;
  }
 
  .products-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
  }
 
  .products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
  }
 
  .products-title {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0;
    color: #1a1a1a;
  }
 
  .products-link {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: #e63329;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.2s;
  }
  .products-link:hover { opacity: 0.75; }
  .products-link svg { width: 16px; height: 16px; stroke: #e63329; stroke-width: 2; fill: none; }
 
  .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 338px);
    justify-content: space-between;
  }
 
  /* PRODUCT CARD */
  .prod-card {
    width: 338px;
    border-radius: 16px;
    border: 1px solid #ebebeb;
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.25s;
    cursor: pointer;
    margin-bottom: 28px;
  }
  .prod-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
 
  .prod-img {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
  }
  .prod-img svg { width: 80%; height: 80%; object-fit: contain; }
 
  .prod-body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
  }
 
  .prod-name {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: #000000;
    line-height: 1.45;
  }
 
  /* Rating (only on some cards) */
  .prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
  }
  .prod-rating .star { color: #f5a623; font-size: 13px; }
 
  /* Price row */
  .prod-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0 16px 0;
  }
  .prod-price {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
  }
  .prod-price-old {
    font-size: 13px;
    color: #aaa;
    text-decoration: line-through;
  }
  .prod-badge-discount {
    background: #e63329;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
  }
 
  /* Bottom actions */
  .prod-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between; 
    margin-top: auto;
  }
 
  .btn-cart {
    height: 40px;
    padding: 0 18px;
    background: #e63329;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
  }
  .btn-cart:hover { background: #cc2720; }
  .btn-cart svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2; }
 
  .prod-status {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: right;
  }
  .prod-status.in-stock { color: #2e9e5b; }
  .prod-status.on-order { color: #AC923D; }
  .prod-status svg { width: 14px; height: 14px; flex-shrink: 0; }

  /* Promotions */

  .promotions {
  margin-bottom: 80px;
}

/* Шапка секции */
.promo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}

.promo-header h2 {
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 40px;
  color: #101010;
  margin: 0;
}

.view-all {
  font-family: 'Google Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #f05050; /* Фирменный красный */
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}

.view-all:hover {
  opacity: 0.8;
}

/* Сетка */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 460px);
  gap: 30px;
}

.promo-grid a {
    text-decoration: none; 
    color: inherit; /* Ссылка будет под цвет текста, а не синяя */
  }

/* Карточка */
.promo-card {
  width: 460px;
  height: 424px;
  background: #F6F6F6; /* Светлый фон как на макете */
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.promo-card:hover {
  transform: translateY(-5px);
}

.promo-img-wrapper {
  width: 100%;
  height: 280px; /* Фиксируем высоту картинки */
  overflow: hidden;
}

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

.promo-info {
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.promo-title {
  font-family: 'Google Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #101010;
  margin: 0 0 12px 0;
}

.promo-date {
  font-size: 14px;
  color: #999;
}

/* Catalog top divider */
  .catalog-divider {
    width: 100%;
    height: 2px;
    background: #EAEAEA;
    border: none;
    margin: 0;
  }
 
  .catalog-header-section {
    max-width: 1440px;
    background: #fff;
    padding: 0;
    margin: 0 auto;
  }
 
  .catalog-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    /* padding: 0 20px; */
  }
 
  /* Breadcrumbs */
  .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 30px;
    padding-bottom: 12px;
    flex-wrap: wrap;
  }
 
  .breadcrumb-item {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    transition: color 0.2s;
  }
  .breadcrumb-item:hover { color: #666; }
  .breadcrumb-item.current {
    color: #666;
    pointer-events: none;
  }
 
  .breadcrumb-sep {
    font-size: 13px;
    color: #ccc;
    user-select: none;
  }
 
  /* Page title */
  .catalog-title {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0;
    color: #1a1a1a;
    margin-bottom: 30px;
  }

  /* Left Colum */

.sidebar {
  width: 318px;
  padding: 20px;
  box-sizing: border-box;
}

/* Header */
.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #444;
}

.reset-btn {
  background: none;
  border: none;
  color: var(--primary-red);
  font-size: 13px;
  cursor: pointer;
}

/* Filter Card */
.filter-card {
  background-color: #F6F6F6;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 30px;
}

.filter-group {
  margin-bottom: 20px;
}

.group-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.group-header label {
  font-weight: bold;
  font-size: 14px;
}

.reset-link {
  background: none;
  border: none;
  color: var(--primary-red);
  font-size: 12px;
  cursor: pointer;
}

/* Selects */
.select-wrapper {
  margin-bottom: 10px;
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  appearance: none;
  background: white;
  color: #555;
  outline: none;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  color: #aaa;
  pointer-events: none;
}

/* Price Inputs */
.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.input-field {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  flex: 1;
}

.input-field span {
  color: #aaa;
  font-size: 14px;
  margin-right: 5px;
}

.input-field input {
  border: none;
  width: 100%;
  outline: none;
  font-size: 14px;
}

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

/* Для Firefox */
.input-field input[type=number] {
  -moz-appearance: textfield;
}

.dash { color: #ccc; }

/* Range Slider */
.range-slider {
  position: relative;
  height: 4px;
  background: #eee;
  margin: 25px 5px 10px 5px;
}

.slider-track {
  position: absolute;
  height: 100%;
  background: var(--primary-red);
  left: 0;
  right: 0;
}

.slider-handle {
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border: 2px solid var(--primary-red);
  border-radius: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.slider-handle.right { left: 100%; }

/* Checkboxes */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  cursor: pointer;
  gap: 10px;
}

.checkbox-item input { display: none; }

.checkmark {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background: white;
}

.divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 22px 0;
}

/* Navigation Catalog */
.catalog-header {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #555;
}

.nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list > li > a, .nav-item-header {
  display: block;
  padding: 8px 0;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 14px;
}

.nav-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.sub-nav-list {
  list-style: none;
  padding: 0;
}

.sub-nav-list li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #444;
  font-size: 13px;
  border-radius: 4px;
}

.sub-nav-list li.selected {
  background-color: #ebebeb;
}

.arrow-up::after { content: '▲'; font-size: 10px; }

.product-selections {
  margin-top: 30px;
  padding-top: 10px;
}

/* Заголовок с иконкой */
.selections-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666; /* Серый цвет текста как на фото */
  margin-bottom: 15px;
}

/* Кастомная иконка "гамбургер" (3 полоски) */
.icon-menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 16px;
  height: 12px;
}

.icon-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #888;
  border-radius: 1px;
}

/* Список кнопок-тегов */
.selections-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Чтобы кнопки не растягивались на всю ширину */
  gap: 10px;
}

.selection-item {
  display: inline-block;
  background-color: #f5f5f5; /* Светло-серый фон */
  color: #1a1a1a;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px; /* Закругление углов */
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.selection-item:hover {
  background-color: #eeeeee;
}

/* Catalog */

.catalog-content {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

/* Toolbar */
.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    /* align-items: center;
    margin-bottom: 25px; */
    font-size: 14px;
}

.total-count strong { font-weight: 700; }

.sorting { display: flex; align-items: center; gap: 15px; }
.sorting-label { color: var(--text-gray); }

.sort-link {
    background: none;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text-gray);
    transition: 0.2s;
    text-decoration: none;
}

.sort-link.active {
    background: var(--bg-gray);
    color: var(--text-dark);
    font-weight: 600;
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 10px;
}

/* Card */
.product-card {
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-title {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    margin: 0 0 15px 0;
    flex-grow: 1;
}

.product-card a {
  text-decoration: none;
}

/* Price Block */
.product-price-block {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
}

.old-price {
    color: var(--text-gray);
    text-decoration: line-through;
    font-size: 14px;
}

.discount-badge {
    background: var(--accent-red);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Actions */
.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-to-cart {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 9px 24px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.add-to-cart:hover { opacity: 0.9; }

.stock-status {
    color: #27ae60;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stock-status.out-of-stock {
    color: #AC923D;
    font-weight: 500;
}

.catalog-container {
  max-width: 1440px; /* Или ваша ширина сайта */
  margin: 0 auto;
  padding: 0 20px;
}

/* Стили заголовка */
.breadcrumbs {
  font-size: 13px;
  color: #888;
  margin: 10px 0 0 0;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* ГЛАВНЫЙ КОНТЕЙНЕР ДЛЯ ВЫРАВНИВАНИЯ */
.main-layout {
    display: flex;
    flex-direction: row; /* Строго в ряд */
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}
.sidebar, #column-left {
    width: 318px !important; /* Фиксируем ширину */
    min-width: 318px;        /* Не даем сжиматься */
    flex-shrink: 0;         /* Запрещаем flex-контейнеру уменьшать колонку */
    padding: 0;             /* Убираем лишние отступы, если они мешают */
    box-sizing: border-box;
}

/* ОСНОВНОЙ БЛОК С ТОВАРАМИ */
.content-area {
    flex-grow: 1;           /* Занимает все свободное место */
    min-width: 0;           /* КРИТИЧНО: позволяет контенту сжиматься, не ломая flex-сетку */
    box-sizing: border-box;
}

/* Убедитесь, что внутри фильтров нет фиксированных ширин больше 318px */
.filter-card {
    width: 100%;
    box-sizing: border-box;
}

/* Контейнер-обертка */
.catalog-footer {
    display: flex;
    justify-content: space-between; /* Разносит элементы по краям */
    align-items: center;
    margin: 30px 0;
    width: 100%;
}

/* Кнопка "Показать еще" */
.btn-show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 30px;
    border: 1px solid #A5B2B8;
    border-radius: 4px;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-show-more:hover {
    border-color: #ac923d; /* Цвет как у вашего статуса "Под заказ" */
    background: #fdfcf9;
}

/* Пагинация */
.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px; /* Расстояние между цифрами */
}

.pagination li a, 
.pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%; /* Делаем кружки */
    transition: background 0.2s;
}

/* Активная страница */
.pagination li.active span {
    background-color: #e9ecef; /* Светло-серый круг */
    color: #000;
}

/* Стрелки и точки */
.pagination li.prev span,
.pagination li.next a {
    color: #b0b0b0;
}

.pagination li a:hover {
    background-color: #f8f9fa;
}

/* Стрелки */
.pagination li.prev span,
.pagination li.next a {
    color: #9ca3af; /* Цвет стрелок */
    font-weight: normal;
}

.pagination li.dots span {
    color: #2c2c2c;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .catalog-footer {
        flex-direction: column;
        gap: 20px;
    }
}

/* Product page */

.product-card-container {
    display: grid;
    grid-template-columns: 1fr 1fr 340px;
    /* Первый ряд — строго по высоте шапки. Было `auto auto`, и высокая галерея
       (она занимает оба ряда) растягивала первый ряд: между отзывами и выбором
       цвета зияла пустота на пол-экрана (замечание Марата 05.09.2026). */
    grid-template-rows: min-content auto; 
    gap: 20px 40px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 0;
}

.product-gallery {
    grid-column: 1;
    grid-row: 1 / 3; /* С 1-й по 3-ю линию (то есть 2 ряда) */
    display: flex;
    gap: 15px;
    width: 565px;
}

/* Шапка: занимает 2-ю и 3-ю колонки, но только 1-й ряд */
.product-header {
    grid-column: 2;
    grid-row: 1;
    /* border-bottom: 1px solid #f0f0f0; */
    align-self: start; /* Прижать к верху */
}

/* Опции: 2-я колонка, 2-й ряд (сразу под шапкой) */
.product-info-column {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    border-top: 1px solid #f0f0f0;
}

.option-list {
    padding-top: 20px;
}

.product-short-specs {
    padding-top: 20px;
}

.option-list + .product-short-specs {
    margin-top: 12px;
}

.product-info-column.no-options {
  border: none;
}

.product-info-column:not(.no-options) .option-list {
    margin-top: -5px; /* компенсируем margin-top: 5px из inline-стиля */
}

/* Блок цены: 3-я колонка, 2-й ряд (сразу под шапкой) */
.product-actions-box {
    grid-column: 3;
    /* Оба ряда, прижат к верху: иначе блок жил во втором ряду, а первый ряд
       растягивала высокая галерея — цена уезжала на пол-экрана вниз
       (замечание Марата 05.09.2026). */
    grid-row: 1 / 3;
    align-self: start;
}

/* Маркетплейсы под кнопкой заказа */
.mp-buy {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.mp-buy-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.mp-buy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mp-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    line-height: 1;
    color: #333;
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.mp-chip img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    /* Обесцвечены, чтобы не спорить с фирменным красным; цвет возвращается
       при наведении — тогда логотип узнаётся. */
    filter: grayscale(1);
    opacity: .7;
    transition: filter .15s, opacity .15s;
}

.mp-chip:hover {
    border-color: #FE0000;
    color: #FE0000;
}

.mp-chip:hover img {
    filter: none;
    opacity: 1;
}

.mp-buy-note {
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #FE0000;
    line-height: 1.4;
}

/* Мессенджеры оформлены теми же чипами, что и маркетплейсы (Марат 05.09.2026) —
   отличается только ряд, в котором они стоят. */
.mp-buy-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* .product-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
} */

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars { color: #ffc107; font-size: 18px; margin-right: 5px; }
.rating-val { font-weight: 700; margin-right: 10px; color: #000000;}
.reviews-link { color: #EE4444; text-decoration: none; border-bottom: 1px dashed #ccc; font-size: 14px; font-weight: 400;}
.sku { color: #b0b0b0; font-size: 13px; }

/* Стили для выбора цвета (сетка) */
.color-selector {
    display: grid;
    /* было repeat(6, 48px) — на узком экране сетка вылезала за край;
       auto-fill сам переносит образцы по ширине контейнера */
    grid-template-columns: repeat(auto-fill, minmax(48px, 48px));
    gap: 10px;
}

@media (max-width: 480px) {
    .color-selector {
        grid-template-columns: repeat(auto-fill, minmax(44px, 44px));
        gap: 8px;
    }
    .color-item { width: 44px; height: 44px; }
}

.color-item {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: inset 0 0 2px rgba(0,0,0,0.1);
}

.radio-item {
    display: none;
}
.color-item.active { border: 2px solid #ff4d4d; }

/* Правый блок (Цена) */
.product-actions-box {
    background: #f9fafb;
    padding: 30px;
    border-radius: 20px;
    align-self: start; /* Чтобы блок не растягивался по высоте всей строки */
}

.price-main { font-size: 36px; font-weight: 800; margin-bottom: 5px; }
.price-old-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.price-old { text-decoration: line-through; color: #aaa; font-size: 18px; }
.price-discount { background: #ff4d4d; color: #fff; padding: 2px 8px; border-radius: 12px; font-size: 12px; font-weight: 700; }

.btn-add-cart {
    width: 100%;
    height: 54px;
    background: #EE4444;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 12px;
}

.btn-buy-now {
    width: 100%;
    height: 54px;
    background: #fff;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
}

.stock-status-detailed {
    margin-top: 20px;
    color: #2fb44e;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumb {
    width: 60px;
    height: 60px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.thumb.active { border-color: #ff4d4d; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.main-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.main-image img {
    max-height: 450px; /* Укажите нужную высоту в пикселях */
    width: auto;       /* Чтобы пропорции сохранялись автоматически */
    display: block;    /* Убирает лишние отступы снизу */
    margin: 0 auto;    /* Центрирует картинку, если она уже контейнера */
    object-fit: contain; /* Гарантирует, что всё фото впишется в область */
}

/* ИНФОРМАЦИЯ */
/* .product-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
} */

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #888;
    font-weight: 700;
}

.option-group { margin-bottom: 25px; }
.option-group label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 10px;
}

.option-buttons { display: flex; gap: 10px; }
.opt-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.opt-btn.active { border-color: #ff4d4d; font-weight: 600; }

.product-short-specs {
    /* margin-top: 30px; */
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
}

.spec-row span:first-child { color: #888; }
.all-specs { color: #ff4d4d; text-decoration: none; font-size: 14px; }

/* КОРЗИНА */
.product-actions-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 16px;
    height: fit-content;
}

/* Контейнер для цен */
.price-row {
    display: flex;
    flex-direction: column; /* Складываем элементы в столбик */
    align-items: flex-start; /* Прижимаем к левому краю */
    gap: 4px; /* Небольшой зазор между текущей и старой ценой */
    margin-bottom: 20px;
}

/* Основная цена (теперь она сверху) */
.price-main {
    font-size: 36px;
    font-weight: 800;
    line-height: 1; /* Убираем лишние отступы в строке */
    color: #000;
}

/* Обертка для старой цены и скидки (теперь она снизу) */
.price-old-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-old {
    text-decoration: line-through;
    color: #aaa;
    font-size: 18px;
}

.price-discount {
    background: #ff4d4d;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.main-price { font-size: 32px; font-weight: 800; }
.old-price { color: #aaa; text-decoration: line-through; font-size: 16px; }
.discount-label {
    background: #ff4d4d;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.btn-buy-now {
    width: 100%;
    background: white;
    border: 1px solid #ff4d4d;
    color: #ff4d4d;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
}

.stock-info {
    margin-top: 20px;
    font-size: 13px;
    color: #28a745;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    background: #28a745;
    border-radius: 50%;
}

.related-products-section {
    margin-top: 10px;
    padding: 20px 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}

/* Шапка со стрелками */
.related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.related-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: #000;
}

.slider-navigation {
    display: flex;
    gap: 10px;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f5f7f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: #e2e6ea;
}

/* Трек с карточками */
.related-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto; /* Позволяет скроллить горизонтально */
    padding-bottom: 20px; /* Место для тени или скроллбара */
    scrollbar-width: thin; /* Тонкий скроллбар для Firefox */
}

/* Скрываем скроллбар для красоты (опционально) */
.related-slider-track::-webkit-scrollbar {
    height: 6px;
}
.related-slider-track::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 10px;
}

/* Сама карточка */
.related-card {
    flex: 0 0 calc(16.666% - 17px); /* 6 карточек в ряд с учетом gap 20px */
    min-width: 220px; /* Минимальная ширина, чтобы не сжимались слишком сильно */
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.2s;
}

.related-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Картинка */
.card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    padding: 15px;
}

.card-image-link img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Контент карточки */
.card-content {
    padding: 0 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Заставляет этот блок занять оставшуюся высоту */
}

.card-title-link {
    font-size: 14px;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Обрезает текст на 2-й строке, добавляя троеточие */
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1; /* Прижимает цену и кнопку к низу */
}

.card-title-link:hover {
    color: #ff4d4d;
}

/* Цена */
.card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 15px;
}

.card-price-main {
    font-size: 18px;
    font-weight: 700;
}

.card-price-old {
    font-size: 13px;
    color: #a0a0a0;
    text-decoration: line-through;
}

/* Кнопка */
.btn-related-cart {
    width: 100%;
    background: #ef4444; /* Красный цвет как на макете */
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-related-cart:hover {
    background: #dc2626;
}

.description-specs-section {
    padding: 20px 0;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}

.product-section-title {
    font-size: 36px;
    font-weight: 500;
    color: #000;
    margin-bottom: 40px;
}

/* Сетка для двух колонок */
.desc-specs-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две равные колонки */
    gap: 60px; /* Большой отступ между текстом и таблицей */
    align-items: start;
}

/* Левая колонка (Текст) */
.desc-text-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #687074; /* Слегка серый цвет текста для легкого чтения */
    margin-bottom: 20px;
}

.desc-text-content p:last-child {
    margin-bottom: 0;
}

/* Правая колонка (Таблица характеристик) */
.specs-table-box {
    background-color: #f7f8f9; /* Светло-серый фон */
    border-radius: 12px;
    padding: 40px;
}

/* Строка характеристики */
.spec-row {
    display: flex;
    align-items: baseline; /* Выравнивание по базовой линии шрифта */
    margin-bottom: 18px;
}

.spec-row:last-child {
    margin-bottom: 0;
}

/* Название (слева) */
.spec-name {
    color: #888;
    font-size: 14px;
    white-space: nowrap; /* Запрещаем перенос названия */
}

/* Пунктирная линия (посередине) */
.spec-dots {
    flex-grow: 1; /* Занимает всё свободное место */
    border-bottom: 1px dotted #ccc;
    margin: 0 15px;
}

/* Значение (справа) */
.spec-value {
    color: #111;
    font-size: 14px;
    font-weight: 500;
    max-width: 60%; /* Не дает длинному тексту вытеснить название */
    line-height: 1.4;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .desc-specs-container {
        grid-template-columns: 1fr; /* Схлопываем в одну колонку */
        gap: 30px;
    }
    
    .specs-table-box {
        padding: 25px;
    }
}

.reviews-section {
    margin-top: 60px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}

/* Шапка блока */
.reviews-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.reviews-title, .questions-title {
    font-size: 36px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}


.reviews-count {
    color: #9ca3af; /* Серый цвет для количества */
    font-weight: 400;
}

/* Основная сетка: Отзывы слева, Сайдбар справа */
.reviews-layout {
    display: grid;
    grid-template-columns: 1fr 320px; /* Правая колонка фиксированной ширины */
    gap: 60px;
    align-items: start;
}

/* --- Стили для отдельного отзыва --- */
.review-item {
    display: grid;
    grid-template-columns: 220px 1fr; /* Имя слева, текст справа */
    gap: 20px;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f3f4f6;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.author-name {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.review-stars {
    letter-spacing: 2px;
}

.star { font-size: 26px; }
.star.filled { color: #f59e0b; } /* Желтый цвет для закрашенной звезды */
.star.empty { color: #d1d5db; }  /* Серый для пустой */

.review-date {
    font-size: 13px;
    color: #9ca3af;
}

.review-text {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 20px;
}

/* Кнопки лайк/дизлайк */
.review-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-label {
    font-size: 13px;
    color: #9ca3af;
    margin-right: 5px;
}

.btn-vote {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.btn-vote:hover {
    color: #111;
}

/* --- Стили для правой колонки (Сайдбар) --- */
.sticky-wrapper {
    position: sticky;
    top: 20px; /* Прилипает на 20px от верхнего края экрана */
}

.overall-rating-block {
    margin-bottom: 30px;
}

.rating-score {
    margin-bottom: 10px;
}

.score-main {
    font-size: 48px;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.score-max {
    font-size: 48px;
    color: #9ca3af;
}

.overall-stars {
    font-size: 20px;
    color: #f59e0b;
    letter-spacing: 2px;
}

.rating-subtitle {
    font-size: 13px;
    color: #687074;
    line-height: 1.4;
}

/* Серый блок с кнопкой */
.add-review-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 25px;
}

.add-review-box p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 20px;
}

.btn-submit-review {
    width: 100%;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-review:hover {
    background: #dc2626;
}

/* Адаптивность для телефонов и планшетов */
@media (max-width: 992px) {
    .reviews-layout {
        grid-template-columns: 1fr; /* Сайдбар переносится вниз */
        gap: 40px;
    }
    
    .sticky-wrapper {
        position: static; /* Отключаем прилипание на мобильных */
    }
}

@media (max-width: 600px) {
    .review-item {
        grid-template-columns: 1fr; /* Имя сверху, текст снизу */
        gap: 10px;
    }
    
    .review-author-info {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .author-name { margin-bottom: 0; }
    .review-stars { margin-bottom: 0; }
}

/* Контейнер пагинации отзывов */
.reviews-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Кнопка "Показать еще" */
.btn-show-more-reviews {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-show-more-reviews:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

/* Список страниц */
.reviews-pagination {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px; /* Небольшой отступ между цифрами */
}

.reviews-pagination li a,
.reviews-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%; /* Круглый фон */
    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

/* Активная страница */
.reviews-pagination li.active span {
    background: #e5e7eb; /* Серый кружок */
}

/* Ховер для ссылок */
.reviews-pagination li a:hover {
    background: #f3f4f6;
}

/* Стрелки */
.reviews-pagination li.prev span,
.reviews-pagination li.next a {
    color: #111;
}

/* Адаптивность для телефонов */
@media (max-width: 600px) {
    .reviews-footer {
        flex-direction: column; /* Ставим элементы друг под другом */
        gap: 20px;
    }
    
    .btn-show-more-reviews {
        width: 100%; /* Кнопка на всю ширину экрана */
    }
}

.questions-section {
    margin-top: 60px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', sans-serif;
}

/* Шапка блока */
.questions-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.questions-count {
    color: #9ca3af;
    font-weight: 400;
}

/* Сетка контента */
.questions-layout {
    display: grid;
    grid-template-columns: 1fr 320px; /* Правая колонка 320px */
    gap: 60px;
    align-items: start;
}

/* --- Стили для вопроса и ответа --- */
.question-item {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #f3f4f6;
}

.question-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Шапки сообщений */
.q-header, .a-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.q-author {
    font-weight: 700;
    font-size: 15px;
    color: #111;
}

.q-date, .a-date {
    font-size: 13px;
    color: #9ca3af;
}

.q-text {
    font-size: 15px;
    line-height: 1.6;
    color: #111;
    margin-bottom: 25px;
}

/* Блок ответа (с отступом слева) */
.a-content {
    margin-left: 50px; /* Тот самый сдвиг вправо */
}

.a-author-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Красный кружок с логотипом А */
.a-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #ef4444;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.a-logo i {
    font-style: italic;
    font-family: serif;
    line-height: 1;
}

.a-author {
    font-weight: 700;
    font-size: 15px;
    color: #111;
}

.a-text {
    font-size: 15px;
    line-height: 1.6;
    color: #111;
    font-weight: 600; /* Ответ выглядит чуть более жирным */
    margin-bottom: 15px;
}

/* Кнопки лайков */
.q-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.q-action-label {
    font-size: 13px;
    color: #9ca3af;
    margin-right: 5px;
}

.btn-q-vote {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.btn-q-vote:hover {
    color: #111;
}

/* --- Стили для сайдбара --- */
.sticky-wrapper {
    position: sticky;
    top: 20px; /* Залипание при скролле */
}

.ask-question-box {
    background: #f9fafb;
    border-radius: 12px;
    padding: 30px 25px;
}

.ask-question-box h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #111;
}

.ask-question-box p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 25px;
    margin-top: 0;
}

/* Кнопка "Задать вопрос" (белая с красной рамкой) */
.btn-ask-question {
    width: 100%;
    background: #fff;
    border: 1px solid #ef4444; /* Красная рамка */
    color: #ef4444; /* Красный текст */
    padding: 14px 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-ask-question:hover {
    background: #fef2f2; /* Легкий красный фон при наведении */
}

/* Адаптивность */
@media (max-width: 992px) {
    .questions-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sticky-wrapper {
        position: static;
    }
}

@media (max-width: 600px) {
    .a-content {
        margin-left: 20px; /* Уменьшаем отступ на мобильных */
    }
    
    .q-header, .a-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Cart */

.cart-section {
    max-width: 1440px;
    margin: 0px auto;
    padding: 0 20px;
}

/* --- Заголовок (ваши стили + счетчик) --- */
.cart-title {
    font-family: 'Google Sans', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px; /* Отступ до кружочка */
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #111;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50%;
    vertical-align: middle;
}

/* --- Основная сетка --- */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* Список товаров слева, итоги (380px) справа */
    gap: 40px;
    align-items: start;
}

/* --- Стили отдельного товара --- */
.cart-items-list {
    border-top: 1px solid #f0f0f0;
}

.cart-item {
    display: grid;
    /* Картинка (100px) | Текст (1fr) | Цена (140px) | Кнопки (120px) */
    grid-template-columns: 100px 1fr 140px 120px;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

.item-image {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item-name {
    font-size: 14px;
    color: #111;
    text-decoration: none;
    line-height: 1.4;
    font-weight: 500;
}

.item-name:hover {
    color: #ef4444;
}

.item-sku {
    font-size: 12px;
    color: #9ca3af;
}

/* Цены в товаре */
.item-price-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-price-main {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.item-price-old-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-price-old {
    font-size: 13px;
    color: #9ca3af;
    text-decoration: line-through;
}

.item-discount {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
}

.item-price-per-piece {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* Контролы (Плюс/Минус и Удалить) */
.item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Прижимаем вправо */
    gap: 15px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 36px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 100%;
    background: #fff;
    border: none;
    color: #6b7280;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.qty-btn:hover { background: #f3f4f6; color: #111; }

.qty-input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    padding: 0;
}
.qty-input:focus { outline: none; }

.btn-remove {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
}

.btn-remove:hover { color: #ef4444; }

/* --- Правая колонка (Сайдбар) --- */
.sticky-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Расстояние между блоком итогов и промокодом */
}

.summary-box, .promo-box {
    background: #F6F6F6;
    border-radius: 16px;
    padding: 30px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: #111;
}

/* Строки с точками */
.summary-list {
    margin-bottom: 25px;
}

.summary-row {
    display: flex;
    align-items: baseline;
    font-size: 14px;
    margin-bottom: 12px;
    color: #4b5563;
}

.s-label { white-space: nowrap; }

.s-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ee4444;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    margin-left: 5px;
}

.s-dots {
    flex-grow: 1;
    border-bottom: 1px dotted #d1d5db;
    margin: 0 10px;
}

.s-value {
    font-weight: 600;
    color: #111;
}

.discount-row .s-value {
    color: #ef4444; /* Красный цвет для скидок */
}

/* Итого */
.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin-bottom: 25px;
}

.total-label {
    font-size: 18px;
    font-weight: 700;
    color: #111;
}

.total-value {
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

.btn-checkout {
    width: 100%;
    background: #ee4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-checkout:hover { background: #dc2626; }

/* Промокод */
.promo-box p {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 15px 0;
}

.promo-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 15px;
    font-size: 14px;
    color: #111;
    transition: border-color 0.2s;
}

.promo-input:focus {
    outline: none;
    border-color: #9ca3af;
}

/* Адаптив */
@media (max-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr; /* Сайдбар падает вниз */
    }
    
    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-item {
        /* На мобильных перестраиваем сетку товара */
        grid-template-columns: 80px 1fr;
        grid-template-areas: 
            "img info"
            "img price"
            "controls controls";
        gap: 15px;
    }
    
    .item-image { grid-area: img; width: 80px; height: 80px; }
    .item-info { grid-area: info; }
    .item-price-block { grid-area: price; }
    .item-controls { 
        grid-area: controls; 
        flex-direction: row; /* Плюс/минус и удалить в одну строку */
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }
}

/* Checkout */

.page {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 80px;
  }
 
  /* ─── LEFT COLUMN ─── */
  .left-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
 
  /* ─── RIGHT COLUMN ─── */
  .right-col {
    width: 460px;
    flex-shrink: 0;
  }
 
  /* ─── CARDS ─── */
  .card {
    background: #F6F6F6;
    border-radius: 12px;
    padding: 20px;
  }
 
  .card-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 4px;
  }
 
  .card-subtitle {
    font-size: 14px;
    color: #687074;
    margin-bottom: 30px;
  }
 
  /* ─── FORM INPUTS ─── */
  .input-row {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
  }
 
  .input-wrap {
    flex: 1;
    position: relative;
  }
 
  .input-wrap label {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 11px;
    color: #aaa;
    pointer-events: none;
  }
 
  .form-input {
    width: 100%;
    height: 48px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
    outline: none;
    transition: border-color 0.15s;
  }
 
  .form-input.with-label {
    padding-top: 18px;
  }
 
  .form-input::placeholder {
    color: #bbb;
  }
 
  .form-input:focus {
    border-color: #aaa;
  }
 
  /* ─── DELIVERY OPTIONS ─── */
  .delivery-options {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
  }
 
  .del-opt {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    position: relative;
    transition: border-color 0.15s;
  }
 
  .del-opt.active {
    border: 2px solid #e04f2f;
  }
 
  .del-opt-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
  }
 
  .del-opt-price {
    font-size: 13px;
    color: #888;
  }
 
  .del-opt-price.free {
    color: #1a9e60;
  }
 
  .del-opt-city {
    font-size: 12px;
    color: #888;
  }
 
  .check-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e04f2f;
    display: flex;
    align-items: center;
    justify-content: center;
  }
 
  .check-badge svg {
    width: 10px;
    height: 10px;
  }
 
  /* ─── ADDRESS ROW ─── */
  .address-row {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
  }
 
  .addr-main { flex: 1; }
 
  .addr-sm { width: 90px; }
 
  /* ─── COURIER TABLE ─── */
  .courier-section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
  }
 
  .courier-table {
    width: 100%;
    border-collapse: collapse;
  }
 
  .courier-table thead td {
    font-size: 12px;
    color: #999;
    padding-bottom: 8px;
  }

  .courier-table tbody {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
  }
 
  .courier-table tbody tr {
    border-top: 1px solid #f0f0f0;
  }
 
  .courier-table tbody td {
    padding: 11px 8px;
    vertical-align: middle;
  }
 
  .courier-table tbody tr.selected {
    outline: 2px solid #ee4444;
    outline-offset: -1px;
    border-radius: 6px;
  }
 
  /* logos */
  .logo-pochta {
    font-size: 12px;
    font-weight: 900;
    color: #003580;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-style: italic;
  }
 
  .logo-cdek {
    font-size: 16px;
    font-weight: 900;
    color: #00a651;
  }
 
  .logo-ozon {
    font-size: 15px;
    font-weight: 800;
    color: #005bff;
  }
 
  .logo-yandex {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
  }
 
  .ya-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #fc3f1d;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 800;
    color: #fff;
  }
 
  .col-price { color: #1a1a1a; }
  .col-date  { color: #888; }
  .col-check { width: 32px; text-align: right; }
 
  .hint-text {
    font-size: 12px;
    color: #aaa;
    margin-top: 10px;
    line-height: 1.6;
  }
 
  .comment-input {
    width: 100%;
    margin-top: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 13px 14px;
    font-size: 14px;
    color: #bbb;
    background: #fff;
    outline: none;
    font-family: inherit;
    resize: none;
  }
 
  /* ─── ORDER CARD ─── */
  .order-card {
    background: #F6F6F6;
    border-radius: 12px;
    padding: 20px;
  }
 
  .order-title {
    font-size: 24x;
    font-weight: 500;
    color: #687074;
    margin-bottom: 16px;
  }
 
  .order-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    border-top: 2px solid #EAEAEA;
    /* border-bottom: 2px solid #EAEAEA; */
    padding: 15px 0;
  }
 
  .item-thumb {
    background: #f4f4f4;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
 
  .item-thumb svg {
    opacity: 0.35;
  }
 
  .item-info {
    flex: 1;
    min-width: 0;
  }
 
  .item-name {
    font-size: 13px;
    color: #1a1a1a;
    line-height: 1.4;
  }
 
  .item-qty {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
  }
 
  .item-price {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
  }
 
  .divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 12px 0;
  }
 
  .totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #888;
    margin-bottom: 6px;
  }
 
  .totals-row span:last-child {
    color: #1a1a1a;
    font-weight: 500;
  }
 
  .pay-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 14px 0 16px;
  }
 
  .pay-label {
    font-size: 16px;
    font-weight: 600;
  }
 
  .pay-amount {
    font-size: 22px;
    font-weight: 700;
  }
 
  .order-btn {
    width: 100%;
    background: #ee4444;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
  }
 
  .order-btn:hover {
    background: #c94028;
  }
 
  .agree-text {
    font-size: 14px;
    color: #aaa;
    margin-top: 10px;
    line-height: 1.5;
  }
 
  .agree-text a {
    font-size: 14px;
    color: #e04f2f;
    text-decoration: none;
  }
 
  .city-link {
    color: #e04f2f;
    text-decoration: none;
  }

  /* ─── TAB PANELS ─── */
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }
 
  /* ─── PICKUP PANEL ─── */
  .pickup-section-title {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
  }
 
  .pickup-info-block {
    display: flex;
    gap: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
  }
 
  .pickup-info-left {
    flex: 1;
    padding: 16px;
    min-width: 0;
  }
 
  .pickup-logo {
    font-size: 18px;
    font-weight: 900;
    color: #005bff;
    margin-bottom: 10px;
  }
 
  .pickup-address {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
  }
 
  .pickup-hours {
    font-size: 13px;
    color: #555;
    margin-bottom: 2px;
  }
 
  .pickup-phone {
    font-size: 13px;
    color: #555;
    margin-bottom: 12px;
  }
 
  .pickup-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
 
  .pickup-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
    border-bottom: 1px dotted #e0e0e0;
    padding-bottom: 4px;
  }
 
  .pickup-meta-row span:last-child {
    color: #1a1a1a;
    font-weight: 700;
  }
 
  .pickup-change-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 13px;
    color: #e04f2f;
    text-decoration: none;
    cursor: pointer;
  }
 
  .pickup-change-link svg {
    width: 14px;
    height: 14px;
  }
 
  .pickup-map {
    width: 220px;
    flex-shrink: 0;
    background: #e8ede4;
    position: relative;
    overflow: hidden;
    min-height: 220px;
  }
 
  .map-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
 
  .map-mock {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4e0c8 0%, #c8d8b8 40%, #e8ede4 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
 
  .map-road-h {
    position: absolute;
    left: 0; right: 0;
    height: 14px;
    background: #f5d87a;
    opacity: 0.8;
  }
 
  .map-road-v {
    position: absolute;
    top: 0; bottom: 0;
    width: 10px;
    background: #f5d87a;
    opacity: 0.7;
  }
 
  .map-pin {
    width: 28px;
    height: 28px;
    background: #005bff;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
  }
 
  .map-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
 
  .map-zoom button {
    width: 28px;
    height: 28px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-family: inherit;
  }
 
  .map-yandex-badge {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    opacity: 0.7;
  }
 
  .map-open-link {
    position: absolute;
    bottom: 6px;
    left: 8px;
    font-size: 11px;
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 3px;
  }
 
  /* ─── SELFPICKUP PANEL ─── */
  .selfpickup-info {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
  }
 
  .selfpickup-header {
    display: flex;
    gap: 24px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
  }
 
  .selfpickup-col label {
    font-size: 11px;
    color: #aaa;
    display: block;
    margin-bottom: 4px;
  }
 
  .selfpickup-col .val {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
  }
 
  .selfpickup-col .val.free {
    color: #1a9e60;
  }
 
  .selfpickup-map {
    height: 220px;
    background: #e8ede4;
    position: relative;
    overflow: hidden;
  }

  /* Modal login */

  /* Затемнение фона */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Полупрозрачный черный */
    display: none; /* Скрыто по умолчанию. JS поменяет это на flex */
    align-items: center;
    justify-content: center;
    z-index: 9999; /* Поверх всех элементов сайта */
    backdrop-filter: blur(2px); /* Легкое размытие заднего фона */
}

/* Белый блок модалки */
.auth-modal {
    background: #fff;
    width: 100%;
    max-width: 460px;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-family: 'Inter', sans-serif;
    margin: 20px;
}

/* Круглая кнопка закрытия */
.modal-close {
    position: absolute;
    top: -15px; /* Выносим за пределы блока вверх */
    right: -15px; /* Выносим за пределы блока вправо */
    width: 40px;
    height: 40px;
    background: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.modal-close:hover {
    transform: scale(1.1);
}

/* Тексты */
.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
}

.auth-subtitle {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 25px 0;
}

/* Поле ввода */
.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 16px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 15px;
    color: #1a1a1a;
    margin-bottom: 20px;
    outline: none;
    transition: border-color 0.2s;
}

.auth-input:focus {
    border-color: #EE4444;
}

/* Кнопка */
.btn-auth-submit {
    width: 100%;
    background: #EE4444;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 20px;
}

.btn-auth-submit:hover {
    background: #d63d3d;
}

/* Текст с политикой */
.auth-disclaimer {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.auth-disclaimer a {
  font-size: 12px;
    color: #EE4444;
    text-decoration: none;
}

.auth-disclaimer a:hover {
    text-decoration: underline;
}


/* Переключатель "Вход"/"Регистрация" в модалке #authModalOverlay
   (2026-09-07 - вход по email заменил собой SMS-модалку, у которой
   переключателя между шагами не требовалось). */
.auth-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.auth-tab {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    background: #fff;
    transition: border-color .15s, color .15s;
}
.auth-tab.active {
    border-color: #EE4444;
    color: #EE4444;
}

/* Account */

.lk-section {
    max-width: 1440px;
    margin: 0 auto 60px;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
}

/* Шапка с кнопкой Выйти */
.lk-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 10px 20px;
    border-radius: 8px;
    color: #EE4444; /* Красный акцент */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-logout:hover {
    background: #fef2f2;
    border-color: #EE4444;
}

/* Сетка ЛК */
.lk-layout {
    display: grid;
    grid-template-columns: 1fr 380px; /* Соотношение как в корзине */
    gap: 30px;
    align-items: start;
}

/* Базовый белый блок */
.lk-block {
    background: #F6F6F6;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03); /* Легкая тень, чтобы блоки выделялись на сером фоне сайта (если он есть) */
}

.lk-block-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Сортировка (шапка заказов) */
.lk-orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.account-badge {
    background: #9ca3af;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 12px;
}

.lk-sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 14px;
    color: #6b7280;
    margin-right: 5px;
}

.sort-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
}

.sort-btn.active {
    background: #f3f4f6;
    color: #1a1a1a;
    font-weight: 600;
}

/* Карточка заказа */
.order-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.o-info { width: 180px; }
.o-number { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.o-date { font-size: 13px; color: #9ca3af; }

/* Статусы заказов */
.o-status {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}
.status-warning { background: #fef0d8; color: #1a1a1a; }
.status-info { background: #e6efff; color: #1a1a1a; }
.status-success { background: #f3f4f6; color: #1a1a1a; }
.status-canceled { background: #f3f4f6; color: #9ca3af; }

/* Кнопка оплаты */
.o-action { width: 120px; display: flex; justify-content: center; }
.btn-pay {
    background: #EE4444;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* Цена и статус оплаты */
.o-price-block { text-align: right; min-width: 100px; }
.o-price { font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.o-payment { font-size: 13px; }
.unpaid { color: #EE4444; }
.paid { color: #10b981; }
.refunded { color: #9ca3af; }

/* Миниатюры товаров в заказе */
.order-items-preview {
    display: flex;
    gap: 10px;
    border-top: 1px solid #f3f4f6;
}
.order-items-preview img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Пагинация (аналогично каталогу) */
.lk-pagination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

/* Форма профиля (Правая колонка) */
.profile-subtitle {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.btn-save-profile {
    background: #EE4444;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .lk-layout { grid-template-columns: 1fr; }
    .sticky-sidebar { position: static; }
}

@media (max-width: 768px) {
    .order-header { flex-wrap: wrap; gap: 15px; }
    .o-info { width: 100%; }
    .o-action { width: 100%; justify-content: flex-start; }
    .o-price-block { width: 100%; text-align: left; }
    .lk-orders-header { flex-direction: column; align-items: flex-start; gap: 15px; }
}

/* --- Стили для формы профиля --- */

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Расстояние между полями */
}

/* Обертка для поля ввода (белый фон, рамка, скругления) */
.profile-form .input-wrapper {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
}

/* Подсветка рамки при клике внутрь поля */
.profile-form .input-wrapper:focus-within {
    border-color: #9ca3af;
}

/* Подпись над инпутом (ФИО, Телефон и т.д.) */
.profile-form .input-wrapper label {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 4px;
    font-weight: 400;
}

/* Само поле ввода */
.profile-form .input-wrapper input {
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    outline: none;
    padding: 0;
    background: transparent;
    width: 100%;
}

/* Кнопка "Сохранить" */
.btn-save-profile {
    background: #EE4444;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
    align-self: flex-start; /* Чтобы кнопка не растягивалась на всю ширину колонки */
}

.btn-save-profile:hover {
    background: #d63d3d; /* Чуть более темный красный при наведении */
}

/* Articles */

.article-list {
  width: 100%;
  font-family: sans-serif;
  margin-bottom: 60px;

}

.article-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
}

.article-thumb {
  width: 80px;
  height: 60px;
  min-width: 80px;
  border-radius: 8px;
  background: #f5f5f5;
  overflow: hidden;
  border: 1px solid #eaeaea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-body {
  flex: 1;
  min-width: 0;
}

.article-title {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 5px;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}

.article-title:hover {
  color: #EE4444;
}

.article-desc {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-divider {
  width: 100%;
  height: 1px;
  background: #EAEAEA;
  border: none;
  margin: 0;
}

#content {
  max-width: 1440px !important;
  width: 100% !important;
}

/* For Mobile version */

.mobile-only, .mobile-bottom-nav {
    display: none !important;
}

/* Десктопная галерея */
@media (min-width: 769px) {
    .product-gallery {
        display: flex !important; /* Выстраиваем превью и фото в ряд */
        align-items: flex-start;
        gap: 20px;
    }

    .thumbnails {
        display: flex;
        flex-direction: column; /* ПРЕВЬЮ В СТОЛБИК */
        gap: 10px;
        width: 80px; /* Фиксируем ширину колонки превью */
        flex-shrink: 0;
    }

    .thumb {
        width: 80px;
        height: 80px;
        border: 1px solid #eee;
        cursor: pointer;
        border-radius: 4px;
        overflow: hidden;
    }

    .main-image {
        flex: 1; /* Картинка занимает всё оставшееся место */
    }

    .main-image img {
        width: 100%;
        border-radius: 8px;
    }
}

/* Контейнер футера каталога */
.catalog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Стилизация ссылок пагинации OpenCart */
.pagination-wrapper .links a, 
.pagination-wrapper .links b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%; /* Делаем кружки */
    transition: all 0.2s;
    color: #444;
}

/* Активная страница (в OpenCart это тег <b>) */
.pagination-wrapper .links b {
    background-color: #e9ecef; /* Серый фон для активной */
    color: #000;
}

/* Ссылки при наведении */
.pagination-wrapper .links a:hover {
    background-color: #f8f9fa;
}

/* Скрытие пагинации на мобилках, если нужно (опционально) */
@media (max-width: 1050px) {
    .catalog-footer {
        flex-direction: column;
        gap: 20px;
    }
    .total-count {
        order: 2;
    }
}

/* Контейнер всей пагинации */
.catalog-footer {
    display: flex;
    justify-content: flex-end; /* Переносим вправо */
    align-items: center;
    width: 100%;
}

/* Прячем блок с результатами текста на случай, если он выводится */
.pagination .results {
    display: none !important; /* */
}

/* Стилизация ссылок (кружочки) */
.pagination .links {
    display: flex;
    align-items: center;
    gap: 8px; /* Расстояние между кнопками */
}

.pagination .links a, 
.pagination .links b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
}

/* Активная страница */
.pagination .links b {
    background: #e9ecef;
    color: #000;
}

/* Контейнер со ссылками */
.pagination .links {
    display: flex !important;
    align-items: center !important; /* Центрируем все элементы в ряду по вертикали */
    gap: 8px;
}

/* Общие стили для цифр и стрелок */
.pagination .links a, 
.pagination .links b {
    display: flex !important; /* Делаем каждую кнопку флекс-боксом */
    align-items: center !important; /* Центрируем содержимое (текст или иконку) по вертикали */
    justify-content: center !important; /* Центрируем по горизонтали */
    
    width: 36px;
    height: 36px;
    border-radius: 50%;
    text-decoration: none;
    line-height: 1 !important; /* Сбрасываем высоту строки, чтобы она не толкала текст */
}

/* Фикс для самой иконки внутри ссылки */
.pagination .links a svg {
    display: block;
    width: 20px; /* Укажи нужный размер иконки */
    height: 20px;
    /* Убираем возможные внешние отступы у SVG */
    margin: 0 !important; 
}

.cookie-banner {
    display: none; 
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: auto; /* Ширина подстраивается под контент */
    max-width: 90%;
    background-color: rgba(34, 34, 34, 0.9); /* Немного прозрачности для легкости */
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px; /* Скругленные края делают его визуально меньше */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    font-family: sans-serif;
    font-size: 12px;
}

.cookie-content {
    display: flex;
    flex-direction: row; /* Все в одну строку */
    align-items: center;
    justify-content: space-between;
    gap: 15px; /* Расстояние между текстом и кнопкой */
}

.cookie-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4; /* Увеличил межстрочный интервал для читаемости */
    flex: 1; /* Текст занимает всё доступное пространство */
    word-wrap: break-word; /* Перенос длинных слов, если нужно */
}

.cookie-btn {
    background-color: #ee4444;
    color: #fff;
    border: none;
    padding: 4px 12px; /* Маленькие отступы у кнопки */
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.2s;
}

.cookie-btn:hover {
    background-color: #E21C1E;
}

/* Адаптив для маленьких экранов */
@media (max-width: 768px) {
    .cookie-banner {
        width: 92%; 
        height: auto;
        bottom: 75px; 
        padding: 8px 12px;
    }

    .cookie-content {
        justify-content: space-between; 
        gap: 8px;
    }

    .cookie-content p {
        font-size: 11px; 
        text-align: left;
    }

    .cookie-btn {
        padding: 5px 10px;
        font-size: 11px;
    }
}
/* ===== Пагинация каталога — исправление вёрстки, 2026-08-06 =====
   Причина поломки: разметку перевели на .pagination-wrapper, а CSS остался
   для старого класса .pagination — правила не применялись. Из-за этого
   стрелки в блочных <div class="hide"> падали на отдельные строки,
   пустые ссылки «в начало/в конец» рисовали невидимые кликабельные кружки,
   многоточие болталось само по себе.
   Чиним только стилями: PHP-библиотека пагинации общая для всего сайта
   (поиск, отзывы, производители), её не трогаем. */

.pagination-wrapper {
    width: 100%;
}

.pagination-wrapper .links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* обёртки стрелок и многоточия были блочными — из-за них ломались строки */
.pagination-wrapper .links .hide {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #A5B2B8;
    letter-spacing: 1px;
}

/* Ссылки «в начало» и «в конец» в разметке есть, но текст у них пустой —
   кружок кликался, а что это, было не видно. Категории бывают по 244 страницы,
   поэтому не прячем их, а показываем шевронами. */
.pagination-wrapper .links > a:empty {
    display: inline-flex;
    color: #A5B2B8;
    font-size: 18px;
    line-height: 1;
}

.pagination-wrapper .links > a:empty:first-child::before {
    content: "\00AB";           /* « — в начало */
}

.pagination-wrapper .links > a:empty:last-child::before {
    content: "\00BB";           /* » — в конец */
}

.pagination-wrapper .links > a:empty:hover {
    color: #444;
}

/* стрелки — того же размера, что и цифры */
.pagination-wrapper .links .hide a {
    width: 36px;
    height: 36px;
    margin: 0;
    padding: 0;
}

.pagination-wrapper .links .hide a svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* пустой блок «показано N из M» не должен занимать место */
.pagination-wrapper .results:empty {
    display: none;
}

/* ===== Телефоны ===== */
@media (max-width: 767px) {
    .pagination-wrapper .links {
        gap: 6px;
        padding: 4px 0;
    }

    /* палец должен попадать: 40px — минимальная удобная цель */
    .pagination-wrapper .links a,
    .pagination-wrapper .links b,
    .pagination-wrapper .links .hide a {
        width: 40px;
        height: 40px;
        margin: 0;
        font-size: 15px;
    }

    /* активная страница заметнее — на маленьком экране серого мало */
    .pagination-wrapper .links b {
        background-color: #FE0000;
        color: #fff;
    }
}

/* очень узкие экраны — не даём пагинации распирать страницу */
@media (max-width: 360px) {
    .pagination-wrapper .links {
        gap: 3px;
    }
    .pagination-wrapper .links a,
    .pagination-wrapper .links b,
    .pagination-wrapper .links .hide a {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ===== Переключатель типа ковриков ККС/ККСВ/ККСЭ (2026-08-06) ===== */
.mat-switcher { margin: 4px 0 14px; }
.mat-switcher-title { font-size: 13px; color: #777; margin-bottom: 7px; }
.mat-switcher-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mat-opt {
    display: flex; flex-direction: column; align-items: center;
    min-width: 96px; padding: 8px 12px;
    border: 2px solid #e4e7ea; border-radius: 10px;
    background: #fff; text-decoration: none; color: #222;
    transition: border-color .15s, box-shadow .15s;
    cursor: pointer;
}
.mat-opt:hover { border-color: #FE0000; }
.mat-opt.active { border-color: #FE0000; background: #fff5f5; cursor: default; }
.mat-opt-name { font-size: 13px; font-weight: 600; line-height: 1.2; text-align: center; }
.mat-opt-price { font-size: 14px; font-weight: 700; margin-top: 3px; color: #FE0000; }
.mat-opt.active .mat-opt-price { color: #FE0000; }
@media (max-width: 480px) {
    .mat-switcher-row { gap: 6px; }
    .mat-opt { min-width: 0; flex: 1; padding: 8px 6px; }
    .mat-opt-name { font-size: 12px; }
    .mat-opt-price { font-size: 13px; }
}

/* ===== Открытие основного фото на весь экран по тапу/клику (2026-08-07) ===== */
.main-image img{ cursor: zoom-in; }
.photo-lightbox{
    position: fixed; top:0; right:0; bottom:0; left:0; z-index: 100000;
    background: rgba(0,0,0,.92);
    display: none; align-items: center; justify-content: center;
    padding: 12px; box-sizing: border-box;
}
.photo-lightbox.open{ display: flex; }
.photo-lightbox img{ max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.photo-lightbox-close{
    position: absolute; top: 12px; right: 14px; width: 42px; height: 42px;
    border: none; border-radius: 50%; background: rgba(255,255,255,.16);
    color: #fff; font-size: 28px; line-height: 42px; text-align: center; cursor: pointer;
}

/* ===== Формы отзыва и вопроса (модалка, 2026-08-07) ===== */
.rq-modal{ position:fixed; top:0;left:0;right:0;bottom:0; z-index:100001; display:none; }
.rq-modal.open{ display:block; }
.rq-modal__backdrop{ position:absolute; inset:0; top:0;left:0;right:0;bottom:0; background:rgba(0,0,0,.55); }
.rq-modal__dialog{
    position:relative; margin:6vh auto 0; max-width:460px; width:calc(100% - 24px);
    background:#fff; border-radius:16px; padding:24px 22px 22px; box-sizing:border-box;
    max-height:88vh; overflow:auto; box-shadow:0 20px 60px rgba(0,0,0,.25);
}
.rq-modal__close{
    position:absolute; top:12px; right:12px; width:34px; height:34px; border:none;
    background:#f3f4f6; border-radius:50%; font-size:22px; line-height:34px; color:#555; cursor:pointer;
}
.rq-modal__close:hover{ background:#eb0000; color:#fff; }
.rq-modal__title{ font-family:'Montserrat',sans-serif; font-weight:700; font-size:20px; margin:0 0 16px; color:#111; }
.rq-field{ margin-bottom:13px; }
.rq-field > label{ display:block; font-size:13px; color:#666; margin-bottom:5px; }
.rq-field input[type=text], .rq-field input[type=email], .rq-field textarea{
    width:100%; box-sizing:border-box; border:1.5px solid #e3e6ea; border-radius:10px;
    padding:11px 13px; font-size:15px; font-family:inherit; color:#111; background:#fff; transition:border-color .15s;
}
.rq-field input:focus, .rq-field textarea:focus{ outline:none; border-color:#FE0000; }
.rq-field textarea{ resize:vertical; min-height:92px; }
.rq-stars{ display:flex; gap:4px; font-size:30px; line-height:1; cursor:pointer; }
.rq-stars span{ color:#dcdfe3; transition:color .1s; user-select:none; }
.rq-stars span.on{ color:#FFB800; }
.rq-captcha-row{ display:flex; align-items:center; gap:8px; }
.rq-captcha-row img{ height:40px; border-radius:8px; border:1px solid #eee; }
.rq-captcha-refresh{ width:40px;height:40px; border:1.5px solid #e3e6ea; background:#fff; border-radius:8px; font-size:18px; color:#666; cursor:pointer; flex:0 0 auto; }
.rq-captcha-refresh:hover{ border-color:#FE0000; color:#FE0000; }
.rq-captcha-row input{ flex:1; }
.rq-submit{
    width:100%; margin-top:6px; border:none; border-radius:12px; padding:14px;
    background:#FE0000; color:#fff; font-size:16px; font-weight:700; font-family:inherit; cursor:pointer; transition:background .15s;
}
.rq-submit:hover{ background:#d40000; }
.rq-submit:disabled{ background:#f3a3a3; cursor:default; }
.rq-msg{ min-height:0; font-size:14px; margin:4px 0 2px; }
.rq-msg.err{ color:#d40000; }
.rq-msg.ok{ color:#127a2e; }
.no-questions{ color:#8a9097; padding:14px 0; }
@media (max-width:480px){
    .rq-modal__dialog{ margin-top:0; border-radius:0; min-height:100vh; max-height:100vh; }
    .rq-stars{ font-size:34px; }
}

/* ==========================================================================
   Личный кабинет — дополнение к блоку .lk-* (добавлено 13.08.2026)
   Колонки сетки, навигация разделов, вход по СМС, карточки данных.
   ========================================================================== */

.lk-section--narrow { max-width: 1100px; }

.lk-orders { min-width: 0; }
.lk-profile { min-width: 0; }

/* --- Уведомления --- */
.lk-alert {
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.45;
}
.lk-alert--success { background: #ecfdf5; color: #065f46; border-left: 4px solid #10b981; }
.lk-alert--error   { background: #fef2f2; color: #991b1b; border-left: 4px solid #EE4444; }

/* --- Навигация по разделам --- */
.lk-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.lk-nav-item {
    padding: 9px 18px;
    border-radius: 999px;
    background: #F6F6F6;
    color: #6b7280;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s, color .2s;
}
.lk-nav-item:hover { background: #ececec; color: #1a1a1a; }
.lk-nav-item.active { background: #1a1a1a; color: #fff; }

/* --- Кнопки и ссылки --- */
.btn-outline {
    display: inline-block;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: #9ca3af; background: #fafafa; }

.btn-block { display: block; width: 100%; align-self: stretch; }

.lk-link { color: #EE4444; font-weight: 600; text-decoration: none; font-size: 14px; }
.lk-link:hover { text-decoration: underline; }
.lk-link--muted { color: #6b7280; font-weight: 500; }

/* --- Карточка заказа стала ссылкой --- */
a.order-card { display: block; color: inherit; text-decoration: none; transition: box-shadow .2s, transform .2s; }
a.order-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); }

.order-items-preview { padding-top: 15px; align-items: center; flex-wrap: wrap; }
.order-items-more {
    font-size: 13px;
    color: #6b7280;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 10px;
}

/* --- Пустое состояние --- */
.lk-empty { text-align: center; padding: 45px 30px; }
.lk-empty-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.lk-empty .btn-save-profile { align-self: center; margin-top: 18px; display: inline-block; text-decoration: none; }

/* --- Данные покупателя (сайдбар) --- */
.lk-data-list { margin: 18px 0; }
.lk-data-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
}
.lk-data-row:last-child { border-bottom: none; }
.lk-data-label { font-size: 13px; color: #9ca3af; white-space: nowrap; }
.lk-data-value { font-size: 15px; font-weight: 500; text-align: right; word-break: break-word; }
.lk-data-empty { color: #9ca3af; font-weight: 400; }

.lk-side-links { margin-top: 18px; border-top: 1px solid #ececec; padding-top: 8px; }
.lk-side-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 0;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}
.lk-side-link:hover { color: #EE4444; }

/* --- Страница входа --- */
.lk-auth {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 30px;
    align-items: start;
}
.lk-auth-card { padding: 30px; }
.lk-auth-card .lk-block-title { margin-bottom: 6px; }
.lk-auth-card .profile-subtitle { margin: 0 0 22px; }
.lk-auth-card .input-wrapper {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.lk-auth-card .input-wrapper:focus-within { border-color: #9ca3af; }
.lk-auth-card .input-wrapper label { font-size: 11px; color: #9ca3af; margin-bottom: 4px; }
.lk-auth-card .input-wrapper input {
    border: none;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    outline: none;
    padding: 0;
    background: transparent;
    width: 100%;
}
.lk-code-input { letter-spacing: .34em; font-size: 20px !important; }
.lk-auth-phone { font-weight: 600; color: #1a1a1a; white-space: nowrap; }

.lk-auth-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-top: 20px;
}
.lk-auth-links .profile-subtitle { margin: 0; }

.lk-auth-agreement {
    font-size: 12px;
    line-height: 1.5;
    color: #9ca3af;
    margin: 16px 0 0;
}
.lk-auth-agreement .lk-link { font-size: 12px; }

.lk-auth-aside { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.lk-auth-feature { display: flex; gap: 14px; align-items: flex-start; }
.lk-auth-feature-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #F6F6F6;
    color: #EE4444;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lk-auth-feature-title { font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.lk-auth-feature .profile-subtitle { margin: 0; }

/* --- Адаптив --- */
@media (max-width: 992px) {
    .lk-auth { grid-template-columns: 1fr; }
    .lk-auth-aside { order: 2; }
}

@media (max-width: 768px) {
    .lk-section { margin-bottom: 40px; }
    .lk-header-row { flex-wrap: wrap; gap: 14px; }
    .lk-block { padding: 18px 16px; border-radius: 14px; }
    .lk-auth-card { padding: 20px 16px; }
    .lk-nav { gap: 6px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
    .lk-nav::-webkit-scrollbar { display: none; }
    .lk-nav-item { white-space: nowrap; font-size: 14px; padding: 8px 14px; }
    .order-header { align-items: flex-start; }
    .o-status { order: 3; }
    .o-price-block { order: 2; text-align: right; width: auto; }
    .lk-data-value { font-size: 14px; }
    .lk-auth-feature-icon { width: 38px; height: 38px; }
}

/* --- Страница заказа + подтверждение добавления в корзину (13.08.2026) --- */

.lk-order-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: -14px 0 26px;
}

.lk-order-products { margin-top: 6px; }

.lk-order-product {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 90px 140px;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #ececec;
}
.lk-order-product:last-child { border-bottom: none; }

.lk-op-image {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.lk-op-image img { max-width: 100%; max-height: 100%; object-fit: contain; }

.lk-op-name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 5px;
}
.lk-op-name:hover { color: #EE4444; }

.lk-op-qty { font-size: 14px; color: #6b7280; text-align: center; }
.lk-op-price { text-align: right; }
.lk-op-price .o-price { font-size: 17px; margin-bottom: 2px; }

.lk-order-comment { font-size: 15px; line-height: 1.5; margin: 10px 0 0; }

/* История заказа */
.lk-timeline { margin-top: 14px; padding-left: 6px; }
.lk-timeline-item { position: relative; padding: 0 0 22px 26px; }
.lk-timeline-item:last-child { padding-bottom: 0; }
.lk-timeline-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}
.lk-timeline-item:last-child::before { display: none; }
.lk-timeline-dot {
    position: absolute;
    left: 0;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d1d5db;
    border: 2px solid #F6F6F6;
}
.lk-timeline-item.is-current .lk-timeline-dot { background: #EE4444; }
.lk-timeline-status { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.lk-timeline-item.is-current .lk-timeline-status { color: #1a1a1a; }
.lk-timeline-body .profile-subtitle { margin: 4px 0 0; }

/* Сайдбар заказа */
.lk-totals { margin: 16px 0 4px; }
.lk-totals .summary-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 15px;
}
.lk-totals .summary-row:last-child { font-weight: 700; font-size: 17px; border-top: 1px solid #ececec; margin-top: 6px; padding-top: 14px; }
.lk-totals .s-label { color: #6b7280; }
.lk-totals .summary-row:last-child .s-label { color: #1a1a1a; }

.lk-info-block { border-top: 1px solid #ececec; padding-top: 16px; margin-top: 16px; }
.lk-info-title { font-size: 13px; color: #9ca3af; margin-bottom: 5px; }
.lk-info-value { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.lk-info-block .profile-subtitle { margin: 0; }
.lk-profile .btn-outline.btn-block { margin-top: 20px; }

/* Кнопка «В корзину» в плитках — состояние «добавлено» */
.btn-cart--added { background: #10b981 !important; border-color: #10b981 !important; color: #fff !important; }

@media (max-width: 768px) {
    .lk-order-product {
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-areas: "img info" "qty price";
        gap: 12px;
        row-gap: 8px;
    }
    .lk-op-image { grid-area: img; width: 64px; height: 64px; }
    .lk-op-info  { grid-area: info; }
    .lk-op-qty   { grid-area: qty; text-align: left; }
    .lk-op-price { grid-area: price; text-align: right; }
    .lk-order-meta { margin-top: 0; gap: 10px; }
}

/* --- Формы ЛК, адреса, избранное (13.08.2026) --- */

.lk-form-card { max-width: 620px; }
.lk-form-card .profile-subtitle { margin: 0 0 20px; }

.profile-form .input-wrapper.has-error { border-color: #EE4444; }
.lk-field-error { color: #EE4444; font-size: 13px; margin: -8px 0 4px; }

.lk-form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.lk-form-actions .btn-save-profile { margin-top: 0; text-decoration: none; display: inline-block; }

/* Адреса */
.lk-address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.lk-address-card { display: flex; flex-direction: column; justify-content: space-between; margin-bottom: 0; }
.lk-address-text { font-size: 15px; line-height: 1.55; margin-bottom: 18px; }
.lk-address-actions { display: flex; align-items: center; gap: 16px; }
.lk-address-actions .btn-outline { padding: 9px 18px; font-size: 14px; }

/* Избранное */
.lk-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}
.lk-wish-card { display: flex; flex-direction: column; margin-bottom: 0; }
.lk-wish-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
}
.lk-wish-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lk-wish-name {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 8px;
}
.lk-wish-name:hover { color: #EE4444; }
.lk-wish-stock { font-size: 13px; color: #9ca3af; margin-bottom: 8px; }
.lk-wish-stock.in-stock { color: #10b981; }
.lk-wish-price { margin-bottom: 14px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.lk-wish-price .o-price { font-size: 18px; margin: 0; }
.lk-wish-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lk-wish-actions .btn-cart {
    background: #EE4444;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.lk-wish-actions .btn-cart:hover { background: #d63d3d; }

@media (max-width: 768px) {
    .lk-address-grid { grid-template-columns: 1fr; gap: 14px; }
    .lk-wishlist-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
    .lk-wish-image { height: 130px; }
    .lk-wish-name { font-size: 14px; }
    .lk-wish-actions { flex-direction: column; align-items: stretch; }
    .lk-wish-actions .btn-cart { width: 100%; }
    .lk-wish-actions .lk-link { text-align: center; }
    .lk-form-card { max-width: none; }
}

/* --- Страница «Все заказы» (13.08.2026) --- */

.lk-order-item { margin-bottom: 20px; }

.lk-order-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.lk-order-sums {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
    font-size: 14px;
    color: #6b7280;
}
.lk-sum-item span, .lk-sum-item strong { color: #1a1a1a; font-weight: 600; }
.lk-track a { font-weight: 600; }

/* Аккордеон со списком товаров */
.lk-order-item .accordion {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 14px 0 0;
    margin: 0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    width: auto;
}
.lk-order-item .accordion .arrow { display: inline-flex; transition: transform .2s; }
.lk-order-item .accordion .arrow img { width: 12px; height: auto; }
.lk-order-item .accordion .arrow.rotate { transform: rotate(180deg); }

.lk-order-item .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease-out;
}

.lk-order-item .article-product {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) 80px 120px 40px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #ececec;
}
.lk-order-item .article-product:last-child { border-bottom: none; }
.lk-order-item .lk-op-image { width: 72px; height: 72px; }
.lk-order-item .lk-op-name { margin-bottom: 4px; }
.lk-order-item .lk-op-name + .title-r { font-size: 13px; cursor: pointer; }

.product__delete-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
    opacity: .45;
    padding: 6px;
}
.product__delete-button:hover { opacity: 1; }

.lk-order-item-foot {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #ececec;
    flex-wrap: wrap;
}
.orders__delete { background: none; border: none; cursor: pointer; font-size: 14px; padding: 0; }

/* Пагинация OpenCart внутри ЛК */
.lk-pagination-row .pagination,
.lk-pagination-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 15px; }
.lk-pagination-row a, .lk-pagination-row b {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    background: #F6F6F6;
    color: #1a1a1a;
    text-decoration: none;
}
.lk-pagination-row b { background: #1a1a1a; color: #fff; }

/* Оверлей и диалоги отмены — остались из старой страницы */
.section { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 90; }
dialog.modal, dialog.modal-order, dialog.modal-comment {
    border: none;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    max-width: 460px;
    z-index: 100;
}
dialog.modal h2, dialog.modal-order h2, dialog.modal-comment h2 { font-size: 18px; margin: 0 0 14px; }
.modal-order__btn { display: flex; gap: 12px; margin-top: 18px; }
.modal-order__btn .button, .modal-comment__close {
    background: #EE4444;
    color: #fff;
    border: none;
    padding: 11px 22px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}
.modal-order__btn .close-button { background: #F6F6F6; color: #1a1a1a; }
.modal-comment__list { list-style: none; margin: 0; padding: 0; }
.modal-comment__item { padding: 7px 0; font-size: 15px; }
.modal-comment__text { display: block; width: 100%; margin-top: 8px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; }
.modal-comment__close { margin-top: 16px; }

@media (max-width: 768px) {
    .lk-order-item .article-product {
        grid-template-columns: 56px minmax(0, 1fr) 34px;
        grid-template-areas: "img info del" "qty price price";
        row-gap: 8px;
    }
    .lk-order-item .lk-op-image { grid-area: img; width: 56px; height: 56px; }
    .lk-order-item .lk-op-info  { grid-area: info; }
    .lk-order-item .lk-op-qty   { grid-area: qty; text-align: left; }
    .lk-order-item .lk-op-price { grid-area: price; text-align: right; }
    .lk-order-item .lk-op-remove { grid-area: del; text-align: right; }
    .lk-order-sums { gap: 6px 16px; font-size: 13px; }
    .lk-order-item-foot { gap: 14px; }
    dialog.modal, dialog.modal-order, dialog.modal-comment { max-width: 92vw; padding: 20px 18px; }
}

/* Нет в наличии — вместо цены (правило Марата 18.08.2026):
   цена у товара, который нельзя купить, путает покупателя. */
.price-none {
    display: inline-block;
    color: #8a8a8a;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.3;
}
.mat-opt .mat-opt-price { white-space: nowrap; }
.mat-opt-price--none { color: #8a8a8a !important; font-weight: 600; font-size: 12px; }


/* Варианты опции, которых нет в наличии (20.08.2026): выбрать нельзя.
   Данные — из связок МойСклада, наличие по каждому цвету/комплекту своё. */
.opt-btn--none {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}
.opt-btn--none:hover { border-color: inherit; }
.color-item--none {
    opacity: .35;
    cursor: not-allowed;
    filter: grayscale(1);
    position: relative;
}
.color-item--none::after {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 2px;
    background: #8a8a8a;
    transform: rotate(45deg);
}
.radio-item:disabled + .color-item { pointer-events: none; }

/* ===== Таблицы внутри описания товара (11.09.2026) =====
   В описаниях лежит старая вёрстка из визуального редактора: border="1",
   cellpadding и вложенные <br>. Выглядело как голая сетка Excel, поэтому
   приводим к виду карточки: те же скругления и светло-серый фон, что у
   блока характеристик рядом, чёрная плашка секции и красная линия бренда. */
.desc-text-content table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e8eaec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.5;
}

.desc-text-content table td,
.desc-text-content table th {
    border: 0;
    padding: 13px 16px;
    text-align: left;
    vertical-align: top;
}

/* Заголовок раздела внутри таблицы («Комплектация», «Технические
   характеристики») — плашка с красной чертой снизу */
.desc-text-content table th {
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 2px solid #FE0000;
}

/* Лишние переводы строки, которые редактор оставил внутри ячеек */
.desc-text-content table th br { display: none; }

.desc-text-content table tbody tr + tr td { border-top: 1px solid #f0f1f2; }
.desc-text-content table tbody tr:nth-child(even) td { background: #FBFBFB; }

/* Левая колонка — название признака, правая — значение */
.desc-text-content table td:first-child {
    color: #687074;
    width: 42%;
}
.desc-text-content table td:last-child {
    color: #111;
    font-weight: 500;
}
.desc-text-content table td:only-child { width: auto; }

/* Таблица преимуществ с иконками свёрстана как раскладка, а не как данные:
   ей ни рамка, ни зебра не нужны. */
.desc-text-content #table_of_covr {
    border: 0;
    background: transparent;
    border-radius: 0;
}
.desc-text-content #table_of_covr td {
    border: 0 !important;
    background: transparent !important;
    padding: 9px 10px;
    color: #687074;
    font-weight: 400;
    vertical-align: middle;
}
.desc-text-content #table_of_covr td:first-child { width: 34px; }
.desc-text-content #table_of_covr img { display: block; }
.desc-text-content #table_of_covr tr:first-child td {
    color: #111;
    font-size: 16px;
    padding-bottom: 14px;
}
.desc-text-content #table_of_covr tr:first-child strong {
    display: inline-block;
    font-weight: 700;
    border-bottom: 2px solid #FE0000;
    padding-bottom: 6px;
}

/* Видео в описании задано фиксированными 560 пикселями и на телефоне
   выпирало за экран вместе со страницей */
.desc-text-content iframe,
.desc-text-content img {
    max-width: 100%;
}
.desc-text-content iframe { aspect-ratio: 16 / 9; height: auto; border-radius: 12px; }

@media (max-width: 767px) {
    .desc-text-content table { font-size: 13px; }
    .desc-text-content table td,
    .desc-text-content table th { padding: 10px 12px; }
    .desc-text-content table td { word-break: break-word; }
    .desc-text-content table td:first-child { width: 38%; }
}


/* ---------- Плавающие кнопки чатов (21.09.2026) ----------
   Повторяют блок с лендинга kovriki-salon. Тень мягче, чем там:
   лендинг тёмный, а сайт на светлом фоне — жёсткая тень выглядит грязно. */
.azs-chat-float {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 900;          /* ниже модалок (100000) и липкого меню (9999) */
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.azs-chat-float a {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
    transition: transform .15s;
}
.azs-chat-float a:hover,
.azs-chat-float a:focus { color: #fff; transform: scale(1.08); }
.azs-chat-tg { background: #2ba0dd; }
.azs-chat-vk { background: #0077ff; }

/* Телефон: над липким нижним меню (65px) и над баннером cookie —
   его высоту подставляет скрипт в footer.tpl, без баннера она 0. */
@media (max-width: 768px) {
    .azs-chat-float {
        right: 12px;
        bottom: calc(77px + env(safe-area-inset-bottom) + var(--azs-cookie-h, 0px));
    }
    .azs-chat-float a { width: 48px; height: 48px; }
    .azs-chat-float a svg { width: 23px; height: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    .azs-chat-float a { transition: none; }
}
/* ===== Фотографии в отзывах и просмотр во весь экран (27.09.2026) =====
   Снимки покупателей — самый убедительный блок на карточке, поэтому даём их
   ровной сеткой, а не строкой вперемешку с текстом. На телефоне ряд из трёх
   квадратов шириной в экран: крупнее, чем было, и без горизонтального скролла. */
.review-photos{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 8px;
    margin: 12px 0 4px;
}
.review-photo{
    display: block; position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 10px; overflow: hidden;
    background: #f2f2f2;
    border: 1px solid #e6e6e6;
    cursor: zoom-in;
    transition: transform .15s ease, box-shadow .15s ease;
}
.review-photo img{
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}
.review-photo:hover{ transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.16); }
.review-photo:focus-visible{ outline: 2px solid #FE0000; outline-offset: 2px; }

@media (max-width: 640px){
    .review-photos{ grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .review-photo{ border-radius: 8px; }
}

/* Просмотр во весь экран: свой лайтбокс со стрелками и счётчиком —
   у отзыва снимков обычно несколько, и листать их удобнее, чем закрывать
   и открывать по одному. */
.azs-lb{
    position: fixed; inset: 0; z-index: 100002;
    background: rgba(0,0,0,.94);
    display: none; align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.azs-lb.open{ display: flex; }
.azs-lb-holst{
    margin: 0; max-width: 100%; max-height: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.azs-lb-holst img{
    max-width: 100%; max-height: calc(100vh - 110px);
    object-fit: contain; border-radius: 8px;
}
.azs-lb-schet{ color: rgba(255,255,255,.82); font-size: 14px; letter-spacing: .02em; }
.azs-lb-close{
    position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 14px;
    width: 44px; height: 44px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.16); color: #fff;
    font-size: 28px; line-height: 44px; text-align: center; cursor: pointer;
}
.azs-lb-nav{
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.16); color: #fff;
    font-size: 32px; line-height: 44px; text-align: center; cursor: pointer;
}
.azs-lb-prev{ left: 10px; }
.azs-lb-next{ right: 10px; }
.azs-lb-close:hover, .azs-lb-nav:hover{ background: rgba(255,255,255,.28); }
.azs-lb-close:focus-visible, .azs-lb-nav:focus-visible{ outline: 2px solid #fff; outline-offset: 2px; }
.azs-lb-nav[hidden]{ display: none; }

/* На телефоне стрелки уводим вниз: пальцем удобнее там, да и снимок не
   перекрывают. Листание свайпом работает всегда. */
@media (max-width: 640px){
    .azs-lb-nav{ top: auto; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: none; }
    .azs-lb-prev{ left: 18px; }
    .azs-lb-next{ right: 18px; }
    .azs-lb-holst img{ max-height: calc(100vh - 170px); }
}

/* ===== Галерея: фото покупателей, стрелки, счётчик (27.09.2026) ===== */
.main-image{ position: relative; }

/* Плашка на снимке покупателя — чтобы фото из отзыва не принимали за
   студийное фото товара. */
.galereya-pokupatel{
    position: absolute; left: 12px; top: 12px; z-index: 2;
    padding: 5px 10px; border-radius: 999px;
    background: rgba(0,0,0,.66); color: #fff;
    font-size: 12px; font-weight: 600; letter-spacing: .02em;
    pointer-events: none;
}
.galereya-pokupatel[hidden], .galereya-schet[hidden], .galereya-strelka[hidden]{ display: none !important; }

/* Стрелки — только на десктопе: там раньше листать можно было лишь миниатюрами.
   На телефоне листают свайпом. */
.galereya-strelka{
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: rgba(255,255,255,.92); color: #111;
    box-shadow: 0 2px 10px rgba(0,0,0,.18);
    font-size: 26px; line-height: 38px; text-align: center; cursor: pointer;
    opacity: 0; transition: opacity .15s ease;
}
.main-image:hover .galereya-strelka, .galereya-strelka:focus-visible{ opacity: 1; }
.galereya-nazad{ left: 10px; }
.galereya-vpered{ right: 10px; }
.galereya-strelka:focus-visible{ outline: 2px solid #FE0000; outline-offset: 2px; }

/* Счётчик «5 / 22» вместо двух десятков точек */
.galereya-schet{
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(0,0,0,.6); color: #fff;
    font-size: 12px; font-variant-numeric: tabular-nums;
    pointer-events: none;
}

/* Плитка «+N фото покупателей» в полосе миниатюр */
.thumb.thumb-pokupateli{ position: relative; }
.thumb-pokupateli img{ filter: brightness(.62); }
.thumb-pokupateli-n{
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 700; font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    pointer-events: none;
}
.thumb-pokupateli.active img{ filter: brightness(.8); }

/* Точка на снимке покупателя — чуть другого тона */
.dot.dot-pokupatel{ opacity: .75; }

@media (max-width: 768px){
    .galereya-strelka{ display: none !important; }
    .galereya-pokupatel{ left: 10px; top: 10px; font-size: 11px; }
}

/* ===== Статьи (27.09.2026): читаемая колонка, адаптив, картинки по ширине ===== */
.azs-statya-stranica{ padding-bottom: 32px; }
.azs-statya{ max-width: 780px; margin: 0 auto; }
.azs-statya-h1{ font-size: clamp(24px, 4.2vw, 34px); line-height: 1.2; margin: 14px 0 10px; text-wrap: balance; }
.azs-statya-meta{ color: #6b6b6b; font-size: 14px; margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.azs-statya-telo{ font-size: 17px; line-height: 1.68; color: #1d1d1d; }
.azs-statya-telo h2{ font-size: 23px; line-height: 1.3; margin: 32px 0 12px; }
.azs-statya-telo h3{ font-size: 19px; margin: 24px 0 10px; }
.azs-statya-telo p{ margin: 0 0 14px; }
.azs-statya-telo ul, .azs-statya-telo ol{ margin: 0 0 16px 22px; }
.azs-statya-telo li{ margin-bottom: 6px; }
.azs-statya-telo img{ max-width: 100% !important; height: auto !important; border-radius: 10px; }
.azs-statya-telo iframe, .azs-statya-telo video{ max-width: 100%; }
.azs-statya-telo table{ display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; }
.azs-statya-telo a{ color: #d10000; text-decoration: underline; text-underline-offset: 2px; }
.azs-statya-cta{ margin: 34px 0 10px; padding: 20px 22px; border-radius: 14px; background: #f6f6f6; border: 1px solid #ececec; }
.azs-statya-cta p{ margin: 0 0 12px; }
.azs-statya-cta-z{ font-weight: 700; font-size: 19px; }
.azs-statya-cta-knopka{ display: inline-block; padding: 12px 20px; border-radius: 10px; background: #FE0000; color: #fff !important; font-weight: 600; text-decoration: none; }
.azs-statya-cta-knopka:hover{ background: #d90000; }
.azs-statya-eshche{ max-width: 780px; margin: 26px auto 0; }
.azs-statya-eshche-z{ font-weight: 700; font-size: 18px; margin: 0 0 10px; }
.azs-statya-eshche ul{ margin: 0; padding-left: 20px; }
.azs-statya-eshche li{ margin-bottom: 8px; }
@media (max-width: 640px){
    .azs-statya-telo{ font-size: 16px; line-height: 1.62; }
    .azs-statya-telo h2{ font-size: 20px; }
    .azs-statya-cta{ padding: 16px; }
}

/* поля по бокам на телефоне: без них текст статьи прилипал к краю экрана */
/* mobile.css обнуляет поля .catalog-container с !important — перебиваем двумя классами */
@media (max-width: 768px){ .catalog-container.azs-statya-stranica{ padding-left: 16px !important; padding-right: 16px !important; box-sizing: border-box; } }

/* Витрина подразделов на пустом разделе (/avtosvet), 27.09.2026 */
.azs-podrazdely{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px;margin:4px 0 28px}
.azs-podrazdel{display:flex;flex-direction:column;border:1px solid #eee;border-radius:16px;padding:14px;background:#fff;color:#1a1a1a;text-decoration:none;transition:box-shadow .2s ease}
.azs-podrazdel:hover{box-shadow:0 6px 20px rgba(0,0,0,.08)}
.azs-podrazdel:focus-visible{outline:2px solid #e63329;outline-offset:2px}
.azs-podrazdel__foto{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;margin-bottom:12px;overflow:hidden;border-radius:10px;background:#FBFBFB}
.azs-podrazdel__foto img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.azs-podrazdel__imya{font-weight:500;font-size:16px;line-height:1.3;margin-bottom:6px}
.azs-podrazdel__meta{font-size:14px;line-height:1.4;color:#6b7280}
.azs-podrazdel__meta b{color:#e63329;font-weight:500}
.azs-podrazdely__vse{font-weight:500;font-size:22px;line-height:1.3;color:#1a1a1a;margin:0 0 8px}
@media (max-width:767px){
  .azs-podrazdely{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}
  .azs-podrazdel{padding:10px;border-radius:12px}
  .azs-podrazdel__foto{margin-bottom:8px}
  .azs-podrazdel__imya{font-size:14px}
  .azs-podrazdel__meta{font-size:13px}
  .azs-podrazdely__vse{font-size:18px}
}

/* H1 главной, 27.09.2026 */
.azs-home-intro{margin:0 0 44px;max-width:920px}
.azs-home-h1{font-family:'Google Sans','Segoe UI',Arial,sans-serif;font-weight:500;font-size:32px;line-height:1.25;color:#1a1a1a;margin:0 0 12px;text-wrap:balance}
.azs-home-lead{font-size:17px;line-height:1.55;color:#4b5563;margin:0}
@media (max-width:767px){
  .azs-home-intro{margin-bottom:28px}
  .azs-home-h1{font-size:24px}
  .azs-home-lead{font-size:15px}
}

/* Описания карточек из фактов (27.09.2026): заголовки, списки, цитаты, ссылки */
.desc-text-content h2{font-size:20px;line-height:1.3;font-weight:600;color:#111;margin:0 0 12px}
.desc-text-content h3{font-size:17px;line-height:1.35;font-weight:600;color:#111;margin:26px 0 10px}
.desc-text-content ul{margin:0 0 20px;padding-left:20px}
.desc-text-content li{font-size:15px;line-height:1.6;color:#687074;margin:0 0 6px}
.desc-text-content li b{color:#111;font-weight:600}
.desc-text-content blockquote{margin:0 0 12px;padding:10px 14px;border-left:3px solid #FE0000;background:#FBFBFB;border-radius:0 8px 8px 0;font-size:15px;line-height:1.55;color:#333}
.desc-text-content a{color:#e63329;text-decoration:none}
.desc-text-content a:hover{text-decoration:underline}

/* Опции-картинки (27.09.2026): образец показываем целиком, а не угол картинки 100×100 */
.color-item { background-size: cover; background-position: center; background-repeat: no-repeat; }
/* Комплектация коврика в багажник — крупная плитка с картинкой набора */
.color-selector--komplekt { grid-template-columns: repeat(auto-fill, minmax(112px, 112px)); gap: 12px; }
.color-selector--komplekt .color-item {
    width: 112px; height: 112px; border-radius: 10px;
    border: 1px solid #e5e7eb; background-color: #fff;
    background-size: contain; background-origin: content-box; padding: 8px; box-sizing: border-box;
}
.color-selector--komplekt .color-item.active { border: 2px solid #ff4d4d; padding: 7px; }
.output-option-name { font-weight: 600; color: #1a1a1a; }
@media (max-width: 480px) {
    .color-selector--komplekt { grid-template-columns: repeat(auto-fill, minmax(104px, 104px)); gap: 10px; }
    .color-selector--komplekt .color-item { width: 104px; height: 104px; }
}

/* Лента миниатюр карточки (компьютер): не выше основного фото, кнопки ▲/▼ — 27.09.2026 */
.thumbs-okno { position: relative; flex-shrink: 0; }
.thumbs-okno .thumbnails { position: relative; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; }
.thumbs-okno .thumbnails::-webkit-scrollbar { display: none; }
.thumbs-strelka {
    position: absolute; left: 0; right: 0; z-index: 2; height: 34px; padding: 0; border: 0;
    display: flex; align-items: center; justify-content: center; cursor: pointer; color: #1a1a1a;
}
.thumbs-strelka[hidden] { display: none; }
.thumbs-strelka svg { width: 26px; height: 26px; padding: 6px; box-sizing: border-box; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.thumbs-strelka:hover svg { color: #e63329; }
.thumbs-strelka:focus-visible svg { outline: 2px solid #e63329; outline-offset: 1px; }
.thumbs-vverh { top: 0; background: linear-gradient(to bottom, rgba(255,255,255,.95) 30%, rgba(255,255,255,0)); }
.thumbs-vniz { bottom: 0; background: linear-gradient(to top, rgba(255,255,255,.95) 30%, rgba(255,255,255,0)); }
@media (min-width: 769px) {
    .thumbs-okno { width: 80px; }
}
.thumbs-okno .thumbnails > .thumb { flex-shrink: 0; }   /* не ужимать миниатюры под высоту ленты */
