/* Header Navigation Dropdown Styles */
.header--nav-dropdown {
    position: relative;
}

.header--nav-dropdown .header--nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.header--nav-dropdown .dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.header--nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.header--nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--white-alpha-95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-gold-alpha-20);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--black-alpha-10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    margin-top: 8px;
    overflow: hidden;
}

.header--nav-dropdown:hover .header--nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header--nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white-alpha-95);
    z-index: 1;
}

.header--nav-dropdown-menu .dropdown--header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    color: var(--pure-white);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid var(--accent-gold-alpha-30);
}

.header--nav-dropdown-menu .dropdown--menu {
    padding: 8px 0;
}

.header--nav-dropdown-menu .dropdown--item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--black-alpha-05);
}

.header--nav-dropdown-menu .dropdown--item:last-child {
    border-bottom: none;
}

.header--nav-dropdown-menu .dropdown--item:hover {
    background: linear-gradient(135deg, var(--accent-gold-alpha-10) 0%, var(--cream-alpha-10) 100%);
    color: var(--accent-gold);
    padding-left: 24px;
}

.header--nav-dropdown-menu .dropdown--item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-medium);
    transition: all 0.3s ease;
}

.header--nav-dropdown-menu .dropdown--item:hover i {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* New Menu Styles - Professional Design */
.menu--navbar {
    background: linear-gradient(180deg, var(--pure-white) 0%, var(--bg-light) 100%);
    border-top: 1px solid var(--black-alpha-10);
    border-bottom: 1px solid var(--accent-gold-alpha-20);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 15px var(--black-alpha-04);
    backdrop-filter: blur(10px);
}

/* Categories Button */
.categories--button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-gold);
    color: var(--pure-white);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--accent-gold-alpha-30);
}

.categories--button:hover {
    background: var(--accent-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--accent-gold-alpha-40);
}

.categories--button i {
    font-size: 16px;
}

/* Menu Search */
.menu--search {
    flex: 1;
}

.search--form {
    width: 100%;
}

.search--wrapper {
    position: relative;
    display: flex;
    margin: 0 auto;
    background: var(--pure-white);
    border: 2px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 2px 12px var(--black-alpha-08);
    transition: all 0.3s ease;
}

.search--wrapper:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 20px var(--accent-gold-alpha-20);
}

.search--input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    background: transparent;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.search--input::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

.search--button {
    background: var(--accent-gold);
    border: none;
    padding: 14px 20px;
    color: var(--pure-white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search--button i {
    font-size: 16px;
}

/* Menu Actions */
.menu--actions {
    display: flex;
    justify-content: flex-end;
}

.menu--action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    white-space: nowrap;
    min-height: 65px;
    border: 2px solid var(--accent-gold-alpha-10);
    box-shadow: 0 2px 8px var(--black-alpha-06);
    backdrop-filter: blur(10px);
}

.menu--action-link:hover {
    color: var(--accent-gold);
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--accent-gold-alpha-30);
}

.menu--action-link:hover .menu--action-text, .menu--action-link:hover .menu--action-total {
    color: var(--pure-white);
}

.menu--action-link i {
    font-size: 20px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.menu--action-link:hover i {
    transform: scale(1.1);
    color: var(--pure-white);
}

.menu--action-text {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

/* Badge styling for menu actions */
.menu--action-link .header--badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, var(--error-red) 0%, var(--error-red-dark) 100%);
    color: var(--pure-white);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 12px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px var(--error-alpha-40);
    border: 2px solid var(--pure-white);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Individual action styling */
.menu--action-link[data-tooltip="Favorilerim"] i {
    color: var(--error-red);
}

.menu--action-link[data-tooltip="Sepetim"] i {
    color: var(--success-alt);
}

.menu--action-link[data-tooltip="Hesabım"] i {
    color: var(--info-alt);
}

/* Responsive menu actions */
@media (max-width: 768px) {
    .menu--action-link {
        padding: 8px 10px;
        font-size: 11px;
        gap: 2px;
        min-height: 55px;
        border-radius: 8px;
    }
    
    .menu--action-link i {
        font-size: 16px;
    }
    
    .menu--action-text {
        font-size: 10px;
    }
    
    .menu--action-link .header--badge {
        min-width: 18px;
        height: 18px;
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* Modern glassmorphism for menu actions container */
.menu--actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

/* Header Actions (for Favorilerim/Sepetim/Hesabım in header) */
.header--actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}

/* Quick Support */
.quick--support {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.support--link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--pure-white) 0%, var(--bg-light) 100%);
    border: 2px solid var(--accent-gold-alpha-20);
    border-radius: 12px;
    padding: 10px 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--black-alpha-06);
    backdrop-filter: blur(10px);
}

