/* Modern E-Commerce Design System - N11 Inspired */

/* CSS Variables - Modern Color Palette */
:root {
    /* Primary Colors */
    --primary: #ff6000;
    --primary-light: #ff8533;
    --primary-dark: #cc4d00;
    --primary-bg: #fff4f0;
    
    /* Secondary Colors */
    --secondary: #0066cc;
    --secondary-light: #3385d6;
    --secondary-dark: #004d99;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Status Colors */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    
    /* Text Colors */
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-disabled: #bdbdbd;
    --text-white: #ffffff;
    
    /* Background Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-tertiary: #f5f5f5;
    
    /* Border & Shadow */
    --border-color: #e0e0e0;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 11px;
    --font-size-sm: 13px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 20px;
    --font-size-3xl: 24px;
    --font-size-4xl: 28px;
    
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Layout */
    --container-max-width: 1200px;
    --header-height: 80px;
    --mobile-header-height: 60px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Ensure footer stays at bottom */
body > .footer {
    margin-top: auto;
}

/* Reset link styles */
a {
    color: inherit;
    text-decoration: none;
}

/* Reset button styles */
button {
    font-family: inherit;
    cursor: pointer;
}

/* Reset input styles */
input,
textarea,
select {
    font-family: inherit;
}

/* Image styles */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container System */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-6);
    }
}

/* Modern Header */
.modern-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 9999;
    height: var(--header-height);
}

/* Modern Navigation */
.modern-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-3) 0;
    position: relative;
    z-index: 999;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-6);
}

.logo-modern {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

/* Modern Search Bar */
.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
}

.search-container form {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 48px;
    padding: 0 var(--space-12) 0 var(--space-12);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
    background: var(--white);
    font-family: var(--font-family);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1);
}

.search-input::placeholder {
    color: var(--gray-400);
}

.search-icon {
    position: absolute;
    left: var(--space-4);
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-500);
    font-size: var(--font-size-lg);
    pointer-events: none;
    z-index: 1;
}

.search-btn {
    position: absolute;
    right: var(--space-1);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-fast);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    text-decoration: none;
    color: var(--text-primary);
    padding: var(--space-2);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    position: relative;
}

.header-action:hover {
    background: var(--gray-100);
}

.header-action-icon {
    font-size: var(--font-size-xl);
    color: var(--gray-600);
}

.header-action-text {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
}

.header-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transform: translate(25%, -25%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.header-badge.has-items {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Modern Navigation */
.modern-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-3) 0;
    overflow: visible;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.modern-nav::-webkit-scrollbar {
    height: 0;
    display: none;
}

.modern-nav .container {
    overflow: visible;
}

/* Top Banner */
.top-banner {
    background: var(--primary-bg);
    padding: var(--space-2) 0;
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--primary);
    border-bottom: 1px solid var(--border-color);
}

.top-banner a {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.top-banner a:hover {
    text-decoration: underline;
}

.top-banner i {
    margin-right: var(--space-1);
}

.top-banner strong {
    font-weight: var(--font-weight-bold);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-6);
    overflow: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: nowrap;
    min-width: min-content;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-item {
    white-space: nowrap;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    position: relative;
}

.nav-item:hover {
    color: var(--primary);
    background: var(--primary-bg);
}

.nav-item.active {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    z-index: 1000;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-normal);
    z-index: 10000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-item {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* Mobile Header */
@media (max-width: 768px) {
    .modern-header {
        height: var(--mobile-header-height);
    }
    
    .header-content {
        gap: var(--space-3);
    }
    
    .search-container {
        display: none;
    }
    
    .header-action-text {
        display: none;
    }
    
    .modern-nav {
        overflow-x: auto;
        overflow-y: visible;
    }
    
    .nav-list {
        gap: var(--space-3);
        padding: 0 var(--space-4);
        overflow-x: auto;
        overflow-y: visible;
    }
    
    .nav-item {
        font-size: var(--font-size-xs);
        padding: var(--space-1) var(--space-2);
        flex-shrink: 0;
    }
}

/* Mobile Search (Toggle) */
.mobile-search {
    display: none;
    position: fixed;
    top: var(--mobile-header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-4);
    z-index: 999;
}

.mobile-search.active {
    display: block;
}

@media (max-width: 768px) {
    .mobile-search-toggle {
        display: flex;
    }
}

.mobile-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: var(--gray-600);
}

/* Modern Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-1 { grid-template-columns: 1fr; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1200px) {
    .grid-6 { grid-template-columns: repeat(5, 1fr); }
    .grid-5 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
    .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .grid { gap: var(--space-4); }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
    .grid { gap: var(--space-3); }
}

/* Modern Product Card */
.product-card-modern {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.product-card-modern:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.product-image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-50);
    z-index: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product-card-modern:hover .product-image {
    transform: scale(1.08);
}

.product-badges-modern {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
    z-index: 2;
}

.product-badge-modern {
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge-modern.sale {
    background: var(--error);
}

.product-badge-modern.new {
    background: var(--success);
}

.product-badge-modern.bestseller {
    background: var(--warning);
    color: var(--text-primary);
}

.product-wishlist-modern {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 11;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-wishlist-modern:hover {
    background: var(--white);
    transform: scale(1.1);
}

.product-wishlist-modern.active {
    color: var(--error);
}

.product-info-modern {
    padding: var(--space-4);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    min-height: 0;
}

.product-title-modern {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    margin-bottom: var(--space-1);
}

.product-title-modern:hover {
    color: var(--primary);
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
}

.product-stars-modern {
    display: flex;
    gap: 1px;
}

.product-stars-modern i {
    color: #ffc107;
    font-size: 12px;
}

.product-stars-modern i.far {
    color: var(--gray-300);
}

.product-rating-count {
    color: var(--text-secondary);
}

.product-price-modern {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-1) 0;
}

.product-price-current {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

.product-price-old {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-decoration: line-through;
}

.product-discount {
    background: var(--error);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: 2px var(--space-1);
    border-radius: var(--border-radius);
}

.product-actions-modern {
    display: flex;
    gap: var(--space-2);
    margin-top: auto;
}

.btn-add-cart-modern {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    white-space: nowrap;
    min-width: 0;
}

.btn-add-cart-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.3);
}

.btn-add-cart-modern i {
    font-size: var(--font-size-base);
    flex-shrink: 0;
}

.btn-add-cart-modern span {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-quick-view {
    width: 44px;
    height: 44px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--gray-600);
}

.btn-quick-view:hover {
    background: var(--gray-200);
    color: var(--primary);
}

/* Product Card Hover Effects */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: var(--space-6) var(--space-4) var(--space-4);
    transform: translateY(100%);
    transition: var(--transition-normal);
    display: flex;
    gap: var(--space-2);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
}

