/* ===== PREMIUM SAAS DESIGN - APPLE STYLE ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

:root {
    /* Light Mode Colors */
    --bg-base: #FAFAFA;
    --bg-card: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-tertiary: #9CA3AF;
    --border-light: #E5E7EB;
    --border-medium: #D1D5DB;
    --accent-primary: #2563EB;
    --accent-hover: #1D4ED8;
    --whatsapp-green: #25D366;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    --gradient-mesh-1: rgba(167, 243, 208, 0.15);
    --gradient-mesh-2: rgba(254, 202, 202, 0.15);
    --gradient-mesh-3: rgba(191, 219, 254, 0.1);
}

/* Dark Mode Colors - Pure Black Design */
[data-theme="dark"] {
    --bg-base: #000000;
    --bg-card: #121212;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --border-light: #262626;
    --border-medium: #27272a;
    --accent-primary: #3B82F6;
    --accent-hover: #2563EB;
    --whatsapp-green: #25D366;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.8);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.8);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.8);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --gradient-mesh-1: rgba(56, 189, 248, 0.03);
    --gradient-mesh-2: rgba(139, 92, 246, 0.03);
    --gradient-mesh-3: rgba(236, 72, 153, 0.02);
}

/* Dark Mode - Navbar with Bottom Border */
[data-theme="dark"] .nav-pill-content {
    background: #121212 !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid #1f1f1f;
    border-bottom: 2px solid #1f1f1f;
}

/* Dark Mode - Footer with Top Border */
[data-theme="dark"] .footer-comprehensive {
    background: #000000;
    border-top: 2px solid #1f1f1f;
}

/* Dark Mode - Enhanced Card Backgrounds */
[data-theme="dark"] .product-card-modern,
[data-theme="dark"] .modal-content-modern,
[data-theme="dark"] .settings-drawer-content,
[data-theme="dark"] .welcome-modal-content {
    background: #18181b;
    border-color: #27272a;
}

/* Dark Mode - Search Bar and Inputs */
[data-theme="dark"] .search-bar input,
[data-theme="dark"] select,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="radio"],
[data-theme="dark"] input[type="checkbox"] {
    background: #18181b;
    border-color: #27272a;
    color: #ffffff;
}

[data-theme="dark"] .search-bar input::placeholder {
    color: #9ca3af;
}

/* Dark Mode - Reviews Ticker */
[data-theme="dark"] .reviews-marquee {
    background: #000000;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
}

[data-theme="dark"] .review-card {
    background: #18181b;
    border-color: #262626;
}

/* Dark Mode - Category Pills */
[data-theme="dark"] .category-pill {
    background: #18181b;
    border-color: #27272a;
    color: #a1a1aa;
}

[data-theme="dark"] .category-pill.active {
    background: #3B82F6;
    color: #ffffff;
    border-color: #3B82F6;
}

/* Dark Mode - App Icon Containers with Crisp Borders */
[data-theme="dark"] .mini-logo-container,
[data-theme="dark"] .product-icon-container,
[data-theme="dark"] .featured-logo-container {
    background-color: #121212 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
}

/* Light Mode - App Icon Containers */
[data-theme="light"] .mini-logo-container,
[data-theme="light"] .product-icon-container,
[data-theme="light"] .featured-logo-container {
    background-color: #ffffff !important;
    border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
}

/* Dark Mode - Filter Sidebar */
[data-theme="dark"] .filter-sidebar {
    background: transparent !important;
    border-right: 1px solid #27272a;
}

[data-theme="dark"][dir="rtl"] .filter-sidebar {
    border-right: none;
    border-left: 1px solid #27272a;
}

[data-theme="dark"] .sidebar-header,
[data-theme="dark"] .filter-section {
    border-color: #27272a;
}

[data-theme="dark"] .sidebar-header h3,
[data-theme="dark"] .filter-section-title {
    color: #ffffff;
}

[data-theme="dark"] .filter-option label {
    color: #a1a1aa;
}