.support--link:hover {
    color: var(--accent-gold);
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px var(--accent-gold-alpha-30);
    text-decoration: none;
}

.support--link:hover .support--icon i {
    color: var(--pure-white);
    transform: scale(1.1);
}

.support--link:hover .support--label,
.support--link:hover .support--number {
    color: var(--pure-white);
}

.support--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.support--icon i {
    font-size: 16px;
    color: var(--pure-white);
    transition: all 0.3s ease;
}

.support--info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support--label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-medium);
    transition: all 0.3s ease;
}

.support--number {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Responsive adjustments for support */
@media (max-width: 768px) {
    .support--link {
        padding: 8px 12px;
        gap: 8px;
    }
    
    .support--icon {
        width: 30px;
        height: 30px;
    }
    
    .support--icon i {
        font-size: 14px;
    }
    
    .support--label {
        font-size: 10px;
    }
    
    .support--number {
        font-size: 12px;
    }
}

/* Dropdown Menu Styles */
.menu--action-link {
    position: relative;
}

.menu--action-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: var(--white-alpha-95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent-gold-alpha-20);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--black-alpha-10);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    margin-top: 8px;
    overflow: hidden;
}

.menu--action-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu--action-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white-alpha-95);
    z-index: 1;
}

.dropdown--header {
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    color: var(--pure-white);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid var(--accent-gold-alpha-30);
}

.dropdown--menu {
    padding: 8px 0;
}

.dropdown--item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--black-alpha-05);
}

.dropdown--item:last-child {
    border-bottom: none;
}

.dropdown--item:hover {
    background: linear-gradient(135deg, var(--accent-gold-alpha-10) 0%, var(--cream-alpha-10) 100%);
    color: var(--accent-gold);
    padding-left: 24px;
}

.dropdown--item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-medium);
    transition: all 0.3s ease;
}

.dropdown--item:hover i {
    color: var(--accent-gold);
    transform: scale(1.1);
}

.dropdown--item.logout {
    color: var(--error-red);
    border-top: 1px solid var(--black-alpha-10);
    margin-top: 4px;
}

.dropdown--item.logout:hover {
    background: linear-gradient(135deg, var(--error-alpha-10) 0%, var(--error-alpha-05) 100%);
    color: var(--red-dark);
}

.dropdown--item.logout i {
    color: var(--error-red);
}

.dropdown--item.logout:hover i {
    color: var(--red-dark);
}

/* Demo total styling */
.menu--action-total {
    font-size: 10px;
    color: var(--gray-medium);
    font-weight: 500;
    margin-top: 2px;
    line-height: 1;
}

/* Categories Sidebar */
.categories--sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.categories--sidebar.active {
    left: 0;
}

.categories--overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black-alpha-50);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.categories--sidebar.active .categories--overlay {
    opacity: 1;
    visibility: visible;
}

.categories--content {
    background: var(--pure-white);
    height: 100vh;
    max-height: 100vh;
    box-shadow: 8px 0 24px var(--black-alpha-15);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Categories Header */
.categories--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    color: var(--pure-white);
    box-shadow: 0 2px 8px var(--black-alpha-10);
}

.categories--header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories--close {
    background: none;
    border: none;
    color: var(--pure-white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.categories--close:hover {
    background: var(--white-alpha-20);
    transform: rotate(90deg);
}

/* Categories Menu */
.categories--menu {
    padding: 0;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - 80px); /* Subtract header height */
    padding-bottom: 20px;
}

/* Mobile adjustment for categories menu */
@media (max-width: 768px) {
    .categories--menu {
        max-height: calc(100vh - 180px); /* Account for mobile bottom nav and better spacing */
        padding-bottom: 120px; /* More padding for mobile bottom nav */
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        scroll-behavior: smooth; /* Smooth scrolling */
    }
    
    /* Ensure categories container handles overflow properly */
    .categories--content {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden; /* Prevent double scrollbars */
        display: flex;
        flex-direction: column;
    }
}

.category--main-item {
    border-bottom: 1px solid var(--gray-border);
}

.category--main-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.category--main-link:hover {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--accent-gold-alpha-05) 100%);
    color: var(--accent-gold);
    padding-left: 30px;
}

