.popup-over a.popup-title, .popup-over .popup-title {
    padding-bottom: 5px;
}
.popup-over .popup-content {
    top: 100%;
}
h1 {
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    text-align: center;
    color: #1E1E1E;
}
span.menu-title {
     font-size: 18px;
}
p, h2, h3, h4, h5,  h6 {
    color: #1E1E1E !important;
}
/* Megamenu title hover effect */
.megamenu a.nav-link.dropdown-toggle.has-category::before {
  content: "" !important;
  background: none !important; /* Remove any background color */
  border-bottom: 2px solid #D9AB2B !important; /* Custom underline color */
}
/* Remove unwanted orange background and set a custom underline color for dropdown links */
.megamenu a.nav-link.dropdown-toggle.has-category::before {
  content: "" !important;
  background: none !important; /* Remove the orange background */
  border-bottom: 2px solid #D9AB2B !important; /* Set the color of the underline */
}
/* Remove the unwanted orange background and underline color for non-dropdown links */
.megamenu a.nav-link:not(.dropdown-toggle)::before {
  content: "" !important; /* Create an empty ::before element */
  background: none !important; /* Remove any background color */
  border-bottom: 2px solid #D9AB2B !important; /* Set the color of the underline */
}
/* Hover effect for megamenu links */
.megamenu a.nav-link:hover {
  color: #D9AB2B !important; /* Set hover color for text */
}

/* Change the cart count dot */
.cart-products-count {
  background-color: #D9AB2B !important; /* Background color */
  color: #ffffff !important; /* White text */
}

/* Change product name link color on hover in checkout/cart */
.product-line-info a.label:hover {
  color: #D9AB2B !important;
}

/* Search result price color */
.lps-result-price {
  color: #D9AB2B !important; /* Set price color */
}

/* Button: Add to Cart - hover styles */
button.btn.btn-primary.add-to-cart:hover {
  background-color: #D9AB2B !important; /* Gold background */
  color: #FFFFFF !important; /* White text color */
  border: 1px solid #FFFFFF !important; /* White border */
}

/* General button styling to avoid the black border issue */
button.btn, a.btn {
  border-color: #1E1E1E !important; /* Default border color for buttons */
  color: #FFFFFF !important; /* Default text color */
  background-color: #1E1E1E !important; /* Default background */
}

/* Hover effects for all buttons (generic) */
button.btn:hover, a.btn:hover {
  background-color: #D9AB2B !important; /* Hover background */
  color: #FFFFFF !important; /* White text on hover */
  border: 1px solid #D9AB2B !important; /* Border color on hover */
}

/* Footer links default and hover color */
footer a {
  color: #1E1E1E !important; /* Default link color to dark */
}

footer a:hover {
  color: #D9AB2B !important; /* Hover color to bright yellow */
}

/* Hover effect for links inside dropdown menu */
div.dropdown-sub.dropdown-menu a:hover, div.popup-content.dropdown-menu span:hover {
  color: #D9AB2B !important; /* Set text color to bright yellow on hover */
}

/* Remove unwanted category block*/
div.block-categories.block {
  display: none !important;
}

/*Change color of items background in search bar category selector to #D9AB2B*/
a.cate-item.active {
     background-color: #D9AB2B !important;
}
a.cate-item.cate-level-1:hover, a.cate-item.cate-level-2:hover, a.cate-item.cate-level-3:hover {
     background-color: #D9AB2B !important;
}

/* Hide grid view options (1 product per row and 2 products per row) and list view option*/
span.grid-select-grid.view-1,
span.grid-select-grid.view-2, span.grid-select.grid-select-list.view-list {
  display: none !important;
}

/*Change hover background color of filter and sorting dropdown menu in cate page to  #D9AB2B */
a.select-list.js-search-link:hover {
     background-color: #D9AB2B !important;
}

a.filter-toggle-button:hover {
     background-color: #1E1E1E !important;
     color: #FFFFFF !important;
     border: 0.5px solid #1E1E1E !important;
}

/*Align left product name in single product pages*/
h1.h1.product-detail-name {
     text-align: left; 
}

/*Change color of the add to wishlist button*/
a.leo-wishlist-button.btn-product.btn-primary.btn, a.leo-wishlist-button.btn-product.btn-primary.btn:hover {
     color: #1E1E1E !important;
     background-color: #FFFFFF !important; 
     border: none !important;
}

