/*!
Theme Name: Vault Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: vault
Version: 1.0.0
Text Domain: vault
*/

 /* Add your custom style here */

/* .search.search-results .uicore-page-title {
	display: none;
} */

.otgs-development-site-front-end {
	display: none;
}

.uicore-back-to-top {
	right: 1em !important;
    bottom: 1em  !important;
}

.ui-filters-buton {
	background-color: var(--uicore-primary-color) !important;
}
.filters-toggle-icon {
    border-top-color: white !important;
    border-bottom-color: white !important;
}

.filters-toggle-icon span.line {
    border-color: white !important;
}
.wc-block-components-quantity-selector {
    width: 120px !important;
}


.wc-block-components-title.wc-block-components-title {
	text-transform: uppercase !important;
    font-size: 16px !important;
	font-weight: 600 !important;
}

.footerTopPart a, .footerBottomPart a {
	color: #399beb !important;
}

.woocommerce-page  .wpml-ls-statics-shortcode_actions, .woocommerce-page  .wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
	background-color: transparent;
}

.woocommerce-page .wpml-ls-statics-shortcode_actions a {
	border-color: transparent !important;
}

.woocommerce-page .wpml-ls-statics-shortcode_actions .wpml-ls-current-language > a {
	color: white !important;
}

.woocommerce-page .uicore-top-bar {
	background-color: var(--uicore-primary-color);
}

.woocommerce-page .uicore-top-bar .uicore a {
	color: white;
}

.woocommerce-page .uicore-top-bar, .woocommerce-page .uicore-top-bar .uicore-container p {
	color: white;
}

.singleRealisation img {
	height: 350px !important;
	object-fit: cover;
	width: 100%  !important;
}

.search-results .uicore-page-title {
    margin-bottom: 50px;
}


form.cart {
    flex-wrap: wrap;
}

.custom-diameter-field {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 1em;
}

.custom-diameter-field input.input-text {
    width: 100%;
}

.custom-diameter-error {
    color: red;
    font-size: .875em;
    margin-top: 4px;
}

.custom-diameter-invalid {
    border-color: red !important;
}


.cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px 10px;
}

.cf7-grid select {
    background-color: white;
}

.cf7-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cf7-col-full {
  grid-column: 1 / -1;
}

.cf7-col-half {
  grid-column: span 1;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .cf7-grid {
    grid-template-columns: 1fr;
  }
  .cf7-col-half {
    grid-column: 1 / -1;
  }
}

/* Champs */
.cf7-grid input,
.cf7-grid select,
.cf7-grid textarea {
  width: 100%;
  box-sizing: border-box;
}

.cf7-grid textarea {
  min-height: 150px;
  resize: vertical;
}

.cf7-grid label abbr {
  text-decoration: none;
  color: red;
  margin-left: 2px;
}

.uicore-navbar nav .uicore-nav {
	justify-content: center !important;
}

