/*
 Theme Name:   bootScore Child
 Description:  bootScore Child Theme
 Author:       bootScore
 Author URI:   https://bootscore.me
 Template:     bootscore-main
 Version:      5.3.0
 Text Domain:  bootscore
*/

/* 
All style editing is done via scss/_bscore_custom.scss
*/

* {
  font-family: 'Jost', Arial, sans-serif !important;
}

/* WooCommerce draws stars from a private "star" font whose glyph for "s" is a
   star. The * rule above wins over Woo's font-family, so ratings print as SSSSS.
   Keep Jost everywhere else; put the star font back only on rating marks. */
.star-rating,
.star-rating::before,
.star-rating span::before,
p.stars a::before,
p.stars a::after {
  font-family: star !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

body {
  background-color: #fcfcfc;
  /* Very subtle off-white for a clean look */
}

/*** Sticky header — site-wide ***/
/* overflow-x:hidden on body breaks sticky; clip keeps horizontal lock + sticky works */
html,
body {
  overflow-x: clip;
}

/* PDP: kill WooCommerce summary bottom margin (huge buybox→tabs gap on mobile) */
body.single-product div.product div.summary,
body.single-product .isarva-pdp__buybox.summary {
  margin-bottom: 0 !important;
}

#masthead.site-header,
#masthead.site-header.sticky-top {
  position: sticky !important;
  top: 0;
  z-index: 1030;
  width: 100%;
  background-color: #fff;
}

#masthead.site-header > .bg-body-tertiary {
  background-color: #fff !important;
  box-shadow: 0 2px 14px rgba(17, 49, 35, 0.08);
}

/* WP admin bar offset when logged in */
.admin-bar #masthead.site-header,
.admin-bar #masthead.site-header.sticky-top {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar #masthead.site-header,
  .admin-bar #masthead.site-header.sticky-top {
    top: 46px;
  }
}

html {
  scroll-padding-top: var(--isarva-header-offset, 140px);
}

:root {
  --isarva-header-height: 120px;
  --isarva-header-offset: 112px;
}

/*** Header Section **/
.top-bar {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

.top-bar a {
  color: #6c757d;
  transition: color 0.2s ease-in-out;
}

.top-bar a:hover {
  color: #28a745;
  /* Bootstrap success green */
  text-decoration: none;
}

.top-bar span {
  color: #ccc;
}

.main-header .form-control {
  border-radius: 0;
  box-shadow: none;
}

.main-header .btn {
  border-radius: 0;
}

.main-header a {
  text-decoration: none;
  font-size: 14px;
}

.main-header .badge {
  font-size: 10px;
  padding: 4px 6px;
  line-height: 1;
}

.btn-custom-color {
  background-color: #ef7e05;
  border: 1px solid #ef7e05;
}

.btn-custom-color:hover {
  background-color: transparent;
  border: 1px solid #ef7e05;
  color: #ef7e05 !important;
}

.custom-search-bar {
  border: 2px solid #2f7046;
  /* Border similar to the image */
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
}

.custom-search-input {
  flex-grow: 1;
  border: none;
  padding: 10px 15px;
  font-style: italic;
  outline: none;
  font-size: 15px;
}

.custom-search-input::placeholder {
  color: #999;
  font-style: italic;
}

.custom-search-btn {
  background-color: #01582b;
  color: #fff;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 5px;
  border-radius: 4px;
}

.custom-search-btn:hover {
  background-color: #014322;
}

.bg-dark-green {
  background-color: #2f7046;
}


@media (min-width: 1024px) {
  #mega-menu-wrap-main-menu #mega-menu-main-menu>li.mega-menu-item>a.mega-menu-link {
    line-height: 40px;
    height: 40px;
    padding: 0px 40px 0px 10px;

    width: auto;
    display: block;
    color: #fff;
    text-transform: none;
    text-decoration: none;
    text-align: left;

    background: none;

    border: 0;
    border-radius: 0;
    font-family: 'Jost', Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: normal;
    outline: none;
  }

  #mega-menu-wrap-main-menu #mega-menu-main-menu>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
  #mega-menu-wrap-main-menu #mega-menu-main-menu>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
  #mega-menu-wrap-main-menu #mega-menu-main-menu>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link {
    background: none;
    color: #ef7e05 !important;
    font-weight: normal;
    text-decoration: none;

  }

  #mega-menu-wrap-main-menu #mega-menu-main-menu>li.mega-menu-item>a.mega-menu-link:hover,
  #mega-menu-wrap-main-menu #mega-menu-main-menu>li.mega-menu-item>a.mega-menu-link:focus {
    background: none;
    color: #ef7e05 !important;
    font-weight: normal;
    text-decoration: none;

  }
}

.nav-link {
  color: #747373 !important;
}

.secondary-menu>li {
  display: inline-block;
  /* keep items on the same line */
  margin-right: 10px;
  position: relative;
}

.secondary-menu>li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -13px;
  top: 5px;
  color: #999;
  padding-left: 10px;
}