/* Dark Mode - Radio and Checkbox Custom Styling */
[data-theme="dark"] .radio-custom,
[data-theme="dark"] .checkbox-custom {
    background: #18181b;
    border-color: #27272a;
}

[data-theme="dark"] .filter-option input[type="radio"]:checked ~ .radio-custom,
[data-theme="dark"] .filter-option input[type="checkbox"]:checked ~ .checkbox-custom {
    background: #3B82F6;
    border-color: #3B82F6;
}

/* Dark Mode - Sort Dropdown */
[data-theme="dark"] .sort-select,
[data-theme="dark"] select {
    background: #121212 !important;
    color: #ffffff !important;
    border-color: #27272a !important;
}

[data-theme="dark"] .sort-select:hover,
[data-theme="dark"] select:hover {
    border-color: #3f3f46 !important;
}

/* Products Page Filter Sidebar Classes */
.filter-sidebar-products {
    width: 260px;
    flex-shrink: 0;
}

/* Close button for mobile filter sidebar */
.close-sidebar-mobile {
    display: none;
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    z-index: 10;
}

[dir="rtl"] .close-sidebar-mobile {
    right: auto;
    left: 24px;
}

/* Filter sidebar overlay for mobile */
.filter-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2599;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: none;
}

.filter-sidebar-overlay.active {
    opacity: 1;
    pointer-events: all;
    display: block;
}

/* Mobile: Hide by default */
@media (max-width: 768px) {
    .filter-sidebar-products {
        display: none;
    }
    
    .close-sidebar-mobile {
        display: block;
    }
}

.filter-sidebar-content {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

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

.filter-section-wrapper {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E7EB;
}

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

.filter-section-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #9CA3AF;
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
}

.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-disabled-section {
    opacity: 0.5;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.filter-input {
    width: 20px;
    height: 20px;
}

.filter-text {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-primary);
}

.filter-count {
    font-size: 0.875rem;
    color: #9CA3AF;
}

/* Dark Mode - Products Page Sidebar */
[data-theme="dark"] .filter-sidebar-products {
    background: transparent !important;
    border-right: 1px solid #27272a;
}

[data-theme="dark"][dir="rtl"] .filter-sidebar-products {
    border-right: none;
    border-left: 1px solid #27272a;
}

[data-theme="dark"] .filter-sidebar-content {
    background: transparent !important;
    border: none !important;
}

[data-theme="dark"] .filter-header svg {
    color: #a1a1aa;
}

[data-theme="dark"] .filter-title {
    color: #ffffff;
}

[data-theme="dark"] .filter-section-wrapper {
    border-color: #27272a;
}

[data-theme="dark"] .filter-section-heading {
    color: #a1a1aa;
}

[data-theme="dark"] .filter-text {
    color: #ffffff;
}

[data-theme="dark"] .filter-count {
    color: #71717a;
}

[data-theme="dark"] .filter-input[type="radio"],
[data-theme="dark"] .filter-input[type="checkbox"] {
    accent-color: #3B82F6;
    background: #18181b;
    border: 1px solid #27272a;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Subtle gradient mesh background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, var(--gradient-mesh-1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, var(--gradient-mesh-2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, var(--gradient-mesh-3) 0%, transparent 50%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
    transition: background 0.3s ease;
}

/* Dark Mode - Pure Dark Background with Warm Neutral Glow */
[data-theme="dark"] body {
    background-color: #080808 !important;
    background-image: radial-gradient(circle at top center, rgba(45, 42, 38, 0.5) 0%, #080808 55%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

[data-theme="dark"] body::before {
    display: none !important;
}

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

/* ===== CLEAN FROSTED NAVIGATION ===== */
.navbar-pill {
    position: sticky;
    top: 16px;
    z-index: 1000;
    margin-bottom: 2rem;
    padding: 0 24px;
}

.nav-pill-content {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
    direction: ltr !important;
}

.logo-link {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo-link:hover {
    opacity: 0.7;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.nav-links-center {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0;
}

.nav-links-center a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-links-center a:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
}

.nav-links-center a.active {
    background: var(--text-primary);
    color: var(--bg-card);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: ltr !important;
}

.search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar input {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-light);
    padding: 8px 16px 8px 36px;
    border-radius: 9999px;
    width: 180px;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--text-primary);
    background: var(--bg-card);
    width: 220px;
}

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

.search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: var(--text-tertiary);
    pointer-events: none;
}