a.leo-wishlist-button.btn-product.btn-primary.btn:hover {
     color: #D9AB2B !important;
}

/* Change the color of the accordion icon when hovered */
div#accordion.products-accordion a:hover::after,
div#accordion.products-accordion a.collapsed:hover::after {
  color: #D9AB2B !important; 
}
/* Apply Marcellus font to product titles under the image */
div.ajax_block_product div.product-meta h3.product-title a, article.product-miniature.js-product-miniature div.product-meta h3.product-title a {
  font-family: 'Marcellus', serif !important; /* Apply Marcellus font */
}

div.tax-shipping-delivery-label {
     display: none !important
}
section.facet[data-type="weight"] {
    display: none !important;
}

/* Price filter slider color */
div.ui-slider-range.ui-widget-header.ui-corner-all {
     background-color: #1E1E1E !important;
}

a.ui-slider-handle.ui-state-default.ui-corner-all {
     border-color: #1E1E1E !important;
}

/*Hide filter toggle menu in category pages*/
div.col-md-6.col-lg-3.hidden-md-down.total-products.filter-toggle {
     display: none !important;
}

/*Change hover color for My account icons to #D9AB2B */
.links a:hover .material-icons {
  color: #D9AB2B !important;
}

/*Change color for My account fields to #D9AB2b */
.form-fields .form-control:focus {
  border-color: #D9AB2B;
  box-shadow: 0 0 0 0.2rem rgba(217, 171, 43, 0.25); 
/* Optional: subtle glow effect */
  outline: none;
}

/* Generic input/select styling */
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: #D9AB2B !important;
  box-shadow: 0 0 0 0.2rem rgba(217, 171, 43, 0.25);
  outline: none;
}

/* Password fields with extra classes */
input[type="password"]:focus {
  border-color: #D9AB2B !important;
  box-shadow: 0 0 0 0.2rem rgba(217, 171, 43, 0.25);
  outline: none;
}

/* Highlight focused custom radio buttons */
.custom-radio input[type="radio"]:focus + span,
.custom-radio input[type="radio"]:checked + span {
  border: 2px solid #D9AB2B;
  box-shadow: 0 0 0 0.2rem rgba(217, 171, 43, 0.25);
}

/* Highlight focused checkboxes */
.custom-checkbox input[type="checkbox"]:focus + span,
.custom-checkbox input[type="checkbox"]:checked + span {
  border: 2px solid #D9AB2B;
  box-shadow: 0 0 0 0.2rem rgba(217, 171, 43, 0.25);
}

/* Optional: set the color of the custom radio/checkbox icons (e.g., checkmark or dot) */
.custom-radio input[type="radio"]:checked + span::before,
.custom-checkbox input[type="checkbox"]:checked + span i {
  color: #D9AB2B;
}


/*Change the logout button text to uppercase */
a.btn[href*="mylogout"] {
  text-transform: uppercase;
}
/*Change logout link hover color to #D9AB2B */
a.logout:hover {
  color: #D9AB2B !important;
}

/*Fix the split-hover issue for the Wishlist link */
a.ap-btn-wishlist:hover span,
a.ap-btn-wishlist:hover .ap-total-wishlist {
  color: #D9AB2B !important;
}

/*Change language selector color to #D9AB2B */
.language-selector li.current a img {
  border: 2px solid #D9AB2B !important;
  box-shadow: none !important;
}

/*Fix the hover issue for the language and currency selector titles */
.language-selector .title,
.currency-selector .title {
  color: inherit !important;
  cursor: default !important;
  pointer-events: none !important;
}

.language-selector .title:hover,
.currency-selector .title:hover {
  color: inherit !important;
}

/*Fix split-hover issue for reassurance bar icons in the footer */
.elementor-icon-box-wrapper:hover .elementor-icon-box-icon a,
.elementor-icon-box-wrapper:hover .elementor-icon-box-content a {
  color: #D9AB2B !important; 
}

/*Change hover color in searchbar dropdown menu button */
.all-search-product a {
  all: unset; /* Reset all inherited styles */
  display: inline-block;
  background-color: #FFFFFF !important;
  color: #1e1e1e !important;
  border: 1px solid #1e1e1e !important;
  padding: 8px 16px;
  border-radius: 0;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none !important;
  font-family: inherit; /* keep your site's font */
}