/**** Header Section End **/


/** Footer Css*/
.footer-custom {
  background-color: #0e4637;
}

.footer-custom h5 {
  font-weight: 600;
}

.footer-custom .form-control {
  border-radius: 0;
  font-size: 14px;
}

.footer-custom .btn-warning {
  background-color: #f6921e;
  border: none;
}

.footer-custom .btn-outline-light {
  width: 32px;
  height: 32px;
  padding: 0;
  line-height: 32px;
  text-align: center;
}

.footer-custom a:hover {
  color: #f6921e !important;
}

.footer-logo-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo-divider .line {
  flex: 1;
  height: 1px;
  background-color: #ccc;
  opacity: 0.5;
}

.footer-center-logo {
  height: 50px;
  max-width: 200px;
}

.newsletter-form {
  display: flex;
  max-width: 400px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.newsletter-input {
  flex: 1;
  padding: 10px 8px;
  border: none;
  outline: none;
  font-size: 16px;
  color: #333;
}

.newsletter-btn {
  background-color: #f5820d;
  /* Exact orange from your screenshot */
  color: #fff;
  padding: 10px 10px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background-color: #e06f00;
}

/* .footer-column + .footer-column {
    margin-left: 1.5rem;
  } */

.text-custom-color {
  color: #ef7e05 !important;
}

.dark-color {
  color: #909090;
}



.img-fluid {
  border-radius: 10px !important;
  width: 100%;
}

.img-section {
  padding-bottom: 30px;
}

#benefits-section {
  padding-top: 3.5rem !important;
  padding-bottom: 3rem !important;
}

.benefit-box {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%) !important;
  border: 1px solid #d8e8de !important;
  border-radius: 14px !important;
  transition: all 0.25s ease;
  color: #171717;
  box-shadow: 0 6px 18px rgba(17, 49, 35, 0.06);
  padding: 14px 16px !important;
}

.benefit-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 49, 35, 0.1);
  border-color: #b7d2c2 !important;
}

.benefit-box img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  flex: 0 0 36px;
}

.benefit-box h6 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c2c2c;
}

.benefit-box p {
  font-size: 20px;
  color: #1f332a;
  font-weight: 600;
  line-height: 1.28;
  font-family: "Jost", Arial, sans-serif;
}

.custom-py-8 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (max-width: 768px) {
  #benefits-section {
    padding-top: 2.25rem !important;
    padding-bottom: 2rem !important;
  }

  .custom-py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .benefit-box {
    padding: 12px 14px !important;
  }

  .benefit-box p {
    font-size: 17px;
  }
}

/* Checkout: reduce gap between form and footer promo (was py-5 + .custom-py-8 stacking) */
body.woocommerce-checkout #content.site-content {
  padding-bottom: 1.25rem !important;
}

/* Checkout: Select2 full width on desktop too (was only in mobile block; country field looked broken) */
body.woocommerce-checkout .select2-container,
body.woocommerce-checkout .select2-container--default {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout .woocommerce-input-wrapper .select2-container {
  width: 100% !important;
}

body.woocommerce-checkout #customer_details select,
body.woocommerce-checkout .woocommerce-shipping-fields select,
body.woocommerce-checkout select#billing_country,
body.woocommerce-checkout select#shipping_country,
body.woocommerce-checkout select#billing_state,
body.woocommerce-checkout select#shipping_state {
  width: 100% !important;
  max-width: 100% !important;
}

body.woocommerce-checkout #billing_country_field.form-row,
body.woocommerce-checkout #shipping_country_field.form-row {
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

@media (max-width: 767.98px) {
  body.woocommerce-checkout #content.site-content {
    padding-bottom: 1rem !important;
  }
}

body.woocommerce-checkout #benefits-section {
  padding-top: 1.5rem !important;
  padding-bottom: 2.5rem !important;
}

body.woocommerce-checkout #benefits-section .img-section {
  padding-bottom: 1rem;
}

@media (max-width: 767.98px) {
  body.woocommerce-checkout #benefits-section {
    padding-top: 1.25rem !important;
    padding-bottom: 1.75rem !important;
  }
}

/* Checkout mobile: less gap under header, tighter hero banner, wider form columns, full-width country Select2 */
@media (max-width: 767.98px) {
  body.woocommerce-checkout #content.site-content.py-5,
  body.woocommerce-checkout #content.site-content {
    padding-top: 0.65rem !important;
    padding-left: max(0.65rem, env(safe-area-inset-left, 0px)) !important;
    padding-right: max(0.65rem, env(safe-area-inset-right, 0px)) !important;
  }

  body.woocommerce-checkout .checkout-banner {
    padding: 1rem 0.875rem !important;
    margin-bottom: 1rem !important;
    border-radius: 10px !important;
  }

  body.woocommerce-checkout .checkout-banner .page-title {
    font-size: 1.45rem !important;
    margin: 0 0 0.35rem !important;
  }

  body.woocommerce-checkout .checkout-banner .checkout-banner-inner {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-checkout .woocommerce-billing-fields,
  body.woocommerce-checkout .woocommerce-additional-fields,
  body.woocommerce-checkout .woocommerce-account-fields {
    padding: 1rem 0.875rem !important;
    margin-bottom: 1.25rem !important;
  }

  body.woocommerce-checkout .col-lg-5 .order_review_custom_wrapper,
  body.woocommerce-checkout .col-lg-5 #payment {
    padding: 1rem 0.875rem !important;
    margin-bottom: 1.25rem !important;
  }

  body.woocommerce-checkout #customer_details .form-row-wide,
  body.woocommerce-checkout #customer_details .form-row.form-row-wide {
    width: 100% !important;
  }
}