.settings-icon-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.settings-icon-pill:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: scale(1.05);
}

.settings-icon-pill svg {
    width: 18px;
    height: 18px;
}

/* ===== HERO SECTION (CLEAN & MINIMAL) ===== */
.hero-modern {
    text-align: center;
    padding: 80px 0 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.hero-title-modern {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 32px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a !important;
    border: 1px solid #333 !important;
    color: #ffffff !important;
    border-radius: 9999px !important;
    padding: 12px 28px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.3s ease;
}

/* Subtle hover state */
.btn-primary:hover {
    background-color: #262626 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Push down effect on click */
.btn-primary:active {
    transform: scale(0.96);
}

/* Center Ripple Effect on Click */
.btn-primary::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.btn-primary:active::after {
    width: 300px;
    height: 300px;
    opacity: 1;
    transition: width 0.4s ease-out, height 0.4s ease-out, opacity 0.4s ease-out;
}

.btn-outline {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--bg-card);
    gap: 8px;
    width: 100%;
    margin-top: 24px;
    border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}

.trust-badges {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
}

/* ===== HORIZONTAL PRODUCT CARDS (APPLE STYLE) ===== */
.products-preview,
.products-section-modern {
    padding: 60px 0;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.section-subtitle-modern {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1.125rem;
    font-weight: 400;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card-modern {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    min-height: 140px;
}

.product-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

/* Special 24H Offer Card Styling */
.product-card-modern.product-card-special {
    border: 2px solid #12544F;
    background: linear-gradient(135deg, rgba(18, 84, 79, 0.05) 0%, var(--bg-card) 100%);
}

[data-theme="dark"] .product-card-modern.product-card-special {
    border: 2px solid #12544F;
    background: linear-gradient(135deg, rgba(18, 84, 79, 0.15) 0%, #121212 100%);
}

.special-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #12544F 0%, #0d3d39 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(18, 84, 79, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

[dir="rtl"] .special-badge {
    right: auto;
    left: 20px;
}

@keyframes pulse-badge {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(18, 84, 79, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(18, 84, 79, 0.6);
    }
}

.product-price-special {
    color: #12544F !important;
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}

[data-theme="dark"] .product-price-special {
    color: #A8DADC !important;
}

.product-icon-container {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    padding: 4px !important;
    background-color: #121212 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-title-modern {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-desc-short {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-footer-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    gap: 12px;
}

.product-rating {
    display: flex;
    align-items: center;
}

.product-rating .stars {
    font-size: 0.875rem;
    color: #FBBF24;
    letter-spacing: -0.05em;
}

.product-price-modern {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    white-space: nowrap;
}

/* ===== PRODUCT MODAL (CLEAN) ===== */
.modal-modern {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
    pointer-events: none;
    visibility: hidden;
}

.modal-modern[style*="flex"],
.modal-modern[style*="block"] {
    pointer-events: all;
    visibility: visible;
}

.modal-content-modern {
    background: var(--bg-card);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.modal-close-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
}

.modal-close-modern:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.1);
}

.modal-body-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 48px;
}

.modal-image-modern {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.modal-details-modern {
    display: flex;
    flex-direction: column;
}

.modal-title-modern {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.modal-rating {
    margin-bottom: 12px;
}

.modal-rating .stars {
    font-size: 1rem;
    color: #FBBF24;
}

.modal-price-modern {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.modal-section-modern {
    margin-bottom: 24px;
}

.modal-section-modern h3 {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.modal-section-modern p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.features-list-modern {
    list-style: none;
    padding-left: 0;
}

.features-list-modern li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.features-list-modern li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
    font-size: 1.125rem;
}

/* ===== SETTINGS DRAWER ===== */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    display: none;
}

.settings-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    display: block;
}

.settings-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 2600;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid var(--border-light);
}

.settings-drawer.open {
    right: 0;
}

.settings-drawer-content {
    padding: 32px 24px;
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.settings-header h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 700;
}

.close-drawer {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.close-drawer:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.1);
}