.category--main-link i:first-child {
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--accent-gold);
    transition: all 0.3s ease;
}

.category--main-link:hover i:first-child {
    transform: scale(1.1);
}

.category--expandable {
    cursor: pointer;
}

.category--expandable i.fa-chevron-right {
    margin-left: auto;
    font-size: 12px;
    color: var(--lighter-gray);
    transition: transform 0.3s ease;
}

.category--expandable.active i.fa-chevron-right {
    transform: rotate(90deg);
}

/* Category Badges */
.category--badge {
    margin-left: auto;
    background: var(--accent-gold);
    color: var(--pure-white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category--badge.sale {
    background: var(--error-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Category Submenu */
.category--submenu {
    background: var(--off-white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.category--submenu.active {
    max-height: 500px; /* Increased for more subcategories */
    opacity: 1;
    overflow-y: auto; /* Allow scrolling within submenu if needed */
}

/* Mobile specific submenu improvements */
@media (max-width: 768px) {
    .category--submenu.active {
        max-height: 300px; /* Reduced for mobile to fit better */
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Ensure submenu scrolls smoothly on mobile */
    .category--submenu {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Add padding to account for mobile navigation */
    .categories--menu {
        max-height: calc(100vh - 180px); /* More space for mobile bottom nav and header */
        padding-bottom: 120px; /* Extra padding for mobile bottom navigation */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }
    
    /* Improve scrollbar visibility on mobile */
    .category--submenu::-webkit-scrollbar {
        width: 4px;
    }
    
    .category--submenu::-webkit-scrollbar-track {
        background: var(--gray-border);
    }
    
    .category--submenu::-webkit-scrollbar-thumb {
        background: var(--accent-gold);
        border-radius: 2px;
    }
}

.category--sub-link {
    display: block;
    padding: 12px 24px 12px 60px;
    color: var(--gray-medium);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--lightest-gray);
}

.category--sub-link:last-child {
    border-bottom: none;
}

.category--sub-link:hover {
    color: var(--accent-gold);
    background: var(--pure-white);
    padding-left: 66px;
}

.category--sub-link::before {
    content: '•';
    margin-right: 8px;
    color: var(--accent-gold);
    font-weight: bold;
}

/* Categories Divider */
.categories--divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lightest-gray), transparent);
    margin: 15px 0;
}

/* Scrollbar Styling */
.categories--content::-webkit-scrollbar {
    width: 6px;
}

.categories--content::-webkit-scrollbar-track {
    background: var(--gray-border);
}

.categories--content::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.categories--content::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark-alt);
}

/* Animation for category items */
.category--main-item {
    animation: fadeInLeft 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.category--main-item:nth-child(1) { animation-delay: 0.1s; }
.category--main-item:nth-child(2) { animation-delay: 0.15s; }
.category--main-item:nth-child(3) { animation-delay: 0.2s; }
.category--main-item:nth-child(4) { animation-delay: 0.25s; }
.category--main-item:nth-child(5) { animation-delay: 0.3s; }
.category--main-item:nth-child(6) { animation-delay: 0.35s; }
.category--main-item:nth-child(7) { animation-delay: 0.4s; }
.category--main-item:nth-child(8) { animation-delay: 0.45s; }
.category--main-item:nth-child(9) { animation-delay: 0.5s; }
.category--main-item:nth-child(10) { animation-delay: 0.55s; }

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Special effects for premium items */
.category--main-link:has(.fa-crown) {
    background: linear-gradient(135deg, var(--accent-gold-alpha-05) 0%, var(--accent-gold-alpha-10) 100%);
    border-left: 4px solid var(--accent-gold);
}

/* Mobile Logo for Menu Navbar */
.menu--logo {
    display: none;
}

/* Mobile Responsiveness (minimal since it should not be responsive) */
@media (max-width: 768px) {
    .categories--sidebar {
        width: 320px;
        left: -320px;
    }
    
    .categories--content {
        width: 320px;
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .menu--navbar .row {
        gap: 10px;
    }
    
    /* Show logo in mobile */
    .menu--logo {
        display: block;
        text-align: center;
        padding: 0;
    }
    
    .menu--logo .header--logo-img {
        height: 40px;
        width: auto;
    }
    
    /* Hide quick support in mobile */
    .quick--support {
        display: none !important;
    }
    
    /* Adjust columns for mobile layout */
    .menu--navbar .col-lg-2:first-child {
        flex: 0 0 auto;
        width: auto;
    }
    
    .menu--navbar .col-lg-8 {
        flex: 1;
    }
    
    .menu--navbar .col-lg-2:last-child {
        display: none;
    }
    
    .categories--button {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .search--wrapper {
        max-width: none;
    }
    
    .search--input {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .search--button {
        padding: 12px 16px;
    }
}

/* High-end animations */
.categories--sidebar.active .category--main-item {
    animation-play-state: running;
}

.categories--sidebar:not(.active) .category--main-item {
    animation-play-state: paused;
    opacity: 0;
    transform: translateX(-30px);
}

/* Focus states for accessibility */
.categories--button:focus,
.search--input:focus,
.search--button:focus,
.menu--action-link:focus,
.category--main-link:focus,
.category--sub-link:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Modern glassmorphism effect for sidebar */
.categories--content {
    background: var(--white-alpha-95);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--white-alpha-20);
}

/* Wishlist & Cart Sidebar Styles */
.wishlist--sidebar,
.cart--sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.wishlist--sidebar.active,
.cart--sidebar.active {
    right: 0;
}

.sidebar--overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--black-alpha-50);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.wishlist--sidebar.active .sidebar--overlay,
.cart--sidebar.active .sidebar--overlay {
    opacity: 1;
    visibility: visible;
}

.sidebar--content {
    background: var(--pure-white);
    height: 100%;
    box-shadow: -8px 0 24px var(--black-alpha-15);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

/* Sidebar Header */
.sidebar--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    color: var(--pure-white);
    box-shadow: 0 2px 8px var(--black-alpha-10);
    border-bottom: 1px solid var(--white-alpha-10);
}

.sidebar--header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar--header h3 i {
    font-size: 20px;
}

.sidebar--close {
    background: var(--white-alpha-20);
    border: none;
    color: var(--pure-white);
    font-size: 18px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar--close:hover {
    background: var(--white-alpha-30);
    transform: rotate(90deg);
}

/* Sidebar Body */
.sidebar--body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

/* Wishlist & Cart Items */
.wishlist--items,
.cart--items {
    padding: 0 24px;
}

.wishlist--item,
.cart--item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

.wishlist--item:hover,
.cart--item:hover {
    background: linear-gradient(135deg, var(--accent-gold-alpha-05) 0%, var(--cream-alpha-05) 100%);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 -10px;
}

.wishlist--item:last-child,
.cart--item:last-child {
    border-bottom: none;
}

.item--image {
    width: 80px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--black-alpha-10);
}

.item--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist--item:hover .item--image img,
.cart--item:hover .item--image img {
    transform: scale(1.05);
}

.item--details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item--name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}
.item--variants {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.item--price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-gold);
}

.item--actions {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.item--actions .btn {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.item--actions .btn-primary {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--cream-light) 100%);
    border: none;
    color: var(--pure-white);
}

.item--actions .btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-dark-alt) 0%, var(--cream-medium) 100%);
    transform: translateY(-1px);
}

