.characteristics-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
}



.btn-specs-link{font-size: var( --regular-font-size);font-weight: 500;color: #d11c1c; /* ярко-красный */text-decoration: underline;}

.characteristics {
  display: flex;
  flex-direction: column;
  gap: 1.3vw;
}

.characteristic {
  display: flex;
  align-items: center;
  gap: 8px;
}

.characteristic .char-name {
  white-space: nowrap;
  /* font-weight: 700; */
}

.characteristic .dots {
  flex: 1;
  border-bottom: 1px dotted #ccc;
  margin: 0 6px;
  height: 1px;
}


.characteristics {
 font-size: 0.9vw;
 color: #555;
 line-height: 1.2;
 border-radius:var(--border-radius);
}
@media (max-width: 768px) {
  .characteristics-columns {
    grid-template-columns: 1fr;
  }
 
  .characteristics {
 font-size: 4vw;
}
  .characteristics {
  display: flex;
  flex-direction: column;
  gap: 5vw;
}
}

.middle {
  border: 1px solid #3333331f;
  border-radius: var(--box-padding);
  padding:var(--box-padding);
  gap: 0.5vw;
     font-size: var( --progect-font-size);
  display:flex;
  flex-direction: column;
}

.middle h2{
  margin:0;
}


.short-description {
   font-size: var( --progect-font-size);
}

.characteristic {
  display: flex;
  align-items: flex-start;
  gap: 0.1vh;
  position: relative;
  flex-direction: column;
  border-bottom: 1px solid #3333331f;
  padding-bottom: 10px;
}

.characteristic .char-name {
  /* flex: 0 0 auto; */
  /* white-space: nowrap; */
  font-weight: 600;
}

.characteristic .dots {
  flex: 1;
  border-bottom: 1px dotted #ccc;
  position: relative;
  top: -1px;
}

.characteristic .value {
  flex: 0 0 auto;
  /* white-space: nowrap; */
  /* text-align: right; */
}
 

.gallery-wrapper {
  max-width: 100%;
}

.main-swiper {
  width: 100%;
  height: 30vw;
  margin-bottom: 15px;
  overflow: hidden;
}

.main-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  outline: none;
  border: none;
}

.main-swiper a:focus {
  outline: none;
}

.thumbs-wrapper {
  width: 100%;
  margin: 0 auto;
  position: relative;
}
#categori-page .swiper-button-next:after, #categori-page  .swiper-button-prev:after {
  font-size:1.4vw;
  color:#fff;
  font-weight:600;
}

.thumbs-swiper {
  width: 100%;
  position: relative;
}

.thumbs-swiper .swiper-slide {
  width: 100px;
  height:4vw;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
}

.thumbs-swiper .swiper-slide-thumb-active {
  opacity: 1;
  border: 2px solid var(--accent-color);
}

.thumbs-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumbs-nav {
  position: absolute;
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
}

.swiper-button-prev.thumbs-nav {
  left: 0;
}

.swiper-button-next.thumbs-nav {
  right: 0;
}

.main-swiper .swiper-button-prev,
.main-swiper .swiper-button-next {
  display: none !important;
}

.single-contain-top {
  display: flex;
  flex-wrap: wrap;
}

.single-contain-top-box-right {
  width: 60%;
  display: flex;
  padding: 0 2vw;
  flex-direction: column;
}

