/* style.css */
/* Custom Design System for Bulle Céleste - l'Univers de Céline */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Great+Vibes&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --sage: #5B6B57;
    --sage-dark: #3e4a3b;
    --sage-light: #7a8c75;
    --almond: #A8B59A;
    --cream: #F7F6F2;
    --gold: #D4AF37;
    --gold-light: #e5c358;
    --gray-light: #DADFD6;
    --dark: #2C3529;
    --white: #FFFFFF;

    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(44, 53, 41, 0.08);
    --shadow-lg: 0 10px 25px rgba(44, 53, 41, 0.12);
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-round: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-title);
    font-weight: 500;
    color: var(--sage);
    letter-spacing: 0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
textarea,
select {
    font-family: inherit;
    outline: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.my-5 {
    margin-top: 48px;
    margin-bottom: 48px;
}

.py-5 {
    padding-top: 48px;
    padding-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--sage);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--sage-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--sage);
    color: var(--sage);
}

.btn-secondary:hover {
    background-color: var(--sage);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--gold-light);
    transform: translateY(-2px);
}

/* Header & Navbar */
.announcement-bar {
    background-color: var(--sage);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--gray-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--dark);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--gold);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 12px 0;
    min-width: 180px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.dropdown-menu li a:hover {
    background-color: var(--cream);
    color: var(--sage);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-link:hover .logo-title {
    color: var(--sage-dark);
}

.logo-title {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--sage);
    line-height: 1.15;
    white-space: nowrap;
}

.logo-title em {
    font-style: normal;
}

.logo-heart {
    color: var(--gold);
    font-style: normal;
    font-size: 1.1rem;
    margin-left: 2px;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sage-light);
    margin-top: 2px;
    text-align: center;
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icon {
    font-size: 1.2rem;
    color: var(--dark);
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-icon:hover {
    color: var(--sage);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(247, 246, 242, 0.8) 0%, rgba(247, 246, 242, 0.2) 100%);
    z-index: 1;
}

.hero-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 50px;
    max-width: 550px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease;
}

.hero-stars {
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}

/* Nos Univers */
.section-header {
    margin-bottom: 40px;
    position: relative;
}

.section-header h2 {
    font-size: 2.2rem;
    text-transform: capitalize;
}

.section-star {
    display: block;
    color: var(--gold);
    margin-top: 10px;
    font-size: 1rem;
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.univers-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    text-align: center;
    padding-bottom: 25px;
}

.univers-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.univers-img-wrapper {
    position: relative;
    height: 250px;
}

.univers-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.univers-card:hover .univers-img-wrapper img {
    transform: scale(1.05);
}

.univers-icon {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    color: var(--sage);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    z-index: 2;
}

.univers-content {
    padding: 40px 24px 10px;
}

.univers-content h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.univers-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    height: 45px;
    overflow: hidden;
}

.univers-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.univers-link:hover {
    color: var(--gold);
}

/* Banner section */
.promo-banner {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 60px;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(91, 107, 87, 0.7);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: center;
    color: var(--white);
    padding: 30px;
}

.promo-content h3 {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.promo-content p {
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 25px;
}

.promo-link {
    color: var(--white);
    font-size: 0.95rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.promo-link:hover {
    color: var(--gold);
}

/* Feature Badges */
.features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 60px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--sage);
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.3;
}

/* Product Card Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.related-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-light);
    position: relative;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 40px rgba(44, 53, 41, 0.14);
    border-color: var(--almond);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background-color: var(--sage);
    color: var(--white);
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
    background-color: var(--cream);
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.06);
}

.product-info {
    padding: 22px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    border-top: 1px solid var(--gray-light);
}

.product-category {
    font-size: 0.72rem;
    color: var(--sage-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sage);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.product-actions {
    margin-top: auto;
}

.btn-add-cart {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

/* Sidenav Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search overlay — centré, indépendant du cart-drawer-overlay */
#searchOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#searchOverlay .search-modal {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.3s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-drawer-header h3 {
    font-size: 1.6rem;
}

.cart-drawer-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

.cart-drawer-close:hover {
    color: var(--sage);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty-msg {
    text-align: center;
    padding: 40px 0;
    color: #666;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--cream);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    background-color: var(--cream);
}

.cart-item-details {
    flex-grow: 1;
}

.cart-item-name {
    font-family: var(--font-title);
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: var(--dark);
}

.cart-item-price {
    font-weight: 600;
    color: var(--sage);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border: 1px solid var(--gray-light);
    background-color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--sage);
    color: var(--white);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    margin-left: auto;
    align-self: center;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-drawer-footer {
    padding: 24px;
    border-top: 1px solid var(--gray-light);
    background-color: var(--cream);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cart-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-drawer-actions .btn {
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--sage);
    color: var(--cream);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-logo {
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo h3 {
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1.2;
}

.footer-about {
    font-size: 0.9rem;
    opacity: 0.85;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    font-size: 0.9rem;
}

.newsletter-btn {
    background-color: var(--gold);
    color: var(--white);
    border: none;
    padding: 0 15px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background-color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 1.4rem;
}

/* About Us Page */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05rem;
}

.about-image img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.value-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--sage);
    background-color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
}

