/* ======= Стили для раздела Реализованные проекты ======= */
.section--projects { 
  padding: 80px 0; 
}

.projects__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.project-item {
  width: calc(33.333% - 20px);
  text-align: center;
}

.project-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.project-title { 
  margin: 12px 0 6px; 
  font-weight: 600; 
}

.project-price { 
  opacity: .85; 
}

@media (max-width: 1024px) {
  .project-item { width: calc(50% - 15px); }
}
@media (max-width: 640px) {
  .project-item { width: 100%; }
}

/* ======= Основные стили страницы ======= */
.kitchen-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Inter', Arial, sans-serif;
  color: #333;
  background: #fefefe;
}

/* ======= Хлебные крошки (современный микс) ======= */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: 14px;
  margin-bottom: 30px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #fafafa, #fff);
  border: 1px solid #eee;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.3px;
}

.breadcrumbs a {
  color: #333;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.breadcrumbs a:hover {
  background-color: #f3f3f3;
  color: #000;
}

.breadcrumbs span {
  color: #999;
  font-weight: 500;
  margin: 0 6px;
}



/* ======= Заголовки ======= */
.kitchen-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1a1a1a;
  line-height: 1.2;
}

/* ======= Верхний ряд: изображение и цена ======= */
.kitchen-top-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;        /* разрешаем перенос на маленьких экранах */
}

/* Слайдер слева */
.kitchen-image-block {
  flex: 1 1 450px;
  min-width: 300px; /* важно для корректного расчета Swiper */
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.kitchen-image-block:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 48px rgba(0,0,0,0.2);
}

/* ======= Главный слайдер ======= */

.kitchen-main-slider {
  width: 100% !important; /* гарантируем правильную ширину */
  min-width: 300px;        /* важно для loop */
  height: 480px;
  position: relative;
}

.kitchen-main-slider .swiper-slide {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.kitchen-main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.kitchen-main-slider .swiper-slide-active img {
  transform: scale(1.03);
}

/* ======= Миниатюры вынесенные наружу ======= */
.kitchen-thumb-slider {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  width: 100%;
}

.kitchen-thumb-slider .swiper-slide {
  width: 90px;
  height: 90px;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s, border 0.3s;
}

.kitchen-thumb-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.kitchen-thumb-slider .swiper-slide-thumb-active {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  border: 2px solid #ff6600;
}

/* Делаем родитель позиционированным */
.kitchen-main-slider {
  position: relative;
}

/* ======= Стрелки без овала ======= */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;    /* обязательно */
  top: 50%;              /* центр по вертикали относительно .kitchen-main-slider */
  transform: translateY(-50%);
  
  width: auto;
  height: auto;
  padding: 0 12px;
  font-size: 40px;
  font-weight: bold;
  color: #ff6600;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: translateY(-50%) scale(1.2);
  color: #ff3300;
}

.swiper-button-prev {
  left: 10px;
}

.swiper-button-next {
  right: 10px;
}



/* ======= Адаптив ======= */
@media(max-width: 768px){
  .kitchen-top-row {
    flex-direction: column;
  }

  .kitchen-thumb-slider .swiper-slide {
    width: 70px;
    height: 70px;
  }
}