.product-card-modern:hover .product-overlay {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.product-overlay .btn-add-cart-modern {
    background: var(--white) !important;
    color: var(--primary) !important;
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-semibold) !important;
    padding: var(--space-3) var(--space-4) !important;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    text-shadow: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-overlay .btn-add-cart-modern:hover {
    background: var(--primary) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.product-overlay .btn-add-cart-modern i {
    font-size: var(--font-size-base);
    margin-right: 4px;
}

.product-overlay .btn-add-cart-modern span {
    display: inline-block;
}

.product-overlay .btn-quick-view {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(10px);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.product-overlay .btn-quick-view:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    transform: scale(1.1);
}

/* Section Styles */
.section-modern {
    padding: var(--space-16) 0;
    position: relative;
}

.section-modern:first-of-type {
    padding-top: var(--space-8);
}

.section-header-modern {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-title-modern {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.section-subtitle-modern {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: var(--font-size-base);
}

.btn-primary-modern {
    background: var(--primary);
    color: var(--white);
}

.btn-primary-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary-modern {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary-modern:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-outline-modern {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline-modern:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification System */
.notification-container {
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: 400px;
}

.notification {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-4);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    transform: translateX(100%);
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left-color: var(--success);
}

.notification.error {
    border-left-color: var(--error);
}

.notification.warning {
    border-left-color: var(--warning);
}

.notification.info {
    border-left-color: var(--info);
}

.notification-icon {
    font-size: var(--font-size-lg);
    color: var(--primary);
}

.notification.success .notification-icon {
    color: var(--success);
}

.notification.error .notification-icon {
    color: var(--error);
}

.notification.warning .notification-icon {
    color: var(--warning);
}

.notification.info .notification-icon {
    color: var(--info);
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.notification-message {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: var(--space-1);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.notification-close:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .notification-container {
        left: var(--space-4);
        right: var(--space-4);
        max-width: none;
    }
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--space-4);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-primary);
    font-weight: var(--font-weight-medium);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .modern-header {
        height: var(--mobile-header-height);
    }
    
    .header-content {
        gap: var(--space-2);
    }
    
    .logo-modern {
        font-size: var(--font-size-base);
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .search-container {
        display: none;
    }
    
    .header-action-text {
        display: none;
    }
    
    .header-action {
        padding: var(--space-1);
    }
    
    .header-action-icon {
        font-size: var(--font-size-lg);
    }
    
    .nav-list {
        gap: var(--space-3);
        padding: 0 var(--space-2);
    }
    
    .nav-item {
        font-size: var(--font-size-xs);
        padding: var(--space-1) var(--space-2);
    }
    
    .top-banner {
        font-size: 11px;
        padding: var(--space-1) 0;
    }
    
    .grid-4, .grid-5, .grid-6 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-modern {
        padding: var(--space-12) 0;
    }
    
    .section-modern:first-of-type {
        padding-top: var(--space-6);
    }
    
    .section-title-modern {
        font-size: var(--font-size-2xl);
    }
    
    .section-subtitle-modern {
        font-size: var(--font-size-base);
    }
    
    /* Mobile Product Overlay Fixes */
    .product-overlay {
        padding: var(--space-3) var(--space-2) !important;
        gap: var(--space-1) !important;
    }
    
    .product-overlay .btn-add-cart-modern {
        font-size: var(--font-size-xs) !important;
        padding: var(--space-2) var(--space-3) !important;
    }
    
    .product-overlay .btn-add-cart-modern span {
        display: none;
    }
    
    .product-overlay .btn-add-cart-modern i {
        margin-right: 0 !important;
    }
    
    .product-overlay .btn-quick-view {
        width: 36px !important;
        height: 36px !important;
    }
}

@media (max-width: 480px) {
    .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 {
        grid-template-columns: 1fr;
    }
    
    .header-actions {
        gap: var(--space-1);
    }
    
    .header-action {
        padding: var(--space-1);
    }
    
    .section-modern {
        padding: var(--space-8) 0;
    }
    
    .section-modern:first-of-type {
        padding-top: var(--space-4);
    }
    
    .section-title-modern {
        font-size: var(--font-size-xl);
    }
    
    .section-subtitle-modern {
        font-size: var(--font-size-sm);
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000;
        --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 6px rgba(0,0,0,0.3);
        --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
    }
}

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-bold { font-weight: var(--font-weight-bold); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-medium { font-weight: var(--font-weight-medium); }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-white { color: var(--white); }

.bg-white { background: var(--white); }
.bg-gray-50 { background: var(--gray-50); }
.bg-gray-100 { background: var(--gray-100); }

.rounded { border-radius: var(--border-radius); }
.rounded-lg { border-radius: var(--border-radius-lg); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* Cookie Consent Banner - Fixed at bottom of viewport */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: var(--space-4);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    z-index: 10002;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: hidden;
}

.cookie-consent.show {
    transform: translateY(0);
    visibility: visible;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.cookie-text {
    flex: 1;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-text i {
    color: var(--primary);
    margin-right: var(--space-2);
    font-size: var(--font-size-lg);
    vertical-align: middle;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: var(--font-weight-medium);
}

.cookie-actions {
    display: flex;
    gap: var(--space-2);
    flex-shrink: 0;
}

.cookie-actions .btn-modern {
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: var(--space-3);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-3);
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-actions .btn-modern {
        flex: 1;
    }
}

/* Print Styles */
@media print {
    .modern-header,
    .modern-nav,
    .cookie-consent,
    .notification-container,
    .loading-overlay {
        display: none !important;
    }
    
    .section-modern {
        padding: var(--space-4) 0;
    }
    
    .product-card-modern {
        break-inside: avoid;
    }
}

/* Modern Footer Styles */
.footer {
    background: var(--gray-900) !important;
    color: var(--white) !important;
    padding: var(--space-12) 0 var(--space-4) !important;
    margin-top: var(--space-12) !important;
    border-top: none !important;
}

/* Override old footer styles completely */
body .footer,
footer.footer {
    background: var(--gray-900) !important;
    color: var(--white) !important;
}

body .footer *,
footer.footer * {
    color: inherit !important;
}

body .footer a,
footer.footer a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
}

body .footer a:hover,
footer.footer a:hover {
    color: var(--white) !important;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
}

@media (min-width: 992px) {
    .footer-top {
        grid-template-columns: 1.5fr repeat(3, 1fr);
        gap: var(--space-6);
    }
}

@media (min-width: 1200px) {
    .footer-top {
        grid-template-columns: 2fr repeat(4, 1fr);
    }
}

.footer-brand {
    grid-column: 1 / -1;
}

@media (min-width: 992px) {
    .footer-brand {
        grid-column: 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--white) !important;
    text-decoration: none !important;
}

.footer-logo i {
    font-size: 24px;
    color: var(--primary) !important;
}

.footer-brand p {
    opacity: 0.8;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: var(--space-4);
    max-width: 350px;
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links {
    display: flex;
    gap: var(--space-2);
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    transition: var(--transition-fast);
    text-decoration: none !important;
    font-size: var(--font-size-sm);
}

.social-links a:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
    color: var(--white) !important;
}

.footer-col h4 {
    margin-bottom: var(--space-3);
    color: var(--white) !important;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    position: relative;
    padding-bottom: var(--space-2);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer-col ul li {
    margin-bottom: var(--space-1);
    list-style: none !important;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: var(--transition-fast);
    font-size: var(--font-size-xs);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--white) !important;
    transform: translateX(4px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact li {
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
}

.footer-contact i {
    font-size: var(--font-size-base);
    color: var(--primary) !important;
    margin-top: 2px;
}

.footer-contact strong {
    display: block;
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: var(--space-1);
}

.footer-contact a,
.footer-contact span {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
}

.footer-contact a:hover {
    color: var(--primary) !important;
}

.footer-blog {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.footer-blog .blog-item {
    margin-bottom: 0 !important;
    list-style: none !important;
}

.footer-blog .blog-item a {
    display: block;
    padding: var(--space-2);
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-blog .blog-item a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(4px);
    color: var(--white) !important;
}

.footer-blog .blog-title {
    font-weight: var(--font-weight-semibold);
    font-size: 12px;
    color: var(--white) !important;
    margin-bottom: var(--space-1);
    line-height: 1.3;
}

.footer-blog .blog-excerpt {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: var(--space-1);
    line-height: 1.3;
}

.footer-blog .blog-date {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5) !important;
}

.footer-payment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.payment-methods span {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7) !important;
}

.payment-icons {
    display: flex;
    gap: var(--space-2);
}

.payment-icons i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: var(--transition-fast);
}

.payment-icons i:hover {
    color: var(--primary) !important;
}

.security-badges {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: var(--font-size-xs);
}

.security-badges i {
    color: var(--success) !important;
    font-size: var(--font-size-base);
}

.security-badges span {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-4);
    flex-wrap: wrap;
    gap: var(--space-3);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: var(--font-size-xs);
}

.footer-links {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    transition: var(--transition-fast);
    font-size: var(--font-size-xs);
}

.footer-links a:hover {
    color: var(--primary) !important;
}

@media (max-width: 768px) {
    .footer {
        padding: var(--space-8) 0 var(--space-4) !important;
    }
    
    .footer-top {
        gap: var(--space-4);
    }
    
    .footer-payment {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-brand p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .social-links {
        justify-content: center;
    }
}


/* Additional Footer Fixes - Ensure proper display */
.footer .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.footer-col div,
.footer-col span,
.footer-col p {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-col strong {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 11px !important;
}

/* Ensure footer stays at bottom */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Fix for footer spacing */
.footer-payment {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Ensure all footer text is visible */
.footer * {
    box-sizing: border-box;
}

.footer ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.footer li {
    list-style: none !important;
}

/* Fix footer grid on smaller screens */
@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr !important;
    }
    
    .footer-col {
        margin-bottom: var(--space-4);
    }
    
    .footer-col:last-child {
        margin-bottom: 0;
    }
}


/* Modern Product Detail Page */
.product-detail-modern {
    background: var(--white);
    padding: var(--space-8) 0;
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    margin-bottom: var(--space-8);
}

@media (max-width: 992px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
}

/* Product Gallery */
.product-gallery-modern {
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
}

.main-image-container {
    position: relative;
    aspect-ratio: 1;
    background: var(--gray-50);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-4);
    border: 1px solid var(--border-color);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-4);
}

.product-badges-detail {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    z-index: 2;
}

.product-badge-detail {
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge-detail.combo {
    background: var(--success);
}

.product-badge-detail.featured {
    background: var(--warning);
    color: var(--text-primary);
}

.wishlist-btn-detail {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 2;
    font-size: var(--font-size-lg);
    color: var(--gray-600);
}

.wishlist-btn-detail:hover {
    background: var(--white);
    transform: scale(1.1);
}

.wishlist-btn-detail.active {
    color: var(--error);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: var(--space-2);
}

.thumbnail {
    aspect-ratio: 1;
    background: var(--gray-50);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
}

.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(255, 96, 0, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--space-1);
}

/* Product Info */
.product-info-detail {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.product-title-detail {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

.product-meta-detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.product-rating-detail {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.rating-stars-detail {
    display: flex;
    gap: 2px;
}

.rating-stars-detail i {
    color: #ffc107;
    font-size: var(--font-size-base);
}

.rating-stars-detail i.far {
    color: var(--gray-300);
}

.rating-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.product-sku {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.product-sku strong {
    color: var(--text-primary);
}

/* Price Section */
.price-section-detail {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.price-main-detail {
    display: flex;
    align-items: baseline;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.price-current-detail {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
}

.price-old-detail {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-discount-detail {
    background: var(--error);
    color: var(--white);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--border-radius);
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.price-feature {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.price-feature i {
    color: var(--success);
    font-size: var(--font-size-base);
}

.price-feature.highlight {
    color: var(--primary);
    font-weight: var(--font-weight-medium);
}

.price-feature.highlight i {
    color: var(--primary);
}

/* Stock Status */
.stock-status {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
}

.stock-status.in-stock {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.stock-status.low-stock {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.stock-status.out-of-stock {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
}

/* Quantity Selector */
.quantity-selector-detail {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.quantity-label {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
    font-size: var(--font-size-lg);
}

.quantity-btn:hover {
    background: var(--gray-100);
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
}

/* Action Buttons */
.product-actions-detail {
    display: flex;
    gap: var(--space-3);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
}

.btn-add-to-cart-detail {
    flex: 1;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: var(--space-4);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.btn-add-to-cart-detail:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-add-to-cart-detail:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

.btn-buy-now {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: var(--space-4) var(--space-6);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-buy-now:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Product Tabs */
.product-tabs-modern {
    margin-top: var(--space-8);
}

.tab-buttons {
    display: flex;
    gap: var(--space-2);
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--space-6);
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-description-detail {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-primary);
}

.product-description-detail h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.product-description-detail ul {
    padding-left: var(--space-6);
    margin: var(--space-4) 0;
}

.product-description-detail li {
    margin-bottom: var(--space-2);
}

/* Combo Items */
.combo-items-section {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-6);
}

.combo-items-section h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.combo-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-4);
}

.combo-item-card {
    background: var(--white);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.combo-item-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    margin-bottom: var(--space-2);
}

.combo-item-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.combo-item-quantity {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Related Products */
.related-products-section {
    margin-top: var(--space-12);
    padding-top: var(--space-12);
    border-top: 1px solid var(--border-color);
}

.related-products-section h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-8);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .product-title-detail {
        font-size: var(--font-size-2xl);
    }
    
    .price-current-detail {
        font-size: var(--font-size-3xl);
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .btn-buy-now {
        width: 100%;
    }
    
    .thumbnail-gallery {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }
    
    .product-gallery-modern {
        position: static;
    }
}


/* ============================================
   MODERN CART PAGE STYLES
   ============================================ */

.cart-page-modern {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.page-title-modern {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

.cart-layout-modern {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-8);
    align-items: start;
}

@media (max-width: 992px) {
    .cart-layout-modern {
        grid-template-columns: 1fr;
    }
}

/* Cart Items */
.cart-items-modern {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.empty-cart-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-16) var(--space-8);
    text-align: center;
}

.empty-cart-modern i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: var(--space-4);
}

.empty-cart-modern p {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-cart-modern span {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* Cart Item */
.cart-item-modern {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.cart-item-modern:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .cart-item-modern {
        grid-template-columns: 80px 1fr;
        gap: var(--space-3);
    }
    
    .item-quantity-modern,
    .item-price-modern {
        grid-column: 2;
    }
    
    .btn-remove-modern {
        grid-column: 2;
        justify-self: end;
    }
}

.item-image-modern {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--gray-100);
}

.item-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.combo-badge-modern {
    position: absolute;
    top: var(--space-1);
    left: var(--space-1);
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-xs);
    padding: 2px var(--space-2);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
}

.item-details-modern h3 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.item-sku-modern {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
}

.combo-items-list-modern {
    margin-top: var(--space-2);
}

.combo-items-modern {
    list-style: none;
    padding: 0;
    margin: var(--space-1) 0 0 0;
}

.combo-items-modern li {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    padding: 2px 0;
}

.item-points-modern {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--font-size-sm);
    color: var(--primary);
    margin-top: var(--space-2);
}

.item-points-modern i {
    font-size: var(--font-size-sm);
}

/* Quantity Controls */
.item-quantity-modern {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.qty-btn-modern {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.qty-btn-modern:hover {
    background: var(--gray-200);
}

.qty-input-modern {
    width: 50px;
    height: 32px;
    border: none;
    text-align: center;
    font-weight: var(--font-weight-medium);
    font-size: var(--font-size-sm);
}

/* Item Price */
.item-price-modern {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 100px;
}

.price-modern {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.unit-price-modern {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Remove Button */
.btn-remove-modern {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    color: var(--error);
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.btn-remove-modern:hover {
    background: var(--error);
    color: var(--white);
}

/* Cart Summary */
.cart-summary-modern {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
}

.cart-summary-modern h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.price-breakdown-modern {
    margin-bottom: var(--space-6);
}

.price-row-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    font-size: var(--font-size-base);
}

.price-row-modern.total {
    border-top: 2px solid var(--border-color);
    margin-top: var(--space-3);
    padding-top: var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.price-row-modern.discount {
    color: var(--success);
}

.free-shipping {
    color: var(--success);
    font-weight: var(--font-weight-semibold);
}

.free-shipping-info-modern {
    padding: var(--space-3);
    background: var(--primary-bg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.free-shipping-info-modern i {
    color: var(--primary);
}

.earned-points-info-modern {
    display: flex;
    align-items: start;
    gap: var(--space-3);
    padding: var(--space-4);
    background: var(--primary-bg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-6);
}

.earned-points-info-modern i {
    font-size: var(--font-size-xl);
    color: var(--primary);
    margin-top: 2px;
}

.earned-points-info-modern strong {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.earned-points-info-modern p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

.btn-checkout-modern {
    width: 100%;
    margin-bottom: var(--space-3);
}

.cart-summary-modern .btn-outline-modern {
    width: 100%;
}


/* ============================================
   MODERN POINTS, PROFILE & WISHLIST PAGES
   ============================================ */

/* Points Page */
.points-page {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.points-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-8);
    text-align: center;
}

.points-balance {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin: var(--space-4) 0;
}

.points-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.stat-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.stat-card i {
    font-size: var(--font-size-3xl);
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.stat-value {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.points-history {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.points-history h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    flex: 1;
}

.transaction-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.transaction-date {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.transaction-points {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.transaction-points.earned {
    color: var(--success);
}

.transaction-points.used {
    color: var(--error);
}

/* Profile Page */
.profile-page {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--space-8);
}

@media (max-width: 992px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
}

.profile-sidebar {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: calc(var(--header-height) + var(--space-4));
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--space-4);
}

.profile-name {
    text-align: center;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.profile-email {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu-item {
    margin-bottom: var(--space-2);
}

.profile-menu-link {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.profile-menu-link:hover,
.profile-menu-link.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.profile-content {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.profile-section {
    margin-bottom: var(--space-8);
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-group-modern {
    margin-bottom: var(--space-4);
}

.form-label-modern {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.form-input-modern {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: var(--transition-fast);
}

.form-input-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-textarea-modern {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    resize: vertical;
    min-height: 100px;
}

.form-textarea-modern:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

/* Wishlist Page */
.wishlist-page {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    min-height: 60vh;
}

.wishlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-8);
}

.wishlist-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.wishlist-count {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}

.empty-wishlist {
    background: var(--white);
    padding: var(--space-16) var(--space-8);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.empty-wishlist i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: var(--space-4);
}

.empty-wishlist h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-wishlist p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    background: var(--gray-100);
    padding: var(--space-3);
    text-align: left;
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.orders-table td {
    padding: var(--space-3);
    border-bottom: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.order-status {
    display: inline-block;
    padding: 4px var(--space-2);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.order-status.pending {
    background: var(--warning);
    color: var(--white);
}

.order-status.completed {
    background: var(--success);
    color: var(--white);
}

.order-status.cancelled {
    background: var(--error);
    color: var(--white);
}

/* Address Cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.address-card {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
    position: relative;
}

.address-card.default {
    border-color: var(--primary);
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-3);
}

.address-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.default-badge {
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-xs);
    padding: 2px var(--space-2);
    border-radius: var(--border-radius);
}

.address-content {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.address-actions {
    display: flex;
    gap: var(--space-2);
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
}


/* ============================================
   LEGACY CLASS SUPPORT (for existing pages)
   ============================================ */

/* Points Page Legacy Classes */
.points-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-8);
}

.points-balance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
}

.balance-icon {
    font-size: 64px;
    opacity: 0.9;
}

.balance-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.balance-label {
    font-size: var(--font-size-base);
    opacity: 0.9;
}

.balance-amount {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
}

.balance-value {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.points-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
}

.btn-action {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    transition: var(--transition-fast);
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

.stat-card {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.stat-card i {
    font-size: var(--font-size-3xl);
    color: var(--primary);
}

.stat-card > div {
    display: flex;
    flex-direction: column;
}

/* Profile Page Legacy Classes */
.profile-sidebar {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.profile-info {
    text-align: center;
    margin-bottom: var(--space-6);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin: 0 auto var(--space-4);
}

.profile-name {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.profile-email {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.profile-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-menu li {
    margin-bottom: var(--space-2);
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.profile-menu a:hover,
.profile-menu a.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.profile-content {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.profile-section {
    margin-bottom: var(--space-8);
}

.profile-section:last-child {
    margin-bottom: 0;
}

.profile-section h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-danger {
    background: var(--error);
    color: var(--white);
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #388e3c;
}

/* Wishlist Page Legacy Classes */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
}

.wishlist-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.wishlist-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.wishlist-item-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.wishlist-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wishlist-item-info {
    padding: var(--space-4);
}

.wishlist-item-name {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
}

.wishlist-item-price {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    margin-bottom: var(--space-3);
}

.wishlist-item-actions {
    display: flex;
    gap: var(--space-2);
}

.wishlist-item-actions .btn {
    flex: 1;
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
}

/* Orders Table */
.orders-list {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.order-item {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: var(--space-4);
    align-items: center;
}

.order-item:last-child {
    border-bottom: none;
}

.order-id {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.order-date {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.order-total {
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.order-status {
    display: inline-block;
    padding: 4px var(--space-2);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

.order-status.processing {
    background: #cfe2ff;
    color: #084298;
}

.order-status.completed {
    background: #d1e7dd;
    color: #0f5132;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #842029;
}

/* Address Cards */
.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.address-card {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border: 2px solid var(--border-color);
}

.address-card.default {
    border-color: var(--primary);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-3);
}

.address-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
}

.address-badge {
    background: var(--primary);
    color: var(--white);
    font-size: var(--font-size-xs);
    padding: 2px var(--space-2);
    border-radius: var(--border-radius);
}

.address-content {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.address-actions {
    display: flex;
    gap: var(--space-2);
}

/* Transaction History */
.transactions-list {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.transaction-item {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-info {
    flex: 1;
}

.transaction-title {
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.transaction-date {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.transaction-points {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
}

.transaction-points.positive {
    color: var(--success);
}

.transaction-points.negative {
    color: var(--error);
}

/* Page Title */
.page-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-8);
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--space-4) 0;
    background: var(--bg-secondary);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb i {
    margin: 0 var(--space-2);
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
}

.breadcrumb span {
    color: var(--text-secondary);
}


/* ============================================
   POINTS PAGE COMPLETE STYLES
   ============================================ */

.earn-points-section {
    background: var(--white);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-8);
}

.earn-points-section h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.earn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-6);
}

.earn-card {
    background: var(--gray-50);
    padding: var(--space-6);
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition-fast);
}

.earn-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.earn-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-3xl);
    margin: 0 auto var(--space-4);
}

.earn-icon.quiz {
    background: #9c27b0;
}

.earn-icon.daily {
    background: #ff9800;
}

.earn-icon.invite {
    background: #4caf50;
}

.earn-card h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.earn-card p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-3);
}

.earn-points {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    margin-bottom: var(--space-4);
}

.btn-earn {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-earn:hover {
    background: var(--primary-dark);
}

.btn-earn:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.history-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--success);
}

.history-item.spent {
    border-left-color: var(--error);
}

.history-icon {
    width: 40px;
    height: 40px;
    background: var(--success);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
}

.history-item.spent .history-icon {
    background: var(--error);
}

.history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.history-info strong {
    font-size: var(--font-size-base);
    color: var(--text-primary);
}

.history-info span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.history-date {
    font-size: var(--font-size-xs) !important;
    color: var(--text-secondary) !important;
}

.history-points {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

.history-points.earned {
    color: var(--success);
}

.history-points.spent {
    color: var(--error);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-200);
    color: var(--text-primary);
    border-radius: 50%;
    font-size: var(--font-size-xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--gray-300);
}

.quiz-container h2,
.invite-container h2,
.transfer-container h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    text-align: center;
}

.quiz-question {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-6);
}

.quiz-question p {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    text-align: center;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.quiz-option {
    padding: var(--space-4);
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition-fast);
}

.quiz-option:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.quiz-option.correct {
    border-color: var(--success);
    background: #d1e7dd;
}

.quiz-option.wrong {
    border-color: var(--error);
    background: #f8d7da;
}

.quiz-reward {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
    background: var(--primary-bg);
    border-radius: var(--border-radius);
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

.transfer-form .form-group {
    margin-bottom: var(--space-4);
}

.transfer-form label {
    display: block;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
}

.transfer-form input {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
}

.form-hint {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-top: var(--space-1);
}

.btn-submit {
    width: 100%;
    padding: var(--space-4);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    transition: var(--transition-fast);
}

.btn-submit:hover {
    background: var(--primary-dark);
}


/* ============================================
   PRODUCT GRID & CARD (for wishlist & products)
   ============================================ */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-6);
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.product-badge {
    position: absolute;
    top: var(--space-2);
    left: var(--space-2);
    background: var(--primary);
    color: var(--white);
    padding: 4px var(--space-2);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    z-index: 2;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 10;
    padding: var(--space-4);
}

.product-card:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

.product-overlay .btn-add-cart-modern,
.product-overlay .btn-icon {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--white) !important;
    background: var(--primary) !important;
    padding: var(--space-3) var(--space-4) !important;
    white-space: nowrap;
}

.product-overlay .btn-add-cart-modern:hover,
.product-overlay .btn-icon:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.4);
}

.btn-icon {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-icon:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.btn-remove-wishlist {
    background: var(--error);
    color: var(--white);
}

.btn-remove-wishlist:hover {
    background: #c62828;
}

.product-info {
    padding: var(--space-4);
}

.product-name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    margin-bottom: var(--space-2);
}

.product-points {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.product-points i {
    color: var(--primary);
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.page-header h1 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.page-header p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
}


/* ============================================
   ORDERS PAGE STYLES
   ============================================ */

.empty-state {
    text-align: center;
    padding: var(--space-16) var(--space-8);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: var(--space-4);
}

.empty-state h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.order-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.order-card:hover {
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    background: var(--gray-50);
    border-bottom: 1px solid var(--border-color);
}

.order-header h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.order-date {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.order-status {
    padding: 6px var(--space-3);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-processing {
    background: #cfe2ff;
    color: #084298;
}

.status-shipped {
    background: #d1ecf1;
    color: #0c5460;
}

.status-delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.status-cancelled {
    background: #f8d7da;
    color: #842029;
}

.order-body {
    padding: var(--space-6);
}

.order-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary);
}

.order-total {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    text-align: right;
    margin-bottom: var(--space-4);
}

.order-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
}

.btn-view-detail,
.btn-cancel-order {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-view-detail {
    background: var(--primary);
    color: var(--white);
}

.btn-view-detail:hover {
    background: var(--primary-dark);
}

.btn-cancel-order {
    background: var(--gray-200);
    color: var(--text-primary);
}

.btn-cancel-order:hover {
    background: var(--error);
    color: var(--white);
}

/* Profile Header */
.profile-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-8);
    text-align: center;
}

.profile-header .profile-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto var(--space-4);
}

.profile-header h1 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-1);
}

.profile-header p {
    font-size: var(--font-size-base);
    opacity: 0.9;
    margin-bottom: var(--space-4);
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
}

.profile-stats .stat {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-base);
}

.profile-stats .stat i {
    font-size: var(--font-size-lg);
}


/* Bottom Navigation Badge */
.bottom-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bottom-nav-badge.has-items {
    opacity: 1 !important;
    visibility: visible !important;
}


/* ============================================
   BLOG & PAGE STYLES
   ============================================ */

.main-content {
    padding: var(--space-8) 0;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    justify-content: center;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
}

.page-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.page-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
}

/* Blog Grid */
.featured-posts,
.blog-posts {
    margin-bottom: var(--space-12);
}

.featured-posts h2,
.blog-posts h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
}

.featured-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.featured-post,
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.featured-post:hover,
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.post-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gray-100);
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.featured-post:hover .post-image img,
.blog-card:hover .post-image img {
    transform: scale(1.05);
}

.post-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-400);
    font-size: 48px;
}

.post-content {
    padding: var(--space-6);
}

.post-category {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-3);
    text-decoration: none;
}

.post-content h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.post-content h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.post-content h3 a:hover {
    color: var(--primary);
}

.post-excerpt {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.post-meta i {
    font-size: var(--font-size-sm);
}

/* Blog Post Detail */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
}

.post-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.post-header h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.post-body {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.post-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: var(--space-6) 0;
}

.post-body h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.post-body h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.post-body p {
    font-size: var(--font-size-base);
    line-height: 1.8;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.post-body ul,
.post-body ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.post-body li {
    margin-bottom: var(--space-2);
    line-height: 1.6;
}

/* Page Content */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
}

.page-article {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.page-article h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
}

.page-body {
    font-size: var(--font-size-base);
    line-height: 1.8;
    color: var(--text-primary);
}

.page-body h2 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.page-body h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--space-6);
    margin-bottom: var(--space-3);
}

.page-body p {
    margin-bottom: var(--space-4);
}

.page-body ul,
.page-body ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.page-body li {
    margin-bottom: var(--space-2);
}

/* Login/Register Pages */
.simple-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-4) 0;
}

.simple-header .logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
}

.simple-header .logo i {
    font-size: 24px;
}

.login-page,
.register-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
}

.login-container,
.register-container {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 450px;
}

.login-container h1,
.register-container h1 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    text-align: center;
}

.form-group {
    margin-bottom: var(--space-4);
}

.form-group label {
    display: block;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1);
}

.btn,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-base);
    cursor: pointer;
    transition: var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.alert {
    padding: var(--space-4);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

/* Error Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-12) 0;
}

.error-content {
    text-align: center;
    max-width: 500px;
}

.error-icon {
    font-size: 80px;
    color: var(--primary);
    margin-bottom: var(--space-6);
}

.error-page h1 {
    font-size: 120px;
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    line-height: 1;
    margin-bottom: var(--space-4);
}

.error-page h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
}

.error-page p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.error-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    padding: var(--space-2) 0;
    z-index: 1000;
    display: none;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: block;
    }
    
    body {
        padding-bottom: 60px;
    }
}

.bottom-nav-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
}

.bottom-nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-xs);
    padding: var(--space-2);
    position: relative;
}

.bottom-nav-link.active {
    color: var(--primary);
}

.bottom-nav-link i {
    font-size: var(--font-size-xl);
}

.bottom-nav-badge {
    position: absolute;
    top: 0;
    right: 50%;
    transform: translateX(12px);
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: var(--font-weight-bold);
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.bottom-nav-badge.has-items {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    z-index: 9999;
    transform: translateX(-100%);
    transition: var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    cursor: pointer;
}

.mobile-nav-content {
    padding: var(--space-4);
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: var(--primary-bg);
    color: var(--primary);
}

.mobile-nav-item i {
    font-size: var(--font-size-lg);
    width: 24px;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .featured-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-header h1 {
        font-size: var(--font-size-3xl);
    }
    
    .post-body,
    .page-article {
        padding: var(--space-6);
    }
    
    .login-container,
    .register-container {
        padding: var(--space-6);
    }
}


/* Contact Form Specific Styles */
.contact-page input:focus,
.contact-page select:focus,
.contact-page textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1) !important;
}

