/* ============================================================
   FRUILEG SARL - Style principal
   Couleurs: Or (#d4af37), Vert nature (#2e7d32), Blanc
   ============================================================ */

:root {
    --gold: #d4af37;
    --gold-dark: #b8952e;
    --green: #2e7d32;
    --green-light: #4caf50;
    --dark: #222;
    --text: #555;
    --light-bg: #fdfbf5;
    --border: #eee;
    --white: #fff;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --radius: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; background: var(--gold); color: var(--white);
    font-weight: 600; font-size: 13px; text-transform: uppercase;
    letter-spacing: .5px; border: 2px solid var(--gold);
    border-radius: var(--radius); cursor: pointer; transition: .25s;
}
.btn:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-green { background: var(--green); border-color: var(--green); }
.btn-green:hover { background: #1b5e20; border-color: #1b5e20; }
.btn-sm { padding: 8px 18px; font-size: 11px; }
.btn-block { width: 100%; }

/* ---- FLASH ---- */
.flash { padding: 14px 0; font-size: 14px; }
.flash .container { display: flex; align-items: center; gap: 10px; }
.flash-success { background: #e8f5e9; color: #2e7d32; border-bottom: 2px solid var(--green); }
.flash-error   { background: #ffebee; color: #c62828; border-bottom: 2px solid #c62828; }

/* ---- TOP BAR ---- */
.top-bar { background: var(--green); color: rgba(255,255,255,.9); font-size: 12px; padding: 6px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-left span i { margin-right: 5px; }
.top-bar-right { display: flex; gap: 15px; align-items: center; }
.top-bar-right a { color: rgba(255,255,255,.85); transition: .2s; }
.top-bar-right a:hover { color: var(--white); }

/* ---- MAIN HEADER ---- */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.main-header { padding: 15px 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.logo-area { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 48px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--gold); line-height: 1; }
.logo-tagline { font-size: 9px; letter-spacing: 3px; color: #999; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 25px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.main-nav a { padding: 5px 0; border-bottom: 2px solid transparent; transition: .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); border-bottom-color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 15px; }
.header-icon { font-size: 18px; color: var(--dark); transition: .2s; position: relative; }
.header-icon:hover { color: var(--gold); }
.cart-count {
    position: absolute; top: -8px; right: -8px;
    background: var(--gold); color: var(--white); font-size: 9px;
    width: 17px; height: 17px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.mobile-menu-btn { background: none; border: none; font-size: 22px; cursor: pointer; display: none; color: var(--dark); }

.mobile-nav { display: none; background: var(--white); border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav ul { padding: 10px 20px 20px; }
.mobile-nav li a { display: block; padding: 12px 0; font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--border); }

/* ---- HERO ---- */
.hero {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; padding: 80px 0; background: var(--light-bg);
}
.hero-text { }
.hero-label { color: var(--gold); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; display: block; }
.hero-text h1 { font-family: 'Playfair Display', serif; font-size: 46px; color: var(--dark); line-height: 1.2; margin-bottom: 20px; }
.hero-text h1 span { color: var(--gold); }
.hero-text p { font-size: 16px; line-height: 1.7; color: #777; margin-bottom: 30px; max-width: 480px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; }
.hero-image-wrap { position: relative; }
.hero-image { width: 100%; height: 460px; object-fit: cover; border-radius: 16px; }
.hero-badge {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--white); padding: 18px 25px;
    box-shadow: var(--shadow); border-radius: 12px; text-align: center;
    border-left: 4px solid var(--gold);
}
.hero-badge strong { display: block; font-size: 28px; color: var(--gold); line-height: 1; }
.hero-badge span { font-size: 11px; color: #777; }

/* ---- SECTION TITLES ---- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-label { color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 8px; display: block; }
.section-title { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--dark); margin-bottom: 12px; }
.section-subtitle { color: #999; font-size: 14px; max-width: 500px; margin: 0 auto; }

/* ---- VALUES ---- */
.section-values { padding: 80px 0; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.value-card { padding: 30px 20px; border: 1px solid var(--border); border-radius: var(--radius); text-align: center; transition: .3s; }
.value-card:hover { box-shadow: var(--shadow); border-color: var(--gold); transform: translateY(-3px); }
.value-icon { font-size: 38px; color: var(--gold); margin-bottom: 15px; display: block; }
.value-card h3 { font-size: 15px; color: var(--dark); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: #777; line-height: 1.6; }

/* ---- PRODUCTS GRID ---- */
.section-products { padding: 80px 0; background: #fafafa; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card-img { position: relative; height: 200px; overflow: hidden; background: #f5f5f5; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; }
.product-card-body { padding: 15px; }
.product-card-cat { font-size: 10px; color: var(--gold); font-weight: 700; text-transform: uppercase; margin-bottom: 5px; }
.product-card-name { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.3; }
.product-card-price { font-size: 18px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.product-card-price span { font-size: 11px; color: #999; font-weight: 400; }
.product-card-actions { display: flex; gap: 8px; }
.btn-cart { flex: 1; padding: 9px; font-size: 11px; }
.btn-detail { padding: 9px 12px; background: transparent; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); cursor: pointer; transition: .2s; font-size: 12px; }
.btn-detail:hover { border-color: var(--gold); color: var(--gold); }

/* ---- ENGAGEMENT BANNER ---- */
.section-engagement { display: grid; grid-template-columns: 1fr 1fr; min-height: 420px; }
.eng-img { background: url('/FruilegSarl/public/assets/images/banner.jpg') center/cover; }
.eng-text { background: linear-gradient(135deg, var(--green), #1b5e20); color: var(--white); padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.eng-text h2 { font-family: 'Playfair Display', serif; font-size: 36px; margin-bottom: 20px; }
.eng-text p { font-size: 16px; line-height: 1.7; opacity: .9; margin-bottom: 25px; }
.eng-text .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.eng-text .btn:hover { background: transparent; color: var(--white); }

/* ---- PARTNERS ---- */
.section-partners { padding: 60px 0; border-top: 1px solid var(--border); }
.partners-list { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; align-items: center; margin-top: 30px; }
.partner-item { background: #f9f9f9; border: 1px solid var(--border); padding: 12px 25px; border-radius: var(--radius); font-size: 13px; font-weight: 700; color: #555; letter-spacing: 1px; transition: .2s; }
.partner-item:hover { border-color: var(--gold); color: var(--gold); }

/* ---- SHOP PAGE ---- */
.shop-hero { background: var(--light-bg); padding: 40px 0; text-align: center; border-bottom: 1px solid var(--border); }
.shop-hero h1 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--dark); }
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; padding: 50px 0; }
.shop-sidebar { }
.sidebar-block { margin-bottom: 30px; }
.sidebar-block h3 { font-size: 13px; text-transform: uppercase; font-weight: 700; color: var(--dark); margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.cat-filter { display: flex; flex-direction: column; gap: 8px; }
.cat-filter a { font-size: 13px; color: var(--text); padding: 8px 12px; border-radius: 6px; display: flex; justify-content: space-between; transition: .2s; }
.cat-filter a:hover, .cat-filter a.active { background: var(--gold); color: var(--white); }
.cat-filter a span { background: rgba(0,0,0,.1); padding: 1px 7px; border-radius: 10px; font-size: 11px; }
.shop-search-form { display: flex; gap: 8px; }
.shop-search-form input { flex: 1; padding: 9px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; }
.shop-search-form button { padding: 9px 14px; background: var(--gold); color: var(--white); border: none; border-radius: 6px; cursor: pointer; }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-empty { text-align: center; padding: 60px; color: #999; grid-column: 1/-1; }
.shop-empty i { font-size: 60px; color: #ddd; margin-bottom: 20px; display: block; }

/* ---- PRODUCT DETAIL ---- */
.product-detail { padding: 50px 0; }
.breadcrumb { font-size: 12px; color: #999; margin-bottom: 30px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: #ccc; }
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-gallery-main { width: 100%; height: 460px; background: #f5f5f5; border-radius: var(--radius); overflow: hidden; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-main .no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 80px; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 65px; height: 65px; border: 2px solid var(--border); border-radius: 6px; overflow: hidden; cursor: pointer; transition: .2s; }
.thumb:hover, .thumb.active { border-color: var(--gold); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { }
.product-badge-tag { display: inline-block; background: var(--gold); color: var(--white); font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; margin-bottom: 10px; }
.product-info h1 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.product-price { font-size: 32px; font-weight: 700; color: var(--green); margin-bottom: 20px; }
.product-price span { font-size: 14px; color: #999; font-weight: 400; }
.product-desc { font-size: 14px; line-height: 1.7; color: #666; margin-bottom: 25px; padding-bottom: 25px; border-bottom: 1px solid var(--border); }
.qty-row { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.qty-label { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-control button { border: none; background: #f5f5f5; padding: 10px 15px; cursor: pointer; font-size: 16px; transition: .2s; }
.qty-control button:hover { background: var(--gold); color: var(--white); }
.qty-control span { padding: 10px 20px; font-weight: 700; }
.add-to-cart-form { display: flex; gap: 10px; flex-direction: column; margin-bottom: 20px; }
.trust-row { display: flex; gap: 15px; flex-wrap: wrap; font-size: 11px; color: #888; }
.trust-item { display: flex; align-items: center; gap: 5px; }
.trust-item i { color: var(--gold); }

/* ---- ABOUT PAGE ---- */
.about-hero { background: var(--light-bg); padding: 60px 0; }
.about-hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero img { width: 100%; border-radius: 12px; }
.about-content h1 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--dark); margin-bottom: 20px; }
.about-content p { font-size: 15px; line-height: 1.8; color: #666; margin-bottom: 15px; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 60px 0; }
.mission-card { text-align: center; padding: 30px 20px; border: 1px solid var(--border); border-radius: var(--radius); transition: .3s; }
.mission-card:hover { box-shadow: var(--shadow); }
.mission-card i { font-size: 40px; color: var(--gold); margin-bottom: 15px; display: block; }
.mission-card h3 { font-size: 16px; color: var(--dark); margin-bottom: 10px; }
.mission-card p { font-size: 13px; color: #777; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; padding: 50px 0; }
.blog-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card-img { height: 200px; background: #f5f5f5 url() center/cover; }
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 11px; color: #999; margin-bottom: 8px; }
.blog-card-title { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.blog-card-excerpt { font-size: 13px; color: #777; line-height: 1.6; margin-bottom: 15px; }
.blog-card a.read-more { font-size: 12px; color: var(--gold); font-weight: 700; display: flex; align-items: center; gap: 5px; }
.blog-card a.read-more:hover { gap: 10px; }

/* ---- CONTACT ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px 0; }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.contact-form-card h2 { font-size: 24px; color: var(--dark); margin-bottom: 25px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 6px; color: var(--dark); }
.form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; font-family: inherit; transition: .2s; }
.form-control:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
.contact-info h2 { font-size: 24px; color: var(--dark); margin-bottom: 25px; }
.contact-info-item { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 20px; }
.contact-info-icon { width: 42px; height: 42px; background: var(--gold); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-info-text strong { display: block; font-size: 13px; color: var(--dark); margin-bottom: 2px; }
.contact-info-text span { font-size: 13px; color: #777; }
.map-placeholder { background: #f5f5f5; border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; text-align: center; margin-top: 30px; }

/* ---- CART ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; padding: 50px 0; }
.cart-table { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-table table { width: 100%; border-collapse: collapse; }
.cart-table th { background: #f9f9f9; padding: 14px 15px; text-align: left; font-size: 11px; text-transform: uppercase; color: #999; }
.cart-table td { padding: 15px; border-top: 1px solid var(--border); vertical-align: middle; }
.cart-product { display: flex; gap: 15px; align-items: center; }
.cart-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.cart-product-name { font-size: 14px; font-weight: 600; color: var(--dark); }
.cart-qty-input { width: 60px; padding: 6px; border: 1px solid var(--border); border-radius: 6px; text-align: center; font-size: 14px; }
.cart-remove { background: none; border: none; color: #cc0000; cursor: pointer; font-size: 14px; }
.cart-summary { background: #f9f9f9; border: 1px solid var(--border); border-radius: var(--radius); padding: 25px; height: fit-content; }
.cart-summary h3 { font-size: 16px; color: var(--dark); margin-bottom: 20px; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.cart-summary-row.total { font-size: 18px; font-weight: 700; color: var(--dark); padding-top: 10px; border-top: 2px solid var(--border); }
.cart-empty { text-align: center; padding: 80px 20px; }
.cart-empty i { font-size: 70px; color: #ddd; display: block; margin-bottom: 20px; }

/* ---- CHECKOUT ---- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding: 50px 0; }
.checkout-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 35px; }
.checkout-form h2 { font-size: 20px; margin-bottom: 25px; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.order-summary { background: #f9f9f9; border: 1px solid var(--border); border-radius: var(--radius); padding: 25px; height: fit-content; }
.order-summary h3 { font-size: 16px; margin-bottom: 20px; }
.order-item { display: flex; justify-content: space-between; font-size: 13px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.order-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; padding-top: 12px; }

/* ---- PAGE HEADER ---- */
.page-header { background: linear-gradient(135deg, var(--green), #1b5e20); color: var(--white); padding: 50px 0; text-align: center; }
.page-header h1 { font-family: 'Playfair Display', serif; font-size: 38px; margin-bottom: 10px; }
.page-header p { opacity: .8; font-size: 15px; }

/* ---- FOOTER ---- */
.site-footer { background: #1a1a1a; color: #aaa; }
.footer-top { background: var(--green); padding: 25px 0; }
.footer-top-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.footer-trust-item { text-align: center; color: var(--white); }
.footer-trust-item i { font-size: 28px; margin-bottom: 8px; display: block; opacity: .85; }
.footer-trust-item strong { display: block; font-size: 12px; margin-bottom: 3px; }
.footer-trust-item span { font-size: 11px; opacity: .75; }
.footer-main { padding: 55px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr; gap: 40px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; color: var(--white); margin-bottom: 18px; letter-spacing: 1px; }
.footer-col ul li { font-size: 13px; margin-bottom: 8px; }
.footer-col ul li i { width: 16px; color: var(--gold); margin-right: 6px; }
.footer-col ul a { color: #aaa; transition: .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-brand p { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }
.footer-logo { display: flex; align-items: center; gap: 5px; margin-bottom: 15px; }
.footer-logo-name { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--gold); }
.footer-logo-sub { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 2px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 35px; height: 35px; border-radius: 50%; background: rgba(255,255,255,.08); color: #aaa; display: flex; align-items: center; justify-content: center; transition: .2s; }
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; margin-bottom: 10px; }
.footer-contact-list li i { color: var(--gold); margin-top: 2px; }
.newsletter-form { margin-top: 10px; }
.newsletter-input { display: flex; border: 1px solid #333; border-radius: 6px; overflow: hidden; }
.newsletter-input input { flex: 1; padding: 10px 12px; background: #2a2a2a; border: none; color: var(--white); font-size: 13px; }
.newsletter-input input::placeholder { color: #666; }
.newsletter-input button { padding: 10px 14px; background: var(--gold); border: none; color: var(--white); cursor: pointer; transition: .2s; }
.newsletter-input button:hover { background: var(--gold-dark); }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 20px 0; text-align: center; font-size: 12px; color: #555; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 999;
    width: 56px; height: 56px; background: #25d366; color: var(--white);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; box-shadow: 0 4px 15px rgba(37,211,102,.4);
    transition: .3s;
}
.whatsapp-float:hover { transform: scale(1.1); background: #128c7e; }

/* ---- 404 ---- */
.error-page { text-align: center; padding: 100px 20px; }
.error-page h1 { font-size: 120px; color: var(--gold); font-family: 'Playfair Display', serif; }
.error-page h2 { font-size: 24px; color: var(--dark); margin-bottom: 15px; }
.error-page p { color: #777; margin-bottom: 30px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { grid-template-columns: 200px 1fr; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero { grid-template-columns: 1fr; padding: 40px 0; }
    .hero-text h1 { font-size: 32px; }
    .hero-image { height: 280px; }
    .section-engagement { grid-template-columns: 1fr; }
    .eng-text { padding: 40px 30px; }
    .about-hero .container { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .product-layout { grid-template-columns: 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .main-nav { display: none; }
    .mobile-menu-btn { display: block; }
    .top-bar-left { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .footer-top-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SWIPER SLIDERS — Produits & Blog
   ============================================================ */

/* ---- Products Swiper ---- */
.products-swiper {
    padding-bottom: 50px !important;
    overflow: visible !important;
}
.products-swiper .swiper-slide {
    height: auto;
    animation: slideUp .45s ease both;
}
.products-swiper .product-card {
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
}
.products-swiper .swiper-slide-active .product-card,
.products-swiper .swiper-slide-visible .product-card {
    transform: translateY(0);
}

/* Navigation arrows — products */
.products-prev, .products-next {
    color: var(--gold) !important;
    background: var(--white);
    width: 42px !important; height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 14px rgba(0,0,0,.12) !important;
    top: 42% !important;
}
.products-prev::after, .products-next::after { font-size: 15px !important; font-weight: 900 !important; }
.products-prev { left: -20px !important; }
.products-next { right: -20px !important; }
.products-prev:hover, .products-next:hover { background: var(--gold) !important; color: var(--white) !important; }

/* Pagination dots — products */
.products-pagination .swiper-pagination-bullet { background: var(--gold); opacity: .35; width: 9px; height: 9px; }
.products-pagination .swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 4px; }

/* ---- Blog Swiper ---- */
.section-blog-slider { padding: 80px 0; background: var(--light-bg); }
.blog-swiper {
    padding-bottom: 50px !important;
    overflow: visible !important;
}
.blog-swiper .swiper-slide {
    height: auto;
    animation: slideUp .45s ease both;
}
.blog-swiper .blog-card {
    height: 100%;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s ease, box-shadow .3s ease;
}
.blog-swiper .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.blog-card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    position: relative;
    overflow: hidden;
}
.blog-card-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.3));
}

/* Navigation arrows — blog */
.blog-prev, .blog-next {
    color: var(--green) !important;
    background: var(--white);
    width: 42px !important; height: 42px !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 14px rgba(0,0,0,.12) !important;
    top: 40% !important;
}
.blog-prev::after, .blog-next::after { font-size: 15px !important; font-weight: 900 !important; }
.blog-prev { left: -20px !important; }
.blog-next { right: -20px !important; }
.blog-prev:hover, .blog-next:hover { background: var(--green) !important; color: var(--white) !important; }

/* Pagination dots — blog */
.blog-pagination .swiper-pagination-bullet { background: var(--green); opacity: .35; width: 9px; height: 9px; }
.blog-pagination .swiper-pagination-bullet-active { opacity: 1; width: 24px; border-radius: 4px; }

/* ---- Slide-up animation ---- */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive swiper arrows */
@media (max-width: 768px) {
    .products-prev, .blog-prev { left: 0 !important; }
    .products-next, .blog-next { right: 0 !important; }
}

/* ============================================================
   BLOG — Page article (post.php)
   ============================================================ */

/* Layout */
.blog-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 50px 20px;
    align-items: start;
}

/* Breadcrumb */
.breadcrumb { font-size: 12px; color: #94a3b8; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: #cbd5e1; }

/* Titre article */
.blog-post-title { font-family: 'Playfair Display', serif; font-size: 32px; color: #1a202c; line-height: 1.3; margin-bottom: 14px; }
.blog-post-meta { font-size: 13px; color: #94a3b8; margin-bottom: 28px; display: flex; gap: 18px; flex-wrap: wrap; }
.blog-post-meta i { color: var(--gold); margin-right: 4px; }

/* ---- IMAGE UNIQUE ---- */
.blog-post-img-single { margin-bottom: 32px; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.blog-post-img-single img { width: 100%; max-height: 480px; object-fit: cover; display: block; }

/* ---- SLIDER PRINCIPAL ---- */
.blog-post-slider-wrap { margin-bottom: 32px; }

.blog-post-swiper { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,.12); }

.blog-slide-img {
    position: relative; height: 460px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-color: #f5f5f5;
}
.blog-slide-img-tag { display: none; } /* img hidden, bg-image visible */

/* Compteur "1 / 5" */
.blog-slide-counter {
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600;
    padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(6px);
}

/* Navigation flèches */
.blog-post-prev, .blog-post-next {
    color: #fff !important;
    background: rgba(0,0,0,.35) !important;
    width: 44px !important; height: 44px !important;
    border-radius: 50% !important;
    backdrop-filter: blur(6px);
    transition: background .2s !important;
}
.blog-post-prev:hover, .blog-post-next:hover { background: rgba(212,175,55,.75) !important; }
.blog-post-prev::after, .blog-post-next::after { font-size: 16px !important; font-weight: 900 !important; }

/* Pagination dots */
.blog-post-pagination { bottom: 16px !important; }
.blog-post-pagination .swiper-pagination-bullet { background: rgba(255,255,255,.6); width: 8px; height: 8px; }
.blog-post-pagination .swiper-pagination-bullet-active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ---- THUMBNAILS ---- */
.blog-post-thumbs { margin-top: 10px; }
.blog-post-thumbs-swiper { padding: 2px 0; }
.blog-thumb-item {
    height: 68px; border-radius: 8px;
    background-size: cover; background-position: center;
    cursor: pointer; border: 3px solid transparent;
    transition: border-color .2s, opacity .2s;
    opacity: .65;
}
.blog-thumb-item.active { border-color: var(--gold); opacity: 1; }
.blog-thumb-item:hover { opacity: .9; }

/* ---- CORPS ARTICLE ---- */
.blog-post-body { font-size: 15px; line-height: 1.85; color: #4a5568; margin-bottom: 32px; }
.blog-post-body h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: #1a202c; margin: 28px 0 12px; }
.blog-post-body h3 { font-size: 18px; color: var(--green); margin: 22px 0 10px; }
.blog-post-body p { margin-bottom: 14px; }
.blog-post-body strong { color: var(--green); }
.blog-post-body ul { margin: 10px 0 16px 22px; }
.blog-post-body ul li { margin-bottom: 5px; }

/* ---- PARTAGE ---- */
.blog-post-share {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    padding: 18px 0; border-top: 1px solid #e2e8f0;
}
.blog-post-share span { font-size: 13px; font-weight: 600; color: #64748b; }
.share-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 600;
    color: #fff; text-decoration: none; transition: .2s;
}
.share-btn.facebook { background: #1877f2; }
.share-btn.facebook:hover { background: #0d5ab9; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.whatsapp:hover { background: #128c7e; }
.share-btn.twitter { background: #000; }
.share-btn.twitter:hover { background: #333; }

/* ---- SIDEBAR BLOG ---- */
.blog-sidebar { position: sticky; top: 80px; }
.sidebar-widget { background: #f9fafb; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.widget-title { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #94a3b8; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }

.recent-post-item { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; text-decoration: none; transition: .2s; }
.recent-post-item:last-child { border-bottom: none; padding-bottom: 0; }
.recent-post-item:hover .recent-post-title { color: var(--gold); }
.recent-post-img { width: 55px; height: 45px; border-radius: 8px; background-size: cover; background-position: center; background-color: #e2e8f0; flex-shrink: 0; }
.recent-post-img.no-img { display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 18px; }
.recent-post-info { display: flex; flex-direction: column; gap: 3px; }
.recent-post-title { font-size: 13px; font-weight: 500; color: #374151; line-height: 1.3; }
.recent-post-date { font-size: 11px; color: #94a3b8; }

.sidebar-cta { background: linear-gradient(135deg, var(--green), #1b5e20); color: #fff; text-align: center; }
.sidebar-cta i { font-size: 28px; margin-bottom: 10px; display: block; opacity: .8; }
.sidebar-cta strong { display: block; font-size: 15px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; opacity: .8; margin-bottom: 14px; }

/* Badge compteur images sur les cards blog */
.blog-card-img { position: relative; }
.blog-card-count {
    position: absolute; top: 10px; right: 10px;
    background: rgba(0,0,0,.5); color: #fff; font-size: 11px; font-weight: 600;
    padding: 3px 9px; border-radius: 12px; backdrop-filter: blur(4px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .blog-post-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; }
    .blog-slide-img { height: 280px; }
}
@media (max-width: 480px) {
    .blog-post-title { font-size: 24px; }
    .blog-slide-img { height: 220px; }
    .blog-post-thumbs { display: none; }
}

