Product Container
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Product Buy option detail*/
.product_income_title_box {
  display: flex;
  position: relative;
  cursor: pointer;

  & .product_income_title {
    position: absolute;
    font-size: 16px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.4);
    top: -37px !important;
    right: 70px !important;
  }

  & .product_income_title_icon {
    position: absolute;
    top: -35px;
    right: 18px !important;
  }
}
.product_income_title_box:hover {
  & .product_income_title {
    color: #30b3b8;
  }
}
.product_attribute_box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 18px;

  & .product_attribute_title_box {
    display: flex;
    align-items: center;
    column-gap: 40px;
    height: 32px;
    border-bottom: 2px solid #f0f0f0;

    & .product_attribute_title {
      font-size: 20px;
      font-weight: 400;
      color: rgba(0, 0, 0, 0.4);
    }

    & .product_attribute_title.active {
      font-size: 20px;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.8);
      position: relative;
    }

    & .product_attribute_title.active:after {
      content: "";
      display: block;
      border-bottom: 2px solid #30b3b8;
      width: 100%;
      position: absolute;
      bottom: -8px;
    }

    & .product_attribute_title:not(.active):hover {
      cursor: pointer;
      color: #30b3b8;
    }
  }

  & .product_attribute_detail_box {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    margin-top: 20px;

    & .product_attribute_detail_row {
      display: flex;
      align-items: center;
      column-gap: 20px;
      text-align: left;
      height: 32px;
      border-bottom: 1px solid #f8f8f8;

      & .product_attribute_topic {
        width: 200px;
        font-size: 16px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.6);
      }

      & .product_attribute_specs {
        font-size: 16px;
        font-weight: 300;
        color: rgba(0, 0, 0, 0.6);

        & .product_attribute_link {
          color: #30b3b8;
        }
      }
    }
  }
}
.product_detail_box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 20px;
  background-color: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  padding: 18px;

  & .product_detail_title_box {
    display: flex;
    align-items: center;
    background-color: #f8f8f8;
    border: 1px solid #f4f4f4;
    border-radius: 4px;
    padding: 10px;

    & .product_detail_title {
      font-size: 20px;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.8);
    }
  }

  & .product_detail_body_box {
    margin-top: 20px;
    padding: 10px;
    flex-shrink: 0;
  }
}
:is(.product_detail_body_box, .shop_load_more_mobile) :is(p, span){
  color: rgba(0, 0, 0, 0.6); font-size: 16px; line-height: unset;
}
/* Click options color and size  */
.checkmark {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -8px;
  right: -3px;
  background-color: #f00;
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  width: 14px;
  height: 14px;
}
.text_quantity_prices_products_detail {
  flex: 0 0 0 !important;
  width: 45px;
  border-left: 1px solid #e8e8e8;
  border-right: 1px solid #e8e8e8;
  border-top: none;
  border-bottom: none;
  padding: 0 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-align: center;
}
/* PopUP Click Show Images Products Details  */
.box_bg_forcus_image_product {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  backdrop-filter: brightness(0.7);
}

.block-data-view-list-images {
  position: fixed;
  top: 10%;
  left: 19.5%;
  background-color: #fff;
  z-index: 1001;
  padding: 24px;
  gap: 14px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.14);
  overflow: hidden;

  & .box_layout_images_bigpic {
    display: flex;
    width: 625px;
    overflow: hidden;
    align-items: center;
    position: relative;
    transition: transform 0.5s ease;
  }

  & .box_small_image_products {
    display: flex;
    flex-direction: column;
    width: 460px;
    position: relative;

    & .name_products_popup-detail {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      text-overflow: ellipsis;
      font-size: 20px;
      margin-bottom: 0.5rem;
    }

    & .box_price_forcus_products_details {
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background-color: rgba(0, 0, 0, 0.031);
      padding: 12px 8px;

      & .box_prices_show_prices {
        display: flex;
        align-items: center;

        & span:first-child {
          text-decoration: line-through;
          color: rgba(0, 0, 0, 0.4);
          font-size: 16px;
        }

        & span:nth-child(2) {
          color: #cd2f2f;
          font-size: 20px;
          font-weight: bold;
          margin: 0 0.5rem;
        }

        & span:nth-child(3),
        span:last-child {
          font-size: 18px;
          color: rgba(0, 0, 0, 0.31);
        }
      }

      & .box_heart_product_detail {
        display: flex;
        align-items: center;
        gap: 4px;

        & .text_heart_together_buy:hover {
          cursor: pointer;
        }
      }
    }

    & .box_name_product_topic {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr 1fr;
      gap: 8px;

      & .box_grid_products_small {
        & img {
          width: 100%;
        }
      }

      & .box_grid_products_small:hover {
        cursor: pointer;
      }
    }
  }
}
.box_big_image_product {
  flex: 0 0 100%;
  position: relative;
  width: 100%;

}