.contact-page input,
.contact-page select,
.contact-page textarea {
    box-sizing: border-box;
}

.contact-page .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.contact-page .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.3);
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-page form > div:first-child {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================
   ENHANCED PRODUCTS PAGE STYLES
   ============================================ */

/* Hero Section with Gradient Animation */
.products-hero {
    background: linear-gradient(135deg, #fff4f0 0%, #ffffff 50%, #fff4f0 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    padding: var(--space-8) 0 var(--space-6);
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.products-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 96, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.products-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 96, 0, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

/* Enhanced Product Cards with Better Hover */
.product-card-modern {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 96, 0, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: var(--border-radius-lg);
    pointer-events: none;
}

.product-card-modern:hover::before {
    opacity: 1;
}

.product-card-modern:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Shimmer Effect on Product Images */
.product-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.product-card-modern:hover .product-image-container::after {
    left: 200%;
}

/* Staggered Animation for Product Grid */
.product-card-modern {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.product-card-modern:nth-child(1) { animation-delay: 0.05s; }
.product-card-modern:nth-child(2) { animation-delay: 0.1s; }
.product-card-modern:nth-child(3) { animation-delay: 0.15s; }
.product-card-modern:nth-child(4) { animation-delay: 0.2s; }
.product-card-modern:nth-child(5) { animation-delay: 0.25s; }
.product-card-modern:nth-child(6) { animation-delay: 0.3s; }
.product-card-modern:nth-child(n+7) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Badge Styles */
.product-badge-modern {
    position: relative;
    overflow: hidden;
}

.product-badge-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

@keyframes badgeShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* Wishlist Button Pulse Effect */
.product-wishlist-modern {
    position: relative;
}

.product-wishlist-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--error);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.4s ease;
}

.product-wishlist-modern.active::after {
    animation: heartPulse 0.6s ease;
}

@keyframes heartPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.4;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Price Animation */
.product-price-current {
    position: relative;
    display: inline-block;
}

.product-card-modern:hover .product-price-current {
    animation: priceGlow 1.5s ease-in-out infinite;
}

@keyframes priceGlow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 96, 0, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 96, 0, 0.6);
    }
}

