/**
Theme Name: Cameroun Boutique Child
Author: Zald
Description: Design Premium Unifié
Version: 1.5.3
Template: astra
*/

/* ==============================================================
   1. GLOBAL ET EN-TÊTE (HEADER ASTRA)
   ============================================================== */
body {
    border-top: 4px solid;
    border-image: linear-gradient(to right, #007A5E 33.3%, #CE1126 33.3%, #CE1126 66.6%, #FCD116 66.6%) 1;
}

/* Top bar claire */
.ast-above-header-bar { background-color: #ffffff !important; border-bottom: 1px solid #eeeeee !important; font-size: 13px !important; }
.ast-above-header-bar .ast-builder-html-element { color: #1a1a1a !important; font-weight: 600 !important; }

/* Header principal */
.ast-primary-header-bar { background-color: #ffffff !important; border-bottom: 1px solid #f0f0f0 !important; box-shadow: 0 4px 18px rgba(0,0,0,0.04); }
.site-logo-img img { max-width: 220px !important; height: auto !important; }

/* Menu */
.main-header-menu .menu-item > a { background: transparent !important; color: #1a1a1a !important; font-weight: 800 !important; text-transform: uppercase; font-size: 13px; letter-spacing: 0.2px; }
.main-header-menu .menu-item > a:hover, .main-header-menu .current-menu-item > a { color: #CE1126 !important; }

/* Bouton WhatsApp Header */
.ast-header-button-1 .ast-builder-button-wrap .ast-custom-button { background-color: #25d366 !important; color: #ffffff !important; border-radius: 8px !important; font-weight: 800 !important; padding: 10px 22px !important; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25); }
.ast-header-button-1 .ast-builder-button-wrap .ast-custom-button:hover { background-color: #1a1a1a !important; }

/* ==============================================================
   2. PAGE D'ACCUEIL (Hero, Titres, Confiance, SEO, Villes)
   ============================================================== */
.hero-section-luxe { position: relative; width: 100%; }
.hero-section-luxe::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.20) 100%); z-index: 1; pointer-events: none; }
.hero-section-luxe > .elementor-container, .hero-section-luxe > .e-con-inner, .hero-section-luxe .elementor-widget, .hero-section-luxe .elementor-widget-container { position: relative; z-index: 2; }
.hero-title-main { color: #ffffff; font-size: 38px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,0.45); margin-bottom: 8px; }
.hero-subtitle { color: #FCD116; font-size: 16px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,0.35); margin-bottom: 18px; }

/* Boutons Hero */
.btn-hero { display: inline-block; padding: 12px 24px; margin: 5px 10px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s ease; font-size: 15px; position: relative; z-index: 10; }
.btn-hero-primary { background: #CE1126; color: #fff !important; box-shadow: 0 4px 10px rgba(206, 17, 38, 0.3); }
.btn-hero-primary:hover { background: #1a1a1a; transform: translateY(-3px); }
.btn-hero-secondary { background: #007A5E; color: #fff !important; box-shadow: 0 4px 10px rgba(0, 122, 94, 0.3); }
.btn-hero-secondary:hover { background: #1a1a1a; transform: translateY(-3px); }

/* Barre de recherche d'accueil */
.search-vip-container { max-width: 1200px; margin: 0px auto 30px; position: relative; z-index: 10; }
.search-vip-form { background: #fff; display: flex; align-items: center; padding: 10px 15px 10px 35px; border-radius: 100px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: 2px solid rgba(0,0,0,0.05); }
.search-item { flex: 1; padding: 0 15px; border-right: 1px solid #eee; }
.search-item:last-of-type { border-right: none; }
.search-item label { font-size: 12px; font-weight: 800; color: #007A5E; text-transform: uppercase; margin-bottom: 3px; display: block; }
.search-item select { border: none; font-size: 15px; font-weight: 600; background: transparent; cursor: pointer; padding: 5px 0; width: 100%; color: #222; }
.search-vip-btn { background: #CE1126; color: #fff; border: none; height: 50px; padding: 0 35px; border-radius: 50px; font-size: 16px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.search-vip-btn:hover { background: #1a1a1a; transform: scale(1.05); }
.divider { width: 1px; height: 30px; background: #eee; }

/* Titres de section */
.titre-luxe-container { text-align: center; margin: 25px auto 18px auto; padding: 0 10px; }
.titre-luxe-surtitre { display: block; color: #007A5E; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 6px; }
.titre-luxe-principal { color: #1a1a1a; font-size: 28px; font-weight: 900; margin: 0; line-height: 1.2; }
.titre-luxe-separateur { width: 50px; height: 3px; background-color: #CE1126; margin: 10px auto 0 auto; border-radius: 2px; }
.titre-luxe-en-ligne { display: flex; justify-content: left; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.titre-luxe-en-ligne .titre-luxe-surtitre { margin-bottom: 0; display: inline-block; }

/* Confiance */
.trust-badges-wrapper { background: #fdfdfd; padding: 20px 10px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; margin: 20px 0; }
.trust-badges-container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.trust-badge-item { text-align: center; flex: 1; min-width: 200px; max-width: 280px; padding: 10px; transition: 0.3s ease; }
.trust-badge-item:hover { transform: translateY(-5px); }
.trust-badge-icon { font-size: 32px; margin-bottom: 8px; display: inline-block; color: #007A5E; }
.trust-badge-title { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-bottom: 8px; }
.trust-badge-desc { font-size: 13px; color: #666; line-height: 1.4; }

/* SEO Texte */
.seo-text-section { max-width: 1000px; margin: 40px auto; padding: 25px; background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); }
.seo-text-section h2 { font-size: 20px; color: #1a1a1a; margin-bottom: 10px; font-weight: 800; }
.seo-text-section p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 15px; }

/* Pourquoi Nous Choisir */
.pourquoi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 1100px; margin: 0 auto 40px auto; padding: 0 2px; }
.pourquoi-item { text-align: center; padding: 25px; background: #e7ece7; border-radius: 12px; border: 1px solid #f0f0f0; transition: 0.3s; }
.pourquoi-item:hover { transform: translateY(-5px); border-color: #007A5E; }
.pourquoi-icon { font-size: 30px; margin-bottom: 15px; }
.pourquoi-item h3 { font-size: 17px; font-weight: 800; color: #1a1a1a; margin-bottom: 10px; }
.pourquoi-item p { font-size: 14px; color: #666; line-height: 1.5; }

/* Boutons Villes */
.villes-flex { display: flex; gap: 20px; max-width: 1100px; margin: 0 auto 50px auto; padding: 0 20px; }
.ville-bouton-card { flex: 1; height: 180px; border-radius: 15px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.4s; }
.ville-bouton-card:hover { transform: scale(1.02); }
.yaounde-bg { background: linear-gradient(45deg, #007A5E, #005a45); }
.douala-bg { background: linear-gradient(45deg, #CE1126, #a00d1d); }
.ville-content { text-align: center; color: #ffffff; z-index: 2; }
.ville-content h3 { font-size: 28px; font-weight: 900; margin: 0; text-transform: uppercase; }
.ville-content span { font-size: 13px; font-weight: 700; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }

/* Badges de confiance sous la barre de recherche (Effet verre Premium) */
.hero-trust-badges { 
    display: flex; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 18px; 
    flex-wrap: wrap; 
}
.hero-trust-badge-item { 
    color: #ffffff; 
    font-size: 13px; 
    font-weight: 700; 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    background: rgba(0, 0, 0, 0.4); /* Fond noir semi-transparent */
    padding: 6px 16px; 
    border-radius: 20px; 
    border: 1px solid rgba(255, 255, 255, 0.15); /* Bordure blanche très discrète */
    backdrop-filter: blur(5px); /* Effet verre flouté */
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); 
    transition: 0.3s;
    cursor: default;
}
.hero-trust-badge-item:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
}

/* ==============================================================
   3. GRILLES VIP ET CARTES PRODUITS
   ============================================================== */
.grille-vip-complete { display: grid !important; justify-content: center; gap: 20px !important; margin: 20px 0 !important; padding: 0 !important; width: 100% !important; align-items: stretch !important; }
.grille-vip-complete.cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.grille-vip-complete.cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
.grille-vip-complete.cols-4 { grid-template-columns: repeat(4, 1fr) !important; }

.carte-vip-fusion { background: #fff; border-radius: 18px; overflow: hidden; position: relative; border: 1px solid #f0f0f0; box-shadow: 0 6px 15px rgba(0,0,0,0.04); display: flex; flex-direction: column; width: 100%; height: 100%; transition: all 0.4s ease; }
.carte-vip-fusion:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.img-zoom-wrapper { width: 100%; height: 200px; overflow: hidden; position: relative; background: #f8f8f8; }
.img-zoom-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.carte-vip-fusion:hover .img-zoom-wrapper img { transform: scale(1.1); }
.badge-status { position: absolute; left: 15px; padding: 6px 14px; font-size: 11px; font-weight: 800; border-radius: 30px; z-index: 10; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 5px; }
.verifie { background: #FCD116; color: #1a1a1a; top: 15px; }
.populaire { background: #CE1126; color: #fff; top: 52px; }
.corps-carte { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; }
.titre-logement { font-size: 14px; font-weight: 800; margin-bottom: 10px; color: #1a1a1a; line-height: 1.4; height: 40px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zone-icones { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tag-icon { font-size: 10px; font-weight: 600; background: #f4f6f8; padding: 5px 10px; border-radius: 6px; color: #555; display: inline-flex; align-items: center; border: 1px solid #eee; }
.prix-vip { font-size: 18px; font-weight: 900; color: #007A5E; margin-bottom: 12px; }
.prix-secondaires { display: flex; gap: 10px; margin-bottom: 15px; font-size: 12px; color: #666; }

.actions-boutons { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid #f5f5f5; }
.btn-action-voir { flex: 1; display: inline-flex; justify-content: center; align-items: center; background: #1a1a1a; color: #fff !important; padding: 8px 5px; border-radius: 8px; text-decoration: none; font-weight: 800; font-size: 12px; transition: 0.3s; }
.btn-action-voir:hover { background: #007A5E; }
.btn-action-wa { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 6px; background: #25d366; color: #fff !important; padding: 8px 5px; border-radius: 8px; font-weight: 800; font-size: 12px; transition: 0.3s; box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2); }
.btn-action-wa:hover { background: #1ebd5b; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3); }
.btn-action-wa .wa-icon svg { width: 16px !important; height: 16px !important; fill: #ffffff; }

/* ==============================================================
   4. FILTRE VERTICAL (Page Boutique)
   ============================================================== */
.cb-vertical-filter-box { background: #e7ece7; padding: 25px; border-radius: 18px; border: 1px solid #eee; box-shadow: 0 5px 25px rgba(0,0,0,0.03); }
.cb-vertical-filter-box .filter-title { font-size: 16px; font-weight: 800; color: #1a1a1a; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #CE1126; text-transform: uppercase; }
.v-filter-group { margin-bottom: 20px; }
.v-filter-group label { display: block; font-size: 12px; font-weight: 800; color: #333; margin-bottom: 8px; text-transform: uppercase; }
.v-filter-group input[type="text"], .v-filter-group input[type="number"], .v-filter-group select { width: 100%; padding: 0 15px !important; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; background: #fff; outline: none; transition: 0.3s; color: #333; height: 48px !important; line-height: 48px !important; }
.v-filter-group input:focus, .v-filter-group select:focus { border-color: #007A5E; }
.v-filter-group.sort-group select { border: 2px solid #FCD116; background-color: #fff9f9; font-weight: 700; color: #1a1a1a; cursor: pointer; }
.v-check { display: flex !important; align-items: center; gap: 10px; margin-bottom: 8px !important; font-size: 14px !important; font-weight: 600 !important; color: #555 !important; cursor: pointer; }
.v-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: #007A5E; cursor: pointer; margin: 0; }
.v-btn-submit { width: 100%; background: #1a1a1a; color: #fff; padding: 15px; border: none; border-radius: 8px; font-weight: 800; font-size: 15px; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.v-btn-submit:hover { background: #007A5E; transform: scale(1.02); }

/* ==============================================================
   5. NOUVEAU DESIGN PAGE PRODUIT (Maquette Single Parfaite)
   ============================================================== */
/* NETTOYAGE EXTRÊME : Cacher les doublons natifs WooCommerce et Astra */
.woocommerce-breadcrumb,
.single-product p.price,
.single-product .summary > p.price,
.single-product .product_title,
.single-product .ast-woo-product-category,
.single-product .product_meta,
.single-product .posted_in,
.single-product .woocommerce-product-details__short-description { 
    display: none !important; 
}

/* Images de la galerie arrondies et effet sur les miniatures */
.woocommerce-product-gallery__image img { border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.flex-control-thumbs li img { border-radius: 8px; margin-top: 10px; transition: 0.3s; opacity: 0.6; }
.flex-control-thumbs li img:hover, .flex-control-thumbs li img.flex-active { transform: translateY(-20px); opacity: 1; }


/* LE FOND GRIS (La Card Résumé à droite) */
.cb-summary-card {
    background-color: #f5f8f5; /* Le gris plus clair et premium recommandé */
    padding: 25px 20px;
    border-radius: 18px;
    border: 1px solid #d9dbdf;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04); /* L'ombre premium */
}

/* Catégorie, Ville, Quartier (Maintenant cliquables pour le SEO) */
.cb-single-meta { display: flex; gap: 8px; margin-bottom: 15px; flex-wrap: wrap; }
.cb-single-meta .meta-chip { background: #e2e8e4; color: #007A5E; padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 800; text-transform: uppercase; border: 1px solid #d1dbd4; text-decoration: none; transition: 0.3s; }
.cb-single-meta .meta-chip:hover { background: #007A5E; color: #fff; transform: translateY(-2px); }

/* Titre principal */
.cb-single-title { font-size: 26px !important; font-weight: 900 !important; color: #1a1a1a; margin-bottom: 18px; line-height: 1.3; }

/* Prix */
.cb-single-price-wrap { margin-bottom: 18px; display: block !important; }
.cb-price-day { color: #007A5E; font-weight: 900; font-size: 28px; line-height: 1.2; margin-bottom: 8px; display: block !important; }
.cb-price-day small { font-size: 16px; color: #1a1a1a; font-weight: 700; }
.cb-price-secondaires { display: flex; gap: 15px; flex-wrap: wrap; }
.cb-price-week, .cb-price-month { color: #555; font-weight: 700; font-size: 20px; background: #ffffff; padding: 6px 12px; border-radius: 6px; border: 1px solid #e0e0e0; }

/* Courte Description */
.cb-single-desc { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 25px; }

/* Grille Propriété Vérifiée (Alignement Horizontal Parfait sur 3 colonnes) */
.cb-verified-box { border: 1px solid #e0dbdd; border-radius: 12px; padding: 20px; background: #ffffff; margin-bottom: 25px; }
.cb-verif-header { color: #007A5E; font-weight: 800; font-size: 13px; margin-bottom: 15px; text-transform: uppercase; }
.cb-verif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cb-vg-item { display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px; border: 1px solid #f0f0f0; border-radius: 10px; background: #eaecea; transition: 0.3s; }
.cb-vg-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.03); background: #fff; }
.cb-vg-item span { font-size: 20px; margin: 0; line-height: 1; }
.cb-vg-text { display: flex; flex-direction: column; }
.cb-vg-text strong { font-size: 12px; color: #1a1a1a; font-weight: 800; line-height: 1.2; margin-bottom: 2px; }
.cb-vg-text small { font-size: 9px; color: #888; text-transform: uppercase; font-weight: 600; line-height: 1; }

/* Boutons d'action (WhatsApp & Appel) */
.cb-action-box { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.cb-btn-wa-main { display: inline-flex; justify-content: center; align-items: center; background: #25d366; color: #fff !important; padding: 16px 24px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); transition: 0.3s; width: 100%; box-sizing: border-box; }
.cb-btn-wa-main:hover { background: #1a1a1a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }

.cb-btn-call-main { display: inline-flex; justify-content: center; align-items: center; background: #ffffff; color: #1a1a1a !important; border: 2px solid #e0e0e0; padding: 16px 24px; border-radius: 12px; font-weight: 800; font-size: 16px; text-decoration: none; transition: 0.3s; width: 100%; box-sizing: border-box; }
.cb-btn-call-main:hover { border-color: #1a1a1a; background: #f9f9f9; transform: translateY(-2px); }

/* Modernisation Onglets Description */
.woocommerce-tabs ul.tabs { border-bottom: 2px solid #eee !important; padding-left: 0 !important; margin-bottom: 20px !important; }
.woocommerce-tabs ul.tabs li { background: transparent !important; border: none !important; padding: 0 25px 10px 0 !important; }
.woocommerce-tabs ul.tabs li a { font-weight: 800 !important; color: #888 !important; font-size: 16px !important; transition: 0.3s; }
.woocommerce-tabs ul.tabs li.active a { color: #CE1126 !important; }
.woocommerce-tabs ul.tabs li.active { border-bottom: 3px solid #CE1126 !important; }

@media (max-width: 600px) {
.cb-summary-card { padding: 20px 15px; }
.cb-verif-grid { grid-template-columns: 1fr; } /* Repasse sur 1 colonne sur téléphone */
.hero-trust-badges { gap: 10px; }
.hero-trust-badge-item { font-size: 11px; padding: 5px 12px; }
}

/* ==============================================================
   6. ARCHIVES ET BOUTONS GLOBAUX
   ============================================================== */
.woocommerce ul.products, ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; margin: 20px 0 !important; padding: 0 !important; width: 100% !important; }
.woocommerce ul.products li.product, ul.products li.product { width: 100% !important; margin: 0 !important; float: none !important; list-style: none !important; }
.woocommerce ul.products li.product::before, .woocommerce ul.products li.product::after, ul.products li.product::before, ul.products li.product::after { display: none !important; content: none !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after, ul.products::before, ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button, .woocommerce ul.products li.product h2.woocommerce-loop-product__title { display: none !important; }

.meta-liens-produit { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.meta-chip { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; background: #f5f7f9; border: 1px solid #e4e8ec; color: #4d5b6a; font-size: 11px; font-weight: 700; text-decoration: none; line-height: 1.2; }
.meta-chip:hover { background: #eef5f2; color: #007A5E; }

/* Icônes WA globales & Bouton Flottant */
.wa-icon { display: flex; align-items: center; justify-content: center; }

.whatsapp-float-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999; /* S'assure qu'il passe au-dessus de tout le reste */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float-btn:hover {
    background-color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.2);
}

.whatsapp-float-btn .wa-icon svg { 
    width: 32px !important; 
    height: 32px !important; 
    fill: #ffffff; 
}

/* ==============================================================
   7. RESPONSIVE MOBILE & TABLETTE
   ============================================================== */
@media (max-width: 1024px) {
    .cb-single-layout-wrapper { grid-template-columns: 1fr; }
    .cb-sidebar-card { margin-top: 30px; position: static; }
    .cb-verif-grid { grid-template-columns: repeat(2, 1fr); }
    .grille-vip-complete.cols-3, .grille-vip-complete.cols-4, .woocommerce ul.products, ul.products { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 900px) {
    .search-vip-form { flex-direction: column; border-radius: 20px; padding: 15px; gap: 15px; }
    .search-item { width: 100%; border: none; padding: 0; }
    .divider { display: none; }
}
@media (max-width: 800px) {
    .pourquoi-grid { grid-template-columns: 1fr; }
    .villes-flex { flex-direction: column; }
    .ville-bouton-card { height: 140px; }
}
@media (max-width: 600px) {
    .grille-vip-complete.cols-2, .grille-vip-complete.cols-3, .grille-vip-complete.cols-4, .woocommerce ul.products, ul.products { grid-template-columns: 1fr !important; }
    .hero-title-main { font-size: 28px; }
    .whatsapp-float-btn { width: 50px; height: 50px; bottom: 20px; right: 20px; }
}

/* ==============================================================
   8. STYLE FINAL DU PIED DE PAGE (FAT FOOTER)
   ============================================================== */
/* Forcer le fond noir UNIQUEMENT sur le Footer Astra */
.site-footer, 
.site-primary-footer-wrap, 
.site-below-footer-wrap,
.site-footer .ast-builder-grid-row {
    background-color: #1a1a1a !important;
}

.site-primary-footer-wrap {
    padding-top: 50px !important;
    padding-bottom: 30px !important;
}

/* Texte par défaut (Description) */
.site-footer .widget_text, 
.site-footer p {
    color: #b0b0b0 !important;
    line-height: 1.6;
    font-size: 14px;
}

/* Style des titres des colonnes */
.site-footer .widget-title,
.site-footer h2.widget-title {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    text-transform: uppercase;
    border-bottom: 2px solid #007A5E;
    padding-bottom: 10px;
    margin-bottom: 20px !important;
    display: inline-block;
}

/* Style des listes (Enlever les puces) */
.site-footer ul {
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer ul li {
    list-style-type: none !important;
    margin-bottom: 12px !important;
}

/* Style des liens */
.site-footer ul li a {
    color: #b0b0b0 !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: 0.3s;
    display: inline-block;
}

.site-footer ul li a:hover {
    color: #007A5E !important;
    transform: translateX(5px); /* Petit effet de glissement au survol */
}

/* Barre de Copyright */
.ast-footer-copyright {
    background-color: #111111 !important;
    border-top: 1px solid #222;
    padding: 15px 0;
    font-size: 12px;
    color: #777 !important;
}

/* ==============================================================
   9. DESIGN DE L'EN-TÊTE DE LA PAGE BOUTIQUE & BLOC SEO
   ============================================================== */
/* Nettoyage du fond gris d'Astra (Blanc forcé) */
.ast-archive-description, 
.woocommerce-products-header,
.ast-woo-shop-archive-header,
.ast-archive-header,
.ast-container .woocommerce-products-header { 
    background-color: #ffffff !important; 
    background: #ffffff !important;
    background-image: none !important;
    border: none !important; 
    padding-top: 10px !important;
    padding-bottom: 20px !important;
    text-align: left !important;
    margin-bottom: 0 !important;
}

/* Afficher les titres des produits en entier (Hauteur automatique) */
.titre-logement {
    height: auto !important;
    display: block !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    min-height: 40px; /* Garde un minimum d'espace si le titre est très court */
}

/* Style du nouveau titre principal dynamique (H1) */
.woocommerce-products-header__title.page-title {
    font-size: 32px !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    border-bottom: 3px solid #CE1126;
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 12px !important;
}

/* Sous-titre rassurant */
.cb-shop-subtitle {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    margin-bottom: 0;
}

/* Style du compteur "X offres disponibles" en haut de la grille */
.woocommerce-result-count {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #007A5E !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Bloc SEO en bas de page */
.cb-seo-bottom-block {
    margin-top: 50px;
    padding: 30px;
    background: #fdfdfd;
    border-top: 3px solid #007A5E;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    text-align: justify;
}
.cb-seo-bottom-block h3 {
    font-size: 18px;
    color: #1a1a1a;
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.cb-seo-bottom-block p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* Effet survol WhatsApp Top Bar */
.cb-topbar-wa-link {
    color: #25d366 !important;
    text-decoration: none;
    font-weight: 800;
    transition: color 0.3s ease;
}
.cb-topbar-wa-link:hover {
    color: #254ed3 !important;
}

/* ==============================================================
   10. STYLE DU COMPTEUR DYNAMIQUE (SEO)
   ============================================================== */
.cb-compteur-texte {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #666666;
    margin-top: 15px;
    font-style: italic;
}
.cb-compteur-texte strong {
    color: #007A5E;
    font-weight: 900;
    font-size: 14px;
}

/* ==============================================================
   11. CARROUSEL DES PRODUITS SIMILAIRES (Scroll Snap)
   ============================================================== */

/* Le nouveau fond VERT FONCÉ en PLEINE LARGEUR (Edge-to-Edge) */
.cb-related-wrapper {
    margin-top: 60px;
    padding: 60px 0; /* Plus d'espace en haut et en bas pour respirer */
    background: linear-gradient(135deg, #75a096 0%, #87a8a1 100%);
    border-radius: 0; /* On enlève les coins arrondis puisque ça touche les bords */
    border: none;
    box-shadow: inset 0 10px 20px rgba(0,0,0,0.1); /* Ombre interne pour l'effet de profondeur */
    
    /* La formule magique pour casser le conteneur central et prendre 100% de l'écran */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* On recentre le contenu (titre et carrousel) au milieu de cette grande bande verte */
.cb-carousel-header,
.cb-carousel-container {
    max-width: 1200px; /* Aligné avec la largeur max de ton site */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Marge de sécurité pour les petits écrans */
}

.cb-carousel-header {
    margin-bottom: 30px;
    text-align: left; /* Titre centré, c'est plus joli sur une bande pleine largeur */
}

/* Vraies flèches latérales (comme sur l'image) */
.cb-car-prev, .cb-car-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    z-index: 20;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    outline: none;
    box-shadow: none !important;
}

/* Placement exact sur les côtés */
.cb-car-prev { left: -25px; }
.cb-car-next { right: -25px; }

/* Effet au survol : la flèche grossit un peu */
.cb-car-prev:hover, .cb-car-next:hover {
    transform: translateY(-50%) scale(1.15);
}

/* On BLINDE la taille et la couleur (Blanche) contre le thème Astra */
.cb-car-prev svg, .cb-car-next svg {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px !important;
    min-height: 45px !important;
    display: block !important;
    fill: #ffffff !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); /* Ombre foncée pour ressortir */
    transition: fill 0.3s ease;
}

.cb-car-prev svg path, .cb-car-next svg path {
    fill: #ffffff !important;
    transition: fill 0.3s ease;
}

/* Changement de couleur au survol (Passe au Jaune de la charte) */
.cb-car-prev:hover svg, .cb-car-next:hover svg,
.cb-car-prev:hover svg path, .cb-car-next:hover svg path {
    fill: #FCD116 !important;
}

.cb-carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 25px;
    
    /* Masquer la barre de défilement */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.cb-carousel-track::-webkit-scrollbar {
    display: none;
}

.cb-carousel-track .carte-vip-fusion {
    flex: 0 0 calc(25% - 15px);
    scroll-snap-align: start;
    min-width: 250px;
}

/* Responsivité Mobile / Tablette */
@media (max-width: 1200px) {
    /* Si l'écran est plus petit, on rentre un peu les flèches vers l'intérieur */
    .cb-car-prev { left: -10px; }
    .cb-car-next { right: -10px; }
}

@media (max-width: 1024px) {
    .cb-carousel-track .carte-vip-fusion { flex: 0 0 calc(50% - 10px); }
}

@media (max-width: 600px) {
    .cb-related-wrapper { padding: 25px 15px; } /* Ajustement du fond sur mobile */
    .cb-carousel-track .carte-vip-fusion { flex: 0 0 85%; }
    .cb-car-prev, .cb-car-next { display: none !important; } /* On cache sur mobile, le glissement suffit */
}

/* ==============================================================
   12. CROSS-SELLING VOITURES (Carrousel Secondaire)
   ============================================================== */
/* Le wrapper reste sur fond blanc et avec une marge standard */
.cb-voitures-wrapper {
    margin-top: 60px;
    margin-bottom: 60px;
    background: #ffffff;
}

/* Cadres des voitures en "Rouge cassé" (Couleur Charte) */
.cb-voitures-wrapper .carte-vip-fusion {
    border: 20px solid #925b61;
    box-shadow: 0 6px 15px rgba(206, 17, 38, 0.08);
}

.cb-voitures-wrapper .carte-vip-fusion:hover {
    box-shadow: 0 15px 30px rgba(206, 17, 38, 0.15);
}

/* On recolore les flèches en rouge pour être visibles sur le fond blanc */
.cb-voitures-wrapper .cb-car-prev svg, 
.cb-voitures-wrapper .cb-car-next svg,
.cb-voitures-wrapper .cb-car-prev svg path, 
.cb-voitures-wrapper .cb-car-next svg path {
    fill: #CE1126 !important;
    filter: drop-shadow(0 3px 5px rgba(0,0,0,0.1));
}

/* Survol des flèches : passage au noir */
.cb-voitures-wrapper .cb-car-prev:hover svg, 
.cb-voitures-wrapper .cb-car-next:hover svg,
.cb-voitures-wrapper .cb-car-prev:hover svg path, 
.cb-voitures-wrapper .cb-car-next:hover svg path {
    fill: #1a1a1a !important;
}
/* Recette mobile 2026-10-10 : logo contenu à 320 px, sans masquer le menu. */
@media (max-width:480px) {
 .ast-header-break-point #masthead .site-branding img.custom-logo { max-width:180px!important; width:auto!important; height:auto; }
}

@media (max-width:600px) {
 .cb-related-wrapper { width:100%; left:auto; right:auto; margin-left:0; margin-right:0; box-sizing:border-box; }
}