.item--actions .btn-outline-danger {
    border: 1px solid var(--error-red);
    color: var(--error-red);
    background: transparent;
}

.item--actions .btn-outline-danger:hover {
    background: var(--error-red);
    color: var(--pure-white);
    transform: translateY(-1px);
}

/* Cart Specific Styles */
.item--quantity {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid var(--gray-light-alt);
    background: var(--off-white);
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--pure-white);
    transform: scale(1.1);
}

.quantity {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 20px;
    text-align: center;
}

.cart--item .item--actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

/* Empty State */
.wishlist--empty,
.cart--empty {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-medium);
}

.empty--icon {
    font-size: 64px;
    color: var(--gray-light-alt);
    margin-bottom: 20px;
}

.wishlist--empty h4,
.cart--empty h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.wishlist--empty p,
.cart--empty p {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.5;
}

/* Sidebar Footer */
.sidebar--footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gray-border);
    background: var(--off-white);
}

.continue-shopping {
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    background: transparent;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.continue-shopping:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--pure-white);
}

/* Cart Summary */
.cart--summary {
    background: var(--pure-white);
    border: 1px solid var(--lightest-gray);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.summary--row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-border);
    font-size: 14px;
}

.summary--row:last-child {
    border-bottom: none;
}

.summary--row.total {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-primary);
    border-top: 2px solid var(--accent-gold);
    margin-top: 10px;
    padding-top: 15px;
}

