/* ==================== BREADCRUMB ==================== */

#product-source-breadcrumb span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  color: #696969;
}

/* ==================== STICKY / ANCHORS ==================== */

@media (min-width: 1200px) {
  .product_slide.products {
    position: sticky;
    top: var(--products-sticky-top, 168px);
    align-self: flex-start;
    height: max-content;
    flex-shrink: 0;
  }
}

.anchors {
  width: 100%;
  background: #f3f6f4;
  position: sticky;
  top: 118px;
  z-index: 20;
}

.mobile .anchors {
  top: 55px;
}

.product-anchors {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 40px;
}

.product-anchors__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  color: #777;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.product-anchors__item:hover,
.product-anchors__item:focus {
  color: #333;
  text-decoration: none;
}

.product-anchors__item.active {
  color: #333;
  font-weight: 600;
}

.product-anchors__item.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #33815C;
}

.product-anchors__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 20px;
  background: #33815C;
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  max-width: 16px;
}

.full-screen {
  position: absolute;
  top: 11px;
  right: 13px;
  z-index: 15;
}

.mobile #content {
  overflow: hidden;
}

/* ==================== CREDIT / INSTALLMENTS ==================== */

.credits_wrapp {
  margin-top: 16px;
  border: 1px solid #e7eaee;
  border-radius: 3px;
  padding: 18px 13px;
}

.credits_wrapp .credits_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.credits_wrapp .credits_head .credits_text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #191d23;
}

.credits_wrapp .button_wrapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.credits_wrapp .button_wrapp .icon_wrapp {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.credits_wrapp .button_wrapp .credit_icon {
  background-color: #F5F5F5;
  position: relative;
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3px;
  min-width: 45px;
  max-width: 45px;
  min-height: 45px;
}

.credits_wrapp .button_wrapp .credit_icon img {
  width: 20px;
  height: 20px;
}

.credits_wrapp .button_wrapp .credit_icon .count,
.credits_wrapp .button_wrapp .credit_icon .name {
  font-family: var(--third-family);
  font-weight: 400;
  text-align: center;
  line-height: 10px;
}

.credits_wrapp .button_wrapp .credit_icon .name {
  font-size: 7px;
  line-height: 7px;
  text-transform: uppercase;
}

.credits_wrapp .button_wrapp .credit_icon .count {
  position: absolute;
  top: 5px;
  right: 5px;
  font-size: 9px;
}

.credits_wrapp .button_wrapp button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ef7038;
  border-radius: 3px;
  width: 170px;
  height: 45px;
  background-color: transparent;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  color: #ef7038;
  padding: 0;
  transition: 0.2s;
}

.credits_wrapp .button_wrapp button:hover {
  background-color: #ef7038;
  color: #fff;
}

/* ==================== ATTRIBUTES ==================== */

.product-attributes {
  padding-right: 20px;
  margin-top: 80px;
}

.mobile .product-attributes {
  margin-top: 55px;
  border-top: 1px solid #e7eaee;
  padding-top: 30px;
}

.product-attributes .product-section-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  color: #1e1e1e;
}

/* Плавне розгортання додаткових характеристик */
.product-attributes__extra {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease;
}

.product-attributes__extra-inner {
  min-height: 0;
  overflow: hidden;
}

.product-attributes__content.is-collapsed .product-attributes__extra {
  grid-template-rows: 0fr;
  opacity: 0;
}

.product-attributes__content .attribute {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid #e7eaee;
}

.product-attributes .attribute .name {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  color: #191d23;
}

.product-attributes .attribute .text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: #191d23;
  text-align: right;
}

.product-attributes .attribute a.text {
  text-decoration: underline !important;
}

.attr-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #33815c;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.attr-more-btn:hover {
  opacity: 0.7;
}

/* ==================== DESCRIPTION ==================== */

.product-description {
  padding-top: 44px;
  margin-top: 60px;
  border-top: 1px solid #e5e5e5;
  margin-bottom: 140px;
}

.mobile .product-description {
  margin-top: 30px;
  padding-top: 18px;
  margin-bottom: 40px;
}

.product-description .product-section-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #433e3e;
}

.ex_rc_content {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: 214%;
  color: #433e3e;
}

.product-description__content {
  position: relative;
  overflow: hidden;
  transition: max-height .4s ease;
}

.product-description__content.is-default-description {
  line-height: 1.6;
}

.product-description__toggle {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin: 70px auto 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #33815c;
}


.product-description__content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        #fff 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-description__content.is-collapsed::after {
    opacity: 1;
}

/* ==================== REVIEWS ==================== */

.product-reviews-section .review_wrapp {
  display: flex;
  gap: 22px;
}

.mobile .product-reviews-section .review_wrapp {
  flex-direction: column-reverse;
  gap: 10px;
}

.product-reviews-section .review_wrapp .promo_banner,
.product-reviews-section .review_wrapp #product_reviews,
.product-reviews-section .review_wrapp #reviews {
  flex: 1 1 0;
  min-width: 0;
}

.mobile .product-reviews-section .review_wrapp .promo_banner,
.mobile .product-reviews-section .review_wrapp #product_reviews,
.mobile .product-reviews-section .review_wrapp #reviews {
  flex: 1;
  min-width: auto;
}

.product-reviews-section .review_wrapp .promo_banner {
  display: flex;
  height: max-content;
  overflow: hidden;
  border-radius: 10px;
  /* Банер відкриває модалку «Замовити відеодемонстрацію» */
  cursor: pointer;
}

.product-reviews-section .review_wrapp .promo_banner img {
  width: 100%;
}

.promo_banner {
    position:relative;
    width:100%;
    aspect-ratio:560/438;
    border-radius:8px;
    overflow:hidden;
    isolation:isolate;
    background:#202020;
}
.promo_banner__image {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    max-width:none;
    object-fit:cover;
    z-index:-2;
}
.promo_banner::after {
    content:'';
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(to bottom,transparent 25%,rgba(0,0,0,.35) 50%,rgba(0,0,0,.88) 100%);
}
.promo_banner__content {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    height:100%;
    padding:0 29px 80px;
}
.promo_banner__side {
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    align-items:flex-start;
    min-width:0;
}
.promo_banner__side--left {
    padding-right:40px;
}
.promo_banner__side--right {
    padding-left:40px;
    position: relative;
}