/* SelectWoo/Select2: inset selected text (country & state) — matches other checkout inputs */
body.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1.45 !important;
  display: block !important;
  flex: 1 1 auto;
  min-width: 0;
}

body.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 60px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 0 2.5rem 0 1rem !important;
  box-sizing: border-box;
}




/*** Icon Fixes **/
.fa-trash-can,
.fa-trash {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

/*** Footer Section Css End**/

/* Product Loop Modern Styling */
.card.product_list_card {
  transition: none !important;
}

/* Product Title Wrap Fix */
#main .product_list_card h6 {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  text-align: center !important;
  min-height: 44px !important;
  /* Ensures at least 2 lines of space */
  height: auto !important;
  margin-bottom: 10px !important;
  line-height: 1.2 !important;
  padding-left: 5px !important;
  padding-right: 5px !important;
}

.card.product_list_card>a,
.card.product_list_card>.woocommerce-loop-product__link,
.card.product_list_card .woocommerce-loop-product-link,
.bestseller-card>a {
  width: 100% !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  border: none !important;
  overflow: hidden !important;
  height: 400px !important;
  /* Fixed box height */
  position: relative !important;
  border-radius: 10px 10px 0 0 !important;
}

/* Flavor / Variation Selection */
.card.product_list_card img,
.bestseller-card img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

@media (max-width: 768px) {

  .card.product_list_card,
  .bestseller-card.card {
    padding: 0 !important;
  }

  .card.product_list_card img,
  .bestseller-card img {
    height: 100% !important;
  }

  .card.product_list_card>a,
  .bestseller-card>a {
    height: 500px !important;
  }
}

/* Product Prices Styling */
#main .product_list_card .price {
  font-size: 1.15rem !important;
  margin-bottom: 3px !important;
  margin-top: 0 !important;
  display: block !important;
}

#main .product_list_card .price ins,
#main .product_list_card .price ins *,
#main .product_list_card .price>.woocommerce-Price-amount,
#main .product_list_card .price>.woocommerce-Price-amount * {
  font-weight: 800 !important;
  /* Extra bold for the actual price */
  color: #006531 !important;
  /* Brand Green */
  text-decoration: none !important;
}

#main .product_list_card .price del {
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  color: #718096 !important;
  margin-right: 8px !important;
}

#main .product_list_card .card-body {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  padding: 15px 15px 0 15px !important;
  /* Side padding for content, no bottom padding for flush buttons */
}

.card-variation-slip {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  padding: 0 !important;
}

/* Force standard card body padding to ensure consistency */
.card.product_list_card,
.bestseller-card.card {
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  position: relative !important;
  border-radius: 10px !important;
  /* All 4 corners rounded */
  display: flex !important;
  flex-direction: column !important;
  background-color: #fff !important;
}

/* Sale Badge Flush Fix */
#main .product_list_card span.onsale,
#main .product_list_card .badge.bg-success {
  top: -1px !important;
  left: -1px !important;
  margin: 0 !important;
  border-radius: 10px 0 10px 0 !important;
  /* Matching curve for top-left */
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  z-index: 5 !important;
  min-width: fit-content !important;
  height: auto !important;
  text-transform: uppercase !important;
}

.variation-select-parent {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  margin-bottom: 5px !important;
  width: 100% !important;
}

.variation-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #718096 !important;
  margin-bottom: 5px !important;
  text-transform: uppercase !important;
}

.variation-select-parent select {
  width: 100% !important;
  height: 40px !important;
}

/* Action Buttons Footer Row */
#main .product-loop-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: calc(100% + 30px) !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
  margin-bottom: 0 !important;
  margin-top: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-top: 1px solid #f1f1f1 !important;
  height: 54px !important;
  align-items: stretch !important;
}

/* Media query for uniform mobile padding */
@media (max-width: 768px) {
  #main .product_list_card {
    padding: 0 !important;
  }

  .card.product_list_card .product-loop-actions,
  .bestseller-card .product-loop-actions {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
  }
}

.product-loop-actions .single_variation_wrap {
  width: 70px !important;
  min-width: 70px !important;
  flex: 0 0 70px !important;
  display: flex !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-loop-actions .woocommerce-variation-add-to-cart {
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
}

/* Force the Cart Button Style with High Specificity */
#main .product_list_card .single_add_to_cart_button.button {
  background-color: #2f6f4e !important;
  /* Herbal Green */
  color: #fff !important;
  width: 100% !important;
  height: 54px !important;
  border-radius: 0 0 0 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  min-width: fit-content !important;
}