/* Enhanced Add to Cart Button */
.btn-add-cart-modern {
    position: relative;
    overflow: hidden;
}

.btn-add-cart-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-add-cart-modern:active::before {
    width: 300px;
    height: 300px;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    padding: var(--space-4);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--primary-bg);
    color: var(--primary);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.filter-chip:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.filter-chip i {
    font-size: var(--font-size-xs);
    cursor: pointer;
}

.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--error);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters:hover {
    background: #d32f2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Mobile Sidebar Styles */
.mobile-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sidebar-toggle:hover {
    background: var(--primary-bg);
    border-color: var(--primary);
}

.mobile-sidebar-toggle i:first-child {
    color: var(--primary);
}

@media (max-width: 992px) {
    .mobile-sidebar-toggle {
        display: flex;
    }
    
    .sidebar-modern {
        display: none;
    }
}

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: var(--white);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.mobile-sidebar-drawer.active {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
    background: var(--primary-bg);
}

.mobile-sidebar-header h3 {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-lg);
    color: var(--primary);
    margin: 0;
}

.mobile-sidebar-close {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sidebar-close:hover {
    background: var(--error);
    color: var(--white);
}

.mobile-sidebar-content {
    padding: var(--space-4);
}

/* Loading State for Products */
.products-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-16);
    gap: var(--space-4);
}

