/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Quick Register Section Styles */
.quick-register-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.quick-register-divider {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.quick-register-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: #e0e0e0;
}

.quick-register-divider span {
    background: white;
    padding: 0 20px;
    color: #666;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.quick-register-content {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    color: white;
}

.quick-register-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.quick-register-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.quick-register-content .btn-primary {
    background: white;
    color: #667eea;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.quick-register-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.quick-register-content .btn-primary i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .quick-register-content {
        padding: 20px;
    }
    
    .quick-register-content h3 {
        font-size: 20px;
    }
    
    .quick-register-content p {
        font-size: 14px;
    }
    
    .quick-register-content .btn-primary {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    opacity: 0;
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #28a745;
    color: #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
    color: #dc3545;
}

.notification-info {
    border-left: 4px solid #17a2b8;
    color: #17a2b8;
}

.notification-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.notification-close:hover {
    opacity: 1;
}

/* Cart Button Loading State */
.add-to-cart-btn.loading {
    pointer-events: none;
    opacity: 0.6;
}

.add-to-cart-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Favorite Button States */
.favorite-btn.active {
    color: #e74c3c;
}

.favorite-btn.active i {
    font-weight: 900;
}

/* Product Card Hover Effects */
.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Cart Item Animations */
.cart-item {
    transition: all 0.3s ease;
}

.cart-item.removing {
    opacity: 0;
    transform: translateX(100%);
}

/* Quantity Input Styles */
.quantity-input {
    width: 60px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    padding: 5px 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .notification {
        min-width: 250px;
        font-size: 14px;
    }
    
    .quantity-input {
        width: 50px;
    }
    
    .add-to-cart-btn {
        font-size: 14px;
        padding: 8px 12px;
    }
}

:root {
    /* Light Mode Colors - Green Theme */
    --primary-color: #228b22;
    --primary-dark: #1a6b1a;
    --secondary-color: #228b22;
    --accent-color: #EF4444;
    --text-primary: #2C3E50;
    --text-secondary: #7F8C8D;
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-tertiary: #E9ECEF;
    --border-color: #DEE2E6;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary-color: #228b22;
    --primary-dark: #1a6b1a;
    --secondary-color: #228b22;
    --accent-color: #F87171;
    --text-primary: #E9ECEF;
    --text-secondary: #ADB5BD;
    --bg-primary: #1A1D29;
    --bg-secondary: #252836;
    --bg-tertiary: #2D3142;
    --border-color: #3A3F54;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Cairo', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header Styles ===== */
.header {
    background: var(--bg-primary);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    margin-bottom: 0;
}

/* Top Bar */
.header-top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-text {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.top-bar-text i {
    color: var(--primary-color);
    font-size: 11px;
}

.top-bar-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.top-bar-link:hover {
    color: var(--primary-color);
}

.top-bar-btn {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.top-bar-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

/* Header Main */
.header-main {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-section {
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 10px;
}

.logo:hover .logo-img {
    transform: scale(1.05);
    transition: var(--transition);
}

/* Search Section */
.search-section {
    flex: 1;
    max-width: 700px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.search-category {
    padding: 12px 20px;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    border-left: 1px solid var(--border-color);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C3E50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    padding-right: 35px;
    padding-left: 15px;
}

[dir="ltr"] .search-category {
    border-left: none;
    border-right: 1px solid var(--border-color);
    padding-left: 35px;
    padding-right: 15px;
    background-position: right 15px center;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--primary-dark);
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.action-btn {
    position: relative;
    background: var(--bg-secondary);
    border: none;
    min-width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    transition: var(--transition);
    padding: 0 12px;
    text-decoration: none;
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.action-btn .cart-text,
.action-btn .account-text {
    font-size: 13px;
    font-weight: 600;
    display: none;
}

@media (min-width: 1200px) {
    .action-btn .cart-text,
    .action-btn .account-text {
        display: block;
    }
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-color);
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* Header Nav */
.header-nav {
    padding: 12px 0;
    background: var(--bg-primary);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-categories {
    position: relative;
    flex-shrink: 0;
}

.categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.categories-btn i.fa-chevron-down {
    font-size: 12px;
    margin-right: 0;
    margin-left: 5px;
}

.categories-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.categories-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--bg-primary);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 15px;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
    border: 1px solid var(--border-color);
}

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

.category-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    margin-bottom: 5px;
}

.category-link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    transform: translateX(-5px);
}

.category-link i {
    width: 20px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 5px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 10px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    font-size: 14px;
}

.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 20px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 40px);
}

.become-seller-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
    text-decoration: none;
}

.become-seller-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== Hero Cover Section ===== */
.hero-cover {
    width: 100%;
    margin-top: 0;
}

.hero-cover-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.hero-cover-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.6) 0%, rgba(26, 107, 26, 0.7) 100%);
}

.hero-cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
}

.hero-cover-title {
    font-size: 56px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -1px;
}

.hero-cover-subtitle {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-cover-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-cover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    background: var(--primary-color);
    color: white;
}

@media (max-width: 768px) {
    .hero-cover-image {
        height: 350px;
    }
    
    .hero-cover-title {
        font-size: 38px;
    }
    
    .hero-cover-subtitle {
        font-size: 18px;
    }
    
    .hero-cover-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-cover-image {
        height: 300px;
    }
    
    .hero-cover-title {
        font-size: 32px;
    }
    
    .hero-cover-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .hero-cover-btn {
        padding: 12px 28px;
        font-size: 15px;
    }
}

/* ===== Section Styles ===== */
section {
    padding: 40px 0;
}

section:not(.hero-cover):first-of-type {
    padding-top: 30px;
    margin-top: 20px;
}