.close-drawer svg {
    width: 18px;
    height: 18px;
}

.setting-group {
    margin-bottom: 32px;
}

.setting-label {
    display: block;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.setting-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.setting-btn {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-align: left;
    width: 100%;
    font-weight: 500;
}

.setting-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--border-medium);
}

.setting-btn.active {
    background: var(--text-primary);
    color: var(--bg-card);
    border-color: var(--text-primary);
}

.setting-btn span {
    font-weight: 600;
}

/* Theme Toggle Switch */
.theme-toggle-container {
    display: flex;
    gap: 8px;
}

.theme-toggle-btn {
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    text-align: center;
    flex: 1;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--border-medium);
}

[data-theme="dark"] .theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.theme-toggle-btn.active {
    background: var(--text-primary);
    color: var(--bg-card);
    border-color: var(--text-primary);
}

.theme-icon {
    font-size: 1.125rem;
}

/* ===== PROMO PAGE STYLES ===== */
.promo-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.pack-featured-section {
    padding: 40px 0 60px;
}

.pack-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 48px;
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pack-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .pack-hero-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pack-badge-container {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.pack-badge {
    display: inline-block;
    background: linear-gradient(135deg, #12544F 0%, #0f4642 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.pack-badge-new {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.pack-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.pack-hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.6;
}

.pack-includes {
    background: var(--bg-base);
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
}

.pack-includes-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.pack-includes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pack-includes-list li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pack-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.pack-price-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pack-original-price {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    text-decoration: line-through;
}

.pack-current-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
}

.pack-cta {
    font-size: 1.0625rem;
    padding: 16px 32px;
    white-space: nowrap;
}

.pack-hero-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pack-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 20px;
}

.pack-benefits {
    padding: 60px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-base);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== INFO MODALS (PAYMENT & POLICIES) ===== */
.info-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.info-modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    animation: slideUp 0.3s ease;
}

[data-theme="dark"] .info-modal-content {
    background: #121212;
    border-color: #27272a;
}

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

.info-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    line-height: 1;
}

.info-modal-close:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: scale(1.1);
    color: var(--text-primary);
}

[data-theme="dark"] .info-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

[dir="rtl"] .info-modal-close {
    right: auto;
    left: 20px;
}

.info-modal-header {
    padding: 40px 40px 24px;
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .info-modal-header {
    border-bottom-color: #27272a;
}

.info-modal-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
}