.summary--row .price {
    font-weight: 600;
    color: var(--accent-gold);
}

.summary--row.total .price {
    color: var(--text-primary);
    font-size: 18px;
}

.sidebar--footer .btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 6px;
}

.sidebar--footer .btn-success {
    background: linear-gradient(135deg, var(--green-success) 0%, var(--green-success-light) 100%);
    border: none;
}

/* Scrollbar Styling */
.sidebar--body::-webkit-scrollbar {
    width: 6px;
}

.sidebar--body::-webkit-scrollbar-track {
    background: var(--gray-border);
}

.sidebar--body::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 3px;
}

.sidebar--body::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark-alt);
}

/* Animation for items */
.wishlist--item,
.cart--item {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .wishlist--sidebar,
    .cart--sidebar {
        width: 90vw;
        right: -100vw;
    }
    
    .sidebar--header {
        padding: 15px 20px;
    }
    
    .sidebar--header h3 {
        font-size: 16px;
    }
    
    .wishlist--items,
    .cart--items {
        padding: 0 20px;
    }
    
    .sidebar--footer {
        padding: 15px 20px;
    }
    
    .item--image {
        width: 60px;
        height: 75px;
    }
    
    .item--name {
        font-size: 13px;
    }
    
    .item--price {
        font-size: 14px;
    }
    
    .item--actions .btn {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .cart--summary {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .sidebar--header h3 {
        font-size: 15px;
    }
    
    .item--details {
        gap: 6px;
    }
    
    .item--name {
        font-size: 12px;
        line-height: 1.2;
    }
    
    .item--price {
        font-size: 13px;
    }
    
    .quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .summary--row {
        font-size: 13px;
        padding: 8px 0;
    }
    
    .summary--row.total {
        font-size: 14px;
    }
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white-alpha-95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--accent-gold-alpha-20);
    box-shadow: 0 -4px 20px var(--black-alpha-10);
    padding: 2px 0 calc(8px + env(safe-area-inset-bottom));
    display: none;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 8px;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--gray-medium);
    transition: all 0.3s ease;
    padding: 6px 8px;
    border-radius: 10px;
    min-width: 50px;
    position: relative;
    flex: 1;
    max-width: 70px;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
    color: var(--accent-gold);
    background: var(--accent-gold-alpha-10);
    text-decoration: none;
    transform: translateY(-2px);
}

.mobile-nav-icon {
    position: relative;
    margin-bottom: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent-gold);
    transition: all 0.3s ease;
}

.mobile-nav-item:hover .mobile-nav-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--cream-light));
    transform: scale(1.1);
}

.mobile-nav-item:hover .mobile-nav-icon i {
    color: var(--pure-white);
}

.mobile-nav-icon i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-nav-text {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    line-height: 1;
    text-align: center;
}

.mobile-nav-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, var(--error-red), var(--red-dark));
    color: var(--pure-white);
    font-size: 9px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 6px var(--error-alpha-40);
    border: 1px solid var(--pure-white);
    animation: mobileBadgePulse 2s ease-in-out infinite;
}