.promo_banner__side--right::before {
  content: '';
  width: 1px;
  background: #fff;
  height: 207px;
  position: absolute;
  left: -1px;
  bottom: -15px;
}

.promo_banner__info {
    margin-bottom:20px;
}
.promo_banner__title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 30px;
    letter-spacing: -0.01em;
    color: var(--biliy);
    margin-bottom: 20px;
}
.promo_banner__side--left .promo_banner__title span {
    color:#33815c;
}
.promo_banner__side--right .promo_banner__title span {
    color:#ef7038;
}
.promo_banner__description {
    font-family: var(--font-family);
    max-width: 220px;
    font-weight: 400;
    font-size: 17px;
    line-height: 129%;
    color: rgba(255, 255, 255, 0.7);
}
.promo_banner__button {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:43px;
    padding: 10px;
    border:0;
    border-radius:3px;

    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: var(--biliy);
    text-align:center;

    cursor:pointer;
    transition:background .2s ease,transform .2s ease;
}
.promo_banner__button:hover {
    transform:translateY(-2px);
}
.promo_banner__button--green {
    background:#33815c;
}
.promo_banner__button--green:hover {
    background:#266c4b;
}
.promo_banner__button--orange {
    background:#ef7038;
}
.promo_banner__button--orange:hover {
    background:#dc5e2a;
}

@media (max-width:767px) {
    .mobile .product-reviews-section .review_wrapp .promo_banner {
        display:block;
        width:100%;
        height:auto;
        min-height:0;
        aspect-ratio:auto;
        border-radius:5px;
        cursor:default;
        background:#202020;
    }
    .mobile .promo_banner__image {
        height:350px;
        object-fit:cover;
        object-position:center top;
    }
    .mobile .promo_banner::after {
        background:linear-gradient(to bottom,transparent 15%,rgba(0,0,0,.1) 25%,rgba(0,0,0,.65) 45%,#202020 57%);
    }
    .mobile .promo_banner__content {
        display:flex;
        flex-direction:column;
        gap:0;
        height:auto;
        padding:175px 30px 38px;
    }
    .mobile .promo_banner__side {
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        justify-content:flex-start;
        width:100%;
        padding:0;
    }
    .mobile .promo_banner__side--left {
        padding-bottom:25px;
    }
    .mobile .promo_banner__side--right {
        padding-top:24px;
    }
    .mobile .promo_banner__side--right::before {
        top:0;
        left:0;
        bottom:auto;
        width:100%;
        height:1px;
        background:rgba(255,255,255,.3);
    }
    .mobile .promo_banner__info {
        margin-bottom:16px;
    }
    .mobile .promo_banner__title {
        margin:0 0 16px;
        font-size:clamp(20px,5.2vw,25px);
        font-weight:600;
        line-height:1.2;
        letter-spacing:-.02em;
        color:#fff;
    }
    .mobile .promo_banner__description {
        max-width:100%;
        margin:0;
        font-size:16px;
        line-height:1.4;
        color:rgba(255,255,255,.7);
    }
    .mobile .promo_banner__button {
        width:auto;
        max-width:100%;
        min-height:50px;
        padding:12px 14px;
        border-radius:3px;
        font-size:14px;
        font-weight:600;
        line-height:1.3;
        white-space:normal;
    }
}
@media (max-width:380px) {
    .mobile .promo_banner__content {padding:160px 20px 30px;}
    .mobile .promo_banner__image {height:320px;}
    .mobile .promo_banner__title {font-size:20px;}
    .mobile .promo_banner__description {font-size:14px;}
    .mobile .promo_banner__button {font-size:13px;min-height:46px;}
}

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease,
        visibility .25s ease;
}

.review-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .45);
}

.review-modal__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
}

.review-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.review-modal__title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
}

.review-form__group {
  margin-bottom: 20px;
}

.review-form__group > label {
  display: block;
  margin-bottom: 8px;
}

.review-form__group input[type="text"],
.review-form__group textarea {
  width: 100%;
  border: 1px solid #DADADA;
  border-radius: 6px;
  padding: 12px 14px;
  outline: none;
}

.review-form__group textarea {
  resize: vertical;
}

.review-form__rating {
  display: flex;
  flex-direction: row;
  gap: 4px;
}

.review-form__rating input {
  display: none;
}

.review-form__rating label {
  color: #DADADA;
  cursor: pointer;
  line-height: 1;
}

.review-form__rating input:checked + label,
.review-form__rating label:has(~ input:checked) {
  color: #FECE23;
}

.review-form__rating label:hover,
.review-form__rating label:has(~ label:hover) {
  color: #FECE23;
}

.review-form__submit {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 6px;
  background: #006EF9;
  color: #fff;
  cursor: pointer;
}

.review-form__submit:disabled {
  opacity: .6;
  cursor: default;
}

.review-modal__message {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
}

.review-modal__message.error {
  display: block;
  background: #fff1f1;
  color: #d92d20;
}

.review-modal__message.success {
  display: block;
  background: #ecfdf3;
  color: #039855;
}

body.review-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .review-modal {
    align-items: flex-end;
    padding: 0;
  }

  .review-modal__content {
    max-width: none;
    border-radius: 16px 16px 0 0;
    padding: 24px 20px;
  }
}

.reviews_heder {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
  margin-bottom: 18px;
}

.reviews_heder__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.reviews_heder__title {
  margin: 0 0 7px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  color: #1e1e1e;
}

.reviews_heder__rating {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews_heder__rating-value {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: #0f0f0f;
}

.reviews_heder__rating-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.reviews_heder__stars {
  display: flex;
  align-items: center;
  gap: 3px;
}

.reviews_heder__stars svg {
  display: block;
  flex-shrink: 0;
  width: 12px;
  height: 12px;
}

.reviews_heder__count {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 117%;
  color: #7d7c7c;
}

.reviews_heder .review-write-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 140px;
  height: 43px;
  margin: 0;
  padding: 0 20px;
  background: #33815c;
  border: 0;
  border-radius: 5px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease,
        opacity .2s ease;
}