.box-left
{
  width: 35%;
  min-width: 20vw;
}
.box-right
{
  width: 65%;
  flex-direction: column;
}
.price-block {
  display:flex;
  gap: 1vw;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.old-price{
    font-weight:600;
    font-size: 1vw;
}
.current-price
{
   font-size:1.5vw;
  font-weight:600;
  
}
.btn-progect:hover, .btn-progect-second:hover {
    color:#fff;
    opacity: 0.8;
}
.btn-progect {
  background-color:var(--accent-color);
  padding: 0.8vw 1vw;
  text-align:center;
  border-radius: 3.2vw;
  color: #ffffff;
  font-size:var(--regular-font-size);
  font-weight:500;
}
.btn-progect-second {
  background-color: #000000;
  padding: 0.8vw 1vw;
  text-align:center;
  border-radius: 8.2vw;
  font-size:var(--regular-font-size);
  color:#fff;
  font-weight:500;
}
.cost-box{
  padding:var(--box-padding);
  background-color:#f3f3f3;
  border-radius: var(--border-radius);
}
#categori-page h1 {
  margin: 10px 0;
}
.box-labels
{
 display: flex;
 gap: 0.6vw;
 flex-direction: row;
 align-content: flex-start;
 flex-wrap: wrap;
}
.label {
  border: 1px solid  var(--accent-color);
  padding: 0 1vw;
  font-weight: 600;
  font-size: var( --regular-font-size);
  border-radius: 0.2vw;
}
.size {/* background: var(--accent-color); */}
.hit {background: #e41a1a;border: 0;color:#fff}
.single-contain-top-box-left {
  width: 40%;
}
@media (max-width: 767px) {
    
    .single-contain-top-box-right, .single-contain-top-box-left, .box-left, .box-right
     {
    width: 100%;
       .label {
  border: 1px solid  var(--accent-color);
  padding: 0 3vw;
  font-weight: 600;
  font-size: var( --regular-font-size);
  border-radius: 3vw;
}
       .price-block {
  display:flex;
  gap: 0vw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
       .old-price {
    font-weight: 600;
    font-size: 5vw;
}
       .box-labels
{
 display: flex;
 gap: 3vw;
 flex-direction: row;
 align-content: flex-start;
 flex-wrap: wrap;
 margin-top: 4vw;
}
       .short-description {
 /* display: none; */
}

       .current-price
{
   font-size: 7.5vw;
}
       .btn-progect, .btn-progect-second {

  padding:3vw 1vw;
  

}

  }


  .thumbs-wrapper {
    display: none !important;
  }

  .main-swiper {
    width: 100vw;
    height: 55vw;
    overflow: visible;
  }

  .main-swiper .swiper-wrapper {
    display: flex;
    padding-left: 10vw;
  }

  .main-swiper .swiper-slide {
    flex-shrink: 0;
    width: 90vw;
    margin-right: 16px;
  }
}
 


#fotogallery ul {
  list-style: none;
}
  .project-attributes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.project-attribute {
  text-align: center;
}

.project-attribute h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.project-attribute p {
  font-size: 24px;
  font-weight: 400;
}

.project-description {
  margin-top: 60px;
}

.project-description .title-2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.project-description .subtitle-4 {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
}


.category-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: flex-start;
}

.category-card {
  width: 18%;
  text-align: center;
  text-decoration: none;
}

.card-wrapper {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.card-image {
  width: 100%;
  display: flex;
  height: 13vw;
  background-size: cover;
  background-position: center;

  flex-direction: column;
  padding: 1vw;
  justify-content: flex-end;
}

.card-label {
  display: inline-block;
  margin: 0 auto;
  padding: 8px 16px;
  border-radius: 1vw;
  font-weight: 500;
  font-size: 1vw;
  text-align: center;
}



.menu-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.menu-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 15px;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  cursor: grab;
}

.menu-list::-webkit-scrollbar {
  display: none;
}

.menu-list:active {
  cursor: grabbing;
}

.btn-gallery:hover {
  background-color: #555;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18vw, 1fr));
  gap: 1.7vw;
  transition: all 0.3s ease-in-out;
  align-content: start;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  height: 12vw;
  transition: all 0.3s ease-in-out;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

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

.fancybox__container *:focus {
  outline: none !important;
}
.fancybox__slide:focus {
  outline: none !important;
}

.gallery-item {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}


.gallery-item.showing {
  opacity: 0;
  transform: scale(1.2);
  position: relative;
}

.gallery-item.showing.animate {
  opacity: 1;
  transform: scale(1);
}

.btn-gallery {
  transition: background-color 0.5s ease, color 0.5s ease !important;
}

.btn-gallery:hover {
  background-color: var(--accent-color) !important;

  opacity: 0.8 !important;
  transition: background-color 0.5s ease, color 0.5s ease !important;
}


.btn-gallery.active {
  background-color: var(--accent-color) !important;
  /* color: var(--active-text-color) !important; */
  transition: background-color 0.5s ease, color 0.5s ease !important;
}

@media (max-width: 768px) {
  .gallery-item {
    height: 25vw;
  }
  .single-contain-top-box
{
    width:100%;
}
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(25vw, 1fr));
  }
  .card-label {
 border-radius: 4vw;
 font-size: 3vw;
}
  .category-cards {
 
  gap: 3vw;
 
}
.category-card {
  width: 47%;
 
}
  .card-image {
 height: 37vw;
 padding: 2vw;
}

}
.reviews-block {
  background: #fff;
  color: #333;
  padding: 1.4vw;
  display: flex;
  gap: 0.3vw;
  min-height: 15vw;
  border-radius: 1.4vw;
  flex-direction: column;
  justify-content: flex-start;
}

