/* =========================================================
   BUSH BAGS - SINGLE PRODUCT PAGE
   File: css/single-product.css
   ========================================================= */

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled{margin-top:-50px;}

/* ---------------------------------------------------------
   1. PRODUCT PAGE CONTAINER
   --------------------------------------------------------- */

.bb-single-product {
  width: var(--bb-container);
  margin: 0 auto;
  padding: 35px 0 70px;
  color: var(--bb-black, #000);
  font-size: var(--font-body, 18px);
}

.bb-single-product,
.bb-single-product * {
  box-sizing: border-box;
}

.bb-single-product img {
  max-width: 100%;
  height: auto;
}

.bb-single-product a {
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

/* ---------------------------------------------------------
   2. BREADCRUMBS
   --------------------------------------------------------- */

.woocommerce-breadcrumb {
  width: var(--bb-container);
  margin: 20px auto 0 !important;
  padding: 0;
  color: var(--bb-black) !important;
}

.woocommerce-breadcrumb a {
  color: var(--bb-black) !important;
  text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
  color: var(--bb-orange, #b84f26);
}

/* ---------------------------------------------------------
   3. MAIN PRODUCT LAYOUT
   --------------------------------------------------------- */

.bb-single-product-main {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(30px, 5vw, 75px);
}

.bb-single-product-gallery,
.bb-single-product-details {
  min-width: 0;
}

/* ---------------------------------------------------------
   4. PRODUCT GALLERY
   --------------------------------------------------------- */

.bb-single-product-gallery .woocommerce-product-gallery {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.bb-single-product-gallery .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.bb-single-product-gallery .woocommerce-product-gallery__image {
  overflow: hidden;
  background: var(--bb-light-back);
  border-radius: 5px;
 
}

.bb-single-product-gallery .woocommerce-product-gallery__image img {
  display: block;
  width: 100%;
  height: 450px !important;
  object-fit: contain;
  padding: 25px;
  margin: 0 auto;
}

.bb-single-product-gallery .woocommerce-product-gallery__image a {
  display: block;
}

.bb-single-product-gallery .woocommerce-product-gallery__trigger {
  top: 15px !important;
  right: 15px !important;
  width: 42px;
  height: 42px;
  line-height: 42px;
  background: var(--bb-white, #fff);
  color: var(--bb-black, #000);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
  text-decoration: none;
}

.bb-single-product-gallery .woocommerce-product-gallery__trigger:hover {
  background: var(--bb-orange, #b84f26);
  color: var(--bb-white, #fff);
}

/* Product gallery thumbnails */

.bb-single-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 15px 0 0 !important;
  padding: 0;
  list-style: none;
}

.bb-single-product-gallery .flex-control-thumbs li {
  float: none !important;
  width: 80px !important;
  margin: 0 !important;
  padding: 0;
}

.bb-single-product-gallery .flex-control-thumbs li img {
  display: block;
  width: 100%;
  height: 80px;
  object-fit: contain;
  padding: 5px;
  background: #f7f6f2;
  border: 1px solid var(--bb-border, #dedede);
  border-radius: 4px;
  opacity: 0.7;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.bb-single-product-gallery .flex-control-thumbs li img:hover,
.bb-single-product-gallery .flex-control-thumbs li img.flex-active {
  opacity: 1;
  border-color: var(--bb-black);
}

/* Sale badge */

.bb-single-product-gallery .onsale {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 5;
  display: inline-block;
  min-height: auto;
  min-width: auto;
  padding: 8px 14px;
  border-radius: 3px;
  background: var(--bb-orange, #b84f26);
  color: var(--bb-white, #fff);

  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   5. PRODUCT INFORMATION
   --------------------------------------------------------- */

.bb-single-product-details {
  width: 100%;
  float: none !important;
  margin: 0 !important;
  padding: 5px 0 0;
}

.bb-single-product-details .product_title {
  margin: 0 0 15px;
  color: var(--bb-black, #000);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.5px;
}

.bb-single-product-details .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
}

.bb-single-product-details .star-rating {
  color: var(--bb-orange, #b84f26);
}

.bb-single-product-details .woocommerce-review-link {
  color: var(--bb-black);
  text-decoration: none;
}

.bb-single-product-details .woocommerce-review-link:hover {
  color: var(--bb-orange, #b84f26);
}

/* Price */

.bb-single-product-details p.price,
.bb-single-product-details span.price {
  display: block;
  margin: 0 0 20px;
  color: var(--bb-black);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.3;
}

.bb-single-product-details .price del {
  color: var(--bb-black);
  font-size: 18px;
  font-weight: 400;
  opacity: 0.65;
}

.bb-single-product-details .price ins {
  color: var(--bb-black);
  text-decoration: none;
}

/* Short description */

.bb-single-product-details .woocommerce-product-details__short-description {
  margin: 0 0 25px;
  color: var(--bb-black);

  line-height: 1.8;
}

.bb-single-product-details .woocommerce-product-details__short-description p {
  margin: 0 0 12px;
}

.bb-single-product-details
  .woocommerce-product-details__short-description
  p:last-child {
  margin-bottom: 0;
}

/* Stock */

.bb-single-product-details .stock {
  margin: 0 0 15px;
}

.bb-single-product-details .stock.in-stock {
  color: var(--bb-green, #00a83b);
}

.bb-single-product-details .stock.out-of-stock {
  color: var(--bb-orange, #b84f26);
}

/* ---------------------------------------------------------
   6. PRODUCT VARIATIONS / COLOUR SELECTION
   --------------------------------------------------------- */

.bb-single-product-details .variations_form {
  margin: 25px 0 0;
}

.bb-single-product-details .variations {
  width: 100%;
  margin: 0 0 18px;
  border: 0;
  border-collapse: collapse;
}

.bb-single-product-details .variations tr {
  display: block;
  margin: 0 0 18px;
}

.bb-single-product-details .variations th,
.bb-single-product-details .variations td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.bb-single-product-details .variations th.label {
  margin: 0 0 8px;
}

.bb-single-product-details .variations label {
  display: block;
  margin: 0;
  color: var(--bb-black, #000);

  font-weight: 700;
}

.bb-single-product-details .variations td.value {
  position: relative;
}

/* Colour and other variation dropdowns */

.bb-single-product-details .variations select {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 42px 12px 15px;
  border: 1px solid var(--bb-border, #dedede);
  border-radius: 3px;
  background-color: var(--bb-white, #fff);
  color: var(--bb-black, #000);
  font-family: inherit;

  line-height: 1.4;
  cursor: pointer;
  appearance: auto;
  -webkit-appearance: menulist;
}

.bb-single-product-details .variations select:focus {
  outline: 2px solid var(--bb-black);
  outline-offset: 2px;
  border-color: var(--bb-black);
}

/* Reset variations link */

.bb-single-product-details .reset_variations {
  display: inline-block;
  margin: 10px 0 0;
  color: var(--bb-orange, #b84f26);

  text-decoration: underline;
}

.bb-single-product-details .reset_variations:hover {
  color: var(--bb-black);
}

/* Variation price and availability */

.bb-single-product-details .single_variation_wrap {
  margin-top: 10px;
}

.bb-single-product-details .woocommerce-variation {
  margin: 0 0 15px;
}

.bb-single-product-details .woocommerce-variation-price {
  margin-bottom: 10px;
}

.bb-single-product-details .woocommerce-variation-price .price {
  color: var(--bb-black);
  font-size: 24px;
  font-weight: 700;
}

.bb-single-product-details .woocommerce-variation-availability {
  margin: 0 0 12px;
}

/* ---------------------------------------------------------
   7. QUANTITY AND ADD TO CART
   --------------------------------------------------------- */

.bb-single-product-details form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin: 25px 0 20px;
}

/* .bb-single-product-details form.cart .quantity {
  flex: 0 0 auto;
  margin: 0 !important;
} */

.bb-single-product-details form.cart .quantity .qty {
  width: 76px;
  min-width: 76px;
  height: 52px;
  padding: 10px;
  border: 1px solid var(--bb-border, #dedede);
  border-radius: 3px;
  background: var(--bb-white, #fff);
  color: var(--bb-black, #000);
  font-family: inherit;

  text-align: center;
}

.bb-single-product-details form.cart .quantity .qty:focus {
  outline: 2px solid var(--bb-black);
  outline-offset: 2px;
}

/* Add to Cart */

.bb-single-product-details .single_add_to_cart_button,
.bb-single-product-details button.single_add_to_cart_button {
  display: inline-flex;
  flex: 1 1 200px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin: 0 !important;
  padding: 14px 24px;
  border: 1px solid var(--bb-orange) !important;
  border-radius: 3px;
  background: var(--bb-orange) !important;
  color: var(--bb-white, #fff);
  font-family: inherit;

  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.bb-single-product-details .single_add_to_cart_button:hover,
.bb-single-product-details button.single_add_to_cart_button:hover {
  border-color: var(--bb-orange, #b84f26);
  background: var(--bb-orange, #b84f26);
  color: var(--bb-white, #fff);
}

.bb-single-product-details .single_add_to_cart_button:disabled,
.bb-single-product-details .single_add_to_cart_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Grouped and external product buttons */

.bb-single-product-details .cart .button {
  min-height: 50px;
}

/* ---------------------------------------------------------
   8. PRODUCT PURCHASE NOTES
   --------------------------------------------------------- */

.bb-product-purchase-notes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 25px 0 0;
  padding: 20px 0;
  border-top: 1px solid var(--bb-border, #dedede);
  border-bottom: 1px solid var(--bb-border, #dedede);
}

.bb-product-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: var(--bb-black);

  line-height: 1.6;
}

.bb-product-note-icon {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #efeee8;
  color: var(--bb-black);

  font-weight: 700;
}

.bb-product-shipping-note {
  margin: 15px 0 0;
  color: var(--bb-black);

  line-height: 1.7;
}

/* ---------------------------------------------------------
   9. PRODUCT META
   --------------------------------------------------------- */

.bb-single-product-details .product_meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--bb-border, #dedede);
  color: var(--bb-black);

  line-height: 1.6;
}

.bb-single-product-details .product_meta a {
  color: var(--bb-black);
  text-decoration: none;
}

.bb-single-product-details .product_meta a:hover {
  color: var(--bb-orange, #b84f26);
}

/* ---------------------------------------------------------
   10. PRODUCT DESCRIPTION AND INFORMATION TABS
   --------------------------------------------------------- */

.bb-single-product-bottom {
  clear: both;
  margin-top: 75px;
}

.bb-single-product-bottom .woocommerce-tabs {
  width: 100%;
  margin: 0;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
  margin: 0 0 30px !important;
  padding: 0 !important;
  border-bottom: 1px solid var(--bb-border, #dedede);
  background: transparent;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs::before,
.bb-single-product-bottom .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs li {
  float: none !important;
  margin: 0 !important;
  padding: 0 0 15px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs li::before,
.bb-single-product-bottom .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0 !important;
  color: var(--bb-black);

  font-weight: 600;
  text-decoration: none;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs li a:hover,
.bb-single-product-bottom .woocommerce-tabs ul.tabs li.active a {
  color: var(--bb-orange, #b84f26);
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs li.active {
  position: relative;
}

.bb-single-product-bottom .woocommerce-tabs ul.tabs li.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  display: block;
  height: 3px;
  background: var(--bb-orange, #b84f26);
  content: "";
}

.bb-single-product-bottom .woocommerce-Tabs-panel {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--bb-black);

  line-height: 1.9;
}

.bb-single-product-bottom .woocommerce-Tabs-panel > h2:first-child {
  margin: 0 0 20px;
  color: var(--bb-black, #000);
  font-size: 24px;
  font-weight: 600;
}

.bb-single-product-bottom .woocommerce-Tabs-panel h2,
.bb-single-product-bottom .woocommerce-Tabs-panel h3 {
  color: var(--bb-black, #000);
}

.bb-single-product-bottom .woocommerce-Tabs-panel p {
  margin: 0 0 18px;
}

.bb-single-product-bottom .woocommerce-Tabs-panel ul,
.bb-single-product-bottom .woocommerce-Tabs-panel ol {
  padding-left: 22px;
}

.bb-single-product-bottom .woocommerce-Tabs-panel li {
  margin-bottom: 7px;
}

/* Additional information / specifications table */

.bb-single-product-bottom table.shop_attributes {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
}

.bb-single-product-bottom table.shop_attributes th,
.bb-single-product-bottom table.shop_attributes td {
  padding: 14px 18px;
  border: 0;
  border-bottom: 1px solid var(--bb-border, #dedede);
  background: transparent;
  text-align: left;
  vertical-align: top;
}

.bb-single-product-bottom table.shop_attributes th {
  width: 35%;
  color: var(--bb-black, #000);
  font-weight: 600;
}

.bb-single-product-bottom table.shop_attributes td {
  color: var(--bb-black);
}

.bb-single-product-bottom table.shop_attributes tr:nth-child(odd) th,
.bb-single-product-bottom table.shop_attributes tr:nth-child(odd) td {
  background: #f8f7f3;
}

.bb-single-product-bottom table.shop_attributes td p {
  margin: 0;
  padding: 0;
}

/* ---------------------------------------------------------
   11. CUSTOMER REVIEWS
   --------------------------------------------------------- */

.bb-single-product-bottom #reviews {
  width: 100%;
}

.bb-single-product-bottom #reviews #comments {
  margin-bottom: 35px;
}

.bb-single-product-bottom #reviews #comments h2 {
  margin: 0 0 20px;
  font-size: 24px;
}

.bb-single-product-bottom #reviews ol.commentlist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bb-single-product-bottom #reviews ol.commentlist li {
  margin: 0 0 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--bb-border, #dedede);
}

.bb-single-product-bottom #reviews .comment-text {
  margin-left: 65px;
  padding: 0 0 0 15px;
  border: 0;
}

.bb-single-product-bottom #reviews .star-rating {
  color: var(--bb-orange, #b84f26);
}

.bb-single-product-bottom #review_form_wrapper {
  margin-top: 30px;
}

.bb-single-product-bottom #review_form #reply-title {
  display: block;
  margin-bottom: 15px;
  color: var(--bb-black, #000);
  font-size: 21px;
  font-weight: 600;
}

.bb-single-product-bottom #review_form input[type="text"],
.bb-single-product-bottom #review_form input[type="email"],
.bb-single-product-bottom #review_form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--bb-border, #dedede);
  border-radius: 3px;
  background: var(--bb-white, #fff);
  font: inherit;
}

.bb-single-product-bottom #review_form textarea {
  min-height: 140px;
  resize: vertical;
}

.bb-single-product-bottom #review_form input:focus,
.bb-single-product-bottom #review_form textarea:focus {
  outline: 2px solid var(--bb-black);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   12. RELATED PRODUCTS AND UPSELLS
   --------------------------------------------------------- */

.bb-single-product-bottom .related,
.bb-single-product-bottom .up-sells {
  clear: both;
  margin-top: 75px;
}

.bb-single-product-bottom .related > h2,
.bb-single-product-bottom .up-sells > h2 {
  margin: 0 0 30px;
  color: var(--bb-black, #000);
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.bb-single-product-bottom ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin: 0 !important;
  padding: 0 !important;
}

.bb-single-product-bottom ul.products::before,
.bb-single-product-bottom ul.products::after {
  display: none !important;
}

.bb-single-product-bottom ul.products li.product {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 20px !important;
  text-align: left;
}

.bb-single-product-bottom ul.products li.product a img {
  display: block;
  width: 100%;
  /* height: 250px; */
  margin: 0 0 15px;
  padding: 15px;
  background: #f7f6f2;
  object-fit: contain;
  border-radius: 4px;
}

.bb-single-product-bottom
  ul.products
  li.product
  .woocommerce-loop-product__title {
  padding: 0;
  color: var(--bb-black, #000);

  font-weight: 600;
  line-height: 1.5;
}

.bb-single-product-bottom
  ul.products
  li.product
  a:hover
  .woocommerce-loop-product__title {
  color: var(--bb-orange, #b84f26);
}

.bb-single-product-bottom ul.products li.product .price {
  display: block;
  margin: 8px 0 12px;
  color: var(--bb-black);

  font-weight: 700;
}

.bb-single-product-bottom ul.products li.product .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0 0;
  padding: 11px 16px;
  border: 1px solid var(--bb-cta-olive, #62624b);
  border-radius: 3px;
  background: var(--bb-cta-olive, #62624b);
  color: var(--bb-white, #fff);

  font-weight: 600;
  text-align: center;
}

.bb-single-product-bottom ul.products li.product .button:hover {
  border-color: var(--bb-orange, #b84f26);
  background: var(--bb-orange, #b84f26);
  color: var(--bb-white, #fff);
}

/* ---------------------------------------------------------
   13. RESPONSIVE - TABLETS
   --------------------------------------------------------- */

@media (max-width: 1024px) {
  .bb-single-product {
    padding-top: 25px;
  }

  .bb-single-product-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }

  .bb-single-product-gallery .woocommerce-product-gallery__image img {
    height: 450px;
    padding: 20px;
  }

  .bb-single-product-gallery .flex-control-thumbs li {
    width: 68px !important;
  }

  .bb-single-product-gallery .flex-control-thumbs li img {
    height: 68px;
  }

  .bb-single-product-details .product_title {
    font-size: 34px;
  }

  .bb-single-product-details p.price,
  .bb-single-product-details span.price {
    font-size: 24px;
  }

  .bb-single-product-bottom ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .bb-single-product-bottom ul.products li.product a img {
    height: 210px;
  }
}

/* ---------------------------------------------------------
   14. RESPONSIVE - MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {
  .bb-single-product {
    width: var(--bb-container);
    padding: 20px 0 45px;
  }

  .woocommerce-breadcrumb {
    width: var(--bb-container);
    margin-top: 15px !important;

    line-height: 1.7;
  }

  .bb-single-product-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .bb-single-product-gallery,
  .bb-single-product-details {
    width: 100%;
  }

  .bb-single-product-gallery .woocommerce-product-gallery__image img {
    height: auto;
    max-height: 420px;
    min-height: 260px;
    padding: 15px;
    object-fit: contain;
  }

  .bb-single-product-gallery .flex-control-thumbs {
    gap: 8px;
    margin-top: 10px !important;
  }

  .bb-single-product-gallery .flex-control-thumbs li {
    width: 62px !important;
  }

  .bb-single-product-gallery .flex-control-thumbs li img {
    height: 62px;
  }

  .bb-single-product-details {
    padding-top: 0;
  }

  .bb-single-product-details .product_title {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.2;
  }

  .bb-single-product-details p.price,
  .bb-single-product-details span.price {
    margin-bottom: 16px;
    font-size: 24px;
  }

  .bb-single-product-details .woocommerce-product-details__short-description {
    margin-bottom: 20px;

    line-height: 1.8;
  }

  .bb-single-product-details .variations_form {
    margin-top: 20px;
  }

  .bb-single-product-details .variations select {
    min-height: 48px;
  }

  .bb-single-product-details form.cart {
    gap: 10px;
    margin-top: 20px;
  }

  .bb-single-product-details form.cart .quantity .qty {
    width: 65px;
    min-width: 65px;
    height: 50px;
  }

  .bb-single-product-details .single_add_to_cart_button,
  .bb-single-product-details button.single_add_to_cart_button {
    min-height: 50px;
    padding: 12px 15px;
  }

  .bb-product-purchase-notes {
    margin-top: 20px;
    padding: 18px 0;
  }

  .bb-single-product-bottom {
    margin-top: 45px;
  }

  .bb-single-product-bottom .woocommerce-tabs ul.tabs {
    gap: 12px 22px;
    margin-bottom: 22px !important;
  }

  .bb-single-product-bottom .woocommerce-tabs ul.tabs li {
    padding-bottom: 12px !important;
  }

  /* .bb-single-product-bottom .woocommerce-tabs ul.tabs li a {
  }

  .bb-single-product-bottom .woocommerce-Tabs-panel {
  } */

  .bb-single-product-bottom .woocommerce-Tabs-panel > h2:first-child {
    font-size: 22px;
  }

  .bb-single-product-bottom table.shop_attributes th,
  .bb-single-product-bottom table.shop_attributes td {
    padding: 12px 10px;
  }

  .bb-single-product-bottom table.shop_attributes th {
    width: 40%;
  }

  .bb-single-product-bottom .related,
  .bb-single-product-bottom .up-sells {
    margin-top: 50px;
  }

  .bb-single-product-bottom ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .bb-single-product-bottom ul.products li.product a img {
    height: 170px;
    margin-bottom: 10px;
    padding: 10px;
  }

  /* .bb-single-product-bottom
    ul.products
    li.product
    .woocommerce-loop-product__title {
  }

  .bb-single-product-bottom ul.products li.product .price {
  } */

  .bb-single-product-bottom ul.products li.product .button {
    width: 100%;
    padding: 10px 8px;
  }
}

/* ---------------------------------------------------------
   15. SMALL MOBILE SCREENS
   --------------------------------------------------------- */

@media (max-width: 380px) {
  .bb-single-product-details .product_title {
    font-size: 27px;
  }

  .bb-single-product-details form.cart {
    flex-wrap: wrap;
  }

  .bb-single-product-details form.cart .quantity {
    flex: 0 0 65px;
  }

  .bb-single-product-details .single_add_to_cart_button,
  .bb-single-product-details button.single_add_to_cart_button {
    flex: 1 1 calc(100% - 75px);
  }

  .bb-single-product-bottom ul.products li.product a img {
    height: 140px;
  }
}

/* ---------------------------------------------------------
   PRODUCT SPECIFICATIONS - ATTRIBUTE CARD GRID
   --------------------------------------------------------- */

.bb-product-specifications {
  width: 100%;
  margin: 65px 0 0;
  padding: 38px;
  background: #f8f7f3;
  border: 1px solid var(--bb-border, #dedede);
  border-radius: 5px;
}

.bb-product-specifications-heading {
  max-width: 680px;
  margin: 0 0 28px;
}

.bb-product-specifications-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: var(--bb-olive, #62624b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bb-product-specifications-heading h2 {
  margin: 0 0 10px;
  color: var(--bb-black, #000);
  font-size: clamp(25px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.2;
}

.bb-product-specifications-heading p {
  margin: 0;
  color: var(--bb-grey, #777);
  font-size: 16px;
  line-height: 1.6;
}

.bb-product-specifications-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bb-product-spec-card {
  min-width: 0;
  min-height: 125px;
  padding: 22px 24px;
  background: var(--bb-white, #fff);
  border: 1px solid var(--bb-border, #dedede);
  border-left: 4px solid var(--bb-olive, #62624b);
  border-radius: 4px;
}

.bb-product-spec-card h3 {
  margin: 0 0 12px;
  color: var(--bb-olive, #62624b);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.bb-product-spec-card-value {
  color: var(--bb-black, #000);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.bb-product-spec-card-value p {
  margin: 0 0 8px;
}

.bb-product-spec-card-value p:last-child {
  margin-bottom: 0;
}

/* Avoid showing the same visible attributes twice. */
.bb-single-product-bottom
  .woocommerce-tabs
  ul.tabs
  li.additional_information_tab {
  display: none !important;
}

@media (max-width: 767px) {
  .bb-product-specifications {
    margin-top: 40px;
    padding: 24px 18px;
  }

  .bb-product-specifications-heading {
    margin-bottom: 20px;
  }

  .bb-product-specifications-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bb-product-spec-card {
    min-height: auto;
    padding: 18px;
  }

  .bb-product-spec-card-value {
    font-size: 16px;
  }
}

/* ---------------------------------------------------------
   FULL PRODUCT DESCRIPTION UNDER THE PRODUCT IMAGE
   --------------------------------------------------------- */

.bb-product-description-under-image {
  margin: 28px 0 0;
  padding: 0 4px;
  color: var(--bb-black, #000);
  font-size: 16px;
  line-height: 1.85;
}

.bb-product-description-under-image h2 {
  margin: 0 0 14px;
  color: var(--bb-black, #000);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.25;
}

.bb-product-description-under-image p {
  margin: 0 0 16px;
}

.bb-product-description-under-image p:last-child {
  margin-bottom: 0;
}

.bb-product-description-under-image ul,
.bb-product-description-under-image ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.bb-product-description-under-image li {
  margin-bottom: 7px;
}

/* The full description is now beneath the image, so keep only reviews
   in the lower WooCommerce tabs area. */
.bb-single-product-bottom .woocommerce-tabs ul.tabs li.description_tab,
.bb-single-product-bottom
  .woocommerce-tabs
  .woocommerce-Tabs-panel--description,
.bb-single-product-bottom
  .woocommerce-tabs
  ul.tabs
  li.additional_information_tab,
.bb-single-product-bottom
  .woocommerce-tabs
  .woocommerce-Tabs-panel--additional_information {
  display: none !important;
}

@media (max-width: 767px) {
  .bb-product-description-under-image {
    margin-top: 22px;
    padding: 0;
    font-size: 15px;
  }

  .bb-product-description-under-image h2 {
    margin-bottom: 10px;
  }
}

/* =========================================================
   MOBILE PRODUCT INFORMATION ORDER
   ========================================================= */

/* Hidden on desktop */
.bb-mobile-product-info {
    display: none;
}

@media (max-width: 767px) {

    /* Mobile layout: information first, then image and description */
    .bb-single-product-main {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .bb-mobile-product-info {
        display: block;
        order: 0;
        width: 100%;
        margin: 0;
    }

    .bb-single-product-gallery {
        order: 1;
        width: 100%;
    }

    .bb-single-product-details {
        order: 2;
        width: 100%;
    }

    /* Product title */
    .bb-mobile-product-info .product_title {
        margin: 0 0 10px;
        font-size: 30px;
        line-height: 1.2;
    }

    /* Short description */
    .bb-mobile-product-info .woocommerce-product-details__short-description {
        margin: 0 0 12px;
        font-size: 15px;
        line-height: 1.7;
    }

    .bb-mobile-product-info .woocommerce-product-details__short-description p:last-child {
        margin-bottom: 0;
    }

    /* Product price */
    .bb-mobile-product-info .price {
        display: block;
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
    }

    .bb-mobile-product-info .price del {
        font-size: 16px;
        font-weight: 400;
        opacity: 0.65;
    }

    .bb-mobile-product-info .price ins {
        text-decoration: none;
    }

    /* Hide duplicate title, short description and standard price */
    .bb-single-product-details > .product_title,
    .bb-single-product-details > .woocommerce-product-details__short-description,
    .bb-single-product-details > p.price,
    .bb-single-product-details > span.price {
        display: none !important;
    }

    /* Keep the full description beneath the image */
    .bb-product-description-under-image {
        margin-top: 22px;
    }
}


/* =========================================================
   WISHLIST HEART - MOBILE ONLY
   Plugin: WBTE WooCommerce Wishlist
   ========================================================= */

@media (max-width: 767px) {

    /* Wishlist control */
    .bb-single-product-bottom .wbte_wishlist.wt-wishlist-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 44px !important;
        height: 44px !important;
        margin: 8px auto 0 !important;
        padding: 0 !important;
        line-height: 1 !important;
        vertical-align: middle;
    }

    /* The heart is an SVG image */
    .bb-single-product-bottom .wbte_wishlist.wt-wishlist-button img {
        display: block !important;
        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: contain;
    }

    /* Remove the unwanted line break after the heart */
    .bb-single-product-bottom .wbte_wishlist.wt-wishlist-button br {
        display: none !important;
    }

}