.reviews_heder .review-write-btn svg {
  display: block;
  flex-shrink: 0;
}

.reviews_heder .review-write-btn:hover {
  background: #286f4d;
  color: #fff;
}

.review-load-more {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #33815c;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.review-load-more:hover {
  opacity: 0.7;
}

#product_reviews .review_date {
  margin: 0 0 8px;
  font-family: var(--font-family);
  font-size: 10px;
  line-height: 14px;
  color: #999;
}

#product_reviews .review_author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 7px 0 9px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: normal;
  color: #000;
}

#product_reviews .review_author__status {
  font-size: 10px;
  font-weight: 400;
  color: #999;
}

#product_reviews .product_review__verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-bottom: 5px;
  background: #33815c;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

#product_reviews .review_gallery,
#product_reviews .reviews-media__list {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
}

#product_reviews .review_gallery::-webkit-scrollbar,
#product_reviews .reviews-media__list::-webkit-scrollbar {
  display: none;
}

#product_reviews .review-media__item {
  position: relative;
  width: 150px;
  height: 100px;
  padding: 0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
}

#product_reviews .review-media__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#product_reviews .review-media__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#product_reviews .reviews-media {
  margin: 0 0 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

#product_reviews .reviews-media__title {
  margin-bottom: 18px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  color: #1e1e1e;
}

#product_reviews .review_description__positive,
#product_reviews .review_description__negative {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 22px;
  color: #696969;
}

#product_reviews .review_description__negative {
  margin-top: 2px;
}

#product_reviews .review_description__positive strong,
#product_reviews .review_description__negative strong {
  margin-right: 2px;
  font-weight: 600;
  color: #000;
}

#product_reviews .product_review__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 12px;
}

#product_reviews .comment_customer {
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-family);
  font-size: 11px;
  color: #33815c;
  text-decoration: underline;
  cursor: pointer;
}

#product_reviews .voting_block {
  display: flex;
  align-items: center;
  gap: 10px;
}

#product_reviews .voting_block button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 11px;
  color: #999;
  cursor: pointer;
}

#product_reviews .voting_block button.active,
#product_reviews .voting_block button:hover {
  color: #33815c;
}

#product_reviews .btn_review_comments {
  margin: 10px 0 20px;
  font-family: var(--font-family);
  font-size: 11px;
  color: #33815c;
  cursor: pointer;
}

#product_reviews .block_review_comments {
  margin: -10px 0 20px 30px;
  padding-left: 15px;
  border-left: 2px solid #f1f1f1;
}

#product_reviews .product_review--comment {
  padding-top: 15px;
}

#product_reviews #more_reviews {
  margin-top: 28px;
}

.reviews-media-swiper {
  width: 100%;
  overflow: hidden;
}

.reviews-media-swiper .swiper-wrapper {
  display: flex;
}

.reviews-media-swiper .swiper-slide {
  width: 150px;
  flex-shrink: 0;
}

.reviews-media-swiper .reviews-media__item {
  width: 150px;
  height: auto;
  overflow: hidden;
  border-radius: 5px;
  cursor: pointer;
}

.reviews-media-swiper .reviews-media__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.reviews-media__slider {
  position: relative;
}

.reviews-media__slider button {
  position: absolute;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  transition: all 0.2s ease;
  padding: 0;
  pointer-events: all;
  background-color: #fefefe;
  border-radius: 100%;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.09), 0 7px 4px 0 rgba(0, 0, 0, 0.05), 0 13px 5px 0 rgba(0, 0, 0, 0.01), 0 20px 6px 0 rgba(0, 0, 0, 0);
  z-index: 10;
  top: 50%;
}

.reviews-media__slider button.reviews-media__nav--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.reviews-media__slider button.reviews-media__nav--next {
  right: 0;
  transform: translate(50%, -50%);
}

.mobile .reviews-media__slider button.reviews-media__nav--prev,
.mobile .reviews-media__slider button.reviews-media__nav--next {
  display: none;
}


.reviews-media__slider button.swiper-button-disabled {
  opacity: 0;
}

.video-review__play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  border: 1px solid #fff;
  cursor: pointer;
}

.video-review__play i {
  position: absolute;
  font-size: 11px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media screen and (max-width: 991px) {
  .reviews_heder__title {
    font-size: 24px;
  }

  .reviews_heder__rating-value {
    font-size: 46px;
  }

  .reviews_heder .review-write-btn {
    min-width: 180px;
    height: 56px;
    font-size: 16px;
  }
}

@media screen and (max-width: 600px) {
  .product-description__toggle {
    margin-top: 50px;
  }

  .reviews_heder {
    gap: 24px;
    justify-content: space-between;

    margin-bottom: 20px;
  }

  .reviews_heder__title {
    margin-bottom: 7px;
    font-size: 20px;
  }

  .reviews_heder__rating {
    gap: 18px;
  }

  .reviews_heder__rating-value {
    font-size: 44px;
  }

  .reviews_heder__count {
    font-size: 14px;
  }

  .reviews_heder .review-write-btn {
    width: 150px;
    min-width: 0;
    height: 43px;
    font-size: 14px;
    gap: 0;
    justify-content: space-between;
    padding: 0 10px;
  }

  #product_reviews #more_reviews {
    text-align: center;
  }
}

.product_review {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e5e5;
  overflow: hidden;
}

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

.product_review .review_header .author {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  color: #000;
}

.product_review .review_description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 157%;
  color: #696969;
}

/* ==================== PRODUCT TIMER ==================== */

.product_info_wrapp .product__timer {
  width: 210px !important;
  background: #fff1e1 !important;
  box-shadow: none !important;
  margin-top: 15px;
  padding: 7px 12px !important;
}

