{# ============================== #}
{#      PRODUCT MODULE LAYOUT     #}
{# ============================== #}

.main-product-module {
  display: flex;
  width: 100%;
}

.main-column {
  width: 100%;
  display: flex;
  align-items: start;
  flex-direction: column;
}


{# ============================== #}
{#          MAIN IMAGE           #}
{# ============================== #}

.main-image {
  cursor: zoom-in;
  overflow: hidden;
  aspect-ratio: 1;
}

.main-image img {
  height: 100% !important;
  object-fit: cover;
}


{# ============================== #}
{#       THUMBNAIL IMAGES        #}
{# ============================== #}

.thumbnail-row {
  width: calc(100% - 70px);
  margin-top: 20px;
}

.thumbnail-image {
  aspect-ratio: 1;
  padding: 0 7px;
  cursor: pointer;
}

.thumbnail-image img {
  height: 100% !important;
  object-fit: cover;
}

.thumbnail-slider button.slick-prev {
  display: none !important;
}

.thumbnail-slider button.slick-next {
  width: 24px;
  height: 24px;
  transform: translate(20px, -50%) rotate(-45deg);
}


{# ============================== #}
{#         PRODUCT COLUMNS        #}
{# ============================== #}

.product-images-col {
  padding-right: 30px;
}

.product-description-col {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}


{# ============================== #}
{#         PRODUCT DETAILS        #}
{# ============================== #}

.pre-text {
  margin-bottom: 10px;
  width: 100%;
}

.product-name {
  margin-bottom: 30px;
  width: 100%;
}

.price-row {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  margin-bottom: 30px;
  align-items: baseline;
}


{# ============================== #}
{#           RATINGS             #}
{# ============================== #}

.rating {
  display: flex;
  flex-wrap: nowrap;
}

.stars {
  display: flex;
  margin-right: 5px;
}

.stars svg {
  margin-right: 5px;
  fill: #F5B404;
  height: 16px;
  width: 16px;
}


{# ============================== #}
{#        DESCRIPTION + CTA       #}
{# ============================== #}

.line-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 15px;
}

.product-description {
  margin-bottom: 15px;
}

.product-buttons {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 30px;
}

.product-buttons > * {
  margin-right: 20px;
}


{# ============================== #}
{#        EXTRA INFO SECTION      #}
{# ============================== #}

.extra-details {
  width: 100%;
  border-radius: 5px;
  padding: 10px 20px;
}

.detail-row {
  display: flex;
  margin: 7.5px 0;
  flex-wrap: nowrap;
  align-items: center;
}

.detail-icon {
  height: auto;
  margin-right: 8px;
}


{# ============================== #}
{#        MOBILE RESPONSIVE       #}
{# ============================== #}

@media (max-width: 575px) {
  .product-images-col {
    padding: 0;
    padding-bottom: 30px;
  }

  .product-description-col {
    padding-left: 0;
  }

  .product-buttons {
    flex-wrap: nowrap;
    flex-direction: column;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .product-buttons > * {
    margin-right: 0;
    margin-bottom: 15px;
    text-align: center;
  }

  .thumbnail-row {
    width: calc(100% - 50px);
    margin-top: 15px;
  }

  .thumbnail-image {
    aspect-ratio: 1;
    padding: 0 5px;
    cursor: pointer;
  }

  .thumbnail-slider button.slick-next {
    border-bottom: 3px solid black;
    border-right: 3px solid black;
    width: 18px;
    height: 18px;
    transform: translate(10px, -50%) rotate(-45deg);
  }
}