.products-loading .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* View Toggle Buttons */
.view-toggle {
    display: flex;
    gap: var(--space-1);
    background: var(--gray-100);
    padding: var(--space-1);
    border-radius: var(--border-radius);
}

.view-btn {
    padding: var(--space-2) var(--space-3);
    background: transparent;
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.view-btn:hover:not(.active) {
    color: var(--primary);
}

/* Grid View Variations */
.products-grid-compact .product-card-modern {
    padding: var(--space-3);
}

.products-grid-compact .product-info-modern {
    padding: var(--space-3);
}

/* Discount Badge Pulse */
.product-discount {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Stock Status Indicator */
.stock-indicator {
    position: absolute;
    bottom: var(--space-3);
    left: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    z-index: 2;
}

.stock-indicator.in-stock {
    color: var(--success);
}

.stock-indicator.low-stock {
    color: var(--warning);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.stock-indicator.out-of-stock {
    color: var(--error);
}

.stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .products-hero {
        padding: var(--space-8) 0 var(--space-6);
    }
    
    .products-hero::before,
    .products-hero::after {
        width: 300px;
        height: 300px;
    }
    
    .filter-chips {
        padding: var(--space-3);
    }
}


/* ============================================
   USER DROPDOWN MENU
   ============================================ */

.user-dropdown {
    position: relative;
}

.user-dropdown-toggle {
    cursor: pointer;
    border: none;
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-2);
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.user-dropdown-toggle:hover {
    background: var(--gray-100);
}

.user-dropdown-toggle .fa-chevron-down {
    transition: transform 0.3s ease;
}

.user-dropdown:hover .user-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    overflow: hidden;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 100%);
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.3);
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--space-2) 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
    position: relative;
}

.user-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.user-dropdown-item:hover {
    background: var(--gray-50);
    padding-left: calc(var(--space-4) + 3px);
}

.user-dropdown-item:hover::before {
    transform: scaleY(1);
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    transition: color 0.2s ease;
}

.user-dropdown-item:hover i {
    color: var(--primary);
}

.user-dropdown-item span {
    flex: 1;
}

.user-dropdown-badge {
    background: var(--primary-bg);
    color: var(--primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    padding: 2px 8px;
    border-radius: var(--border-radius);
    margin-left: auto;
}

.user-dropdown-item.logout {
    color: var(--error);
}

.user-dropdown-item.logout i {
    color: var(--error);
}

.user-dropdown-item.logout:hover {
    background: rgba(244, 67, 54, 0.1);
}

.user-dropdown-item.logout:hover::before {
    background: var(--error);
}

/* Animation for dropdown items */
.user-dropdown-menu .user-dropdown-item {
    animation: slideInRight 0.3s ease forwards;
    opacity: 0;
}

.user-dropdown:hover .user-dropdown-menu .user-dropdown-item:nth-child(1) {
    animation-delay: 0.05s;
}

.user-dropdown:hover .user-dropdown-menu .user-dropdown-item:nth-child(2) {
    animation-delay: 0.1s;
}

.user-dropdown:hover .user-dropdown-menu .user-dropdown-item:nth-child(3) {
    animation-delay: 0.15s;
}

.user-dropdown:hover .user-dropdown-menu .user-dropdown-item:nth-child(4) {
    animation-delay: 0.2s;
}

.user-dropdown:hover .user-dropdown-menu .user-dropdown-item:nth-child(5) {
    animation-delay: 0.25s;
}

.user-dropdown:hover .user-dropdown-menu .user-dropdown-item:nth-child(6) {
    animation-delay: 0.3s;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .user-dropdown-menu {
        right: -10px;
        min-width: 260px;
    }
    
    .user-dropdown-header {
        padding: var(--space-3);
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .user-name {
        font-size: var(--font-size-sm);
    }
    
    .user-email {
        font-size: 11px;
    }
    
    .user-dropdown-item {
        padding: var(--space-2) var(--space-3);
    }
    
    .user-dropdown-item:hover {
        padding-left: calc(var(--space-3) + 3px);
    }
}

/* Ensure dropdown appears above other content */
.user-dropdown-menu {
    z-index: 10001 !important;
}

/* Smooth appearance animation */
@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.user-dropdown:hover .user-dropdown-menu {
    animation: dropdownFadeIn 0.3s ease;
}


/* Mobile Touch Support for User Dropdown */
@media (max-width: 768px) {
    .user-dropdown.active .user-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .user-dropdown.active .user-dropdown-toggle .fa-chevron-down {
        transform: rotate(180deg);
    }
}

/* Tablet and Desktop - Keep hover behavior */
@media (min-width: 769px) {
    .user-dropdown.active .user-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


/* ============================================
   ENHANCED LOGIN/REGISTER PAGE STYLES
   ============================================ */

/* Simple Header for Auth Pages */
.simple-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-sm);
}

.simple-header .logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
    transition: var(--transition-fast);
}

.simple-header .logo:hover {
    transform: scale(1.05);
}

.simple-header .logo i {
    font-size: 28px;
}

/* Login/Register Page Layout */
.login-page,
.register-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-8) 0;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--white) 50%, var(--primary-bg) 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

.login-page::before,
.register-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 96, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

/* Auth Container */
.login-container,
.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    max-width: 1000px;
    width: 100%;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

@media (max-width: 992px) {
    .login-container,
    .register-container {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .benefits-box {
        display: none;
    }
}

/* Auth Box */
.auth-box {
    padding: var(--space-8);
}

.auth-box h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.auth-subtitle {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

/* Auth Form */
.auth-form {
    margin-bottom: var(--space-6);
}

.auth-form .form-group {
    margin-bottom: var(--space-4);
}

.auth-form label {
    display: block;
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="tel"] {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    font-family: inherit;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1);
}

.auth-form input::placeholder {
    color: var(--gray-400);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
    color: var(--text-secondary);
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-fast);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 96, 0, 0.4);
}

.btn-submit:active::before {
    width: 300px;
    height: 300px;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: var(--space-6) 0;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 var(--space-3);
}

/* Social Login */
.social-login {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--white);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn:hover {
    border-color: var(--primary);
    background: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.social-btn i {
    font-size: var(--font-size-lg);
}

.social-btn.google:hover {
    border-color: #DB4437;
    color: #DB4437;
}

.social-btn.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
}

/* Auth Switch */
.auth-switch {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.auth-switch .btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    margin-left: var(--space-1);
    transition: var(--transition-fast);
}

.auth-switch .btn-link:hover {
    text-decoration: underline;
}

/* Benefits Box */
.benefits-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefits-box h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.benefit-item {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.benefit-item strong {
    display: block;
    font-size: var(--font-size-base);
    margin-bottom: var(--space-1);
}

.benefit-item span {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* Alert Styles */
.alert {
    padding: var(--space-3);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.alert i {
    font-size: var(--font-size-lg);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-box {
        padding: var(--space-6);
    }
    
    .auth-box h2 {
        font-size: var(--font-size-2xl);
    }
    
    .login-page,
    .register-page {
        padding: var(--space-4) 0;
    }
}

@media (max-width: 480px) {
    .auth-box {
        padding: var(--space-4);
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
}


/* Additional Register Page Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-color);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: var(--transition-fast);
}

.auth-footer a:hover {
    text-decoration: underline;
}

.auth-benefits {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-8);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-benefits h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.auth-benefits li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
    padding: var(--space-4);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: slideInRight 0.6s ease forwards;
    opacity: 0;
}

.auth-benefits li:nth-child(1) { animation-delay: 0.1s; }
.auth-benefits li:nth-child(2) { animation-delay: 0.2s; }
.auth-benefits li:nth-child(3) { animation-delay: 0.3s; }
.auth-benefits li:nth-child(4) { animation-delay: 0.4s; }

.auth-benefits li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.auth-benefits li i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.auth-benefits li strong {
    display: block;
    font-size: var(--font-size-base);
    margin-bottom: var(--space-1);
}

.auth-benefits li span {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
}

/* Button with Icon */
.btn-submit i {
    margin-right: var(--space-2);
}


/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */

/* Checkout Header */
.checkout-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-4) 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.checkout-header .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
}

.checkout-header .logo {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-xl);
}

.checkout-header .logo i {
    font-size: 28px;
}

.checkout-header .header-nav {
    display: flex;
    gap: var(--space-4);
}

.checkout-header .nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    text-decoration: none;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.checkout-header .nav-link:hover {
    color: var(--primary);
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: var(--success);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.secure-badge i {
    font-size: var(--font-size-base);
}

/* Checkout Progress */
.checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    padding-top: var(--space-4);
    position: relative;
}

.checkout-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    position: relative;
    z-index: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
}