#main .product_list_card .single_add_to_cart_button.button:hover {
  background-color: #275e42 !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.product-loop-actions .single_add_to_cart_button svg {
  color: #fff !important;
}

.product-loop-actions .single_add_to_cart_button .add-text {
  display: none !important;
}

.buy-now-loop-button {
  flex-grow: 1 !important;
  height: 54px !important;
  background-color: #c66a1d !important;
  /* Soft Terracotta */
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
  white-space: nowrap !important;
  border-radius: 0 0 8px 0 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 8px rgba(198, 106, 29, 0.18);
  min-width: fit-content !important;
}

.buy-now-loop-button:hover {
  background-color: #a95612 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(169, 86, 18, 0.24);
}

/* Mobile Spacing for Home Page Sections */
@media (max-width: 768px) {
  #popular-brands {
    margin-bottom: 40px !important;
  }

  #testimonials-section {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }

  #testimonials-section .testimonial-item {
    margin-bottom: 20px !important;
  }
}

/* Single Product Trust Badges & Meta Alignment */
.product_meta_wrapper {
  padding-top: 15px;
  border-top: 1px solid #f1f1f1;
  margin-top: 1.5rem !important;
}

.product_meta_wrapper .product_meta .sku_wrapper,
.product_meta_wrapper .product_meta .posted_in {
  display: block;
  margin-bottom: 4px;
  font-size: 0.85rem;
  color: #718096;
}

.product_meta_wrapper .product_meta a {
  color: #2f7046;
  text-decoration: none;
  font-weight: 500;
}

.product_meta_wrapper .product_meta a:hover {
  text-decoration: underline;
}

.shiping_labels_wrapper .shiping_labels {
  background-color: #f3faf6 !important;
  /* Premium light green tint */
  border: 1px solid #e2efe8 !important;
  padding: 1.25rem 1.5rem !important;
  border-radius: 12px !important;
  margin-top: 1.5rem !important;
}

.shiping_labels_wrapper .shiping_labels ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1.5rem 2.5rem !important;
  list-style: none !important;
}

.shiping_labels_wrapper .shiping_labels ul li {
  font-size: 0.9rem !important;
  color: #1a4d2e !important;
  margin-bottom: 0 !important;
}

.shiping_labels_wrapper .label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.shiping_labels_wrapper .shiping_labels p {
  font-weight: 600 !important;
  letter-spacing: -0.01em;
}

@media (max-width: 991px) {
  .shiping_labels_wrapper .shiping_labels ul {
    flex-direction: column !important;
    gap: 1rem !important;
  }
}

/* ===== Single Product Image: 2:3 stage — keep Owl horizontal ===== */
.single-product-image .item {
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background-color: #eef5f0;
  background-image: none;
}

.woocommerce-product-gallery .product-gallery-slider.owl-carousel,
.woocommerce-product-gallery .single-product-image {
  aspect-ratio: 2 / 3;
  width: 100%;
}

.woocommerce-product-gallery .owl-stage-outer {
  overflow: hidden !important;
  height: 100%;
}

.woocommerce-product-gallery .owl-stage,
.woocommerce-product-gallery .owl-item {
  height: 100%;
}

.woocommerce-product-gallery .owl-item .item {
  height: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background-color: #eef5f0;
  background-image: none;
}

.single-product-image .item img,
.woocommerce-product-gallery .owl-item .item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
}

@media (max-width: 768px) {

  .woocommerce-product-gallery .product-gallery-slider.owl-carousel,
  .woocommerce-product-gallery .single-product-image {
    aspect-ratio: 2 / 3;
  }

  .single-product-image .item,
  .woocommerce-product-gallery .owl-item .item {
    height: 100% !important;
    aspect-ratio: auto !important;
  }

  .single-product-image .item img,
  .woocommerce-product-gallery .owl-item .item img {
    object-fit: contain !important;
  }
}

