.product-media-wrapper {
  border-radius: 16px;
  border: 1px solid var(--Background-borders-default, #edebe9);
  background: #fff;
  overflow: hidden;

  @media screen and (max-width: 768px) {
    margin: 16px;
  }
}

.product-column-left {
  .slider-nav__btn {
    display: none;
  }

  .thumbnail {
    &:after {
      background: transparent;
    }
  }

  @media screen and (min-width: 450px) {
    .thumbnails .slider__item.is-active {
      img {
        border: 1px solid var(--Colors-Violet-violet-hard, #96515d);
      }
    }
    img {
      border-radius: 8px;
    }
  }
  carousel-slider[data-dynamic-height="true"]:not([inactive]) {
    overflow: visible;
  }

  @media screen and (max-width: 450px) {
    .thumbnails .slider__item {
      width: auto;
    }
  }
  @media (max-width: 450px) {
    .main-image {
      margin: 0;
    }

    .thumbnails {
      margin-top: 30px;

      .slider {
        display: flex;
        justify-content: center;
      }

      .thumbnail {
        width: 8px;
        height: 8px;
        border-radius: 100px;
        border: 1px solid var(--Colors-Violet-violet-hard, #96515d);
      }

      .slider__item.is-active {
        .thumbnail {
          background: var(--Colors-Violet-violet-hard, #96515d);
        }
      }
    }
  }
}
.product-column-right {
  @media screen and (min-width: 768px) {
    max-width: 584px !important;
  }

  .product-title {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 120% */
    text-transform: initial;

    @media screen and (min-width: 768px) {
      font-size: 20px;
      line-height: 24px;
    }

    @media screen and (min-width: 1024px) {
      font-size: 24px;
      line-height: 32px;
    }
  }

  .price {
    .price__current {
      color: var(--Colors-Green-green-hard, #4a6656);
      font-size: 24px;
      font-weight: 700;
      line-height: 32px; /* 133.333% */
    }
  }

  .product-info-block {
    color: var(--Text-body, #3c3c3d);
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px; /* 142.857% */

    @media screen and (min-width: 768px) {
      font-size: 16px;
      line-height: 24px;
    }
  }

  .quantity-submit-row {
    label {
      display: none;
    }
    .quantity-wrapper a,
    input {
      border: 0;
      background: transparent;
    }
  }

  .quantity-wrapper {
    border-radius: 100px;

    border: 1px solid var(--Background-borders-default, #edebe9);
    background: #fff;
    display: inline-block;
    padding: 0 16px;

    /* product-card */
    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.05);
  }

  .quantity-submit-row__submit {
    button {
      border-radius: 100px;
      background: var(--Buttons-primary-button, #93ad90);

      /* Button shadow */
      box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
      color: var(--Buttons-secondary-button, #fff);
      font-family: Poppins;
      font-size: 16px;
      font-style: normal;
      font-weight: 500;
      line-height: 24px; /* 150% */

      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
  }

  .in-stock-message {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    gap: 8px;
    color: var(--Colors-Green-green-hard, #3c3c3d);
    font-size: 14px;
    font-weight: 500;
  }

  .promo-blocks {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    border-radius: 16px 0px;
    background: var(--Background-banner-b-ligth, #f7f9f6);

    @media screen and (min-width: 768.97px) {
      flex-direction: row;
      padding: 16px 5px;
    }

    .promo-block {
      display: flex;
      gap: 12px;

      &:first-of-type {
        border-bottom: 1px solid #4a6656;
        padding-bottom: 8px;
        @media screen and (min-width: 768px) {
          border-bottom: 0;
          padding-bottom: 0;
          border-right: 1px solid #4a6656;
          padding-right: 16px;
        }
      }

      .promo-block__icon {
        width: 40px;
        height: 40px;
      }

      .promo-block__title {
        color: var(--Icons-primary-icon, #4a6656);
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 20px; /* 142.857% */
        text-wrap: nowrap;
        line-break: strict;
      }

      .promo-block__description {
        color: var(--Icons-primary-icon, #4a6656);
        font-family: Poppins;
        font-size: 12px;
        font-style: normal;
        font-weight: 500;
        line-height: 16px; /* 133.333% */
        margin-top: 4px;
        text-wrap: nowrap;
        line-break: strict;
      }
    }
  }

  .disclosure {
    margin-bottom: 64px;
  }

  details {
    border-radius: 16px 0px;

    &[open] {
      border: 2px solid var(--Button-primary-button-bg, #93ad90) !important;
    }

    /* product-card */
    box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.05);

    .disclosure__title {
      padding: 16px 24px;
      gap: 16px;

      &::after,
      &::before {
        right: 12px;
        top: 24px;
      }
    }

    .disclosure__content {
      padding: 24px;
      color: var(--Text-body-text-dark, #3c3c3d);
      font-size: 14px;
      font-weight: 400;
      line-height: 20px; /* 142.857% */
    }
  }
}

.section-main-product {
  .related-products__heading {
    color: var(--Text-body, #3c3c3d);
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px; /* 150% */
  }
  .related-products {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 18px;

    product-block {
      border-radius: 16px 0px;
      padding: 16px;
      border: 1px solid var(--Background-borders-default, #edebe9);
      background: #fff;

      /* product-card */
      box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.05);

      img {
        border-radius: 16px;
      }

      .block-inner-inner {
        align-items: center;
      }

      @media (min-width: 768px) {
        .image-cont {
          flex: 0 0 64px !important;
        }
      }

      .product-block__title {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        align-self: stretch;
        overflow: hidden;
        color: var(--Text-body, #3c3c3d);
        text-overflow: ellipsis;
        font-family: Poppins;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px; /* 142.857% */
        max-height: 40px;
        height: 40px;
      }

      .product-block__price-container {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .price__current {
          font-size: 16px;
          font-weight: 700;
        }
      }
    }
  }
}
.tablet-only {
  @media (min-width: 768px) and (max-width: 1023px) {
    display: block;
  }

  @media (max-width: 767px), (min-width: 1024px) {
    display: none;
  }
}

.not-tablet {
  @media (max-width: 767px), (min-width: 1024px) {
    display: block;
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    display: none;
  }
}