.all-search-product a:hover {
  background-color: #1e1e1e !important;
  color: #FFFFFF !important;
  text-decoration: none !important;
}

/*Change hover color for product names*/
.product-meta .product-title a:hover {
  color: #D9AB2B !important;
}

/* Target the paragraph inside the privacy message */
input[name="customer_privacy"] ~ em p span {
  font-family: 'Karla', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  background-color: transparent !important;
  color: inherit !important;
}

.cart-summary-totals > .cart-summary-line:last-child {
  display: none !important;
}

/* Change hover color for products in the popup cart */
.leo-dropdown-cart-item .product-name a.label:hover {
  color: #D9AB2B !important;
}

/* Change hover color for products in the popup cart */
.leo-bt-product-quantity:hover i {
  color: #D9AB2B !important;
}

/*Change hover color for products in the popup cart*/
a.leo-remove-from-cart:hover i {
  color: #D9AB2B !important;
}

/* Gold border on focus for quantity input in cart popup */
.leo-dropdown-cart-item .leo-input-product-quantity:focus {
  border-color: #D9AB2B !important;
  box-shadow: 0 0 0 1px #D9AB2B !important;
  outline: none !important;
}

/* Tooltip-cart: change row hover background to grey */
.leo-dropdown-cart-item:hover {
  background-color: rgba(128, 128, 128, 0.1) !important;
}

/* Change font for 'no products found' message in search */
.no-products {
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

/* General font styling for search-related components */
.search-in-suggest,
.search-in-cat,
.search-in-product,
.ac_results,
.search-value-title,
.suggest-item,
.lps-result-title,
.lps-result-price,
.all-search-product a,
.search-in-cat a,
.search-in-product a,
.search-in-cat strong,
.search-in-product strong {
  font-family: 'Karla', sans-serif;
}

/* Specific input field font */
input.search_query {
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

/* Specific input field font */
input.search_query {
  font-family: 'Karla', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.cta-button-test {
  display: inline-block;
  background-color: none;
  color: #1e1e1e;
  padding: 12px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 0px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.cta-button-test :hover {
  color: #D9AB2B;
}

/* Apply Marcellus font to specific h3 linked titles in both sections */
.elementor-element-f63dba9 h3.elementor-heading-title a,
.elementor-element-df6bf4e h3.elementor-heading-title a {
  font-family: 'Marcellus', serif !important;
  font-weight: normal !important;
  color: inherit; /* keep the current color until hover */
  text-decoration: none;
}

/* Add hover color for those links */
.elementor-element-f63dba9 h3.elementor-heading-title a:hover,
.elementor-element-df6bf4e h3.elementor-heading-title a:hover {
  color: #d9ab2b !important;
}

/* Ensure the title in the first block is visible */
.leo-widget[data-id_widget="1739974525"] .menu-title {
  visibility: visible !important;
}

/* Force the second block to align links perfectly with first block */
.leo-widget[data-id_widget="1761506109"] .widget-inner {
  margin-top: calc(
    var(--leo-widget-title-height, 1.7em)
  ) !important; /* pushes links down to match title height */
}

/* Add spacing above the second row in the COLLECTION mega menu */
.nav-item[data-menu-type="category"] .dropdown-sub .dropdown-menu-inner > .row:nth-child(2) {
    margin-top: 25px; /* adjust the px value to your liking */
}

.language-selector img[alt="en"] {
  display: none !important;
}

#leo-mobile-header .ap-row {
    display: flex !important;
    flex-direction: row !important;
}
#leo-mobile-header .ap-row .ap-column {
    width: auto !important;
}

/*Change color for different invoice address in checkout for clarity*/
a[data-link-action="different-invoice-address"] {
    color: #d9ab2b;
}


/*Change color for radio button in checkout*/
body#checkout .custom-radio input[type="radio"]:checked + span,
body#checkout .custom-radio input[type="radio"]:checked + span::after {
    background-color: #d9ab2b;
    border-color: #d9ab2b;
}

body#checkout .address-item.selected {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* suppression des pseudo-éléments du thème */
body#checkout .address-item.selected::before,
body#checkout .address-item.selected::after {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: none !important;
}

/* TON liseré personnalisé */
body#checkout .address-item.selected {
    box-shadow: 0 0 0 2px #d9ab2b !important;
}
