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

:root {
    /* Color Palette - Purple Theme #8a4fff */
    --primary-purple: #8a4fff;
    --primary-purple-light: #b084ff;
    --primary-purple-dark: #6b3cc7;
    --primary-purple-extra-light: #d0b8ff;
    --primary-purple-accent: #9d5cff;
    --primary-pink: #b084ff;
    --secondary-orange: #9d5cff;
    --secondary-yellow: #d0b8ff;
    --accent-blue: #8a4fff;
    --accent-red: #9d5cff;
    --accent-green: #b084ff;
    --accent-cyan: #d0b8ff;
    
    /* Sticker Category Colors - Purple Variations */
    --stickers-gradient: linear-gradient(135deg, #8a4fff 0%, #6b3cc7 100%);
    --pins-gradient: linear-gradient(135deg, #9d5cff 0%, #8a4fff 100%);
    --cards-gradient: linear-gradient(135deg, #b084ff 0%, #9d5cff 100%);
    --custom-art-gradient: linear-gradient(135deg, #6b3cc7 0%, #8a4fff 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Amiri', serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --element-padding: 20px;
    
    /* Animations */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.25);
    
    /* Gradients - Purple Theme */
    --gradient-primary: linear-gradient(135deg, #8a4fff 0%, #b084ff 50%, #9d5cff 100%);
    --gradient-secondary: linear-gradient(135deg, #8a4fff 0%, #d0b8ff 100%);
    --gradient-accent: linear-gradient(135deg, #9d5cff 0%, #b084ff 100%);
    --gradient-rainbow: linear-gradient(90deg, #8a4fff 0%, #9d5cff 20%, #b084ff 40%, #d0b8ff 60%, #b084ff 80%, #8a4fff 100%);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    text-align: center;
    margin-bottom: 40px;
}

.logo-animate {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    animation: logoFloat 2s ease-in-out infinite;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.loading-text {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
}

.loading-text span {
    display: inline-block;
    animation: letterBounce 1.4s infinite;
    animation-fill-mode: both;
}

.loading-text span:nth-child(1) { animation-delay: 0.0s; }
.loading-text span:nth-child(2) { animation-delay: 0.1s; }
.loading-text span:nth-child(3) { animation-delay: 0.2s; }
.loading-text span:nth-child(4) { animation-delay: 0.3s; }
.loading-text span:nth-child(5) { animation-delay: 0.4s; }
.loading-text span:nth-child(7) { animation-delay: 0.6s; }
.loading-text span:nth-child(8) { animation-delay: 0.7s; }
.loading-text span:nth-child(9) { animation-delay: 0.8s; }
.loading-text span:nth-child(10) { animation-delay: 0.9s; }

.loading-progress {
    width: 200px;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #8a4fff, #b084ff, #9d5cff);
    border-radius: 2px;
    animation: progressFill 3s ease-out forwards;
}

/* Base Body Styles */
body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(138, 79, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 20px rgba(138, 79, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(138, 79, 255, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 2px 4px rgba(138, 79, 255, 0.2));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.arabic-text {
    font-family: var(--font-arabic);
    font-size: 0.9rem;
    color: var(--primary-purple);
    margin-left: 8px;
    direction: rtl;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color var(--transition-medium);
}

.nav-link:hover {
    color: #8a4fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-medium);
}

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

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

.search-container {
    position: relative;
}

.search-input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border: 1px solid rgba(138, 79, 255, 0.2);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 250px;
    transition: all var(--transition-medium);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(138, 79, 255, 0.1);
    width: 300px;
}

.search-btn {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-purple);
    cursor: pointer;
}

.cart-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--primary-purple);
    border-radius: 50%;
    transition: all var(--transition-medium);
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.cart-btn:hover {
    background: rgba(138, 79, 255, 0.1);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #8a4fff 0%, #9d5cff 100%);
    color: white;
    border-radius: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(138, 79, 255, 0.4);
    border: 2px solid white;
    transition: all 0.3s ease;
    transform: scale(1);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    transform: scale(0);
    opacity: 0;
}

.cart-count.bounce {
    animation: cartBounce 0.6s ease;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-purple);
    margin: 3px 0;
    border-radius: 2px;
    transition: all var(--transition-medium);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.wave-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.wave-1 {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.35));
    animation: waveFloat 8s ease-in-out infinite;
    border-radius: 0 0 100% 0;
}

.wave-2 {
    background: linear-gradient(-45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.25));
    animation: waveFloat 10s ease-in-out infinite reverse;
    border-radius: 0 0 0 100%;
}

.wave-3 {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2));
    animation: waveFloat 12s ease-in-out infinite;
    border-radius: 100% 0 100% 0;
}

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 79, 255, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(176, 132, 255, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: 5s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(157, 92, 255, 0.4) 0%, transparent 70%);
    bottom: 20%;
    left: 30%;
    animation-delay: 10s;
}

.orb-4 {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(208, 184, 255, 0.5) 0%, transparent 70%);
    top: 30%;
    right: 40%;
    animation-delay: 7s;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.sparkle-icon {
    animation: sparkle 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease 0.4s both;
}

.title-colorful {
    color: white !important;
    display: inline-block;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5), 
                 0 0 60px rgba(255, 255, 255, 0.3),
                 0 0 90px rgba(255, 255, 255, 0.2);
}

