/* ========================================
   DoGifter - Modern Professional Design V2
   ======================================== */

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    
    /* Accent Colors */
    --accent-pink: #FF6B9D;
    --accent-orange: #FF8A3D;
    --accent-yellow: #FFD93D;
    --accent-purple: #A78BFA;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-warm: linear-gradient(135deg, #FF6B9D 0%, #FF8A3D 100%);
    --gradient-cool: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-sunset: linear-gradient(135deg, #FF6B6B 0%, #FFD93D 100%);
    
    /* Neutral Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f5f6f7;
    --border-color: #e5e7eb;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, Arial, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

[dir="rtl"] { direction: rtl; }
[dir="ltr"] { direction: ltr; }

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

/* ========== Header - محسّن بالكامل ========== */
.dundle-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.dundle-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo Design */
.logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform var(--transition-fast);
}

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

.logo-do {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient-sunset);
    color: white;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
    transition: all var(--transition-normal);
}

.logo:hover .logo-do {
    transform: rotate(-5deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 100;
}

.language-selector {
    position: relative;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-lighter);
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.header-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cool);
    opacity: 0;
    transition: opacity var(--transition-fast);
    z-index: -1;
}

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

.header-btn:hover::before {
    opacity: 0.1;
}

/* Cart Button */
.cart-wrapper .header-btn {
    background: var(--gradient-cool);
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}

.cart-wrapper .header-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.cart-count {
    position: absolute;
    top: -6px;
    background: var(--accent-pink);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(255, 107, 157, 0.4);
    animation: pulse 2s infinite;
}

[dir="rtl"] .cart-count { left: -6px; }
[dir="ltr"] .cart-count { right: -6px; }

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

/* Language Dropdown */
.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    overflow: hidden;
    z-index: 1001;
}

.language-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[dir="rtl"] .language-dropdown { 
    right: 0;
    left: auto;
}

[dir="ltr"] .language-dropdown { 
    left: 0;
    right: auto;
}

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.language-dropdown a:hover {
    background: var(--bg-light);
}

.language-dropdown a.active {
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    color: var(--primary);
    font-weight: 700;
}

/* Navigation */
.header-nav {
    border-top: 1px solid var(--border-color);
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: block;
    padding: 16px 24px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40%;
    height: 3px;
    background: var(--gradient-cool);
    border-radius: 2px;
    transition: transform var(--transition-fast);
}

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

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--primary);
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    font-weight: 700;
}

/* ========== HERO SECTION - محسّن جذرياً ========== */
.hero-section {
    padding: 40px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: center;
}

/* Search Side - التصميم الجديد */
.hero-search {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 140, 0, 0.15) 100%);
    border-radius: 24px;
    padding: 48px 40px;
    height: auto;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 193, 7, 0.2);
    box-shadow: 0 8px 32px rgba(255, 193, 7, 0.15);
    transition: all var(--transition-normal);
}

.hero-search::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,193,7,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.hero-search:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 193, 7, 0.2);
}

@media (min-width: 992px) {
    .hero-search {
        background: url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=800') center/cover,
                    linear-gradient(135deg, rgba(255, 193, 7, 0.85) 0%, rgba(255, 140, 0, 0.85) 100%);
        background-blend-mode: overlay;
    }
}

.search-container {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.search-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.2;
    animation: fadeInUp 0.6s ease;
}

@media (min-width: 992px) {
    .search-title {
        color: #fff;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    }
}

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

/* Search Box Wrapper - مهم لـ position relative */
.search-box-wrapper {
    position: relative;
    margin-bottom: 12px;
}

/* Search Results Dropdown */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.search-results[style*="display: block"] {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Custom Scrollbar */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 0 12px 12px 0;
}

[dir="rtl"] .search-results::-webkit-scrollbar-track {
    border-radius: 12px 0 0 12px;
}

.search-results::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Loading State */
.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px;
    color: #666;
}

.search-loading::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #e5e5e5;
    border-top-color: #6366F1;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* No Results State */
