.section-main-product.card-margin {
  margin: 0;
  padding: 60px 0 0 0;
  background-color: #fbf2ef;
}
.product-detail .detail {
  margin: 32px 12px;
  z-index: 9;
}
.product-detail {
  @media (min-width: 768px) {
    .main-image {
      .slick-list {
        margin: 0 !important;
      }
    }
  }
  @media (max-width: 1200px) {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }
  @media (max-width: 767px) {
    padding: 0 16px;
    .detail {
      margin: 16px 0 0 0;
    }
    .main-image {
      .slideshow-controls {
        position: unset;
        .slick-prev {
          top: 50%;
          transform: translate(0, -50%);
        }
        .slick-prev.slick-disabled,
        .slick-next.slick-disabled {
          opacity: 0;
        }
        .slick-next {
          top: 50%;
          transform: translate(0, -50%);
        }
      }
      .slick-slide {
        padding: 0 6px;
      }

      .slick-list {
        margin: 0 -16px 0 -6px;
      }
    }
  }
}
.theme-product-reviews {
  margin: 0 0 8px 0;
  line-height: 20px;
  display: flex;
  align-items: center;
  flex-direction: row;
  .rating {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: #000055;
    margin-right: 6px;
  }
  .cc-rating {
    display: flex;
    .cc-rating-stars {
      span {
        display: flex;
        align-items: center;
      }
    }
  }
  .cc-rating-custom-caption {
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
    color: #3e3e6d;
    margin-left: 4px;
    text-decoration: underline;
  }
}
.title-row {
  .title {
    font-weight: 800;
    font-size: 30px;
    line-height: 36px;
    color: #000055;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    @media (max-width: 767px) {
      font-size: 24px;
      line-height: 32px;
    }
  }
}
.price-container {
  margin-bottom: 8px;
  .price-area {
    margin: 0;
    .price__from,
    .price {
      font-weight: 800;
      font-size: 24px;
      line-height: 32px;
      color: #000055;
      letter-spacing: -0.24px;
      @media (max-width: 767px) {
        font-size: 20px;
        line-height: 28px;
      }
    }
  }
}
.bnpl-breakdown {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.4px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  .bnpl-breakdown-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    svg {
      width: 74px;
      height: 26px;
    }
  }
  .bnpl-breakdown-icon-help {
    display: flex;
    justify-content: center;
    align-items: center;
    svg {
      width: 12px;
      height: 12px;
    }
  }
}
.intro_text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.48px;
  color: #3e3e6d;
}
.info-variant_picker {
  margin: 32px 0;
  @media (max-width: 767px) {
    margin: 28px 0;
  }
}
.icon-with-text .opposing-items {
  .label,
  span {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.48px;
    color: #000055;
    margin-bottom: 12px;
    .selected-value {
      font-weight: 400;
    }
  }
}
.option-selector__btns {
  .opt-label {
    padding: 9px 22px;
    border-radius: 8px;
    background-color: #fff;
    border: none;
    margin: 12px 12px 0 0;
  }
  .opt-label__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.48px;
    color: #000055;
  }
  .opt-btn:checked + .opt-label {
    background-color: #000055;
    .opt-label__text {
      color: #fff;
      font-weight: 700;
    }
  }
}
.size-chart-container {
  .size-chart-link__icon {
    display: none;
  }
  .size-chart-link__text {
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.4px;
    color: #000055;
    text-decoration: underline;
  }
}
.variant-intro-text {
  p {
    margin: 12px 0 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0;
    color: #6b6b8c;
    font-style: italic;
  }
}
.option-selector--swatch {
  .opt-label {
    width: 47px;
    height: 47px;
    border: none;
    border-radius: 8px;
    background-color: #fff;
    position: relative;
    &:before {
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 100% !important;
    }
  }
  .opt-btn:checked + .opt-label::after {
    content: "";
    position: absolute;
    border: 1.6px solid #000055;
    border-radius: 8px;
    pointer-events: none;
  }
  .opt-btn:not(:checked) + .opt-label::after {
    content: none;
  }
}

.product-form .lightly-spaced-row {
  .product-inventory-notice {
    color: #ab8dff;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    .icon-container::before {
      content: none;
    }
    .icon-container {
      margin-right: 6px;
    }
    svg {
      width: 16px;
      height: 16px;
    }
  }
}

// .variant-visibility-area .lightly-spaced-row {
//   margin-bottom: 32px;
// }