.info-modal-body {
    padding: 32px 40px 40px;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

.info-modal-body p {
    margin: 0 0 20px 0;
    color: var(--text-secondary);
}

.info-modal-body p:last-child {
    margin-bottom: 0;
}

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

.info-list li {
    margin-bottom: 24px;
    padding-left: 0;
    line-height: 1.8;
}

.info-list li:last-child {
    margin-bottom: 0;
}

.info-list strong {
    color: var(--text-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    font-size: 1.0625rem;
}

.info-list span {
    color: var(--text-secondary);
}

/* FAQ Items */
.faq-item {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border-light);
}

[data-theme="dark"] .faq-item {
    border-bottom-color: #27272a;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.faq-answer {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

/* ===== WELCOME MODAL ===== */
.welcome-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    pointer-events: none;
    visibility: hidden;
}

.welcome-modal[style*="flex"],
.welcome-modal[style*="block"] {
    pointer-events: all;
    visibility: visible;
}

.welcome-modal-content {
    background: var(--bg-card);
    border-radius: 24px;
    max-width: 560px;
    width: 90%;
    padding: 48px 40px;
    position: relative;
    box-shadow: var(--shadow-xl);
    text-align: center;
    border: 1px solid var(--border-light);
}

.welcome-title {
    font-size: 1.875rem;
    line-height: 1.3;
    margin-bottom: 32px;
    color: var(--text-primary);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.preferences-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.preference-group {
    background: var(--bg-base);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.preference-label {
    font-size: 1.125rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.preference-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.preference-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    padding: 16px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.preference-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--border-medium);
}

.preference-btn.active {
    background: var(--text-primary);
    color: var(--bg-card);
    border-color: var(--text-primary);
}

.preference-icon {
    font-size: 2rem;
}

.preference-text {
    font-weight: 600;
}

.welcome-cta-btn {
    background: var(--text-primary);
    color: var(--bg-card);
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.welcome-cta-btn:hover {
    background: var(--text-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== QUICK ACCESS MINI CARDS (PILL-SHAPED) ===== */
.quick-access-section {
    padding: 0 0 60px;
}

.quick-access-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.mini-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    min-width: 260px;
}

.mini-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.mini-logo-container {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    padding: 4px !important;
    background-color: #121212 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mini-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.mini-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mini-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mini-rating {
    font-size: 0.75rem;
    color: #FBBF24;
    letter-spacing: -0.05em;
    line-height: 1;
}

.mini-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
}

/* ===== CUSTOMER REVIEWS TICKER (INFINITE SCROLL) ===== */
.reviews-ticker {
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    background: transparent;
    position: relative;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker-track {
    display: inline-flex;
    gap: 12px;
    animation: ticker-scroll 40s linear infinite;
    will-change: transform;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 6px 16px;
    font-size: 0.8125rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    cursor: default;
}

.review-pill:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.reviewer-name {
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.review-pill .stars {
    font-size: 0.75rem;
    color: #FBBF24;
    letter-spacing: -0.05em;
    line-height: 1;
    display: flex;
    align-items: center;
}

.review-pill .half-star {
    opacity: 0.5;
}

/* ===== BROWSE CATEGORIES SECTION ===== */
.browse-categories-section {
    padding: 40px 0;
}

.categories-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.categories-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.categories-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.arrow-icon {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.categories-link:hover .arrow-icon {
    transform: translateX(4px);
}

[dir="rtl"] .categories-link:hover .arrow-icon {
    transform: translateX(-4px);
}

.categories-scroll {
    display: flex;
    gap: 12px;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 9999px;
    padding: 8px 16px;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-pill:hover {
    background: var(--bg-base);
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .category-pill:hover {
    background: rgba(255, 255, 255, 0.05);
}

.category-pill.category-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.category-pill.category-disabled:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-card);
    border-color: var(--border-light);
}

.category-icon {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.category-name {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
}

.category-count {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    background: var(--bg-base);
    padding: 2px 8px;
    border-radius: 9999px;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}

[data-theme="dark"] .category-count {
    background: rgba(255, 255, 255, 0.08);
}

/* ===== CATEGORY DETAIL VIEW ===== */
.category-detail-view {
    padding: 40px 0 60px;
}

.category-detail-view.hidden {
    display: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.breadcrumb-separator {
    color: var(--text-tertiary);
}

.breadcrumb-text {
    color: var(--text-secondary);
}

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

.category-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 48px;
    box-shadow: var(--shadow-md);
}

.category-hero-icon-container {
    width: 80px;
    height: 80px;
    background: var(--bg-base);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.category-hero-icon {
    width: 40px;
    height: 40px;
    color: var(--text-primary);
}

.category-hero-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.category-hero-content {
    flex: 1;
}

.category-overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.category-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.category-hero-description {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.category-hero-count {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin: 0;
}

/* ===== ALL CATEGORIES DIRECTORY VIEW ===== */
.all-categories-view {
    padding: 60px 0;
}

.all-categories-view.hidden {
    display: none;
}

.directory-header {
    text-align: center;
    margin-bottom: 48px;
}

.directory-overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.directory-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.directory-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.directory-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.directory-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.directory-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-base);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
}

.directory-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.directory-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.directory-card-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.directory-card-count {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-weight: 500;
    margin: 0;
}

/* ===== PRODUCTS CATALOG WITH SIDEBAR ===== */
.products-catalog-section {
    padding: 40px 0 60px;
}

.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

[data-theme="dark"] .mobile-filter-toggle {
    background: #121212;
    border-color: #27272a;
}

.mobile-filter-toggle svg {
    flex-shrink: 0;
}

.mobile-filter-toggle:hover {
    background: var(--bg-base);
}

[data-theme="dark"] .mobile-filter-toggle:hover {
    background: #1a1a1a;
}

.catalog-layout {
    display: flex;
    gap: 32px;
}

/* Filter Sidebar */
.filter-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.sidebar-header svg {
    color: var(--text-secondary);
}

.close-sidebar-mobile {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--text-secondary);
}

.filter-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    margin: 0 0 16px 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.filter-option.filter-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.radio-custom,
.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-medium);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-custom {
    border-radius: 4px;
}

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

.filter-option input[type="radio"]:checked ~ .radio-custom::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-card);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-option input[type="checkbox"]:checked ~ .checkbox-custom::after {
    content: '✓';
    position: absolute;
    color: var(--bg-card);
    font-size: 0.75rem;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.filter-label {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-primary);
    font-weight: 500;
}

.filter-count {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* Main Catalog Content */
.catalog-main-content {
    flex: 1;
    min-width: 0;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 24px;
}

.catalog-header-left {
    flex: 1;
}

.catalog-overline {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-tertiary);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.catalog-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.catalog-subtitle {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0;
}

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

.catalog-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.sort-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.sort-select {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 180px;
}

.sort-select:hover {
    border-color: var(--border-medium);
}

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

/* ===== SPECIAL OFFER BANNER (24H) ===== */
.special-offer-banner {
    padding: 40px 0;
}

.offer-banner-card {
    background: linear-gradient(135deg, #12544F 0%, #0d3d39 100%);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(18, 84, 79, 0.3);
}

.offer-banner-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.offer-banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(18, 84, 79, 0.4);
}

.offer-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    animation: pulse-badge 2s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.125rem;
    animation: bounce-icon 1.5s ease-in-out infinite;
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.offer-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.offer-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.offer-logo-container {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    flex-shrink: 0;
}

.offer-logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.offer-info {
    flex: 1;
}

.offer-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.offer-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.offer-banner-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.offer-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.offer-old-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.offer-new-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
}

.offer-discount {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ffffff;
}

.btn-offer-cta {
    background: #ffffff !important;
    color: #12544F !important;
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-offer-cta:hover {
    background: #f0f0f0 !important;
    transform: scale(1.05);
}

/* ===== FEATURED SUBSCRIPTIONS SECTION ===== */
.featured-section {
    padding: 60px 0;
}

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

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* View All Button Container */
.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    color: #121212;
    border-radius: 9999px;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
}

.btn-view-all svg {
    transition: transform 0.2s ease;
}

.btn-view-all:hover svg {
    transform: translateX(4px);
}

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

/* Dark Mode - View All Button */
[data-theme="dark"] .btn-view-all {
    background-color: #ffffff;
    color: #121212;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .btn-view-all:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

.featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-medium);
}

.featured-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.featured-logo-container {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 14px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    padding: 4px !important;
    background-color: #121212 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.heart-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    color: var(--text-tertiary);
    border-radius: 50%;
}

.heart-icon:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #EF4444;
    transform: scale(1.1);
}

.heart-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.featured-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.featured-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.featured-rating {
    font-size: 0.875rem;
    color: #FBBF24;
    letter-spacing: -0.05em;
}

.featured-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-light);
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    gap: 12px;
}

