/* RTL Hebrew E-commerce Styles - Modern Dark Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #28a8b8;
    --primary-dark: #1e7e88;
    --secondary-color: #a855f7;
    --accent-color: #f59e0b;
    --dark-bg: #ffffff;
    --darker-bg: #f8f9fa;
    --card-bg: #ffffff;
    --light-bg: white;
    --text-primary: black;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Karla', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl;
    text-align: right;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header - Mobile First */
.header {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    box-shadow: var(--shadow);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.top-search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.search-container {
    flex: 1;
    max-width: 400px;
}

.centered-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.centered-logo .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 12px rgba(139, 92, 246, 0.25);
}

.centered-logo .brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.centered-logo:hover .logo-icon {
    transform: rotate(-3deg) scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.25);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    display: none;
}

.logo:hover .logo-icon {
    transform: rotate(-3deg) scale(1.05);
}

@media (min-width: 768px) {
    .logo {
        gap: 1rem;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
    }
    
    .brand-tagline {
        display: block;
    }
}

.nav-menu {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 0;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-menu.mobile-active {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0;
    z-index: 1000;
    transition: right 0.4s ease;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    overflow-y: auto;
}

.nav-menu.mobile-active {
    right: 0;
}

.mobile-search {
    margin-bottom: 2rem;
    position: relative;
}

.mobile-search input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    background: #fafafa;
    font-size: 0.9rem;
    direction: rtl;
}

.mobile-search .search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.nav-menu.mobile-active .nav-link {
    color: #333;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.nav-menu.mobile-active .nav-link:hover {
    color: #667eea;
    padding-right: 1rem;
}

.nav-menu.mobile-active .nav-link::after {
    display: none;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu.mobile-active {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-start;
    }
}

.nav-dropdown {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    right: -2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    padding: 2rem;
    min-width: 400px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s ease;
    z-index: 1000;
}

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

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.menu-column h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.menu-column a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.menu-column a:hover {
    color: #667eea;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
    display: none;
}

.search-bar {
    position: relative;
    width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    background: #fafafa;
    font-size: 0.85rem;
    direction: rtl;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    z-index: 1;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .search-container {
        display: block;
        max-width: 500px;
    }
    
    .search-bar input {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 0.95rem;
        border-radius: 25px;
    }
    
    .search-icon {
        right: 1rem;
        font-size: 1rem;
    }
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-top: 0.5rem;
    display: none;
    z-index: 1000;
}

