/* --- 1. VARIABLES & RESET --- */
:root {
    --primary-color: #E6B800;
    /* Jaune Miel */
    --secondary-color: #3E2723;
    /* Brun foncé (Texte/Logo) */
    --accent-color: #D4AF37;
    /* Or */
    --bg-color: #FDF5E6;
    /* Crème (Fond étiquette) */
    --white: #FFFFFF;
    --text-color: #333;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}




/* --- 2. HEADER & NAVIGATION (Réduit de 30%) --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1250px;
    margin: 0 auto;
    height: 50px;
    position: relative;
    overflow: visible;
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    z-index: 1002;
    position: relative;
    height: 100%;
}

.header-icon {
    height: 75px;
    width: auto;
    margin-top: 25px;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo-link:hover .header-icon {
    transform: scale(1.1) rotate(-3deg);
}

.header-brand-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    white-space: nowrap;
    transition: color 0.3s ease;
    display: inline-flex;
    /* Permet d'aligner le .fr à la suite */
    align-items: center;
}

/* On crée le ".fr" invisible par défaut */
.header-brand-text::after {
    content: ".fr";
    width: 0;
    overflow: hidden;
    color: var(--primary-color);
    /* Le .fr sera directement en doré */
    display: inline-block;
    vertical-align: bottom;
    transition: none;
    /* On veut que l'animation gère tout */
    border-right: 2px solid transparent;
    /* Le curseur qui clignote */
}

/* Déclenchement au survol du logo ou du texte */
.logo-link:hover .header-brand-text {
    color: var(--primary-color);
}

.logo-link:hover .header-brand-text::after {
    animation: typing 0.6s steps(3, end) forwards, blink 0.5s step-end infinite;
}

/* --- KEYFRAMES --- */

/* Effet d'écriture : on augmente la largeur */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 1.8rem;
    }

    /* Ajuster selon la largeur du texte .fr */
}

/* Effet curseur qui clignote */
@keyframes blink {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-color);
    }
}

/* Nav Desktop */
.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    margin-left: 40px;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: color 0.3s ease;
    /* Ajout d'une transition fluide */
}

.nav-links a:hover {
    color: var(--primary-color) !important;
    /* Passe en Jaune Miel/Doré */
}

.burger-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    z-index: 1002;
    transform: scale(0.85);
    /* Réduction du burger */
}

.burger-menu div {
    width: 24px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.mobile-sub-links {
    display: none;
    /* Hidden on desktop */
}

/* --- ICONE CADDIE PREMIUM (Desktop & Mobile) --- */

.cart-container-premium {
    position: relative;
    display: flex;
    align-items: center;
    padding: 5px;
    color: var(--secondary-color);
    /* Brun foncé par défaut */
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-width: 32px;
}

.cart-svg-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}



/* --- AJUSTEMENT DU BADGE POUR 2 CHIFFRES --- */
.cart-badge {
    position: absolute;
    top: -1px;
    right: -5px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: bold;

    /* On définit une hauteur fixe */
    height: 18px;
    /* On définit une largeur minimale égale à la hauteur pour le cercle parfait */
    min-width: 18px;
    /* On ajoute un peu de padding latéral pour que les chiffres ne collent pas aux bords */
    padding: 0 3px;
    padding-top: 3px;

    /* ASTUCE : border-radius élevé (10px) plutôt que 50% */
    /* Cela crée un cercle pour 1 chiffre et une "pilule" arrondie pour 2+ chiffres */
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}


/* --- 3. UI ELEMENTS --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 15px;
    /* Était 2rem 15px */
    width: 100%;
}

.btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s, background-color 0.2s;
    text-align: center;
}

.btn:hover {
    transform: scale(1.05);
    background-color: #cca300;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-top: 0;
    /* Colle davantage au header */
    margin-bottom: 1.2rem;
    /* Espace réduit sous le titre */
    color: var(--secondary-color);
    font-size: 1.6rem;
    /* Police réduite (était ~1.8rem ou 2.5rem) */
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    /* Soulignement plus discret */
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px auto 0;
}

