﻿/* ==========================================================================
AURUM & EMERALD | LUXURY BOUTIQUE STYLESHEET (Site.Master & Pages)
========================================================================== */
:root {
    --bg-obsidian: #0B0D0C;
    --bg-charcoal: #121514;
    --bg-elevated: #181D1B;
    --emerald-rich: #0A4D3C;
    --emerald-gradient: linear-gradient(135deg, #07382B 0%, #0E6650 100%);
    --gold-primary: #D4AF37;
    --gold-bright: #F3D060;
    --text-ivory: #F8F5EE;
    --text-muted-gold: #B5A98E;
    --border-gold: rgba(212, 175, 55, 0.28);
    --border-gold-strong: rgba(212, 175, 55, 0.65);
    --shadow-luxury: 0 20px 50px rgba(0, 0, 0, 0.85);
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-ivory);
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Cinzel', serif;
}

.bg-obsidian {
    background-color: var(--bg-obsidian) !important;
}

.bg-charcoal {
    background-color: var(--bg-charcoal) !important;
}

.bg-emerald-rich {
    background-color: var(--emerald-rich) !important;
}

.text-ivory {
    color: var(--text-ivory) !important;
}

.text-gold {
    color: var(--gold-primary) !important;
}

.text-gold-bright {
    color: var(--gold-bright) !important;
}

.text-muted-gold {
    color: var(--text-muted-gold) !important;
}

.border-gold {
    border-color: var(--border-gold) !important;
}

.text-gold-foil {
    background: linear-gradient(135deg, #F3D060 0%, #D4AF37 50%, #AA821D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-gold {
    background: linear-gradient(135deg, #F3D060 0%, #D4AF37 100%);
    color: #0B0D0C;
    font-weight: 700;
    border: 1px solid var(--gold-bright);
    transition: all 0.25s ease;
}

    .btn-gold:hover {
        background: linear-gradient(135deg, #FFE07D 0%, #E0B93F 100%);
        color: #0B0D0C;
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(212, 175, 55, 0.35);
    }

.btn-outline-gold {
    color: var(--gold-bright);
    border: 1px solid var(--gold-primary);
    background: transparent;
    font-weight: 600;
    transition: all 0.25s ease;
}

    .btn-outline-gold:hover {
        background: var(--gold-primary);
        color: #0B0D0C;
    }

.btn-emerald {
    background: var(--emerald-gradient);
    color: var(--gold-bright);
    border: 1px solid var(--gold-primary);
}

    .btn-emerald:hover {
        border-color: var(--gold-bright);
        color: #FFFFFF;
    }

/* Navbar & Single-Line Dropdown Submenus */
.navbar-luxury {
    background: rgba(11, 13, 12, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-gold);
}

.nav-link-luxury {
    color: var(--text-ivory) !important;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 0.5rem !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}

    .nav-link-luxury:hover, .nav-link-luxury.active {
        color: var(--gold-bright) !important;
    }

.dropdown-menu-luxury {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-gold-strong);
    border-radius: 12px;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-luxury);
    min-width: 210px;
}

.dropdown-item-luxury {
    color: var(--text-ivory);
    font-size: 0.8rem;
    padding: 0.45rem 1.1rem;
    transition: all 0.2s ease;
}

    .dropdown-item-luxury:hover, .dropdown-item-luxury.active {
        background: var(--emerald-gradient);
        color: var(--gold-bright);
    }

@media (min-width: 1200px) {
    .navbar-nav .dropdown:hover > .dropdown-menu-luxury {
        display: block;
        margin-top: 0;
    }
}

/* Mobile Header Single-Row Lock */
@media (max-width: 575.98px) {
    .navbar-luxury .container-fluid {
        flex-wrap: nowrap !important;
    }

    .navbar-luxury .navbar-brand {
        min-width: 0;
        margin-right: 0.25rem !important;
    }

        .navbar-luxury .navbar-brand .brand-font {
            font-size: 0.92rem !important;
        }

        .navbar-luxury .navbar-brand small {
            font-size: 0.48rem !important;
            letter-spacing: 0.14em !important;
        }

    .navbar-luxury .brand-emblem-circle {
        width: 30px !important;
        height: 30px !important;
    }

    .navbar-luxury .navbar-toggler {
        padding: 0.25rem 0.45rem !important;
    }

    .navbar-luxury .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 13, 12, 0.98);
        border-bottom: 1px solid var(--border-gold-strong);
        padding: 0.75rem 1rem 1rem;
        margin-top: 0 !important;
        z-index: 1050;
    }
}

/* Live Search */
.search-wrapper {
    position: relative;
    min-width: 190px;
    max-width: 230px;
}

