/* --- 1. FONTS & ROOT --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

body {
    background-color: #faecd9; /* */
    font-family: 'Inter', sans-serif;
    color: #3A2E26;
    margin: 0;
}

/* --- 2. NAVIGATION (Do Not Touch) --- */
nav {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tableau {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px; 
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', serif;
}

.menu-plat, .tableau a {
    text-decoration: none;
    color: #3A2E26;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.logo { height: 45px; border-radius: 50%; margin-right: 40px; }
.icone { height: 40px; border-radius: 50%; cursor: pointer; }

/* Dropdown Logic */
.lacarte, .lecompte {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 80%; 
    left: 50%;
    transform: translateX(-50%) translateY(-10px); 
    background: rgba(255, 255, 255, 0.4);      
    backdrop-filter: blur(15px);                
    padding: 15px;
    border-radius: 15px;
    min-width: 180px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    z-index: 1001; 
    border: 2px solid rgba(255, 255, 255, 0.7); 
}

.menu-checkbox:checked ~ .lacarte,
.icone-checkbox:checked ~ .lecompte {
    visibility: visible;
    opacity: 1;
    top: 100%; 
    transform: translateX(-50%) translateY(10px); 
}

.lacarte li, .lecompte li { padding: 10px; list-style: none; text-align: center; }
.lacarte li a, .lecompte li a {
    font-family: 'Inter', sans-serif;
    color: #2D241E;
    font-weight: 700;
    text-decoration: none;
}

.menu-checkbox, .icone-checkbox, .burger, .bande { display: none !important; }

/* --- 3. HEADER (Do Not Touch) --- */
.offre-image {
    background-image: url('Image/PLATPAGE.png'); /* */
    height: 300px; 
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offre-image h1 {
    font-family: 'Playfair Display', serif;
    color: white;
    font-size: 3.5rem; 
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* --- 4. MAIN CONTENT (THE CLEANED PART) --- */

/* Category Filter Bar matching your screenshot */
.category-filter {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.filter-link {
    text-decoration: none;
    color: #4A3C32;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding-bottom: 10px;
    display: inline-block;
    transition: 0.3s;
}

.filter-link.active, .filter-link:hover {
    color: #000;
    border-bottom: 2px solid #000;
}

/* Product Grid: Exactly 2 per line */
.product-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* */
    gap: 25px;
    padding: 20px;
}

.product-card {
    background-color: #fdf5e9; /* Light cream from screenshot */
    border-radius: 35px; /* Large rounded corners */
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 25px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    margin-top: 15px;
    font-size: 1.3rem;
    color: #3A2E26;
    text-transform: capitalize;
}

.product-info p {
    font-size: 0.85rem;
    color: #6c757d;
    padding: 0 20px;
}

.price {
    display: block;
    font-weight: 700;
    color: #3A2E26;
    font-size: 1.2rem;
    margin-top: 10px;
}

/* --- 5. FOOTER (Do Not Touch) --- */
.fin {
    background-color: #B71414; /* */
    color: white;
}

.maps {
    border-radius: 30px;
    background-color: white;
    color: red;
    text-decoration: none;
}

.reseau-img img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-footer {
    background-color: #A51D1D; /* */
    color: #fff;
}

/* --- 6. DARK MODE (Do Not Touch) --- */
body.dark-mode { background-color: #2D241E; }
body.dark-mode nav { background-color: rgba(0, 0, 0, 0.8) !important; }
body.dark-mode .tableau a, body.dark-mode .menu-plat { color: #ffffff !important; }
body.dark-mode .product-card { background-color: #3A2E26; color: white; }
body.dark-mode .product-info h3, body.dark-mode .price { color: #ffffff; }

/* Responsive */
@media (max-width: 768px) {
    .product-grid-container { grid-template-columns: 1fr; }
}
.is-hidden {
    display: none !important;
}