/* ==========================================================================
   MAMA — Dark Luxury Overhaul
   ========================================================================== */

body.home:not(.pxl-header-sticky) #pxl-header-elementor, body.home:not(.pxl-header-sticky) .pxl-header-elementor-main{
    background: transparent !important; box-shadow: none !important;
}
body.home:not(.pxl-header-sticky) #pxl-header-elementor .pxl-menu-primary > li > a, body.home:not(.pxl-header-sticky) #pxl-header-elementor .pxl-header-branding{ color: #fff !important; }

.pxl-header-elementor-sticky.pxl-header-fixed, body.pxl-header-sticky #pxl-header-elementor{
    background: rgba(26,17,10,.82) !important; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0,0,0,.25); transition: background-color .4s ease, box-shadow .4s ease;
}

.mama-glass, .mama-dark-section .elementor-widget-icon-box .elementor-icon-box-wrapper, .mama-dark-section .pxl-item--holder{
    background: rgba(255,255,255,.06) !important; border: 1px solid rgba(212,175,55,.22) !important;
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.mama-dark-section .elementor-widget-icon-box .elementor-icon-box-title, .mama-dark-section p, .mama-dark-section h1, .mama-dark-section h2, .mama-dark-section h3, .mama-dark-section h4{ color: #EFE6D8 !important; }

.mama-dark-section{ background: linear-gradient(160deg, #1A110B 0%, #2A1B10 100%) !important; position: relative; }
.mama-dark-section::before{ content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, #D4AF37 0 1px, transparent 1px 24px); opacity: .05; pointer-events: none; }

/* floating WhatsApp button — positioned above the theme's back-to-top
   button (.pxl-scroll-top, also bottom-right) with a clear gap, instead of
   overlapping it. JS also live-measures the real button and repositions
   precisely — see dark-luxury.js. */
.mama-whatsapp-float{
    position: fixed; right: 24px; bottom: 100px;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 28px rgba(0,0,0,.3); z-index: 999;
    transition: transform .3s ease, box-shadow .3s ease;
    animation: mama-wa-pulse 2.4s ease-in-out infinite;
}
.mama-whatsapp-float:hover{ transform: scale(1.08); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.mama-whatsapp-float svg{ width: 28px; height: 28px; fill: #fff; }
@keyframes mama-wa-pulse{ 0%, 100%{ box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 0 rgba(37,211,102,.5); } 50%{ box-shadow: 0 10px 28px rgba(0,0,0,.3), 0 0 0 10px rgba(37,211,102,0); } }
@media (max-width: 767px){
    .pxl-scroll-top{ display: none !important; } /* bottom nav's Home button already covers this on mobile */
    .mama-whatsapp-float{ bottom: 78px; right: 16px; width: 50px; height: 50px; }
}

.mama-bottom-nav{
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 998;
    background: rgba(26,17,10,.96); backdrop-filter: blur(12px); border-top: 1px solid rgba(212,175,55,.2);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
@media (max-width: 767px){ .mama-bottom-nav{ display: flex; } body{ padding-bottom: 62px; } }
.mama-bottom-nav__item{
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: rgba(239,230,216,.7); text-decoration: none; font-size: 10.5px; letter-spacing: .02em;
    padding: 6px 2px; min-height: 44px; justify-content: center; transition: color .2s ease;
}
.mama-bottom-nav__item svg{ width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mama-bottom-nav__item.is-primary{ color: #2A1B10; background: #D4AF37; border-radius: 10px; margin: 0 2px; }
.mama-bottom-nav__item:not(.is-primary):hover, .mama-bottom-nav__item:not(.is-primary):active{ color: #D4AF37; }

@media (prefers-reduced-motion: reduce){ .mama-whatsapp-float{ animation: none; } }