.best-products,
.top-sellers,
.new-products,
.featured-stores {
    padding: 50px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    margin-top: 10px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.view-all-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* ===== Categories Grid ===== */
.main-categories {
    padding-top: 30px;
}

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

@media (max-width: 768px) {
    .categories-grid {
        display: flex;
        overflow-x: auto;
        gap: 15px;
        padding-bottom: 15px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    .categories-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .category-card {
        flex: 0 0 140px;
        scroll-snap-align: start;
        padding: 20px 15px;
    }
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

.category-card {
    background: var(--bg-secondary);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: var(--bg-primary);
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
}

.category-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.category-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* ===== Flash Sale ===== */
.flash-sale {
    background: linear-gradient(135deg, #228b22 0%, #1a6b1a 100%);
    padding: 50px 0;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.flash-sale::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.05) 10px,
        rgba(255, 255, 255, 0.05) 20px
    );
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.flash-sale .container {
    position: relative;
    z-index: 1;
}

.flash-sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.flash-sale .section-title,
.flash-sale .section-subtitle {
    color: white;
}

.countdown-timer {
    display: flex;
    gap: 15px;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.timer-item {
    text-align: center;
}

.timer-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.timer-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.timer-separator {
    font-size: 24px;
    color: white;
    font-weight: 700;
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* ----- Modern E-commerce Product Card (Noon/Jumia Style) ----- */
.product-card {
    background: var(--bg-primary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

.product-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    flex: 1;
    height: 100%;
}

.product-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    z-index: 3;
    background: linear-gradient(135deg, var(--accent-color) 0%, #dc2626 100%);
    color: #fff;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.product-badge.new {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a6b1a 100%);
    box-shadow: 0 2px 8px rgba(34, 139, 34, 0.25);
}

.product-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
    filter: brightness(1.02);
}

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 30%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-card-action:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.product-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card-store {
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 2px;
}

.product-card-store:hover {
    color: var(--primary-color);
}

.product-card-store i {
    font-size: 9px;
}

.product-card-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--text-primary);
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-line-clamp: 2;
    -moz-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    transition: color 0.3s ease;
    margin-bottom: 4px;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-card-title a:hover {
    color: var(--primary-color);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    margin-bottom: 6px;
}

.product-card-rating i {
    color: #EAB308;
    font-size: 11px;
}

.product-card-rating i.far {
    color: var(--border-color);
}

.product-card-rating span {
    color: var(--text-secondary);
    font-size: 11px;
    margin-right: 2px;
    font-weight: 400;
}

.product-card-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 4px;
}

.product-card-price .price-old {
    color: var(--text-secondary);
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400;
}

.product-card-price .price-new {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-card-price .price-new:only-child {
    color: var(--primary-color);
}

.product-card-cta.add-to-cart-btn {
    margin: 8px 12px 12px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-card-cta.add-to-cart-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4c51bf 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
    transform: translateY(-1px);
}

/* Legacy class compatibility (same card, old markup) */
.product-image { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--bg-secondary); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.product-info { padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.product-vendor-link { font-size: 11px; color: var(--text-secondary); text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 3px; margin-bottom: 2px; }
.product-vendor-link:hover { color: var(--primary-color); }
.product-vendor-link i { font-size: 9px; }
.product-name { font-size: 14px; font-weight: 600; line-height: 1.3; margin: 0 0 4px; color: var(--text-primary); display: -webkit-box; display: -moz-box; display: box; -webkit-line-clamp: 2; -moz-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; -moz-box-orient: vertical; box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--primary-color); }
.product-rating { display: flex; align-items: center; gap: 4px; font-size: 12px; margin-bottom: 6px; }
.product-rating i { color: #EAB308; font-size: 11px; }
.product-rating span { color: var(--text-secondary); font-size: 11px; font-weight: 400; }
.product-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; margin-top: auto; }
.price-old { color: var(--text-secondary); text-decoration: line-through; font-size: 12px; font-weight: 400; }
.price-new { color: var(--primary-color); font-size: 16px; font-weight: 700; }
.product-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 30%, transparent 70%); display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity 0.3s ease; }
.product-card:hover .product-overlay { opacity: 1; }
.product-card:hover .product-image img { transform: scale(1.05); }
.quick-view-btn, .favorite-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,0.95); color: var(--text-primary); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 14px; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.15); }
.quick-view-btn:hover, .favorite-btn:hover { background: var(--primary-color); color: #fff; transform: scale(1.1); }

.add-to-cart-btn {
    width: 100%;
    padding: 11px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(34, 139, 34, 0.4);
    transform: translateY(-1px);
}

/* ===== Stores Grid ===== */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.store-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
}

.store-card:nth-child(1) { animation-delay: 0.1s; }
.store-card:nth-child(2) { animation-delay: 0.2s; }
.store-card:nth-child(3) { animation-delay: 0.3s; }
.store-card:nth-child(4) { animation-delay: 0.4s; }
.store-card:nth-child(5) { animation-delay: 0.5s; }
.store-card:nth-child(6) { animation-delay: 0.6s; }
.store-card:nth-child(7) { animation-delay: 0.7s; }
.store-card:nth-child(8) { animation-delay: 0.8s; }

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

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.store-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.store-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.store-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.store-rating i {
    color: #FFD700;
    font-size: 14px;
}

.store-rating span {
    color: var(--text-secondary);
    margin-right: 5px;
}

.store-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.stat-item i {
    color: var(--primary-color);
}

.visit-store-btn {
    width: 100%;
    padding: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.visit-store-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-secondary);
    padding: 30px 0 15px;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-logo i {
    font-size: 20px;
}