.uicore-wrapper.uicore-search.uicore-section {
    height: 200px !important;
    border-bottom: 1px solid #eeeeee;
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.wc-block-cart-items .wc-block-components-product-details__value:first-of-type {
    color: #0860a8;
    background: #f3f3f3;
    padding: 2px 10px;
}

.uicore-custom-area  .wp-block-woocommerce-customer-account span.label {
    display: none;
}
    

.woocommerce .woocommerce-customer-details address {
	border: 1px solid #dedede !important;
	border-radius: 0px !important;
}

.woocommerce table.shop_table td, .woocommerce table.shop_table th, .woocommerce table.shop_table tbody th, .woocommerce table.shop_table tfoot td, .woocommerce table.shop_table tfoot th {
	font-weight: 400 !important;
}

/* Fix pour l'icône de recherche */
.search-form {
    position: relative;
    display: inline-block;
}

.search-form .search-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* Si l'icône est un SVG ou une image */
.search-form .search-submit svg,
.search-form .search-submit img {
    width: 20px;
    height: 20px;
    display: block;
}

/* Ajuster le padding du champ pour faire de la place à l'icône */
.search-form .search-field {
    padding-right: 45px;
}

.uicore-custom-area  {
	order: 3;
}

.wp-block-woocommerce-customer-account a .wc-block-customer-account__account-icon {
	margin-bottom: 5px;
}

.uicore-custom-area .uicore-hca a {
	padding: 0px;
}
.uicore-custom-area .uicore-hca {
	margin-left: -10px !important;
}

.wp-block-woocommerce-customer-account  {
	font-weight: 400 !important;
}

.wp-block-woocommerce-customer-account:hover a {
	transition: 0.2s all
	color: var(--e-global-color-uicore_primary);
}

.uicore-custom-area  .wp-block-woocommerce-customer-account a:hover {
	text-decoration: none !important;
}

.uicore-nav-menu .uicore-nav .uicore-menu>.menu-item>a {
    font-weight: 500 !important;
}

.uicore-custom-area .uicore-hca {
	justify-content: center;
    align-items: center;
	margin-left: 10px;
	font-family: var(--uicore-header--menu-typo-f, "Inter");
    font-size: var(--uicore-header--menu-typo-s, "10px");
    font-style: var(--uicore-header--menu-typo-st, "normal");
    font-weight: 400;
}


.uicore-hca .wc-block-mini-cart__icon {
	width: 1.6em;
}

/* Tableau de données techniques amélioré */
.technical-data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.technical-data-table td {
    padding: 15px 20px; /* Augmenté de 12px 15px */
    border: 1px solid #ddd;
    text-align: left;
}

.technical-data-table td:first-child {
    font-weight: 600 !important; /* Plus gras (était 600) */
    width: 30%;
}

/* Lignes alternées */
.technical-data-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.technical-data-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.technical-data-table tbody tr:hover {
    background-color: #e9ecef;
    transition: background-color 0.2s;
}

@media (max-width: 768px) {
    .technical-data-table td {
        display: block;
        width: 100%;
        padding: 12px 15px; /* Padding réduit sur mobile */
    }
    .technical-data-table td:first-child {
        border-bottom: none;
        padding-bottom: 5px;
    }
}

.ui-breadcrumb {
    font-size: 13px;
}

.woocommerce.single-product form.cart .variations {
    width: 100%;
}

.woocommerce .horia-cart-wrapper .reset_variations {
    display: initial !important;
}

.woocommerce.single-product form.cart .variations td.label, .woocommerce.single-product form.cart .variations td.value {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
}

/* Rendre l'input de quantité "normal" et éditable */
.woocommerce .quantity input.qty {
    color: #000 !important;
    font-size: 16px !important;
    text-indent: 0 !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}


.megamenuLinkItem h4 span {
    font-size: 14px;
    font-weight: 600;
	text-transform: uppercase;
}

.uicore-menu .ui-menu-item-wrapper {
    font-weight: 400;
}

.uicore-asside-cart .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li a {
    font-size: 14px;
    font-family: 'Titillium Web';

}

.woocommerce ul.products li.product a img, .woocommerce ul.products li.product .uicore-zoom-wrapper {
    box-shadow: none !important;
    transition: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 5px 0 !important;
    line-height: 1.4 !important;
    min-height: 40px !important;
    /* text-transform: uppercase !important; */
    color: #333 !important;
}

.woocommerce ul.products li.product span.price {
    color: #7E7E7E !important;
    font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
    font-size: 17px !important;
    font-weight: bold !important;
}

.woocommerce ul.products li.product {  
    padding: 25px;
    border: 1px solid #ededed
}


.wc-block-product-filters__overlay-content h3 {
    color: var(--uicore-typography--h5-c, "#070707");
    font-family: var(--uicore-typography--h5-f, "Inter");
    font-size: var(--uicore-typography--h5-s, "10px");
    font-style: var(--uicore-typography--h5-st, "normal");
    font-weight: var(--uicore-typography--h5-w, "600");
    letter-spacing: var(--uicore-typography--h5-ls, "-0.027em");
    line-height: var(--uicore-typography--h5-h, "1.2");
    text-transform: var(--uicore-typography--h5-t, "none");
}

.wc-block-product-filter-price-slider .text input[type=text] {
    width: 100px;
}

.uicore-widget.widget_block:first-of-type {
    padding-bottom: 0px !important;
}

.uicore-sidebar-toggle {

}

.woocommerce ul.products li.product a img, .bdt-wc-carousel .bdt-wc-carousel-image img {
    margin: 0;
    width: 100%;
    height: 180px;
    object-fit: contain !important;
    object-position: center center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding-top: 0px !important;
}

.woocommerce ul.products li.product a img {
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product a {
    text-transform: uppercase;
    font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
}

.uicore-sidebar-toggle {
    display: none !important;
}

.uicore-shop-grid .uicore-header-elements-wrp.uicore-right {
    justify-content: space-between;
    width: 100%;
}

.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count {
    margin: 0 0 1em !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul a {
    font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 14px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    font-weight: 700 !important;
}

.woocommerce-page.uicore-woo-page:not(.elementor-page) .page {
    outline: none !important;
}

.woocommerce-MyAccount-content h2 {
    margin-top: 0px;
    font-size: 24px;
}

.single-post .uicore-single-header h1.entry-title {
    font-size: 34px;
    text-transform: none;
}

.uicore-blog #main.uicore {
    padding-top: 0px !important;
}

#footerSingleProduct {
    display: none;
}

.single-product #footerSingleProduct {
    display: block;
}