@keyframes mobileBadgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Cart Item - Larger and Special Styling */
.mobile-nav-cart {
    flex: 1.2;
    max-width: 85px;
    background: linear-gradient(135deg, var(--accent-gold-alpha-05), var(--cream-alpha-05));
    border: 1px solid var(--accent-gold-alpha-20);
    border-radius: 12px;
    padding: 8px 6px;
    margin: 0 4px;
    position: relative;
    overflow: hidden;
}

.mobile-nav-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-gold-alpha-10), var(--cream-alpha-10));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.mobile-nav-cart:hover::before {
    opacity: 1;
}

.mobile-nav-cart:hover {
    background: linear-gradient(135deg, var(--accent-gold), var(--cream-light));
    border-color: var(--accent-gold);
    color: var(--pure-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--accent-gold-alpha-30);
}

.mobile-nav-cart-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-gold);
    margin-bottom: 4px;
}

.mobile-nav-cart-icon i {
    font-size: 16px;
    color: var(--pure-white);
}

.mobile-nav-cart:hover .mobile-nav-cart-icon {
    background: var(--white-alpha-20);
    transform: scale(1.05);
}

.mobile-nav-cart .mobile-nav-text {
    font-size: 9px;
    margin-bottom: 1px;
}

.mobile-nav-price {
    font-size: 8px;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
    text-align: center;
}

.mobile-nav-cart:hover .mobile-nav-price {
    color: var(--pure-white);
}

.mobile-nav-cart-badge {
    background: linear-gradient(135deg, var(--green-success), var(--green-success-light));
    top: -6px;
    right: -6px;
    font-size: 10px;
    padding: 3px 7px;
    min-width: 18px;
    height: 18px;
    box-shadow: 0 2px 8px var(--green-success-alpha-40);
}

/* Show only on mobile devices */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-container {
        padding: 0 4px;
    }
    .category--main-link{
        padding:10px;
    }
    
    .mobile-nav-item {
        padding: 5px 6px;
        min-width: 45px;
        max-width: 60px;
    }
    
    .mobile-nav-icon {
        width: 26px;
        height: 26px;
    }
    
    .mobile-nav-icon i {
        font-size: 12px;
        color: var(--pure-white);
    }
    
    .mobile-nav-text {
        font-size: 8px;
        color: black;
    }
    
    .mobile-nav-cart {
        max-width: 75px;
        padding: 6px 4px;
        margin: 0 2px;
    }
    
    .mobile-nav-cart-icon {
        width: 28px;
        height: 28px;
    }
    
    .mobile-nav-cart-icon i {
        font-size: 14px;
    }
    
    .mobile-nav-cart .mobile-nav-text {
        font-size: 8px;
    }
    
    .mobile-nav-price {
        font-size: 7px;
    }
    
    .mobile-nav-badge {
        font-size: 7px;
        padding: 2px 4px;
        min-width: 12px;
        height: 12px;
    }
    
    .mobile-nav-cart-badge {
        font-size: 8px;
        padding: 2px 5px;
        min-width: 14px;
        height: 14px;
    }
}

/* Animation for mobile nav items */
.mobile-nav-item {
    animation: mobileNavSlideUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-item:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-item:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-item:nth-child(5) { animation-delay: 0.3s; }

@keyframes mobileNavSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Special effects for active states */
.mobile-nav-item.active {
    color: var(--accent-gold);
    background: var(--accent-gold-alpha-15);
}

.mobile-nav-item.active .mobile-nav-icon {
    background: linear-gradient(135deg, var(--accent-gold), var(--cream-light));
    transform: scale(1.1);
}

.mobile-nav-item.active .mobile-nav-icon i {
    color: var(--pure-white);
}

/* Accessibility improvements */
.mobile-nav-item:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Safe area support for devices with notches */
@supports (padding: max(0px)) {
    .mobile-bottom-nav {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .mobile-bottom-nav {
        background: var(--pure-white);
        border-top: 2px solid var(--primary-black);
    }
    
    .mobile-nav-item {
        color: var(--primary-black);
    }
    
    .mobile-nav-icon {
        background: var(--lightest-gray);
        border: 1px solid var(--primary-black);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-item,
    .mobile-nav-icon,
    .mobile-nav-badge {
        animation: none;
        transition: none;
    }
    
    .mobile-nav-item:hover {
        transform: none;
    }
    
    .mobile-nav-cart:hover {
        transform: none;
    }
}