.price-section {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.starts-from {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-weight: 500;
    line-height: 1;
}

.featured-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.btn-view-detail {
    background: #12544F !important;
    color: #ffffff !important;
    border-color: #12544F !important;
    padding: 10px 20px;
    font-size: 0.875rem;
    white-space: nowrap;
}

.btn-view-detail:hover {
    background: #1a6b65 !important;
}

/* ===== PROMOTIONAL BANNER ===== */
.promo-banner-section {
    padding: 40px 0;
}

.promo-banner {
    background: linear-gradient(135deg, #12544F 0%, #0f4642 100%);
    border-radius: 24px;
    padding: 48px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(6, 78, 59, 0.4);
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
}

.promo-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 8px 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.promo-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
}

.btn-promo {
    background: #ffffff;
    color: #064e3b;
    border-color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-promo:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #065f46;
    transform: translateY(0);
}

.btn-promo svg {
    transition: transform 0.2s ease;
}

.btn-promo:hover svg {
    transform: translateX(4px);
}

/* ===== COMPREHENSIVE 4-COLUMN FOOTER ===== */
.footer-comprehensive {
    background: var(--bg-card);
    padding: 64px 0 32px;
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.footer-btn {
    margin-top: 8px;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    line-height: 1;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    display: inline-block;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-note {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.footer-copyright {
    color: var(--text-tertiary);
    font-size: 0.875rem;
    margin: 0;
}

/* ===== OLD FOOTER (FALLBACK) ===== */
.footer-modern {
    background: var(--bg-card);
    padding: 32px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid var(--border-light);
}

.footer-modern p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== MOBILE NAVIGATION DRAWER ===== */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
    background: transparent;
    border: none;
    z-index: 1001;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger animation when active */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    transition: right 0.3s ease;
    padding: 80px 24px 24px;
    overflow-y: auto;
}

[data-theme="dark"] .mobile-nav-drawer {
    background: #080808;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
}

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

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: none;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
    display: block;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: block;
}

.mobile-nav-links a:hover {
    background: rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .mobile-nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-search-bar {
    margin-bottom: 16px;
}

.mobile-search-bar input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.mobile-drawer-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    /* Navbar - Slim Mobile Header */
    .navbar-pill {
        top: 0;
        padding: 0 16px;
        margin-bottom: 1rem;
    }

    .nav-pill-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        border-radius: 16px;
        gap: 12px;
    }

    /* Hide navigation links and search on mobile */
    .nav-links-center,
    .search-bar {
        display: none !important;
    }

    /* Show only logo and hamburger */
    .hamburger-menu {
        display: flex;
    }

    .nav-actions {
        gap: 8px;
    }

    .search-bar input {
        width: 160px;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.125rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .section-title-modern {
        font-size: 2rem;
    }

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

    .product-card-modern {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-icon-container {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .modal-body-modern {
        grid-template-columns: 1fr;
        padding: 32px 24px;
    }

    /* Info Modals - Mobile */
    .info-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .info-modal-header {
        padding: 32px 24px 20px;
    }

    .info-modal-title {
        font-size: 1.5rem;
    }

    .info-modal-body {
        padding: 24px;
        font-size: 0.9375rem;
    }

    .info-modal-close {
        top: 16px;
        right: 16px;
    }

    [dir="rtl"] .info-modal-close {
        right: auto;
        left: 16px;
    }

    .settings-drawer {
        width: 100%;
        right: -100%;
    }

    /* Reviews Ticker */
    .ticker-track {
        animation-duration: 30s;
    }

    .review-pill {
        font-size: 0.75rem;
        padding: 5px 14px;
    }

    /* Browse Categories */
    .categories-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

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

    .category-pill {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }

    .category-icon {
        width: 16px;
        height: 16px;
    }

    /* Category Detail View */
    .category-hero-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
    }

    .category-hero-icon-container {
        width: 64px;
        height: 64px;
    }

    .category-hero-icon {
        width: 32px;
        height: 32px;
    }

    .category-hero-title {
        font-size: 1.5rem;
    }

    .category-hero-description {
        font-size: 0.9375rem;
    }

    /* All Categories Directory View */
    .directory-title {
        font-size: 1.875rem;
    }

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

    .directory-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .directory-card {
        padding: 24px 20px;
    }

    /* Products Catalog */
    .mobile-filter-toggle {
        display: flex;
    }

    .filter-sidebar-products {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        z-index: 2600;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 24px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
        visibility: hidden;
    }

    [data-theme="dark"] .filter-sidebar-products {
        background: #080808 !important;
    }

    [dir="rtl"] .filter-sidebar-products {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }

    .filter-sidebar-products.sidebar-open {
        left: 0;
        visibility: visible;
    }

    [dir="rtl"] .filter-sidebar-products.sidebar-open {
        right: 0;
        left: auto;
        visibility: visible;
    }

    .catalog-layout {
        flex-direction: column;
    }

    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        z-index: 2600;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 24px;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.1);
    }

    [dir="rtl"] .filter-sidebar {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }

    .filter-sidebar.sidebar-open {
        left: 0;
    }

    [dir="rtl"] .filter-sidebar.sidebar-open {
        right: 0;
        left: auto;
    }

    .close-sidebar-mobile {
        display: block;
    }

    .catalog-header {
        flex-direction: column;
        align-items: stretch;
    }

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

    .catalog-header-right {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-select {
        width: 100%;
    }

    /* Quick Access Mini Cards */
    .quick-access-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .mini-card {
        min-width: 0;
    }

    /* Featured Grid */
    .featured-grid {
        grid-template-columns: 1fr;
    }

    /* Special Offer Banner - Mobile */
    .offer-banner-card {
        padding: 24px 20px;
    }

    .offer-banner-content {
        flex-direction: column;
        gap: 24px;
    }

    .offer-banner-left {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .offer-logo-container {
        width: 64px;
        height: 64px;
    }

    .offer-title {
        font-size: 1.25rem;
    }

    .offer-description {
        font-size: 0.875rem;
    }

    .offer-banner-right {
        align-items: center;
        width: 100%;
    }

    .offer-price-section {
        align-items: center;
    }

    .offer-new-price {
        font-size: 2rem;
    }

    .btn-offer-cta {
        width: 100%;
        justify-content: center;
    }

    /* Promo Banner */
    .promo-banner {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
        text-align: center;
    }

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

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

    .btn-promo {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-links a:hover {
        transform: translateX(0);
    }

    /* Promo Page */
    .pack-hero-card {
        grid-template-columns: 1fr;
        padding: 32px 24px;
        gap: 32px;
    }

    .pack-hero-title {
        font-size: 1.875rem;
    }

    .pack-hero-desc {
        font-size: 1rem;
    }

    .pack-hero-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .pack-cta {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 2rem;
    }

    .btn-pill {
        padding: 10px 24px;
        font-size: 0.875rem;
    }

    .preference-options {
        grid-template-columns: 1fr;
    }

    .welcome-modal-content {
        padding: 32px 24px;
    }
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] .features-list-modern li {
    padding-left: 0;
    padding-right: 28px;
}

[dir="rtl"] .features-list-modern li::before {
    left: auto;
    right: 0;
}

[dir="rtl"] .modal-close-modern {
    right: auto;
    left: 20px;
}

[dir="rtl"] .settings-drawer {
    right: auto;
    left: -400px;
    border-left: none;
    border-right: 1px solid var(--border-light);
}

[dir="rtl"] .settings-drawer.open {
    left: 0;
}

[dir="rtl"] .featured-badge-modern {
    right: auto;
    left: 12px;
}

[dir="rtl"] .search-icon {
    left: auto;
    right: 12px;
}

[dir="rtl"] .search-bar input {
    padding: 8px 36px 8px 16px;
}

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

[dir="rtl"] .btn-promo:hover svg {
    transform: translateX(-4px);
}

[dir="rtl"] .heart-icon {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .categories-link .arrow-icon {
    transform: scaleX(-1);
}

[dir="rtl"] .categories-link:hover .arrow-icon {
    transform: scaleX(-1) translateX(-4px);
}

@media (max-width: 768px) {
    [dir="rtl"] .modal-close-modern {
        left: 15px;
    }
    
    [dir="rtl"] .settings-drawer {
        left: -100%;
    }

    [dir="rtl"] .footer-links a:hover {
        transform: translateX(0);
    }
}