.box_big_image_product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev-view,
.next-view {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.prev-view {
  left: 10px;
}

.next-view {
  right: 10px;
}

.thumbnail.active {
  border: 3px solid #375df5;
}

.box_price_share_products_detail {
  display: flex;
  align-items: center;
  gap: 4px;

  & .box_text_popup_share_products_detail {
    display: flex;
    align-items: center;
    gap: 4px;

    & span:first-child {
      display: flex;
      align-items: center;
      justify-content: center;

      & i {
        color: rgba(0, 0, 0, 0.5);
        font-size: 16px;
      }
    }

    & span:last-child {
      color: #000;
      background-color: rgba(0, 0, 0, 0.031);
      font-size: 14px;
      font-weight: 300;
      padding: 4px 6px 2px 6px;
      border-radius: 4px;
      line-height: 14px;
      text-align: center;
    }
  }

  & .box_images_popup_share_products_detail {
    display: flex;
    align-items: center;
    gap: 4px;

    & img:nth-child(1),
    img:nth-child(3),
    img:nth-child(4),
    img:nth-child(5) {
      width: 34px;
      height: 34px;
      cursor: pointer;
    }

    & img:nth-child(2) {
      width: 40px;
      height: 40px;
    }
  }
}

.box_close_popup_forcus_images_products {
  width: 100%;
  text-align: center;
  margin: 1rem 0;
  position: absolute;
  bottom: 0;

  & button {
    background-color: rgba(0, 0, 0, 0.03);
    border: 1px solid transparent;
    padding: 4px 26px;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.41);
  }

  & button:hover {
    background-color: rgba(0, 0, 0, 0.11);
    color: #000;
  }
}
/* New  Slide image Products Detail  */
.box_images_products_detail_page {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  & .box_bigpicproducts {
    display: flex;
    overflow: hidden;
    align-items: center;
    position: relative;

    & img {
      width: 480px;
      height: 480px;
      max-width: unset !important;
    }
  }

  & .box_smallpicproducts {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    position: relative;

    & img {
      width: 85px;
      height: 85px;
      max-width: unset !important;
    }
  }
}
.btnbignext,.btnbigprev {
  border: 1px solid transparent;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.45);
  color: #fff;
  position: absolute;
  z-index: 1;
}

.btnbignext {
  right: 0;
}
.btnbigprev {
  left: 0;
}
.thumbnailBig {
  position: relative;
}