/* Single product: mint 2:3 gallery frame */
.single-product .isarva-product-gallery-frame {
  border: 1px solid rgba(17, 49, 35, 0.1);
  border-radius: 16px;
  background: #eef5f0;
  box-shadow: 0 8px 24px rgba(17, 49, 35, 0.06);
  padding: 0.5rem;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.single-product .isarva-product-gallery-frame .woocommerce-product-gallery,
.single-product .isarva-product-gallery-frame div.images.woocommerce-product-gallery,
.single-product div.product .isarva-product-gallery-frame div.images {
  width: 100% !important;
  max-width: 100% !important;
  padding-right: 0 !important;
  float: none !important;
  margin-bottom: 0 !important;
}

.single-product .ay_product_media_column {
  flex: 0 0 30%;
  max-width: 30%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
}

.single-product .ay_summary_desc_main_section .ay_woocommerce_product_details__short_description {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
}

.single-product .ay_summary_desc_main_section > .summary.entry-summary {
  width: auto !important;
  flex: 1 1 0;
  min-width: 0;
}

.single-product .ay_summary_desc_main_section .ay_woocommerce_product_category {
  flex: 0 0 35%;
  width: 35%;
  max-width: 35%;
}

@media (max-width: 1024px) {
  .single-product .ay_product_media_column {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .single-product .ay_summary_desc_main_section .ay_woocommerce_product_details__short_description {
    width: 100% !important;
  }

  .single-product .ay_summary_desc_main_section .ay_woocommerce_product_category {
    width: 100%;
    max-width: 100%;
    flex: none;
  }

  /* Prevent summary column from stretching and leaving a huge gap above Category */
  .single-product .ay_summary_desc_main_section > .summary.entry-summary,
  .single-product .ay_summary_desc_main_section > .summary.entry-summary.ay_woocommerce_product_details__short_description {
    flex: none !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
    min-height: 0;
  }

  .single-product .ay_summary_desc_main_section .ay_woocommerce_product_details__short_description {
    flex: none !important;
    flex-grow: 0 !important;
    flex-basis: auto !important;
  }
}

@media (max-width: 768px) {
  .single-product .isarva-product-gallery-frame {
    padding: 0.65rem;
    border-radius: 12px;
  }

  /* Breadcrumb: comfortable padding, vertically centered */
  body.single-product section#breadcrumbs-section {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
  }

  body.single-product #content.site-content.py-5 {
    padding-top: 0.75rem !important;
  }

  /* Trust/meta → Category: tighter vertical rhythm */
  body.single-product .ay_summary_desc_main_section {
    gap: 10px;
  }

  body.single-product .shiping_labels_wrapper.mt-4,
  body.single-product .product_meta_wrapper.mt-4 {
    margin-top: 0.75rem !important;
  }
}

/* ===== SKU/Meta + Trust Badges: Always below image+summary row ===== */
.product_meta_wrapper,
.shiping_labels_wrapper {
  width: 100% !important;
  max-width: 100% !important;
  clear: both;
  margin-right: 0 !important;
}

.shiping_labels_wrapper .shiping_labels {
  max-width: 100%;
}

/* ===== Category Count Badge: Auto-size for 3-4 digit numbers ===== */
.ay_summary_desc_main_section .category-count {
  background-color: #b9eed2 !important;
  color: #3a8f63 !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  /* Remove fixed size — use padding + min-width instead */
  width: auto !important;
  height: auto !important;
  min-width: 36px !important;
  padding: 5px 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
/* Single Product Actions Wrapper Desktop */
.single-product .summary .single-product-actions-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 8px 0 12px !important;
}

.single-product .summary .single-product-actions-wrapper .quantity,
.single-product .summary .single-product-actions-wrapper .single_add_to_cart_button {
  margin: 0 !important;
}

