:root {
    --white: #ffffff;
    --black: #1a1a1a;
    --gold: #D4AF37;
    --background-dark: #1f1f1f;
    --blue: #1976d2;
    --light-blue: #42a5f5;
}

.navbar {
    background-color: var(--blue) !important;
    backdrop-filter: blur(17px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--background-dark);
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-link {
    text-decoration: none;
    outline: none !important;
}

.gold-text {
    color: var(--gold);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links li a {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    outline: none !important;
}

.nav-links li a:hover {
    color: var(--gold);
}

.nav-links li a:focus {
    outline: none !important;
    box-shadow: none !important;
}

.login-button {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    outline: none !important;
}

.login-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.mobile-menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.bar.open:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
    background-color: var(--white);
}

.bar.open:nth-child(2) {
    opacity: 0;
}

.bar.open:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
    background-color: var(--white);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Reduced gap */
}

.cart-icon, .user-icon {
    font-size: 1.7rem !important;
    color: var(--gold);
    cursor: pointer;
    transition: transform 0.2s;
    outline: none !important;
    position: relative;
}

.cart-icon:hover, .user-icon:hover {
    transform: scale(1.2);
}

.cart-icon:focus, .user-icon:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Cart badge styling - Same as footer */
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    background: var(--blue);
    color: var(--gold);
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue);
    line-height: 1;
}

.user-menu {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 40px;
    right: 0;
    background-color: var(--background-dark);
    color: var(--white);
    border: 1px solid var(--gold);
    border-radius: 8px;
    padding: 8px 0; /* Reduced padding */
    list-style: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    padding: 8px 20px; /* Reduced padding */
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
}

.dropdown li:hover {
    background-color: var(--gold);
    color: #000;
}

.dropdown li a {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    outline: none !important;
}

.dropdown li a:hover {
    color: #000;
}

.dropdown li a:focus {
    outline: none !important;
    box-shadow: none !important;
}

.dropdown li i {
    width: 20px;
    text-align: center;
    color: var(--gold); /* Gold icons */
}

/* Mobile Sidebar Overlay */
.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile User Menu - Updated for consistent design */
.mobile-user-menu {
    display: none;
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-login-button {
    width: 100%;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-weight: 500;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    outline: none !important;
    font-size: 1rem;
    margin: 5px 0;
}

.mobile-login-button:hover {
    background-color: var(--gold);
    color: #000;
    transform: scale(1.02);
}

.mobile-user-actions {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-user-actions li {
    margin: 3px 0;
    width: 100%;
}

.mobile-user-actions li a {
    color: var(--white); /* White text */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px; /* Consistent padding */
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 100%;
    border-radius: 8px; /* Consistent border radius */
    border: 1px solid transparent; /* Consistent border */
}

.mobile-user-actions li a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    border-color: var(--gold); /* Gold border on hover */
}

/* Gold icons in mobile sidebar */
.mobile-user-actions li i {
    width: 20px;
    text-align: center;
    color: var(--gold); /* Gold icons */
    font-size: 1.1rem;
}

/* Make logout button same as login button in mobile */
.mobile-user-actions li:last-child a {
    background-color: transparent;
    border: 1px solid var(--gold) !important;
    color: var(--gold) !important;
    font-weight: 500;
    border-radius: 25px !important;
    justify-content: center;
    margin-top: 8px;
    padding: 10px 20px !important;
}

.mobile-user-actions li:last-child a:hover {
    background-color: var(--gold) !important;
    color: #000 !important;
    transform: scale(1.02);
}

/* Remove all focus outlines */
.navbar *:focus {
    outline: none !important;
    box-shadow: none !important;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--background-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        transition: right 0.3s ease;
        z-index: 1000;
        margin: 0;
        padding-top: 80px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-links li {
        margin: 3px 0; /* Reduced margin */
        width: 100%;
        padding: 0 20px;
    }
    
    .nav-links li a {
        color: var(--white);
        font-size: 1rem;
        padding: 10px 0;
        display: block;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .login-button {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    /* Show mobile user menu in sidebar */
    .mobile-user-menu {
        display: block;
    }
    
    /* Reduce gap between sidebar items */
    .mobile-user-actions li {
        margin: 2px 0; /* Reduced gap */
    }
}

/* Ensure Font Awesome icons are loaded properly */
.fa-solid, .fas {
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900;
}
/* Cart badge styling for navbar - Same as footer */
.cart-icon-nav {
    position: relative;
}

.cart-count-nav {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    background:#ffffff;
    color: var(--gold);
    border-radius: 50%;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--blue);
    line-height: 1;
}
.site-header{
    margin-bottom: 0px !important;
}
/* Push all content below fixed navbar */
body {
    padding-top: 65px; /* set this equal to your navbar height */
}

/* Mobile adjustment if navbar is smaller */
@media (max-width: 768px) {
    body {
        padding-top: 48px !important;
    }
}
@media (max-width: 991px) {
    #secondary.shop-widget .widget {
        margin-top: 50px !important;
    }
}
.product-page-container{
    padding-top: 53px;
}