.step span {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
}

.step.completed .step-number {
    background: var(--success);
    color: var(--white);
}

.step.completed span {
    color: var(--success);
}

.step.active .step-number {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 96, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.step.active span {
    color: var(--primary);
    font-weight: var(--font-weight-semibold);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(255, 96, 0, 0.2);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 96, 0, 0.1);
    }
}

/* Checkout Page */
.checkout-page {
    padding: var(--space-8) 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 200px);
}

/* Auth Prompt */
.auth-prompt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--space-8);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-8);
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.auth-prompt h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-3);
}

.auth-prompt p {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-6);
    opacity: 0.9;
}

.auth-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.auth-buttons .btn {
    padding: var(--space-3) var(--space-6);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.auth-buttons .btn-white {
    background: var(--white);
    color: #667eea;
}

.auth-buttons .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.auth-buttons .btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.auth-buttons .btn-outline:hover {
    background: var(--white);
    color: #667eea;
}

/* Checkout Layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--space-8);
}

@media (max-width: 992px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
}

/* Checkout Form */
.checkout-form {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.checkout-section {
    margin-bottom: var(--space-8);
}

.checkout-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.section-title i {
    color: var(--primary);
}

/* Address Cards */
.address-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.address-card {
    padding: var(--space-4);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.address-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.address-card.selected {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.address-card.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: var(--space-2);
    right: var(--space-2);
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.address-title {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.address-details {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    
    gap: var(--space-3);
}

.payment-method {
    padding: var(--space-4);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.payment-method:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.payment-method.selected {
    border-color: var(--primary);
    background: var(--primary-bg);
}

.payment-method input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.payment-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.payment-info {
    flex: 1;
}

.payment-name {
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-1);
    color: var(--text-primary);
}

.payment-desc {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Order Summary */
.order-summary {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--space-4) + 120px);
}

.summary-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
}

.summary-items {
    margin-bottom: var(--space-4);
}

.summary-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.summary-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-item-info {
    flex: 1;
    min-width: 0;
}

.summary-item-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--space-1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.summary-item-qty {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.summary-item-price {
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
}

.summary-totals {
    padding-top: var(--space-4);
    border-top: 2px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    font-size: var(--font-size-sm);
}

.summary-row.total {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--primary);
    padding-top: var(--space-4);
    border-top: 2px solid var(--border-color);
    margin-top: var(--space-3);
}

.complete-order-btn {
    width: 100%;
    padding: var(--space-4);
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.complete-order-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 96, 0, 0.4);
}

.complete-order-btn:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-header .header-nav {
        display: none;
    }
    
    .checkout-progress {
        gap: var(--space-4);
    }
    
    .checkout-progress::before {
        left: 15%;
        right: 15%;
    }
    
    .step span {
        font-size: 11px;
    }
    
    .step-number {
        width: 36px;
        height: 36px;
        font-size: var(--font-size-sm);
    }
    
    .address-grid {
        grid-template-columns: 1fr;
    }
    
    .order-summary {
        position: static;
    }
}


/* ============================================
   ORDERS PAGE STYLES
   ============================================ */

.profile-page {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    min-height: 70vh;
}

.profile-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
}

/* Orders List */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.order-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.order-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--gray-50);
    border-bottom: 1px solid var(--border-color);
}

.order-header h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.order-date {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.order-date i {
    font-size: var(--font-size-xs);
}

/* Order Status */
.order-status {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.status-pending {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
}

.order-status.status-processing {
    background: rgba(33, 150, 243, 0.1);
    color: var(--info);
}

.order-status.status-shipped {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.order-status.status-delivered {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
}

.order-status.status-cancelled {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
}

/* Order Body */
.order-body {
    padding: var(--space-4);
}

.order-info {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.info-item i {
    color: var(--primary);
    font-size: var(--font-size-base);
}

/* Order Items */
.order-items {
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-color);
}

.order-items h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.order-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-2);
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item-image {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--white);
}

.order-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-item-details {
    flex: 1;
    min-width: 0;
}

.order-item-name {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-item-meta {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.order-item-price {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--primary);
    white-space: nowrap;
}

/* Order Footer */
.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    background: var(--gray-50);
    border-top: 1px solid var(--border-color);
}

.order-total {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.order-total span {
    color: var(--primary);
}

.order-actions {
    display: flex;
    gap: var(--space-2);
}

.btn-order {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-order.primary {
    background: var(--primary);
    color: var(--white);
}

.btn-order.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-order.secondary {
    background: var(--white);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-order.secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary);
    color: var(--primary);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: var(--space-16) var(--space-4);
}

.empty-state i {
    font-size: 64px;
    color: var(--gray-300);
    margin-bottom: var(--space-4);
}

.empty-state h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.empty-state p {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.empty-state .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive */
@media (max-width: 768px) {
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }
    
    .order-info {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .order-footer {
        flex-direction: column;
        gap: var(--space-3);
        align-items: stretch;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .btn-order {
        justify-content: center;
    }
    
    .order-item {
        flex-direction: column;
    }
    
    .order-item-image {
        width: 100%;
        height: 150px;
    }
}

/* Order Detail Modal/Page Styles */
.order-detail-section {
    margin-bottom: var(--space-6);
}

.order-detail-section h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.order-detail-section h3 i {
    color: var(--primary);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
}

.detail-card {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.detail-card h4 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.detail-card p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-1);
}

.detail-card p:last-child {
    margin-bottom: 0;
}

/* Price Summary */
.price-summary {
    background: var(--gray-50);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-2) 0;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.price-row.total {
    border-top: 2px solid var(--border-color);
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.price-row.total .price-value {
    color: var(--primary);
}

.price-row.discount {
    color: var(--success);
}

.price-row.discount .price-value {
    color: var(--success);
}


/* Order Action Buttons */
.order-actions {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.btn-detail,
.btn-cancel {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.btn-detail {
    background: var(--primary);
    color: var(--white);
}

.btn-detail:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.3);
}

.btn-cancel {
    background: var(--white);
    color: var(--error);
    border: 1px solid var(--error);
}

.btn-cancel:hover {
    background: var(--error);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Order Address */
.order-address {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    border: 1px solid var(--border-color);
}

.order-address strong {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.order-address strong i {
    color: var(--primary);
}

.order-address p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--space-4);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-color);
    background: var(--gray-50);
}

.modal-header h3 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    width: 36px;
    height: 36px;
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--error);
    color: var(--white);
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal {
        padding: var(--space-2);
    }
    
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-header {
        padding: var(--space-3);
    }
}


/* ============================================
   CHECKOUT POINTS USAGE SECTION
   ============================================ */

.points-usage {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: var(--space-5);
    border-radius: var(--border-radius-lg);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-md);
}

.points-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    color: var(--white);
}

.points-info {
    color: var(--white);
}

.points-info i {
    font-size: 24px;
    margin-bottom: var(--space-2);
    display: block;
}

.points-label {
    font-size: var(--font-size-sm);
    opacity: 0.9;
    margin-bottom: var(--space-1);
}

.points-amount {
    font-size: 28px;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-1);
}

.points-value {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.points-input-section {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-4);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.points-input-section label {
    display: block;
    color: var(--white);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-2);
}

.points-input-section label i {
    margin-right: var(--space-1);
}

.points-input-group {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    margin-bottom: var(--space-2);
}

.points-input-group input {
    flex: 1;
    padding: var(--space-3);
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
}

.points-input-group button {
    padding: var(--space-3) var(--space-6);
    background: var(--white);
    color: #667eea;
    border: none;
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.points-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.points-quick-actions {
    display: flex;
    gap: var(--space-2);
}

.points-quick-actions button {
    flex: 1;
    padding: var(--space-2);
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.points-quick-actions button:hover {
    background: rgba(255, 255, 255, 0.4);
}

.points-applied-message {
    display: none;
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: rgba(76, 175, 80, 0.9);
    color: var(--white);
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
}

.points-applied-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

.points-applied-message i {
    margin-right: var(--space-1);
}

/* VAT Breakdown */
#vatBreakdown {
    margin: var(--space-2) 0;
}

#vatBreakdown .summary-row {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    padding: var(--space-1) 0;
}

/* Summary Row Variations */
.summary-row.subtotal-with-vat {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-3);
    margin-top: var(--space-2);
    font-weight: var(--font-weight-semibold);
}

.summary-row.discount {
    color: var(--success);
}

.summary-row.discount span:last-child {
    color: var(--success);
    font-weight: var(--font-weight-semibold);
}

.summary-row.points-discount {
    color: #667eea;
}

.summary-row.points-discount span:last-child {
    color: #667eea;
    font-weight: var(--font-weight-semibold);
}

/* Responsive Points Section */
@media (max-width: 768px) {
    .points-usage {
        padding: var(--space-4);
    }
    
    .points-amount {
        font-size: 24px;
    }
    
    .points-input-group {
        flex-direction: column;
    }
    
    .points-input-group button {
        width: 100%;
    }
}


/* VAT Info Box */
.vat-info-box {
    padding: var(--space-3);
    background: var(--gray-50);
    border-radius: var(--border-radius);
    margin-top: var(--space-3);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-align: center;
    border: 1px solid var(--border-color);
}