/* --- 4. LAYOUT SPECIFIQUE ADMIN (HEADER + SIDEBAR + CONTENT) --- */
.dashboard-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    /* Important : Bloque le menu en haut */
    gap: 20px;
    width: 98%;
    max-width: 1600px;
    margin: 20px auto;
    padding: 0 10px;
    min-height: 80vh;
}

/* Sidebar */
.dashboard-sidebar {
    width: 230px;
    flex-shrink: 0;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

.dashboard-menu a {
    display: block;
    padding: 8px 10px;
    margin-bottom: 2px;
    color: var(--text-color);
    border-radius: 4px;
    transition: 0.2s;
    font-weight: 500;
}

.dashboard-menu a:hover,
.dashboard-menu a.active {
    background-color: #FFF8E1;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Content */
.dashboard-content {
    flex: 1;
    width: 0;
    min-width: 0;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
}

/* Tableaux Admin */
.dashboard-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.dashboard-content th,
.dashboard-content td {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.dashboard-content th {
    background: #f8f8f8;
}

.dashboard-content td img {
    width: 30px !important;
    height: 30px !important;
    object-fit: cover;
    border-radius: 3px;
}

/* Formulaires Admin */
.dashboard-content .form-group {
    margin-bottom: 10px;
}

.dashboard-content label {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 2px;
    display: block;
}

.dashboard-content .form-control {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.9rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dashboard-content .section-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: left;
}

.dashboard-content .section-title::after {
    margin: 5px 0 0 0;
}







/* --- 6. PAGE HERO & ACCUEIL (Retour Version 50vh) --- */
.hero-split {
    display: flex;
    min-height: 50vh;
    /* Hauteur équilibrée */
    width: 100%;
    overflow: hidden;
}

.hero-text-side {
    flex: 1;
    background-color: #FFF8E1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.hero-content {
    max-width: 450px;
    z-index: 2;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #444;
}

.hero-image-side {
    flex: 1.2;
    background: url('../img/pot de miel avec fond nature.jfif') center center / cover no-repeat;
}




/* --- 7. PRODUITS (Grille Compacte & Nettoyée) --- */
.produits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Harmonise la hauteur des cartes sur une même ligne */
}

.product-card:hover {
    transform: translateY(-3px);
}

/* Image */
.card-image {
    height: 180px;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
    /* Supprime l'espace fantôme sous l'image */
}

.product-card:hover .card-image img {
    transform: scale(1.08);
}

/* Lien global (image) */
.card-link-wrapper {
    display: block;
    height: 100%;
    color: inherit;
}

/* Conteneur Infos */
.card-info {
    padding: 1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Titre */
.card-info h3 {
    margin: 0 0 0.8rem 0;
    font-size: 1.1rem;
    line-height: 1.3;
}

.card-title-link {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.2s;
}

.product-card:hover .card-title-link {
    color: var(--primary-color);
}

/* Prix */
.card-prix {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 2px;
    color: #666;
    line-height: 1.2;
}

.card-prix strong {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contenances */
.product-weights {
    font-size: 0.65rem;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.2rem;
    color: #aaa;
    letter-spacing: 0.2px;
    min-height: 1.2em;
    font-style: italic;
}

.product-weights.out-of-stock {
    color: #d32f2f;
    font-style: normal;
    font-weight: bold;
}

/* Zone Bouton */
.card-actions {
    margin-top: auto;
    /* Pousse le bouton vers le bas */
}

.card-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    font-size: 0.85rem;
    border: 2px solid var(--primary-color);
    color: var(--secondary-color);
    border-radius: 5px;
    font-weight: bold;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 5px;
}

.card-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Messages état (vide/erreur) */
.msg-error {
    color: red;
    text-align: center;
    margin: 2rem 0;
}

.msg-empty {
    text-align: center;
    margin: 2rem 0;
    color: #666;
    font-style: italic;
}



/* --- 8. PAGE DÉTAIL PRODUIT (Version Unifiée & Épurée) --- */

.product-page-container {
    padding-top: 0.5rem;
    max-width: 850px;
    margin: 0 auto;
}

/* Lien de retour */
.back-link {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: inline-block;
    transition: 0.2s;
}

.back-link:hover {
    color: var(--primary-color);
}

/* Carte principale blanche */
.product-detail-container {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    margin-top: 0;
    display: block;
    /* Conteneur parent simple */
}

/* Structure Flex du haut (Image + Achat) */
.main-details-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 5px;
}

/* Colonne Image & Slider */
.detail-image-column {
    flex: 0 0 250px;
    width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-img-frame {
    width: 250px;
    height: 350px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.has-thumbnails .main-img-frame {
    margin-bottom: 12px;
}

.main-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}

/* Slider Miniatures */
.thumbnails-wrapper {
    display: flex;
    align-items: center;
    width: 250px;
    justify-content: space-between;
}

.thumbnails-window {
    width: 200px;
    height: 84px;
    overflow: hidden;
}

.thumbnails-container {
    display: flex;
    gap: 10px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: max-content;
}

.thumb-img {
    width: 60px !important;
    height: 84px !important;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
}

.thumb-img.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.thumb-nav-btn {
    width: 25px;
    height: 84px;
    background: #f4f4f4;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

/* Colonne Infos & Formulaire */
.detail-info {
    flex: 1;
}

.detail-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.detail-prix {
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.form-group-compact {
    margin-bottom: 10px;
}

.variant-select {
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    font-size: 0.9rem;
}

.qty-btn-wrapper {
    display: flex;
    gap: 10px;
    margin-top: 5px;
}

.qty-input {
    width: 65px;
    height: 42px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-add-cart {
    flex: 1;
    height: 42px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Badges & Descriptions */
.trust-badges {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    font-size: 0.75rem;
    color: #888;
}

.detail-description {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.full-width-description {
    margin-top: 10px;
    padding-top: 0;
}

.full-width-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}




/* --- 9. PANIER LATÉRAL (Optimisé) --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: transparent;
    /* Suppression du fond sombre */
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    cursor: default;
    /* Pas de pointeur pour que l'utilisateur ne "sente" pas l'overlay */
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 380px;
    /* On utilise dvh pour s'adapter parfaitement aux mobiles (barre d'adresse) */
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Flexbox crucial ici */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* Empêche le panier entier de scroller */
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    flex-shrink: 0;
    /* Empêche l'en-tête de s'écraser */
    padding: 15px 20px;
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

#cart-items-container {
    flex: 1;
    /* Prend tout l'espace disponible au centre */
    overflow-y: auto;
    /* Active le scroll vertical */
    padding: 15px;
    -webkit-overflow-scrolling: touch;
    /* Scroll fluide sur iPhone */
}

/* Structure de l'article */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    /* Aligne verticalement l'image, le texte et la croix */
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background: #f9f9f9;
}

.cart-item-info {
    flex: 1;
    /* Le texte prend toute la place centrale */
}

.cart-item-title {
    font-weight: bold;
    font-size: 0.85rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 3px;
}

.cart-item-price {
    font-size: 0.8rem;
    color: #666;
}

/* --- Boutons + et - (Centrage Optique) --- */
.cart-qty-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.cart-qty-control button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    color: var(--secondary-color);
    cursor: pointer;

    /* Centrage parfait */
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: bold;
    font-size: 14px;
    padding: 0;
    line-height: 0;
    /* Important pour le centrage des caractères */
    transition: all 0.2s;
}

/* Ajustement spécifique pour le symbole moins qui paraît souvent trop bas */
.cart-qty-control button:first-child {
    padding-bottom: 2px;
}

.cart-qty-control button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fffdf5;
}

/* --- Croix de suppression alignée à droite --- */
.cart-item-remove {
    margin-left: auto;
    cursor: pointer;
    color: #b71c1c;
    font-size: 1.4rem;
    padding: 5px;
    opacity: 0.4;
    transition: 0.3s;
}

.cart-item-remove:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* --- ANIMATION CLIGNOTEMENT DORÉ DU BADGE --- */
@keyframes cart-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 184, 0, 0.7);
    }

    70% {
        transform: scale(1.3);
        box-shadow: 0 0 0 10px rgba(230, 184, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(230, 184, 0, 0);
    }
}

.cart-badge.pulse {
    animation: cart-pulse 0.5s ease-out;
    background-color: var(--primary-color) !important;
}

/* Style de l'état vide avec icône robuste */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #9e9e9e;
    /* Gris moyen */
}

