/*
Theme Name: Generatepress Child
Theme URI: https://example.com/
Description: Child theme for the Generatepress theme
Author: Jelina
Author URI: https://example.com
Text Domain: generatepress-child
Template: generatepress
Version: 1.0.0
*/


/* Open dropdown on hover */
#mainHeaderDesktop .nav-item.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0; /* optional: prevents dropdown shifting */
}

#mainHeaderDesktop.navbar .dropdown-menu {
  margin-top: 0;
}
span.mred {
    color: red;
}
.rm_footer_mt .footer{
  margin-top: 0px !important;
}
.archive .price_range_bar .wc-block-components-price-slider__label {
   display: none;
}
.archive .leftsidebar {
	height: 100vh;
	position: sticky;
	top: 170px;
	overflow-y: auto;
}
.catlogue_page .side_bar.scrolled {
  position: fixed;
  top: 50px !important;
}
 
#catalog-loader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: none;
  z-index: 10;
}

#catalog-loader .loader-backdrop {
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Align to top */
  padding-top: 100px; /* Adjust space from top */
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6); /* Optional: reduce opacity */
}

.loader-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}



/* modular style */

  .thumbnail-carousel-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 40px !important;
  }
  .thumbnail-wrapper {
    width: calc(3 * 160px + 2 * 16px) !important;
    overflow: hidden !important;
  }
  .thumbnail-carousel {
    display: flex !important;
    transition: transform 0.3s ease-in-out !important;
    width: max-content !important;
  }
  .thumbnail {
    flex: 0 0 160px !important;
    margin-right: 16px !important;
    cursor: pointer !important;
    transition: transform 0.2s eas !important;
    border: 2px solid transparent !important;
  }
  .thumbnail img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /*woocommerce checkout*/
  .woocommerce-shipping-fields__field-wrapper .required{
    color:#a00;
  }
  .woocommerce-NoticeGroup-checkout{
    display:none;
  }

  /* Woocommerce Cart */
.woocommerce-cart .actions .button[name="update_cart"] {
    display: none !important;
}
.woocommerce-Price-amount bdi{
  font-weight:bold !important;
}
.checkout-inline-error-message{
color:"#E83D43 !important";
}
@media only screen and (max-width: 480px) {
  .woocommerce-checkout .checkout-inline-error-message{
  line-height:18px;
  margin-top:5px;
  }
  }
  .smartphoto-img.active {
    display: block;
    max-width: initial;
}
  
  .product_em_warnty a{
    text-decoration: none;
  }
  .bc_search_result_wrap p{
    font-weight: bold;
  }
  .quote-msg {
    color: #333 !important;
    border: 3px solid #000;
    padding: 10px;
    display: table;
    width: 60%;
    margin-top: 15px;
    font-size: 13px;
    line-height: 20px;
    }

@media (max-width: 640px) {
  .quote-msg {
      width: 100%;
  }
}
@media (max-width: 400px) {
  .quote-msg {
      position: relative;
      padding-left: 168px;
  }
}