.title-colorful .char {
    display: inline-block;
    color: white !important;
    opacity: 0;
    font-weight: 900;
    animation-fill-mode: forwards !important;
}

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

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary {
    background: linear-gradient(135deg, #8a4fff 0%, #6b3cc7 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(138, 79, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(138, 79, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Arabic Calligraphy Animation */
.calligraphy-container {
    width: 100%;
    max-width: 400px;
    height: 200px;
    position: relative;
    animation: floatAnimation 6s ease-in-out infinite;
}

.arabic-calligraphy {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.2));
}

.calligraphy-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 4s ease-out 1.5s forwards;
}

.calligraphy-dot {
    opacity: 0;
    animation: dotAppear 0.5s ease forwards;
}

.dot-1 { animation-delay: 3s; }
.dot-2 { animation-delay: 3.5s; }
.dot-3 { animation-delay: 4s; }

/* Product Showcase */
.product-showcase {
    position: relative;
    width: 300px;
    min-height: 400px;
    perspective: 1000px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.showcase-item {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    opacity: 0;
    transform: translateX(100px) rotateY(45deg);
    transition: all 1s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-item.active {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

.showcase-image {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.showcase-info {
    text-align: center;
    color: white;
    width: 100%;
}

.showcase-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.currency {
    font-size: 1rem;
    opacity: 0.8;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 1;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-path {
    animation: waveMove 4s ease-in-out infinite;
}

.wave-path-1 {
    fill: rgba(255, 255, 255, 1);
    animation-delay: 0s;
}

.wave-path-2 {
    fill: rgba(255, 255, 255, 0.8);
    animation-delay: 1s;
}

.wave-path-3 {
    fill: rgba(255, 255, 255, 0.6);
    animation-delay: 2s;
}

/* Categories Section */
.categories {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9ff 0%, #fff5f8 100%);
    position: relative;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.category-card {
    position: relative;
    height: 320px;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-slow);
    perspective: 1000px;
}

.category-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all var(--transition-slow);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.category-card:hover .card-inner {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.02);
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--stickers-gradient);
    color: white;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.category-card:hover .card-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.category-card[data-category="stickers"] .card-icon {
    background: var(--stickers-gradient);
}

.category-card[data-category="pins"] .card-icon {
    background: var(--pins-gradient);
}

.category-card[data-category="cards"] .card-icon {
    background: var(--cards-gradient);
}

.category-card[data-category="custom-art"] .card-icon {
    background: var(--custom-art-gradient);
}

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

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

.card-count {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

.card-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    background: radial-gradient(circle, var(--primary-purple) 2px, transparent 2px);
    background-size: 20px 20px;
    transition: opacity var(--transition-medium);
}

.category-card:hover .card-bg-pattern {
    opacity: 0.2;
}

/* Products Section */
.products {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #fafbfc 0%, #f0f2f5 100%);
}

.product-carousel {
    position: relative;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 20px 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 0;
    padding: 0;
}

.product-card {
    flex: 0 0 280px !important;
    min-width: 280px !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    margin-right: 20px;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #d0d0d0;
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.product-content {
    padding: 16px !important;
    background: white !important;
    position: relative;
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
}

.product-category {
    font-size: 11px;
    color: #9B59B6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 8px;
    opacity: 0.8;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.product-rating svg {
    width: 14px;
    height: 14px;
    fill: #ffc107;
}

.rating-count {
    font-size: 12px;
    color: #999;
    margin-left: 4px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.price-current {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.price-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-top: 2px;
}

.btn-add-cart {
    padding: 8px 16px;
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, #8E44AD 0%, #7D3C98 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(138, 79, 255, 0.3);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1;
}

.badge {
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    display: inline-block;
}

.badge-new {
    background: linear-gradient(135deg, #56CCF2 0%, #2F80ED 100%);
    color: white;
}

.badge-sale {
    background: linear-gradient(135deg, #FC466B 0%, #3F5EFB 100%);
    color: white;
}

.product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border: none;
    z-index: 1;
}

.product-wishlist:hover {
    background: #f8f8f8;
    transform: scale(1.1);
}

.product-wishlist svg {
    width: 18px;
    height: 18px;
    stroke: #666;
    transition: all 0.3s ease;
}

.product-wishlist:hover svg {
    stroke: #e74c3c;
    fill: #e74c3c;
}

.product-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    backdrop-filter: blur(10px);
}

.badge-new {
    background: linear-gradient(135deg, #8a4fff 0%, #6b3cc7 100%);
}

.badge-sale {
    background: linear-gradient(135deg, #9d5cff 0%, #b084ff 100%);
}

.wishlist-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.wishlist-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(138, 79, 255, 0.1);
    color: var(--primary-purple);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.price-original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart-btn {
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(138, 79, 255, 0.3);
}

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

.add-to-cart-btn:hover::before {
    left: 100%;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px rgba(138, 79, 255, 0.2);
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(138, 79, 255, 0.3);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(138, 79, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-medium);
}

.carousel-dot.active {
    background: var(--primary-purple);
    transform: scale(1.2);
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(138, 79, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-medium);
    display: inline-block;
}

.carousel-dots .dot.active {
    background: var(--primary-purple);
    transform: scale(1.2);
    width: 24px;
    border-radius: 6px;
}

.products-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
    color: var(--primary-purple);
}

.products-loading .spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(138, 79, 255, 0.2);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Skeleton Loader Styles */
.skeleton-card {
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(
        90deg,
        rgba(138, 79, 255, 0.1) 25%,
        rgba(138, 79, 255, 0.2) 50%,
        rgba(138, 79, 255, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

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

.skeleton-image {
    height: 280px;
    width: 100%;
    background: #f5f5f5;
}

.skeleton-text {
    height: 16px;
    margin: 8px 0;
}

.skeleton-category {
    width: 60px;
    height: 12px;
}

.skeleton-title {
    width: 80%;
    height: 20px;
    margin: 12px 0;
}

.skeleton-rating {
    width: 100px;
    height: 16px;
    margin: 8px 0;
}

.skeleton-price {
    width: 70px;
    height: 24px;
}

.skeleton-button {
    width: 100px;
    height: 36px;
    border-radius: 18px;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #faf5ff 0%, #fff5f8 50%, #f0f8ff 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(138, 79, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(233, 30, 99, 0.05) 0%, transparent 50%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(138, 79, 255, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

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

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(138, 79, 255, 0.15);
    border-color: rgba(138, 79, 255, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg) translate(-100%, -100%);
    transition: transform 0.6s ease;
}

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

.feature-card:hover .feature-icon::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.feature-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonial-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-medium);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: #d0d0d0;
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Removed duplicate customer styles - using testimonial-author instead */

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

.star {
    width: 16px;
    height: 16px;
    color: #ffd700;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating svg {
    width: 18px;
    height: 18px;
    fill: #ffc107;
}

.testimonial-text {
    font-size: 15px;
    color: #495057;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
    position: relative;
    padding-left: 20px;
}

.testimonial-text::before {
    content: '"';
    font-size: 48px;
    color: rgba(138, 79, 255, 0.15);
    position: absolute;
    top: -10px;
    left: -5px;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.testimonial-author div h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
}

.testimonial-author div p {
    font-size: 12px;
    color: #9B59B6;
    margin: 0;
    font-weight: 500;
}

.testimonial-product {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-purple);
    border-top: 1px solid rgba(138, 79, 255, 0.1);
    padding-top: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: var(--section-padding);
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.newsletter-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.newsletter-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: newsletterWave 10s ease-in-out infinite;
}

.newsletter-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.newsletter-icon {
    margin-bottom: 2rem;
    animation: sparkle 3s ease-in-out infinite;
}

.newsletter-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.newsletter-description {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

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

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    transition: all var(--transition-medium);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: 1rem 2rem;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-medium);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.newsletter-disclaimer {
    font-size: 0.9rem;
    opacity: 0.7;
    text-align: center;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.footer-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    padding: 4rem 2rem 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 48px;
    height: 48px;
}

.footer-brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all var(--transition-medium);
}

.social-link:hover {
    background: linear-gradient(135deg, #8a4fff 0%, #9d5cff 100%);
    transform: translateY(-3px);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-medium);
}

.footer-link:hover {
    color: white;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item svg {
    color: var(--primary-purple);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 1rem;
}

.arabic-footer {
    font-family: var(--font-arabic);
    color: var(--primary-purple);
    direction: rtl;
}

/* Cart Animation */
.cart-animation {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

/* Animations */
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes letterBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

@keyframes progressFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes waveFloat {
    0%, 100% { transform: translateX(0px) translateY(0px) rotate(0deg); }
    33% { transform: translateX(20px) translateY(-20px) rotate(120deg); }
    66% { transform: translateX(-20px) translateY(-10px) rotate(240deg); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0px, 0px) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(20px, 10px) scale(1.05); }
}

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

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

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

@keyframes colorfulAppear {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8) rotate(-5deg);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

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

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

@keyframes waveMove {
    0% { transform: translateX(0); }
    50% { transform: translateX(-25px); }
    100% { transform: translateX(0); }
}

@keyframes cartBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes newsletterWave {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation .category-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease-out;
}

.stagger-animation.animated .category-card:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.stagger-animation.animated .category-card:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.stagger-animation.animated .category-card:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.stagger-animation.animated .category-card:nth-child(4) {
    animation: fadeInUp 0.6s ease 0.4s both;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .product-card {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card {
        flex: 0 0 calc(100% - 1rem);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-input {
        min-width: auto;
    }
    
    .footer-copyright {
        text-align: center;
        flex-direction: column;
    }
    
    .search-input {
        width: 200px;
    }
    
    .search-input:focus {
        width: 250px;
    }
    
    .nav-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .category-card {
        height: 280px;
    }
    
    .card-inner {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .newsletter-description {
        font-size: 1rem;
    }
    
    .search-container {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-secondary {
        border: 3px solid white;
    }
    
    .card-inner {
        border: 2px solid rgba(138, 79, 255, 0.3);
    }
    
    .product-card {
        border: 2px solid rgba(138, 79, 255, 0.2);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .wave-layer,
    .orb,
    .calligraphy-path,
    .sparkle-icon {
        animation: none;
    }
}

/* Print styles */
@media print {
    .navbar,
    .cart-animation,
    .loading-screen {
        display: none;
    }
    
    .hero {
        min-height: auto;
        background: white;
        color: black;
    }
    
    .section-title {
        color: black;
    }
}