.search-no-results {
    padding: 32px 24px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.search-no-results::before {
    content: '🔍';
    display: block;
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Result Items */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

[dir="rtl"] .search-result-item::before {
    left: auto;
    right: 0;
}

.search-result-item:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    padding-left: 20px;
}

[dir="rtl"] .search-result-item:hover {
    padding-left: 16px;
    padding-right: 20px;
}

.search-result-item:hover::before {
    transform: scaleY(1);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.search-result-item:hover .search-result-img {
    transform: scale(1.1);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
    transition: color 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-item:hover .search-result-info h4 {
    color: #6366F1;
}

.search-result-info p {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

.search-result-info p::before {
    content: '🏷️';
    font-size: 11px;
}

/* Responsive */
@media (max-width: 768px) {
    .search-results {
        max-height: 320px;
        border-radius: 8px;
    }
    
    .search-result-item {
        padding: 10px 12px;
    }
    
    .search-result-img {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .search-result-info h4 {
        font-size: 13px;
    }
    
    .search-result-info p {
        font-size: 11px;
    }
}
/* Popular Searches */
.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.popular-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
    .popular-tag {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
}

.popular-tag:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.2);
}

/* Slideshow */
.hero-slideshow {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 320px;
    box-shadow: var(--shadow-lg);
    border: 3px solid white;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    cursor: pointer;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.slide:hover img {
    transform: scale(1.05);
}

.slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background: white;
    width: 32px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ========== Sections ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 5px;
    background: var(--gradient-cool);
    border-radius: 3px;
}

[dir="rtl"] .section-header h2::after {
    left: auto;
    right: 0;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 50px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.view-all:hover {
    gap: 14px;
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

[dir="rtl"] .view-all:hover {
    transform: translateX(4px);
}

/* Best Selling Section */
.best-selling-section {
    padding: 60px 0;
    background: var(--bg-white);
}

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

/* Product Card */
.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-cool);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    pointer-events: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
    z-index: 2;
}

.product-card:hover::before {
    opacity: 0.05;
}

.product-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

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

.no-image {
    font-size: 64px;
    opacity: 0.3;
}

.product-info {
    padding: 20px;
}

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

.product-info h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 12px;
}

/* Categories Section */
.categories-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.category-card {
    background: white;
    padding: 40px 24px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: all var(--transition-slow);
    transform: rotate(45deg);
}

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

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

.category-icon {
    font-size: 56px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    transition: all var(--transition-normal);
}

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

.category-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
}

.category-card p {
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Payment Methods Section */
.payment-section {
    padding: 80px 0;
    background: var(--bg-white);
    text-align: center;
}

.payment-section h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.payment-section > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.payment-methods-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.payment-method {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.payment-method:hover {
    transform: translateY(-8px) rotate(-5deg);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%),
                url('https://images.unsplash.com/photo-1513885535751-8b9238bd345a?w=1200') center/cover;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

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

.newsletter-section h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.newsletter-section > p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50px;
    font-size: 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    transition: all var(--transition-fast);
}

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

.newsletter-form input:focus {
    outline: none;
    border-color: white;
    background: rgba(255,255,255,0.25);
}

.newsletter-btn {
    padding: 18px 40px;
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.newsletter-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* About Section */
.what-is-dundle {
    padding: 80px 0;
    background: var(--bg-light);
}

.what-is-dundle h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-primary);
    text-align: center;
}

.intro-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.feature-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.1));
}

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

.feature-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ========== Mobile Responsive ========== */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-search {
        min-height: 280px;
        padding: 32px 24px;
    }
    
    .search-title {
        font-size: 28px;
    }
    
    .hero-slideshow {
        height: 250px;
    }
    
    .nav-link {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-top {
        height: 70px;
    }

    .logo {
        font-size: 26px;
    }
    
    .logo-do {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .header-actions {
        gap: 8px;
    }

    .header-btn {
        padding: 8px 12px;
        font-size: 13px;
    }

    .btn-text {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .mobile-toggle span {
        width: 20px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(7px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-7px);
    }

    .header-nav {
        position: fixed;
        top: 70px;
        width: 300px;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: -2px 0 12px rgba(0,0,0,0.15);
        transition: right 0.3s ease, left 0.3s ease;
        overflow-y: auto;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    [dir="rtl"] .header-nav {
        right: -100%;
    }

    [dir="ltr"] .header-nav {
        left: -100%;
    }

    [dir="rtl"] .header-nav.mobile-open {
        right: 0;
    }

    [dir="ltr"] .header-nav.mobile-open {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0;
        height: auto;
    }

    .nav-item {
        flex: none;
        width: 100%;
    }

    .nav-link {
        padding: 16px 24px;
        line-height: normal;
        border-bottom: 1px solid var(--bg-light);
        display: block;
        border-radius: 0;
    }

    [dir="rtl"] .nav-link {
        text-align: right;
    }

    [dir="ltr"] .nav-link {
        text-align: left;
    }

    .nav-link:hover {
        background: var(--bg-light);
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0,0,0,0.3);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Hero Section Mobile */
    .hero-section {
        padding: 24px 0;
    }
    
    .hero-search {
        min-height: 240px;
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .search-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .search-box {
        border-radius: 12px;
    }
    
    .search-box input {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 14px 20px;
    }
    
    .search-btn span {
        display: none;
    }
    
    .popular-tag {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .hero-slideshow {
        height: 200px;
        border-radius: 16px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .view-all {
        padding: 10px 20px;
        font-size: 14px;
    }

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

    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 16px;
    }
    
    .product-info h4 {
        font-size: 15px;
    }

    .newsletter-section {
        padding: 60px 20px;
    }
    
    .newsletter-section h2 {
        font-size: 32px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .newsletter-btn {
        width: 100%;
    }

    .payment-methods-grid {
        gap: 16px;
    }

    .payment-method {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .what-is-dundle h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-search {
        min-height: 220px;
        padding: 20px 16px;
    }
    
    .search-title {
        font-size: 20px;
    }
    
    .search-box input {
        padding: 12px 14px;
        font-size: 13px;
    }
    
    .search-btn {
        padding: 12px 16px;
    }
    
    .hero-slideshow {
        height: 180px;
    }
    
    .section-header h2 {
        font-size: 22px;
    }
    
    .products-grid,
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
}
/* Trust Badges في Hero */
.trust-badges-hero {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

@media (min-width: 992px) {
    .trust-badge {
        background: rgba(255, 255, 255, 0.9);
        color: #000;
    }
}

.trust-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #FFC107;
}

.badge-icon {
    font-size: 16px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.badge-text {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .trust-badges-hero {
        gap: 8px;
    }
    
    .trust-badge {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .badge-icon {
        font-size: 14px;
    }
}