.vat-info-box i {
    margin-right: var(--space-1);
    color: var(--info);
}

/* Points Earn Info */
.points-earn-info {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-radius: var(--border-radius);
    margin-top: var(--space-4);
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.points-earn-info i {
    font-size: 24px;
    color: var(--warning);
    flex-shrink: 0;
}

.points-earn-info strong {
    display: block;
    font-size: var(--font-size-base);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
}

.points-earn-info p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin: 0;
}

/* Subtotal with VAT Row */
.summary-row.subtotal-with-vat {
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-3);
    margin-top: var(--space-2);
    font-weight: var(--font-weight-semibold);
}


/* Order Summary H3 Fix */
.order-summary h3,
.order-summary .summary-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

/* Ensure order summary has proper styling */
.order-summary {
    background: var(--white) !important;
    border-radius: var(--border-radius-lg) !important;
    padding: var(--space-6) !important;
    box-shadow: var(--shadow-sm) !important;
    position: sticky !important;
    top: calc(var(--space-4) + 120px) !important;
}

/* Summary Items Styling */
.summary-items {
    margin-bottom: var(--space-4);
    max-height: 300px;
    overflow-y: auto;
}

.summary-items::-webkit-scrollbar {
    width: 6px;
}

.summary-items::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.summary-items::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 3px;
}

.summary-items::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}


/* Summary Item Detailed Styling */
.summary-item {
    display: flex !important;
    gap: var(--space-3) !important;
    padding: var(--space-3) 0 !important;
    border-bottom: 1px solid var(--border-color) !important;
}

.summary-item:last-child {
    border-bottom: none !important;
}

.summary-item-image {
    width: 80px !important;
    height: 80px !important;
    border-radius: var(--border-radius) !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: var(--gray-100) !important;
}

.summary-item-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.summary-item-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.summary-item-name {
    font-size: var(--font-size-sm) !important;
    font-weight: var(--font-weight-medium) !important;
    margin-bottom: var(--space-1) !important;
    color: var(--text-primary) !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    line-height: 1.4 !important;
}

.summary-item-qty {
    font-size: var(--font-size-xs) !important;
    color: var(--text-secondary) !important;
    margin-bottom: var(--space-1) !important;
}

.summary-item-price {
    font-weight: var(--font-weight-semibold) !important;
    color: var(--primary) !important;
    font-size: var(--font-size-base) !important;
}

/* Summary Totals Enhanced */
.summary-totals {
    padding-top: var(--space-4) !important;
    border-top: 2px solid var(--border-color) !important;
    margin-top: var(--space-4) !important;
}

.summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: var(--space-2) 0 !important;
    font-size: var(--font-size-sm) !important;
    color: var(--text-secondary) !important;
}

.summary-row span:last-child {
    font-weight: var(--font-weight-medium) !important;
    color: var(--text-primary) !important;
}

.summary-row.total {
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--text-primary) !important;
    padding-top: var(--space-4) !important;
    border-top: 2px solid var(--border-color) !important;
    margin-top: var(--space-3) !important;
}

.summary-row.total span:last-child {
    color: var(--primary) !important;
    font-size: var(--font-size-xl) !important;
}


/* VAT Row Styling */
.summary-row.vat-row {
    color: var(--text-secondary) !important;
    font-size: var(--font-size-xs) !important;
}

.summary-row.vat-row span {
    color: var(--text-secondary) !important;
}


/* ============================================
   CHECKOUT FORM ENHANCEMENTS
   ============================================ */

/* Checkout Form Container */
.checkout-form {
    background: var(--white) !important;
    border-radius: var(--border-radius-lg) !important;
    padding: var(--space-6) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* Checkout Section */
.checkout-section {
    margin-bottom: var(--space-8) !important;
}

.checkout-section:last-child {
    margin-bottom: 0 !important;
}

/* Section Title */
.section-title {
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--text-primary) !important;
    margin-bottom: var(--space-4) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
}

.section-title i {
    color: var(--primary) !important;
    font-size: var(--font-size-lg) !important;
}

/* Form Group */
.form-group {
    margin-bottom: var(--space-4) !important;
}

.form-group label {
    display: block !important;
    font-weight: var(--font-weight-medium) !important;
    margin-bottom: var(--space-2) !important;
    color: var(--text-primary) !important;
    font-size: var(--font-size-sm) !important;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100% !important;
    padding: var(--space-3) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    font-size: var(--font-size-base) !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    background: var(--white) !important;
    color: var(--text-primary) !important;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1) !important;
}

.form-group textarea {
    resize: vertical !important;
    min-height: 100px !important;
}

/* Form Row (2 columns) */
.form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-4) !important;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
    }
}

/* Address Cards */
.address-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: var(--space-4) !important;
    margin-bottom: var(--space-4) !important;
}

.address-card {
    padding: var(--space-4) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    background: var(--white) !important;
}

.address-card:hover {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-sm) !important;
}

.address-card.selected {
    border-color: var(--primary) !important;
    background: var(--primary-bg) !important;
}

.address-card.selected::after {
    content: '\f00c' !important;
    font-family: 'Font Awesome 6 Free' !important;
    font-weight: 900 !important;
    position: absolute !important;
    top: var(--space-2) !important;
    right: var(--space-2) !important;
    width: 24px !important;
    height: 24px !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
}

.address-title {
    font-weight: var(--font-weight-semibold) !important;
    margin-bottom: var(--space-2) !important;
    color: var(--text-primary) !important;
    font-size: var(--font-size-base) !important;
}

.address-details {
    font-size: var(--font-size-sm) !important;
    color: var(--text-secondary) !important;
    line-height: 1.6 !important;
}

/* Payment Methods */
.payment-methods {
    display: flex !important;
    
    gap: var(--space-3) !important;
}

.payment-method {
    padding: var(--space-4) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-3) !important;
    background: var(--white) !important;
}

.payment-method:hover {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-sm) !important;
}

.payment-method.selected {
    border-color: var(--primary) !important;
    background: var(--primary-bg) !important;
}

.payment-method input[type="radio"] {
    width: 20px !important;
    height: 20px !important;
    accent-color: var(--primary) !important;
    cursor: pointer !important;
}

.payment-icon {
    width: 48px !important;
    height: 48px !important;
    background: var(--gray-100) !important;
    border-radius: var(--border-radius) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    color: var(--primary) !important;
    flex-shrink: 0 !important;
}

.payment-info {
    flex: 1 !important;
}

.payment-name {
    font-weight: var(--font-weight-semibold) !important;
    margin-bottom: var(--space-1) !important;
    color: var(--text-primary) !important;
    font-size: var(--font-size-base) !important;
}

.payment-desc {
    font-size: var(--font-size-sm) !important;
    color: var(--text-secondary) !important;
}

/* Checkbox Styling */
input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--primary) !important;
    cursor: pointer !important;
}

/* Submit Button */
.btn-submit,
button[type="submit"] {
    width: 100% !important;
    padding: var(--space-4) !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-bold) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
}

.btn-submit:hover,
button[type="submit"]:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 96, 0, 0.4) !important;
}

.btn-submit:disabled,
button[type="submit"]:disabled {
    background: var(--gray-400) !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Card Details Section */
.card-details {
    background: rgba(102, 126, 234, 0.05) !important;
    padding: var(--space-4) !important;
    border-radius: var(--border-radius) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
    margin-top: var(--space-4) !important;
}

.card-details h4 {
    font-size: var(--font-size-base) !important;
    font-weight: var(--font-weight-semibold) !important;
    margin-bottom: var(--space-3) !important;
    color: var(--text-primary) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
}

.card-details h4 i {
    color: #667eea !important;
}

/* Security Info */
.security-info {
    background: rgba(33, 150, 243, 0.1) !important;
    padding: var(--space-3) !important;
    border-radius: var(--border-radius) !important;
    font-size: var(--font-size-sm) !important;
    color: var(--info) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    margin-top: var(--space-3) !important;
}

.security-info i {
    font-size: var(--font-size-base) !important;
}

/* Terms Checkbox */
.terms-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: var(--space-2) !important;
    margin: var(--space-4) 0 !important;
}

.terms-checkbox label {
    font-size: var(--font-size-sm) !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    line-height: 1.5 !important;
}

.terms-checkbox a {
    color: var(--primary) !important;
    text-decoration: underline !important;
}


/* ============================================
   CHECKOUT PAGE FIXES - Additional Styles
   ============================================ */

/* Guest Checkout Section */
.guest-checkout-section {
    display: none;
}

.guest-checkout-section.active {
    display: block;
}

/* Member Badge */
.member-badge {
    color: #4caf50 !important;
    font-size: 14px !important;
    font-weight: normal !important;
    margin-left: var(--space-2) !important;
}

/* Auth Prompt Enhancements */
.auth-prompt {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: var(--space-8) !important;
    border-radius: var(--border-radius-lg) !important;
    margin-bottom: var(--space-8) !important;
    color: var(--white) !important;
    text-align: center !important;
    box-shadow: var(--shadow-lg) !important;
}

.auth-prompt i.fa-user-circle {
    font-size: 48px !important;
    margin-bottom: var(--space-4) !important;
    opacity: 0.9 !important;
    display: block !important;
}

.auth-prompt h2 {
    margin: 0 0 var(--space-3) 0 !important;
    font-size: var(--font-size-2xl) !important;
    color: var(--white) !important;
}

.auth-prompt p {
    margin: 0 0 var(--space-6) 0 !important;
    opacity: 0.9 !important;
    font-size: var(--font-size-base) !important;
    color: var(--white) !important;
}

.auth-buttons {
    display: flex !important;
    gap: var(--space-4) !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.auth-buttons .btn {
    padding: var(--space-3) var(--space-6) !important;
    border-radius: var(--border-radius) !important;
    font-weight: var(--font-weight-semibold) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    border: none !important;
    cursor: pointer !important;
}

.auth-buttons .btn-white {
    background: var(--white) !important;
    color: #667eea !important;
}

.auth-buttons .btn-white:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3) !important;
}

