/* =========================================
SIMPLE SINGLE PRODUCT PAGE
========================================= */

.single-product {
  overflow-x: hidden;
}

/* =========================================
MAIN LAYOUT
========================================= */

.single-product div.product {
  display: flex;

  align-items: flex-start;

  gap: 50px;

  margin-bottom: 80px;
}

.single-product .woocommerce-product-gallery {
  width: 48%;
}

.single-product .summary.entry-summary {
  width: 52%;

  margin: 0 !important;

  clear: none !important;

  float: none !important;
}

/* =========================================
LEFT IMAGE SECTION
========================================= */

.single-product .woocommerce-product-gallery {
  position: relative !important;

  float: none !important;
  width: 100%;
}

.single-product .woocommerce-product-gallery__wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: 24px;
}

.single-product .woocommerce-product-gallery__image img {
  width: 100%;

  display: block;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.04);
}

/* THUMBNAILS */

.flex-control-thumbs {
  display: flex;

  gap: 12px;

  margin-top: 18px !important;

  padding: 0 !important;
}

.flex-control-thumbs li {
  list-style: none;

  overflow: hidden;

  border-radius: 14px;
}

.flex-control-thumbs img {
  width: 80px !important;

  height: 80px !important;

  object-fit: cover;

  border-radius: 14px;

  opacity: 1 !important;
}

/* =========================================
RIGHT CONTENT SECTION
========================================= */

.single-product .summary.entry-summary {
  width: 100%;
}

/* TITLE */

.single-product .product_title {
  font-size: 42px;

  line-height: 1.2;

  margin-bottom: 18px;
}

/* PRICE */

.single-product .summary .price {
  font-size: 30px !important;

  font-weight: 700;

  color: var(--secondary) !important;

  margin-bottom: 24px;
}

/* RATING */

.single-product .woocommerce-product-rating {
  margin-bottom: 20px;
}

/* DESCRIPTION */

.single-product .woocommerce-product-details__short-description {
  color: rgba(255, 255, 255, 0.75);

  line-height: 1.9;

  margin-bottom: 30px;
}

/* =========================================
VARIATIONS
========================================= */

.single-product .variations {
  width: 100%;

  margin-bottom: 20px;

  border: none !important;
}

.single-product .variations td,
.single-product .variations th {
  border: none !important;

  padding-bottom: 16px !important;
}

.single-product .variations select {
  width: 100%;

  height: 54px;

  border-radius: 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.05);

  color: white;

  padding: 0 16px;
}

/* =========================================
QUANTITY + CART
========================================= */

.single-product form.cart {
  display: flex;

  align-items: center;

  gap: 16px;

  flex-wrap: wrap;

  margin-top: 30px;
}

.single-product .quantity {
  margin: 0 !important;
}

.single-product .quantity input {
  width: 90px;

  height: 54px;

  border-radius: 14px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  background: rgba(255, 255, 255, 0.05);

  color: white;

  text-align: center;
}

/* BUTTON */

.single-product .single_add_to_cart_button {
  height: 54px !important;

  padding: 0 34px !important;

  border-radius: 50px !important;

  border: none !important;

  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary)
  ) !important;

  color: white !important;

  font-weight: 600 !important;

  transition: 0.3s ease;
}

.single-product .single_add_to_cart_button:hover {
  transform: translateY(-2px);
}

/* =========================================
META
========================================= */

.single-product .product_meta {
  margin-top: 30px;

  padding-top: 24px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;

  flex-direction: column;

  gap: 10px;

  color: rgba(255, 255, 255, 0.65);
}

.single-product .product_meta a {
  color: var(--secondary);
}

/* =========================================
TABS
========================================= */

.single-product .woocommerce-tabs {
  margin-top: 70px;
}

.single-product .woocommerce-tabs ul.tabs {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  border: none !important;

  margin-bottom: 24px !important;

  padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

.single-product .woocommerce-tabs ul.tabs li {
  border: none !important;

  background: transparent !important;

  margin: 0 !important;

  padding: 0 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 48px;

  padding: 0 22px !important;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.06);

  color: white !important;

  font-size: 14px;

  transition: 0.3s ease;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* TAB CONTENT */

.single-product .woocommerce-tabs .panel {
  padding: 30px;

  border-radius: 24px;

  background: rgba(255, 255, 255, 0.04);

  border: 1px solid rgba(255, 255, 255, 0.06);
}

.single-product .woocommerce-tabs .panel p {
  line-height: 1.9;

  color: rgba(255, 255, 255, 0.72);
}

/* =========================================
REVIEWS
========================================= */

.woocommerce-Reviews .commentlist {
  padding: 0 !important;
}

.woocommerce-Reviews .commentlist li {
  list-style: none;

  padding: 22px;

  border-radius: 20px;

  margin-bottom: 20px;

  background: rgba(255, 255, 255, 0.04);
}

/* =========================================
RELATED PRODUCTS
========================================= */

.related.products {
  margin-top: 90px;
}

.related.products > h2 {
  margin-bottom: 30px;

  font-size: 34px;
}

/* =========================================
SALE BADGE
========================================= */

.single-product span.onsale {
  top: 18px !important;

  left: 18px !important;

  min-width: auto !important;

  min-height: auto !important;

  margin: 0 !important;

  padding: 8px 14px !important;

  border-radius: 50px !important;

  background: linear-gradient(135deg, #ff4d6d, #ff758f) !important;

  color: white !important;

  font-size: 12px !important;

  font-weight: 700 !important;
}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width: 992px) {
  .single-product div.product {
    grid-template-columns: 1fr;

    gap: 40px;
  }

  .single-product .product_title {
    font-size: 34px;
  }
}

/* =========================================
MOBILE
========================================= */

@media (max-width: 768px) {
  .single-product .product_title {
    font-size: 28px;
  }

  .single-product .summary .price {
    font-size: 26px !important;
  }

  .single-product form.cart {
    flex-direction: column;

    align-items: stretch;
  }

  .single-product .quantity input {
    width: 100%;
  }

  .single-product .single_add_to_cart_button {
    width: 100%;
  }

  .single-product .woocommerce-tabs .panel {
    padding: 22px;
  }
}