.product_info_wrapp .product__timer .is-opencartCountdown,
.product_info_wrapp .product__timer .countdown-row,
.product_info_wrapp .product__timer .opencartCountdown-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.product_info_wrapp .product__timer .opencartCountdown-section,
.product_info_wrapp .product__timer .countdown-section {
  display: flex;
  flex-direction: row;
  align-items: end;
  justify-content: flex-start;
  min-width: 0 !important;
  width: max-content !important;
  border: none !important;
  gap: 5px;
}

.product_info_wrapp .product__timer .opencartCountdown-amount,
.product_info_wrapp .product__timer .countdown-amount {
  display: block;
  margin-bottom: 0px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 117%;
  text-align: center;
  color: #ef7038;
}

.product_info_wrapp .product__timer .opencartCountdown-period,
.product_info_wrapp .product__timer .countdown-period {
  display: block;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 175%;
  letter-spacing: -0.02em;
  color: rgba(239, 112, 56, 0.71) !important;
}

/* ==================== PRODUCT / GALLERY ==================== */

.product_layout {
  display: flex;
}

.product-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-video-play svg {
  display: block;
}

.main-product .product-gallery-thumbs .swiper-slide {
  height: 80px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 3px;
  border: 1px solid #f3f3f3;
  overflow: hidden;
  cursor: pointer;
}

.main-product .product-gallery-thumbs .swiper-slide.is-active {
  border-color: #33815c;
}

.main-product .product-gallery-thumbs .thumb-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-product .product-gallery-thumbs .image-thumb > img,
.main-product .product-gallery-thumbs .thumb-media > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  display: block;
}

.main-product .main-slide.d-flex {
  flex-direction: column;
  min-width: 0;
}

.main-product /* ==================== GALLERY NAVIGATION ==================== */

.main-image-section {
  width: 100%;
  min-width: 0;
}

.main-product .product-gallery-main {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.main-product .product-gallery-thumbs.slider-nav {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 14px 0 0 !important;
  overflow: hidden;
}

.main-product .product-gallery-thumbs .swiper-wrapper {
  align-items: stretch;
}

.product__item--stickers.product__item--stickers_shifted {
  left: 145px;
}

.stickers_image_product {
  position: absolute;
  top: 10px;
  right: 10px;
  left: unset;
  z-index: 2;
}

.is-hidden {
  display: none;
}

.products_to_category {
  position: relative;
  z-index: 2;
}

.products_view {
  position: relative;
  z-index: 1;
}

.mobile #product-product {
  padding-top: 0;
  padding-bottom: 65px;
  overflow: visible;
}

.main-product {
  position: relative;
  margin-bottom: 59px;
}

.mobile .main-product {
  display: block !important;
  margin-bottom: 10px;
}

.main-product > .main-slide {
  width: 650px;
  position: relative;
  height: max-content;
  flex-shrink: 0;
}

.mobile .main-product > .main-slide {
  width: calc(100% + 10px);
  margin: 0 -5px 10px;
}

.main-product > .main-slide .main-image-section {
  position: relative;
  height: max-content;
}

.main-product > .main-slide .main-image-section.has_not_img {
  width: calc(100% - 10px);
}

.mobile .main-product > .main-slide .main-image-section.has_not_img {
  width: 100%;
}

.mobile .main-product > .main-slide .main-image-section .big-img img {
  border-radius: 0px;
}

.main-product > .main-slide .main-image-section .big-img img {
  mix-blend-mode: darken;
}

.main-product > .main-slide .main-image-section .big-img img.play {
  width: 40px;
}

.mobile .main-product .list-main-image {
  background-color: #fff;
}

.mobile .main-product > .data-product {
  width: 100%;
}

.data-product #product {
  display: flex;
  gap: 10px;
}

.mobile .data-product #product {
  flex-direction: column;
  width: 100%;
  gap: 5px;
}

.data-product #product .product_info_wrapp {
  width: 100%;
}

.data-product #product .product_info_wrapp .product_information {
  background-color: #fff;
  border-radius: 5px;
  width: 100%;
  padding: 20px;
  margin-bottom: 10px;
}

.mobile .data-product #product .product_info_wrapp .product_information {
  padding: 0px;
  margin-bottom: 5px;
}

.data-product #product .product_info_wrapp .product_information .sticker_wrapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.data-product #product .product_info_wrapp .product_information .sticker_wrapp .sticker_sale {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  background: #ff3030;
  height: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 10px;
  line-height: 120%;
  color: #fff;
  border-radius: 3px;
  margin-right: 5px;
}

#product .point {
  display: flex;
  height: 17px;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 12px;
  line-height: 117%;
  color: #ef7038;
  width: max-content;
}

.mobile #product .point {
  margin-left: auto;
}

#product .point svg {
  margin-right: 5px;
}

#product .point .revard_value {
  margin-right: 5px;
}

#product .point .icon {
  display: block;
  height: 14px;
  margin-left: 10px;
}

/* ==================== REWARD HINT ==================== */

#product .reward-hint {
    position: relative;
    display: flex;
    align-items: center;
}

#product .reward-hint__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

#product .reward-hint__toggle svg {
    display: block;
    margin: 0;
}

#product .reward-hint__popup {
    position: absolute;
    z-index: 100;
    right: -10px;
    bottom: calc(100% + 12px);

    width: 260px;
    padding: 12px 14px;

    background: #fff;
    border: 1px solid #e7eaee;
    border-radius: 5px;

    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 8px 20px rgba(0, 0, 0, 0.08);

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #696969;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(5px);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

/* стрілочка */

#product .reward-hint__popup::before {
    content: "";
    position: absolute;
    right: 10px;
    bottom: -6px;

    width: 10px;
    height: 10px;

    background: #fff;
    border-right: 1px solid #e7eaee;
    border-bottom: 1px solid #e7eaee;

    transform: rotate(45deg);
}

/* відкрита підказка */

#product .reward-hint.is-open .reward-hint__popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* трохи затемнюємо / підсвічуємо іконку */

#product .reward-hint__toggle:hover svg path:not(:first-child) {
    fill: #33815c;
}


/* MOBILE */