.auth-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border: 2px solid var(--white) !important;
}

.auth-buttons .btn-outline:hover {
    background: var(--white) !important;
    color: #667eea !important;
}

/* Saved Addresses Styling */
.saved-addresses {
    margin-bottom: var(--space-5) !important;
}

.saved-addresses > label {
    display: block !important;
    margin-bottom: var(--space-3) !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--text-primary) !important;
}

.address-list {
    display: grid !important;
    gap: var(--space-3) !important;
}

.address-list .address-card {
    display: block !important;
    padding: var(--space-4) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.address-list .address-card:hover {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-sm) !important;
}

.address-list .address-card input[type="radio"] {
    margin-right: var(--space-3) !important;
}

.address-list .address-card > div {
    display: inline-block !important;
    vertical-align: top !important;
    width: calc(100% - 30px) !important;
}

.address-list .address-card strong {
    display: block !important;
    margin-bottom: var(--space-1) !important;
    color: var(--text-primary) !important;
}

.address-list .address-card strong span {
    background: var(--success) !important;
    color: var(--white) !important;
    padding: 2px var(--space-2) !important;
    border-radius: var(--border-radius) !important;
    font-size: var(--font-size-xs) !important;
    margin-left: var(--space-2) !important;
}

.address-list .address-card p {
    margin: 0 !important;
    color: var(--text-secondary) !important;
    font-size: var(--font-size-sm) !important;
    line-height: 1.5 !important;
}

/* New Address Button */
.saved-addresses button[onclick="showNewAddressForm()"] {
    margin-top: var(--space-3) !important;
    padding: var(--space-3) var(--space-5) !important;
    background: var(--gray-100) !important;
    border: 2px dashed var(--gray-400) !important;
    border-radius: var(--border-radius) !important;
    color: var(--text-secondary) !important;
    cursor: pointer !important;
    width: 100% !important;
    font-weight: var(--font-weight-semibold) !important;
    transition: all 0.3s ease !important;
}

.saved-addresses button[onclick="showNewAddressForm()"]:hover {
    background: var(--gray-200) !important;
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

/* New Address Form */
#newAddressForm {
    display: none;
}

#newAddressForm.active {
    display: block;
}

/* Billing Address Form */
#billingAddressForm {
    display: none;
}

#billingAddressForm.active {
    display: block;
}

#billingAddressForm h3 {
    margin: 0 0 var(--space-4) 0 !important;
    color: var(--text-secondary) !important;
    font-size: var(--font-size-lg) !important;
}

/* Checkbox Label */
.checkbox-label {
    display: flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    cursor: pointer !important;
    margin-bottom: var(--space-4) !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    accent-color: var(--primary) !important;
}

.checkbox-label span {
    font-size: var(--font-size-base) !important;
    color: var(--text-primary) !important;
}

/* Payment Method Cards */
.payment-option {
    display: block !important;
    margin-bottom: var(--space-3) !important;
}

.payment-option input[type="radio"] {
    display: none !important;
}

.payment-card {
    display: flex !important;
    align-items: center !important;
    gap: var(--space-3) !important;
    padding: var(--space-4) !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.payment-option input[type="radio"]:checked + .payment-card {
    border-color: var(--primary) !important;
    background: var(--primary-bg) !important;
}

.payment-card:hover {
    border-color: var(--primary) !important;
    box-shadow: var(--shadow-sm) !important;
}

.payment-card i {
    font-size: 24px !important;
    color: var(--primary) !important;
}

.payment-card strong {
    display: block !important;
    margin-bottom: var(--space-1) !important;
    color: var(--text-primary) !important;
}

.payment-card small {
    display: block !important;
    color: var(--text-secondary) !important;
    font-size: var(--font-size-xs) !important;
}

/* Payment Info Boxes */
.payment-info {
    display: none;
    margin-top: var(--space-4) !important;
}

.payment-info.active {
    display: block !important;
}

/* Complete Order Button */
.btn-complete-order {
    width: 100% !important;
    padding: var(--space-4) !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-bold) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: var(--space-4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: var(--space-2) !important;
}

.btn-complete-order:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(255, 96, 0, 0.4) !important;
}

.btn-complete-order:disabled {
    background: var(--gray-400) !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Responsive Checkout */
@media (max-width: 768px) {
    .auth-buttons {
        flex-direction: column !important;
    }
    
    .auth-buttons .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* ============================================
   CHECKOUT FORM SECTION TITLES - LEFT ALIGN
   ============================================ */

.form-section h2 {
    font-size: var(--font-size-xl) !important;
    font-weight: var(--font-weight-bold) !important;
    color: var(--text-primary) !important;
    margin-bottom: var(--space-4) !important;
    display: flex !important;
    align-items: center !important;
    gap: var(--space-2) !important;
    text-align: left !important;
}

.form-section h2 i {
    color: var(--primary) !important;
    font-size: var(--font-size-lg) !important;
}

.form-section h3 {
    font-size: var(--font-size-lg) !important;
    font-weight: var(--font-weight-semibold) !important;
    color: var(--text-primary) !important;
    margin-bottom: var(--space-3) !important;
    text-align: left !important;
}


/* ============================================
   WISHLIST PAGE STYLES
   ============================================ */

.wishlist-page {
    padding: var(--space-12) 0;
    background: var(--bg-secondary);
    min-height: 70vh;
}

/* Page Header Modern */
.page-header-modern {
    text-align: center;
    margin-bottom: var(--space-12);
}

.page-header-modern h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.page-header-modern h1 i {
    color: var(--primary);
    font-size: var(--font-size-3xl);
}

.page-header-modern p {
    color: var(--text-secondary);
    font-size: var(--font-size-lg);
}

/* Wishlist Card Enhancements */
.wishlist-card {
    position: relative;
    transition: all 0.3s ease;
}

.wishlist-card .product-wishlist-modern {
    opacity: 1;
    visibility: visible;
}

.wishlist-card .product-wishlist-modern.active {
    background: var(--error);
    color: var(--white);
}

.wishlist-card .product-wishlist-modern.active:hover {
    background: #c82333;
    transform: scale(1.15) rotate(10deg);
}

/* Wishlist Meta Info */
.wishlist-meta {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-color);
}

.product-points {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--warning);
    font-weight: var(--font-weight-medium);
}

.product-points i {
    font-size: var(--font-size-base);
}

.wishlist-date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.wishlist-date i {
    font-size: 10px;
}

/* Wishlist Footer */
.wishlist-footer {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.wishlist-count {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
}

.wishlist-count i {
    color: var(--info);
}

/* Product Badge Variations */
.product-badge-modern.out-of-stock {
    background: var(--error);
}

.product-badge-modern.sold-out {
    background: var(--warning);
    color: var(--text-primary);
}

/* Remove from Wishlist Animation */
.wishlist-card.removing {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

/* Responsive Wishlist */
@media (max-width: 768px) {
    .wishlist-page {
        padding: var(--space-8) 0;
    }
    
    .page-header-modern {
        margin-bottom: var(--space-8);
    }
    
    .page-header-modern h1 {
        font-size: var(--font-size-2xl);
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .page-header-modern h1 i {
        font-size: var(--font-size-xl);
    }
    
    .wishlist-footer {
        padding: var(--space-6);
        margin-top: var(--space-8);
    }
}


/* ============================================
   PRODUCTS PAGE SPACING FIX
   ============================================ */

/* Reduce spacing between hero and products on products page */
.products-hero + .section-modern {
    padding-top: var(--space-2) !important;
}

/* Mobile spacing adjustment */
@media (max-width: 768px) {
    .products-hero {
        padding: var(--space-6) 0 var(--space-4) !important;
    }
    
    .products-hero + .section-modern {
        padding-top: var(--space-4) !important;
    }
}


/* ============================================
   HEADER SEARCH BAR FIX - CRITICAL
   ============================================ */

/* Force search container to display properly */
.modern-header .search-container {
    display: block !important;
    flex: 1 !important;
    max-width: 600px !important;
    margin: 0 var(--space-4) !important;
}

.modern-header .search-container form {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

.modern-header .search-input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 80px 0 48px !important;
    border: 2px solid var(--border-color) !important;
    border-radius: var(--border-radius-lg) !important;
    font-size: var(--font-size-base) !important;
    background: var(--white) !important;
    font-family: var(--font-family) !important;
    box-sizing: border-box !important;
}

.modern-header .search-input:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.1) !important;
}

.modern-header .search-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--gray-500) !important;
    font-size: 18px !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.modern-header .search-btn {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: var(--primary) !important;
    color: var(--white) !important;
    border: none !important;
    padding: 0 !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    width: 60px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2 !important;
    flex-shrink: 0 !important;
}

.modern-header .search-btn:hover {
    background: var(--primary-dark) !important;
}

.modern-header .search-btn i {
    font-size: 16px !important;
}

/* Mobile - hide search container */
@media (max-width: 768px) {
    .modern-header .search-container {
        display: none !important;
    }
}


/* ============================================
   WISHLIST REMOVE BUTTON IN OVERLAY
   ============================================ */

.btn-remove-from-wishlist {
    background: var(--error) !important;
    color: var(--white) !important;
    border: none !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: var(--border-radius) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.btn-remove-from-wishlist:hover {
    background: #c82333 !important;
    transform: scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4) !important;
}

.btn-remove-from-wishlist i {
    font-size: var(--font-size-lg) !important;
}

/* Wishlist overlay layout adjustment */
.wishlist-card .product-overlay {
    display: flex !important;
    gap: var(--space-2) !important;
    padding: var(--space-4) !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .wishlist-card .product-overlay {
        padding: var(--space-3) var(--space-2) !important;
        gap: var(--space-1) !important;
    }
    
    .btn-remove-from-wishlist {
        width: 36px !important;
        height: 36px !important;
    }
}