.single-product .uicore-page-title .uicore h1.uicore-title {
    display: none;
}

.single-product .uicore-page-title.uicore-section>.uicore {
    padding: 20px 0px;
}

.uicore-body-content .uicore-asside-cart {
	background: #ffffff;
	border-left: 1px solid #e5e5e5;
}

.uicore-body-content .uicore-asside-cart .uicore-asside-cart-inner, .uicore-body-content .uicore-asside-cart .uicore-asside-cart-header, .uicore-body-content .uicore-asside-cart .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li a, .uicore-body-content .uicore-asside-cart .widget_shopping_cart .total strong, .uicore-body-content .uicore-asside-cart .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li span.quantity .woocommerce-Price-amount bdi {
	color: black;
}

.uicore-body-content .uicore-asside-cart .widget_shopping_cart .total {
	border-top: 1px solid #e7e7e7;
}

.uicore-body-content .uicore-asside-cart .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li, .uicore-body-content .uicore-asside-cart .uicore-asside-header {
	border-bottom: 1px solid #e7e7e7;
}

.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header th, table.wc-block-cart-items .wc-block-cart-items__header th {
	font-size: 16px;
	font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
}

.wc-block-cart .wp-block-woocommerce-cart-order-summary-block {
	font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label, .wc-block-cart .wc-block-cart__totals-title {
	font-size: 16px !important;
	text-transform: uppercase;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name, .wc-block-components-formatted-money-amount, .wc-block-components-shipping-rates-control__package .wc-block-components-radio-control__label {
	font-size: 16px !important;
	font-weight: 600;
	font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
}

.wp-block-woocommerce-cart-order-summary-block {
	border-radius: 0px !important;
}

.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url], .wc-blocks-components-select .wc-blocks-components-select__select, .wp-block-woocommerce-checkout-order-summary-block {
	border-radius: 0px !important;
	border: 1px solid #e7e7e7 !important;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
	font-size: 16px !important;
	font-weight: 600  !important;
	text-transform: uppercase;
	font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
}

.wc-block-components-form .wc-block-components-text-input label, .wc-block-components-text-input label {
	font-size: 15px !important;
}

.uicore-top-bar .wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
    left: 20px;
}

.js-wpml-ls-item-toggle.wpml-ls-item-toggle {
    padding-left: 0px !important;
}

.wpml-ls-legacy-dropdown-click a span {
    font-weight: 600;
    font-family: var(--uicore-header--menu-typo-f, "Titillium Web") !important;
}

.CustomProductRow .bdt-wc-product-image img {
	    margin: 0;
    width: 100%;
    height: 180px;
    object-fit: contain !important;
    object-position: center center;
}

