:root {
    --jd-black: #070707;
    --jd-black-soft: #11100f;
    --jd-gold: #c8a06a;
    --jd-gold-light: #dfbf96;
    --jd-cream: #f4eadf;
    --jd-muted: #b8aaa0;
    --jd-border: rgba(200, 160, 106, 0.24);
}

.jd-luxe-header {
    width: 100%;
    background: var(--jd-black);
    color: var(--jd-gold-light);
    position: sticky;
    top: 0;
    z-index: 9999;
    font-family: Arial, Helvetica, sans-serif;
}

.jd-top-announcement {
    height: 34px;
    background: var(--jd-gold);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.jd-top-announcement p {
    margin: 0;
    font-size: 12px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    font-weight: 700;
}

.jd-header-main {
    background: rgba(7, 7, 7, 0.96);
    border-bottom: 1px solid var(--jd-border);
}

.jd-header-inner {
    width: min(1480px, 94%);
    margin: 0 auto;
    min-height: 92px;
    display: grid;
    grid-template-columns: 230px 1fr auto;
    align-items: center;
    gap: 40px;
}

.jd-header-logo a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.jd-header-logo img {
    width: 160px;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Desktop Nav */
.jd-desktop-nav {
    display: flex;
    justify-content: center;
}

.jd-desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 44px;
}

.jd-desktop-nav li {
    position: relative;
}

.jd-desktop-nav > ul > li > a {
    color: var(--jd-gold-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.3px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 38px 0;
    transition: 0.25s ease;
}

.jd-desktop-nav > ul > li > a:hover {
    color: var(--jd-cream);
}

/* Icons */
.jd-header-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}

.jd-header-icons button,
.jd-header-icons a {
    background: transparent;
    border: none;
    padding: 0;
    color: var(--jd-gold-light);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    transition: 0.25s ease;
}

.jd-header-icons button:hover,
.jd-header-icons a:hover {
    color: var(--jd-cream);
}

.jd-header-icons svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.jd-cart-count {
    position: absolute;
    top: -9px;
    right: -12px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--jd-gold);
    color: #111;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown */
.jd-has-dropdown {
    position: static !important;
}

.jd-shop-dropdown {
    position: absolute;
    left: 50%;
    top: 126px;
    transform: translateX(-50%) translateY(14px);
    width: min(1280px, 92vw);
    background: rgba(9, 9, 8, 0.98);
    border: 1px solid var(--jd-border);
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s ease;
}

.jd-has-dropdown:hover .jd-shop-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.jd-dropdown-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1.6fr;
    min-height: 360px;
}

.jd-dropdown-column {
    padding: 54px 48px;
    border-right: 1px solid rgba(200, 160, 106, 0.16);
}

.jd-dropdown-column h4 {
    margin: 0 0 28px;
    color: var(--jd-gold-light);
    text-transform: uppercase;
    letter-spacing: 2.3px;
    font-size: 13px;
    font-weight: 500;
}

.jd-dropdown-column a {
    display: block;
    color: var(--jd-muted);
    text-decoration: none;
    margin-bottom: 19px;
    font-size: 15px;
    transition: 0.2s ease;
}

.jd-dropdown-column a:hover {
    color: var(--jd-gold-light);
    transform: translateX(4px);
}

.jd-dropdown-main-links a {
    text-transform: uppercase;
    letter-spacing: 1.9px;
    color: var(--jd-gold-light);
    font-size: 14px;
}

.jd-dropdown-promo {
    padding: 54px;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.35), rgba(0,0,0,0.78)),
        #0d0d0c;
    display: flex;
    align-items: center;
}

.jd-dropdown-promo span {
    color: var(--jd-gold);
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 12px;
}

.jd-dropdown-promo h3 {
    color: var(--jd-gold-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 400;
    max-width: 380px;
    margin: 18px 0 30px;
}

.jd-dropdown-promo a {
    display: inline-flex;
    background: var(--jd-gold-light);
    color: #111;
    text-decoration: none;
    padding: 15px 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
}

.jd-dropdown-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(200, 160, 106, 0.16);
}

.jd-dropdown-benefits div {
    padding: 24px 30px;
    border-right: 1px solid rgba(200, 160, 106, 0.16);
}

.jd-dropdown-benefits strong {
    display: block;
    color: var(--jd-gold-light);
    text-transform: uppercase;
    letter-spacing: 1.7px;
    font-size: 12px;
    margin-bottom: 7px;
}

.jd-dropdown-benefits p {
    margin: 0;
    color: var(--jd-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Search Panel */
.jd-search-panel {
    display: none;
    background: #f4eadf;
    padding: 22px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.jd-search-panel.active {
    display: block;
}

.jd-search-panel form {
    width: min(900px, 94%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.jd-search-panel input[type="search"] {
    height: 52px;
    border: 1px solid #d7c3ae;
    background: #fff;
    color: #111;
    padding: 0 18px;
    font-size: 15px;
    outline: none;
}

.jd-search-panel button {
    border: 0;
    background: var(--jd-black);
    color: var(--jd-gold-light);
    padding: 0 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
}

/* Mobile Toggle */
.jd-mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    padding: 0;
    cursor: pointer;
}

.jd-mobile-toggle span {
    display: block;
    height: 1px;
    background: var(--jd-gold-light);
    margin: 7px 0;
}

/* Mobile Drawer */
.jd-mobile-drawer {
    position: fixed;
    top: 0;
    left: -360px;
    width: min(340px, 88vw);
    height: 100vh;
    background: var(--jd-black);
    color: var(--jd-gold-light);
    z-index: 10001;
    transition: 0.3s ease;
    border-right: 1px solid var(--jd-border);
}

.jd-mobile-drawer.active {
    left: 0;
}

.jd-mobile-drawer-head {
    height: 74px;
    border-bottom: 1px solid var(--jd-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.jd-mobile-close {
    background: transparent;
    border: 0;
    color: var(--jd-gold-light);
    font-size: 34px;
    cursor: pointer;
}

.jd-mobile-nav {
    padding: 24px;
    display: grid;
}

.jd-mobile-nav a {
    color: var(--jd-gold-light);
    text-decoration: none;
    padding: 18px 0;
    border-bottom: 1px solid rgba(200, 160, 106, 0.16);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
}

.jd-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.68);
    z-index: 10000;
    display: none;
}

.jd-mobile-overlay.active {
    display: block;
}

/* Responsive */
@media (max-width: 1180px) {
    .jd-header-inner {
        grid-template-columns: auto 1fr auto;
        min-height: 78px;
    }

    .jd-mobile-toggle {
        display: block;
    }

    .jd-desktop-nav {
        display: none;
    }

    .jd-header-logo {
        text-align: center;
    }

    .jd-header-logo a {
        justify-content: center;
    }

    .jd-header-logo img {
        width: 138px;
    }

    .jd-header-icons a[href="/my-account"] {
        display: none;
    }
}

@media (max-width: 767px) {
    .jd-top-announcement {
        height: 30px;
        padding: 0 12px;
    }

    .jd-top-announcement p {
        font-size: 9.5px;
        letter-spacing: 1.2px;
    }

    .jd-header-inner {
        width: 92%;
        min-height: 68px;
        gap: 14px;
    }

    .jd-header-logo img {
        width: 112px;
    }

    .jd-header-icons {
        gap: 14px;
    }

    .jd-header-icons svg {
        width: 21px;
        height: 21px;
    }

    .jd-search-panel form {
        grid-template-columns: 1fr;
    }

    .jd-search-panel button {
        height: 48px;
    }
}