/* ============================================================
   Collier — Rose Maison Theme Overrides
   Loaded last. Enforces the luxury feminine palette:
   White #FFFFFF · Soft Ivory #F8F4F5 · Light Blush #F2E8EA
   Raspberry Glace #915F6D · Turkish Rose #B57281 · Puce #CC8899
   Dark Accent #7B4A57
   ============================================================ */

/* ——— Surface variables (former dark glass → white glass) ——— */
:root {
    --surface-glass: rgba(255, 255, 255, 0.92);
    --surface-dark: rgba(255, 255, 255, 0.96);
}

/* ——— Base surfaces ——— */
body,
.maison-body {
    background: #FFFFFF;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(242, 232, 234, 0.7), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(248, 244, 245, 0.8), transparent);
    color: #7B4A57;
}

/* ——— Navbar: white, raspberry links, turkish-rose hover ——— */
.maison-header .luxury-navbar,
.luxury-navbar,
.luxury-navbar.glass-nav,
.luxury-navbar.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) saturate(120%);
    -webkit-backdrop-filter: blur(14px) saturate(120%);
    border-bottom: 1px solid rgba(181, 114, 129, 0.18) !important;
    box-shadow: 0 6px 24px rgba(123, 74, 87, 0.07) !important;
}

.luxury-navbar .brand-text,
.luxury-navbar .brand-tagline,
.nav-col-center .brand-text {
    color: #915F6D !important;
}

.nav-desktop-menu li a,
.luxury-navbar .navbar-menu li a {
    color: #915F6D !important;
}

.nav-desktop-menu li a:hover,
.nav-desktop-menu li a.active,
.luxury-navbar .navbar-menu li a:hover,
.luxury-navbar .navbar-menu li a.active {
    color: #B57281 !important;
    background: transparent;
}

.nav-icon-btn {
    color: #915F6D !important;
}

.nav-icon-btn:hover {
    color: #B57281 !important;
    border-color: rgba(181, 114, 129, 0.4) !important;
}

.nav-icon-btn .wishlist-count {
    background: #CC8899 !important;
    color: #FFFFFF !important;
}

.luxury-navbar .navbar-toggle span,
.navbar-toggle span {
    background: #915F6D !important;
}

/* Mobile menu */
.mobile-menu-content {
    background: #FFFFFF;
}

.mobile-nav-links a {
    color: #915F6D;
    border-bottom-color: rgba(242, 232, 234, 0.9);
}

