.product-page{
  padding: 2vw;
  background-color: #EFF2F7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.product {
    gap: 40px;
    padding: 2rem;
    background-color: white;
    width: 90%;
    border-radius: 1.5rem;

}
.product__container {
    display: flex;
    gap: 40px;
}
.photo-slider {
  width: 30%;
  /* border: 1px solid red; */
  max-height: 30vw;
}
.product-slider__img {
  max-height: 20vw;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  margin: auto;
}



/* ABOUT */
.about {
  /* border: 1px solid red; */
  width: 40%;
}
.about__title {
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
}
.about__subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
}
.about__subtitle span {
  font-size: 1.2rem;
  font-weight: 500;
}

.about__description {
  font-size: 0.8rem;
  font-weight: 400;
  color: #63749D;
  margin-top: 1rem;
}



/* CART */
.cart {
  background-color: #EFF2F7;
  border-radius: 2rem;
  width: 30%;
  padding: 2rem;
  font-family: 'Inter', sans-serif;
}
.cart__title {
  display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Расстояние между текстом и линиями */
    color: #17367F;
    margin-top: 1rem;
}
.cart__title::before,
.cart__title::after {
    content: '';
    flex: 1; /* Линии занимают доступное пространство */
    height: 1px; /* Толщина линии */
    background-color: #6b7aa3; /* Цвет линии */
}
.cart__price {
  font-size: 26px;
  font-weight: bold;
  color:#157F2E;
}
.cart__price-wt {
  font-size: 18px;
  font-weight: 400;
  color: black;
}
.counter {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1vw;
  border: #7E9FD4 solid 1px;
  border-radius: 1.5vw;
  color: black;
  font-size: 14px;
  padding: 0;
  margin: 1rem 0;
}
.counter__left {
  display: flex;
  width: 15%;
  justify-content: center;
  align-items: center;
  border-right: #7E9FD4 solid 1px;
  font-size: 1.7rem;
  cursor: pointer;
}
.counter__mid {
  width: 80%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1vw;
}
.counter__right {
  display: flex;
  width: 15%;
  justify-content: center;
  align-items: center;
  border-left: #7E9FD4 solid 1px;
  font-size: 1.7rem;
  cursor: pointer;
}
.counter__value {
  font-size: 30px;
}
.cart__amounts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1vw;
  color: #17367F; 
  font-size: 12px;
}
.cart__amounts-title {
  font-weight: 700;
}
.cart__buttons {
  display: flex;
  flex-direction: column;
  margin-top: 1rem;
}
.cart__button {
  background-color: #17367F;
  color: white;
  border: none;
  padding: 0.5vw;
  margin-bottom: 1vw;
  border-radius: 0.5vw;
  cursor: pointer;
  border-radius: 10vw;
  border: 1px solid #17367F;
  font-size: 17px;
  font-family: 'Inter', sans-serif;
  text-align: center;
}
.cart__button_towish {
  background-color: rgba(255, 0, 0, 0);
  color: #17367F;
}

/* THUMBNAIL SLIDER */

.thumbnail-slider {
  position: absolute;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  bottom: 0;
}

.thumbnail-slide {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

.thumbnail-slide:hover {
  border-color: #ccc;
}

.thumbnail-slide.active {
  border-color: #17367F;
}

.thumbnail-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.thumbnail-img.active {
  opacity: 0.6;
}

/* Улучшенный стиль для активной миниатюры */
.thumbnail-slide.active {
  opacity: 0.6;
  border: 2px solid #17367F;
}

/* FEATURES */
.features {
  display: flex;
  gap: 1rem;
  margin-top: 4rem;
  justify-content: center;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid #63749D;
  border-radius: 1rem;
  width: 30%;
  padding: 2vw;
}

.feature__title-wrapper{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: #17367F;
}
.feature__title {
  font-weight: 700;
  font-size: 1.2rem;
}

.feature__description {
  font-size: 0.8rem;
  color: #63749D;
}

/* PRODUCTS SLIDER */
.slider-section {
  width: 90%;
  margin-top: 5rem;
}
.slider-section__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #17367F;
  margin: 0 0 1rem 4vw;
}

@media (max-width: 768px) {
  .product {
    padding: 5vw;
  }
  .product__container {
    flex-direction: column;
}
  .photo-slider {
    width: 100%;
    max-height: none;
    height: 20rem;
  }

/* THUMBNAIL SLIDER */

.thumbnail-slider {
  /* position: absolute;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px; */
  bottom: 0vw;
  z-index: 3;
}

/* .thumbnail-slide {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  
} */

/* .thumbnail-slide:hover {
  border-color: #ccc;
} */

/* .thumbnail-slide.active {
  border-color: #17367F;
} */

/* .thumbnail-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
} */

/* .thumbnail-img.active {
  opacity: 0.6;
} */

/* Улучшенный стиль для активной миниатюры */
/* .thumbnail-slide.active .thumbnail-img {
  opacity: 0.6;
  border: 2px solid #17367F;
} */

.hero-slider__swiper {
    overflow: visible;
}
.about {
    width: 100%;
    padding: 1rem;
    /* text-align: center; */
}
.about__description {
    font-size: 1.2rem;
}
.cart {
    width: 100%;
    padding: 2rem;
    border-radius: 1rem;
}
.features {
    flex-direction: column;
    margin-top: 8rem;
}
.feature {
    width: 100%;
}
.feature__description {
  font-size: 1rem;
}

.header-m {
  background-color: #EFF2F7;
}
.products-slider {
  width: 100%;
  height: 30rem;
}
.product-card {
  margin: 0 auto;
}
.product-next {
  right: 0;
}
.product-prev {
  left: 0vw;  
}
.cart__buttons {
  margin-top: 3rem;
  gap: 0.4rem;
}
.cart__button {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
}


@media (max-width: 552px) {


.product-slider__img {
  min-height: 15rem;
}
.thumbnail-slider {
  top: 15rem;
}
/* .thumbnail-img {
  opacity: 0.6;
  border: 2px solid #17367F;
} */
.thumbnail-slide.active  {
  border: 2px solid #17367F;
}
.thumbnail-slide {

  height: 5.5rem;
}



}










}