@media (max-width: 756px) {

    #product .reward-hint__popup {
        width: 240px;
        right: -5px;
        padding: 12px;
    }

}


.group-btn-buy {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
}

.group-btn-buy .number-spinner {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
  height: 50px;
}

.mobile .group-btn-buy .number-spinner {
  width: calc(50% - 2.5px);
  flex-shrink: 0;
}

.group-btn-buy .number-spinner button {
  height: 100%;
  width: 61px;
  background-color: transparent;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #000;
}

#input-quantity {
  height: 100%;
  width: 60px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #000;
  text-align: center;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}


.product_free_shipping {
  flex: 1;
  border: 1px solid #E7EAEE;
  border-radius: 3px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;

  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #191d23;
  margin-top: 15px;
}

.product_free_shipping b {
  font-weight: 600;
  color: var(--zeleniy);
}

.data-product #product .sticker_wrapp .stock {
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 12px;
  line-height: 140%;
}

.mobile .data-product #product .product_info_wrapp .product_information .sticker_wrapp .stock {
  font-size: 10px;
}

.stock.green {
  color: #33815c;
}

.stock.red,
.stock.read {
  color: #ff4900;
}

.product--rating-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.product--rating-wrap .product--rating,
.product--rating-wrap .product--review-value {
  display: flex;
  align-items: center;
  gap: 1px;
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 117%;
  color: #7d7c7c;
}

.product--rating-wrap .product--rating .rating-value {
  margin-left: 5px;
}

.product--rating-wrap .product--review-value {
  gap: 5px;
}

.product_title_wrapp {
  display: flex;
  margin-bottom: 5px;
  gap: 15px;
  justify-content: space-between;
}

.mobile .product_title_wrapp {
  margin-bottom: 10px;
}

.product_title_wrapp h1 {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #0f0f0f;
  margin: 0;
  max-width: 81%;
}

.product__wishlist {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background-color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  overflow: hidden;
  transition: 0.2s;
  margin-bottom: 5px;
}

.product__wishlist.in__wishlist {
  background-color: #33815c;
}

.product__wishlist svg {
  margin-top: 1px;
}

.product__wishlist svg path {
  transition: 0.2s;
}

.product__wishlist.in__wishlist svg path {
  fill: #fff;
}

.product__compare {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background-color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  overflow: hidden;
  transition: 0.2s;
}

.product__compare.in__compare {
  background-color: #33815c;
}

.product__compare svg path {
  transition: 0.2s;
}

.product__compare.in__compare svg path {
  stroke: #fff;
}

.article_info {
  display: flex;
  margin-bottom: 28px;
  flex-wrap: wrap;
  row-gap: 5px;
}

.article_info .manufacturer {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #696969;
  margin-right: 15px;
}

.article_info .manufacturer a {
  font-weight: 600;
  color: #33815c;
}

.article_info .model,
.article_info .sku {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 140%;
  color: #696969;
  border-radius: 3px;
  padding: 0 4px;
  background: #f3f4f6;
}

.article_info .model {
  margin-right: 7px;
}

.product_popup_call {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #696969;
}

.product_popup_call .icon {
  display: flex;
  align-items: end;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #33815C;
  border-radius: 100%;
}

.product_popup_call .icon img {
  border-radius: 18px;
}

.product_price_wrapp {
  display: flex;
  margin-top: 26px;
}

.mobile .product_price_wrapp {
  margin-top: 18px;
  border-top: 1px solid #e7eaee;
  padding-top: 8px;
}

.product_price_wrapp .list-price {
  margin-right: 13px;
}

.mobile .product_price_wrapp .list-price {
  flex-shrink: 0;
}

.product_price_wrapp .new-price {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #33815c;
}

.product_price_wrapp .old-price span {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: -0.01em;
  text-decoration: line-through !important;
  color: #696969;
}

.product_price_wrapp .price_stikers_wrap {
  display: flex;
  margin-top: 10px;
}

.mobile .product_price_wrapp .price_stikers_wrap {
  width: 100%;
}

.product_price_wrapp .price_stikers_wrap .sticker_sale {
  display: flex;
  justify-content: center;
  margin-right: 85px;
  border-radius: 3px;
  min-width: 39px;
  padding: 0px 7px;
  height: 16px;
  background: #f8dad8;
  font-family: var(--second-family);
  font-weight: 600;
  font-size: 10px;
  line-height: 140%;
  color: #e05243;
}

.mobile .product_price_wrapp .price_stikers_wrap .sticker_sale {
  margin-right: 0;
}

.mobile .product-groups .product-group .product-group-name {
  font-size: 14px;
}

.btn-buy.is-loading {
  opacity: 0.7;
  cursor: wait;
  pointer-events: none;
}

.notify_product {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: right;
  color: #fff;
  padding: 0px 15px;
  border-radius: 5px;
  height: 50px;
  background: #f05f24;
}

.product_information .btn-buy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
  text-align: right;
  color: #fff;
  background: #33815c;
  padding: 0px 15px;
  border-radius: 5px;
  height: 50px;
}

.mobile .product_information .btn-buy {
  width: 100%;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.data-product #product .product-advantages {
  width: 310px;
}

.mobile .data-product #product .product-advantages {
  width: 100%;
}

.data-product #product .product-advantages .product-advantages__card {
  background-color: #fff;
  border-radius: 5px;
  width: 100%;
  padding: 20px 22px;
}

.mobile .data-product #product .product-advantages .product-advantages__card {
  padding: 20px 15px;
}

.data-product #product .product-advantages .product-advantages__card:not(:last-child) {
  margin-bottom: 10px;
}

.mobile .data-product #product .product-advantages .product-advantages__card:not(:last-child) {
  margin-bottom: 5px;
}

.data-product #product .product-advantages .product-advantages__card img {
  margin-bottom: 10px;
  max-width: 120px;
}

.data-product #product .product-advantages .product-advantages__card .product-advantages__title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 12px;
  line-height: 130%;
  color: #000;
  margin-bottom: 3px;
}

.data-product #product .product-advantages .product-advantages__card .product-advantages__text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 130%;
  color: #858585;
}

