/*
 Theme Name: Site Wordpress Développé par UPARTNER
 Description: Par UPARTNER
 Author: UPARTNER
 Author URI: https://upartner.agency
 Template: hello-elementor
 Version: 1.0.2
*/

body{
	padding-top: 140px;
}

.jet-listing-not-found{
	margin-top: 1em;
}

.ekit_search-field, .ekit_search-field:focus{
    outline: none !important;
    color: white !important;
}

.elementor-widget-container {
    position: relative;
}
.wine, .beer, .alcohol {
    background-color: #CA0A1C;
    position: absolute;
    top: 100%;
    left: 10%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.wine.visible, .beer.visible, .alcohol.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Affichage des régions et sous-régions */
.regions-list {
    list-style: none;
    padding: 0;
}
.region-parent-item {
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
}
.regions-enfants-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    min-width: 180px;
    z-index: 10;
}
.region-parent-item:hover > .regions-enfants-list {
    display: block;
}
.region-enfant-item {
    margin-bottom: 5px;
}

.vins-produits {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    margin: 32px 0;
}

/* Styles du slider et des produits */
.swiper {
    width: 100%;
    padding: 20px 0 40px 0;
}

.swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

/* Style de base pour les produits en grille */
.vin-produit {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 24px 16px 16px 16px;
    width: calc(25% - 24px); /* 4 par ligne avec gap */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
}

/* Styles spécifiques pour les produits dans le slider */
.swiper .vin-produit {
    width: 100% !important; /* Override la largeur de base */
    margin: 0 !important;
}

.vin-produit:hover {
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.vin-produit img {
    max-height: 180px;
    width: auto;
    margin-bottom: 16px;
}

.vin-produit h3 {
    font-size: 1.1rem;
    text-align: center;
    margin: 12px 0 8px 0;
    min-height: 48px;
    color: #222 !important;
    font-weight: 500;
    width: 100%;
}

.vin-produit h3 a {
    color: #222 !important;
}

.vin-produit .prix {
    font-weight: 400;
    font-size: 1rem;
    color: #222;
    margin-bottom: 12px;
    display: block;
    letter-spacing: 0.5px;
    width: 100%;
    text-align: center;
}

.vin-produit .button {
    background: white;
    color: #CA0A1C;
    font-weight: 400;
    padding: 10px 10px;
    border: 1px solid #CA0A1C;
    margin-top: auto;
    font-size: 1rem;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.5px;
    text-align: center;
    width: 70%;
    max-width: 260px;
    cursor: pointer;
}

.vin-produit .button:hover {
    background: #b92d23;
    color: #fff;
}

.rupture-stock {
    display: inline-block;
    background: #e0e0e0;
    color: #b92d23;
    font-size: 1rem;
    font-weight: 400;
    padding: 10px 10px;
    margin-top: auto;
    margin-bottom: 0;
    letter-spacing: 0.5px;
    text-align: center;
    width: 70%;
    max-width: 260px;
    box-shadow: none;
}

#filtres-vins input[name="vin_search"] {
    margin-bottom: 18px;
    margin-top: 8px;
    box-sizing: border-box;
}

.infos-techniques-vin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}
.info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.info-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.info-label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}
.info-value {
    color: #666;
    font-size: 1rem;
}
.taxonomy-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.taxonomy-item {
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Styles des boutons */
.button,
.recherche-btn,
button[type="submit"] {
    background: white;
    color: #CA0A1C;
    font-weight: 400;
    padding: 10px 18px;
    border: 1px solid #CA0A1C;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    letter-spacing: 0.5px;
}

.button:hover,
.recherche-btn:hover,
button[type="submit"]:hover {
    background: #CA0A1C;
    color: white;
}

.vin-produit .button {
    width: 70%;
    max-width: 260px;
    margin-top: auto;
}

/* Style spécifique pour les boutons de recherche */
form[id^="recherche"] button[type="submit"],
form[id^="filtres"] button[type="submit"] {
    background: #CA0A1C;
    color: white;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
}

form[id^="recherche"] button[type="submit"]:hover,
form[id^="filtres"] button[type="submit"]:hover {
    background: #b92d23;
}

/* Styles des boutons d'ajout au panier */
.vin-produit .add_to_cart_button,
.vin-produit .product_type_simple,
.vin-produit .ajax_add_to_cart {
    background: white !important;
    color: #CA0A1C !important;
    font-weight: 400 !important;
    padding: 10px 10px !important;
    border: 1px solid #CA0A1C !important;
    margin-top: auto !important;
    font-size: 1rem !important;
    box-shadow: none !important;
    transition: all 0.2s !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    width: 70% !important;
    max-width: 260px !important;
    cursor: pointer !important;
    border-radius: 0 !important;
    text-transform: none !important;
    line-height: 1.5 !important;
}

.vin-produit .add_to_cart_button:hover,
.vin-produit .product_type_simple:hover,
.vin-produit .ajax_add_to_cart:hover {
    background: #CA0A1C !important;
    color: white !important;
    text-decoration: none !important;
}

.vin-produit .added_to_cart {
    display: none !important;
}



.caracteristiques-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 32px;
}
.caracteristiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.caracteristique-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border: 1px solid #f0f0f0;
}
.caracteristique-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.caracteristique-icon svg {
    width: 100%;
    height: 100%;
    stroke: #d8433a;
    fill: none;
    stroke-width: 1.5;
}
.caracteristique-label {
    color: #666;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}
.caracteristique-value {
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}
.appreciation-stars {
    color: #d8433a;
    font-size: 18px;
    letter-spacing: 2px;
}
@media (max-width: 768px) {
    .caracteristiques-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .caracteristiques-grid {
        grid-template-columns: 1fr;
    }
}

.regions-cepages-container {
    margin: 2em 0;
}
.regions-cepages-flex {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}
.region-section,
.cepage-section {
    flex: 1;
}
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.terms-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.term-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #fff;
    border: 1px solid #d8433a;
    color: #d8433a;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}
.term-link:hover {
    background-color: #d8433a;
    color: #fff;
}
@media (max-width: 768px) {
    .regions-cepages-flex {
        flex-direction: column;
        gap: 24px;
    }
}