/* ==============================
   woocommerce-breadcrumb
   ============================== */

.woocommerce-breadcrumb {
  display: flex;
  justify-content: center;
  padding: 1em 0 !important;
  font-size: 20px !important;
  font-family: var(--font-sllf);
  color: #0f766e !important;
  border-bottom: 1px dotted #555;

  a {
    text-decoration: none;
    color: #0f766e !important;
  }
}



/* ==============================
   Single Product Layout – Correct Flex
   ============================== */
/* Flex row ONLY for gallery + summary */


.single-product div.product {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: .3em;
  align-items: flex-start;
  background-color: #ddd;
  border-radius: 12px;
  background-color: red;
}




/* shared height baseline */
.single-product .summary.entry-summary,
.single-product .woocommerce-product-gallery {
  /* min-height: 520px; */
  /* max-height: 520px; */
  overflow: hidden;
  /* adjust once, both stay equal */
  box-sizing: border-box;
  background-color: yellowgreen;
}


.single-product .summary.entry-summary ul li {
  list-style: none;
  position: relative;
  margin-bottom: 0.5rem;
  /* color: #555; */
  padding-right: 1.5rem;
}

.single-product .summary.entry-summary ul li::before {

  content: "";
  position: absolute;
  right: 0;
  /* position bullet on the right */
  top: 8px;
  /* vertical alignment */
  width: 16px;
  height: 16px;
  background-image: url("../images/hero-arrow-left.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(0deg);
}



/* Gallery = 4 / 12 */
.single-product .woocommerce-product-gallery {
  flex: 0 0 33%;
  max-width: 33%;
  /* background-color: saddlebrown; */
  /* padding: 0 1em; */
  /* display: flex; */
  /* flex-direction: row-reverse; */
  /* justify-content: space-between; */
  /* align-items: start; */
}



.single-product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
  display: none;
}

.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
  /* display: flex; */
  /* flex-direction: column; */
  /* background-color: darkred; */
}

/* .single-product .woocommerce-product-gallery .flex-control-nav li {
  display: flex;
  flex-direction: column;
} */





.single-product .woocommerce-product-gallery img {
  border-radius: 8px;
  padding: 2px;
}

.single-product .woocommerce-product-gallery .flex-viewport:hover {
  /* background-color: red; */
  border-radius: 6px;
}

/* Summary = 8 / 12 */
.single-product .summary {
  flex: 0 0 66%;
  max-width: 66%;
  flex-direction: column;
  /* background-color: #111; */
  padding: 0 1em;
  /* border-right: 2px dotted #4e4e4e; */
  font-family: var(--font-sllf);
}



/* Title */
.single-product .product_title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #043531;
  margin: 0;
  /* background-color: rgb(214, 210, 148); */
  border-bottom: 1px solid #707070;
  padding: 10px 0 !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .5);
  font-family: var(--font-shl);

}

.single-product .price {
  padding: 10px 0 !important;
  border-bottom: 1px solid #707070;
  color: #043531 !important;
}


.woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.woocommerce-Price-amount {
  font-size: 18px;
  font-family: var(--font-shl);
}

/* Price (top default WC price) */
.single-product .summary>.price {
  font-size: 22px;
  font-weight: 600;
  color: #043531;
  /* background-color: darkorange */
}

/* Short description */
.single-product .woocommerce-product-details__short-description {
  font-size: 18px;
  line-height: 1.9;
  color: #043531;
  font-family: var(--font-tna);
}

.single-product .woocommerce-product-details__short-description ul {
  padding-right: 18px;
  margin: 12px 0 0;
  border-bottom: 1px solid #707070;
}

.single-product .woocommerce-product-details__short-description li {
  list-style: disc;
  margin-bottom: 6px;
}



.qty-unit-label {
  margin: auto 0;
  color: #043531;
  font-weight: 900;
  font-family: var(--font-tna);
}

/* ==============================
   Add to Cart Form
   ============================== */

.single-product form.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
  padding-top: 18px;
  /* border-top: 1px solid #eee; */
}

/* Quantity Wrapper */
.single-product .quantity-wrapper {
  display: flex;
  justify-content: flex-start;
  /* background-color: palegreen; */
}

