


.custom-select {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.select-selected {
  background-color: #fff;
  padding: 16px;
  border: 1px solid #000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
}

.select-items {
  position: absolute;
  background-color: #fff;
  top: 110%;
  left: 0;
  right: 0;
  z-index: 99;
  border: 1px solid #d2d2d2;
  padding: 12px 10px;
}

.select-hide {
  display: none;
}

.select-items div {
  padding: 16px;
  cursor: pointer;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
}

.select-items div:hover {
  background: #f5f5f5;
}

.select-items > :last-child {
  border-bottom: none;
}

.color-switcher {
  display: flex;
  gap: 12px;
  align-items: center;
}

.color-swatch {
  width: 47px;
  height: 47px;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid #e0e0e0;
  padding: 0;
  transition: transform 0.2s ease-in-out;
}

.color-swatch:hover {
  transform: scale(1.1);
}

.color-swatch.active {
  border: 2px solid #000000;
}

.product_cont {
  display: flex;
  gap: 60px;
}

.product_cont > :first-child {
  flex: 1.2;
}

.product_cont > :last-child {
  flex: 1;
}

.product_cont h2 {
  font-family: "Arsenica Trial", sans-serif;
  font-weight: 400;
  font-size: 38px;
  text-transform: uppercase;
  color: #1c1c1c;
  margin-bottom: 20px;
}

.price {
  font-weight: 400;
  font-size: 20px;
  text-transform: uppercase;
  color: #565656;
  margin-bottom: 20px;
}

.desc {
  font-weight: 400;
  font-size: 14px;
  color: #565656;
  margin-bottom: 36px;
}

.art {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
}

.product_first {
  border-bottom: 0.5px solid rgba(86, 86, 86, 0.4);
  padding-bottom: 22px;
  margin-bottom: 24px;
}

.size {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}

.size p {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
}

.size > :last-child {
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.color > :first-child {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
  margin-bottom: 13px;
}

.cart_and_favoirte {
  display: flex;
  gap: 13px;
  margin-top: 30px;
}

.cart_and_favoirte > :first-child {
  width: 100%;
  background: #1c1c1c;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  padding: 15px 0;
  border: none;
  cursor: pointer;
}

.cart_and_favoirte > :last-child {
  background: #f7f7f7;
  border: none;
  padding: 0px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.accordion {
  width: 100%;
  margin-top: 73px;
}

.accordion-item {
  border-bottom: 0.5px solid rgba(86, 86, 86, 0.4);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  font-weight: 400;
  font-size: 14px;
  color: #565656;
}

.accordion-item.active .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content p {
  margin-bottom: 16px;
}

.product-gallery {
  display: flex;
  gap: 16px;
  max-width: 736px; /* Установите максимальную ширину */
  margin: auto; /* Центрирование */
}

/* Стилизация контейнера с превью */
.swiper-thumbs {
  width: 100px; /* Ширина колонки превью */
  height: 320px; /* Высота должна соответствовать высоте нескольких превью */
  flex-shrink: 0; /* Запрещаем сжиматься */
}

/* Стилизация самих превью */
.swiper-thumbs .swiper-slide {
  height: auto;
  opacity: 0.6; /* Неактивные превью делаем полупрозрачными */
  cursor: pointer;
  transition: opacity 0.3s ease;
  border: 1px solid #ddd;
}

.swiper-thumbs .swiper-slide:hover {
  opacity: 1;
}

/* Стиль для активного превью */
.swiper-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border: 1px solid #000;
}

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

.swiper-main {
  width: 100%;
  height: auto; /* Высота подстроится под контент */
}

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

.product_section {
  margin-bottom: 100px;
}

.swiper-more_products_cont .swiper-slide {
  display: block;
}

.swiper-more_products_cont .swiper-slide img {
  width: 100%;
  margin-bottom: 14px;
}

.zag {
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  color: #1c1c1c;
  margin-bottom: 9px;
}

.pr {
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  color: #565656;
}

.more_products {
  margin-bottom: 100px;
}

.bread * {
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #565656;
  text-decoration: none;
}

.bread {
  margin-bottom: 67px;
  margin-top: 25px;
}

.product_cont,
.swiper-horizontal {
  padding-left: 20px;
  padding-right: 20px;
}

@media screen and (max-width: 1196px) {
  .product-gallery {
    max-width: 636px;
  }
}

@media screen and (max-width: 1089px) {
  .product-gallery {
    max-width: 536px;
  }
}

.swiper-more_products_cont {
  overflow-x: hidden;
}

@media screen and (max-width: 1089px) {
  .product_cont {
    flex-direction: column;
  }

  .product-gallery {
    max-width: calc(100vw - 40px);
  }
}

@media screen and (max-width: 767px) {
  .product-gallery {
    flex-direction: column-reverse;
  }

  .swiper-vertical > .swiper-wrapper {
    flex-direction: row!important;
  }

  .header_cont {
    padding-bottom: 0;
    padding-top: 0;
  }

  .swiper-thumbs {
    width: 100%;
    height: auto;
    flex-shrink: 0;
  }

  .more_products {
    margin-bottom: 60px;
  }

  .product_section {
    margin-bottom: 60px;
  }

  .bread {
    margin-bottom: 36px;
    margin-top: 28px;
  }

  .accordion {
    margin-top: 41px;
  }
}

.mr {
  padding-left: 20px;
  padding-right: 20px;
}

.more_products * {
  text-decoration: none;
}













/* Пример CSS для кнопки избранного */
.js-add-to-favorites img {
    /* Базовый стиль незаполненного сердца */
    filter: grayscale(100%); /* Пример: сделать серым */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.js-add-to-favorites.is-favorite img {
    /* Стиль для заполненного сердца */
    filter: grayscale(0%); /* Убрать серый цвет */
    opacity: 1;
    transform: scale(1.1); /* Пример: немного увеличить */
    /* Здесь можно добавить цвет, например: background-color: red; или box-shadow: 0 0 5px red; */
}



.product-name-similar {
  font-weight: 400;
font-size: 14px;
text-transform: uppercase;
color: #1c1c1c;
}




.grgb {
  font-family: "Arsenica Trial", sans-serif;
font-weight: 400;
font-size: 50px;
line-height: 140%;
text-transform: uppercase;
text-align: center;
color: #1c1c1c;
margin-bottom: 50px;
}


.swiper-horizontal {
    padding-left: 0!important;
    padding-right: 0px!important;
}




@media screen and (max-width: 767px) {
   

    .grgb {
      font-size: 35px;
      margin-bottom: 25px;
    }

    .product_first h2 {
      font-size: 26px!important;
    }


    .product_first {
      border-bottom: none;
      padding-bottom: 0;
      margin-bottom: 20px;
  }

  
}

.more_products .swiper-more_products_cont {
  padding-left: 20px!important;
  padding-right: 20px!important;
}





.swiper-main .swiper-slide div {
  aspect-ratio: 2/3;
}


.product-name-similar {
  margin-bottom: 0!important;
}



.option-selector {
  display: none !important;
}



.cart_and_favoirte .product__favorites-btn:hover {
  background: #3B3B3B;
}

.cart_and_favoirte .product__favorites-btn:hover * {
  fill: #FFFFFF
}

.cart_and_favoirte .favorites-added {
  background: #F2F2F2;
}



.cart_and_favoirte>:first-child:hover {
  background: #3B3B3B;
}





.custom-select img[alt="Стрелка"] {
  display: block;
}


.custom-select:has(.select-hide) img[alt="Стрелка"] {
  display: none;
}




.custom-ul li {
  display: flex;
  align-items: center;
  gap: 3px;
}


.custom-ul li > :first-child {
  font-weight: 700;
font-size: 14px;
color: #565656;
}

.custom-ul li > :last-child {
  font-weight: 400;
font-size: 14px;
color: #565656;
}

.product_first > :nth-child(4) {
  margin-bottom: 12px!important;
}

.custom-ul {
  margin-bottom: 12px!important;
}
