/*
 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;
}

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

/*** 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;
}

.benefit-box {
  background-color: #f3f5f9 !important;
  border: 1.9px solid #f1830f !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  color: #171717;
}

.benefit-box img {
  height: 70px;
  object-fit: contain;
}

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

.benefit-box p {
  font-size: 18px;
  color: #171717;
  font-weight: 500;
  font-family: "Jost", Arial, sans-serif;
}

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

@media (max-width: 768px) {
  .custom-py-8 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}




/*** 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: #006c34 !important;
  /* Forest 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: #005629 !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: #ef7e05 !important;
  /* Sunset Orange */
  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 6px rgba(239, 126, 5, 0.15);
  min-width: fit-content !important;
}

.buy-now-loop-button:hover {
  background-color: #d67000 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(239, 126, 5, 0.2);
}

/* 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 Fix: Fixed Box, Full Image Visible ===== */
/* Fixed-height image box so all products appear the same size */
.single-product-image .item,
.woocommerce-product-gallery .owl-item .item {
  height: 420px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background-color: #FCFAF7;
  background-image: url('images/product-bg-mandala.svg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.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) {

  .single-product-image .item,
  .woocommerce-product-gallery .owl-item .item {
    height: 350px !important;
  }

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

@media (max-width: 768px) {

  .single-product-image .item,
  .woocommerce-product-gallery .owl-item .item {
    height: 300px !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: 520px;
}

/* ===== 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: 15px !important;
  margin: 20px 0 !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 Sticky Bottom Actions on Mobile */
@media (max-width: 768px) {
  .single-product .summary .single-product-actions-wrapper {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    padding: 10px 15px !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
  }

  .single-product .single-product-actions-wrapper .quantity {
    margin-bottom: 0 !important;
    width: 90px !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-grow: 1;
    margin: 0 !important;
    height: 48px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    line-height: normal !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: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-transform: uppercase !important;
  }

  .single-product .summary .single-product-actions-wrapper .single_add_to_cart_button {
    background-color: #006c34 !important;
    color: #fff !important;
    border-radius: 0 0 8px 8px !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: 0 0 8px 8px !important;
    box-shadow: 0 4px 10px rgba(239, 126, 5, 0.2) !important;
    font-weight: 700 !important;
  }

  body.single-product {
    padding-bottom: 80px !important;
  }
  
  .single-product .variations_form.cart {
    position: static !important;
  }
}

/* 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;
}
