/* ================================================================
   Collier — International Luxury Brand Redesign
   Palette unchanged: plum, burgundy, wine, ivory, champagne gold
   ================================================================ */

/* ——— Balanced Luxury Navbar ——— */
:root {
    --nav-height: 72px;
}

.maison-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.luxury-navbar {
    position: relative;
    padding: 0;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
}

.maison-nav-container {
    width: min(1480px, 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}

.nav-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-height: var(--nav-height);
    position: relative;
}

.nav-col-left,
.nav-col-right {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.nav-col-left {
    justify-content: flex-start;
}

.nav-col-right {
    justify-content: flex-end;
}

.nav-col-center {
    justify-self: center;
    text-align: center;
    z-index: 2;
}

.nav-col-center .navbar-brand {
    flex-direction: row;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.nav-col-center .brand-text {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.45rem);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nav-col-center .maison-monogram { display: none; }

.nav-desktop-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
    flex-wrap: wrap;
}

.nav-desktop-menu li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-desktop-menu li a:hover,
.nav-desktop-menu li a.active {
    color: var(--champagne-gold, #B57281);
}

.nav-icon-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-icon-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-ivory, #F8F4F5);
    border: 1px solid transparent;
    border-radius: 50%;
    transition: var(--transition);
    position: relative;
}

.nav-icon-btn:hover {
    color: var(--champagne-gold, #B57281);
    border-color: rgba(181, 114, 129, 0.35);
}

.nav-icon-btn .wishlist-count {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    font-size: 0.55rem;
    background: var(--berry-accent, #CC8899);
    color: var(--soft-ivory);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ——— Cinematic Hero ——— */
.hero-cinematic {
    position: relative;
    min-height: clamp(520px, 88vh, 900px);
    margin-top: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-cinematic__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cinematic__media img,
.hero-cinematic__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-cinematic__media video {
    position: absolute;
    inset: 0;
    min-width: 100%;
    min-height: 100%;
    display: block !important;
    visibility: visible !important;
    background: #000;
}

.hero-cinematic__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(123, 74, 87, 0.82) 0%, rgba(145, 95, 109, 0.55) 45%, rgba(123, 74, 87, 0.35) 100%),
        linear-gradient(to top, rgba(123, 74, 87, 0.7) 0%, transparent 50%);
}

.hero-cinematic__content {
    position: relative;
    z-index: 2;
    width: min(720px, 92%);
    padding: clamp(48px, 8vw, 100px) 24px;
    text-align: center;
    margin: 0 auto;
}

.hero-cinematic__content .display-title {
    color: var(--soft-ivory, #F8F4F5);
    margin-bottom: 20px;
}

.hero-cinematic__content .display-title em {
    color: var(--champagne-gold, #B57281);
}

.hero-cinematic__content .editorial-lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 520px;
    margin: 0 auto 32px;
}

.hero-cinematic__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.btn-luxury.btn-sm {
    padding: 12px 24px !important;
    font-size: 0.7rem !important;
}

.hero-cinematic__dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

/* ——— Section Shell ——— */
.lux-section {
    padding: clamp(64px, 10vw, 120px) 0;
}

.lux-section--ivory { background: var(--soft-ivory, #F8F4F5); }
.lux-section--dark { background: var(--gradient-dark); color: var(--soft-ivory); }
.lux-section--dark .section-title-maison,
.lux-section--dark .display-title { color: var(--soft-ivory); }
.lux-section--dark .maison-label { color: var(--champagne-gold); }
.lux-section--dark .editorial-lead { color: rgba(255, 255, 255, 0.8); }

.lux-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: clamp(32px, 5vw, 56px);
    flex-wrap: wrap;
}

.lux-section__head--center {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

/* ——— Product Grids ——— */
.lux-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 28px);
}

.lux-card-compact {
    background: var(--soft-ivory);
    border: 1px solid rgba(204, 136, 153, 0.1);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease;
}

.lux-card-compact:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(123, 74, 87, 0.12);
}

.lux-card-compact__media {
    display: block;
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #F2E8EA;
}

.lux-card-compact__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.lux-card-compact:hover .lux-card-compact__media img {
    transform: scale(1.05);
}

.lux-card-compact__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 74, 87, 0.35), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lux-card-compact:hover .lux-card-compact__overlay { opacity: 1; }

.lux-card-compact__quick {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--soft-ivory);
    border-bottom: 1px solid var(--champagne-gold);
    transition: all 0.4s ease;
}

.lux-card-compact:hover .lux-card-compact__quick {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.lux-card-compact__body {
    padding: 18px 16px 22px;
    text-align: center;
}

.lux-card-compact__cat {
    font-size: 0.6rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--berry-accent, #CC8899);
    display: block;
    margin-bottom: 6px;
}

.lux-card-compact__name {
    font-family: var(--font-display);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.35;
}

.lux-card-compact__name a { color: var(--deep-plum, #7B4A57); }
.lux-card-compact__name a:hover { color: var(--royal-burgundy); }

.lux-card-compact__price {
    font-family: var(--font-editorial);
    font-size: 1rem;
    color: var(--royal-burgundy, #915F6D);
    font-weight: 600;
}

/* ——— Category Cards ——— */
.lux-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(12px, 2vw, 20px);
}

.lux-category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: block;
    border: 1px solid rgba(181, 114, 129, 0.2);
}

.lux-category-card img,
.lux-category-card__placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.lux-category-card:hover img { transform: scale(1.08); }

.lux-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 74, 87, 0.92) 0%, rgba(145, 95, 109, 0.25) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(16px, 3vw, 28px);
    transition: background 0.4s ease;
}

.lux-category-card:hover .lux-category-card__overlay {
    background: linear-gradient(to top, rgba(145, 95, 109, 0.95) 0%, rgba(204, 136, 153, 0.4) 100%);
}

.lux-category-card__overlay h3 {
    font-family: var(--font-display);
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--soft-ivory);
    margin: 0 0 8px;
}

