/* Mara by SDVEN - Main Styles */

:root {
    --bg-primary: #EFECE3;
    --bg-secondary: #8FABD4;
    --primary-color: #4A70A9;
    --text-primary: #000000;
    --text-secondary: #4A70A9;
    --card-bg: #FFFFFF;
    --border-color: #8FABD4;
    --hover-color: #4A70A9;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --warning-color: #ed8936;
    
    /* Banner Colors */
    --banner-announcement: #3b82f6;
    --banner-deal: #dc2626;
    --banner-new-school: #8b5cf6;
    --banner-info: #0891b2;
    --banner-warning: #f59e0b;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d3748;
    --primary-color: #8FABD4;
    --text-primary: #EFECE3;
    --text-secondary: #8FABD4;
    --card-bg: #2d3748;
    --border-color: #4A70A9;
    --hover-color: #8FABD4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Site Banners */
#banner-container {
    position: relative;
    z-index: 1001;
}

.site-banner {
    padding: 12px 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    animation: slideDown 0.3s ease-out;
}
a{
    text-decoration: none;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
        max-height: 100px;
    }
    to {
        opacity: 0;
        transform: translateY(-100%);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.banner-message {
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.banner-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.banner-link:hover {
    opacity: 0.8;
}

.banner-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
    flex-shrink: 0;
}

.banner-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Banner Type Styles */
.banner-announcement {
    background: linear-gradient(135deg, var(--banner-announcement) 0%, #2563eb 100%);
}

.banner-deal {
    background: linear-gradient(135deg, var(--banner-deal) 0%, #b91c1c 100%);
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(220, 38, 38, 0); }
    50% { box-shadow: 0 0 20px rgba(220, 38, 38, 0.3); }
}

.banner-new-school {
    background: linear-gradient(135deg, var(--banner-new-school) 0%, #7c3aed 100%);
}

.banner-info {
    background: linear-gradient(135deg, var(--banner-info) 0%, #0e7490 100%);
}

.banner-warning {
    background: linear-gradient(135deg, var(--banner-warning) 0%, #d97706 100%);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-banner {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .banner-content {
        gap: 8px;
    }
    
    .banner-message {
        font-size: 12px;
        min-width: 150px;
    }
    
    .banner-icon {
        font-size: 16px;
    }
}

/* Navigation */
.navbar {
    background: var(--card-bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: bold;
}

.logo img {
    height: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle .fa-chevron-down {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle .fa-chevron-down,
.dropdown.active .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background: var(--hover-bg);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-menu li a i {
    width: 18px;
    font-size: 0.9rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

/* Cart Icon Badge */
.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.theme-toggle:hover {
    background: var(--hover-color);
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.btn {
    background: linear-gradient(45deg, #18181B, #27272A);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: .3s;
    box-shadow: 0 3px 10px rgba(0,0,0,.1);
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.1), transparent);
    transition: .5s;
}

.btn:hover {
    background: linear-gradient(45deg, #27272A, #3F3F46);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

.btn:hover:before {
    left: 100%;
}

.icon {
    transition: transform .3s;
}

.btn:hover .icon {
    transform: rotate(-10deg) scale(1.1);
}

.btn-primary {
    background: linear-gradient(45deg, #18181B, #27272A);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #27272A, #3F3F46);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-secondary) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Cards */
.card {
    width: 100%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    transition: .3s;
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.card-badge-top {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(to right, rgba(169,3,41,1) 0%, rgba(196,72,72,1) 44%, rgba(170,34,56,1) 100%);
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.2);
    z-index: 10;
}

.tilt {
    overflow: hidden;
}

.card-img-wrapper {
    height: 150px;
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.card:hover .card-img {
    transform: scale(1.05);
}

.card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #71717A;
    margin-bottom: 5px;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    color: #18181B;
    margin: 0 0 8px;
    letter-spacing: -.5px;
    line-height: 1.3;
}

.card-text {
    font-size: 12px;
    color: #52525B;
    line-height: 1.35;
    margin-bottom: 8px;
}

.card-meta {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
}

.card-meta-item {
    font-size: 10px;
    background: #F4F4F5;
    color: #71717A;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 500;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 2rem 0;
}

.product-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.product-card-price-wrapper {
    display: flex;
    flex-direction: column;
}

.product-card .price {
    font-size: 17px;
    font-weight: 700;
    color: #18181B;
}

.product-card .old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #A1A1AA;
    margin-bottom: 2px;
}

.product-card-actions {
    display: flex;
    gap: 6px;
    margin-top: 0;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
}

.badge-digital {
    background: #bee3f8;
    color: #2c5282;
}

.badge-physical {
    background: #c6f6d5;
    color: #22543d;
}

.card-bottom-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F4F4F5;
    padding-top: 8px;
    margin-top: 8px;
}

.card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}

.card-rating-count {
    margin-left: 6px;
    font-size: 11px;
    color: #71717A;
}

.card-stock {
    font-size: 11px;
    font-weight: 600;
    color: #22C55E;
}

.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 112, 169, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-error {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: #fed7d7;
    color: #742a2a;
    border-left: 4px solid var(--danger-color);
}

.alert-info {
    background: #bee3f8;
    color: #2c5282;
    border-left: 4px solid var(--primary-color);
}

[data-theme="dark"] .alert-info {
    background: rgba(143, 171, 212, 0.2);
    color: var(--text-primary);
}

.alert-warning {
    background: #feebc8;
    color: #7c2d12;
    border-left: 4px solid var(--warning-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    margin-bottom: 1rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: left 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f7fafc;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.5rem 1rem;
    }
    
    .cart-icon {
        display: inline-block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
        gap: 10px;
    }
    
    .card-img-wrapper {
        height: 120px;
    }
    
    .card-body {
        padding: 10px;
    }
    
    .card-title {
        font-size: 13px;
    }
    
    .product-card .price {
        font-size: 15px;
    }
    
    .card-text {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .grid-2col {
        grid-template-columns: 1fr;
    }
}

/* Tablet Breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 14px;
    }
    
    .card-img-wrapper {
        height: 140px;
    }
    
    .card-body {
        padding: 11px 13px;
    }
}

/* Shopping Cart Badge */
.cart-badge {
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    position: absolute;
    top: -8px;
    right: -8px;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

/* Product Detail */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail {
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-color);
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-images {
        position: static;
    }
}

/* Table */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--light-bg);
    font-weight: 600;
}

.table tr:hover {
    background: var(--light-bg);
}

/* Dashboard */
.dashboard {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.sidebar {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 80px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 0.5rem;
}

.sidebar-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--dark-text);
    border-radius: 6px;
    transition: background 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: var(--light-bg);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid var(--secondary-color);
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Dark Theme Specific Adjustments */
[data-theme="dark"] .badge-digital {
    background: rgba(143, 171, 212, 0.3);
    color: var(--text-primary);
}

[data-theme="dark"] .badge-physical {
    background: rgba(72, 187, 120, 0.3);
    color: #c6f6d5;
}

[data-theme="dark"] .alert-success {
    background: rgba(72, 187, 120, 0.2);
    color: #c6f6d5;
}

[data-theme="dark"] .alert-danger {
    background: rgba(245, 101, 101, 0.2);
    color: #fed7d7;
}

[data-theme="dark"] .alert-warning {
    background: rgba(237, 137, 54, 0.2);
    color: #feebc8;
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #4A70A9 0%, #2d3748 100%);
}

[data-theme="dark"] select.form-control {
    background-color: var(--card-bg);
    color: var(--text-primary);
}

[data-theme="dark"] input[type="file"] {
    color: var(--text-primary);
}

/* Mobile Responsive Styles */
@media (max-width: 1137px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--card-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        gap: 0;
        padding: 1rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 0.5rem 1rem;
    }
    
    .theme-toggle {
        margin: 0 auto;
    }
    
    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0;
        transform: none;
        background: rgba(0, 0, 0, 0.03);
        border-radius: 0;
    }
    
    [data-theme="dark"] .dropdown-menu {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .dropdown:hover .dropdown-menu {
        opacity: 0;
        visibility: hidden;
    }
    
    .dropdown.active .dropdown-menu {
        opacity: 1;
        visibility: visible;
    }
    
    .dropdown-menu li {
        border-bottom: none;
        padding: 0;
    }
    
    .dropdown-menu li a {
        padding: 0.6rem 2rem;
        font-size: 0.95rem;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 2.25rem;
    }
    
    .cart-badge {
        top: -5px;
        right: -5px;
    }
}

/* Dark mode mobile menu improvements */
[data-theme="dark"] .nav-menu {
    background-color: var(--card-bg);
    /* border-top: 1px solid var(--border-color); */
}

[data-theme="dark"] .nav-menu li {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .mobile-menu-toggle span {
    background: var(--text-primary);
}