.tabsProduct .ui-e-tabs-heading {
	background: #ffffff;
    width: 355px;
    margin: auto;
    padding: 5px;
    border-radius: 100px;
}

.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
	justify-content: space-between !important;
	background-color: #fbfbfb !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	background: #fbfbfb;
    padding: 20px !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation:before {
	display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul a:hover, .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
	color: var(--e-global-color-uicore_primary);
    background: none !important;
}

/* .product-categories-list {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	max-width: 350px;
} */

.categories-title {
	font-size: 18px;
	font-weight: 700;
	color: #000;
	margin: 0 0 20px 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
	text-transform: capitalize;
}

.categories-items {
	list-style: none;
	margin: 0;
	padding: 0;
}

.category-item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #ddd;
}

.category-item:last-child {
	border-bottom: none;
}

.category-link {
	display: block;
	padding: 8px 0;
	color: black;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	/* font-family: var(--uicore-typography--h3-f, "Inter"); */
	transition: all 0.3s ease;
	position: relative;
}

.uicore-header-elements-wrp.uicore-right {
    flex-direction: column;
}

.post-type-archive-product .uicore-sidebar .uicore-sticky, .woocommerce-page .uicore-sidebar .uicore-sticky  {
    position: initial !important;
}

.category-link:hover {
	color: #000;
}

.category-link:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	height: 2px;
	background: #000;
	transition: width 0.3s ease;
}

.category-link:hover:after {
	width: 40px;
}

.all-products-link {
	color: #000;
}

.uicore-mobile-head-right {
    flex-direction: row-reverse;
    gap: 0px !important;
}

.uicore-mobile-head-right  .wp-block-woocommerce-customer-account a .wc-block-customer-account__account-icon {
    margin-bottom: 0px !important;
}

.wpml-language-switcher-block {
    display: none !important;
}


/* Responsive */
@media (max-width: 768px) {
	.product-categories-list {
		max-width: 100%;
	}

	.category-link {
		font-size: 14px;
		padding: 12px 0;
	}

    .uicore-mobile-head-right .uicore-custom-area {
        display: flex;
        flex-direction: row-reverse;
        gap: 20px;
    }

    .uicore-mobile-head-right .wpml-ls-flag {
        display: none;
    }

    .uicore-mobile-head-right .wpml-language-switcher-block {
        margin-top: 2px;
        display: block !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
        border-top: 0px !important;
        padding: 0px 20px 10px 20px !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wp-block-woocommerce-checkout-order-summary-cart-items-block.wc-block-components-totals-wrapper, .wc-block-components-totals-wrapper {
        padding: 20px !important;
    }

    .wc-block-components-title.wc-block-components-title {
        font-size: 18px !important;
        font-weight: 600 !important;
        text-transform: uppercase;
    }

    .wp-block-woocommerce-checkout-order-summary-block {
        border: none !important;
    }
}

.uicore-sidebar .product-categories-list ul li {
	list-style-type: none;
	padding-bottom: 0px;
    font-size: 13px !important;
    font-weight: 400;
}

.category-link.active {
    font-weight: bold;
    color:  var(--e-global-color-uicore_primary);
}


.categories-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 5px;
}

.category-link {
    display: block;
    padding: 12px 0px !important;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}


/* Sous-catégories */
/* .subcategories-items {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0 !important;
} */

.subcategory-item {
    margin: 0;
}

.subcategory-link {
    display: block;
    padding: 6px 5px 2px 10px;
    text-transform: uppercase;
    color: #666;
    font-size: 1.05em;
    transition: all 0.3s ease;
    border-left: 3px solid white;
	font-family: var(--uicore-typography--h3-f, "Inter");
}

.subcategory-link:hover {
    color: var(--e-global-color-uicore_primary);
}

.subcategory-link.active {
    font-weight: bold;
    background-color: #f9f9f9;
    border-left: 3px solid  var(--e-global-color-uicore_primary);
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    text-transform: uppercase;
}


/* .subsubcategories-items {
    padding-left: 40px !important;
    padding-top: 10px !important;
} */


/* POPUP */

.related-products-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

