/* top header */

/*
 * === STEP 2: CSS CODE (FOR /CSS/HEADER-MESSAGE.CSS) ===
 * (NEW Horizontal Slider Style)
 */

.hm-message-slider {
    /* This is the "window" */
    display: inline-block;
    vertical-align: middle;
    width: 100%;
    overflow: hidden; 
}

.hm-message-track {
    /* This is the "track" that holds all messages */
    display: flex;
    transform: translateX(0);
}

.hm-message-text {
    /* Each message takes up the full width of the slider */
    flex-basis: 100%;
    flex-shrink: 0;
    text-align: center;
    color: #0A616A; 
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}
/*
 * === STEP 2: CSS CODE (FOR /CSS/GOLD-SLIDER.CSS) ===
 * (Premium "Gold Bar" Variant)
 */

.jp-gold-rate-board {
    display: inline-flex;
    align-items: center;
    /* Using your site's gold accent as the main background */
    background: linear-gradient(145deg, #c7a254, #e6c57f);
    border: 1px solid #b8934a; /* A slightly darker gold border */
    border-radius: 50px; /* Pill shape */
    padding: 8px 14px;
    /* A shadow to make it 'pop' */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0,0,0,0.1);
    font-family: 'Poppins', sans-serif; /* Font from your site */
    overflow: hidden;
    white-space: nowrap;
    max-width: 320px;
    transition: all 0.3s ease;
}

.jp-gold-label {
    font-size: 14px;
    /* Using your site's dark teal for text */
    color: #004a4c; 
    font-weight: 600; /* Bolder */
    margin-right: 10px;
    padding-left: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Wrapper for fade transition */
.jp-gold-purity-wrapper {
    perspective: 100px;
}

.jp-gold-purity {
    display: inline-block;
    /* White pill for high contrast on gold */
    background-color: #ffffff; 
    color: #004a4c; /* Dark teal text */
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
    margin-right: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    /* Transition effects */
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    opacity: 1;
    transform: scale(1);
}

.jp-gold-rate {
    display: inline-block;
    font-size: 16px;
    font-weight: 700; /* Bolder rate */
    color: #004a4c; /* Dark teal text */
    padding-right: 5px;
    /* Transition effects */
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

/* This class is added by JS to trigger the fade animation */
.jp-gold-fading-out {
    opacity: 0;
    transform: scale(0.9);
}

.variations {
    margin-bottom: 0px !important;
    border-bottom: 1px solid #227078;
}

.bt-variation-label {
    margin-right: 10px;
}

.woocommerce .quantity.spinners-added .qty {
    background-color: white !important;
}

/* Elementor Tabs Button  */

.e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
  background-color: #00292D !important;
  color: white; 
}

.e-n-tabs-heading .e-n-tab-title:hover {
  background-color: #00292D !important;
  color: white; 
}

/* add to cart */

.woocommerce div.product form.cart div.quantity:not(.woosq-popup div.quantity) {
    width: 50px !important;
} 

.single-page .single_add_to_cart_button  {
    width: 65% !important;
}

.single-page .button-buy-now {
    width: 100% !important;
}

.var .variations {
    display: none !important;
}

.var .woocommerce-variation-price {
  display: none !important;
}

/* single shop page */

#sticky-image-column {
    position: -webkit-sticky;
    position: sticky;
    top: 150px !important; 
}

@media (max-width: 768px) {
    #sticky-image-column {
        position: static; /* Sticky effect yahan band ho jayega */
    }
}

.shopengine-product-image-toggle {
    display: none !important;
}

/* after buy now button */

/* Parent container ko flex banakar sabhi buttons ko ek line mein laane ke liye */
.elementor-element[data-id="f4b9e65"] > .elementor-widget-wrap {
  display: flex;
  align-items: center; /* YEH SABKO VERTICALLY CENTER KAREGA */
  gap: 0px !important; 
}

