/* ================================== */
/* DETAIL_PRODUIT.CSS - ÉLÉGANCE      */
/* ================================== */

/* --- 1. Navigation de retour --- */
.return-link-wrapper {
    margin: 2rem 0;
}

.return-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.return-link:hover {
    color: var(--accent);
}

/* --- 2. Layout Principal (Grille) --- */
.produit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 5rem;
}

.col-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

/* --- 3. Contenu Texte --- */
.product-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.prix-display {
    font-size: 2rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
    font-family: 'Roboto', sans-serif;
}

/* Bloc Commande (Mis en avant) */
.bloc-contact-commande {
    background: var(--surface-2);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-bottom: 3rem;
    text-align: center;
}

.bloc-contact-commande p {
    margin-bottom: 1.5rem;
    color: var(--muted);
    font-style: italic;
}

/* --- 4. Système d'Onglets --- */
.produit-info-tabs {
    margin-top: 2rem;
}

.tab-nav {
    display: flex;
    gap: 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
}

.tab-link {
    background: none;
    border: none;
    color: var(--muted);
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    padding-bottom: 1rem;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.tab-link.active {
    color: var(--accent);
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

/* Contenu des onglets */
.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
    line-height: 1.8;
    color: var(--muted);
}

.tab-panel.active {
    display: block;
}

.details-list {
    list-style: none;
}

.details-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.details-list li strong {
    color: var(--text);
    margin-right: 10px;
}

/* --- 5. Animations & Responsive --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .produit-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .tab-nav {
        gap: 1rem;
        font-size: 0.9rem;
    }
}


/* ============================ */
/* NAVIGATION (LE FIX)          */
/* ============================ */

nav ul {
    display: flex;          /* Aligne les éléments côte à côte */
    list-style-type: none;  /* Enlève les points noirs */
    margin: 0;
    padding: 0;
    gap: 2rem;              /* Espace entre chaque mot */
    align-items: center;    /* Aligne verticalement au centre */
}

nav ul li {
    margin: 0;
    padding: 0;
    display: block;         /* Force l'affichage propre */
}

/* On s'assure que le container du header est bien en flex aussi */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}