.contact-info-text h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: #666;
}

.contact-form-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-light);
}

.contact-form-card h2 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    background-color: var(--cream);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--sage);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(91, 107, 87, 0.1);
}

textarea.form-control {
    resize: vertical;
}

/* Alert Notification */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Catalog (Boutique) Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}

.boutique-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.filters-sidebar {
    background-color: var(--white);
    padding: 30px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    align-self: start;
    position: sticky;
    top: 120px;
}

.filter-widget {
    margin-bottom: 30px;
}

.filter-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--cream);
    padding-bottom: 8px;
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-list li a {
    font-size: 0.95rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-list li a.active {
    color: var(--sage);
    font-weight: 600;
}

.filter-list li a.active::before {
    content: '✦ ';
    color: var(--gold);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.catalog-header p {
    color: #666;
}

.catalog-search {
    position: relative;
    width: 300px;
}

.catalog-search input {
    width: 100%;
    padding: 8px 15px 8px 35px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.catalog-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Mobile filter toggle button - hidden on desktop */
.filter-toggle-btn {
    display: none;
    width: 100%;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    transition: var(--transition);
}

.filter-toggle-btn:hover {
    border-color: var(--sage);
    color: var(--sage);
}

.filter-toggle-btn i {
    transition: transform 0.3s ease;
}

.filter-toggle-btn.open i.fa-chevron-down {
    transform: rotate(180deg);
}

/* Checkout Page */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.checkout-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--gray-light);
}

.checkout-card h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--cream);
    padding-bottom: 10px;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.payment-tab {
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: var(--cream);
}

.payment-tab.active {
    border-color: var(--sage);
    background-color: var(--white);
    box-shadow: 0 0 0 2px var(--sage);
    color: var(--sage);
}

.payment-tab i {
    font-size: 1.4rem;
}

.payment-content-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.payment-content-pane.active {
    display: block;
}

/* Apple Pay specific premium style */
.applepay-btn {
    background-color: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: var(--radius-sm);
    width: 100%;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    margin: 20px 0;
    transition: opacity 0.2s;
}

.applepay-btn:hover {
    opacity: 0.9;
}

/* Order Summary */
.summary-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    border: 1px solid var(--gray-light);
    align-self: start;
    position: sticky;
    top: 120px;
}

.summary-card h3 {
    font-size: 1.6rem;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--cream);
    padding-bottom: 10px;
}

.summary-items {
    max-height: 250px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--cream);
}

.summary-item-name {
    font-size: 0.95rem;
    color: var(--dark);
}

.summary-item-price {
    font-weight: 600;
    color: var(--sage);
}

.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid var(--gray-light);
    padding-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: #666;
}

.summary-row.grand-total {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sage);
    border-top: 1px solid var(--cream);
    padding-top: 12px;
    margin-top: 8px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive CSS */
@media (max-width: 1024px) {
    .product-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
    }

    /* Mobile menu open state */
    .nav-links.mobile-open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%; /* Directly under the header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 15px 20px 20px;
        box-shadow: 0 8px 20px rgba(44, 53, 41, 0.12);
        gap: 8px;
        z-index: 200;
        border-top: 1px solid var(--gray-light);
        animation: fadeInUp 0.2s ease;
    }

    .nav-links.mobile-open li a {
        padding: 10px 5px;
        border-bottom: 1px solid var(--cream);
        display: block;
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }


    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        background: transparent !important;
        padding: 5px 0 5px 15px !important;
        transform: none !important;
        display: block !important;
    }

    .dropdown:hover .dropdown-menu {
        transform: none !important;
    }

    .hero-section {
        padding: 0 20px;
        justify-content: center;
        min-height: 70vh;
    }

    .hero-card {
        padding: 30px 22px;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .univers-grid {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-img-wrapper {
        height: 200px;
    }

    .product-info {
        padding: 14px 14px 14px;
    }

    .product-name {
        font-size: 1.05rem;
    }

    .features-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .about-hero {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .boutique-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* On mobile: hide sidebar by default, show via toggle */
    .filters-sidebar {
        position: static;
        display: none;
    }

    .filters-sidebar.mobile-visible {
        display: block;
    }

    .filter-toggle-btn {
        display: flex;
    }

    /* Catalog header stacks on mobile */
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-search {
        width: 100%;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-steps {
        gap: 15px;
    }

    .checkout-card {
        padding: 18px 15px;
    }

    .summary-card {
        padding: 18px 15px;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.8rem;
    }

    .promo-banner {
        padding: 40px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    /* Cart drawer full width on mobile */
    .cart-drawer {
        width: 100vw;
        right: -100vw;
    }

    .cart-drawer.active {
        right: 0;
    }
}

@media (max-width: 480px) {
    .product-grid,
    .related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-img-wrapper {
        height: 240px;
    }

    .features-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-text {
        font-size: 0.95rem;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.55rem;
    }

    .product-card {
        border-radius: var(--radius-sm);
    }

    .navbar-logo .logo-title {
        font-size: 1.8rem;
    }

    .announcement-bar {
        font-size: 0.75rem;
        padding: 7px 15px;
    }
}

/* ============================
   Performance & UX Globale
   ============================ */

/* Smooth scroll natif */
html {
    scroll-behavior: smooth;
}

/* Tap target minimum 44px pour mobile */
button,
a,
input[type="submit"],
.btn,
.nav-icon,
.payment-tab,
.qty-btn {
    min-height: 44px;
    min-width: 44px;
}

/* Images : lazy-loading natif */
img {
    loading: lazy;
}

/* Évite le text trop petit sur iOS */
input,
textarea,
select {
    font-size: 16px !important;
    /* Empêche le zoom automatique d'iOS */
}

/* Safe area pour iPhone avec encoche */
.navbar {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
}

body {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Overscroll fluide sur mobile */
.cart-drawer,
.cart-drawer-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Transitions légères sur mobile (économise batterie) */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible pour accessibilité */
:focus-visible {
    outline: 2px solid var(--sage);
    outline-offset: 3px;
    border-radius: 3px;
}

/* =========================================
   Avis Clients - Reviews Section
========================================= */

/* Page Avis */
.reviews-page {
    background-color: var(--cream);
    min-height: 100vh;
}

.reviews-hero {
    background-color: var(--white);
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-light);
}

.reviews-title {
    font-family: var(--font-title);
    color: var(--sage);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.reviews-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
}

.reviews-stats {
    display: inline-block;
    text-align: center;
    background: var(--cream);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(91, 107, 87, 0.05);
}

.stats-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.avg-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--sage);
}