.mobile-nav-links a:hover { color: #B57281; }
.mobile-nav-links .mobile-sub a { color: #B57281; }

.mobile-nav-links .mobile-sub--child a {
    padding-left: 38px;
    font-size: 0.88rem;
    color: #CC8899;
}

.nav-icon-btn.nav-cart {
    position: relative;
}

.nav-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #915F6D;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 18px;
}

/* ——— Hero: soft ivory veil, raspberry headings ——— */
.hero-cinematic__overlay {
    background:
        linear-gradient(90deg, rgba(248, 244, 245, 0.92) 0%, rgba(248, 244, 245, 0.72) 45%, rgba(242, 232, 234, 0.45) 100%),
        linear-gradient(to top, rgba(255, 255, 255, 0.85) 0%, transparent 55%) !important;
}

.hero-cinematic__content .maison-label { color: #B57281 !important; }

.hero-cinematic__content .display-title { color: #915F6D !important; }
.hero-cinematic__content .display-title em { color: #B57281 !important; }

.hero-cinematic__content .editorial-lead { color: #7B4A57 !important; }

.hero-dot { border-color: rgba(145, 95, 109, 0.5) !important; }
.hero-dot.active,
.hero-dot:hover { background: #915F6D !important; border-color: #915F6D !important; }

.hero-scroll-indicator,
.hero-scroll-indicator a { color: #915F6D !important; }

/* ——— Buttons ——— */
.btn-luxury-primary,
.btn-luxury.btn-luxury-primary {
    background: #915F6D !important;
    background-image: none !important;
    border: 1px solid #915F6D !important;
    color: #FFFFFF !important;
    box-shadow: 0 10px 24px -12px rgba(123, 74, 87, 0.5);
}

.btn-luxury-primary:hover,
.btn-luxury-primary:focus {
    background: #7B4A57 !important;
    border-color: #7B4A57 !important;
    color: #FFFFFF !important;
    box-shadow: 0 14px 30px -12px rgba(123, 74, 87, 0.55);
}

.btn-luxury-primary.shimmer-btn:hover {
    box-shadow: 0 14px 30px -12px rgba(123, 74, 87, 0.55), inset 0 0 20px rgba(255, 255, 255, 0.08) !important;
}

.btn-luxury-outline,
.btn-luxury.btn-luxury-outline {
    background: #FFFFFF !important;
    border: 1px solid #915F6D !important;
    color: #915F6D !important;
}

.btn-luxury-outline:hover,
.btn-luxury-outline:focus {
    background: #F2E8EA !important;
    border-color: #7B4A57 !important;
    color: #7B4A57 !important;
}

/* ——— Generic cards & badges ——— */
.luxury-card,
.glass-card {
    background: #FFFFFF;
    border: 1px solid rgba(181, 114, 129, 0.16);
    box-shadow: 0 12px 32px -18px rgba(123, 74, 87, 0.22);
}

.luxury-badge,
.product-badge,
.lux-pcard__badge {
    background: #CC8899 !important;
    color: #FFFFFF !important;
    border: none !important;
}

/* ——— Product cards: raspberry titles, turkish-rose hover ——— */
.lux-pcard__name a { color: #915F6D; }
.lux-pcard__name a:hover { color: #B57281; }

.lux-pcard__price { color: #7B4A57; }
.lux-pcard__price--sale { color: #B57281; }
.lux-pcard__price-was { color: #A8838F; }

.lux-pcard__wish { color: #915F6D; }
.lux-pcard__wish:hover,
.lux-pcard__wish.active { color: #B57281; }

.lux-pcard__quick {
    background: rgba(255, 255, 255, 0.94);
    color: #915F6D;
    border-top: 1px solid rgba(181, 114, 129, 0.2);
}

.lux-pcard__quick:hover {
    background: #915F6D;
    color: #FFFFFF;
}

/* ——— Category cards: white & blush tones, soft gradients ——— */
.lux-category-card__placeholder.gradient-animate {
    background: linear-gradient(160deg, #FFFFFF 0%, #F2E8EA 50%, #E7D2D8 100%);
    animation: none;
}

.lux-category-card__overlay {
    background: linear-gradient(to top, rgba(123, 74, 87, 0.82) 0%, rgba(181, 114, 129, 0.16) 55%, transparent 80%);
}

.lux-category-card__link {
    color: #F2E8EA;
}

/* ——— Contact page: concierge cards as white cards ——— */
.maison-concierge-card {
    background: #FFFFFF;
    border: 1px solid rgba(181, 114, 129, 0.22);
    box-shadow: 0 12px 32px -18px rgba(123, 74, 87, 0.16);
}

.maison-concierge-card h4 { color: #915F6D; }
.maison-concierge-card i { color: #B57281; }

/* ——— Products page: filter panel as a white card ——— */
.maison-filters {
    background: #FFFFFF !important;
    backdrop-filter: none;
    border: 1px solid rgba(181, 114, 129, 0.22) !important;
    box-shadow: 0 12px 32px -18px rgba(123, 74, 87, 0.18);
}

.maison-filters h4 {
    color: #915F6D;
    border-bottom-color: rgba(181, 114, 129, 0.3);
}

/* ——— Former dark sections → white & blush ——— */
.lux-section--dark,
.maison-section-dark {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F4F5 40%, #F2E8EA 100%) !important;
    color: #7B4A57 !important;
}

.lux-section--dark .section-title-maison,
.lux-section--dark .display-title,
.maison-section-dark .display-title {
    color: #915F6D !important;
}

.lux-section--dark .display-title em,
.maison-section-dark .display-title em {
    color: #B57281 !important;
}

.lux-section--dark .maison-label,
.maison-section-dark .maison-label {
    color: #B57281 !important;
}

.lux-section--dark .editorial-lead,
.maison-section-dark .editorial-lead {
    color: #7B4A57 !important;
}

.lux-section--dark .lux-pcard__name a { color: #915F6D !important; }
.lux-section--dark .lux-pcard__price { color: #7B4A57 !important; }
.lux-section--dark .maison-text-link { color: #915F6D !important; }

/* ——— Services band: soft blush, raspberry accents ——— */
.lux-services {
    background: linear-gradient(180deg, #F8F4F5 0%, #F2E8EA 100%) !important;
    border-top: 1px solid rgba(181, 114, 129, 0.2) !important;
    border-bottom: 1px solid rgba(181, 114, 129, 0.2) !important;
}

.lux-service-item { color: #7B4A57 !important; }
.lux-service-item i { color: #915F6D !important; }
.lux-service-item h4 { color: #915F6D !important; }
.lux-service-item p { color: #7B4A57 !important; }

/* ——— Footer: raspberry gradient, white text ——— */
.luxury-footer {
    background: linear-gradient(170deg, #915F6D 0%, #875964 55%, #7B4A57 100%) !important;
    color: #FFFFFF !important;
}

.luxury-footer h5,
.footer-premium-col h5 {
    color: #F2E8EA !important;
}

.luxury-footer a { color: rgba(255, 255, 255, 0.88); }
.luxury-footer a:hover { color: #FFFFFF; }

.footer-premium-brand p { color: rgba(255, 255, 255, 0.85); }

.footer-social a {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

.footer-social a:hover {
    background: #FFFFFF !important;
    color: #915F6D !important;
    border-color: #FFFFFF !important;
}

/* Render any logo white on the raspberry footer */
.luxury-footer .footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.luxury-footer .footer-contact i { color: #F2E8EA !important; }

.footer-payments span {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.22) !important;
}

.footer-bottom p { color: rgba(255, 255, 255, 0.75) !important; }

/* ——— Product page: Ask an Expert box (raspberry gradient) ——— */
.pd-expert-box,
.pd-expert-box p,
.pd-expert-box .pd-expert-text {
    color: rgba(255, 255, 255, 0.92) !important;
}

.pd-expert-box h3 {
    color: #FFFFFF !important;
}

.pd-expert-box .maison-label {
    color: #F2E8EA !important;
}

.pd-expert-box .btn-luxury-outline,
.pd-expert-btn-outline {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #FFFFFF !important;
}

.pd-expert-box .btn-luxury-outline:hover,
.pd-expert-btn-outline:hover {
    background: #FFFFFF !important;
    color: #915F6D !important;
    border-color: #FFFFFF !important;
}

.pd-expert-box .btn-luxury-primary {
    background: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: #915F6D !important;
}

.pd-expert-box .btn-luxury-primary:hover {
    background: #F2E8EA !important;
    border-color: #F2E8EA !important;
    color: #7B4A57 !important;
}

/* ——— Misc polish ——— */
/* Keep the COLLIER wordmark visible on phones (style.css hides it <768px).
   Brand sits left, icons right — centered brand collides with icons <480px. */
@media (max-width: 767px) {
    .luxury-navbar .nav-col-center {
        position: static !important;
        transform: none !important;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        text-align: left;
    }

    .luxury-navbar .nav-col-center .navbar-brand {
        justify-content: flex-start;
    }

    .luxury-navbar .nav-col-right {
        grid-column: 2;
        grid-row: 1;
    }

    .luxury-navbar .nav-col-center .brand-text {
        display: inline-block !important;
        font-size: clamp(0.82rem, 4vw, 1.05rem);
        letter-spacing: 0.14em;
        white-space: nowrap;
    }
}

.scroll-progress {
    background: linear-gradient(90deg, #B57281, #915F6D) !important;
}

::selection {
    background: rgba(204, 136, 153, 0.35);
    color: #7B4A57;
}
