/* ============================================================
   FICHES VINS - Frontend Styles
   Theme: Doré / Marron (Domaine Laguerre)
   ============================================================ */

:root {
    --fv-gold: #c9a96e;
    --fv-gold-light: #e8d5a8;
    --fv-gold-dark: #a8853d;
    --fv-brown: #5a3e1b;
    --fv-brown-light: #7a5c35;
    --fv-cream: #faf6ee;
    --fv-cream-dark: #f0e8d5;
    --fv-text: #3a2a14;
    --fv-text-light: #6b5a45;
    --fv-white: #ffffff;
    --fv-shadow: rgba(90, 62, 27, 0.12);
}

/* ---- Wrapper ---- */
.fv-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* ---- Filtres ---- */
.fv-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.fv-filter-btn {
    background: var(--fv-white);
    border: 2px solid var(--fv-gold);
    color: var(--fv-brown);
    padding: 8px 24px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.fv-filter-btn:hover,
.fv-filter-btn.active {
    background: linear-gradient(135deg, var(--fv-gold), var(--fv-gold-dark));
    color: var(--fv-white);
    border-color: var(--fv-gold-dark);
}

/* ---- Swiper ---- */
.fv-swiper {
    position: relative;
    padding: 10px 50px 60px;
    overflow: hidden;
}

/* ---- Card ---- */
.fv-card {
    background: var(--fv-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--fv-shadow), 0 1px 4px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px var(--fv-shadow);
}

/* ---- Card Header (Domaine) ---- */
.fv-card-header {
    background: linear-gradient(135deg, var(--fv-brown), var(--fv-brown-light));
    padding: 14px 20px;
    text-align: center;
    border-bottom: 3px solid var(--fv-gold);
}

.fv-domaine-name {
    color: var(--fv-gold-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ---- Card Body ---- */
.fv-card-body {
    display: flex;
    flex-direction: row;
    padding: 30px;
    gap: 30px;
    flex: 1;
}

/* ---- Bouteille ---- */
.fv-bottle {
    flex: 0 0 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv-bottle img {
    max-height: 400px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 12px rgba(0,0,0,0.15));
    transition: transform 0.4s ease;
}

.fv-card:hover .fv-bottle img {
    transform: scale(1.03);
}

.fv-no-image {
    width: 150px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    background: var(--fv-cream);
    border-radius: 8px;
    border: 2px dashed var(--fv-gold-light);
}

/* ---- Info ---- */
.fv-info {
    flex: 1;
    min-width: 0;
}

.fv-wine-name {
    font-size: 28px;
    color: var(--fv-brown);
    margin: 0 0 8px;
    font-weight: 700;
    line-height: 1.2;
    font-family: 'Georgia', serif;
}

.fv-appellation {
    font-size: 15px;
    color: var(--fv-text-light);
    margin: 0 0 2px;
    font-style: italic;
}

.fv-terroir {
    font-size: 13px;
    color: var(--fv-gold-dark);
    margin: 0 0 20px;
}

/* ---- Details Grid ---- */
.fv-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.fv-detail-block h4 {
    font-size: 13px;
    color: var(--fv-gold-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--fv-gold-light);
    font-weight: 700;
}

.fv-detail-block p {
    font-size: 14px;
    color: var(--fv-text);
    margin: 0;
    line-height: 1.6;
}

.fv-detail-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fv-detail-block ul li {
    font-size: 14px;
    color: var(--fv-text);
    line-height: 1.6;
    padding-left: 16px;
    position: relative;
}

.fv-detail-block ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--fv-gold);
    font-weight: bold;
}

/* ---- Certification ---- */
.fv-certification {
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid var(--fv-cream-dark);
}

.fv-cert-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2d7a2d, #3a9e3a);
    color: white;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Navigation Arrows ---- */
.fv-nav-prev,
.fv-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fv-white);
    border: 2px solid var(--fv-gold);
    border-radius: 50%;
    color: var(--fv-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--fv-shadow);
}

.fv-nav-prev { left: 0; }
.fv-nav-next { right: 0; }

.fv-nav-prev:hover,
.fv-nav-next:hover {
    background: var(--fv-gold);
    color: var(--fv-white);
}

.fv-nav-prev.swiper-button-disabled,
.fv-nav-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

/* ---- Pagination ---- */
.fv-pagination {
    text-align: center;
    margin-top: 20px;
}

.fv-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--fv-gold-light);
    opacity: 1;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.fv-pagination .swiper-pagination-bullet-active {
    background: var(--fv-gold-dark);
    transform: scale(1.3);
}

/* ---- Empty ---- */
.fv-empty {
    text-align: center;
    color: var(--fv-text-light);
    font-style: italic;
    padding: 40px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablette */
@media (max-width: 900px) {
    .fv-card-body {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
    }
    
    .fv-bottle {
        flex: 0 0 auto;
    }
    
    .fv-bottle img {
        max-height: 280px;
    }
    
    .fv-wine-name {
        text-align: center;
        font-size: 24px;
    }
    
    .fv-appellation,
    .fv-terroir {
        text-align: center;
    }
    
    .fv-details-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .fv-swiper {
        padding: 10px 45px 60px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .fv-swiper {
        padding: 10px 10px 55px;
    }
    
    .fv-card-body {
        padding: 15px;
        gap: 15px;
    }
    
    .fv-bottle img {
        max-height: 220px;
    }
    
    .fv-wine-name {
        font-size: 20px;
    }
    
    .fv-details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .fv-nav-prev,
    .fv-nav-next {
        width: 36px;
        height: 36px;
    }
    
    .fv-nav-prev { left: 2px; }
    .fv-nav-next { right: 2px; }
    
    .fv-filters {
        gap: 6px;
    }
    
    .fv-filter-btn {
        padding: 6px 16px;
        font-size: 12px;
    }
    
    .fv-domaine-name {
        font-size: 11px;
        letter-spacing: 2px;
    }
}