/* Single Product Actions — keep in normal flow on mobile (no fixed overlay) */
@media (max-width: 768px) {
  .single-product .summary .single-product-actions-wrapper {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    z-index: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0.65rem 0 0.85rem !important;
    box-sizing: border-box !important;
  }

  .single-product .single-product-actions-wrapper .quantity {
    margin-bottom: 0 !important;
    width: 96px !important;
    flex-shrink: 0;
  }

  .single-product .single-product-actions-wrapper .quantity .input-group {
    flex-wrap: nowrap !important;
  }

  .single-product .single-product-actions-wrapper .quantity input {
    height: 48px !important;
    border: 1px solid #5e9d7d !important;
    padding-right: 25px !important;
    font-size: 14px !important;
  }

  .single-product .single-product-actions-wrapper .single_add_to_cart_button {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    height: 48px !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    text-transform: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
    line-height: 1 !important;
    padding: 0 0.85rem !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }

  .single-product .single-product-actions-wrapper .single_add_to_cart_button .add-text {
    text-transform: uppercase !important;
    letter-spacing: 0.02em;
  }

  .single-product .single-product-actions-wrapper .single_add_to_cart_button svg {
    flex-shrink: 0;
    width: 16px !important;
    height: 16px !important;
  }

  .single-product .single-product-actions-wrapper > button,
  .single-product .single-product-actions-wrapper > a {
    flex: 1;
    margin: 0 !important;
    height: 48px !important;
    border-radius: 10px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .single-product .summary .single-product-actions-wrapper .single_add_to_cart_button {
    background-color: #006c34 !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(0, 108, 52, 0.2) !important;
    font-weight: 700 !important;
  }

  .single-product .summary .single-product-actions-wrapper .buy_now_button,
  .single-product .summary .single-product-actions-wrapper .button.alt.buy-now,
  .single-product .summary .single-product-actions-wrapper .wcn_buy_now_button {
    background-color: #ef7e05 !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(239, 126, 5, 0.2) !important;
    font-weight: 700 !important;
  }

  body.single-product {
    padding-bottom: 0 !important;
  }

  body.isarva-cart-drawer-open.single-product .summary .single-product-actions-wrapper {
    display: flex !important;
  }

  body.isarva-cart-drawer-open.single-product {
    padding-bottom: 0 !important;
  }
  
  .single-product .variations_form.cart {
    position: static !important;
  }
}

/* Related products — same visual system as homepage Bestsellers (mhp-product-card) */
.related.products.mhp-products {
  --mhp-green: #2f6f4e;
  --mhp-accent: #c66a1d;
  --mhp-text: #15202b;
  --mhp-border: #e7ece9;
  margin-top: 0.75rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(47, 112, 70, 0.12);
}
.related.products.mhp-products .mhp-section-head {
  margin-bottom: 0.85rem;
}
.related.products.mhp-products .mhp-section-head h2 {
  font-size: clamp(22px, 2.5vw, 34px);
  margin: 0;
  color: var(--mhp-text);
  font-weight: 700;
  text-align: left;
}

/* Single product: tighter Related block (esp. mobile) */
body.single-product .isarva-pdp__related {
  margin-top: 0.5rem !important;
  padding: 0.85rem 0.9rem 0.35rem !important;
}

body.single-product .isarva-pdp__related .related.products.mhp-products {
  margin-top: 0 !important;
  padding-top: 0.35rem !important;
  border-top: 0 !important;
}

body.single-product .isarva-pdp__related .related.products.mhp-products .mhp-section-head {
  margin-bottom: 0.75rem !important;
}

@media (max-width: 767.98px) {
  body.single-product .isarva-pdp__related {
    margin-top: 0.35rem !important;
    padding: 0.75rem 0.75rem 0.25rem !important;
  }

  body.single-product .isarva-pdp__related .related.products.mhp-products {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
  }

  body.single-product .isarva-pdp__related .related.products.mhp-products .mhp-section-head {
    margin-bottom: 0.65rem !important;
  }

  body.single-product .isarva-pdp__related .related.products.mhp-products .mhp-section-head h2 {
    font-size: 1.25rem !important;
  }
}
.related.products.mhp-products .mhp-product-card {
  border: 1px solid var(--mhp-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.related.products.mhp-products .mhp-product-image-wrap {
  display: block;
  background: #f8fbf9;
  aspect-ratio: 1 / 1;
}
.related.products.mhp-products .mhp-product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related.products.mhp-products .mhp-product-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.related.products.mhp-products .mhp-product-body h3 {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 10px;
  min-height: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related.products.mhp-products .mhp-product-body h3 a {
  color: #1c2b25;
  text-decoration: none;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related.products.mhp-products .mhp-price {
  color: var(--mhp-green);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 15px;
  min-height: 1.3em;
}
.related.products.mhp-products .mhp-variation-wrap,
.related.products.mhp-products .mhp-variation-placeholder {
  display: block;
  min-height: 42px;
  margin-bottom: 10px;
}
.related.products.mhp-products .mhp-product-actions {
  margin-top: auto;
}
.related.products.mhp-products .mhp-variation-select {
  width: 100%;
  height: 38px;
  border: 1px solid #b8cdc2;
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  color: #22382f;
  padding: 0 10px;
  outline: none;
  max-width: 100%;
}
.related.products.mhp-products .mhp-variation-select.is-invalid {
  border-color: #d54646;
  box-shadow: 0 0 0 2px rgba(213, 70, 70, 0.14);
}
.related.products.mhp-products .mhp-product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.related.products.mhp-products .mhp-btn {
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}
.related.products.mhp-products .mhp-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #edf5f0;
  border: 1px solid #d4e2db;
  color: var(--mhp-green);
  padding: 0;
  flex: 0 0 40px;
  cursor: pointer;
}
.related.products.mhp-products .mhp-btn-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.related.products.mhp-products .mhp-btn-icon.is-loading {
  opacity: 0.7;
  pointer-events: none;
}
.related.products.mhp-products .mhp-btn-icon.is-added {
  background: #2f6f4e;
  border-color: #2f6f4e;
  color: #fff;
}
.related.products.mhp-products .mhp-product-actions .mhp-btn-primary {
  flex: 1 1 auto;
  min-width: 0;
  background: #006c34;
  border-color: #006c34;
  color: #fff;
  height: 40px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.related.products.mhp-products .mhp-product-actions .mhp-btn-primary:hover {
  background: #08522a;
  border-color: #08522a;
  color: #fff;
}

@media (max-width: 575px) {
  .related.products.mhp-products .mhp-product-actions {
    gap: 6px;
  }
  .related.products.mhp-products .mhp-btn-icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
    border-radius: 9px;
  }
  .related.products.mhp-products .mhp-btn-icon svg {
    width: 16px;
    height: 16px;
  }
  .related.products.mhp-products .mhp-product-actions .mhp-btn-primary {
    height: 36px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 9px;
  }
}

/* Deals of the Day - Title & Price Styles */
#deals-of-day .product_list_card h6 {
  min-height: auto !important;
  margin-bottom: 10px !important;
}

#deals-of-day .product_list_card .text-success,
#deals-of-day .product_list_card .text-dark {
  color: #006531 !important;
  font-weight: 800 !important;
}

/* ——— Cart drawer (offcanvas mini-cart) ——— */
/*
 * Bootstrap .offcanvas-end only sets top:0; height follows content, so the panel
 * can extend below the viewport and the checkout row appears "cut off".
 * Pin bottom:0 (works with admin-bar top offset) and keep layout in the viewport.
 * z-index above sticky mobile bars (often 9999) so buttons aren't covered.
 */
#offcanvas-cart.isarva-cart-drawer.offcanvas-end {
  bottom: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10050 !important;
  max-width: 100%;
  width: min(420px, 100vw);
  border: none;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.12);
}