/* Мобільна: стрілки по центру головного фото (висота = пропорції фото) */
.mobile .arrow-main-slide {
  display: flex;
  top: 0;
  height: auto;
  aspect-ratio: var(--main-ratio, 1 / 1);
  padding: 0 10px;
  transform: none;
}

#product .product_sizes_wrap {
  position: relative;
}

#product .product_sizes_wrap a {
  position: absolute;
  display: flex;
  align-items: center;
  right: 0;
  bottom: -18px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #141414;
}

#product .product_sizes_wrap a svg {
  margin-right: 15px;
}

.btn-buy.mobile {
  display: none;
}

.radio .control-label {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
  padding-left: 0;
  margin-bottom: 10px;
}

div.required .control-label::after {
  display: none;
}

.product_options {
  margin-bottom: 30px;
}

.mobile .product_options {
  width: 100%;
}

.options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.options .radio {
  margin: 0;
}

.options .radio label {
  padding: 14px 22px;
  background: #f4f4f4;
  border: 1px solid #f4f4f4;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #141414;
  transition: 0.3s ease-in-out;
}

.options input[type="radio"]:checked + label {
  background-color: #fff;
  border: 1px solid #6a6f4c;
}

.text {
  margin: 0;
}

.text label {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
  margin-bottom: 10px;
}

.text input.form-control {
  border: 1px solid #6a6f4c;
  width: 100%;
  height: 50px;
  border-radius: 0;
}

.data-product .panel {
  box-shadow: none !important;
}

/* ==================== PRODUCT CAROUSELS ==================== */

.product_slide {
  flex-shrink: 0;
}

.productpage__carousel {
  padding-top: 17px;
  position: relative;
}

.product__carousel--wrapper {
  width: 290px;
}

#product-product .product_slide.products .product-scroll-viewport {
    max-height: calc(100vh - var(--products-sticky-top, 168px) - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    /* запас під тінь картки при наведенні; від'ємний margin повертає картки на місце */
    margin: -10px -12px -17px;
    padding: 10px 20px 18px 12px;
}

/* Мʼякша тінь мінікартки в колонці «З цим товаром також купують» */
.product_slide.products .product-layout:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.product_slide.products .product-scroll-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product_slide.products .product-scroll-item {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
}

.product_slide.products .product-scroll-item .product-layout {
    width: 100%;
}

.slider_block__title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #191d23;
  margin-bottom: 15px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile .slider_block__title {
  margin-bottom: 17px;
}

.slider_block__title span {
  color: #d3ed34;
}

.slider_block__title .row-slide {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product__carousel--prev,
.product__carousel--next {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  z-index: 50;
}

.mobile .product__carousel--prev,
.mobile .product__carousel--next {
  display: none;
}

#product-product .product__carousel--body {
  overflow: hidden;
  max-height: 1138px;
  padding: 0 1px 1px 0;
}
/* 
.product__carousel--body .product__item {
  min-height: 380px;
} */

#content .product__carousel--pagination {
  display: none !important;
}

.autocalc-product-price,
.autocalc-product-special,
.autocalc-product-tax,
.autocalc-product-points {
  display: inline-block;
  font-family: var(--font-family);
  transition: transform 0.25s ease,
    opacity 0.25s ease,
    color 0.25s ease;
}

.autocalc-product-price.is-price-updating,
.autocalc-product-special.is-price-updating,
.autocalc-product-tax.is-price-updating,
.autocalc-product-points.is-price-updating {
  transform: translateY(-2px) scale(1.03);
  opacity: 0.85;
}

@media screen and (max-width: 1550px) {
  .main-product > .main-slide .main-image-section {
    margin-right: 10px;
  }

  .main-product > .main-slide .main-image-section.has_not_img {
    margin-right: 0px;
  }

  .product-groups {
    margin-bottom: 40px !important;
  }
}

@media screen and (max-width: 1450px) {
  .main-product > .main-slide {
    width: 500px;
  }
}

@media screen and (max-width: 1300px) {
  .main-product > .main-slide {
    width: 470px;
  }
}

@media (max-width: 767px) {
  .products_to_category {
    overflow: hidden;
  }

  .products_view {
    overflow: hidden;
  }
}

@media (max-width: 1199px) {
  .data-product #product {
    flex-direction: column;
    gap: 10px;
  }

  .main-product > .main-slide {
    max-height: 750px;
    width: calc(100% - 400px);
  }

  .data-product #product .product_info_wrapp {
    width: 100%;
  }

  .data-product #product .product-advantages {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .main-product > .main-slide {
    max-height: 750px;
    width: calc(100% - 300px);
  }
}

@media (max-width: 756px) {
  #product-product {
    padding-top: 0;
    padding-bottom: 65px;
    overflow: hidden;
  }

  .main-product {
    flex-direction: column;
    margin-bottom: 40px;
    gap: 0;
  }

  .main-product > .main-slide {
    width: calc(100% + 10px);
    margin: 0 -5px 10px;
  }

  .main-product > .main-slide .main-image-section.has_not_img {
    width: 100%;
  }

  .main-product > .main-slide .main-image-section {
    width: 100%;
  }

  .main-product > .main-slide .main-image-section .big-img img {
    border-radius: 0;
  }

  .main-product .list-main-image {
    width: 100%;
    background-color: #fff;
  }

  .main-product > .data-product {
    width: 100%;
  }

  .data-product #product {
    flex-direction: column;
    width: 100%;
    gap: 5px;
  }

  .data-product #product .product_info_wrapp {
    width: 100%;
  }

  .data-product #product .product_info_wrapp .product_information {
    padding: 20px 15px;
    margin-bottom: 5px;
  }

  .data-product #product .product_info_wrapp .product_information .sticker_wrapp .stock {
    font-size: 10px;
  }

  .product_title_wrapp {
    margin-bottom: 10px;
  }

  .product-groups .product-group .product-group-name {
    font-size: 14px;
  }

  .product_information .btn-buy {
    width: 100%;
    justify-content: space-between;
  }