// .icon-with-text .lightly-spaced-row .icon--small {
//   width: 24px;
//   height: 24px;
//   margin-right: 10px;
// }
hr.not-in-quickbuy {
  border: 3px solid #f4e7e3;
}
.inline-image {
  --ar-padding: 100% !important;
  .inline-image__pad {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.cc-modal-window {
  backdrop-filter: blur(15px);
}
.cc-modal-window__content-container {
  max-height: 100%;
  height: 100%;
  background: #fff;
  @media screen and (max-width: 768px) {
    max-width: 100%;
    width: 100%;
  }
  .cc-modal-window__close {
    width: 40px;
    height: 40px;
    top: 32px;
    right: 32px;
    border-radius: 100%;
    background-color: #fbf2ef;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    svg {
      width: 16px;
      height: 16px;
      fill: #000055;
      stroke: #000055;
    }
  }
}

.cc-modal-window__foreground {
  justify-content: flex-end;
  padding: 16px;
  @media screen and (max-width: 768px) {
    padding: 8px;
  }
}
.cc-modal-window__content {
  margin: 32px;
  .size-chart {
    .size-chart__inner {
      .heading {
        height: 40px;
        display: flex;
        align-items: center;
        margin-bottom: 16px;
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: -0.24px;
        @media screen and (max-width: 768px) {
          font-size: 20px;
          line-height: 28px;
          letter-spacing: -0.2px;
        }
      }
      .description {
        font-weight: 400;
        line-height: 24px;
        color: #3e3e6d;
        font-size: 16px;
        margin-bottom: 16px;
        @media screen and (max-width: 768px) {
          font-size: 14px;
          line-height: 20px;
          letter-spacing: -0.32px;
        }
      }
      table {
        // border-radius: 8px;
        // overflow: hidden;
        display: table;
        th,
        td {
          text-align: center;
          border: 1px solid #f4e7e3;
          padding: 12px;
          font-weight: 400;
          font-size: 16px;
          line-height: 24px;
          letter-spacing: -0.32px;
          color: #3e3e6d;
          @media screen and (max-width: 768px) {
            font-size: 14px;
            line-height: 20px;
            letter-spacing: -0.32px;
          }
        }
        th {
          color: #fff;
          font-weight: 700;
        }
      }
    }
  }
}

// .main-image .product-slideshow .slide:not(:first-child) {
//   margin-left: 12px;
// }

.slideshow-controls__arrows {
  .slick-prev.slick-disabled,
  .slick-next.slick-disabled {
    opacity: 0.5;
    pointer-events: none;
  }
  .slick-arrow {
    svg {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    &:after {
      background: #fff;
      opacity: 1;
    }
  }
}
.quickbuy-modal .cc-carousel__scroll-outer {
  display: none;
}
.cc-carousel__scroll-outer {
  .thumb-prev,
  .thumb-next {
    left: 15px;
    svg {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) rotate(90deg);
    }
    &:after {
      background: #fff;
      opacity: 1;
    }
  }
  .thumb-prev {
    top: -50px;
  }
  .thumb-next {
    bottom: -50px;
    top: unset;
  }
}

.product-detail .gallery.gallery--layout-carousel-beside {
  .thumbnails {
    width: 72px;
  }
  .thumbnail {
    .thumbnail__media {
      opacity: 0.4;
    }
    &.selected .thumbnail__media {
      opacity: 1;
      &:after {
        border: 1px solid #000055;
      }
    }
  }
}

.thumbnails.cc-carousel__scroll-area {
  .thumbnail--media-image {
    width: 72px !important;
    height: 72px;
    .thumbnail__media {
      width: 72px;
      height: 72px;
      border-radius: 8px;
      overflow: hidden;
      img {
        width: 72px;
        height: 72px;
        object-fit: cover;
      }
    }
  }
}

.product-detail .gallery .product-label-container {
  top: 16px;
  left: 16px;
  right: unset;
  .product-label span {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
    background-color: #f56100;
    border-radius: 8px;
    padding: 4px 12px;
  }
}

.sticky-atc-btn {
  .select-options-btn {
    display: none;
  }
}

@media (max-width: 767px) {
  .sticky-atc-btn.active {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: #fbf2ef;
    padding: 0 12px 16px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.15);
    .quantity-submit-row {
      flex-direction: row;
      align-items: center;
      gap: 8px;
    }
    .quantity-wrapper {
      flex: 1;
      min-width: 0;
      min-width: 121px;
    }
    .quantity-submit-row__submit {
      flex: 2;
      min-width: 0;
    }
    .select-options-btn {
      display: none;
    }
    .select-options-open {
      display: flex;
    }
  }
  .sticky-atc-btn.select-options-open.active {
    .select-options-btn {
      display: block;
      margin-top: 12px;
    }
    .quantity-submit-row {
      display: none;
    }
  }
  .sticky-atc-anchor {
    height: 1px;
    width: 100%;
  }
}

.quantity_discount_text p {
  margin-bottom: 0;
}

.product__description .cc-accordion {
  margin: 0;
  border-top: none;
  border-bottom: none;
}
.product-detail .detail-accordion .cc-accordion {
  border-top: none;
}

out-of-stock-notification {
  a {
    text-transform: uppercase;
  }
  a:after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg width='7' height='11' viewBox='0 0 7 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.26367L6 5.76367L1 10.2637' stroke='%23002640'/%3E%3C/svg%3E%0A");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: 12px;
    width: 12px;
    height: 12px;
    transition: transform .3s ease;
  }
}

.opt-btn.is-unavailable + .opt-label {
  display: none;
}