.empty-cart-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 15px;
    opacity: 0.4;
    /* Pour un effet plus subtil */
    color: #9e9e9e;
    /* Couleur grise du panier */
}

.cart-empty-state p {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

/* --- FOOTER DU PANIER & TOTAL --- */
.cart-footer {
    flex-shrink: 0;
    /* Empêche le footer de s'écraser */
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fafafa;
    width: 100%;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    /* Aligne le texte sur la ligne de base */
    margin-bottom: 10px;
}


/* Le libellé "TOTAL" */
.cart-total span:first-child {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: #888;
    /* Gris moyen pour ne pas voler la vedette au prix */
}

/* Le montant en Euros */
.cart-total span:last-child {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Ajustement du bouton de validation pour qu'il soit bien large */
.cart-footer .btn {
    width: 100%;
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}


/* --- ANIMATION DES ARTICLES DU PANIER --- */

/* État initial caché */
.cart-item {
    opacity: 0;
    transform: translateX(10px);
    /* Réduit de 20 à 10px */
    animation: slideInItem 0.4s ease forwards;
}

@keyframes slideInItem {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Déclenchement quand le panier est ouvert */
.cart-sidebar.open .cart-item {
    animation: slideInItem 0.4s ease forwards;
}





/* --- 10. FOOTER (BRUN & OR - ÉLÉGANCE AFFINÉE) --- */
footer {
    background-color: var(--secondary-color) !important;
    border-top: 2px solid var(--accent-color) !important;
    /* Ligne dorée légèrement épaissie pour le côté "classe" */
    padding: 12px 0 !important;
    /* Hauteur confortable comme précédemment */
    text-align: center !important;
    font-size: 0.75rem !important;
    /* Taille de texte réduite et discrète */
    color: rgba(255, 255, 255, 0.8) !important;
    margin-top: auto !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Permet l'ajustement fluide en blocs */
    gap: 8px 20px;
    /* Espace équilibré entre les éléments */
    line-height: 1.4 !important;
}

.footer-legal a {
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3) !important;
    margin: 0 5px;
}



/* --- PAGE CONTACT MODERNISÉE --- */

/* Ajustement du conteneur principal pour réduire l'espace haut */
.contact-page-container {
    padding-top: 10px !important;
    /* Force la réduction de marge */
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    align-items: flex-start;
    margin-top: 10px;
}

/* Colonne Gauche : Infos + Map */
.contact-sidebar {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Colonne Droite : Formulaire */
.contact-main {
    flex: 2;
    min-width: 300px;
}

/* Cartes (Fond blanc) */
.contact-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    /* Arrondi plus doux */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    /* Ombre légère */
    border: 1px solid #f0f0f0;
}

/* --- CHAMPS DE FORMULAIRE "SYMPA" (MODERNES) --- */
.modern-form-group {
    margin-bottom: 20px;
    position: relative;
}

.modern-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Le champ lui-même */
.modern-input {
    width: 100%;
    background-color: #f7f7f7;
    /* Fond gris clair */
    border: 2px solid transparent;
    /* Pas de bordure visible au début */
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

/* Effet au clic (Focus) */
.modern-input:focus {
    background-color: white;
    border-color: var(--primary-color);
    /* Bordure jaune miel */
    box-shadow: 0 4px 10px rgba(230, 184, 0, 0.15);
    outline: none;
}

/* Grille du formulaire (Nom/Email côte à côte) */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-full {
    grid-column: span 2;
}


/* --- INFOS & MAP --- */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    padding-bottom: 15px;
    border-bottom: 1px solid #f9f9f9;
}

.info-item:last-child {
    border: none;
    margin: 0;
    padding: 0;
}

.info-icon {
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

.map-compact {
    height: 220px;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}




/* --- PAGES AUTHENTIFICATION (VERSION COMPACTE & DESIGN) --- */

.auth-container {
    min-height: 80vh;
    display: flex;
    align-items: flex-start;
    /* Aligne en haut au lieu de centrer */
    justify-content: center;
    padding: 30px 15px;
    /* Marge haut réduite à 30px */
}

.auth-card {
    background: white;
    padding: 30px;
    /* Padding interne réduit */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 500px;
    border: 1px solid #f0f0f0;
}

/* Grille Nom/Prénom */
.auth-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    /* Espace réduit entre colonnes */
}

/* --- CHAMPS MODERNES ET FINS --- */
.modern-form-group {
    margin-bottom: 15px;
    /* Espace réduit entre les lignes */
}

.modern-form-group label {
    display: block;
    font-size: 0.8rem;
    /* Label plus petit */
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-input {
    width: 100%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    /* Bordure fine grise par défaut */
    border-radius: 5px;
    padding: 10px 12px;
    /* CHAMP MOINS HAUT (C'est ici que ça change) */
    font-size: 0.9rem;
    /* Texte un peu plus petit */
    color: #333;
    transition: all 0.2s ease;
}

.modern-input:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 184, 0, 0.1);
    outline: none;
}


.auth-footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.auth-footer-link a {
    color: var(--primary-color);
    font-weight: bold;
}


/* --- CHAMP MOT DE PASSE AVEC OEIL --- */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper .modern-input {
    padding-right: 40px;
    /* Espace pour l'icône oeil */
}

.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #999;
    padding: 0;
    display: flex;
    align-items: center;
}