/* 
  .btn-buy.desc {
    display: none;
  }

  .btn-buy.mobile {
    display: flex;
  } */

  .data-product #product .product-advantages {
    width: 100%;
  }

  .data-product #product .product-advantages .product-advantages__card {
    padding: 20px 15px;
  }

  .data-product #product .product-advantages .product-advantages__card:not(:last-child) {
    margin-bottom: 5px;
  }

  .arrow-main-slide {
    display: none;
  }

  .histori_back {
    position: absolute;
    left: 15px;
    top: 20px;
    z-index: 5;
  }

  .product_options {
    width: 100%;
  }

  .slider_block__title {
    margin-bottom: 25px;
  }

  .product__carousel--prev,
    .product__carousel--next {
    display: none;
  }

  .products_to_category {
    overflow: hidden;
  }

  .products_view {
    overflow: hidden;
  }
}

.main-image-section {
  position: relative;
}

.arrow-main-slide {
  position: absolute;
  width: 100%;
  right: unset;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  top: calc(50% - 80px);
  padding: 0 11px;
  transform: translateY(-50%);
  left: 0;
  pointer-events: none;
}

.arrow-main-slide .product-gallery-main-prev,
.arrow-main-slide .product-gallery-main-next {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  transition: all 0.2s ease;
  padding: 0;
  pointer-events: all;
  background-color: #fefefe;
  border-radius: 100%;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.09), 0 7px 4px 0 rgba(0, 0, 0, 0.05), 0 13px 5px 0 rgba(0, 0, 0, 0.01), 0 20px 6px 0 rgba(0, 0, 0, 0);
}

.arrow-thumbs-slide {
  position: absolute;
  width: 100%;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 5;
}

.arrow-thumbs-slide > button {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 0;
  transition: all 0.2s ease;
  padding: 0;
  pointer-events: all;
  background-color: #fefefe;
  border-radius: 100%;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 3px 3px 0 rgba(0, 0, 0, 0.09), 0 7px 4px 0 rgba(0, 0, 0, 0.05), 0 13px 5px 0 rgba(0, 0, 0, 0.01), 0 20px 6px 0 rgba(0, 0, 0, 0);
}

.arrow-thumbs-slide > button.product-gallery-thumbs-prev {
  margin-left: -12px;
}

.arrow-thumbs-slide > button.product-gallery-thumbs-next {
  margin-right: -12px;
}

.mobile .arrow-thumbs-slide > button.product-gallery-thumbs-prev,
.mobile .arrow-thumbs-slide > button.product-gallery-thumbs-next {
  display: none !important;
}

/* ==================== PRODUCT OPTIONS ==================== */

.product-size-options {
  width: 100%;
  margin: 0 0 28px;
}

.product-size-options__title {
  display: block;
  margin: 0 0 12px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
}

.product-size-options__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-size-options__item {
  position: relative;
}

.product-size-options__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.product-size-options__label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #f4f4f4;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-size-options__label:hover {
  background: #fff;
  border-color: #3a3227;
}

.product-size-options__input:checked + .product-size-options__label {
  background: #3a3227;
  border-color: #3a3227;
  color: #fff;
  box-shadow: 0 8px 18px rgba(58, 50, 39, 0.16);
}

.product-size-options__price {
  margin-left: 6px;
  font-size: 12px;
  opacity: 0.75;
}

.product-size-options + .text-danger,
.product-size-options .text-danger {
  margin-top: 8px;
  font-family: var(--font-family);
  font-size: 12px;
  color: #ff3030;
}

@media (max-width: 767px) {
  .product-size-options {
    margin-bottom: 24px;
  }

  .product-size-options__list {
    gap: 6px;
  }

  .product-size-options__item {
    flex: 1 1 calc(50% - 6px);
  }

  .product-size-options__label {
    width: 100%;
    min-height: 40px;
    padding: 9px 8px;
    font-size: 13px;
  }
}

.product-select-option {
  margin: 0 0 28px;
}

.product-select-option__title {
  display: block;
  margin: 0 0 12px;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
}

.product-select-option__field {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #f4f4f4;
  font-family: var(--font-family);
  font-size: 14px;
  color: #141414;
}

#product .product_options .form-group:has(.viewO_link),
#product .product_options .form-group.product-linked-options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
}

#product .product_options .form-group:has(.viewO_link) > div:first-child,
#product .product_options .form-group.product-linked-options > div:first-child {
  flex: 0 0 100%;
  margin: 0 0 4px;
  padding: 0;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
}

#product .product_options .form-group:has(.viewO_link) > div:not(:first-child),
#product .product_options .form-group.product-linked-options > div:not(:first-child) {
  margin: 0;
  padding: 0;
}

#product .product_options .form-group:has(.viewO_link) label,
#product .product_options .form-group.product-linked-options label {
  display: block;
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-weight: 400;
  text-align: left;
}

#product .product_options .form-group:has(.viewO_link) label > div,
#product .product_options .form-group.product-linked-options label > div {
  display: block;
}

#product .product_options .viewO_link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  background: #f4f4f4;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 130%;
  color: #141414;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

#product .product_options .viewO_link:hover,
#product .product_options .viewO_link:focus {
  background: #fff;
  border-color: #3a3227;
  color: #3a3227;
  text-decoration: none;
}

#product .product_options .viewO_link.is-current {
  background: #3a3227;
  border-color: #3a3227;
  color: #fff;
  box-shadow: 0 8px 18px rgba(58, 50, 39, 0.16);
}

@media (max-width: 767px) {
  #product .product_options .form-group:has(.viewO_link),
    #product .product_options .form-group.product-linked-options {
    gap: 6px;
    margin-bottom: 22px;
  }

  #product .product_options .form-group:has(.viewO_link) > div:not(:first-child),
    #product .product_options .form-group.product-linked-options > div:not(:first-child) {
    flex: 1 1 calc(50% - 6px);
  }

  #product .product_options .viewO_link {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 8px;
    font-size: 13px;
  }
}

/* ==================== RELATED PRODUCTS / MOBILE ==================== */

.product-related-mobile {
  width: 100%;
}

.product-related-mobile__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0px;
}