.search-input-luxury {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-gold);
    color: var(--text-ivory);
    padding-left: 2.2rem;
    padding-right: 2.2rem;
    border-radius: 50px;
    font-size: 0.84rem;
}

    .search-input-luxury:focus {
        background-color: var(--bg-elevated);
        color: var(--text-ivory);
        border-color: var(--gold-bright);
        box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.2);
    }

.search-icon-left {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-primary);
    font-size: 0.85rem;
}

/* 5-Slide Hero Carousel */
.hero-carousel-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid var(--border-gold);
    padding: 4.5rem 0 5.2rem;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 77, 60, 0.65);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.hero-showcase-card {
    background: linear-gradient(145deg, rgba(18, 21, 20, 0.92), rgba(7, 56, 43, 0.72));
    border: 1px solid var(--border-gold-strong);
    border-radius: 16px;
    padding: 1.4rem;
    box-shadow: var(--shadow-luxury);
}

.carousel-control-luxury {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(11, 13, 12, 0.82);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    top: 50%;
    transform: translateY(-50%);
}

    .carousel-control-luxury:hover {
        background: var(--gold-primary);
        color: #0B0D0C;
    }

/* Product Cards (4-Col Laptop / 3-Col Mobile) */
.category-section-block {
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.product-card {
    background: linear-gradient(180deg, var(--bg-charcoal) 0%, #0E1311 100%);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .product-card:hover {
        transform: translateY(-6px);
        border-color: var(--gold-bright);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.85);
    }

.product-img-stage {
    position: relative;
    aspect-ratio: 4 / 4;
    overflow: hidden;
    background-color: #080A09;
    cursor: pointer;
}

    .product-img-stage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.product-card:hover .product-img-stage img {
    transform: scale(1.07);
}

.product-badge-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--emerald-gradient);
    color: var(--gold-bright);
    border: 1px solid var(--gold-primary);
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.product-floating-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.action-circle-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(11, 13, 12, 0.85);
    border: 1px solid var(--border-gold);
    color: var(--text-ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

    .action-circle-btn:hover, .action-circle-btn.active {
        background: var(--gold-primary);
        color: #0B0D0C;
    }

@media (max-width: 767.98px) {
    .product-card {
        border-radius: 10px;
    }

    .product-badge-tag {
        top: 6px;
        left: 6px;
        font-size: 0.52rem;
        padding: 2px 5px;
        max-width: calc(100% - 36px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-floating-actions {
        top: 6px;
        right: 6px;
        gap: 4px;
    }

    .action-circle-btn {
        width: 24px;
        height: 24px;
        font-size: 0.68rem;
    }

    .product-card-body {
        padding: 0.45rem !important;
    }

    .product-card-meta {
        font-size: 0.58rem !important;
    }

    .product-card-title {
        font-size: 0.72rem !important;
        line-height: 1.25;
        margin-bottom: 0.35rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-card-desc {
        display: none !important;
    }

    .product-card-footer {
        flex-direction: column;
        align-items: stretch !important;
        gap: 4px;
        padding-top: 0.35rem !important;
    }

    .product-card-price {
        font-size: 0.8rem !important;
        text-align: center;
    }

    .product-card-add-btn {
        width: 100%;
        padding: 0.22rem 0.35rem !important;
        font-size: 0.66rem !important;
    }
}

/* 5-Image Zoom Viewport */
.zoom-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border-gold-strong);
    background-color: #060807;
    cursor: zoom-in;
}

    .zoom-viewport.is-zoomed {
        cursor: zoom-out;
    }

.zoom-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.18s ease-out;
    transform-origin: center center;
}

.zoom-viewport.is-zoomed .zoom-main-image {
    transform: scale(2.35);
}

.zoom-hint-pill {
    position: absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(11, 13, 12, 0.85);
    border: 1px solid var(--border-gold);
    color: var(--gold-bright);
    font-size: 0.75rem;
    padding: 5px 12px;
    border-radius: 50px;
    pointer-events: none;
}

.thumb-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-top: 12px;
}

.thumb-btn {
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.2);
    padding: 0;
    background: #080A09;
    opacity: 0.65;
    transition: all 0.25s ease;
}

    .thumb-btn.active, .thumb-btn:hover {
        opacity: 1;
        border-color: var(--gold-bright);
    }

    .thumb-btn img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Modals & Offcanvas Drawers */
.modal-luxury .modal-content, .offcanvas-luxury {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--border-gold-strong);
    color: var(--text-ivory);
}

.offcanvas-luxury {
    width: 420px !important;
    max-width: 100vw;
}

.share-social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    border-radius: 10px;
    background-color: var(--bg-elevated);
    border: 1px solid var(--border-gold);
    color: var(--text-ivory);
    text-decoration: none;
    font-size: 0.78rem;
}

    .share-social-btn:hover {
        background: var(--emerald-gradient);
        color: var(--gold-bright);
    }
