/* ═══════════════════════════════════════
   HEADER / NAVBAR — CLEAN VERSION
   ═══════════════════════════════════════ */

/* ── Sticky Header ── */
header {
    background: #0c0e12;
    border-bottom: 1px solid rgba(212,175,55,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* ── Logo ── */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img {
    height: 46px;
    transition: height 0.3s ease;
}
header.scrolled .logo img {
    height: 40px;
}
.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1.1;
}
.logo-text span {
    display: block;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.55rem;
    letter-spacing: 2.5px;
}

/* ── Desktop Nav ── */
.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
    margin: 0;
    padding: 0;
}
.desktop-nav a {
    display: block;
    padding: 8px 14px;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.desktop-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}
.desktop-nav li.active a {
    color: var(--gold-primary);
    background: rgba(212,175,55,0.1);
}

/* ── Header Actions ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}
.header-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 6px 8px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border: none;
    background: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}
.header-icon:hover {
    color: var(--gold-primary);
    background: rgba(212,175,55,0.08);
}
.header-icon i {
    font-size: 1.05rem;
}
.icon-label {
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    opacity: 0.8;
}
.logged-dot {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 6px;
    height: 6px;
    background: var(--gold-primary);
    border-radius: 50%;
}
.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    background: var(--gold-gradient);
    color: #000;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ── Mobile Menu Toggle ── */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle:hover span {
    background: var(--gold-primary);
}

/* ── Mobile Nav Panel ── */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background: #0c0e12;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0,0,0,0.5);
}
.mobile-nav.open {
    transform: translateX(0);
}
.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    min-height: 68px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.mobile-nav-logo img {
    height: 36px;
}
.mobile-nav-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-nav-close:hover {
    background: rgba(255,255,255,0.1);
    color: var(--gold-primary);
}
.mobile-nav-links {
    list-style: none;
    padding: 12px;
    flex: 1;
    overflow-y: auto;
}
.mobile-nav-links li {
    margin-bottom: 2px;
}
.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}
.mobile-nav-links a:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}
.mobile-nav-links li.active a {
    background: rgba(212,175,55,0.1);
    color: var(--gold-primary);
    font-weight: 600;
}
.mobile-nav-links a i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}
.mobile-nav-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1900;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
}

/* ── Responsive: Tablet ── */
@media(max-width:900px) {
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    .icon-label { display: none; }
    .header-icon { padding: 8px; }
    .header-icon i { font-size: 1.15rem; }
}

/* ── Responsive: Mobile ── */
@media(max-width:600px) {
    .header-container {
        height: 60px;
        padding: 0 8px;
    }
    .logo img { height: 42px; }
    header.scrolled .logo img { height: 36px; }
    .logo-text { font-size: 0.85rem; }
    .logo-text span { font-size: 0.5rem; }
    .header-icon { padding: 6px 8px; }
    .header-icon i { font-size: 1.15rem; }
    .mobile-nav { width: 260px; }
    .mobile-nav-header { min-height: 60px; }
}