.toggle-password-btn:hover {
    color: var(--secondary-color);
}

/* Indicateurs de force du mot de passe (MODIFIÉ) */
.password-rules {
    margin-top: 8px;
    font-size: 0.75rem;
    color: #888;
    background: #f9f9f9;
    padding: 8px 12px;
    border-radius: 5px;

    /* ALIGNEMENT HORIZONTAL */
    display: none;
    /* Caché par défaut */
    flex-direction: row;
    flex-wrap: wrap;
    /* Passe à la ligne si écran trop petit */
    gap: 15px;
    /* Espace entre les règles */
    align-items: center;
}

/* Quand on clique dans le champ, on affiche en FLEX */
.password-wrapper:focus-within+.password-rules {
    display: flex;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
    white-space: nowrap;
    /* Empêche le texte de se couper bêtement */
}

.rule-item::before {
    content: '○';
    font-weight: bold;
    font-size: 0.9em;
}

.rule-item.valid {
    color: #2e7d32;
    font-weight: bold;
}

.rule-item.valid::before {
    content: '✓';
}


/* --- PAGE MON COMPTE (DASHBOARD) --- */

.account-container {
    padding-top: 20px;
    padding-bottom: 40px;
}

/* Grille Responsive : 2 colonnes sur PC, 1 sur Mobile */
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: start;
    /* Évite que les cartes s'étirent en hauteur */
}