.product-layout {
  min-width: 0;
}

.product-layout .product-layout {
  width: 100%;
}

.product-related-mobile.is-collapsed
.product-layout:nth-child(n + 5) {
  display: none;
}

.product-related-mobile__more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px auto 0;
  padding: 0 20px;
  border: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: #fff;
  cursor: pointer;
  background: #33815c;
  border-radius: 5px;
  width: 185px;
  height: 43px;
}

.product-related-mobile__more[aria-expanded='true'] svg {
  transform: rotate(180deg);
}

/* Galary fix */

.product_layout {
    display: flex;
    width: 100%;
    min-width: 0;
}

.layout_wrapp {
    flex: 1 1 0;
    min-width: 0;
}

.main-product {
    width: 100%;
    min-width: 0;
}

.main-product > .main-slide {
    min-width: 0;
}

.main-product > .data-product {
    flex: 1 1 auto;
    min-width: 0;
}

.main-product .main-image-section {
    min-width: 0;
}

.main-product .product-gallery-main {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.main-product .product-gallery-thumbs {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

@media (max-width: 756px) {

    .product_layout {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .layout_wrapp {
        width: 100%;
        min-width: 0;
    }

}


/* Виправлення контейнера без супутніх товарів */
.product_layout--no-related .layout_wrapp {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
}
.product_layout--no-related .main-product {
    width: 100%;
    min-width: 0;
}
.product_layout--no-related .main-product > .data-product {
    flex: 1 1 0;
    min-width: 0;
}
.product_layout--no-related .main-product > .main-slide {
    flex-shrink: 0;
    max-width: 100%;
}
@media (max-width: 756px) {
    .product_layout--no-related .main-product > .main-slide {
        width: calc(100% + 10px);
        max-width: none;
    }
}


/* ==================== PRODUCT TABLET ==================== */
@media (min-width: 757px) and (max-width: 1100px) {

    #product-product {
        padding-top: 0;
        padding-bottom: 65px;
        /* overflow: hidden; */
    }

    #product-product .product_layout {
        display: block;
        width: 100%;
        min-width: 0;
    }

    #product-product .layout_wrapp {
        width: 100%;
        min-width: 0;
    }

    #product-product .main-product {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
        width: 100%;
    }

    /* Галерея */
    #product-product .main-product > .main-slide {
        width: 100%;
        max-width: 100%;
        max-height: none;
        height: auto;
        margin: 0 0 15px;
        flex-shrink: 0;
    }

    #product-product .main-product > .main-slide
    .main-image-section,
    #product-product .main-product > .main-slide
    .main-image-section.has_not_img {
        width: 100%;
        margin: 0;
    }

    #product-product .main-product .list-main-image {
        width: 100%;
        background: #fff;
    }

    #product-product .main-product .product-gallery-main {
        width: 100%;
        max-width: 100%;
    }

    #product-product .main-product > .main-slide
    .main-image-section .big-img img {
        border-radius: 0;
    }

    /* Інформація про товар */
    #product-product .main-product > .data-product {
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
    }

    #product-product .data-product #product {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    #product-product .data-product #product
    .product_info_wrapp,
    #product-product .data-product #product
    .product-advantages {
        width: 100%;
    }

    #product-product .data-product #product
    .product_info_wrapp .product_information {
        padding: 20px 15px;
        margin-bottom: 5px;
    }

    #product-product .data-product #product
    .product-advantages .product-advantages__card {
        padding: 20px 15px;
    }

    #product-product .data-product #product
    .product-advantages .product-advantages__card:not(:last-child) {
        margin-bottom: 5px;
    }

    #product-product .product_options {
        width: 100%;
    }

    /* Характеристики */
    #product-product .product-attributes {
        margin-top: 55px;
        padding-top: 30px;
        padding-right: 0;
        border-top: 1px solid #e7eaee;
    }

    /* Опис */
    #product-product .product-description {
        margin-top: 30px;
        padding-top: 18px;
        margin-bottom: 40px;
    }

    /* Відгуки */
    #product-product .product-reviews-section .review_wrapp {
        flex-direction: column-reverse;
        gap: 10px;
    }

    #product-product .product-reviews-section
    .review_wrapp .promo_banner,
    #product-product .product-reviews-section
    .review_wrapp #product_reviews,
    #product-product .product-reviews-section
    .review_wrapp #reviews {
        flex: 1 1 auto;
        min-width: 0;
    }

    /* Блоки товарів нижче картки */
    #product-product .products_to_category,
    #product-product .products_view {
        overflow: hidden;
    }

    #product-product .product_layout--no-related
    .main-product > .main-slide {
        width: 100%;
        max-width: 100%;
    }

    /* Планшетні кнопки галереї */
    #product-product .arrow-main-slide,
    #product-product .arrow-thumbs-slide {
        display: none;
    }

    /* Супутні товари: мобільна сітка */
    #product-product .product-related-mobile {
        width: 100%;
        margin: 0 0 35px;
    }

    #product-product .product-related-mobile__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    #product-product .product-related-mobile__grid
    > .product-layout {
        min-width: 0;
        width: 100%;
    }

    /* Підстрахування для планшетів із desktop User-Agent */
    #product-product .product_slide.products {
        position: static;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #product-product .product_slide.products
    .product__carousel--wrapper {
        width: 100%;
    }

    #product-product .product_slide.products
    .product-scroll-viewport {
        max-height: none;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    #product-product .product_slide.products
    .product-scroll-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #product-product .product_slide.products
    .product-scroll-item {
        width: 100%;
        min-width: 0;
    }
}


/* Центрування галереї товару на планшетах */
@media (min-width: 757px) and (max-width: 1100px) {

    #product-product .main-product > .main-slide {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 20px;
        padding: 0;
    }

    #product-product .main-product .main-image-section,
    #product-product .main-product .product-gallery-main {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    #product-product .product-gallery-main .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
    }

    #product-product .product-gallery-main .big-img {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    #product-product .product-gallery-main .big-img img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 650px;
        margin: 0 auto;
        object-fit: contain;
        object-position: center;
    }
}