/* ======= Блок цены: современный стиль ======= */
.kitchen-price-block {
  background: linear-gradient(145deg, #ffffff, #f9f9f9);
  border-radius: 20px;
  padding: 30px 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kitchen-price-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Основная цена */
.kitchen-price-block .main-price {
  display: flex;
  flex-direction: column;
  gap: 4px;             /* уменьшено расстояние между ценой и сноской */
  align-items: center;   /* центрируем цену и сноску */
}

/* Основная цена */
.kitchen-price-block .price-value {
  font-size: 38px;
  font-weight: 700;
  color: #e63946;
  text-align: center;
}

/* Сноска под ценой */
.kitchen-price-block .price-note {
  font-size: 12px;       /* уменьшенный размер */
  color: #888;
  margin-top: 2px;       /* минимальное расстояние до цены */
  text-align: center;    /* центрируем сноску */
}

/* ======= Мета-информация: аккуратный перенос длинного текста ======= */
.kitchen-price-block .kitchen-meta p {
  display: flex;
  justify-content: space-between; /* название слева, значение справа */
  font-size: 15px;
  color: #555;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  line-height: 1.4;
  flex-wrap: wrap; /* разрешаем перенос значений */
}

.kitchen-price-block .kitchen-meta p strong {
  color: #1d3557; /* цвет названия параметра */
  font-weight: 600;
  margin-right: 10px;
  flex: 0 0 auto; /* название не переносится */
}

.kitchen-price-block .kitchen-meta p span {
  flex: 1 1 auto; /* значение переносится при необходимости */
  word-break: break-word; /* перенос длинных слов */
  text-align: right; /* выравнивание значений по правому краю */
}

/* Для маленьких экранов */
@media (max-width: 480px) {
  .kitchen-price-block .kitchen-meta p {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .kitchen-price-block .kitchen-meta p span {
    text-align: left;
  }
}


/* ======= Ссылка показать все параметры (центр, стиль) ======= */
.kitchen-price-block .show-params-link {
  display: block;
  text-align: center;        /* по центру */
  font-size: 15px;
  color: #4a90e2;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin: 15px 0;
}

.kitchen-price-block .show-params-link:hover {
  color: #1d3557;
  background-color: #f0f8ff;
  text-decoration: none;
  transform: translateY(-1px);
}

/* ======= Детали цены: погонный метр и рассрочка ======= */
.kitchen-price-block .price-details {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center; /* по центру */
}

.price-meter, .installment-price {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #f9f9f9;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.price-meter:hover, .installment-price:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  background: #f0f8ff;
}

.price-meter-label, .installment-label {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.price-meter-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: #e63946;
}

.price-meter-value .old {
  text-decoration: line-through;
  color: #aaa;
  font-weight: 500;
}

.price-meter-value .new {
  color: #e63946;
}

.installment-value {
  font-size: 18px;
  font-weight: 700;
  color: #2a9d8f;
}

/* Кнопка заказа */
.order-btn {
  background: linear-gradient(135deg, #e63946, #d62828);
  color: #fff;
  padding: 16px 28px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(230,57,70,0.2);
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(230,57,70,0.3);
}


/* ======= Табсы ======= */
.kitchen-tabs {
  margin-top: 50px;
}
.tab-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.tab-buttons li {
  list-style: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 12px;
  background: #f5f5f5;
  transition: all 0.3s;
  font-weight: 600;
}
.tab-buttons li.active {
  background: #e63946;
  color: #fff;
}
.tab-buttons li:hover:not(.active) {
  background: #ddd;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}
.tab-content.active {
  display: block;
}

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

/* ======= Контейнер характеристик по центру ======= */
.kitchen-characteristics {
  max-width: 720px;           /* ограничиваем ширину */
  margin: 0 auto 40px auto;   /* по центру */
  padding: 25px;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  gap: 14px;                  
  align-items: center;         /* Центрируем строки по горизонтали */
}

/* Каждая строка как мини-карточка, центр и ограниченная ширина */
.kitchen-characteristic-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: #fdfdfd;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  position: relative;
  width: auto;               /* не растягиваем на 100% */
  max-width: 600px;           /* ограничиваем ширину */
}

/* Hover эффект */
.kitchen-characteristic-item:hover {
  transform: translateY(-3px);
  background: #f0f8ff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* Чередование фона для читаемости */
.kitchen-characteristic-item:nth-child(even) {
  background: #fafafa;
}

.kitchen-characteristic-param {
  font-weight: 600;
  color: #1d3557;
  flex: 0 0 160px;
  letter-spacing: 0.2px;
  text-align: left;
  position: relative;
  padding-left: 14px;
}

/* Правый столбец (значение) */
.kitchen-characteristic-value {
  flex: 1;
  color: #555;
  line-height: 1.45;
  text-align: left;           /* текст справа тоже прижать к левому краю колонки */
}
/* Сохраняем шапку табов без изменений */
.kitchen-tabs .tab-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  justify-content: flex-start; /* шапка остаётся на месте */
}
.kitchen-tabs .tab-buttons li {
  cursor: pointer;
}
.kitchen-tabs .tab-buttons li.active {
  font-weight: 600;
  color: #4a90e2;
}




/* ======= Секции описания и доставки ======= */
.kitchen-description-block,
.kitchen-delivery-payment-block {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}
.kitchen-description-block:hover,
.kitchen-delivery-payment-block:hover {
  transform: translateY(-3px);
}

.kitchen-review {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  margin-bottom: 20px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.review-author {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  line-height: 1.2;
}

.review-date {
  font-size: 11px;   /* Сделал мельче */
  color: #999;       /* Более светлый оттенок */
  margin-top: 3px;
}

.review-rating {
  color: #f1c40f;
  font-weight: 600;
  font-size: 14px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}



/* ======= Адаптив ======= */
@media (max-width: 1024px) {
  .kitchen-top-row {
    flex-direction: column;
  }
}

