/* -------------------------------------- */
/*        GLOBAL / BASE STYLE             */
/* -------------------------------------- */

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: #f7f3ee;
    color: #4d3f36;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

h1, h2, h3 {
    font-family: "Playfair Display", serif;
}

/* -------------------------------------- */
/*                 HEADER                 */
/* -------------------------------------- */

header {
    background: #f7f3ee;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: "Playfair Display", serif;
    font-size: 1.9rem;
    color: #3f332b;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.8rem;
    margin-top: -4px;
    color: #8e7f72;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: #5b4d44;
    font-size: 0.95rem;
    transition: 0.2s;
}

.nav-links a:hover {
    color: #A68A6A;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Le menu reste au centre */
.nav-links {
    margin-left: 40px;
}

/* Le panier est poussé totalement à droite */
.cart-summary {
    margin-left: auto;
    position: relative;
}

/* -------------------------------------- */
/*                 HERO                   */
/* -------------------------------------- */

.hero {
    display: grid;
    grid-template-columns: 1fr 450px;
    align-items: center;
    margin-top: 50px;
    gap: 32px;
}

.hero-text h1 {
    color: #3b3029;
    font-size: 2.4rem;
    line-height: 1.25;
}

.hero-text p {
    font-size: 1.1rem;
    color: #67594e;
}

.hero-tags {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.tag {
    background: #e8ded3;
    color: #5a4e44;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
}

.hero-actions {
    margin-top: 10px;
    display: flex;
    gap: 12px;
}

.btn-primary {
    background: #A68A6A;
    border-radius: 12px;
    color: white;
    padding: 10px 20px;
    font-weight: 600;
}

.hero-note {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #8c7b6c;
}

/* IMAGE HERO */
.hero-image-card {
    background: #fff;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 22px 40px rgba(0,0,0,0.12);
}

.hero-image-inner img {
    width: 100%;
    border-radius: 18px;
}

.hero-caption {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #5d4e42;
}

/* -------------------------------------- */
/*                 BOUTIQUE               */
/* -------------------------------------- */

.section {
    margin-top: 90px;
}

.section-title {
    font-size: 2rem;
    color: #3b3029;
    margin-bottom: 12px;
}

.section-subtitle {
    color: #7a6c5f;
    max-width: 550px;
}

.products-grid {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
}

.product-image-wrap img {
    width: 100%;
    border-radius: 18px;
}

.product-title {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    margin-top: 14px;
    color: #41362e;
}

.product-meta {
    margin: 6px 0 10px;
    display: flex;
    justify-content: space-between;
    color: #8a7b70;
}

.price {
    font-size: 1.1rem;
    color: #3f332b;
}

.chip {
    background: #e8ded3;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.product-text {
    font-size: 0.9rem;
    color: #6a5c51;
}

/* Bouton "Ajouter au panier" */

.add-to-cart-btn {
    margin-top: 12px;
    width: 100%;
    background: #A68A6A;
    color: #fff;
    border-radius: 14px;
    padding: 10px;
    font-weight: 600;
    border: none;
    transition: 0.2s;
}

.add-to-cart-btn:hover {
    background: #8d7357;
}

.about-image img {
    width: 100%;
    max-width: 360px;  /* taille contrôlée */
    border-radius: 22px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 22px 40px rgba(0,0,0,0.12);
}

.btn-home{
    border: 1px solid #A68A6A;
    color: #A68A6A;
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 500;
}

/* -------------------------------------- */
/*              MINI PANIER               */
/* -------------------------------------- */

.cart-summary {
    position: relative;
}

.cart-button {
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.15);
    background: #f0e7df;
    font-size: 0.9rem;
    padding: 8px 14px;
    cursor: pointer;
}

.cart-count {
    background: #A68A6A;
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
}

.cart-dropdown {
    position: absolute;
    right: 0;
    top: 120%;
    width: 270px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 24px 40px rgba(0,0,0,0.18);
    display: none;
}

.cart-dropdown.open {
    display: block;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}

.cart-checkout-btn {
    width: 100%;
    background: #A68A6A;
    color: #fff;
    border-radius: 12px;
    padding: 10px;
    border: none;
}

.cart-checkout-btn:hover {
    background: #8d7357;
}

/* -------------------------------------- */
/*                À PROPOS                */
/* -------------------------------------- */

.about {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 34px;
    align-items: center;
}

.about-card {
    background: #fff;
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 24px 45px rgba(0,0,0,0.09);
}

.about-list li {
    margin-bottom: 6px;
    color: #6f6155;
}

/* -------------------------------------- */
/*                CONTACT                 */
/* -------------------------------------- */

.contact {
    margin-top: 90px;
    background: #3b2f27;
    color: #f4eee8;
    padding: 40px 30px;
    border-radius: 28px;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 40px;
    align-items: center;
}

.contact-bootstrap {
    background: rgba(255,255,255,0.08);
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.15);
}

.contact-bootstrap .form-label {
    color: #f7efe6;
}

/* -------------------------------------- */
/*                FOOTER                  */
/* -------------------------------------- */

footer {
    margin-top: 80px;
    text-align: center;
    padding: 30px 0;
    font-size: 0.8rem;
    color: #7f7065;
}

/* -------------------------------------- */
/*              RESPONSIVE                */
/* -------------------------------------- */

@media (max-width: 900px) {

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .contact {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }
}