body > .offcanvas-backdrop.show {
  z-index: 10040 !important;
}

#offcanvas-cart.isarva-cart-drawer > .offcanvas-header {
  flex-shrink: 0;
}

#offcanvas-cart .isarva-cart-drawer__header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #e8ece9;
  align-items: flex-start;
}

#offcanvas-cart .isarva-cart-drawer__head-text {
  flex: 1;
  min-width: 0;
  padding-right: 0.5rem;
}

#offcanvas-cart .isarva-cart-drawer__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.2;
  text-transform: none;
}

#offcanvas-cart .isarva-cart-drawer__subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

#offcanvas-cart .isarva-cart-drawer__close {
  margin-top: 0.15rem;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

#offcanvas-cart .isarva-cart-drawer__close:hover {
  opacity: 1;
}

/* Kill Bootstrap .offcanvas-body { overflow-y: auto } so only the line-items list scrolls */
#offcanvas-cart .offcanvas-body.isarva-cart-drawer__body {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

#offcanvas-cart .cart-list,
#offcanvas-cart .widget_shopping_cart_content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
}

#offcanvas-cart .woocommerce-mini-cart.isarva-mini-cart__items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.75rem 1rem 1rem;
  -webkit-overflow-scrolling: touch;
  gap: 0;
}

#offcanvas-cart .isarva-mini-cart__item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eef1ef;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  border-radius: 0;
}

#offcanvas-cart .isarva-mini-cart__item:last-child {
  border-bottom: none;
}

/* Mini-cart thumb: square tile, image fills frame (cover) */
#offcanvas-cart .isarva-mini-cart__thumb {
  flex: 0 0 5.25rem;
  width: 5.25rem;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1ef;
  border: 1px solid #e0e6e2;
  box-sizing: border-box;
}

#offcanvas-cart .isarva-mini-cart__thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

#offcanvas-cart .isarva-mini-cart__thumb img,
#offcanvas-cart .isarva-mini-cart__thumb .attachment-woocommerce_thumbnail,
#offcanvas-cart .isarva-mini-cart__thumb .attachment-woocommerce_gallery_thumbnail {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

#offcanvas-cart .isarva-mini-cart__details {
  flex: 1;
  min-width: 0;
  text-align: left;
}

#offcanvas-cart .isarva-mini-cart__name {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f3d24;
  text-decoration: none;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.25rem;
}

#offcanvas-cart .isarva-mini-cart__name:hover {
  color: #006c34;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#offcanvas-cart .isarva-mini-cart__variation {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
}

#offcanvas-cart .isarva-mini-cart__variation dl,
#offcanvas-cart .isarva-mini-cart__variation p {
  margin: 0 0 0.25rem;
}

#offcanvas-cart .isarva-mini-cart__line {
  font-size: 0.8125rem;
  color: #4b5563;
  margin-top: 0.35rem;
}

#offcanvas-cart .isarva-mini-cart__line .quantity {
  font-weight: 500;
}

#offcanvas-cart .isarva-mini-cart__remove {
  flex: 0 0 auto;
  align-self: center;
}

#offcanvas-cart .isarva-mini-cart__remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  color: #9ca3af;
  background: #f3f4f6;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

#offcanvas-cart .isarva-mini-cart__remove-btn:hover {
  color: #dc2626;
  background: #fef2f2;
}

#offcanvas-cart .isarva-mini-cart__footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 1.25rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #fafcfb 0%, #f4f7f5 100%);
  border-top: 1px solid #e8ece9;
  text-align: center;
}

#offcanvas-cart .isarva-mini-cart__total {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.5rem;
}

#offcanvas-cart .isarva-mini-cart__total .woocommerce-Price-amount {
  color: #0f3d24;
}

#offcanvas-cart .isarva-mini-cart__hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0 0 1rem;
  line-height: 1.45;
}

#offcanvas-cart .isarva-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

#offcanvas-cart .isarva-mini-cart__buttons .button,
#offcanvas-cart .isarva-mini-cart__buttons a.button {
  display: block;
  width: 100%;
  margin: 0 !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  text-align: center;
  border-radius: 10px !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#offcanvas-cart .isarva-mini-cart__buttons a.wc-forward:first-of-type {
  background: #fff !important;
  color: #006c34 !important;
  border: 2px solid #006c34 !important;
  box-shadow: none !important;
}

