html, body {
    font-size: 22px !important;
}

.auth-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 2.5rem;
    align-items: stretch;
    background: linear-gradient(135deg, rgba(255, 153, 0, 0.12), rgba(35, 47, 62, 0.1)), var(--surface-strong);
    border-radius: 2rem;
    padding: clamp(2rem, 6vw, 3.5rem);
    border: 1px solid var(--border);
    box-shadow: 0 28px 52px rgba(17, 24, 39, 0.08);
    margin-top: 3rem;
}

.auth-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: clamp(2rem, 6vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid rgba(209, 213, 219, 0.6);
    box-shadow: 0 22px 40px rgba(17, 24, 39, 0.08);
}

.auth-card-header h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    color: var(--secondary);
}

.auth-card-header p {
    margin: 0.5rem 0 0;
    color: var(--muted);
    font-size: 0.98rem;
}

.auth-alert {
    padding: 0.85rem 1.15rem;
    border-radius: 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-alert-error {
    color: var(--danger);
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.auth-form-grid {
    display: grid;
    gap: 1.15rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--secondary);
}

.auth-field span {
    font-size: 0.92rem;
}

.auth-field input {
    border-radius: 0.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(209, 213, 219, 0.75);
    background: rgba(249, 250, 251, 0.85);
}

.auth-field input:focus {
    border-color: rgba(255, 153, 0, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.18);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.auth-footer {
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary-dark);
    font-weight: 600;
}

.auth-side {
    background: linear-gradient(150deg, rgba(35, 47, 62, 0.95) 0%, rgba(35, 47, 62, 0.82) 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.auth-side h2 {
    margin: 0;
    font-size: 1.35rem;
}

.auth-side ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.auth-side li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.auth-side li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .auth-hero {
        grid-template-columns: 1fr;
        padding: 2.5rem;
    }

    .auth-side {
        order: -1;
        align-items: center;
        text-align: center;
    }

    .auth-side ul {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .auth-hero {
        padding: 2rem;
        border-radius: 1.5rem;
    }

    .auth-card {
        padding: 1.75rem;
    }
}

/* =========================================
   Corals-Style Auth Pages
   ========================================= */

.auth-page {
    margin: 0;
    padding: 2rem;
    min-height: 100vh;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 100%;
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Left Side - Form */
.auth-form-side {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    text-decoration: none;
    margin-bottom: 2.5rem;
}

.auth-logo svg {
    color: #1f2937;
}

.auth-header-modern {
    margin-bottom: 2rem;
}

.auth-header-modern h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.auth-header-modern p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

/* Google Login Button */
.btn-google-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-google-login:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.auth-divider span {
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Error Message */
.auth-error-modern {
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.5rem;
    color: #dc2626;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Form Modern */
.auth-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.form-group-modern input {
    padding: 0.875rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.2s ease;
}

.form-group-modern input::placeholder {
    color: #9ca3af;
}

.form-group-modern input:focus {
    outline: none;
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.1);
}

/* Checkbox */
.auth-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #1f2937;
    flex-shrink: 0;
    margin-top: 2px;
}

.auth-checkbox span {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

/* Submit Button */
.btn-auth-submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #1f2937;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-auth-submit:hover {
    background: #111827;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.25);
}

/* Switch Link */
.auth-switch-link {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.auth-switch-link a {
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-switch-link a:hover {
    color: #111827;
}

/* Right Side - Image */
.auth-image-side {
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.auth-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.auth-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.auth-image-content {
    color: white;
    max-width: 400px;
}

.auth-image-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

.auth-image-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.auth-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: white;
}

.auth-badge svg {
    flex-shrink: 0;
}

/* Responsive Auth */
@media (max-width: 992px) {
    .auth-split-container {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    
    .auth-image-side {
        display: none;
    }
    
    .auth-page {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .auth-form-side {
        padding: 2rem 1.5rem;
    }
    
    .auth-header-modern h1 {
        font-size: 1.5rem;
    }
}

:root {
    --primary: #ff9900;
    --primary-dark: #e47911;
    --secondary: #232f3e;
    --accent: #febd69;
    --success: #16a34a;
    --danger: #dc2626;
    --text: #111827;
    --muted: #4b5563;
    --border: rgba(209, 213, 219, 0.6);
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --glass: rgba(17, 24, 39, 0.04);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #37475a 100%);
    font-size: 16px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: linear-gradient(160deg, #f9fafb 0%, #eef1f5 55%, #f9fafb 100%);
    min-height: 100vh;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1f2937;
}

.container {
    width: min(1400px, 94vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* Dark mode support */
.site-header.dark {
    background: #1a1a2e;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 0;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(31, 41, 55, 0.4);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}

.site-header.dark .logo-text {
    color: #ffffff;
}

/* Main Navigation (desktop layout) */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

/* Nav Links - Horizontal by default */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Hide nav icons on desktop */
.nav-icon {
    display: none;
}

/* Desktop/Mobile visibility utilities */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex;
}

/* Hide mobile drawer-only blocks on desktop */
.mobile-nav-header,
.mobile-user-info,
.mobile-nav-actions,
.nav-section-label {
    display: none;
}

/* Hide mobile-only links on desktop */
.nav-link.mobile-only {
    display: none;
}

.main-nav a,
.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #4a5568;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-header.dark .main-nav a,
.site-header.dark .nav-link {
    color: #a0aec0;
}

.main-nav a:hover,
.nav-link:hover {
    color: #1a1a2e;
    background: #f7f7f8;
}

.site-header.dark .main-nav a:hover,
.site-header.dark .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.main-nav a.active,
.nav-link.active {
    color: #1f2937;
    background: rgba(31, 41, 55, 0.08);
}

.main-nav a.active::after,
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #1f2937;
    border-radius: 3px;
}

/* Categories Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: #4a5568;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
}

.site-header.dark .nav-dropdown-trigger {
    color: #a0aec0;
}

.nav-dropdown-trigger:hover {
    color: #1a1a2e;
    background: #f7f7f8;
}

.site-header.dark .nav-dropdown-trigger:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-dropdown-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

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

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
}

.site-header.dark .nav-dropdown-menu {
    background: #252540;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4a5568;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-header.dark .nav-dropdown-item {
    color: #a0aec0;
}

.nav-dropdown-item:hover {
    background: #f7f7f8;
    color: #1f2937;
}

.site-header.dark .nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.nav-dropdown-icon {
    width: 32px;
    height: 32px;
    background: #f7f7f8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.site-header.dark .nav-dropdown-icon {
    background: rgba(255, 255, 255, 0.08);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

/* Action Buttons */
.header-action-btn {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f8;
    border: none;
    border-radius: 10px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.site-header.dark .header-action-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #a0aec0;
}

.header-action-btn:hover {
    background: #eeeef0;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.site-header.dark .header-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.header-action-btn svg {
    width: 20px;
    height: 20px;
}

/* Cart with Badge */
.cart-link {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f8;
    border-radius: 10px;
    color: #4a5568;
    transition: all 0.2s ease;
    padding: 0;
}

.site-header.dark .cart-link {
    background: rgba(255, 255, 255, 0.08);
    color: #a0aec0;
}

.cart-link:hover {
    background: #eeeef0;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.site-header.dark .cart-link:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.cart-link svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #1f2937;
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(31, 41, 55, 0.4);
}

.cart-icon,
.cart-text {
    display: none;
}

/* User Dropdown */
.dropdown {
    position: relative;
}

.dropbtn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem;
    padding-right: 0.75rem;
    background: #f7f7f8;
    border: none;
    border-radius: 50px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.site-header.dark .dropbtn {
    background: rgba(255, 255, 255, 0.08);
    color: #a0aec0;
}

.dropbtn:hover {
    background: #eeeef0;
}

.site-header.dark .dropbtn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.dropbtn-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffffff;
}

.dropbtn-name {
    font-weight: 500;
    font-size: 0.875rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropbtn-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

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

/* Login/Signup Buttons */
.header-login {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    color: #4a5568;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.site-header.dark .header-login {
    color: #a0aec0;
}

.header-login:hover {
    color: #1a1a2e;
    background: #f7f7f8;
}

.site-header.dark .header-login:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.header-signup {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.35);
    color: #ffffff;
}

/* Mobile login icon - hidden on desktop */
.mobile-login-icon {
    display: none;
}

/* Theme Toggle */
.theme-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f8;
    border: none;
    border-radius: 10px;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
}

.site-header.dark .theme-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #fbbf24;
}

.theme-toggle:hover {
    background: #eeeef0;
    transform: translateY(-2px);
}

.site-header.dark .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

.site-header.dark .theme-toggle .sun-icon {
    display: none;
}

.site-header.dark .theme-toggle .moon-icon {
    display: block;
}

/* Search Bar */
.search-container {
    position: relative;
    display: none;
}

.search-container.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease;
}

.site-header.dark .search-container.active {
    background: #1a1a2e;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f7f7f8;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.site-header.dark .search-input-wrapper {
    background: rgba(255, 255, 255, 0.08);
}

.search-input-wrapper svg {
    width: 20px;
    height: 20px;
    color: #9ca3af;
    flex-shrink: 0;
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1rem;
    color: #1a1a2e;
    outline: none;
}

.site-header.dark .search-input-wrapper input {
    color: #ffffff;
}

.search-input-wrapper input::placeholder {
    color: #9ca3af;
}

.search-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close:hover {
    color: #4a5568;
}

.header-actions a {
    color: inherit;
}

.header-actions a.btn {
    color: #ffffff;
}

.btn {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #ffffff;
    padding: 0.7rem 1.35rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    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, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 36px rgba(31, 41, 55, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, #232f3e 0%, #37475a 100%);
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1f2937;
    border: 1px solid rgba(31, 41, 55, 0.5);
    box-shadow: none;
}

.btn-outline:hover {
    background: rgba(31, 41, 55, 0.08);
}

.link {
    background: none;
    border: none;
    color: #1f2937;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0;
}

.site-content {
    padding: 3rem 0 4.5rem;
}

.hero {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    background: linear-gradient(120deg, #232f3e 0%, #37475a 50%, #485769 100%);
    padding: clamp(2.5rem, 7vw, 4.5rem);
    color: #fef3c7;
    margin-top: 2rem;
    min-height: 320px;
    display: grid;
    align-items: center;
    animation: heroFadeIn 1s ease-out;
}

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

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(254, 189, 105, 0.25), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(255, 153, 0, 0.18), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    animation: fadeUp 0.8s ease-out both;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.hero p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-section {
    margin-top: 3.25rem;
    background: var(--surface);
    border-radius: 1.75rem;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-medium);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.home-section::before {
    content: '';
    position: absolute;
    inset: -1px -1px auto -1px;
    height: 6px;
    border-radius: 1.75rem 1.75rem 0 0;
    background: linear-gradient(90deg, #fcd34d 0%, #ff9900 50%, #febd69 100%);
}

.section-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.2rem;
    margin-bottom: 2rem;
    width:100%;
}

.section-header h2 {
    margin: 0;
    font-size: 1.6rem;
}

.section-header a {
    font-weight: 600;
    color: #232f3e;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 153, 0, 0.16);
}

.grid {
    display: grid;
    gap: 2rem;
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.4rem;
    padding: 1.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.1), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-8px);
    border-color: rgba(37, 99, 235, 0.35);
}

.category-card {
    background: linear-gradient(160deg, rgba(59, 130, 246, 0.18), transparent);
    min-height: 180px;
}

.category-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.category-card h3,
.product-card h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.category-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

.product-card {
    padding: 1.4rem;
}


.product-meta {
    color: var(--muted);
    font-size: 0.9rem;
}

.product-price {
    font-weight: 700;
    font-size: 1.06rem;
}

.products-grid form {
    margin-top: auto;
}

.page-header {
    margin-bottom: 2.4rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.page-header h1 {
    margin: 0;
    font-size: 2rem;
}

.filters-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    background: var(--surface-strong);
    padding: 1.75rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    margin-bottom: 2.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(37, 99, 235, 0.55);
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), var(--shadow-medium);
}

.auth-form,
.profile-form {
    max-width: 420px;
    margin: 0 auto;
    background: var(--surface-strong);
    padding: 2.25rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.09);
}

.auth-form h1,
.profile-form h1,
.auth-form h2 {
    margin-top: 0;
}

.auth-form label,
.profile-form label {
    display: block;
    margin-bottom: 1.1rem;
    font-weight: 600;
}

.error {
    color: var(--danger);
    font-weight: 600;
}

.success {
    color: var(--success);
    font-weight: 600;
}

.cart-table,
.orders-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-strong);
    border-radius: 1.4rem;
    overflow: hidden;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.cart-table th,
.cart-table td,
.orders-table th,
.orders-table td {
    padding: 1.2rem 1.4rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    text-align: left;
    font-size: 0.95rem;
}

.cart-table tbody tr:hover,
.orders-table tbody tr:hover {
    background: rgba(255, 153, 0, 0.08);
}

.cart-summary,
.order-summary {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 1.75rem;
    margin-top: 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.cart-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
    flex-wrap: wrap;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 2.5rem;
}

.checkout-form {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.6rem;
    padding: 2.5rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.checkout-form h2,
.order-summary h2 {
    margin-top: 0;
    margin-bottom: 1.4rem;
}

.radio {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
    background: rgba(255, 153, 0, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 1rem;
}

.radio input[type="radio"] {
    width: auto;
}

.product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    background: var(--surface-strong);
    border-radius: 1.75rem;
    border: 1px solid var(--border);
    padding: 2.5rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.product-detail img {
    width: 100%;
    border-radius: 1.25rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.add-to-cart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 153, 0, 0.05);
    border-radius: 1rem;
    border: 1px solid rgba(255, 153, 0, 0.2);
}

.add-to-cart label {
    font-weight: 600;
    color: var(--secondary);
}

.add-to-cart input[type="number"] {
    width: 80px;
    padding: 0.5rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
    text-align: center;
}

.add-to-cart button {
    align-self: flex-start;
}

.out-of-stock {
    color: var(--danger);
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.related-products {
    margin-top: 3.5rem;
}

/* =========================================
   Nextgen Product Detail Page Styles
   ========================================= */

/* Breadcrumb */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 5%;
    font-size: 0.9rem;
    color: var(--muted);
}

.breadcrumb-nav a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #1f2937;
}

body.dark-mode .breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.9);
}

/* Product Detail Modern */
.product-detail-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Gallery */
.product-gallery-modern {
    position: sticky;
    top: 100px;
}

.main-image {
    background: #f5f5f5;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    margin-bottom: 1rem;
}

body.dark-mode .main-image {
    background: #1e293b;
}

.main-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-strip {
    display: flex;
    gap: 0.75rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: #f5f5f5;
    border-radius: 0.75rem;
    padding: 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

body.dark-mode .thumbnail {
    background: #1e293b;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: #1f2937;
}

body.dark-mode .thumbnail:hover,
body.dark-mode .thumbnail.active {
    border-color: white;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product Info Modern */
.product-info-modern {
    padding-top: 1rem;
}

.product-category-badge {
    display: inline-block;
    background: #f1f5f9;
    color: #64748b;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

body.dark-mode .product-category-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.product-title-modern {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
    line-height: 1.2;
}

body.dark-mode .product-title-modern {
    color: white;
}

.product-price-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
}

body.dark-mode .product-price-modern {
    color: white;
}

.delivery-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

body.dark-mode .delivery-notice {
    background: rgba(255, 255, 255, 0.05);
}

.delivery-notice svg {
    flex-shrink: 0;
}

.delivery-notice strong {
    color: var(--text-primary);
}

body.dark-mode .delivery-notice strong {
    color: white;
}

/* Size Selector */
.size-selector {
    margin-bottom: 1.5rem;
}

.size-selector label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.size-options {
    display: flex;
    gap: 0.5rem;
}

.size-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .size-btn {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.size-btn:hover:not(.disabled) {
    border-color: #1f2937;
}

body.dark-mode .size-btn:hover:not(.disabled) {
    border-color: white;
}

.size-btn.active {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

body.dark-mode .size-btn.active {
    background: white;
    border-color: white;
    color: #1f2937;
}

.size-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Add to Cart Modern */
.add-to-cart-modern {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.cart-form-modern {
    flex: 1;
}

.btn-add-to-cart-modern {
    width: 100%;
    padding: 1rem 2rem;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

body.dark-mode .btn-add-to-cart-modern {
    background: white;
    color: #1f2937;
}

.btn-add-to-cart-modern:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

body.dark-mode .btn-add-to-cart-modern:hover {
    background: #f1f5f9;
}

.btn-wishlist-modern {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark-mode .btn-wishlist-modern {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-wishlist-modern:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-wishlist-modern:hover svg {
    stroke: #ef4444;
}

.out-of-stock-modern {
    padding: 1rem 2rem;
    background: #fef2f2;
    color: #ef4444;
    border-radius: 999px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem;
}

body.dark-mode .out-of-stock-modern {
    background: rgba(239, 68, 68, 0.2);
}

/* Accordions */
.product-accordions {
    border-top: 1px solid #e5e7eb;
}

body.dark-mode .product-accordions {
    border-color: rgba(255, 255, 255, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #e5e7eb;
}

body.dark-mode .accordion-item {
    border-color: rgba(255, 255, 255, 0.1);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

body.dark-mode .accordion-header {
    color: white;
}

.accordion-header:hover {
    color: #1f2937;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-content {
    display: none;
    padding-bottom: 1.25rem;
}

.accordion-content.active {
    display: block;
}

.accordion-content p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Shipping Grid */
.shipping-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.shipping-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

body.dark-mode .shipping-item {
    background: rgba(255, 255, 255, 0.05);
}

.shipping-item svg {
    flex-shrink: 0;
    color: var(--muted);
}

.shipping-item .label {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.15rem;
}

.shipping-item .value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

body.dark-mode .shipping-item .value {
    color: white;
}

/* Reviews Section Modern */
.reviews-section-modern {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title-modern {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 2rem;
    color: var(--text-primary);
}

.section-title-modern.centered {
    text-align: center;
}

body.dark-mode .section-title-modern {
    color: white;
}

.reviews-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Rating Summary */
.rating-summary {
    padding: 2rem;
}

.rating-big {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.rating-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

body.dark-mode .rating-number {
    color: white;
}

.rating-max {
    font-size: 1.5rem;
    color: var(--muted);
}

.review-count {
    color: var(--muted);
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.star-label {
    font-size: 0.85rem;
    color: var(--muted);
    min-width: 40px;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

body.dark-mode .bar {
    background: rgba(255, 255, 255, 0.1);
}

.bar-fill {
    height: 100%;
    background: #1f2937;
    border-radius: 999px;
}

body.dark-mode .bar-fill {
    background: white;
}

/* Review Card Modern */
.review-card-modern {
    background: #f8fafc;
    border-radius: 1.25rem;
    padding: 1.5rem;
    position: relative;
}

body.dark-mode .review-card-modern {
    background: #1e293b;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
}

body.dark-mode .reviewer-name {
    color: white;
}

.review-stars {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.review-date {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--muted);
}

.review-text {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

.reviewer-avatar {
    display: inline-block;
}

.reviewer-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-nav-btn {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

body.dark-mode .review-nav-btn {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.review-nav-btn:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

/* Related Products Modern */
.related-section-modern {
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.related-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.related-card-modern {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.related-card-modern:hover {
    transform: translateY(-5px);
}

.related-image {
    background: #f5f5f5;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}

body.dark-mode .related-image {
    background: #1e293b;
}

.related-image img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.related-card-modern:hover .related-image img {
    transform: scale(1.1);
}

.related-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
    line-height: 1.4;
}

body.dark-mode .related-info h3 {
    color: white;
}

.related-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.related-rating .stars {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.related-rating .rating-value {
    font-size: 0.8rem;
    color: var(--muted);
}

.related-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-price .current {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

body.dark-mode .related-price .current {
    color: white;
}

.related-price .original {
    font-size: 0.85rem;
    color: var(--muted);
    text-decoration: line-through;
}

.related-price .discount-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}

/* Responsive Product Detail */
@media (max-width: 992px) {
    .product-detail-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-gallery-modern {
        position: relative;
        top: auto;
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .related-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-image {
        min-height: 300px;
    }
    
    .product-title-modern {
        font-size: 1.5rem;
    }
    
    .shipping-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-number {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .related-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-strip {
        justify-content: center;
    }
    
    .size-options {
        flex-wrap: wrap;
    }
}

.tracking-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.2rem;
    flex-wrap: wrap;
}

.tracking-result {
    background: var(--surface-strong);
    border-radius: 1.6rem;
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09);
}

.site-footer {
    background: linear-gradient(180deg, #131921 0%, #232f3e 100%);
    color: rgba(255, 255, 255, 0.82);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #f8fafc;
}

.newsletter-form input::placeholder {
    color: rgba(226, 232, 240, 0.7);
}

.dropdown {
    position: relative;
}

.dropbtn {
    background: #f7f7f8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    cursor: pointer;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.site-header.dark .dropbtn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.dropbtn:hover {
    background: #eeeef0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.site-header.dark .dropbtn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.12) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.dropbtn-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff;
}

.dropbtn-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
}

.dropbtn-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

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

.dropdown-content {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 1.25rem;
    padding: 0;
    display: none;
    min-width: 280px;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    animation: dropdownSlide 0.3s ease;
}

@keyframes dropdownSlide {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-content.visible {
    display: block;
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.08) 0%, rgba(31, 41, 55, 0.04) 100%);
}

.dropdown-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.dropdown-user-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary);
}

.dropdown-user-email {
    font-size: 0.85rem;
    color: var(--muted);
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
    margin: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.25rem;
    transition: all 0.2s ease;
    color: var(--text);
}

.dropdown-item:hover {
    background: linear-gradient(90deg, rgba(31, 41, 55, 0.08), transparent);
    color: #1f2937;
    padding-left: 1.5rem;
}

.dropdown-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.dropdown-item span:last-child {
    font-weight: 500;
}

.dropdown-item-admin {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
}

.dropdown-item-admin:hover {
    background: linear-gradient(90deg, rgba(31, 41, 55, 0.12), transparent);
    color: #1f2937;
}

.dropdown-item-logout {
    color: var(--danger);
}

.dropdown-item-logout:hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.08), transparent);
    color: #b91c1c;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .hero {
        padding: 3rem;
    }

    .home-section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .header-actions {
        justify-content: center;
    }

    .hero {
        border-radius: 1.5rem;
        padding: 2.5rem;
    }

    .checkout-grid,
    .product-detail {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

    .card {
        padding: 1.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .filters-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 2rem;
    }

    .home-section {
        padding: 1.6rem;
    }

    .card {
        padding: 1.4rem;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* Profile Page Styles */
.profile-hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 2rem;
    padding: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: var(--shadow-medium);
}

.profile-info h1 {
    margin: 0;
    font-size: 1.8rem;
}

.profile-info p {
    margin: 0.25rem 0 0.5rem;
    opacity: 0.85;
}

.profile-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.profile-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.post-product-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #4a4a5a 0%, #3d3d4a 100%);
    color: #fff;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-product-btn:hover {
    background: linear-gradient(135deg, #5a5a6a 0%, #4a4a5a 100%);
    color: #fff;
    transform: translateY(-2px);
}

.post-product-btn .post-icon {
    font-size: 1.25rem;
}

.create-store-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #ffffff;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.create-store-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #111827 0%, #0a0f14 100%);
    transform: translateY(-2px);
}

.create-store-btn .store-icon {
    font-size: 1.25rem;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-section {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-light);
}

.profile-section h2 {
    margin: 0 0 1.5rem;
    font-size: 1.3rem;
    color: var(--secondary);
}

.profile-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.recent-orders {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.order-details strong {
    display: block;
    margin-bottom: 0.25rem;
}

.order-details span {
    font-size: 0.85rem;
    color: var(--muted);
}

.order-status {
    text-align: right;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

.status-new {
    background: rgba(31, 41, 55, 0.15);
    color: #1f2937;
}

.status-processing {
    background: rgba(139, 92, 246, 0.15);
    color: #7c3aed;
}

.status-shipped {
    background: rgba(16, 185, 129, 0.15);
    color: #059669;
}

.status-delivered {
    background: rgba(22, 163, 74, 0.15);
    color: #16a34a;
}

.status-cancelled {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

.order-total {
    display: block;
    font-weight: 600;
    margin-top: 0.25rem;
}

.empty-state {
    color: var(--muted);
    text-align: center;
    padding: 2rem;
}

.empty-state a {
    color: #1f2937;
    font-weight: 600;
}

.quick-links {
    margin-bottom: 2rem;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(31, 41, 55, 0.05);
    border: 1px solid rgba(31, 41, 55, 0.2);
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link:hover {
    background: rgba(31, 41, 55, 0.1);
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.quick-icon {
    font-size: 2rem;
}

.quick-link span:last-child {
    font-weight: 600;
    color: var(--secondary);
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================
   MOBILE RESPONSIVE NAVBAR
   ========================================== */

/* Logo Enhancement */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile Header Bar - contains logo and hamburger in one line */
.mobile-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

@media (min-width: 769px) {
    .mobile-header-bar {
        width: auto;
    }
}

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger-line {
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
}

/* Navigation Icons (hidden on desktop) */
.nav-icon {
    display: none;
}

/* Cart Link Enhancement */
.cart-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    transition: all 0.3s ease;
}

.cart-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cart-icon {
    font-size: 1.1rem;
}

.cart-count {
    background: #1f2937;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    min-width: 20px;
    text-align: center;
}

/* Header Login/Signup */
.header-login {
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-login:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.header-signup {
    padding: 0.6rem 1.2rem;
}

/* Mobile-only elements (hidden on desktop) */
.mobile-nav-header,
.mobile-user-info,
.mobile-nav-actions {
    display: none;
}

/* ==========================================
   TABLET RESPONSIVE (max-width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
    .main-nav {
        gap: 0.5rem;
    }

    .main-nav a,
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .dropbtn-name {
        display: none;
    }

    .cart-text {
        display: none;
    }

    /* Hamburger on tablets */
    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }
}/* ==========================================
   MOBILE RESPONSIVE (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Toggle visibility utilities */
    .mobile-only {
        display: flex !important;
    }
    
    .desktop-only {
        display: none !important;
    }

    /* Clean mobile header - logo left, hamburger right */
    .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.85rem 0;
    }

    .logo {
        order: 1;
        flex-shrink: 0;
    }

    /* Show hamburger menu on far right */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 12px;
        cursor: pointer;
        padding: 10px;
        transition: all 0.3s ease;
        z-index: 1002;
    }

    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Show header actions on mobile with limited elements */
    .header-actions {
        display: flex;
        order: 2;
        gap: 0.5rem;
        margin-right: 0.5rem;
    }

    /* Hide login/signup text links on mobile */
    .header-login,
    .header-signup {
        display: none;
    }

    /* Show mobile login icon for non-logged users */
    .mobile-login-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
        border-radius: 50%;
        color: #ffffff;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(31, 41, 55, 0.3);
        transition: all 0.2s ease;
    }

    .mobile-login-icon svg {
        width: 20px;
        height: 20px;
    }

    .mobile-login-icon:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(31, 41, 55, 0.4);
    }

    /* Hide theme toggle on mobile (can be in menu) */
    .header-actions .theme-toggle {
        display: none;
    }

    /* Show profile dropdown on mobile */
    .header-actions .dropdown {
        display: block;
    }

    /* Hide the name in dropdown button on mobile, show only avatar */
    .header-actions .dropbtn-name,
    .header-actions .dropbtn-arrow {
        display: none;
    }

    .header-actions .dropbtn {
        padding: 0.25rem;
        padding-right: 0.25rem;
        background: transparent;
    }

    .header-actions .dropbtn-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    /* Mobile dropdown positioning */
    .header-actions .dropdown-content {
        right: -10px;
        min-width: 260px;
    }

    /* Mobile Menu Overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Drawer */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        display: block;
        padding: 0;
        z-index: 1001;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    /* Mobile Nav Header */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1.25rem;
        background: #1f2937;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .mobile-nav-title {
        font-size: 1.125rem;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: -0.3px;
    }

    .mobile-nav-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: #ffffff;
        font-size: 1rem;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }

    .mobile-nav-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    /* Mobile User Info */
    .mobile-user-info {
        display: block;
        padding: 1rem 1rem;
        background: #f8f9fa;
        border-bottom: 1px solid #e9ecef;
        text-align: left;
    }

    .mobile-user-avatar {
        width: 40px;
        height: 40px;
        background: #1f2937;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        font-weight: 700;
        color: #ffffff;
        vertical-align: middle;
        margin-right: 0.75rem;
    }

    .mobile-user-details {
        display: inline-block;
        vertical-align: middle;
    }

    .mobile-user-name {
        display: block;
        font-weight: 600;
        color: #1a1a2e;
        font-size: 0.875rem;
        line-height: 1.3;
    }

    .mobile-user-email {
        display: block;
        font-size: 0.75rem;
        color: #6b7280;
        line-height: 1.3;
    }

    /* Nav Links Container */
    .nav-links {
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e9ecef;
    }

    /* Nav Links */
    .main-nav a,
    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        color: #374151;
        font-size: 0.9rem;
        font-weight: 500;
        border-radius: 0;
        transition: background 0.2s ease;
        text-decoration: none;
    }

    .main-nav a:hover,
    .nav-link:hover {
        background: #f3f4f6;
        color: #1f2937;
    }

    .main-nav a:active,
    .nav-link:active {
        background: #e5e7eb;
    }

    .main-nav a::before,
    .nav-link::before,
    .main-nav a::after,
    .nav-link::after {
        display: none;
    }

    /* Nav Icons */
    .nav-icon {
        display: inline-block;
        width: 24px;
        text-align: center;
        margin-right: 0.75rem;
        font-size: 1rem;
    }

    /* Mobile Nav Actions (Profile, Orders, Logout) */
    .mobile-nav-actions {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 0;
        margin-top: 0;
    }

    .mobile-action-link {
        display: flex;
        align-items: center;
        gap: 0.875rem;
        padding: 0.875rem 1.25rem;
        color: #374151;
        font-size: 0.9375rem;
        font-weight: 500;
        transition: all 0.2s ease;
        text-decoration: none;
    }

    .mobile-action-link:hover {
        background: #f3f4f6;
        color: #1f2937;
    }

    .mobile-action-link .nav-icon {
        width: 36px;
        height: 36px;
        background: #f3f4f6;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-action-link:hover .nav-icon {
        background: rgba(31, 41, 55, 0.1);
    }

    /* Admin Link */
    .mobile-admin-link {
        background: rgba(31, 41, 55, 0.05);
        border-top: 1px solid #e9ecef;
        border-bottom: 1px solid #e9ecef;
        margin-top: 0.5rem;
    }

    .mobile-admin-link .nav-icon {
        background: rgba(31, 41, 55, 0.15);
    }

    .mobile-admin-link:hover {
        background: rgba(31, 41, 55, 0.1);
    }

    /* Logout Link */
    .mobile-logout-link {
        color: #dc2626;
        margin-top: 0.5rem;
        border-top: 1px solid #e9ecef;
        padding-top: 1rem;
    }

    .mobile-logout-link:hover {
        background: rgba(220, 38, 38, 0.05);
        color: #dc2626;
    }

    .mobile-logout-link .nav-icon {
        background: rgba(220, 38, 38, 0.1);
    }

    /* Sign Up Link */
    .mobile-signup-link {
        background: #1f2937;
        color: #ffffff !important;
        margin: 0.5rem 1rem;
        border-radius: 10px;
        justify-content: center;
    }

    .mobile-signup-link:hover {
        background: #111827;
        color: #ffffff !important;
    }

    .mobile-signup-link .nav-icon {
        background: rgba(255, 255, 255, 0.2);
    }
}

/* ==========================================
   SMALL MOBILE (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
    .container {
        width: 94vw;
    }

    .logo-text {
        font-size: 1.15rem;
    }

    .header-inner {
        padding: 0.75rem 0;
    }

    .cart-link {
        padding: 0.4rem 0.6rem;
    }

    .cart-icon {
        font-size: 1rem;
    }

    .cart-count {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }

    .mobile-menu-toggle {
        width: 40px;
        height: 40px;
    }

    .hamburger-line {
        width: 20px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ==========================================
   SEARCH OVERLAY
   ========================================== */
.search-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
}

.search-container.active {
    opacity: 1;
    visibility: visible;
}

.search-box {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px) scale(0.95);
    transition: transform 0.3s ease;
}

.search-container.active .search-box {
    transform: translateY(0) scale(1);
}

.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.search-header svg {
    width: 24px;
    height: 24px;
    color: var(--muted);
}

.search-header input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    outline: none;
    color: var(--secondary);
}

.search-header input::placeholder {
    color: var(--muted);
}

.search-close {
    background: var(--surface);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-close:hover {
    background: var(--surface-strong);
}

.search-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 16px;
    color: var(--muted);
    font-size: 13px;
}

.search-hint kbd {
    background: var(--surface);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-family: inherit;
    border: 1px solid var(--border);
}

/* ==========================================
   DARK MODE STYLES
   ========================================== */
.site-header.dark {
    background: #1a1a2e;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header.dark .logo-text {
    color: white;
}

.site-header.dark .logo-text span {
    color: #ffffff;
}

.site-header.dark .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.site-header.dark .nav-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.site-header.dark .nav-link.active {
    color: #ffffff;
}

.site-header.dark .icon-btn {
    color: rgba(255, 255, 255, 0.8);
}

.site-header.dark .icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.site-header.dark .dropdown-btn {
    color: white;
}

body.dark-mode {
    background: #0f0f1a;
    color: rgba(255, 255, 255, 0.9);
}

body.dark-mode .search-box {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .search-header input {
    color: white;
}

body.dark-mode .search-hint kbd {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Header scroll effect */
.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.site-header.dark.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* =========================================
   eTrade Homepage Styles
   ========================================= */

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 2rem;
    align-items: center;
    padding: 3rem 5%;
    min-height: 70vh;
    background: linear-gradient(135deg, #f8f9ff 0%, #eff6ff 50%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

body.dark-mode .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.hero-content {
    z-index: 2;
}

.hero-content .hero-badge {
    display: inline-block;
    background: #1f2937;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 2rem;
    color: var(--text-primary);
}

body.dark-mode .hero-title {
    color: white;
}

.hero-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #1f2937;
    color: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-shop-now:hover {
    background: #111827;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(31, 41, 55, 0.4);
    color: white;
}

.hero-reviews {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-avatars {
    display: flex;
}

.review-avatars .avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -10px;
    border: 2px solid white;
    font-size: 0.9rem;
}

.review-avatars .avatar:first-child {
    margin-left: 0;
}

body.dark-mode .review-avatars .avatar {
    background: linear-gradient(135deg, #1e3a5f, #0f3460);
    border-color: #1e293b;
}

.review-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.review-info .stars {
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.review-info .count {
    font-size: 0.85rem;
    color: var(--muted);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image > img {
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-price-tag {
    position: absolute;
    bottom: 10%;
    right: 0;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.dark-mode .hero-price-tag {
    background: #1e293b;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-price-tag .from {
    font-size: 1rem;    
    color: #1f2937;
}

.hero-price-tag .price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #1f2937;
}
body.dark-mode .price{
    color: white;
}
body.dark-mode .hero-price-tag .from {
    color: #9ca3af;
}

.hero-side-products {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-side-products img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-side-products img:hover {
    transform: scale(1.1);
}

/* Categories Section */
.categories-section {
    padding: 4rem 5%;
    background: var(--surface);
}

body.dark-mode .categories-section {
    background: #0f172a;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.section-header .section-badge {
    display: inline-block;
    background: rgba(31, 41, 55, 0.1);
    color: #1f2937;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
}

body.dark-mode .section-header h2 {
    color: white;
}

.section-nav {
    display: flex;
    gap: 0.5rem;
}

.section-nav .nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    background: white;
    color: #1f2937;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

body.dark-mode .section-nav .nav-arrow {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.section-nav .nav-arrow:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1.5rem;
}

.categories-grid .category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

body.dark-mode .categories-grid .category-item {
    background: #1e293b;
}

.categories-grid .category-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(31, 41, 55, 0.15);
    border-color: #1f2937;
}

.categories-grid .category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    transition: all 0.3s ease;
}

body.dark-mode .categories-grid .category-icon {
    background: linear-gradient(135deg, #0f3460, #1e3a5f);
}

.categories-grid .category-item:hover .category-icon {
    background: #1f2937;
}

.categories-grid .category-item span {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

body.dark-mode .categories-grid .category-item span {
    color: white;
}

/* Featured Banner */
.featured-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 5%;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f3460 100%);
    position: relative;
    overflow: hidden;
}

.featured-banner::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    top: -150px;
    left: -150px;
    border-radius: 50%;
}

.banner-content {
    z-index: 2;
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.banner-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.countdown {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    text-align: center;
    min-width: 70px;
}

.countdown-item .number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
}

.countdown-item .label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-check-out {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: #1e3a5f;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-check-out:hover {
    background: #1f2937;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 41, 55, 0.4);
}

.banner-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-image img {
    max-width: 350px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Products Section */
.products-section {
    padding: 4rem 5%;
    background: var(--surface);
}

body.dark-mode .products-section {
    background: #0f172a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.products-grid .product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    position: relative;
}

body.dark-mode .products-grid .product-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}
.products-grid .product-card:hover {
    border-color: #3b82f6;
}

body.dark-mode .products-grid .product-card:hover {
    border-color: #3b82f6;
}

.products-grid .discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.products-grid .product-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.products-grid .product-image .category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #1f2937;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
}

body.dark-mode .products-grid .product-image {
    background: #0f172a;
}

.products-grid .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-grid .product-info {
    padding: 1rem;
}

.products-grid .product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.products-grid .product-name a {
    color: #2d3748;
    text-decoration: none;
}

body.dark-mode .products-grid .product-name a {
    color: white;
}

.products-grid .product-name a:hover {
    color: #3b82f6;
}

.products-grid .product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.products-grid .product-rating .stars {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.products-grid .product-rating .count {
    color: #6b7280;
    font-size: 0.8rem;
}

.products-grid .product-footer {
    padding: 10px;
    border-top: 1px solid #eee;
}

body.dark-mode .products-grid .product-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.products-grid .product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.products-grid .product-name a {
    color: #2d3748;
    text-decoration: none;
}

.products-grid .product-name a:hover {
    color: #3b82f6;
}

body.dark-mode .products-grid .product-name a {
    color: white;
}

.products-grid .price-buy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.products-grid .price-buy-row .product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a73e8;
    background: none;
    padding: 0;
    margin: 0;
}

body.dark-mode .products-grid .price-buy-row .product-price {
    color: white;
}

.products-grid .wishlist-form,
.products-grid .cart-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.products-grid .wishlist-btn,
.products-grid .cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}

body.dark-mode .products-grid .wishlist-btn,
body.dark-mode .products-grid .cart-btn {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

.products-grid .wishlist-btn:hover {
    background: #fff0f0;
    border-color: #ffcccc;
    color: #e74c3c;
}

.products-grid .cart-btn:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: #fff;
}

body.dark-mode .products-grid .cart-btn:hover {
    background: white;
    border-color: white;
    color: #1f2937;
}

.products-grid .product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a73e8;
}

body.dark-mode .products-grid .product-price {
    color: #60a5fa;
}

.products-grid .btn-buy-now {
    padding: 8px 16px;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.products-grid .btn-buy-now:hover {
    background: #3b82f6;
}

body.dark-mode .products-grid .btn-buy-now {
    background: #3b82f6;
}

body.dark-mode .products-grid .btn-buy-now:hover {
    background: #60a5fa;
}

.products-grid .product-image-link {
    text-decoration: none;
    display: block;
}

.btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.3);
}

.products-grid .out-of-stock-badge {
    font-size: 0.75rem;
    color: #999;
    background: #f5f5f5;
    padding: 0.3rem 0.6rem;
    border-radius: 0.25rem;
}

body.dark-mode .products-grid .out-of-stock-badge {
    background: rgba(255, 255, 255, 0.1);
}

.products-footer {
    display: flex;
    justify-content: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    background: white;
    color: #1f2937;
    border: 2px solid #e5e7eb;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

body.dark-mode .btn-view-all {
    background: #1e293b;
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-view-all:hover {
    border-color: #1f2937;
    color: #1f2937;
    transform: translateY(-2px);
}

/* Responsive Styles for eTrade */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .hero-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-side-products {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 5%;
        min-height: auto;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-info {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-image > img {
        max-width: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .featured-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-image {
        order: 1;
    }
    
    .banner-content {
        order: 2;
    }
    
    .countdown {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .banner-content h2 {
        font-size: 1.75rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .categories-grid .category-item {
        padding: 1rem 0.5rem;
    }
    
    .categories-grid .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .categories-grid .category-item span {
        font-size: 0.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .countdown-item {
        padding: 0.75rem;
        min-width: 55px;
    }
    
    .countdown-item .number {
        font-size: 1.25rem;
    }
    
    .hero-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-price-tag {
        display: none;
    }
}

/* =========================================
   About Page Styles (Light Theme)
   ========================================= */

/* About Hero Light */
.about-hero-light {
    background: linear-gradient(135deg, #f8f9ff 0%, #eff6ff 50%, #e0f2fe 100%);
    padding: 5rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

body.dark-mode .about-hero-light {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f3460 100%);
}

.about-hero-light .about-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-badge {
    display: inline-block;
    background: #1f2937;
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.3);
}

.about-hero-light h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1rem;
    line-height: 1.2;
}

body.dark-mode .about-hero-light h1 {
    color: white;
}

.about-hero-light p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Story Section */
.about-story-section {
    background: var(--surface);
    padding: 5rem 5%;
}

body.dark-mode .about-story-section {
    background: #0f172a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

body.dark-mode .about-image img {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: #1f2937;
    color: white;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(31, 41, 55, 0.3);
}

.about-image-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.about-image-badge .text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.about-text {
    color: var(--text-primary);
}

body.dark-mode .about-text {
    color: white;
}

.about-label {
    display: inline-block;
    color: #3b82f6;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

body.dark-mode .about-text h2 {
    color: white;
}

.about-text p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

body.dark-mode .about-feature {
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    color: #10b981;
    font-weight: 700;
}

.btn-shop-now-about {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: #1f2937;
    color: white;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.3);
}

.btn-shop-now-about:hover {
    background: #111827;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(31, 41, 55, 0.4);
}

/* Why Choose Us Section */
.why-choose-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eff6ff 100%);
    padding: 5rem 5%;
}

body.dark-mode .why-choose-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.section-header-center {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header-center h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

body.dark-mode .section-header-center h2 {
    color: white;
}

.section-header-center p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1.25rem;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

body.dark-mode .feature-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.feature-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

body.dark-mode .feature-icon-box {
    background: linear-gradient(135deg, #1e3a5f, #1e40af);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    color: var(--text-primary);
}

body.dark-mode .feature-card h3 {
    color: white;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section Light */
.stats-section-light {
    background: #1f2937;
    padding: 4rem 5%;
}

.stats-grid-light {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item-light {
    text-align: center;
}

.stat-number-light {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label-light {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

/* Promise Section */
.promise-section {
    background: var(--surface);
    padding: 5rem 5%;
}

body.dark-mode .promise-section {
    background: #0f172a;
}

.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.promise-content {
    color: var(--text-primary);
}

body.dark-mode .promise-content {
    color: white;
}

.promise-content h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

body.dark-mode .promise-content h2 {
    color: white;
}

.promise-content > p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0 0 1rem;
}

.promise-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.promise-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.promise-check {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.promise-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

body.dark-mode .promise-item strong {
    color: white;
}

.promise-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

.promise-image img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

body.dark-mode .promise-image img {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* About CTA Light */
.about-cta-light {
    background: linear-gradient(135deg, #f8f9ff 0%, #e0f2fe 100%);
    padding: 5rem 5%;
    text-align: center;
}

body.dark-mode .about-cta-light {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.cta-content-light {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content-light h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-primary);
}

body.dark-mode .cta-content-light h2 {
    color: white;
}

.cta-content-light p {
    color: var(--muted);
    font-size: 1.05rem;
    margin: 0 0 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    padding: 1rem 2rem;
    background: #1f2937;
    color: white;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(31, 41, 55, 0.3);
}

.btn-cta-primary:hover {
    background: #111827;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(31, 41, 55, 0.4);
}

.btn-cta-secondary {
    padding: 1rem 2rem;
    background: white;
    color: var(--text-primary);
    border: 2px solid #e5e7eb;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

body.dark-mode .btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-cta-secondary:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* About Page Responsive */
@media (max-width: 992px) {
    .about-grid,
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-hero-light h1 {
        font-size: 2.25rem;
    }
    
    .about-text h2,
    .promise-content h2 {
        font-size: 1.75rem;
    }
    
    .features-grid,
    .stats-grid-light {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-image-badge {
        bottom: -15px;
        right: -10px;
    }
}

@media (max-width: 576px) {
    .about-hero-light {
        padding: 3rem 5%;
    }
    
    .about-hero-light h1 {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-light {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .stat-number-light {
        font-size: 2.25rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-content-light h2 {
        font-size: 1.5rem;
    }
    
    .about-image-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
        display: inline-block;
    }
}