/* Products Recommend  */
.url_product_random {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

& .box_product_detail_box {
  display: flex;
  gap: 1rem;

  & .product_detail_box {
    width: 75%;
    justify-content: unset !important;

    &.box_layout_product_detail_title {
      display: flex;
      justify-content: space-between;
    }
  }

  & .box_layout_product_recommend {
    margin-top: 20px;
    padding: 20px;
    width: 25%;
    background-color: #fff;
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    flex-direction: column;
    border-radius: 4px;
    gap: 0.5rem;
    position: relative;

    & .text_title_product_detail_recommend {
      width: 100%;
      text-align: center;
      background-color: #f8f8f8;
      border-radius: 4px;
      border: 1px solid #f4f4f4;
      color: rgba(0, 0, 0, 0.8);
      font-size: 19px;
      font-weight: 500;
      padding: 10px;
    }

    & .box_detail_product_recommend {
      padding: 6px;
      border: 1px solid #e8e8e8;
      border-radius: 4px;
      display: flex;
      flex-direction: column;
      margin: 1rem 0 0.5rem 0;
      width: 100%;
      position: relative;

      & .product_discount_recommend {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        align-items: center;
        justify-content: center;
        padding: 7px 3px 10px 0px;
        color: #fff;
        z-index: 4;
        text-align: center;
        top: 0;
        right: 0;
        position: absolute;
        width: 40px;
        height: 50px;
      }

      & .box_image_product_detail_recommend {
        & img {
          width: 100%;
        }
      }

      & .box_text_name_product_detail_recommend {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0.4rem 0;
      }

      & .box_promotion_product_detail_recommend {
        display: flex;
        align-items: center;
        gap: 0.5rem;

        & span:first-child {
          line-height: 10px;
          padding: 3px 5px 2px 5px;
          font-size: 10px;
          font-weight: 300;
          color: rgb(0, 141, 223);
          width: fit-content;
          background-color: #eafdfb;
          border: 1px solid #bae6e1;
          border-radius: 6px;
        }

        & span:last-child {
          line-height: 10px;
          padding: 3px 5px 2px 5px;
          font-size: 10px;
          font-weight: 300;
          color: rgb(0, 141, 223);
          width: fit-content;
          background-color: #fffcd8;
          border: 1px solid #e1d873;
          border-radius: 6px;
        }
      }

      & .box_price_product_detail_recommend {
        display: flex;
        align-items: center;
        gap: 0.1rem;
        margin: 0.5rem 0 0 0;

        & span:nth-child(1) {
          color: #cd2222;
          font-size: 18px;
          font-weight: bolder;
        }

        & span:nth-child(3) {
          color: rgba(0, 0, 0, 0.61);
          font-weight: 500;
          line-height: normal;
        }
      }

      & .box_price_v2_product_detail_recommend {
        display: flex;
        align-items: center;
        gap: 0.5rem;

        & span:first-child {
          color: rgba(0, 0, 0, 0.51);
          text-decoration: line-through;
          line-height: normal;
        }

        & span:last-child {
          color: rgb(0, 141, 223);
          line-height: normal;
          font-size: 12px;
          padding: 0 4px;
          font-weight: 300;
        }
      }

      & .box_strat_product_detail_recommend {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;

        & .images_star_product_detail_recommend {
          display: flex;
          align-items: center;
          gap: 0.1rem;

          & i {
            color: #ffd107 !important;
            font-size: 14px;
          }
        }

        & .box_text_sell_product_detail_recommend {
          color: rgba(0, 0, 0, 0.51);
          font-weight: 300;
          font-size: 12px;
        }
      }
    }

    & .box_detail_product_recommend:hover {
      color: #30b3b8;
      cursor: pointer;
      box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    }
  }
}
.image-counter {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  color: rgba(0, 0, 0, 0.5);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 1;
} 

.swiper-container-products, .swiper-container-image {
  width: 100%; 
  overflow: hidden;
}

.swiper-slide {
  width: 100%;
}

.swiper-slide img {
  width: 100%;
  height: auto;
}

.swiper-pagination {
  position: unset !important;
  text-align: center;
}
.swiper-wrapper{
  height: auto !important;
}
.loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 8px solid #0000;
  border-right-color: #ffa50097;
  position: relative;
  animation: l24 1s infinite linear;
}
.loader:before,
.loader:after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: inherit;
  animation: inherit;
  animation-duration: 2s;
}
.loader:after {
  animation-duration: 4s;
}
@keyframes l24 {
  100% {transform: rotate(1turn)}
}
.optAct {
  border: 1px solid #ff0000 !important;
  .checkmark{ display: flex; }
}