#offcanvas-cart .isarva-mini-cart__buttons a.wc-forward:first-of-type:hover {
  background: #f0f7f3 !important;
}

#offcanvas-cart .isarva-mini-cart__buttons .checkout {
  background: #006c34 !important;
  color: #fff !important;
  border: 2px solid #006c34 !important;
  box-shadow: 0 4px 14px rgba(0, 108, 52, 0.25) !important;
}

#offcanvas-cart .isarva-mini-cart__buttons .checkout:hover {
  background: #005529 !important;
  border-color: #005529 !important;
  color: #fff !important;
}

#offcanvas-cart .woocommerce-message,
#offcanvas-cart .woocommerce-error,
#offcanvas-cart .woocommerce-info {
  position: relative;
  margin: 0.75rem 1rem 0;
  border-radius: 10px;
  border: none;
  font-size: 0.875rem;
  /* Match Bootscore .alert-icon: icon sits at left 1.25rem; need space so text doesn’t overlap */
  padding: 0.75rem 1rem 0.75rem 3.25rem;
}

#offcanvas-cart .isarva-mini-cart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem 2rem;
  flex: 1;
}

#offcanvas-cart .isarva-mini-cart__empty-icon {
  color: #c5cdd1;
  margin-bottom: 1rem;
}

#offcanvas-cart .isarva-mini-cart__empty-text {
  font-size: 1rem;
  font-weight: 600;
  color: #4b5563;
  margin: 0 0 1rem;
}

#offcanvas-cart .isarva-mini-cart__empty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
  background: #006c34;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease;
}

#offcanvas-cart .isarva-mini-cart__empty-cta:hover {
  background: #005529;
  color: #fff;
}

/* Single product: related cards should match homepage spacing on mobile */
.single-product .related.products .mhp-product-card {
  border: 1px solid #e7ece9;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.single-product .related.products .mhp-product-image-wrap {
  display: block;
  background: #f8fbf9;
  flex: 0 0 auto;
}

.single-product .related.products .mhp-product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display: block;
}

.single-product .related.products .mhp-product-body {
  padding: 0.85rem 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.single-product .related.products .mhp-product-body h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  line-height: 1.3;
  min-height: 0;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-product .related.products .mhp-product-body h3 a {
  color: #15202b;
  text-decoration: none;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-product .related.products .mhp-price {
  margin-bottom: 0.55rem;
  color: #006c34;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
  min-height: 1.25em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-product .related.products .mhp-variation-wrap {
  margin-bottom: 0.65rem;
  min-height: 38px;
}

.single-product .related.products .mhp-variation-select {
  width: 100%;
  min-height: 38px;
  max-width: 100%;
  border: 1px solid #c5d8cd;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.single-product .related.products .mhp-product-actions {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-top: auto;
  width: 100%;
  min-width: 0;
}

.single-product .related.products .mhp-btn-icon {
  width: 2.4rem;
  min-width: 2.4rem;
  max-width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 2.4rem;
  border-radius: 9px;
  border: 1px solid #c5d8cd;
  background: #f4faf6;
  color: #2f6f4e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.single-product .related.products .mhp-btn-icon svg {
  width: 18px;
  height: 18px;
}

.single-product .related.products .mhp-product-actions .mhp-btn-primary {
  flex: 1 1 auto;
  min-width: 0;
  height: 2.4rem;
  border-radius: 10px;
  text-align: center;
  padding: 0 0.65rem;
  line-height: 1;
  background: #006c34;
  border: 1px solid #006c34;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.single-product .related.products .mhp-product-actions .mhp-btn-primary:hover {
  background: #08522a;
  border-color: #08522a;
  color: #fff;
}

/* Full width of parent column; avoid stacking with outer #content .container padding */
.single-product .related.products .related-products__wrap {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767px) {
  /* Slight inset + shop-like column gutter on small screens */
  .single-product .related.products .related-products__wrap {
    padding-left: max(0.25rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.25rem, env(safe-area-inset-right, 0px));
  }

  .single-product .related.products .mhp-product-body {
    padding: 0.75rem;
  }

  .single-product .related.products .mhp-product-actions {
    gap: 0.45rem;
  }

  .single-product .related.products .mhp-btn-icon {
    width: 2.2rem;
    min-width: 2.2rem;
    max-width: 2.2rem;
    height: 2.2rem;
    flex-basis: 2.2rem;
  }

  .single-product .related.products .mhp-product-actions .mhp-btn-primary {
    height: 2.2rem;
    padding: 0 0.5rem;
    font-size: 0.82rem;
  }
}

/* Mobile filter bar: inline SVG icon (no Font Awesome dependency); keep “to top” above the bar */
.bottom-filter-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991.98px) {
  body.archive .top-button {
    bottom: 4.75rem;
  }
}
