﻿/*Fonts and globla styles*/
.header_price_detail {
  margin: 15px auto;
  font-size: 1rem;
  font-weight: bold;
  color: #000000;
}
.table__info .product_title {
  font-size: 1.4em;
  margin-bottom: 10px;
}
.table__info .product_code {
  font-size: 0.8em;
}
.table__info__desktop {
  display: block;
}
.table__info__tablet {
  display: none;
}
/*Info Container*/
.info__container {
  display: flex;
  flex-direction: row;
  margin: 25px 0;
}
/*Slide*/
.slide_container {
  display: flex;
  flex-direction: row;
  flex-grow: 2;
}
.slide_container .splide__list {
  align-items: center;
}
.slide_container .slide__thumbnail_carousel {
  margin-right: 20px;
}
.slide_container__section {
  max-height: 500px;
  margin-left: 5px;
}
.slide_container__section .splide__track {
  max-height: 500px;
}
.slide_container__section .splide__slide {
  max-height: 500px;
}
.slide__list {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.splide__slide {
  opacity: 0.6;
}
.splide__slide.is-active {
  opacity: 1;
}
.slide__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
  max-height: 500px;
}
.slide_image__main {
  cursor: pointer;
  object-fit: contain;
}
.table__container {
  width: 70%;
  padding: 0 3.5em;
  max-width: 38em;
  min-width: 500px;
}
.table_products {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.table_products thead {
  text-align: justify;
}
.table_products thead tr {
  display: flex;
  justify-content: space-between;
}
.table_products thead tr th {
  border-bottom: 1px solid;
  width: 100%;
}
.table_products tbody {
  text-align: justify;
}
.table_products tbody tr {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}
.table_products tbody tr td {
  /*width: 9em;*/
}
.table_products__desktop {
  display: table;
}
.table_products__mobile {
  display: none;
}
.table_products__mobile_row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 15px;
}
.table_products__mobile_row .table__text_input {
  width: 30%;
  position: relative;
  display: block;
  margin: 0 0 0 auto;
}
.table__text_input {
  text-align: right;
  background-color: #e4e4e6;
  color: #060606;
  padding: 5px;
  font-size: 1em;
  border-radius: 3px;
  border: none;
  width: 100%;
}
.table__text_no_currency {
  margin-right: 1.35em;
}
.table_data__th_right {
  text-align: end;
}
.table_data__td_right {
  display: flex;
  justify-content: end;
}
.table_data__td_right div {
  width: 50%;
}
.table__total_info__row {
  display: flex;
  flex-direction: row;
  justify-content: end;
  align-items: center;
  margin-top: 1.5em;
  position: relative;
  left: 1.5em;
}
.table__total_info__row input {
  width: 4.5em;
  margin-left: 15px;
}
.table__total_info__row button {
  background-color: black;
  color: white;
  border: none;
  padding: 10px 4.5em;
  font-weight: bold;
  border-radius: 5px;
}
.table__total_info__row_bold {
  font-weight: bolder;
}
.table__total_info__row_bold .table__text_input {
  font-weight: bolder;
}
/*Lightbox*/
.lightbox {
  position: fixed;
  background-color: rgba(0, 0, 0, 0.9);
  width: 100vw;
  height: 100vh;
  max-height: 100vh;
  display: none;
  flex-direction: column;
  top: 0;
  left: 0;
  z-index: 2147483640;
}
.lightbox .lightbox__button_pane {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: end;
}
.lightbox .lightbox__button_pane .lightbox__close_button {
  font-size: 20px;
  margin-right: 35px;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background-color: var(--main_color);
  cursor: pointer;
}
.lightbox__carousel {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__carousel .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lightbox__carousel .splide__slide {
  opacity: 0.6;
}
.lightbox__carousel .splide__slide.is-active {
  opacity: 1;
}
.lightbox__carousel .lightbox__main_carousel {
  display: flex;
  justify-content: center;
  height: 100%;
}
.lightbox__carousel .lightbox__main_carousel .splide__track {
  max-width: 80%;
  max-height: 750px;
  border-radius: 10px;
}
.lightbox__carousel .lightbox__main_carousel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox__carousel .lightbox__thumbnail_carousel {
  height: 100%;
  margin-top: 15px;
  max-width: 600px;
  display: flex;
  align-items: center;
}
.lightbox__slide_image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  overflow: hidden;
  max-height: none;
}
.splide__track--nav > .splide__list > .splide__slide.is-active {
  border-radius: 12px;
  border-color: var(--main_color);
}
.splide__arrow {
  background: var(--main_color);
  opacity: 1;
}
.txt_discount_detail {
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: var(--main_color);
  padding: 5px 15px;
  border-radius: 5px;
  display: block;
  margin-bottom: 10px;
}
.txt_apply_detail {
  margin-bottom: 10px;
  margin-left: 5px;
  font-size: 12px;
  color: var(--main_color);
}
.table__total_info__row button {
  background-color: var(--main_color);
  color: white;
  border: none;
  padding: 10px 4.5em;
  font-weight: bold;
  border-radius: 5px;
  position: relative;
  right: -10px;
}
.table__total_info_row__desktop {
  display: flex;
}
.table__total_info_row__mobile {
  display: none;
}
.table_data__row_left {
  text-align: left;
}
/*Responsive less than 1380*/
@media only screen and (max-width: 1380px) {
  .slide_container {
    width: 100%;
  }
  .lightbox__carousel {
    height: 80%;
  }
}
/*Responsive less than 1024*/
@media only screen and (max-width: 1024px) {
  .info__container {
    display: flex;
    flex-direction: column;
    margin: 3em 0;
    align-items: center;
  }
  .info__container .slide_container {
    margin-bottom: 3em;
  }
  .table__container {
    width: 100%;
    padding: 0 3em;
    max-width: none;
  }
  .table__info__desktop {
    display: none;
  }
  .table__info__tablet {
    display: block;
  }
}
/*Responsive less than 768*/
@media only screen and (max-width: 768px) {
  .slide_container {
    flex-direction: column-reverse;
  }
  .slide_container .slide__list {
    flex-direction: row;
  }
  .slide_container .slide__vertical_arrows {
    display: none;
  }
  .slide_container .slide__thumbnail_carousel {
    margin-top: 15px;
  }
  .table__container {
    width: 100%;
    padding: 0 2em;
    max-width: none;
    min-width: auto;
  }
}
@media only screen and (max-height: 768px) {
  .lightbox__carousel {
    height: 85%;
  }
  .lightbox__main_carousel {
    height: 88% !important;
  }
}
@media only screen and (max-width: 425px) {
  .table_products__desktop {
    display: none;
  }
  .table_products__mobile {
    display: block;
    border-bottom: 1px solid;
    padding-bottom: 10px;
  }
  .table__total_info_row__desktop {
    display: none;
  }
  .table__total_info_row__mobile {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  .table__total_info_row__mobile button {
    background-color: var(--main_color);
    color: white;
    border: none;
    padding: 10px 4.5em;
    font-weight: bold;
    border-radius: 5px;
    width: 100%;
  }
}