.avg-stars {
    color: var(--gold);
    font-size: 1.3rem;
}

.avg-total {
    color: #888;
    font-size: 0.95rem;
}

/* Grid & Cards */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--sage);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-stars {
    color: var(--gold);
    font-size: 0.95rem;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

.review-author {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
    font-style: italic;
}

.review-photo {
    margin-top: 20px;
    text-align: center;
}

.review-photo img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--cream);
    cursor: pointer;
    transition: transform 0.2s;
}

.review-photo img:hover {
    transform: scale(1.05);
}

/* Form Section */
.review-form-section {
    background-color: var(--white);
}

.review-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--cream);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(91, 107, 87, 0.05);
}

.rating-input {
    font-size: 2rem;
    color: #ddd;
    cursor: pointer;
    display: inline-flex;
    gap: 10px;
}

.rating-input i.fa-solid {
    color: var(--gold);
}

.file-upload-wrapper {
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    border: 1px dashed var(--almond);
    text-align: center;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.image-modal .modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Carousel Homepage - Avis Clients */
.reviews-carousel-wrapper {
    position: relative;
    padding: 10px 48px 30px 48px;
}

.carousel-track-outer {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--radius-md);
    padding: 10px 4px;
    cursor: grab;
    user-select: none;
}
.carousel-track-outer.active-drag {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}
.carousel-track-outer::-webkit-scrollbar {
    display: none;
}

.reviews-carousel {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.reviews-carousel .review-card {
    width: 350px;
    min-width: 350px;
    max-width: 350px;
    flex: 0 0 350px;
    box-sizing: border-box;
    padding: 22px 24px;
    min-height: 200px;
    border-radius: 12px;
    background: var(--white);
    border-top: 4px solid var(--sage);
    box-shadow: 0 4px 16px rgba(44, 53, 41, 0.06);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

@media (max-width: 600px) {
    .reviews-carousel-wrapper {
        padding: 10px 36px 30px 36px;
    }
    .reviews-carousel .review-card {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
        flex: 0 0 280px;
        padding: 18px 20px;
    }
}

/* Review content & voir plus link */
.review-content {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #555;
    flex-grow: 1;
    font-style: italic;
    position: relative;
}

.review-more-btn {
    color: var(--sage);
    font-weight: 600;
    font-size: 0.82rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 4px;
    font-family: inherit;
    text-decoration: underline;
    display: inline;
    font-style: normal;
}
.review-more-btn:hover { color: var(--sage-dark); }


/* Carousel navigation arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: var(--white);
    border: 2px solid var(--sage);
    color: var(--sage);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    z-index: 10;
}
.carousel-arrow:hover {
    background: var(--sage);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}
.carousel-arrow.prev { left: 0; }
.carousel-arrow.next { right: 0; }

@media (max-width: 768px) {
    .carousel-arrow { width: 36px !important; height: 36px !important; min-width: 36px !important; min-height: 36px !important; font-size: .9rem; }
    .carousel-arrow.prev { left: 0; }
    .carousel-arrow.next { right: 0; }
}

/* Carousel dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dot {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    border-radius: 50% !important;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}
.carousel-dot.active {
    background: var(--sage) !important;
    width: 24px !important;
    border-radius: 10px !important;
}


/* Hidden Review Form Collapsible */
.review-form-section {
    display: none;
    animation: fadeInDown 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .reviews-stats {
        padding: 15px 20px;
    }
    .avg-number {
        font-size: 2rem;
    }
    .reviews-title {
        font-size: 2.2rem;
    }
}