.reviews-top {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 2vw;
}

.reviews-top img {
  border-radius: 100%;
  max-width: 9vw;
}
.reviews-top p {
  color: #333;
  font-weight: 600 !important;
}
.reviews-top p {
  margin: 0 !important;
}

.reviews-top span {
  opacity: 0.6;
  font-weight: 400;
}
.reviews-midle-image {
  display: flex;
  width: 5vw;
  align-content: center;

  align-items: center;
}
.reviews-midle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2vw;
  align-content: center;
}
.reviews-midle img {
  width: 5vw;
}
.reviews-midle span {
  opacity: 0.6;
  font-weight: 400;
}
@media (max-width: 768px) {
  .reviews-midle-image {
    width: 15vw;
  }

  .reviews-midle img {
    width: 15vw;
  }
  .reviews-block {
    padding: 4vw;
    border-radius: 4vw;
    min-height: 47vw;
  }
  .reviews-block p {
    font-size: 3.7vw !important;
  }
  .reviews-block span {
    font-size: 2.8vw !important;
  }
}
.prise {
  background: #fff;
  border-radius: 1.4vw;

  overflow: hidden;
  text-align: center;
  color: #1e1e1e;
}

.prise img {
  width: 100%;
  height: 10vw;
  display: block;
  object-fit: cover;
}

.prise-content {
  padding: 1.5vw 2.4vw;
  display: flex;
  gap: 1.3vw;
  flex-direction: column;
}

.swiper-slide .prise h3 {
  font-weight: 600;
  /* color: #333; */
  font-size: 1.6vw;
  margin: auto;
  max-width: 15vw;
}

.prise .price-tag {
  display: flex;
  justify-content: center;
  border-radius: 0.7vw 0.7vw 0 0;
  background: var(--accent-color);
  font-size: 1.3vw;

  font-weight: 600;
  margin: auto;
  padding: 0.8vw 1.2vw;
  align-items: center;
}

.prise .price-tag img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.prise ul {
  list-style: none;
  text-align: left;
  margin: 0;
  padding: 0;
}

.prise ul li {
  font-size: 1.1vw;
  padding: 1vw 0;
  line-height: 1.2;
  border-bottom: 1px solid #aaaaaa57;
  display: flex;

  align-items: center;
}
.prise ul li:last-child {
  border-bottom: none;
}

.prise ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  margin-right: 10px;
}

.prise .note {
  font-size: 0.9vw;

  line-height: 1.1;
  max-width: 15vw;
  opacity: 0.8;
  margin: auto;
}
.review-text {
  max-height: 3vw;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}

.review-text.expanded {
  max-height: none;
}

.read-more {
  background: none;
  border: none;
  color: #73737387;
  cursor: pointer;
  margin: 0;
  padding: 0;
  font-size: 1vw;
}

.read-more:hover {
  text-decoration: underline;
}
.collapsible-list {
  max-height: 10vw; /* Ограничиваем высоту списка */
  overflow: hidden; /* Скрываем лишний контент */
  transition: max-height 0.3s ease-in-out;
}

.toggle-list-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-size: 1vw;
}

.toggle-list-btn:hover {
  text-decoration: underline;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки на ПК */
  gap: 20px;
}

.grid-item {
  width: 100%;
}
.contact-list {
  display: flex;
  gap: 1vw;
  flex-wrap: wrap;
}
.contact-item {
  display: flex;
  gap: 0.5vw;
  position: relative;
  padding: 1vw;
  border: 0.1vw solid #3333333b;
  border-radius: 0.8vw;
  width: 48%;
  flex-direction: column;
}
.contact-item img {
  position: absolute;
  right: 0.2vw;
  top: 0.4vw;
  opacity: 0.3;
  width: 2vw;
}
.contact-item p {
  padding: 0;
  margin: 0;
  color: #333;
  font-weight: 600;
}

