/* Custom Breadcrumb Font */
.astra-breadcrumbs, .astra-breadcrumbs a {
    font-family: 'YourFontFamily', sans-serif; /* Replace 'YourFontFamily' with your desired font */
    font-size: 14px; /* Adjust the font size as needed */
    font-weight: 400; /* Adjust the font weight as needed */
    color: #333; /* Adjust the color as needed */
}

/* Hover effect for Breadcrumb Links */
.astra-breadcrumbs a:hover {
    color: #555; /* Adjust the hover color as needed */
}

/* Fix for jumbled WooCommerce message banners */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  font-size: 16px;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  text-align: center; /* Or change to left if preferred */
  padding: 10px 20px;
}


/* Fix oversized product name in cart */
.woocommerce-cart .product-name a {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  word-break: break-word !important;
  display: inline-block !important;
  max-width: 200px;
}
/* 🔧 Style ALL WooCommerce notices cleanly */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  word-break: break-word !important;
  display: block !important;
  max-width: 90%;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* Optional: Clean up the button inside notices */
.woocommerce-error .button,
.woocommerce-message .button,
.woocommerce-info .button {
  font-size: 14px !important;
  font-weight: 600;
  padding: 8px 16px;
  margin-left: 15px;
}

/* Fix for jumbled product titles on the shop/prebuilt page */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  white-space: normal !important;
  word-break: break-word !important;
  max-width: 100%;
  display: block;
  text-align: center;
}
/* Fix breadcrumb size and spacing for WooLentor */
.wooocommerce-breadcrumb {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #aaa !important;
  line-height: 1.4 !important;
  margin-bottom: 10px !important;
  display: block !important;
  word-break: break-word;
  white-space: normal;
  position: relative;
  z-index: 2;
}

.wooocommerce-breadcrumb a {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
  text-decoration: none;
}

.wooocommerce-breadcrumb .breadcrumb-separator {
  margin: 0 5px;
}
/* Ensure sale price (ins tag) is visible on product pages */
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  color: #ffffff !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  text-decoration: none;
  display: inline-block;
  margin-left: 10px;
}
.woocommerce-cart-form__cart-item .product-name a {
  font-size: 14px !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  line-height: 1.4 !important;
  font-family: inherit !important;
}
.woocommerce-cart-form__cart-item {
  border-bottom: none !important;
}
.woocommerce-error {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  background-color: #1a1a1a;
  border: 1px solid #ff4d4d;
  color: #fff;
  font-size: 1rem;
  line-height: 1.4;
  gap: 16px;
}

.woocommerce-error::before {
  position: static !important;
  margin-right: 10px;
  font-size: 1.5rem;
}
/* Ensure accordion or section content isn't overlapping itself */
.elementor-widget-container {
  position: relative;
  z-index: 2;
}

/* Reset overlapping paragraphs and bullets */
.elementor-widget-container p,
.elementor-widget-container li {
  display: block;
  line-height: 1.6;
  margin-bottom: 12px;
  white-space: normal;
  word-break: break-word;
}

/* Prevent duplicate layered rendering */
.elementor-widget:not(.elementor-invisible) {
  transform: none !important;
  opacity: 1 !important;
}
/* Make cart item text darker */
.woocommerce-mini-cart-item a {
  color: #000000; /* Pure black */
  font-weight: 600;
}

/* Style for the quantity and price */
.woocommerce-mini-cart-item .quantity {
  color: #333333; /* Dark gray for subtle contrast */
  font-size: 14px;
}
/* Price & quantity spacing */
.elementor-menu-cart__product .quantity {
  color: #000 !important;
  font-weight: 600;
  font-size: 14px;
  opacity: 1 !important;
  margin-top: 4px;
  display: block;
}

/* Product name spacing */
.elementor-menu-cart__product .product-name {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

/* Subtotal styling */
.woocommerce-mini-cart__total strong {
  font-size: 16px;
  color: #ffffff !important;
}

.woocommerce-mini-cart__total {
  padding-top: 10px;
  padding-bottom: 10px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 15px 0;
}

/* Button spacing & styling */
.woocommerce-mini-cart__buttons a {
  font-size: 15px;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  margin: 0 5px;
}

.woocommerce-mini-cart__buttons a:first-child {
  margin-left: 0;
}

.woocommerce-mini-cart__buttons a:last-child {
  margin-right: 0;
}


/* Give WooCommerce cart drawer a higher stacking order */
.woocommerce-mini-cart,
.woocommerce.widget_shopping_cart {
  z-index: 99999 !important;
}

/* Optionally: lower the z-index of the contact modal if needed */
.contact-form-wrapper, 
.elementor-popup-modal {
  z-index: 9990 !important;
}
.woocommerce-mini-cart,
.elementor-menu-cart__container,
.woocommerce.widget_shopping_cart {
  z-index: 9999 !important;
  position: relative !important;
}
.elementor-menu-cart__container {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
}
/* 📦 Force product page to stack vertically */
.woocommerce div.product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 3rem auto;
  padding: 0 1rem;
}

/* 🖼️ Center and scale image */
.woocommerce div.product div.images {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.woocommerce div.product div.images img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* 💬 Product summary block styling */
.woocommerce div.product div.summary {
  width: 100%;
  max-width: 700px;
  text-align: center;
  padding: 0 1rem;
}

.woocommerce div.product .product_title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.woocommerce div.product .price {
  font-size: 1.5rem;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 1rem;
}

.woocommerce div.product form.cart {
  margin-bottom: 2rem;
}
/* 🎯 Center the Add to Cart button on product pages */
.woocommerce div.product form.cart {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
/* 🔒 Hide Cart menu item text on desktop */
li.cart-text-link,
li.cart-text-link a {
  display: none !important;
}

/* 📱 Show it only on mobile */
@media screen and (max-width: 768px) {
  li.cart-text-link,
  li.cart-text-link a {
    display: block !important;
  }
}
.woocommerce.archive .ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.woocommerce.archive .site-content {
  max-width: 100% !important;
  padding: 0 !important;
}

.woocommerce.archive .ast-article-inner {
  padding: 0 !important;
}
/* Hide theme page-title bar on the homepage only */
.home .page-header,
.home .entry-header,
.home .entry-title,
.home .site-main > .ast-archive-title,  /* Astra */
.home .kadence-page-title,              /* Kadence */
.home .page-hero,                       /* common alias */
.home .elementor-page-title {
  display: none !important;
}
.elementor-element-b336b5a { outline: 3px dashed red !important; }
