/**
 * Thème "Aux Multiples Merveilles"
 * Charte graphique coordonnée au logo médaillon officiel :
 * - Fond : Blanc albâtre (#faf8f5)
 * - Textes & Titres : Bleu ardoise pétrole (#1c2e38)
 * - Actions / Boutons : Pêche poudrée blush (#d98a7a)
 * - Réassurance & Équilibre : Vert sauge céladon (#7c9596)
 * - Cartes & Surfaces : Beige lin doux (#f3ede4)
 * - Éclat & Halo : Doré champagne (#e5d5bd)
 */

body {
    background-color: #faf8f5;
    color: #1c2e38;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#header {
    background: #ffffff;
    box-shadow: 0 2px 14px rgba(28, 46, 56, 0.05);
    border-bottom: 2px solid #f3ede4;
}

.header-nav {
    background: #faf8f5;
    border-bottom: 1px solid #ebdcd5;
    font-size: 0.85rem;
    color: #5a5755;
}

/* Boutons principaux d'action (Pêche poudrée / Blush) */
.btn-primary {
    background-color: #d98a7a !important;
    border-color: #d98a7a !important;
    border-radius: 25px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 12px rgba(217, 138, 122, 0.28) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c97969 !important;
    border-color: #c97969 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 138, 122, 0.4) !important;
}

/* Boutons secondaires et étiquettes (Vert sauge céladon) */
.btn-secondary {
    background-color: #7c9596 !important;
    border-color: #7c9596 !important;
    border-radius: 25px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-secondary:hover {
    background-color: #6a8283 !important;
    border-color: #6a8283 !important;
}

/* Cartes produits douces et rassurantes */
.product-miniature {
    background: #ffffff;
    border-radius: 16px !important;
    overflow: hidden;
    border: 1px solid #f0e7dc !important;
    box-shadow: 0 4px 14px rgba(28, 46, 56, 0.04) !important;
    transition: transform 0.28s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.28s ease, border-color 0.28s ease !important;
}

.product-miniature:hover {
    transform: translateY(-4px);
    border-color: #e5d5bd !important;
    box-shadow: 0 12px 26px rgba(217, 138, 122, 0.16) !important;
}

#footer {
    background: #f7f3ed;
    border-top: 2px solid #ebdcd5;
    color: #4b4846;
    padding-top: 40px;
}

/* ==============================================================================
 * Centrage et Surbrillance (Halo Lumineux) du Logo Médaillon Officiel
 * ============================================================================== */
#_desktop_logo,
.top-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

#_desktop_logo a,
.top-logo a {
    display: inline-block;
    line-height: 0;
    position: relative;
}

#_desktop_logo img,
.top-logo img {
    max-height: 85px;
    width: auto;
    border-radius: 50%;
    /* Double surbrillance : halo doré champagne diffus + ombre douce de relief */
    filter: drop-shadow(0 0 18px rgba(229, 213, 189, 0.8))
            drop-shadow(0 6px 14px rgba(28, 46, 56, 0.12));
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.35s ease;
}

#_desktop_logo img:hover,
.top-logo img:hover {
    transform: scale(1.06);
    filter: drop-shadow(0 0 28px rgba(217, 138, 122, 0.6))
            drop-shadow(0 8px 18px rgba(28, 46, 56, 0.2));
}

@media (max-width: 767px) {
    .top-logo img {
        max-height: 60px;
        filter: drop-shadow(0 0 12px rgba(229, 213, 189, 0.7))
                drop-shadow(0 4px 10px rgba(28, 46, 56, 0.1));
    }
}

/* ==============================================================================
 * Mode Plein Écran Zéro-Scroll pour le Showroom Immersif sur la Page d'Accueil
 * ============================================================================== */
body.page-index {
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Masquer les bandeaux parasites du thème Classic sur la page d'accueil showroom */
body.page-index #header,
body.page-index #notifications,
body.page-index .breadcrumb,
body.page-index #footer {
    display: none !important;
}

/* Déverrouiller le conteneur PrestaShop pour occuper 100% de la fenêtre sans bandes blanches latérales */
body.page-index #wrapper,
body.page-index #wrapper .container,
body.page-index #content-wrapper,
body.page-index #main,
body.page-index #content.page-home {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.page-index .amm-showroom-module {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

body.page-index .amm-site-header {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* ==============================================================================
 * Défilement garanti pour toutes les pages CMS, catalogue & tunnel de commande
 * ============================================================================== */
body:not(.page-index),
body.page-cms {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #FAF8F5 !important;
}

body:not(.page-index) #wrapper,
body:not(.page-index) #content-wrapper,
body:not(.page-index) #main,
body:not(.page-index) #content,
body.page-cms #wrapper,
body.page-cms #content-wrapper,
body.page-cms #main,
body.page-cms #content {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
}