.contact-item span {
  padding: 0;
  margin: 0;
  color: #a5a5a5;
}
.yandex-map {
  border-radius: 1.2vw;
  overflow: hidden;
}
.frame-map {
  margin: -0.3vw;
  position: relative;
  height: 28vw;
  overflow: hidden;
}
.map-container {
  position: relative;
  width: 100%;

  overflow: hidden;
}

.yandex-map iframe {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
  z-index: 10;
}

@media (max-width: 768px) {
  .yandex-map {
    border-radius: 3.2vw;
  }
  .frame-map {
    margin: -1vw;
    height: 128vw;
  }
  .collapsible-list {
    max-height: 10vw; /* Ограничиваем высоту списка */
    overflow: hidden; /* Скрываем лишний контент */
    transition: max-height 0.3s ease-in-out;
  }
  .collapsible-list {
    max-height: 40vw; /* Ограничиваем высоту списка */
  }
  .toggle-list-btn {
    font-size: 3vw;
  }
  .read-more {
    font-size: 3.2vw;
  }
  .review-text {
    max-height: 14vw;
  }
  .prise {
    border-radius: 4vw;
  }

  .prise img {
    height: 28vw;
  }

  .prise-content {
    padding: 3vw 6vw;

    gap: 3.3vw;
  }

  .swiper-slide .prise h3 {
    font-size: 4vw;
    max-width: 30vw;
  }

  .prise .price-tag {
    border-radius: 2vw 2vw 0 0;
    font-size: 3.3vw;
    padding: 2.8vw 1.2vw;
  }

  .prise ul li {
    font-size: 3vw;
    padding: 3vw 0;
  }

  .prise .cta-button {
    display: block;
    width: 80%;
    margin: 20px auto;
    padding: 10px;

    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
  }

  .prise .note {
    font-size: 2.3vw;

    max-width: 35vw;
  }
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшете */
  }
  .grid-container {
    grid-template-columns: repeat(1, 1fr); /* 1 колонка на мобилке */
  }
  .contact-list {
    gap: 3vw;
  }
  .contact-item {
    gap: 0.5vw;

    padding: 2.9vw;

    border-radius: 2vw;
  }
  .contact-item img {
    right: 1.2vw;
    top: 1.4vw;

    width: 5vw;
  }
}
/* ===== Комплектация ===== */
.kit{ margin: 3rem 0 2rem; }
.kit__title{
  font-size: clamp(28px, 2.6vw,30px);
  font-weight: 600;
  line-height: 1.15;
  display:inline-block;
  padding-bottom: 0.6em;
  /* border-bottom:4px solid #1c7ed6; */
}

/* 2 колонки: слева карточки, справа галерея (макс 40%) */
.kit__grid{
  display:grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 40%);
  gap: clamp(16px,2vw,32px);
  align-items:start;
}
.kit--solo .kit__grid{ grid-template-columns: 1fr; }

/* Левая колонка (карточки) */
.kit__left{display:grid;gap: 30px;}
.kit__card{
  background:#f7f7f8;
  /* border:1px solid #e5e7eb; */
  border-radius:16px;
  padding: clamp(16px,1.8vw,26px);
  /* box-shadow:0 10px 28px rgba(17,24,39,.06); */
}
.kit__card-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; margin-bottom:10px;
}
.kit__card-title{font-size: clamp(18px,2vw,18px);font-weight: 600;}
.kit__price{font-size: clamp(18px,2vw,18px);font-weight: 600;color:#e11d48;white-space:nowrap;}
.kit__price span{ font-weight:600; opacity:.9; }
.kit__list{ margin:0; padding:0; list-style:none; display:grid; gap:8px; }
.kit__list li{ position:relative; padding-left:20px; }
.kit__list li::before{
  content:""; position:absolute; left:0; top:0.6em;
  width:8px; height:8px; border-radius:50%; background:#ef4444; transform:translateY(-50%);
}

/* Правая колонка (галерея справа) */
.kit__right{ display:grid; gap: clamp(12px,1.6vw,18px); align-content:start; }
.kit__photo{ width:100%; height:auto; display:block; border-radius:12px;
  border:1px solid #e5e7eb; box-shadow:0 10px 28px rgba(17,24,39,.06); background:#fff; }

/* Адаптив */
@media (max-width:1024px){
  .kit__grid{ grid-template-columns: 1fr; }
}
