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

  .share-icon{
    position: relative;
    right: 15px;
    top: 20px;
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    border: #E7E7E7 solid 1px;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    padding-top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index:2;
}
.share-popover a img {
  width: 32px;
  height: 32px;
    margin-bottom: 6px;
}
.share-icon button {
  background-color: transparent;
  box-shadow: none !important;
  border-radius: inherit !important;
  background-image: url(assets/images/share-arrow.svg);
  background-repeat: no-repeat;
  background-size: 24px;
  padding: 0;
  height: 24px;
  width: 24px;
  border: none;
}
.share-icon button:hover {
  background-color: transparent;
  border: none;
}
.share-popover {
display: flex;
gap: 40px;
align-items: center;
}
.share-popover a {
letter-spacing: -0.1px;
color: #414141;
font-style: normal;
font-weight: 400;
font-size: 12px;
line-height: 12px;
text-decoration: none;
text-align: center;
}
.share-popover i {
font-size: 28px;
display: block;
margin-bottom: 5px;
}
.popover-arrow {
display: none !important;
}
.popover-body {
padding: 12px;
}
.popover {
background: #FFFFFF;
box-shadow: 0px 44px 54px rgba(18, 22, 23, 0.19);
border: none;
left: -130px !important;
top: 5px !important;
}
@media (max-width: 999px) {
.popover {
left: auto !important;
top: 5px !important;
margin-right: 10px !important;
}
}

@media (max-width: 767px) {
  .share-icon{
    right:10px;
    top:10px;
  }
}

  