.lux-category-card__link {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--champagne-gold);
}

/* ——— Best Sellers + Promo ——— */
.lux-split-promo {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: stretch;
}

.lux-promo-banner {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    border: 1px solid rgba(181, 114, 129, 0.25);
}

.lux-promo-banner img,
.lux-promo-banner__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-promo-banner__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 74, 87, 0.85), transparent 55%);
}

.lux-promo-banner__copy {
    position: relative;
    z-index: 2;
    padding: clamp(24px, 4vw, 40px);
    color: var(--soft-ivory);
}

.lux-promo-banner__copy h3 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 12px;
}

.lux-promo-banner__copy p {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 20px;
    max-width: 280px;
}

/* ——— Gallery / Styled By ——— */
.lux-gallery-rail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.5vw, 16px);
}

.lux-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid rgba(181, 114, 129, 0.15);
}

.lux-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
}

.lux-gallery-item:hover img {
    transform: scale(1.06);
    opacity: 0.92;
}

.lux-gallery-item--tall { grid-row: span 2; aspect-ratio: auto; }

/* ——— Service Features ——— */
.lux-services {
    background: var(--royal-burgundy, #915F6D);
    border-top: 1px solid rgba(181, 114, 129, 0.2);
    border-bottom: 1px solid rgba(181, 114, 129, 0.2);
    padding: clamp(28px, 4vw, 40px) 0;
}

.lux-services__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.lux-service-item {
    text-align: center;
    color: var(--soft-ivory);
    padding: 8px 12px;
}

.lux-service-item i {
    font-size: 1.35rem;
    color: var(--champagne-gold);
    margin-bottom: 10px;
    display: block;
}

.lux-service-item h4 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 6px;
}

.lux-service-item p {
    font-size: 0.75rem;
    opacity: 0.75;
    margin: 0;
    line-height: 1.5;
}

/* ——— About Preview ——— */
.lux-about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.lux-about-preview__media {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    border: 1px solid var(--line-gold);
}

.lux-about-preview__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-about-preview__media::after {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(181, 114, 129, 0.35);
    pointer-events: none;
}

/* ——— Instagram Grid ——— */
.lux-insta-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.lux-insta-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
}

.lux-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lux-insta-item:hover img { transform: scale(1.08); }

.lux-insta-item::after {
    content: '\f16d';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(123, 74, 87, 0.55);
    color: var(--soft-ivory);
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lux-insta-item:hover::after { opacity: 1; }

/* ——— Premium Footer ——— */
.luxury-footer { background: var(--gradient-dark) !important; }

.footer-premium-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
    gap: clamp(24px, 4vw, 40px);
}

.footer-premium-brand p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 16px;
}

.footer-premium-col h5 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--champagne-gold) !important;
    margin-bottom: 20px;
}

.footer-premium-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-premium-col ul li {
    margin-bottom: 10px;
}

.footer-premium-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-premium-col ul li a:hover {
    color: var(--champagne-gold);
}

.footer-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.footer-payments span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid rgba(181, 114, 129, 0.25);
    border-radius: 4px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ——— Page heroes (products, about, contact) ——— */
.page-hero-lux {
    padding: clamp(140px, 16vw, 200px) 0 clamp(56px, 8vw, 80px);
    background: var(--gradient-dark);
    color: var(--soft-ivory);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero-lux::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(204, 136, 153, 0.25), transparent);
    pointer-events: none;
}

.page-hero-lux .display-title,
.page-hero-lux .section-title-maison { color: var(--soft-ivory); }
.page-hero-lux .display-title em { color: var(--champagne-gold); }
.page-hero-lux .editorial-lead { color: rgba(255, 255, 255, 0.85); margin: 0 auto; }

/* Best sellers sub-grid: 2 columns on desktop */
.lux-product-grid--bestsellers {
    grid-template-columns: repeat(2, 1fr);
}

/* ——— Mobile: vertical only, no horizontal scroll ——— */
@media (max-width: 991px) {
    :root {
        --nav-height: 64px;
    }

    .nav-layout {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .nav-col-left { display: none; }

    .nav-col-center {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        justify-self: center;
        text-align: center;
        pointer-events: none;
    }

    .nav-col-center .navbar-brand {
        pointer-events: auto;
    }

    .nav-col-right {
        grid-column: 2;
        justify-content: flex-end;
        gap: 4px;
    }

    .nav-desktop-menu { display: none; }

    .mobile-menu-overlay.maison-mobile {
        top: var(--nav-height);
        height: calc(100vh - var(--nav-height));
    }

    .lux-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lux-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lux-split-promo {
        grid-template-columns: 1fr;
    }

    .lux-promo-banner {
        min-height: 320px;
    }

    .lux-gallery-rail {
        grid-template-columns: repeat(2, 1fr);
    }

    .lux-gallery-item--tall {
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .lux-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .lux-about-preview {
        grid-template-columns: 1fr;
    }

    .lux-insta-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-premium-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-premium-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-premium-brand .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 575px) {
    /* Homepage overrides in home-mobile.css — keep 2-col grids elsewhere */
    body:not(.home-page) .lux-product-grid,
    body:not(.home-page) .lux-category-grid,
    body:not(.home-page) .lux-gallery-rail,
    body:not(.home-page) .lux-insta-grid,
    body:not(.home-page) .lux-services__grid,
    body:not(.home-page) .footer-premium-grid {
        grid-template-columns: 1fr;
    }

    .hero-cinematic__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-cinematic__actions .btn-luxury {
        width: 100%;
    }

    body:not(.home-page) .lux-section__head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