.elementor-element[data-id="f4b9e65"] .woosc-btn,
.elementor-element[data-id="f4b9e65"] .woosw-btn,
.elementor-element[data-id="f4b9e65"] .ask-question-button,
.elementor-element[data-id="f4b9e65"] .social-share-button {
  /* Basic Reset */
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 15px !important; 
  font-weight: bold !important;
  color: #004D5A !important;
  line-height: 1.2 !important; 
  
  /* Layout */
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.elementor-element[data-id="f4b9e65"] .woosc-btn-icon,
.elementor-element[data-id="f4b9e65"] .woosw-btn-icon,
.elementor-element[data-id="f4b9e65"] .ask-question-button svg,
.elementor-element[data-id="f4b9e65"] .social-share-button svg {
  font-size: 18px !important; 
  width: 18px !important;     
  height: 18px !important;  
  color: #004D5A !important;
  fill: #004D5A !important;   
}

.elementor-element[data-id="f4b9e65"] .woosc-btn:hover,
.elementor-element[data-id="f4b9e65"] .woosw-btn:hover,
.elementor-element[data-id="f4b9e65"] .ask-question-button:hover,
.elementor-element[data-id="f4b9e65"] .social-share-button:hover,
.elementor-element[data-id="f4b9e65"] .woosc-btn:hover *,
.elementor-element[data-id="f4b9e65"] .woosw-btn:hover *,
.elementor-element[data-id="f4b9e65"] .ask-question-button:hover *,
.elementor-element[data-id="f4b9e65"] .social-share-button:hover * {
  color: #00292D !important;
  fill: #00292D !important;
}

@media (max-width: 767px) {
  .elementor-element[data-id="f4b9e65"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important; 
    gap: 25px !important;
  }

  .elementor-element[data-id="f4b9e65"] > .elementor-widget {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  .elementor-element[data-id="f4b9e65"] .woosc-btn,
  .elementor-element[data-id="f4b9e65"] .woosw-btn,
  .elementor-element[data-id="f4b9e65"] .ask-question-button,
  .elementor-element[data-id="f4b9e65"] .social-share-button {
    font-size: 13px !important;
    white-space: nowrap !important;
    gap: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .elementor-element[data-id="f4b9e65"] .ask-question-button svg,
  .elementor-element[data-id="f4b9e65"] .social-share-button svg {
    margin-right: 5px !important;
    flex-shrink: 0;
  }

  .elementor-element[data-id="f4b9e65"] .woosc-btn-icon,
  .elementor-element[data-id="f4b9e65"] .woosw-btn-icon {
    margin-right: -2px !important;
    flex-shrink: 0;
    position: relative;
    top: -1.5px;
  }

  .single-page .single_add_to_cart_button  {
    width: 45% !important;
  }

  .single-page .button-buy-now {
    width: 100% !important;
  }

  .variations .bas_radio_variations.bt-image-color-sw label span.bt_color_sw_span {
    width: 60px !important;
    height: 60px !important;
  }

  .shopengine-widget .shopengine-swatches .cart.variations_form .variations td {
    vertical-align: middle !important;
    border: 0;
    display: block !important;
  }

  /* --- [POWERFUL VERSION] WooCommerce Tabs Flex Scroll --- */

/* ShopEngine aur default WooCommerce tabs, dono ko target karein */
.shopengine-product-tabs ul.tabs.wc-tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border-bottom: 1px solid #e0e0e0 !important; /* Container ke neeche halki si line */
    padding-bottom: 0 !important;
    -ms-overflow-style: none;  /* IE/Edge scrollbar hide */
    scrollbar-width: none;     /* Firefox scrollbar hide */
}

  /* Webkit (Chrome, Safari) scrollbar hide */
  .shopengine-product-tabs ul.tabs.wc-tabs::-webkit-scrollbar,
  .woocommerce div.product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
      display: none;
  }


  /* Har ek tab (li) ko force karke style karein */
  .shopengine-product-tabs ul.tabs.wc-tabs li,
  .woocommerce div.product .woocommerce-tabs ul.tabs li {
      float: none !important;
      flex-shrink: 0 !important;
      margin-bottom: -1px !important; /* Border se align karne ke liye */
      border: none !important;
  }

  /* Tab ke link (a) ko style karein */
  .shopengine-product-tabs ul.tabs.wc-tabs li a,
  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
      white-space: nowrap !important;
  }

  .shopengine-tabs-line {
      display: none !important;
  }

  .relate-product ul.splide__list li.splide__slide {
    width: 100% !important;
    margin-right: 0 !important;
  }

}

/* single page product slider */

.product-details .woocommerce-loop-product__title:not(:has(a)) {
    display: none !important;
}

#pg-thumbnails-2751-list,
#pg-thumbnails-2751-list .splide__slide {
    height: auto !important;
}

.singlepage-shortcode .elementor-shortcode {
  color: #00292D;
}

/* Container styling */
.product-cat .cat-image {
    position: relative;
    overflow: hidden;
}

/* Dusri image ko pehle chhupa dena */
.secondary-hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Shuruat mein invisible */
    transition: opacity 0.5s ease-in-out, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1.1); /* Thoda zoom effect ke liye */
}

/* Hover par pehli image hide hogi aur dusri dikhegi */
.product-cat:hover .cat-image img:not(.secondary-hover-img) {
    opacity: 0;
}

.product-cat:hover .secondary-hover-img {
    opacity: 1;
    transform: scale(1); /* Zoom out hote hue aayegi */
}

/* Black Background effect jo aapne image mein dikhaya tha */
.product-cat:hover .cat-title a {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    display: inline-block;
    transition: 0.3s;
}