/* Carte Blanche (Style unifié avec Login/Contact) */
.account-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

/* Titres des cartes */
.account-card h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--secondary-color);
    border-bottom: 2px solid #f5f5f5;
    padding-bottom: 15px;
}

/* Style des adresses enregistrées */
.saved-address-item {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.2s;
}

.saved-address-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.saved-address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.address-tag {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-delete {
    color: #e53935;
    font-size: 0.85rem;
    text-decoration: none;
    font-weight: bold;
}

.btn-delete:hover {
    text-decoration: underline;
}

/* Liste d'autocomplétion (Adresse Gouv) */
.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.suggestions-list li {
    padding: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f5f5;
}

.suggestions-list li:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);
    font-weight: bold;
}


/* Classe utilitaire pour remonter le contenu sous le header */
.page-header-compact {
    padding-top: 10px !important;
    /* Force le rapprochement avec le menu */
    margin-top: 20px !important;
}

.page-header-compact .section-title {
    margin-bottom: 20px;
    /* Réduit l'espace sous le titre H1 */
    margin-top: 0;
}



/* --- NOUVEAU : STYLES FORMULAIRES UNIFIÉS (Login, Inscription, Reset) --- */

.auth-wrapper {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.auth-box {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 380px;
    /* Taille idéale pour le login/reset */
}

/* Version plus large pour l'inscription */
.auth-box.wide {
    max-width: 450px;
}

.form-label-condensed {
    display: block;
    margin-bottom: 3px;
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.form-input-condensed {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.form-input-condensed:focus {
    border-color: var(--primary-color);
    outline: none;
}

.rule-item.valid {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9;
}

/* --- CLASSES D'AUTHENTIFICATION UNIFIÉES --- */
.auth-grid-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-grid-row>div {
    flex: 1;
}

.password-rules-container {
    display: none;
    /* Piloté par le focus JS */
    gap: 8px;
    margin-top: 5px;
    font-size: 0.7rem;
}


/* --- MESSAGES D'ALERTE UNIFIÉS --- */
.msg-alert {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: bold;
}

.msg-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.msg-error {
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ffcdd2;
}

/* --- RÈGLES DE MOT DE PASSE --- */
.password-rules-container {
    display: none;
    /* Affiché via JS focus */
    gap: 8px;
    margin-top: 6px;
    font-size: 0.7rem;
}

.rule-item {
    padding: 2px 5px;
    border-radius: 3px;
    background: #eee;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.rule-item.valid {
    background-color: #e8f5e9 !important;
    color: #2e7d32 !important;
    border: 1px solid #c8e6c9;
}



/* --- COORDONNÉES CONDENSÉES --- */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row-compact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.info-row-compact .icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.info-row-compact strong {
    display: block;
    color: var(--secondary-color);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.map-mini {
    height: 150px;
    /* Réduit la hauteur de la carte */
    border-radius: 6px;
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid #ddd;
}




/* --- 5. RESPONSIVE MOBILE --- */
@media (min-width: 600px) {
    .produits-grid {
        /* Calibrage idéal pour éviter les cartes trop larges */
        grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
    }
}

@media (max-width: 900px) {
    .navbar {
        height: 58px;
        /* Augmenté de 45px -> 58px */
    }

    .header-icon {
        height: 50px;
        /* Augmenté de 42px -> 50px */
        margin-top: 4px;
    }

    .header-brand-text {
        font-size: 0.95rem;
        /* Augmenté de 0.75rem -> 0.95rem */
        letter-spacing: 0.5px;
    }

    .nav-links {
        top: 58px;
        /* Aligné sur la nouvelle hauteur du header */
        width: 220px;
        /* Élargi pour voir l'ensemble du menu correctement */
    }

    .page-header-compact {
        margin-top: 10px !important;
    }

    .page-header-compact .section-title {
        font-size: 1.8rem;
        /* Titre un peu plus petit sur mobile */
        margin-bottom: 15px;
    }


    /* Burger & Menu */
    .burger-menu {
        display: flex;
        margin-left: auto;
        transform: scale(0.85);
    }

    /* MENU MOBILE TYPE "CARTE" ULTRA-COMPACT */
    .nav-links {
        position: absolute;
        right: 5px;

        width: 220px;
        max-height: 85vh;
        overflow-y: auto;

        background-color: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 5px 0;
        /* Padding vertical mini */

        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
        border-radius: 6px;
        border: 1px solid #ddd;

        opacity: 0;
        transform: scale(0.95) translateY(-10px);
        transform-origin: top right;
        pointer-events: none;
        z-index: 1001;
        transition: all 0.2s ease-out;
    }

    .nav-links.active {
        opacity: 1;
        transform: scale(1) translateY(0);
        pointer-events: auto;
    }

    /* LIENS SITE PUBLIC (Très serrés) */
    .nav-links a {
        display: block;
        padding: 6px 15px;
        /* Réduit l'espace entre les lignes */
        border-bottom: none;
        text-align: left;
        font-size: 0.9rem;
        /* Police un poil plus petite */
        color: var(--secondary-color);
        width: 100%;
        line-height: 1.1;
        margin: 0;
    }

    .nav-links a:active,
    .nav-links a:hover {
        background-color: #f5f5f5;
        color: var(--primary-color);
    }

    .mobile-sub-links {
        display: flex;
        flex-direction: column;
        background: #fdfdfd;
        border-top: 1px solid #f0f0f0;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 5px;
    }

    .nav-links a.mobile-sub-link {
        padding-left: 30px;
        /* Indenté pour l'espace membre */
        font-size: 0.8rem;
        color: #555;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    /* Badge panier */
    /* On s'assure que le conteneur entoure strictement l'icône */
    .cart-container-premium {
        position: relative;
        /* Indispensable pour que le badge se base sur l'icône */
        display: inline-flex;
        /* Colle au bord de l'icône */
        align-items: center;
        justify-content: center;
        padding: 0;
        /* On retire les paddings qui pourraient décaler le calcul */
        width: 32px;
        /* Zone de clic carrée pour le pouce */
        height: 32px;
        margin-right: 10px;
        /* Espace par rapport aux autres éléments si besoin */
    }

    /* FORCE LE PANIER À RESTER COMPACT DANS LE MENU */
    .nav-links a.cart-container-premium {
        display: inline-flex !important;
        /* Évite le bloc qui prend 100% de largeur */
        width: fit-content !important;
        /* Le cadre s'ajuste à l'icône */
        padding: 10px 15px !important;
        /* Aligné avec le texte des autres liens */
        margin-right: auto;
        /* Pousse le vide vers la droite */
    }

    .cart-svg-icon {
        width: 26px;
        height: 26px;
    }


    .cart-badge {
        top: -3px !important;
        right: 4px !important;
        height: 19px;
        min-width: 19px;
        font-size: 0.6rem;
        padding-top: 0px;
    }

    .cart-sidebar {
        width: 85%;
        max-width: 320px;
    }

    /* --- ADAPTATION AUTH --- */
    .auth-card {
        padding: 20px;
    }

    .auth-grid-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-container {
        padding-top: 10px;
    }

    /* Encore plus haut sur mobile */


    /* --- ADAPTATION MOBILE PRODUIT --- */
    .product-detail-container {
        padding: 15px;
    }

    .main-details-flex {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-bottom: 0;
    }

    .detail-image-column {
        width: 100%;
    }

    .detail-image-column.has-thumbnails {
        flex-direction: row;
        width: 320px;
        align-items: flex-start;
        gap: 10px;
    }

    .thumbnails-wrapper {
        flex-direction: column;
        width: 60px;
        height: 350px;
    }

    .thumbnails-window {
        width: 60px;
        height: 272px;
    }

    .thumbnails-container {
        flex-direction: column;
        width: 60px;
    }

    .thumb-nav-btn {
        width: 60px !important;
        height: 30px !important;
    }

    .thumb-nav-btn span {
        transform: rotate(90deg);
    }

    .detail-info {
        width: 100%;
        padding: 0 5px;
    }

    .detail-title {
        margin: 8px 0 2px 0 !important;
        font-size: 1.4rem;
    }

    .form-group-compact {
        margin-bottom: 8px;
    }

    .qty-btn-wrapper {
        margin-top: 5px;
    }

    /* --- Adapation contact --- */
    .contact-layout {
        flex-direction: column;
        gap: 20px;
    }

    .contact-sidebar,
    .contact-main {
        width: 100%;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Tout en 1 colonne */
    .contact-form-full {
        grid-column: span 1;
    }

    .section-title {
        margin-bottom: 1.5rem;
        font-size: 1.8rem;
    }


    .hero-split {
        flex-direction: column-reverse;
        height: auto;
    }

    .hero-image-side {
        height: 35vh;
        width: 100%;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    /* --- LIENS ADMIN DANS LE BURGER --- */
    .mobile-admin-links {
        display: block !important;
        margin-top: 2px;
        background-color: transparent;
        border-top: 1px solid #eee;
        /* Petit trait fin de séparation */
        padding-top: 2px;
    }

    .mobile-admin-links p {
        text-align: left;
        padding-left: 15px;
        font-size: 0.65rem;
        text-transform: uppercase;
        color: #bbb;
        margin: 8px 0 4px;
        font-weight: bold;
    }

    .mobile-admin-links a {
        color: #c62828 !important;
        font-size: 0.8rem !important;
        padding: 6px 15px;
        /* Encore plus serré pour l'admin */
    }

    .mobile-admin-links a:hover {
        background-color: #ffebee;
    }

    /* --- DASHBOARD ADMIN MOBILE --- */
    .dashboard-container {
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 5px;
    }

    .dashboard-sidebar {
        display: none;
    }

    .dashboard-content {
        width: 100%;
        padding: 10px;
        overflow-x: auto;
    }

    .dashboard-content .section-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }


    /* --- ADAPTATION MOBILE (BLOCS FLUIDES) --- */
    footer {
        padding: 15px 15px !important;
    }

    .footer-legal {
        flex-direction: row !important;
        /* On reste en mode "ligne" qui wrap */
        justify-content: center;
        gap: 10px 15px;
        /* Les liens s'organisent en blocs selon la largeur */
    }

    .footer-separator {
        display: none;
        /* On retire la barre verticale pour laisser les blocs respirer */
    }

    .footer-legal span,
    .footer-legal a {
        white-space: nowrap;
        /* Évite qu'un lien ne se coupe sur deux lignes */
    }
}

/* Masquer les liens admin mobile sur Desktop */
.mobile-admin-links {
    display: none;
}

/* --- SOUS-MENU SIDEBAR (Catalogue & Stocks) --- */
.sidebar-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: background 0.2s;
    user-select: none;
    font-size: 0.9rem;
}

.sidebar-submenu-toggle:hover {
    background-color: #FFF8E1;
    color: var(--secondary-color);
}

.sidebar-submenu-toggle.open {
    background-color: #FFF8E1;
    color: var(--secondary-color);
}

.sidebar-submenu-icon {
    margin-right: 4px;
}

.sidebar-arrow {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
    color: #aaa;
}

.sidebar-submenu-toggle.open .sidebar-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 10px;
    border-left: 2px solid var(--primary-color);
    margin: 0 0 4px 8px;
}

.sidebar-submenu.open {
    max-height: 300px;
}

.sidebar-submenu a {
    display: block;
    padding: 6px 10px;
    margin-bottom: 1px;
    color: var(--text-color);
    border-radius: 4px;
    transition: 0.2s;
    font-weight: 500;
    font-size: 0.85rem;
}

.sidebar-submenu a:hover,
.sidebar-submenu a.active {
    background-color: #fffde7;
    color: var(--secondary-color);
    font-weight: bold;
}

/* --- FORMULAIRES GLOBAUX (évite duplication dans chaque page) --- */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: .9rem;
    font-family: inherit;
    background: #fff;
    transition: border-color .2s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 184, 0, .15);
}

/* --- 9. PAGE POINTS DE VENTE --- */

.pdv-container {
    padding: 1rem 5% 4rem;
}

.pdv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pdv-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.pdv-card:hover {
    transform: translateY(-5px);
}

.pdv-img-container {
    height: 120px;
    overflow: hidden;
}

.pdv-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pdv-card:hover .pdv-img-container img {
    transform: scale(1.05);
}

.pdv-content {
    text-align: left;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pdv-title {
    margin-top: 0;
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pdv-info-item {
    margin-bottom: 6px;
    color: #444;
    line-height: 1.3;
    font-size: 0.85rem;
}

.pdv-hours {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 12px;
}

.pdv-contact-box {
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #555;
    border-top: 1px solid #f0f0f0;
    padding-top: 8px;
    margin-top: auto;
}

.pdv-comment-box {
    background: #fdfdfd;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
    border-left: 2px solid var(--primary-color);
}

.pdv-partner-section {
    margin-top: 1.5rem;
    text-align: center;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #eee;
}

.pdv-partner-section h3 {
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.pdv-partner-section p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pdv-partner-section br {
    display: none;
}

.pdv-partner-section .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
}