.related-products-popup {
    background: white;
    max-width: 1340px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 0;
    transform: translateY(20px);
    animation: slideUp 0.3s ease forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.close-popup:hover {
    color: #000;
}

.popup-header {
    padding: 40px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.popup-header .product-thumbnail {
    width: 120px;
    height: 120px;
    object-fit: contain;
    flex-shrink: 0;
    background: #f8f9fa;
}

.popup-header .product-info {
    flex: 1;
}

.popup-header .product-ref {
    font-size: 13px;
    color: var(#666);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-header .product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 0px 0;
    text-transform: uppercase;
    line-height: 1.3;
}

.popup-header .product-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.popup-header .product-price {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--e-global-color-uicore_primary);
    font-family: 'Titillium Web', sans-serif;
}

.popup-header .added-message {
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 16px;
}

.popup-header .checkmark {
    display: inline-block;
    font-weight: bold;
    color: #000;
}

.related-products-popup .btn-view-cart {
    background: var(--e-global-color-uicore_primary);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 0;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Titillium Web', sans-serif;
    font-size: 15px;
}

.related-products-popup .btn-view-cart:hover {
    background: #064c80;
    color: white;
}

.related-products-popup .btn-view-cart svg {
    transition: transform 0.3s ease;
}

.related-products-popup .btn-view-cart:hover svg {
    transform: translateX(4px);
}

.popup-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

.related-products-popup .related-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-products-popup .related-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.related-products-popup .related-product-item {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.related-products-popup .related-product-item:hover {
    transform: translateY(-3px);
    border-color: var(--e-global-color-uicore_primary);
}

.related-products-popup .related-product-item .product-image {
    width: 100%;
    height: 200px;
    margin-bottom: 15px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-products-popup .related-product-item .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.related-products-popup .related-product-item:hover .product-image img {
    transform: scale(1.05);
}

.related-products-popup .related-product-item .product-ref {
    font-size: 13px;
    color: var(#666);
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-products-popup .related-product-item .product-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.related-products-popup .related-product-item .product-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s ease;
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
}

.related-products-popup .related-product-item .product-title a:hover {
    color: var(--e-global-color-uicore_primary);
}

.related-products-popup .related-product-item .product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--e-global-color-uicore_primary);
    margin: 0 0 0px 0;
    font-family: 'Titillium Web', sans-serif;
}

.related-products-popup .btn-add-to-cart {
    background: transparent;
    color: var(--e-global-color-uicore_primary);
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0;
    padding-top: 15px;
    font-family: 'Titillium Web', sans-serif;
}

.related-products-popup .btn-add-to-cart:hover {
    color: #064c80;
}

.related-products-popup .btn-add-to-cart svg {
    transition: transform 0.3s ease;
}

.related-products-popup .btn-add-to-cart:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1400px) {
    .related-products-popup .related-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .related-products-popup .related-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .popup-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .popup-body {
        padding: 30px 20px;
    }
    
    .related-products-popup .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .related-products-popup .related-product-item .product-image {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .related-products-popup .related-products-grid {
        grid-template-columns: 1fr;
    }
}

#horia-payment-country-message {
    margin-top: 20px;
}

.wc-block-checkout__sidebar .wc-block-components-totals-footer-item {
    color: var(--e-global-color-uicore_primary);
}

.horia-stock-notice-block {
    padding: 1em 2em 1em 3.5em;
    margin: 0 0 2em;
    position: relative;
    background-color: #f6f5f8;
    color: var(--e-global-color-uicore_primary);
    border-top: 3px solid var(--e-global-color-uicore_primary);
    list-style: none outside;
    width: auto;
    word-wrap: break-word;
     display: none; /* Masqué par défaut, affiché par JS si nécessaire */
}

.actusBloc .ui-e-filters {
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.wc-block-components-totals-shipping .wc-block-components-totals-item__value, .wc-block-checkout__shipping-option .wc-block-checkout__shipping-option--free {
    display: none;
}


.woocommerce table.my_account_orders .button {
    padding: 10px !important;
    margin-right: 10px;
    background-color: #efefef !important;
    color: black !important;
    text-transform: none !important;
}

.woocommerce table.my_account_orders .button:hover {
    background-color: var(--e-global-color-uicore_primary) !important;
    color: white !important;
}

.woocommerce table.shop_table thead th {
    background-color: #f9f9f9 !important;
}

.archive.woocommerce .uicore-widget.widget_block > p {
    display: none !important;
}

.post-type-archive-product.woocommerce .woocommerce-ordering select {
    font-weight: 300;
}

.single-product main.uicore, .woocommerce-page:not(.elementor-page) main.uicore {
    padding-top: 50px !important;
}

.uicore-asside-cart-inner .woocommerce ul.cart_list li dl, .woocommerce ul.product_list_widget li dl {
    border-left: 0px;
}

.uicore-asside-cart-inner .woocommerce .stock-badge-text  {
    display: none;
}

.uicore-asside-cart-inner .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li a {
    align-items: anchor-center !important;
}

.uicore-asside-cart-inner a:hover {
   color: var(--e-global-color-uicore_primary) !important;
}

.wpml-ls-native {
	font-size: 12px;
}

.wpml-ls-link {
	color: #444444 !important;
	width: 77px;
	height: 27px;
	text-align: left;
	padding-top: 5px !important;
}

.wpml-ls-item-toggle:after {
   	content: "" !important;
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    
    border-right: 1.5px solid currentColor !important;
    border-bottom: 1.5px solid currentColor !important;
    
    border-top: none !important;
    border-left: none !important;
    
    transform: rotate(45deg) !important;
	margin-top: -3px;
	margin-left: 40px;
}

.wpml-ls-item-toggle:before {
	content: "";
	display: inline-block;

	width: 12px;
	height: 12px;

	background-color: currentcolor; /* couleur du SVG */

	-webkit-mask-image: url("https://horia.sandbox-novadev.ch/wp-content/uploads/2026/05/lang-icon.svg");
	mask-image: url("https://horia.sandbox-novadev.ch/wp-content/uploads/2026/05/lang-icon.svg");

	-webkit-mask-size: contain;
	mask-size: contain;

	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;

	-webkit-mask-position: center;
	mask-position: center;
	
	margin-left: 5px;
	margin-right: 5px;
	margin-top: -2px;
	transform: translatey(3px);
}

.wpml-ls ul {
	width: 80px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: start;
	cursor: pointer;
}

.wpml-ls-sub-menu {
	margin-top: 10px !important;
	transform: translatex(-2px);
	
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 2px;
}

.wpml-ls {
	width: auto;
}

.wpml-ls-sub-menu {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);

    transition:
        opacity 0.1s ease,
        transform 0.1s ease;
}

.wpml-ls-sub-menu[style*="visibility: visible"] {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ui-filters-drawer .ui-drawer-content .uicore-widget {
    padding-bottom: 0px;
}

.ui-filters-drawer .ui-drawer-content{
    padding: 30px !important;
    justify-content: normal !important;
}

.ui-filters-drawer .woocommerce .woocommerce-ordering select {
    text-align-last: left !important;
    margin-bottom: 20px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 20px;
    font-size: 15px !important;
}

.uicore-sidebar .wp-block-heading {
    display: none;
}

.uicore-sidebar .wc-block-catalog-sorting {
    display: none;
}

.uicore-sidebar .uicore-widget {
    padding: 0px !important;
}

.uicore-asside-cart .widget_shopping_cart .widget_shopping_cart_content ul.cart_list li span.quantity .woocommerce-Price-amount {
    font-weight: 400 !important;
}

.uicore-navigation-wrapper .uicore-menu-container ul .menu-item.hiddenMobileMenuItem {
    display: block  !important;
}

.uicore-navigation-wrapper .uicore-menu-container ul .menu-item.hiddenDesktopMenuItem, .uicore-navbar:not(.uicore-left-menu) li.menu-item.hiddenDesktopMenuItem {
    display: none  !important;
}

@media screen and (max-width: 768px) {
    .horia-tri-wrap {
        display: none;
    }

    .uicore-sidebar .wp-block-heading {
        display: block;
    }

    .uicore-sidebar .wc-block-catalog-sorting {
        display: block;
    }

    .uicore-sidebar .uicore-widget {
        padding: 0px !important;
    }

    .single-product main.uicore, .woocommerce-page:not(.elementor-page) main.uicore {
        padding: 20px 0 !important;
    }

    .uicore-page-title .uicore-container {
        overflow-x: scroll !important;
    }

    .uicore-page-title .uicore-container .ui-breadcrumb {
        overflow-x: scroll;
        text-wrap: nowrap;
    }

    .woocommerce ul.products li.product a img, .bdt-wc-carousel .bdt-wc-carousel-image img {
        height: 140px;
    }

}


.imgCroppedCorner  {
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

/* Masquer "Nouveau dans la boutique" */
.wp-block-woocommerce-empty-cart-block hr,
.wp-block-woocommerce-empty-cart-block h2:last-of-type,
.wp-block-woocommerce-empty-cart-block .wc-block-product-new {
    display: none !important;
}

/* Centrer et espacer le contenu */
.wp-block-woocommerce-empty-cart-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 60px 24px;
    text-align: center;
}

/* Icône du titre */
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before {
    display: block;
    margin: 0 auto 20px;
    width: 76px;
    height: 76px;
    background: #f0f4f9;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='none' stroke='%230860A8' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    content: '';
}

/* Supprimer l'icône native WooCommerce */
.wp-block-woocommerce-empty-cart-block .with-empty-cart-icon .wc-block-cart__empty-cart__title::before {
    display: none !important;
}

.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
    mask-image: none !important;
    background-color: #f0f4f9  !important;
}

/* Titre */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title {
    font-size: 22px !important;
    font-weight:600 !important;
    color: #1a2233 !important;
    margin: 0 0 12px !important;
}

/* Séparateur */
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: #dde1e9;
    margin: 16px auto 0;
}

/* Lien "Parcourir la boutique" → bouton primaire */
.wp-block-woocommerce-empty-cart-block p a {
    display: inline-block;
    background: var(--e-global-color-uicore_primary, #0860A8) !important;
    color: #fff !important;
    text-decoration: none !important;
    padding: 12px 28px;
    font-family: "Titillium Web", sans-serif;
    font-size: 15px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    margin-top: 8px;
}

.wp-block-woocommerce-empty-cart-block p a:hover {
    background: #064e87 !important;
}

.wc-block-cart .wc-block-cart__totals-title, table.wc-block-cart-items .wc-block-cart-items__header th, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-weight: 600 !important;
}

.uicore-custom-area {
    gap: 25px !important;
}

.uicore-custom-area .uicore-hca p {
    margin-bottom: -7px !important;
}

@media (max-width: 1025px) {
    .uicore-custom-area {
        display: flex !important;
        margin: 0 auto;
    }

    .uicore-navigation-wrapper .uicore-menu-container ul .menu-item.hiddenMobileMenuItem {
        display: none  !important;
    }

    .uicore-navigation-wrapper .uicore-menu-container ul .menu-item.hiddenDesktopMenuItem {
        display: block  !important;
    }
} 

/* Réduire l’opacité des placeholders dans Contact Form 7 */
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  opacity: 0.5;
}

/* Compatibilité anciens navigateurs */
.wpcf7-form input::-webkit-input-placeholder,
.wpcf7-form textarea::-webkit-input-placeholder {
  opacity: 0.5;
}

.wpcf7-form input::-moz-placeholder,
.wpcf7-form textarea::-moz-placeholder {
  opacity: 0.5;
}

.wpcf7-form input:-ms-input-placeholder,
.wpcf7-form textarea:-ms-input-placeholder {
  opacity: 0.5;
}

.wpcf7-form input::-ms-input-placeholder,
.wpcf7-form textarea::-ms-input-placeholder {
  opacity: 0.5;
}

.wpcf7-form textarea {
  height: 120px;
  min-height: 120px;
  resize: none;
}

.woocommerce .woocommerce-info:before {
    color: #064e87 !important;
}

.woocommerce .woocommerce-info {
    box-shadow: none  !important;
}