.single-product .quantity {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
}

.single-product .quantity input.qty {
  width: 90px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 22px;
  font-weight: 100;
  outline: none;
  font-family: var(--font-tna);
}


.summary form.cart {
  display: flex;
  flex-direction: row;
  padding: 10px 0 !important;
  border-bottom: 1px solid #707070;

}

/* ==============================
   Custom Price Display
   ============================== */

.single-product .product-price-wrapper {
  font-size: 20px;
  font-weight: 600;
  color: #111;
  /* background-color: palegreen; */
}

.single-product .product-price-wrapper small {
  font-size: 13px;
  font-weight: 400;
  color: #777;
  margin-right: 6px;
}

/* ==============================
   Add to Cart Button
   ============================== */

.single-product .single_add_to_cart_button {
  width: 100%;
  /* width: 100px; */
  height: 50px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #001816, #0d9488);
  color: #fff;
  font-size: 18px;
  font-weight: 100;
  cursor: pointer;
  transition: all 1s ease;
  /* transition: width 2s; */
  font-family: var(--font-tna);
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

.single-product .single_add_to_cart_button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #0d9488, #001816);
  /* width: 300px; */
}

/* ==============================
   Stock Status
   ============================== */

/* .single-product .stock {
  font-size: 14px;
  font-weight: 500;
  color: #16a34a;
}

.single-product .stock.out-of-stock {
  color: #2b2b2b;
} */

/* ==============================
   Meta (Category, SKU, etc.)
   ============================== */

.single-product .product_meta {
  padding: 0 1em;
  font-size: 18px;
  color: #777;
  /* background-color: red; */
}

.single-product .product_meta a {
  color: #043531;
  text-decoration: none;
  font-family: var(--font-tna);
}

.single-product .product_meta a:hover {
  font-weight: 900;
}

/* ==============================
   Tabs – Clean Style
   ============================== */

.single-product .wc-tabs {
  /* border-bottom: 1px solid #5e0d0d; */
  border: none;
  padding: 0;
  margin: 0;
}

.single-product .wc-tabs li a {
  font-weight: 500;
  color: #660808;
}

.single-product .wc-tabs li.active a {
  color: #0f766e;
  /* border-bottom: 2px solid #0f766e; */
}

.single-product .woocommerce-Tabs-panel {
  padding: 24px 0;
  font-size: 15px;
  line-height: 1.9;
  color: #043531;
}


.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  background-color: #fff;
}

.single-product .woocommerce-Tabs-panel h2 {
  display: none;
}


.single-product .woocommerce-Tabs-panel ul li {
  list-style: none;
  position: relative;
  margin-bottom: 0.5rem;
  /* color: #555; */
  padding-right: 1.5rem;
}

.single-product .woocommerce-Tabs-panel ul li::before {

  content: "";
  position: absolute;
  right: 0;
  /* position bullet on the right */
  top: 8px;
  /* vertical alignment */
  width: 16px;
  height: 16px;
  background-image: url("../images/hero-arrow-left.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(0deg);
}


/* Tabs MUST be full width and below */
.single-product .woocommerce-tabs {
  flex: 0 0 100%;
  max-width: 100%;
  margin-top: 48px;
  /* background-color: rgb(19, 139, 139); */
}

@media (max-width: 768px) {

  .single-product .woocommerce-product-gallery,
  .single-product .summary,
  .single-product .woocommerce-tabs {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .single-product div.product {
    gap: 32px;
    margin: 0 .5em;
  }
}


/* ================ related products */
/* Related products wrapper */
.products {
  /* gap: 32px; */
  /* border-radius: 100px; */
}

.related.products {
  max-width: 1200px;
  margin: 48px auto;
  padding: 10px 16px;
  background-color: blueviolet;
}

/* Product list */
.related.products ul.products {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: blue;
}

/* Product item */
.related.products ul.products li.product {
  background: #ffffff;
  border-radius: 14px;
  padding: 0;
  padding-bottom: 1em;
  transition: all 0.3s ease;
  border: 1px solid #eee;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;

}

.related.products ul.products li.product:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}