.search-bar button {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: #0056b3;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-btn {
    display: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-btn {
    color: #667eea;
    border: 1px solid #667eea;
    background: transparent;
}

.register-btn {
    background: #667eea;
    color: white;
}

.cart-btn {
    position: relative;
    width: 42px;
    height: 42px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.cart-btn i {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.cart-count {
    position: absolute;
    top: -6px;
    left: -6px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@media (min-width: 768px) {
    .auth-btn {
        display: inline-block;
    }
    
    .cart-btn {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    
    .cart-btn i {
        font-size: 1.2rem;
    }
    
    .cart-count {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
        top: -5px;
        left: -5px;
    }
}

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

/* Hero Section - Modern Dark Theme */
.hero {
    padding: 3rem 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 500px;
    margin: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3), 0 15px 35px rgba(0,0,0,0.2);
    z-index: 2;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .hero {
        padding: 3rem 0;
    }

    .hero-slider {
        height: 500px;
        border-radius: 25px;
    }
}

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

    .hero-slider {
        height: 350px;
        border-radius: 20px;
        margin: 0 1rem;
    }

    .slide-overlay {
        width: 95%;
        padding: 16px 18px;
        border-radius: 16px 16px 0 0;
    }

    .slide-title {
        font-size: 1.1rem;
    }

    .slide-description {
        font-size: 0.8rem;
    }

    .slide-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.slide.active img {
    transform: scale(1.02);
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
    border-radius: 20px 20px 0 0;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
}

@media (min-width: 768px) {
    .slide-overlay {
        width: 60%;
        padding: 15px 20px;
        border-radius: 20px 20px 0 0;
    }
}

.slide-overlay::before,
.slide-overlay::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 50px;
    height: 40px;
    background: #fff;
    z-index: -1;
}

.slide-overlay::before {
    left: -30px;
    mask: radial-gradient(30px at top left, #0000 98%, #000);
}

.slide-overlay::after {
    right: -30px;
    mask: radial-gradient(30px at top right, #0000 98%, #000);
}

.slide-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.slide-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0 0 16px 0;
    line-height: 1.4;
    display: block;
}

@media (min-width: 768px) {
    .slide-title {
        font-size: 1.2rem;
        margin: 5px 0;
    }
    
    .slide-description {
        font-size: 0.75rem;
        margin: 5px 0 10px;
        display: block;
    }
}

.slide-actions {
    margin: 24px 0 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.slide-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.slide-btn.primary {
    background: linear-gradient(135deg, var(--accent-color), #f59e0b);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.slide-btn.primary:hover {
    background: linear-gradient(135deg, #f59e0b, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.slide-btn.secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.slide-btn.secondary:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-color);
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide .container {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.slide h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: #333;
}

/* Sections */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
}

/* Features Section */
.features {
    background: var(--darker-bg);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .features {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.75rem 1.25rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .feature-card h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}

/* Categories Section */
.categories {
    padding: 5rem 0;
    background: var(--dark-bg);
}

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

.category-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.8rem;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.category-content {
    position: relative;
    z-index: 2;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
    .categories {
        padding: 4rem 0;
    }

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

    .category-card {
        padding: 1.25rem 1rem;
        width: auto;
        flex-shrink: 1;
    }

    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .category-card h3 {
        font-size: 0.7rem;
        margin: 0.75rem 0 0.25rem;
    }

    .category-card p {
        font-size: 0.6rem;
    }
}

/* Products Sections */
.products-section, .new-arrivals {
    padding: 5rem 0;
    background: var(--dark-bg);
}

.products-section .section-header,
.new-arrivals .section-header {
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    position: relative;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .products-section, .new-arrivals {
        padding: 4rem 0;
    }

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

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.product-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.badge-featured {
    background: #ffc727;
    color: #222;
}

.badge-new {
    background: #28a8b8;
}

.card-actions {
    position: absolute;
    top: 8px;
    left: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background: white;
    color: #ff4757;
    transform: scale(1.1);
}

.card-body {
    padding: 1rem;
}

.product-category {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

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

.stars i {
    font-size: 0.7rem;
    color: #ffc727;
}

.rating-count {
    font-size: 0.7rem;
    color: #666;
}

.card-footer {
    padding: 0 1rem 1rem;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .card-img-wrapper {
        height: 220px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-price {
        font-size: 1.1rem;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .slide-overlay::after {
        right: -20px;
        bottom: -20px;
        mask: radial-gradient(20px at top right, #0000 98%, #000);
    }
}

@media (max-width: 414px) {
    .slide-overlay {
        border-radius: 10px 10px 0 0;
    }
    
    .slide-btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .slide-overlay::before,
    .slide-overlay::after {
        display: none;
    }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

/* Features Section - Smaller and Black/White */
.features {
    background: #f8f9fa !important;
    padding: 1rem 0 !important;
}

.features h3 {
    font-size: 0.8rem !important;
    margin-bottom: 0.75rem !important;
    color: #000 !important;
}

.features div[style*="display: flex"] {
    gap: 1rem !important;
}

.features i {
    font-size: 0.7rem !important;
    color: #000 !important;
}

.features span {
    font-size: 0.6rem !important;
    color: #000 !important;
}

/* New Arrivals - Bigger */
.new-arrivals {
    padding: 3rem 0;
    background: var(--dark-bg);
}

.arrivals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.arrival-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.arrival-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.arrival-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.arrival-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.new-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff4757;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.arrival-info {
    padding: 1.5rem;
}

.arrival-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.arrival-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin: 0;
}

/* Enhanced New Arrivals */
.new-arrivals {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.new-arrivals .section-title {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.arrival-box {
    background: white;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.arrival-box:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.arrival-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.arrival-box:hover::before {
    opacity: 1;
}

.arrival-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(45deg, #f8f9fa, #ffffff);
}

.arrival-image img {
    transition: transform 0.4s ease;
}

.arrival-box:hover .arrival-image img {
    transform: scale(1.15);
}

.new-badge {
    background: linear-gradient(45deg, #ff4757, #ff3742);
    box-shadow: 0 4px 15px rgba(255,71,87,0.4);
    animation: pulse 2s infinite;
}

.arrival-info {
    position: relative;
    z-index: 2;
}

.arrival-info h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
    line-height: 1.3;
}

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

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .arrivals-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
}

/* Categories - Smaller */
.categories {
    padding: 2rem 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
    width: 150px;
    flex-shrink: 0;
}

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

.category-card h3 {
    color: var(--text-primary);
    margin: 0.5rem 0;
    font-size: 0.65rem;
    font-weight: 600;
}

.category-card p {
    color: #666;
    font-size: 0.55rem;
    margin: 0;
}

.category-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #667eea;
}

/* Products */
.products {
    padding: 4rem 0;
    background: var(--dark-bg);
}

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

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Cart */
.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-btn {
    background: #007bff;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Forms */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    direction: rtl;
    text-align: right;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

.animate-slide-in-up {
    animation: slideInUp 0.8s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Stagger animations */
.animate-stagger-1 { animation-delay: 0.1s; }
.animate-stagger-2 { animation-delay: 0.2s; }
.animate-stagger-3 { animation-delay: 0.3s; }
.animate-stagger-4 { animation-delay: 0.4s; }
.animate-stagger-5 { animation-delay: 0.5s; }

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-btn {
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.login-btn {
    color: #667eea;
    border: 2px solid #667eea;
    background: transparent;
}

.login-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.register-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: 2px solid transparent;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.user-btn:hover {
    background: #f8f9fa;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 1rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.user-dropdown a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.user-dropdown a:hover {
    background: #f8f9fa;
    color: #667eea;
}

.btn-outline {
    padding: 0.5rem 1rem;
    border: 1px solid #667eea;
    color: #667eea;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.btn-primary {
    padding: 0.5rem 1rem;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #495057;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    left: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

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

.cart-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cart-sidebar-content {
    padding: 1rem;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

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

/* Compare Sidebar */
.compare-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.compare-sidebar.active {
    right: 0;
}

.compare-sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.compare-sidebar-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.compare-sidebar-content {
    padding: 1rem;
}

.compare-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1999;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        padding: 0 1rem;
        gap: 0.75rem;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 0.9rem;
    }

    .brand-tagline {
        font-size: 0.4rem;
    }

    .header-top {
        display: none;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav {
        order: 3;
        width: 100%;
    }

    .nav-menu {
        flex-direction: column;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 1rem 0;
        margin-top: 1rem;
    }

    .search-bar {
        min-width: 200px;
    }

    .search-bar input {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    display: block;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* Product Details */
.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
}

.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.thumbnail-images {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
}

.product-info-detailed {
    padding: 1rem;
}

.product-title-large {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.product-price-large {
    font-size: 2.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 1rem;
}

.specifications {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.specifications h3 {
    margin-bottom: 1rem;
    color: #333;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.add-to-cart-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.quantity-input {
    width: 80px;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

/* Reviews */
.reviews-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.review-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating {
    color: #ffc107;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

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

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

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

/* Carousel Products */
.products {
    padding: 3rem 0;
    background: #f8f9fa;
}

.new-arrivals {
    padding: 3rem 0;
    background: white;
    border: 2px solid #007bff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.products .section-title {
    color: var(--text-primary);
}

.new-arrivals .section-title {
    color: var(--text-primary);
}

.product-carousel,
.arrivals-carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.product-carousel .carousel-track,
.arrivals-carousel .carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1rem;
}

.product-slide,
.arrival-slide {
    flex: 0 0 calc(25% - 0.75rem);
    min-width: 280px;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102,126,234,0.05), rgba(118,75,162,0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card-img-top {
    transform: scale(1.1) rotate(1deg);
}

.card-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-featured {
    background: #28a8b8;
    color: white;
}

.badge-new {
    background: #ff4757;
    color: white;
}

.card-actions {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.btn-icon {
    width: 35px;
    height: 35px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-icon:hover {
    background: white;
    color: #ff4757;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 4px 15px rgba(255,71,87,0.3);
}

.btn-icon:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.product-category {
    font-size: 0.6rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
    flex: 1;
    transition: color 0.3s ease;
}

.card:hover .product-title {
    color: #667eea;
}

.product-price {
    font-size: 0.85rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-price::before {
    content: '₪';
    font-size: 0.7rem;
    color: #28a8b8;
}

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

.stars {
    color: var(--accent-color);
    font-size: 0.65rem;
}

.rating-count {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.card-footer {
    padding: 1rem 1.25rem 1.25rem;
    border: none;
    background: none;
    position: relative;
    z-index: 2;
}

.btn-primary {
    width: 100%;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4198);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

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

.btn-primary:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.carousel-prev,
.carousel-next {
    width: 45px;
    height: 45px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

@media (max-width: 768px) {
    .product-slide,
    .arrival-slide {
        flex: 0 0 calc(50% - 0.5rem);
        min-width: 200px;
    }

    .card:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .card-img-wrapper {
        height: 220px;
    }

    .card-body {
        padding: 1rem;
    }

    .product-title {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .product-slide,
    .arrival-slide {
        flex: 0 0 100%;
        min-width: auto;
    }

    .card {
        margin: 0 0.5rem;
        border-radius: 12px;
    }

    .card:hover {
        transform: translateY(-3px) scale(1.005);
    }

    .card-img-wrapper {
        height: 200px;
        border-radius: 10px 10px 0 0;
    }

    .card-body {
        padding: 0.875rem;
    }

    .product-title {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .card-footer {
        padding: 0.875rem;
    }

    .btn-primary {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
}
/* Global Font Family */
* {
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Products Page Styles */
.products-page {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 2rem 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.search-info {
    color: #666;
    font-size: 1.1rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 12px;
    padding: 1rem;
    height: fit-content;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    position: sticky;
    top: 2rem;
}

.filters-header h3 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

.filters-header i {
    margin-left: 0.5rem;
}

.filter-group {
    margin-bottom: 1.25rem;
    background: white;
    border-radius: 8px;
    padding: 0.75rem;
    border: 1px solid #f0f0f0;
}

.filter-group h4 {
    color: #495057;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group h4 i {
    color: #007bff;
    margin-left: 0.5rem;
    font-size: 0.8rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.filter-option:hover {
    background: #f8f9fa;
    transform: translateX(2px);
}

.filter-option input[type="radio"] {
    display: none;
}

.checkmark {
    width: 14px;
    height: 14px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-left: 0.5rem;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.filter-option input[type="radio"]:checked + .checkmark {
    border-color: #007bff;
    background: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.filter-option input[type="radio"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.price-range {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.price-input {
    width: 60px;
    padding: 0.4rem;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 0.75rem;
    text-align: center;
    transition: all 0.2s ease;
}

.price-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.price-separator {
    color: #666;
    font-weight: 500;
    font-size: 0.75rem;
}

.currency {
    color: #007bff;
    font-weight: 600;
    font-size: 0.75rem;
}

.sort-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

.filter-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn-filter-apply {
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(135deg, #28a8b8, #20c997);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-filter-apply:hover {
    background: linear-gradient(135deg, #28a8b8, #1e7e88);
    transform: translateY(-1px);
}

.btn-filter-clear {
    width: 100%;
    padding: 0.6rem;
    background: transparent;
    color: #6c757d;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-filter-clear:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220,53,69,0.05);
}

/* Products Content */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.results-count {
    font-weight: 600;
    color: #333;
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active,
.view-btn:hover {
    border-color: #007bff;
    background: #007bff;
    color: white;
}

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

.product-card-modern {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.product-card-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.product-image-wrapper {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-image {
    transform: scale(1.03);
}

.product-badges {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
}

.badge-category {
    background: rgba(0,123,255,0.9);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
}

.product-overlay {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-wishlist,
.btn-quick-view {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.8rem;
}

.btn-wishlist:hover {
    background: #ff4757;
    color: white;
}

.btn-quick-view:hover {
    background: #007bff;
    color: white;
}

.product-info {
    padding: 0.75rem;
}

.product-title a {
    color: #333;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.2;
    display: block;
    margin-bottom: 0.5rem;
}

.product-title a:hover {
    color: #007bff;
}

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

.stars {
    color: #ffc107;
    font-size: 0.7rem;
}

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

.product-actions {
    padding: 0 0.75rem 0.75rem;
}

.btn-add-cart {
    width: 100%;
    padding: 0.5rem;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.btn-add-cart:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* No Products */
.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.no-products-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.no-products h3 {
    color: #333;
    margin-bottom: 1rem;
}

.no-products p {
    color: #666;
    margin-bottom: 2rem;
}

.btn-back-home {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        order: 2;
        position: static;
    }
    
    .products-content {
        order: 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .products-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
}
/* Product Card Design */
.mainWrapper {
    position: relative;
    width: 100%;
    min-width: 320px;
    min-height: 100vh;
    padding: 1rem 0;
    margin: 0;
    background: #ffffff;
}

.wrappen_block {
    position: relative;
    width: 100%;
    height: 100%;
}

.mainBackground {
    width: 100%;
    min-height: 100vh;
    padding: 0;
}

.productCard_block {
    position: relative;
    margin: 0 auto;
    max-width: 1000px;
    min-height: 600px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* LEFT SIDE */
.productCard_leftSide {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.productCard_brendBlock {
    width: 100%;
    height: 75px;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 184px;
    max-height: 75px;
    background-color: #272727;
    z-index: 2;
}

.productCard_brendBlock__imageBlock {
    display: block;
    height: 100%;
}

.productCard_brendBlock__imageBlock img {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sliderBlock {
    position: relative;
    height: 100%;
    margin: 2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sliderBlock_items {
    position: relative;
    display: block;
    width: 100%;
    height: 400px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.thumbnail-gallery {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    overflow-x: auto;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail-item.active {
    border-color: #007bff;
}

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

.sliderBlock_items__itemPhoto {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    transition: opacity 1s;
    object-fit: contain;
}

.sliderBlock_items__showing {
    opacity: 1;
    z-index: 3;
}

.sliderBlock_controls {
    width: 100%;
}

.sliderBlock_controls__navigatin {
    margin-top: 8px;
    width: 100%;
}

.sliderBlock_controls__wrapper {
    margin: 1% auto;
    width: 110px;
    height: 20px;
}

.sliderBlock_controls__arrow {
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    border: 1px solid #536dfe;
    transition: 300ms all;
    background-color: #0d2660;
    border-radius: 50%;
}

.sliderBlock_controls__arrow:hover {
    background-color: #536dfe;
}

.sliderBlock_controls__arrow i {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    margin-left: -50%;
    margin-top: -50%;
    color: #fff;
    transition: 300ms all;
    font-weight: bold;
    text-align: center;
    font-size: 12px;
    line-height: 24px;
}

.sliderBlock_controls__arrowBackward {
    float: left;
}

.sliderBlock_controls__arrowForward {
    float: right;
}

.sliderBlock_positionControls {
    display: block;
    width: 100%;
    height: 3px;
    margin: 30px auto 0;
}

.sliderBlock_positionControls__paginatorItem {
    float: left;
    width: 18px;
    height: 10px;
    margin-left: 5px;
    background-color: #d7d7d7;
    cursor: pointer;
}

.sliderBlock_positionControls__paginatorItem:first-child {
    margin-left: 31%;
}

.sliderBlock_positionControls__active {
    background-color: #536dfe;
}

/* RIGHT SIDE */
.productCard_rightSide {
    position: relative;
    padding-top: 34px;
    padding-left: 27px;
    padding-right: 40px;
    width: 100%;
    min-height: 600px;
}

.block_specification {
    float: right;
    margin-top: 8px;
    cursor: pointer;
    color: #536dfe;
    transition: all 0.5s;
    display: flex;
    align-items: center;
}

.block_specification__button {
    display: inline-block;
    margin-right: 7px;
    height: 100%;
    font-size: 17px;
    text-transform: uppercase;
    transform: rotate(0);
    transition: transform 0.5s;
    transform-origin: center center;
}

.block_specification:hover .block_specification__button {
    transition: transform 0.5s;
    transform: rotate(1turn);
}

.block_specification:hover {
    color: #f1425d;
}

.block_specification__text {
    width: 30px;
    height: 11px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.block_model {
    display: inline-block;
    color: #263238;
    font-size: 12px;
    opacity: 0.9;
}

.block_name {
    width: 100%;
    color: #263238;
    font-weight: 400;
    line-height: 35px;
}

.block_name__mainName {
    margin: 0;
    padding: 0;
    font-size: 29px;
}

.block_product {
    position: relative;
    width: 100%;
}

.block_product__advantagesProduct {
    width: 271px;
    height: 41px;
    margin-top: 14px;
    color: #646b6f;
    font-size: 17px;
    line-height: 24px;
}

.block_informationAboutDevice {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.block_descriptionInformation {
    width: 304px;
    height: 104px;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 23px;
    color: #263238;
}

.block_descriptionCharacteristic {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    z-index: 30;
    transition: left, ease-out, 0.5s;
}

.block_descriptionCharacteristic__active {
    left: 0;
}

.block_specificationInformation_table {
    position: relative;
    height: 90%;
    background-color: #fff;
    width: 100%;
    font-size: 12px;
}

.block_specificationInformation_table tr {
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.block_specificationInformation_table th {
    border: 1px solid #ddd;
    font-weight: bold;
    padding: 5px;
    background: #f8f9fa;
}

.block_specificationInformation_table td {
    border-collapse: collapse;
    text-align: center;
    border: 1px solid #ddd;
    padding: 5px;
}

.block_rating {
    width: 100%;
    margin-top: 33px;
    display: flex;
    align-items: center;
}

.block_rating__stars {
    border: none;
    float: left;
    width: auto;
    margin: 0;
    padding: 0;
}

.block_rating__stars > input {
    display: none;
}

.block_rating__stars > label:before {
    margin: 2px;
    font-size: 15px;
    font-family: "FontAwesome";
    display: inline-block;
    content: "\f005";
}

.block_rating__stars > label {
    color: #c9c9c9;
    float: right;
}

.block_rating__stars > input:checked ~ label,
.block_rating__stars:not(:checked) > label:hover,
.block_rating__stars:not(:checked) > label:hover ~ label {
    color: #fccf47;
}

.block_rating__avarage {
    margin-left: 31px;
    color: #f1425d;
    font-size: 15px;
    line-height: 35px;
}

.block_rating__reviews {
    margin-left: 6px;
    color: #656c6f;
    font-size: 13px;
}

.block_price {
    margin-top: 29px;
    width: 100%;
}

.block_price__currency {
    padding: 0;
    margin: 0;
    vertical-align: top;
    color: #f1425d;
    font-size: 26px;
    font-weight: 600;
}

.block_price__shipping {
    padding: 0;
    margin: 0;
    color: #a2a9ad;
    font-size: 12px;
}

.text_specification {
    padding: 0;
    color: #37474f;
    font-size: 13px;
}

.block_quantity {
    position: relative;
    height: 46px;
    margin-top: 45px;
    display: flex;
    align-items: center;
}

.block_quantity span {
    display: inline-block;
    margin-right: 10px;
}

.block_quantity__chooseBlock {
    vertical-align: top;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.block_quantity__number {
    display: inline-block;
    width: 52px;
    height: 46px;
    border: 1px solid #ddd;
    font-size: 18px;
    text-align: center;
    outline: none;
}

.block_quantity__button {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 23px;
    margin: 0;
    padding: 0;
    margin-left: 11px;
    font-size: 0;
    cursor: pointer;
    border: none;
    background: transparent;
}

.block_quantity__button:hover:before {
    color: #536dfe;
}

.block_quantity__up:before {
    content: "\f106";
    width: 11px;
    height: 6px;
    font-family: "FontAwesome";
    color: #37474f;
    font-size: 18px;
}

.block_quantity__down:before {
    content: "\f107";
    width: 11px;
    height: 6px;
    font-family: "FontAwesome";
    color: #37474f;
    font-size: 18px;
}

.button.button_addToCard {
    width: 147px;
    height: 46px;
    margin-top: 43px;
    margin-bottom: 0;
    padding: 0;
    color: #fff;
    background-color: #536dfe;
    font-size: 17px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.button.button_addToCard:hover {
    background-color: #0d2660;
}

/* Modern Product Page Styles - Minimalist Black & White */
.product-page {
    padding: 1rem 0;
    background: #ffffff;
    min-height: 100vh;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 8px;
    overflow: hidden;
    margin: 1rem auto;
    max-width: 1000px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Product Gallery - Minimalist */
.product-gallery {
    position: relative;
    background: #ffffff;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #000000;
}

.product-gallery-main {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin-bottom: 1rem;
}

.product-gallery-container {
    position: relative;
    width: 100%;
    height: 300px;
    border: 1px solid #000000;
    border-radius: 4px;
    overflow: hidden;
}

.product-gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: white;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-gallery-image.active {
    opacity: 1;
}

.gallery-navigation {
    position: absolute;
    top: 50%;
    left: -40px;
    right: -40px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-nav {
    width: 35px;
    height: 35px;
    border: 1px solid #000000;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    pointer-events: all;
    font-size: 0.8rem;
}

.gallery-nav:hover {
    background: #000000;
    color: #ffffff;
}

.product-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 45px;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.thumbnail-item.active {
    border-color: #000000;
}

.thumbnail-item:hover {
    border-color: #000000;
    opacity: 0.8;
}

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

/* Product Info - Minimalist */
.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-header {
    border-bottom: 1px solid #000000;
    padding-bottom: 1rem;
}

.product-category {
    color: #000000;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.rating-stars {
    display: flex;
    gap: 0.25rem;
}

.rating-stars input {
    display: none;
}

.rating-stars label {
    color: #ddd;
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
    color: #000000;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-score {
    font-weight: 600;
    color: #000000;
}

.rating-reviews {
    color: #666666;
    font-size: 0.8rem;
}

.product-price-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.product-shipping {
    color: #000000;
    font-weight: 600;
    font-size: 0.8rem;
}

.product-description p {
    color: #000000;
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-selector label {
    font-weight: 600;
    color: #000000;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #000000;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #ffffff;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.8rem;
}

.quantity-btn:hover {
    background: #000000;
    color: #ffffff;
}

.quantity-input {
    width: 60px;
    height: 30px;
    border: none;
    border-left: 1px solid #000000;
    border-right: 1px solid #000000;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    background: #ffffff;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.5rem 1rem;
    border: 1px solid #000000;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    background: #ffffff;
    color: #000000;
}

.btn:hover {
    background: #000000;
    color: #ffffff;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

.btn-primary:hover {
    background: #ffffff;
    color: #000000;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-outline-primary {
    background: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

.btn-outline-primary:hover {
    background: #000000;
    color: #ffffff;
}

.btn-link {
    background: none;
    color: #000000;
    border: none;
    padding: 0;
    font-size: 0.9rem;
}

.btn-link:hover {
    color: #000000;
    text-decoration: underline;
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
}

.product-details-toggle {
    margin-top: 1rem;
}

.product-details-content {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.product-full-description h3,
.product-specifications h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-full-description p {
    color: #666;
    line-height: 1.6;
}

.specs-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 4px;
}

.spec-label {
    font-weight: 600;
    color: #000000;
}

.spec-value {
    color: #000000;
}

/* Related Products - Minimalist */
.related-products-section {
    padding: 2rem 0;
    background: #ffffff;
    border-top: 1px solid #000000;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666666;
    font-size: 0.9rem;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.related-product-card {
    background: #ffffff;
    border: 1px solid #000000;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
}

.related-product-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.related-product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.quick-view-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    transform: scale(1.1);
}

.product-content {
    padding: 1rem;
}

.product-content .product-title {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.product-content .product-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-content .product-title a:hover {
    color: #000000;
    text-decoration: underline;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.product-meta .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.product-rating .rating-stars.small {
    font-size: 0.8rem;
}

.product-rating .rating-stars.small .fa-star.active {
    color: #ffc107;
}

.product-actions {
    margin-top: 1rem;
}

/* Responsive - Compact Minimalist */
@media (max-width: 1024px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0.5rem;
        border-radius: 4px;
    }

    .product-gallery,
    .product-info {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .gallery-navigation {
        left: -30px;
        right: -30px;
    }

    .gallery-nav {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .product-page {
        padding: 0.5rem 0;
    }

    .product-main {
        margin: 0.25rem;
        border-radius: 4px;
    }

    .product-gallery,
    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1.4rem;
    }

    .product-price {
        font-size: 1.5rem;
    }

    .gallery-navigation {
        display: none;
    }

    .product-thumbnails {
        gap: 0.25rem;
    }

    .thumbnail-item {
        width: 40px;
        height: 40px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .wishlist-btn {
        align-self: center;
    }

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

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .product-info {
        padding: 0.75rem;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .quantity-controls {
        flex-direction: column;
        gap: 0;
    }

    .quantity-input {
        width: 100%;
        border-left: none;
        border-right: none;
    }

    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .related-product-card {
            max-width: 280px;
            margin: 0 auto;
        }
    }
    
    /* Favorite and Compare Button Styles */
    .product-actions-secondary {
        display: flex;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .favorite-btn,
    .compare-btn {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .favorite-btn.active,
    .compare-btn.active {
        background: #000000;
        color: #ffffff;
        border-color: #000000;
    }
    
    .favorite-btn.active:hover,
    .compare-btn.active:hover {
        background: #ffffff;
        color: #000000;
    }

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

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Alert Messages */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    max-width: 300px;
}

.alert-success {
    background: #28a8b8;
}

.alert-error {
    background: #dc3545;
}

.alert-info {
    background: #17a2b8;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Mobile Optimizations */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-content {
        padding: 0 0.75rem;
        gap: 0.75rem;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .brand-name {
        font-size: 0.95rem;
    }
    
    .cart-btn {
        width: 38px;
        height: 38px;
    }
    
    .cart-btn i {
        font-size: 1rem;
    }
    
    .hero-slider {
        height: 250px;
        border-radius: 8px;
    }
    
    .slide-overlay {
        width: 90%;
        padding: 10px 12px;
        border-radius: 12px 12px 0 0;
    }
    
    .slide-title {
        font-size: 0.9rem;
    }
    
    .slide-actions {
        margin: 15px 0 8px;
    }
    
    .slide-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .category-card {
        padding: 1.25rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .card-img-wrapper {
        height: 200px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .product-title {
        font-size: 0.85rem;
    }
    
    .product-price {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.6rem;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .features > div > div {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .features > div > div > div {
        justify-content: center;
        padding: 0.75rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
}

/* Hover Effects */
@media (hover: hover) {
    .product-card:hover .card-img-top {
        transform: scale(1.05);
    }
    
    .category-card:hover .category-icon {
        transform: rotate(5deg) scale(1.1);
    }
    
    .btn:hover {
        transform: translateY(-1px);
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
.btn:focus,
.cart-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .cart-btn,
    .btn,
    .slider-controls,
    .slider-dots {
        display: none !important;
    }
}

/* Modern Product Cards */
.product-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.product-card:hover .product-image img {
    transform: scale(1.08) rotate(-1deg);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--light-bg);
}

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

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

.product-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.badge-featured {
    background: var(--accent-color);
    color: var(--dark-bg);
}

.badge-new {
    background: var(--success-color);
    color: white;
}

.product-actions {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-icon:hover {
    background: var(--error-color);
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: -0.01em;
}

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

.stars {
    color: var(--accent-color);
    font-size: 0.8rem;
}

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

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.product-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary-color));
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
    transition: all 0.1s ease;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.section-footer {
    text-align: center;
    margin-top: 2rem;
}

/* New Layout Styles */
.main-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    background: var(--dark-bg);
    direction: rtl;
}

.sidebar {
    width: 280px;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    padding: 2rem 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.sidebar-content {
    padding: 0 1.5rem;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: black;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

.category-btn i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    color: black;
}

.main-content {
    flex: 1;
    padding: 2rem;
    background: var(--dark-bg);
}

.category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.tab-icon {
    font-size: 1.2rem;
}

.products-container {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

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

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

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

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-bg);
}

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

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

.wishlist-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.wishlist-btn:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #10b981;
    margin-bottom: 1rem;
}

.product-actions {
    padding: 0 1.5rem 1.5rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.add-to-cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 250px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-left: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0;
    }

    .main-content {
        padding: 1rem;
    }

    .category-tabs {
        gap: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .products-container {
        padding: 1rem;
    }

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

    .product-card {
        border-radius: 10px;
    }

    .product-image {
        height: 200px;
    }

    .product-info {
        padding: 1rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .category-tabs {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 180px;
    }
}