/*!
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;
} */

.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;
}
    

.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-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: 12px 0;
	color: black;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	font-family: var(--uicore-typography--h3-f, "Inter");
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	position: relative;
}

.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;
}


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

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

.uicore-sidebar .product-categories-list ul li {
	list-style-type: none;
	padding-bottom: 0px;
}

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

.product-categories-list {
    font-family: Arial, sans-serif;
}

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

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

.category-link {
    display: block;
    padding: 10px 0px;
    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: 8px 15px 8px 30px;
    text-decoration: 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);
}


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


.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;
}