/* CỬA HÀNG */
.product-wrapper {
  background: #fcf7f0;
  padding: 80px 0;
  width: 100%;
}
.product-container {
  width: 100%;
  display: flex;
  max-width: 1240px;
  margin: auto;
  flex-wrap: wrap;
}
.product-container .site-main {
  max-width: 1240px;
  margin: auto !important;
  width: 100%;
}

.product-sidebar {
  width: 25%;
  padding-right: 30px;
  position: sticky;
  top: 30px;
  align-self: flex-start;
}

.product-sidebar-title {
  text-align: center;
  margin: 0 !important;
  font-size: 16px;
  padding: 12px;
  background: #f5821f;
  color: #fff;
  border-radius: 12px 12px 0 0;
  text-transform: uppercase;
  font-weight: 400;
}
.product-category-menu {
  background: #fff;
  margin: 0;
  list-style: none;
  border-radius: 0 0 12px 12px;
}
.product-category-parent {
  padding: 7px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-category-parent a {
  color: #333;
  font-size: 14px;
}
.product-category-parent a:hover {
  color: #f5821f;
}
.product-category-parent a.is-current {
  color: #f5821f;
  font-weight: 700;
}
.product-category-toggle {
  background: none !important;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 30px;
  text-align: right;
}
.product-category-children {
  margin: 0;
  list-style: none;
  padding: 0 20px;
}
.product-category-children a {
  color: #666;
  font-size: 13px;
}
.product-category-children a:hover {
  color: #224c48;
}
.product-category-children a.is-current {
  color: #224c48;
  font-weight: 700;
}

.product-detail {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.product-title-main {
  width: 100%;
}

.product-thumbnails {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.product-thumbnails::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
  width: 0;
  height: 0;
}

.product-gallery {
  width: 50%;
  display: flex;
  flex-direction: row-reverse;
  align-items: start;
}

.product-main-image {
  width: calc(100% - 80px);
  padding-left: 12px;
}

.product-main-image img {
  width: 100%;
  display: block;
}

.product-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  width: 80px;
  overflow-y: scroll;
}

.product-thumbnails .swiper-slide {
  height: 120px;
}

.product-thumbnails .swiper-wrapper {
  /* justify-content: center; */
}

.product-thumbnails .swiper-button-next,
.product-thumbnails .swiper-button-prev {
  display: none;
}

.thumb {
  cursor: pointer;
  /* border: 1px solid #ddd; */
  padding: 2px;
}

.thumb img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.product-content {
  width: 50%;
}

.product-content-wrap {
  width: 75%;
}

.product-title {
  margin-bottom: 20px;
}
.single-product {
  width: 100%;
  background: #fcf7f0;
}
.single-product--container {
  max-width: 1240px;
  margin: auto;
  padding: 80px 0;
}
.product-title {
  color: #000;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 28px;
}
.product-short-description {
  color: #333;
  font-weight: 400;
  font-size: 15px;
}
.product-single-button {
  padding: 0 10px;
  width: 100%;
}
.product-single-button,
.product-single-button:hover {
  background-color: #f5821f;
  font-size: 14px;
  font-weight: 300;
  text-transform: uppercase;
  fill: #f5821f;
  color: #fff;
  border-radius: 0px 0px 0px 0px;
  min-width: 180px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 99px;
}

.product-single-button span {
  position: relative;
  z-index: 2;
}

.product-single-button {
  position: relative;
}
.related-products {
  margin-top: 60px;
}
/* .product-single-button:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f3e9dc;
  transition: all ease 0.2s;
  z-index: 1;
  opacity: 0.2;
}
.product-single-button:hover:after {
  top: -4px;
  left: -4px;
} */

.product-description {
  margin-top: 60px;
}

.product-info-price {
  margin-bottom: 30px;
}

.product-info-price .lcpe-featured-product-rental-price,
.product-info-price .lcpe-featured-product-price {
  color: #333;
  font-size: 16px;
}

.product-info-price .woocommerce-Price-amount,
.product-info-price .lcpe-product-rental-unit,
.product-info-price .lcpe-product-sale-unit {
  color: red;
}

.product-short-description ul {
  margin-left: 20px;
}
.related-products-title {
  font-size: 36px;
  text-align: center;
  color: #224c48;
  margin-top: 80px;
}
.woocommerce-message,
.woocommerce-info {
  border-top-color: #224c48;
}
.woocommerce-message::before,
.woocommerce-info::before {
  color: #224c48;
}

.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.product-item {
  width: calc(100% / 3 - 14px);
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: start;
}
.product-item:hover .lcpe-featured-product-image img {
  transform: scale(1.05);
}
.title-page--detail {
  font-weight: 400;
}

.product-attributes{margin: 30px 0;}
.product-attribute-label{font-weight: 700; font-size: 15px; color: #000;}
.product-attribute-value{display: flex;flex-wrap: wrap;gap:5px;margin-top: 6px;}
.product-attribute-item{min-width: 100px;display: inline-flex;align-items: center;justify-content: center;min-height: 36px;background: #fff;color: #000; font-size: 15px;}
.product-color-item{min-width: 40px;width: 40px;height: 40px;overflow: hidden;}
.product-color-item img{width: 100%;height: 100%;object-fit: cover;}


/*SOCIAL SHARE*/
.product-social-share {
  margin-top: 30px;
}

.product-social-share-label {
  margin-bottom: 12px;
  font-weight: 600;
}

.product-social-share-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-social-share-item {
  width: 40px;
  height: 40px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #ddd;
  border-radius: 50%;

  color: #333;
  background: #fff;

  text-decoration: none;
  cursor: pointer;

  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.product-social-share-item:hover {
  color: #fff;
  background: #F5821F;
  border-color: #F5821F;
}

.product-social-copy.copied {
  color: #fff;
  background: #28a745;
  border-color: #28a745;
}


/*TAB*/
.product-tabs {
  width: 100%;
  margin-top: 50px;
}


/* =========================
   TAB NAVIGATION
========================= */

.product-tabs-nav {
  display: flex;
  align-items: center;
  gap: 35px;

  border-bottom: 1px solid #ddd;
}

.product-tab-btn {
  position: relative;

  padding: 0 0 15px;

  border: 0;
  outline: none;
  background: none !important;

  color: #777;

  font-size: 16px;
  font-weight: 500;

  cursor: pointer;

  transition:
    color 0.25s ease;
}

.product-tab-btn::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -1px;

  height: 2px;

  background: #F5821F;

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform 0.25s ease;
}

.product-tab-btn:hover {
  color: #F5821F;
}

.product-tab-btn.active {
  color: #F5821F;
}

.product-tab-btn.active::after {
  transform: scaleX(1);
}


/* =========================
   TAB CONTENT
========================= */

.product-tabs-content {
  position: relative;
}

.product-tab {
  display: none;

  padding-top: 30px;
}

.product-tab.active {
  display: block;
}


/* =========================
   WYSIWYG CONTENT
========================= */

.product-tab p {
  margin: 0 0 15px;
}

.product-tab p:last-child {
  margin-bottom: 0;
}

.product-tab ul,
.product-tab ol {
  margin: 0 0 20px;
  padding-left: 20px;
}

.product-tab img {
  max-width: 100%;
  height: auto;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

  .product-tabs {
    margin-top: 35px;
  }

  .product-tabs-nav {
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;

    scrollbar-width: none;
  }

  .product-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .product-tab-btn {
    flex-shrink: 0;

    padding-bottom: 12px;

    font-size: 14px;
  }

  .product-tab {
    padding-top: 20px;
  }

}



@media screen and (max-width: 1366px) {
  .single-product--container {
    padding: 60px 5%;
  }
}

@media screen and (max-width: 1250px) {
  .product-wrapper {
    padding: 60px 5%;
  }
}

@media screen and (max-width: 1024px) {
  .product-wrapper {
    padding: 40px 5%;
  }
  .product-sidebar {
    display: none;
  }
  .product-content-wrap {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .product-item {
    width: calc(50% - 10px);
  }
  .product-detail {
    flex-direction: column;
  }
  .product-gallery {
    width: 100%;
  }
  .product-content {
    width: 100%;
  }
  .product-title {
    font-size: 24px;
  }
}

@media screen and (max-width: 600px) {
  .lcpe-featured-product-title {
    font-weight: 400;
    font-size: 15px !important;
  }
  .product-list {
    gap: 10px;
  }
  .lcpe-featured-product-content {
    gap: 4px;
  }
  .product-item {
    width: calc(50% - 5px);
  }
  .product-title {
    font-size: 22px;
  }
  .product-detail {
    gap: 40px;
  }
  .product-description {
    margin-top: 40px;
  }
}

@media screen and (max-width: 500px) {
  .lcpe-featured-product-title {
    font-weight: 400;
    font-size: 14px !important;
  }
  .lcpe-featured-product-category a {
    font-size: 11px;
    font-weight: 500;
  }
  .lcpe-featured-product-btn {
    min-height: 26px;
    padding: 5px 6px;
  }
  .lcpe-featured-product-short-description {
    font-size: 11px;
  }
  .product-title {
    font-size: 18px;
  }
  .product-short-description {
    font-size: 14px;
  }
}
@media screen and (max-width: 400px) {
  .lcpe-featured-product-title {
    font-size: 13px !important;
  }
}