.footer-description {
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 12px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-btn {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 12px;
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== LTR Support for English ===== */
[dir="ltr"] {
    direction: ltr;
}

[dir="ltr"] .view-all-link i {
    transform: rotate(180deg);
}

[dir="ltr"] .search-btn {
    right: 5px;
    left: auto;
}

[dir="ltr"] .search-input {
    text-align: left;
}

[dir="ltr"] .section-title::after {
    right: auto;
    left: 0;
}

[dir="ltr"] .nav-link::after {
    right: auto;
    left: 20px;
}

[dir="ltr"] .nav-link:hover::after {
    width: calc(100% - 40px);
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(5px);
}

[dir="ltr"] .category-link:hover {
    transform: translateX(5px);
}

[dir="ltr"] .back-to-top {
    right: 30px;
    left: auto;
}

/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 968px) {
    .header-top-bar {
        display: none;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .search-section {
        order: 3;
        width: 100%;
        max-width: 100%;
    }
    
    .search-bar {
        border-radius: 12px;
    }
    
    .search-btn span {
        display: none;
    }
    
    .nav-content {
        flex-wrap: wrap;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .action-btn .cart-text,
    .action-btn .account-text {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .flash-sale-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .countdown-timer {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 12px 0;
    }
    
    .header-content {
        gap: 15px;
    }
    
    .logo-img {
        height: 38px;
        max-width: 120px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .search-category {
        display: none;
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .action-btn {
        min-width: 40px;
        width: 40px;
        height: 40px;
        font-size: 16px;
        padding: 0;
    }
    
    .nav-content {
        gap: 10px;
    }
    
    .categories-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .nav-link {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .become-seller-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-top: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-img {
        height: 35px;
        max-width: 110px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .timer-value {
        font-size: 24px;
    }
    
    .timer-label {
        font-size: 12px;
    }
}

/* ===== Scroll Animations ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: slideInUp 0.6s ease-out;
}

/* ===== Smooth Scroll ===== */
html {
    scroll-behavior: smooth;
}

/* ===== Additional Animations ===== */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--primary-color); }
    50% { box-shadow: 0 0 20px var(--primary-color), 0 0 30px var(--primary-color); }
}

/* ===== Enhanced Hover Effects ===== */
/* (product card uses dedicated hover on image & overlay) */

/* ===== Loading Skeleton ===== */
.skeleton {
    background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== Enhanced Button Styles ===== */
.btn-primary:active,
.add-to-cart-btn:active {
    transform: translateY(0) scale(0.98);
}

/* ===== Scrollbar Styling ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ===== Selection Color ===== */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* ===== Loading States ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ===== Stores Page Styles ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 50px 0;
    margin-bottom: 30px;
}

.page-header-content {
    text-align: center;
    color: white;
}

.page-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.95;
}

/* Products Filters Section */
.products-filters-section {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    margin-top: 20px;
    margin-bottom: 30px;
}

.products-filters-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Stores Filters */
.stores-filters {
    padding: 20px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    margin-top: 20px;
    margin-bottom: 30px;
}

.filters-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filters-left {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sort-select {
    padding: 10px 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.sort-select:focus {
    border-color: var(--primary-color);
}

.view-toggle-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: var(--transition);
}

.view-toggle-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Products Page */
.products-page {
    padding: 30px 0 60px;
}

/* Stores Page */
.stores-page {
    padding: 30px 0 60px;
}

.stores-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stores-container.list-view {
    grid-template-columns: 1fr;
}

/* Store Card Simple */
.store-card-simple {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}

.store-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.store-image-simple {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.store-image-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.store-card-simple:hover .store-image-simple img {
    transform: scale(1.1);
}

.store-content-simple {
    padding: 20px;
}

.store-name-simple {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    line-height: 1.3;
}

.store-description-simple {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    gap: 15px;
    flex-wrap: wrap;
}

.store-rating-simple {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars-simple {
    display: flex;
    gap: 2px;
}

.stars-simple i {
    color: #FFD700;
    font-size: 14px;
}

.rating-text-simple {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.store-products-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 14px;
}

.store-products-count i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Store Card Page - Keep for backward compatibility */
.store-card-page {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.store-card-page:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.store-header-page {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

.store-logo-page {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    flex-shrink: 0;
}

.store-info-page {
    flex: 1;
}

.store-name-page {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.store-rating-page {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #FFD700;
    font-size: 14px;
}

.rating-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 14px;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 13px;
}

.store-badge-page {
    position: absolute;
    top: 0;
    left: 0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: white;
}

.store-badge-page.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.store-badge-page.new {
    background: linear-gradient(135deg, var(--secondary-color), #1a6b1a);
}

.store-stats-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item-page {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item-page i {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.stat-item-page div {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.store-description-page {
    margin-bottom: 20px;
}

.store-description-page p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.store-actions-page {
    display: flex;
    gap: 10px;
}

.visit-store-btn-page {
    flex: 1;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.visit-store-btn-page:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.follow-store-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: var(--transition);
}

.follow-store-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.follow-store-btn.following {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.follow-store-btn.following i {
    color: white;
}

/* List View */
.stores-container.list-view .store-card-page {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px;
}

.stores-container.list-view .store-header-page {
    margin-bottom: 0;
    flex: 0 0 250px;
}

.stores-container.list-view .store-stats-page {
    margin-bottom: 0;
    padding: 0;
    border: none;
    flex: 1;
}

.stores-container.list-view .store-description-page {
    margin-bottom: 0;
    flex: 1;
}

.stores-container.list-view .store-actions-page {
    flex-shrink: 0;
    flex-direction: column;
    width: 150px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .filters-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-left {
        width: 100%;
        justify-content: center;
    }
    
    .filters-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .stores-container {
        grid-template-columns: 1fr;
    }
    
    .store-image-simple {
        height: 180px;
    }
    
    .store-footer-simple {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .store-stats-page {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stores-container.list-view .store-card-page {
        flex-direction: column;
        align-items: stretch;
    }
    
    .stores-container.list-view .store-header-page {
        flex: 1;
    }
    
    .stores-container.list-view .store-actions-page {
        width: 100%;
        flex-direction: row;
    }
}

/* ===== Store Page Styles ===== */
.store-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 40px 0;
    margin-bottom: 0;
}

.store-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: wrap;
}

.store-main-info {
    display: flex;
    gap: 25px;
    flex: 1;
    color: white;
}

.store-logo-large {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    overflow: hidden;
}

.store-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.store-details {
    flex: 1;
}

.store-header-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.store-name-large {
    font-size: 32px;
    font-weight: 900;
    margin: 0;
    color: white;
}

.store-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.store-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.store-badge.featured {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.store-badge.verified {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.store-rating-large {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stars-large {
    display: flex;
    gap: 3px;
}

.stars-large i {
    color: #FFD700;
    font-size: 18px;
}

.rating-value-large {
    font-size: 24px;
    font-weight: 700;
}

.rating-count-large {
    font-size: 14px;
    opacity: 0.9;
}

.view-reviews-link {
    color: white;
    text-decoration: underline;
    font-size: 14px;
    opacity: 0.9;
    transition: var(--transition);
}

.view-reviews-link:hover {
    opacity: 1;
}

.store-stats-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.stat-large {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-large i {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.stat-large div {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

/* Featured Store Card */
.featured-store-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.featured-store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-store-card:hover::before {
    opacity: 1;
}

.featured-store-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.store-logo {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.store-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 139, 34, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-store-card:hover .store-logo::after {
    opacity: 1;
}

.store-logo img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.featured-store-card:hover .store-logo img {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.store-details {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.store-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.featured-store-card:hover .store-title {
    color: var(--primary-color);
}

.store-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    gap: 12px;
}

.products-count {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.products-count::before {
    content: '📦';
    font-size: 14px;
}

.store-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #fbbf24;
}

.store-rating i {
    font-size: 14px;
}

/* Responsive Design for Featured Store Card */
@media (max-width: 768px) {
    .featured-store-card {
        margin-bottom: 20px;
    }
    
    .store-logo {
        height: 160px;
    }
    
    .store-logo img {
        width: 60px;
        height: 60px;
    }
    
    .store-details {
        padding: 20px;
    }
    
    .store-title {
        font-size: 18px;
    }
    
    .store-description {
        font-size: 13px;
    }
    
    .store-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .store-logo {
        height: 140px;
    }
    
    .store-logo img {
        width: 50px;
        height: 50px;
    }
    
    .store-details {
        padding: 16px;
    }
    
    .store-title {
        font-size: 16px;
    }
}

.stat-item {
    text-align: center;
    line-height: 1.2;
}

.stat-text {
    font-size: 12px;
    opacity: 0.9;
    color: white;
}

.store-actions-large {
    display: flex;
    gap: 10px;
    flex-direction: column;
    flex-shrink: 0;
}

.follow-store-btn-large,
.contact-store-btn,
.share-store-btn {
    padding: 12px 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.follow-store-btn-large:hover,
.contact-store-btn:hover,
.share-store-btn:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.follow-store-btn-large.following {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Store Tabs */
.store-tabs {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0;
}

.tabs-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
}

.tab-btn {
    padding: 18px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-primary);
}

/* Store Content */
.store-content {
    padding: 40px 0;
}

.tab-content {
    display: none;
}

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

.store-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-filters {
    display: flex;
    gap: 15px;
}

/* Store About */
.store-about {
    max-width: 900px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.feature-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Store Reviews */
.store-reviews {
    max-width: 900px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-summary {
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.rating-total {
    display: block;
    font-size: 48px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reviews-count {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 10px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-item {
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.reviewer-info {
    display: flex;
    gap: 15px;
    align-items: center;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.reviewer-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-rating i {
    color: #FFD700;
    font-size: 14px;
}

.review-date {
    color: var(--text-secondary);
    font-size: 14px;
}

.review-text {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Store Policies */
.store-policies {
    max-width: 900px;
}

.policies-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.policy-item {
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.policy-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-item h3 i {
    color: var(--primary-color);
    font-size: 24px;
}

.policy-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .store-banner-content {
        flex-direction: column;
    }
    
    .store-actions-large {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .store-main-info {
        width: 100%;
    }
    
    .store-stats-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* ===== Product Details Page Styles ===== */
.breadcrumb-section {
    padding: 15px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    color: var(--text-secondary);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

/* Product Details */
.product-details {
    padding: 40px 0;
}

.product-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Product Images */
.product-images-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-secondary);
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.image-zoom-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.image-zoom-btn:hover {
    background: white;
    transform: scale(1.1);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    background: var(--bg-secondary);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

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

.thumbnail:hover {
    transform: scale(1.05);
}

/* Product Info */
.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.product-vendor-link-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: var(--transition);
}

.product-vendor-link-large:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.3;
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-value-large {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.rating-count-large {
    color: var(--text-secondary);
    font-size: 14px;
}

.view-reviews-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.view-reviews-link:hover {
    text-decoration: underline;
}

/* Price Section */
.product-price-section {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.price-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.price-old-large {
    font-size: 24px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.price-new-large {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-color);
}

.discount-badge-large {
    padding: 6px 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.price-note {
    color: var(--text-secondary);
    font-size: 13px;
    margin: 0;
}

/* Product Options */
.product-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.color-option {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.color-option.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.color-option::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: 700;
    opacity: 0;
    transition: var(--transition);
}

.color-option.active::after {
    opacity: 1;
}

.storage-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.storage-option {
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.storage-option:hover {
    border-color: var(--primary-color);
}

.storage-option.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 0;
    width: fit-content;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 18px;
    font-weight: 700;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 45px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-family: 'Cairo', sans-serif;
}

.quantity-input:focus {
    outline: none;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.add-to-cart-btn-large {
    flex: 1;
    min-width: 200px;
    padding: 18px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
}

.add-to-cart-btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.buy-now-btn {
    flex: 1;
    min-width: 200px;
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    box-shadow: var(--shadow-md);
}

.buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.favorite-btn-large,
.share-btn-large {
    width: 55px;
    height: 55px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
    transition: var(--transition);
}

.favorite-btn-large:hover,
.share-btn-large:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.favorite-btn-large.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Product Features */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.product-features .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: none;
}

.product-features .feature-item i {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.product-features .feature-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.product-features .feature-item span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Product Tabs */
.product-tabs-section {
    padding: 40px 0;
    background: var(--bg-secondary);
}

.product-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 30px;
    overflow-x: auto;
}

.product-tab-btn {
    padding: 18px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.product-tab-btn:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
}

.product-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-primary);
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

.tab-content-inner {
    background: var(--bg-primary);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tab-content-inner h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tab-content-inner p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.description-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.description-list li {
    padding: 10px 0;
    padding-right: 25px;
    color: var(--text-secondary);
    position: relative;
    font-size: 15px;
}

.description-list li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Specifications Table */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid var(--border-color);
}

.specifications-table td {
    padding: 15px 0;
    font-size: 15px;
}

.specifications-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 200px;
}

.specifications-table td:last-child {
    color: var(--text-secondary);
}

/* Reviews Section */
.reviews-summary-section {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.rating-summary-box {
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.rating-total-box {
    font-size: 56px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.reviews-total {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 10px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-bar-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-bar-item span:first-child {
    width: 40px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    transition: var(--transition);
}

.rating-bar-item span:last-child {
    width: 40px;
    text-align: left;
    font-size: 14px;
    color: var(--text-secondary);
}

.reviews-list-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-item-detailed {
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.reviewer-info-detailed {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar-large {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.reviewer-info-detailed h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.review-rating-detailed {
    display: flex;
    gap: 3px;
    margin-bottom: 5px;
}

.review-rating-detailed i {
    color: #FFD700;
    font-size: 16px;
}

.review-date-detailed {
    color: var(--text-secondary);
    font-size: 13px;
}

.review-text-detailed {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.review-helpful {
    display: flex;
    gap: 10px;
}

.helpful-btn {
    padding: 8px 15px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.helpful-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Add Review Section */
.add-review-section {
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin: 25px 0;
}

.add-review-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.add-review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rating-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-input-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.rating-stars-input {
    display: flex;
    gap: 8px;
}

.rating-star-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
}

.rating-star-btn i {
    font-size: 24px;
    color: #ddd;
    transition: var(--transition);
}

.rating-star-btn:hover i {
    color: #FFD700;
    transform: scale(1.1);
}

.rating-star-btn.active i {
    color: #FFD700;
}

.review-comment-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-comment-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.review-comment-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.review-comment-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-review-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    align-self: flex-start;
}

.submit-review-btn:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.submit-review-btn:active {
    transform: translateY(0);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Shipping Info */
.shipping-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.shipping-info-item {
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.shipping-info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.shipping-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.shipping-info-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* Related Products */
.related-products {
    padding: 60px 0;
}

/* ===== Category Page Styles ===== */
.category-header {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.category-header-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.category-icon-large {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    flex-shrink: 0;
}

.category-header-info {
    flex: 1;
}

.category-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: white;
}

.category-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.category-stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.category-stat-item strong {
    font-size: 28px;
    font-weight: 900;
}

.category-stat-item span {
    font-size: 14px;
    opacity: 0.9;
}

/* Category Products Section */
.category-products-section {
    padding: 40px 0;
}

.category-products-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.filters-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-header-title i {
    color: var(--primary-color);
    font-size: 18px;
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.clear-filters-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    padding: 6px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.clear-filters-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.filter-group {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-title-wrapper i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.filter-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.price-input {
    flex: 1;
    padding: 4px 6px;
    border: 1.5px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 10px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
    height: 28px;
}

.price-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.1);
}

.price-separator {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 10px;
}

.apply-filter-btn {
    width: 100%;
    padding: 6px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow-sm);
    height: 28px;
}

.apply-filter-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.apply-filter-btn i {
    font-size: 10px;
}

.filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.filter-checkbox:hover {
    background: var(--bg-secondary);
}

.filter-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.filter-checkbox:hover .checkbox-custom {
    border-color: var(--primary-color);
}

.checkbox-label {
    font-size: 13px;
    color: var(--text-primary);
    flex: 1;
}

.rating-filter {
    display: flex;
    align-items: center;
    gap: 5px;
}

.rating-filter i {
    color: #FFD700;
    font-size: 14px;
}

.rating-filter span {
    margin-right: 5px;
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.toolbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-toggle-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.view-toggle-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.view-toggle-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.results-count {
    font-size: 14px;
    color: var(--text-secondary);
}

.results-count strong {
    color: var(--text-primary);
    font-weight: 700;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.sort-select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* List View */
.category-products-grid.list-view {
    grid-template-columns: 1fr;
}

.category-products-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.category-products-grid.list-view .product-card-link {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-width: 0;
}

.category-products-grid.list-view .product-card-image,
.category-products-grid.list-view .product-image {
    width: 200px;
    min-width: 200px;
    aspect-ratio: 1;
    height: auto;
    flex-shrink: 0;
}

.category-products-grid.list-view .product-card-body,
.category-products-grid.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.category-products-grid.list-view .product-card-cta {
    align-self: center;
    margin: 0 18px 0 0;
    width: auto;
    min-width: 140px;
}

/* Responsive */
@media (max-width: 968px) {
    .category-products-wrapper {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .category-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .category-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 28px;
    }
    
    .category-icon-large {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .category-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .category-products-grid.list-view .product-card {
        flex-direction: column;
    }

    .category-products-grid.list-view .product-card-link {
        flex-direction: column;
    }
    
    .category-products-grid.list-view .product-card-image,
    .category-products-grid.list-view .product-image {
        width: 100%;
        min-width: 0;
    }

    .category-products-grid.list-view .product-card-cta {
        width: 100%;
        margin: 0 18px 18px;
    }
}

/* ===== Offers Page Styles ===== */
.offers-header {
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.offers-header-content {
    display: flex;
    align-items: center;
    gap: 25px;
}

.offers-header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    flex-shrink: 0;
}

.offers-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: white;
}

.offers-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* Flash Sale Banner */
.flash-sale-banner {
    padding: 50px 0;
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
    position: relative;
    overflow: hidden;
}

.flash-sale-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.05) 20px,
        rgba(255, 255, 255, 0.05) 40px
    );
    animation: slide 30s linear infinite;
}

.flash-sale-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.flash-sale-info {
    color: white;
}

.flash-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.flash-sale-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.flash-sale-desc {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.countdown-timer {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px 20px;
    text-align: center;
    min-width: 80px;
}

.countdown-value {
    display: block;
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.countdown-label {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    font-weight: 600;
}

.flash-sale-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.flash-sale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Offers Tabs */
.offers-tabs-section {
    padding: 30px 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.offers-tabs-nav {
    display: flex;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.offer-tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.offer-tab-btn:hover {
    color: var(--primary-color);
    background: var(--bg-primary);
}

.offer-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--bg-primary);
}

/* Offers Section */
.offers-section {
    padding: 40px 0;
}

.offers-content {
    display: none;
}

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

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.offer-card {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.offer-badge-large {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 8px 14px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 900;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.offer-card.flash-offer .offer-badge-large {
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
    animation: pulse 2s infinite;
}

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

.offer-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
}

.offer-card:hover .offer-overlay {
    opacity: 1;
}

.offer-info {
    padding: 20px;
}

.offer-vendor-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: var(--transition);
}

.offer-vendor-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.offer-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
}

.offer-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
    font-size: 13px;
}

.offer-rating i {
    color: #FFD700;
    font-size: 14px;
}

.offer-rating span {
    color: var(--text-secondary);
    font-size: 12px;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.offer-price .price-old {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.offer-price .price-new {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}

.offer-countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 10px;
}

.offer-countdown i {
    color: var(--accent-color);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 968px) {
    .flash-sale-content {
        grid-template-columns: 1fr;
    }
    
    .flash-sale-image {
        order: -1;
    }
    
    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .offers-title {
        font-size: 28px;
    }
    
    .offers-header-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .flash-sale-title {
        font-size: 32px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 12px 15px;
    }
    
    .countdown-value {
        font-size: 24px;
    }
    
    .offers-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .offer-tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .offers-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
}

/* ===== About Page Styles ===== */
/* About Story */
.about-story {
    padding: 40px 0;
}

.about-story-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-story-header .section-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.about-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-story-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Mission & Vision */
.mission-vision {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.mission-box,
.vision-box {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.mission-box:hover,
.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.mission-icon,
.vision-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 32px;
}

.mission-title,
.vision-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.mission-text,
.vision-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Values */
.about-values {
    padding: 60px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.value-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Why Choose Us */
.why-choose-us {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 35px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 32px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .about-hero-content {
        grid-template-columns: 1fr;
    }
    
    .about-hero-image {
        order: -1;
    }
    
    .about-story-content {
        grid-template-columns: 1fr;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-hero-title {
        font-size: 36px;
    }
    
    .about-hero-subtitle {
        font-size: 16px;
    }
    
    .about-story-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-box {
        padding: 20px 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .mission-box,
    .vision-box {
        padding: 30px 25px;
    }
    
    .values-grid,
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===== Contact Page Styles ===== */
/* Contact Section */
.contact-section {
    padding: 40px 0;
}

.contact-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-title {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-info-header {
    margin-bottom: 10px;
}

.contact-info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-info-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-method {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-method:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.contact-method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-method-content {
    flex: 1;
}

.contact-method-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-method-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    line-height: 1.6;
}

.contact-method-text:last-child {
    margin-bottom: 0;
}

.social-contact {
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.social-contact-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.social-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.social-contact-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.social-contact-link i {
    font-size: 16px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.contact-form-header {
    margin-bottom: 30px;
}

.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.contact-form-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    margin-top: 10px;
}

.contact-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 32px;
    }
    
    .contact-subtitle {
        font-size: 16px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .contact-method {
        padding: 20px;
    }
    
    .contact-method-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===== Search Results Page Styles ===== */
.search-results-section {
    padding: 40px 0;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 20px;
}

.search-query-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-results-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.search-query {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.search-results-count {
    font-size: 15px;
    color: var(--text-secondary);
}

.search-results-count strong {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 18px;
    margin: 0 5px;
}

.search-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.search-filters {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid var(--border-color);
    height: fit-content;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}

.search-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.search-filters-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.search-results-main {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.search-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.search-results-grid.list-view {
    grid-template-columns: 1fr;
}

.search-results-grid.list-view .product-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.search-results-grid.list-view .product-card-link {
    display: flex;
    flex-direction: row;
    flex: 1;
}

.search-results-grid.list-view .product-card-image,
.search-results-grid.list-view .product-image {
    width: 200px;
    min-width: 200px;
    aspect-ratio: 1;
    height: auto;
    flex-shrink: 0;
}

.search-results-grid.list-view .product-card-body,
.search-results-grid.list-view .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.search-results-grid.list-view .product-card-cta {
    align-self: center;
    margin: 0 18px 0 0;
    width: auto;
    min-width: 140px;
}

/* Responsive */
@media (max-width: 968px) {
    .search-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .search-filters {
        position: static;
        margin-bottom: 30px;
    }
    
    .search-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .search-results-title {
        font-size: 20px;
    }
    
    .search-query {
        font-size: 20px;
    }
    
    .search-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .toolbar-left,
    .toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .search-results-grid.list-view .product-card {
        flex-direction: column;
    }
    
    .search-results-grid.list-view .product-image {
        width: 100%;
        height: auto;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .product-details-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-images-section {
        position: static;
    }
    
    .reviews-summary-section {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }
    
    .price-new-large {
        font-size: 28px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn-large,
    .buy-now-btn {
        width: 100%;
    }
    
    .product-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-tab-btn {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .tab-content-inner {
        padding: 20px;
    }
    
    .shipping-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .store-logo-large {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
    
    .store-name-large {
        font-size: 24px;
    }
    
    .store-stats-large {
        grid-template-columns: 1fr;
    }
    
    .store-actions-large {
        flex-direction: column;
    }
    
    .follow-store-btn-large,
    .contact-store-btn,
    .share-store-btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .rating-summary {
        width: 100%;
    }
}

/* ===== Cart Page Styles ===== */
.cart-section {
    padding: 40px 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.cart-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

.cart-items-count {
    font-size: 16px;
    color: var(--text-secondary);
}

.cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.cart-item-image {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-secondary);
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.cart-item-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
    flex: 1;
}

.cart-item-name:hover {
    color: var(--primary-color);
}

.remove-item-btn {
    width: 35px;
    height: 35px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.remove-item-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.cart-item-vendor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    width: fit-content;
}

.cart-item-vendor:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.cart-item-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cart-item-color,
.cart-item-storage {
    font-size: 13px;
    color: var(--text-secondary);
}

.cart-item-color strong,
.cart-item-storage strong {
    color: var(--text-primary);
    font-weight: 600;
}

.cart-item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.cart-item-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-price .price-old {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: line-through;
}

.cart-item-price .price-new {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-quantity .quantity-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity .quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.cart-item-quantity .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: 15px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-family: 'Cairo', sans-serif;
}

.cart-item-quantity .quantity-input:focus {
    outline: none;
}

.cart-item-total {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-total-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.item-total-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--text-primary);
}

/* Cart Summary */
.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-summary-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
}

.cart-summary-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
}

.summary-row span:first-child {
    color: var(--text-secondary);
}

.summary-value {
    color: var(--text-primary);
    font-weight: 600;
}

.summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.total-row {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
}

.total-row span:first-child {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.total-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: var(--shadow-md);
}

.checkout-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.continue-shopping-btn {
    width: 100%;
    padding: 14px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    margin-top: 12px;
}

.continue-shopping-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.cart-promo-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.promo-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.promo-form {
    display: flex;
    gap: 10px;
}

.promo-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.promo-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.promo-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    white-space: nowrap;
}

.promo-btn:hover {
    background: var(--primary-dark);
}

.cart-security-info {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.security-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
}

.cart-empty {
    text-align: center;
    padding: 80px 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .cart-summary {
        grid-template-columns: 1fr;
    }
    
    .cart-item {
        flex-direction: column;
    }
    
    .cart-item-image {
        width: 100%;
        height: 250px;
    }
    
    .cart-item-price-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .cart-title {
        font-size: 28px;
    }
    
    .cart-item-image {
        height: 200px;
    }
    
    .cart-item-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-options {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== Profile Page Styles ===== */
.profile-section {
    padding: 40px 0;
}

.profile-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

/* Profile Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.profile-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.change-avatar-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.change-avatar-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.profile-email {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 900;
    color: var(--primary-color);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
}

.profile-nav {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-nav-link {
    padding: 12px 15px;
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 600;
}

.profile-nav-link:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.profile-nav-link.active {
    background: var(--primary-color);
    color: white;
}

.profile-nav-link i {
    width: 20px;
    font-size: 16px;
}

/* Profile Content */
.profile-content {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.tab-title {
    font-size: 28px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
}

.tab-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
}

/* Profile Form */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-input {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.save-btn {
    padding: 14px 30px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    width: fit-content;
    align-self: flex-start;
}

.save-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Orders */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.order-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.order-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
}

.status-shipping {
    background: #fff3cd;
    color: #856404;
}

.status-pending {
    background: #d1ecf1;
    color: #0c5460;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.order-item-qty {
    font-size: 12px;
    color: var(--text-secondary);
}

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

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 15px;
}

.order-total {
    font-size: 16px;
    color: var(--text-secondary);
}

.order-total strong {
    color: var(--primary-color);
    font-size: 18px;
}

.order-actions {
    display: flex;
    gap: 10px;
}

.order-action-btn {
    padding: 8px 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.order-action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Addresses */
.add-address-btn {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.add-address-btn:hover {
    background: var(--primary-dark);
}

.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.address-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.address-card.default {
    border-color: var(--primary-color);
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.address-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.default-badge {
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.address-actions {
    display: flex;
    gap: 10px;
}

.edit-address-btn,
.delete-address-btn {
    padding: 6px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.edit-address-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.delete-address-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.address-text {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.6;
}

.address-phone {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.set-default-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    background: transparent;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    width: 100%;
}

.set-default-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Security Options */
.security-options {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.security-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 15px;
}

.security-option-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.security-option-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border-color);
    transition: var(--transition);
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--transition);
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary-color);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Notifications */
.notification-settings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.notification-option-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.notification-option-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Settings */
.settings-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.settings-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 15px;
}

.settings-option-info h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.settings-option-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.settings-select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    min-width: 200px;
    cursor: pointer;
}

.settings-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.view-all-btn {
    padding: 10px 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.favorites-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .profile-wrapper {
        grid-template-columns: 1fr;
    }
    
    .profile-sidebar {
        order: 2;
    }
    
    .profile-content {
        order: 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .addresses-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tab-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .settings-option {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .settings-select {
        width: 100%;
    }
}

/* ===== Become Seller Page Styles ===== */
.become-seller-section {
    padding: 40px 0;
}

.seller-header {
    text-align: center;
    margin-bottom: 50px;
}

.seller-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.seller-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
}

.seller-title {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 15px 0;
}

.seller-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
}

.seller-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.benefit-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 32px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.seller-form-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.seller-form-container {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.step.completed .step-number {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.step span {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

.step.active span {
    color: var(--primary-color);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.required {
    color: var(--accent-color);
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Cairo', sans-serif;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.file-upload {
    position: relative;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.file-label:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.file-name {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.btn-prev,
.btn-next,
.btn-submit {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.btn-prev {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-prev:hover {
    background: var(--text-secondary);
    color: white;
    border-color: var(--text-secondary);
}

.btn-next,
.btn-submit {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.review-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.review-section h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.review-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.review-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
}

.terms-checkbox {
    margin: 30px 0;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 968px) {
    .seller-title {
        font-size: 32px;
    }
    
    .seller-form-container {
        padding: 25px;
    }
    
    .form-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .form-steps::before {
        display: none;
    }
    
    .step {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .seller-title {
        font-size: 24px;
    }
    
    .seller-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
    
    .seller-benefits {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-next,
    .btn-submit {
        width: 100%;
        margin-left: 0;
    }
    
    .review-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ===== Thank You Page Styles ===== */
.thankyou-section {
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thankyou-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.thankyou-icon {
    margin-bottom: 30px;
}

.success-checkmark {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    position: relative;
}

.check-icon {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--primary-color);
    background: var(--primary-color);
    animation: scale 0.3s ease-in-out 0.2s both;
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: left top;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: left top;
    border-radius: 0 100px 100px 0;
    animation: scale-circle 0.3s ease-in-out both;
}

.check-icon::before,
.check-icon::after {
    content: '';
    height: 4px;
    background: white;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 1;
}

.icon-line {
    height: 4px;
    background-color: white;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 2;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.3s ease-in-out;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.3s ease-in-out 0.2s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 2;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(76, 175, 80, 0.2);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: var(--bg-primary);
}

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

@keyframes scale-circle {
    0% {
        width: 0;
    }
    50% {
        width: 60px;
    }
    100% {
        width: 60px;
    }
}

@keyframes icon-line-tip {
    0% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    54% {
        width: 0;
        left: 1px;
        top: 19px;
    }
    70% {
        width: 50px;
        left: -8px;
        top: 37px;
    }
    84% {
        width: 17px;
        left: 21px;
        top: 48px;
    }
    100% {
        width: 25px;
        left: 14px;
        top: 46px;
    }
}

@keyframes icon-line-long {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0px;
        top: 35px;
    }
    100% {
        width: 47px;
        right: 8px;
        top: 38px;
    }
}

.thankyou-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.thankyou-message {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.thankyou-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.detail-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: right;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.detail-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.detail-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
}

.detail-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 700;
}

.thankyou-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.action-btn-primary,
.action-btn-secondary {
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
}

.action-btn-primary {
    background: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.action-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.action-btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.action-btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.thankyou-info {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.info-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
    text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
    .thankyou-section {
        padding: 40px 0;
    }
    
    .thankyou-title {
        font-size: 32px;
    }
    
    .thankyou-message {
        font-size: 16px;
    }
    
    .thankyou-details {
        grid-template-columns: 1fr;
    }
    
    .thankyou-actions {
        flex-direction: column;
    }
    
    .action-btn-primary,
    .action-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .success-checkmark {
        width: 100px;
        height: 100px;
    }
    
    .check-icon {
        width: 100px;
        height: 100px;
    }
    
    .icon-circle {
        width: 100px;
        height: 100px;
    }
}

/* ===== Authentication Pages ===== */
.auth-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Cairo', sans-serif;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 0.6s ease;
}

.auth-card {
    background: var(--bg-primary);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.auth-logo i {
    font-size: 32px;
}

.auth-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    right: 15px;
    color: var(--text-secondary);
    font-size: 16px;
    z-index: 2;
}

.input-group input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.toggle-password {
    position: absolute;
    left: 15px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-primary);
    position: relative;
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.forgot-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
    margin-bottom: 15px;
}

.auth-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--bg-primary);
    padding: 0 15px;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.social-login {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Cairo', sans-serif;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-btn.google:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.social-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-errors {
    margin-bottom: 20px;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-size: 14px;
    margin-bottom: 10px;
}

.error-message:last-child {
    margin-bottom: 0;
}

.error-message i {
    font-size: 16px;
    flex-shrink: 0;
}

.password-requirements {
    margin-top: 8px;
    padding: 10px;
    background: var(--bg-secondary);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
}

.password-requirements span {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    padding: 2px 0;
    position: relative;
    padding-right: 20px;
}

.password-requirements li::before {
    content: '○';
    position: absolute;
    right: 0;
    color: var(--text-secondary);
}

.password-requirements li.valid {
    color: var(--primary-color);
}

.password-requirements li.valid::before {
    content: '✓';
    color: var(--primary-color);
}

.password-requirements li.invalid {
    color: #dc3545;
}

.password-requirements li.invalid::before {
    content: '✗';
    color: #dc3545;
}

.terms-link,
.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.terms-link:hover,
.privacy-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .auth-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
    
    .social-login {
        flex-direction: column;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 25px 15px;
    }
    
    .auth-header h1 {
        font-size: 22px;
    }
    
    .auth-logo {
        font-size: 20px;
    }
    
    .auth-logo i {
        font-size: 24px;
    }
}

.auth-success {
    margin-bottom: 20px;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    font-size: 14px;
}

.success-message i {
    font-size: 16px;
    flex-shrink: 0;
}

/* ===== User Dropdown ===== */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown .account-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.user-dropdown .account-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.user-dropdown .account-btn .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.user-dropdown:hover .account-btn .fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
}

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

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

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
    padding-right: 20px;
}

.dropdown-item.logout-item {
    color: #dc3545;
}

.dropdown-item.logout-item:hover {
    background: #fee;
    color: #c33;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    font-size: 14px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dropdown-menu {
        position: fixed;
        top: 60px;
        right: 10px;
        left: auto;
        min-width: 180px;
    }
    
    .user-dropdown .account-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .user-dropdown .account-btn .account-text {
        display: none;
    }
    
    .dropdown-item {
        padding: 10px 14px;
        font-size: 13px;
    }
}
