/* Apple-style Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* תיקון בעיית הגלילה האופקית במובייל - הכי אגרסיבי */
html {
    overflow-x: hidden !important;
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #1d1d1f;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

/* Page Wrapper - מונע גלילה אופקית */
.page-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-wrapper > main {
    flex: 1;
}

/* מניעת גלילה אופקית במובייל עם touch-action */
@media (max-width: 768px) {
    html {
        overflow-x: hidden !important;
        overscroll-behavior-x: none;
    }

    body {
        overflow-x: hidden !important;
        overscroll-behavior-x: none;
        touch-action: pan-y pinch-zoom;
        -webkit-overflow-scrolling: touch;
    }

    /* מניעת גלישה של כל האלמנטים */
    *,
    *::before,
    *::after {
        max-width: 100vw !important;
    }

    .header,
    .container,
    .hero,
    .filter-bar,
    .deals-grid,
    .deal-card,
    .footer {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: #007aff;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stats {
    display: flex;
    gap: 40px;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #007aff;
    display: block;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 13px;
    color: #8e8e93;
    margin-top: 4px;
    font-weight: 500;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 20px;
    color: #8e8e93;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-buttons {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    background: rgba(142, 142, 147, 0.1);
    color: #1d1d1f;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #007aff;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 14px 50px 14px 20px;
    border: 2px solid rgba(142, 142, 147, 0.3);
    border-radius: 25px;
    font-size: 16px;
    width: 320px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: #007aff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 18px;
    font-size: 18px;
    color: #8e8e93;
}

/* Deals Grid */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Deal Card */
.deal-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.deal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.deal-image {
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    background: white;
    border: 2px solid #f0f0f0;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 8px;
}

.deal-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-image {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Hero Logo - תמונה גדולה באמצע */
.hero-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.hero-logo-image {
    width: 400px;
    height: 400x;
    border-radius: 100px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.hero-logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
}

/* עדכון המרווחים ב-hero */
.hero h2 {
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 16px;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 20px;
    color: #8e8e93;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 32px; /* שונה מ-0 auto */
}


.logo-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo-subtitle {
    font-size: 12px;
    color: #8e8e93;
    margin: 0;
    font-weight: 500;
}

.logo-subtitle strong {
    color: #007aff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1d1d1f;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.social-btn:hover {
    transform: translateY(-2px);
    background: #f5f5f7;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.social-btn.telegram .social-icon { color: #0088cc; }
.social-btn.facebook .social-icon { color: #1877f2; }
.social-btn.whatsapp .social-icon { color: #25D366; }
.social-btn.raffle-btn .social-icon { color: #7c3aed; }

.social-icon {
    font-size: 18px;
}

/* Footer - Minimal Clean Style */
.footer-minimal {
    margin-top: 60px;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.footer-minimal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-accessibility-link {
    font-size: 11px;
    color: #8e8e93;
    text-decoration: none;
}
.footer-accessibility-link:hover {
    text-decoration: underline;
}

.footer-logo {
    font-size: 24px;
}

.footer-logo-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.footer-name {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
}

.footer-social-mini {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px;
    align-items: center !important;
}

.footer-social-mini a {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center !important;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    flex-shrink: 0 !important;
}

.footer-social-mini a[href*="t.me"]    { color: #0088cc; }
.footer-social-mini a[href*="facebook"] { color: #1877f2; }
.footer-social-mini a[href*="whatsapp"] { color: #25D366; }

.footer-social-mini a[href*="t.me"]:hover    { background: #0088cc; color: white; transform: translateY(-2px); }
.footer-social-mini a[href*="facebook"]:hover { background: #1877f2; color: white; transform: translateY(-2px); }
.footer-social-mini a[href*="whatsapp"]:hover { background: #25D366; color: white; transform: translateY(-2px); }

.footer-social-mini svg {
    width: 18px;
    height: 18px;
}

.footer-copyright {
    font-size: 13px;
    color: #8e8e93;
}

@media (max-width: 600px) {
    .footer-minimal-content {
        flex-direction: column;
        text-align: center;
    }
}



/* Social Icons - SVG */
.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Social Links - Updated */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1d1d1f;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.social-btn:hover {
    transform: translateY(-3px);
    background: #f5f5f7;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.social-btn.telegram .social-icon { color: #0088cc; }
.social-btn.telegram:hover { box-shadow: 0 8px 20px rgba(0, 136, 204, 0.2); }

.social-btn.facebook .social-icon { color: #1877f2; }
.social-btn.facebook:hover { box-shadow: 0 8px 20px rgba(24, 119, 242, 0.2); }

.social-btn.whatsapp .social-icon { color: #25D366; }
.social-btn.whatsapp:hover { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2); }

.social-btn.raffle-btn .social-icon { color: #7c3aed; }

/* Logo Image - Better styling */
.logo-image {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

/* Advanced Filters */
.advanced-filters {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-dropdown {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-dropdown label {
    font-size: 12px;
    font-weight: 600;
    color: #8e8e93;
}

.filter-dropdown select {
    padding: 8px 12px;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    font-size: 14px;
    background: white;
    min-width: 120px;
    transition: border-color 0.3s ease;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: #007aff;
}

.clear-filters-btn {
    background: #ff3b30;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-filters-btn:hover {
    background: #d70015;
    transform: translateY(-1px);
}

/* עדכון filter-bar */
.filter-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Deal Info Tags - Larger & More Visible */
.deal-info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.deal-tag {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(142, 142, 147, 0.1);
    color: #636366;
    border: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.color-tag {
    background: linear-gradient(145deg, rgba(255, 149, 0, 0.12) 0%, rgba(255, 149, 0, 0.08) 100%);
    color: #e68600;
}

.brand-tag {
    background: linear-gradient(145deg, rgba(0, 122, 255, 0.12) 0%, rgba(0, 122, 255, 0.08) 100%);
    color: #0066d6;
}

.material-tag {
    background: linear-gradient(145deg, rgba(52, 199, 89, 0.12) 0%, rgba(52, 199, 89, 0.08) 100%);
    color: #28a745;
}

.prime-tag {
    background: linear-gradient(145deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #d39e00;
}

.central-discount {
    display: flex;
    justify-content: center;
    align-items: center; /* 🔧 הוספה - ממרכז אנכית */
    margin: 12px 0;
    min-height: 50px; /* 🔧 הוספה - גובה מינימלי */
    overflow: hidden; /* 🔧 הוספה - מונע חריגה */
}

.discount-badge-central {
    background: linear-gradient(135deg, #4cd964 0%, #5ac8fa 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(76, 217, 100, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 2px solid white;
    
    /* 🔧 תיקונים נוספים */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap; /* מונע שבירת שורה */
    line-height: 1; /* גובה שורה קבוע */
    min-width: 80px; /* רוחב מינימלי */
    height: auto; /* גובה אוטומטי */
    
    /* מניעת אינטראקציות */
    pointer-events: none; /* מונע לחיצות */
    
    /* אנימציה מעודכנת */
    animation: pulseDiscount 2s ease-in-out infinite alternate;
    transform: scale(1.1);
}

@keyframes pulseDiscount {
    0% {
        box-shadow: 0 6px 20px rgba(76, 217, 100, 0.4);
        transform: scale(1.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(76, 217, 100, 0.6);
        transform: scale(1.15);
    }
}

/* Update price lines to remove individual discount badges */
.price-line,
.price-line-usd {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 40px; /* 🔧 הוספה - גובה מינימלי */
    overflow: hidden; /* 🔧 הוספה */
}


.deal-price-main,
.price-line,
.price-line-usd,
.central-discount,
.discount-badge-central,
.current-price-large,
.original-price-large,
.current-price-usd,
.original-price-usd {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Chrome, Opera, Safari */
    
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-tap-highlight-color: transparent; /* הסרת highlight בלחיצה */
    
    /* מניעת זום בלחיצה כפולה */
    touch-action: manipulation;
    
    /* מניעת גרירה */
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    
    /* יציבות טקסט */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.current-price-large,
.original-price-large,
.current-price-usd,
.original-price-usd {
    display: inline-block;
    line-height: 1.2; /* 🔧 גובה שורה קבוע */
    white-space: nowrap; /* 🔧 מונע שבירת שורה */
    vertical-align: middle; /* 🔧 יישור אנכי */
}


/* Remove the old discount badge styles from price lines */
.price-line .discount-badge-large,
.price-line-usd .discount-badge-large {
    display: none;
}



/* Error handling for missing logo */
.logo-image:not([src]), .logo-image[src=""] {
    display: none;
}


.deal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* שונה מ-cover ל-contain - כך התמונה תוצג מלאה */
    border-radius: 12px; /* קצת פחות מהמסגרת */
}

.deal-content {
    padding: 25px;
}

.deal-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-description {
    font-size: 14px;
    color: #8e8e93;
    margin-bottom: 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #007aff;
}

.original-price {
    font-size: 18px;
    color: #8e8e93;
    text-decoration: line-through;
}

.discount-badge {
    background: linear-gradient(135deg, #4cd964 0%, #5ac8fa 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(76, 217, 100, 0.3);
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(142, 142, 147, 0.2);
}

.deal-date {
    font-size: 12px;
    color: #8e8e93;
    font-weight: 500;
}

.deal-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 10px;
}

/* Deal Price - Main Display */
.deal-price-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 20px 0;
    padding: 16px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 16px;
    border: 2px solid rgba(0, 122, 255, 0.1);
}

.price-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.price-line-usd {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0.85;
}

.current-price-large {
    font-size: 28px;
    font-weight: 800;
    color: #007aff;
    text-shadow: 0 1px 3px rgba(0, 122, 255, 0.3);
}

.original-price-large {
    font-size: 20px;
    color: #8e8e93;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: 600;
}

.current-price-usd {
    font-size: 24px;
    font-weight: 800;
    color: #28a745;
    text-shadow: 0 1px 3px rgba(40, 167, 69, 0.3);
}

.original-price-usd {
    font-size: 20px;
    color: #6c757d;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: 600;
}


/* סטיילים ללינקים בתיאורים הקצרים */
.deal-description a {
    color: #007aff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 13px;
    padding: 1px 3px;
    border-radius: 4px;
    background: rgba(0, 122, 255, 0.1);
    transition: all 0.2s ease;
}

.deal-description a:hover {
    background: #007aff;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* למנוע מהלינק להפעיל את כרטיס הדיל */
.deal-description a {
    position: relative;
    z-index: 10;
}

/* טלגרם לינקים */
.deal-description a[href*="t.me"],
.deal-description a[href*="telegram"] {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.deal-description a[href*="t.me"]:hover,
.deal-description a[href*="telegram"]:hover {
    background: #0088cc;
    color: white;
}


.discount-badge-large {
    background: linear-gradient(135deg, #4cd964 0%, #5ac8fa 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(76, 217, 100, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Animation for price */
.deal-price-main {
    animation: priceGlow 2s ease-in-out infinite alternate;
}

@keyframes priceGlow {
    0% {
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.2);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 122, 255, 0.4);
    }
}

/* Hover effects */
.deal-card:hover .deal-price-main {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.3);
}

.deal-card:hover .current-price-large {
    color: #0056b3;
    transform: scale(1.05);
}

.deal-card:hover .current-price-usd {
    color: #1e7e34;
    transform: scale(1.05);
}

.deal-card:hover .discount-badge-large {
    transform: scale(1.1);
}

/* הסרת סטיילים ישנים */
.price-row, .price-row-usd {
    display: none;
}



.no-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 20px 0;
    padding: 16px;
    background: rgba(142, 142, 147, 0.1);
    border-radius: 16px;
    color: #8e8e93;
    font-weight: 600;
    border: 2px dashed rgba(142, 142, 147, 0.3);
}


.status-active {
    color: #4cd964;
    background: rgba(76, 217, 100, 0.1);
}

.status-inactive {
    color: #ff3b30;
    background: rgba(255, 59, 48, 0.1);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* Deal Buttons - Apple Style */
.deal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.deal-link {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.deal-link.secondary {
    background: rgba(142, 142, 147, 0.08);
    color: #8e8e93;
    border: none;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 10px;
    order: 2;
}

.deal-link.secondary:hover {
    background: rgba(142, 142, 147, 0.15);
    color: #636366;
    transform: translateY(-1px);
}

/* אייקון עגלה לכפתור רכישה */
.deal-link.primary::before {
    content: "🛒";
    margin-left: 8px;
    font-size: 16px;
}

/* אלטרנטיבה עם SVG אייקון יפה יותר */
.deal-link.primary {
    position: relative;
}

.deal-link.primary::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M7 18c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zM1 2v2h2l3.6 7.59-1.35 2.45c-.16.28-.25.61-.25.96 0 1.1.9 2 2 2h12v-2H7.42c-.14 0-.25-.11-.25-.25l.03-.12L8.1 13h7.45c.75 0 1.41-.41 1.75-1.03L21.7 4H5.21l-.94-2H1zm16 16c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3C/svg%3E") center/cover;
    display: inline-block;
    margin-left: 8px;
    vertical-align: middle;
    margin-top: -2px;
}




.deal-link.primary {
    background: linear-gradient(145deg, #007aff 0%, #0066d6 100%);
    color: white;
    border: none;
    position: relative;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3),
                0 2px 6px rgba(0, 122, 255, 0.2);
    order: 1;
    letter-spacing: -0.3px;
}

.deal-link.primary:hover {
    background: linear-gradient(145deg, #0066d6 0%, #0056b3 100%);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 25px rgba(0, 122, 255, 0.4),
                0 4px 12px rgba(0, 122, 255, 0.3);
}

.deal-link.primary:active {
    transform: translateY(-1px) scale(0.99);
}

/* Loading & Empty States */
.loading, .empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #8e8e93;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 122, 255, 0.1);
    border-top: 4px solid #007aff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: #1d1d1f;
}

/* הסתרת סטטיסטיקות במובייל - גרסה מתוקנת */
@media (max-width: 768px) {
    /* מחבא את הסטטיסטיקות לגמרי */
    .stats {
        display: none !important;
    }

    /* Header גדול יותר במובייל */
    .header {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .header-content {
        padding: 14px 16px;
        flex-direction: row;
        gap: 12px;
        align-items: center;
        justify-content: space-between;
        min-height: 80px; /* גובה גדול יותר */
    }

    .logo-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-align: right;
        flex: 1;
    }

    .logo-image {
        width: 55px;
        height: 55px;
        border-radius: 14px;
    }

    .logo {
        font-size: 20px;
        margin: 0;
    }

    .logo-subtitle {
        font-size: 11px;
        margin: 0;
        line-height: 1.3;
    }

    /* תיקון כפתור לייק נחתך */
    .deal-content {
        padding-bottom: 40px;
    }

    .like-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }

    .deal-card {
        padding-bottom: 10px;
    }

    /* התאמת המרווח העליון */
    .main-layout {
        padding-top: 20x; /* גובה קטן יותר */
    }
    
    .container {
        margin-top: 20px;
        padding: 20px 16px;
    }
}

/* במסכים קטנים מאוד */
@media (max-width: 480px) {
    .header-content {
        padding: 8px 12px;
        min-height: 65px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .main-layout {
        padding-top: 70px;
    }
    
    .container {
        margin-top: 70px;
        padding: 16px 12px;
    }
}


/* במסכים קטנים מאוד */
@media (max-width: 480px) {
    .header-content {
        padding: 10px 12px;
    }
    
    .logo-image {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .logo {
        font-size: 16px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .main-layout {
        padding-top: 80px;
    }
    
    .container {
        margin-top: 80px;
        padding: 16px 12px;
    }
}



/* הוסף בסוף הקובץ הקיים */

/* Layout for sidebar */
.main-layout {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
}

.content-wrapper {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* Mobile filter toggle */
.mobile-filter-toggle {
    display: none;
    background: #007aff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-filter-toggle:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.active-filters-count {
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
    display: none;
}

.active-filters-count.show {
    display: inline-block;
}

/* Filters Sidebar - עיצוב אחיד לכל המסכים */
.filters-sidebar {
    width: 280px;
    /* רקע אפור אחיד במקום הגרדיאנט הכחלחל */
    background: #ffffff !important;
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    border: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(142, 142, 147, 0.1);
}

.filters-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1d1d1f;
}

.clear-all-filters {
    background: #ff3b30;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-all-filters:hover {
    background: #d70015;
    transform: translateY(-1px);
}

.close-filters {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #8e8e93;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-filters:hover {
    background: rgba(142, 142, 147, 0.1);
    color: #1d1d1f;
}

/* Filter Sections */
.filter-section {
    margin-bottom: 24px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(142, 142, 147, 0.1);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Custom Checkboxes */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

.filter-checkbox:hover {
    background: rgba(0, 122, 255, 0.05);
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 18px;
    width: 18px;
    background: white;
    border: 2px solid #e5e5e7;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Radio button style for status filter */
.filter-checkbox input[type="radio"] + .checkmark {
    border-radius: 50%;
}

.filter-checkbox input:checked + .checkmark {
    background: #007aff;
    border-color: #007aff;
}

.filter-checkbox input:checked + .checkmark:after {
    content: "";
    position: absolute;
    display: block;
}

/* Checkbox checkmark */
.filter-checkbox input[type="checkbox"]:checked + .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio button dot */
.filter-checkbox input[type="radio"]:checked + .checkmark:after {
    left: 4px;
    top: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.label-text {
    font-size: 14px;
    color: #1d1d1f;
    font-weight: 500;
    line-height: 1.3;
}

.filter-checkbox input:checked ~ .label-text {
    color: #007aff;
    font-weight: 600;
}

/* Search in sidebar */
.search-box-sidebar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-sidebar {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid rgba(142, 142, 147, 0.3);
    border-radius: 12px;
    font-size: 14px;
    background: white;
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-input-sidebar:focus {
    outline: none;
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.search-icon-sidebar {
    position: absolute;
    left: 12px;
    font-size: 16px;
    color: #8e8e93;
    pointer-events: none;
}

/* Main Content */
.main-content {
    flex: 1;
    min-width: 0;
}

/* Top Filter Bar */
.top-filter-bar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.active-filter-tag {
    background: #007aff;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: slideIn 0.3s ease;
}

.active-filter-tag .remove {
    cursor: pointer;
    font-weight: 700;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.active-filter-tag .remove:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.results-info {
    font-size: 14px;
    color: #8e8e93;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .main-layout {
        padding: 20px 16px;
    }

    .mobile-filter-toggle {
        display: flex;
        width: 100%;
        justify-content: center;
        margin: 0 0 20px 0;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 0;
    }


    .filters-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 350px;
        height: 100vh;
        z-index: 1000;
        transition: right 0.3s ease;
        border-radius: 25px 0 0 25px;
        max-height: none;
        overflow-y: auto;
        scroll-behavior: smooth;
        overflow-anchor: none;
        
        /* רקע אפור אחיד גם במובייל */
        background: #ffffff !important;
        backdrop-filter: blur(25px) saturate(120%);
        -webkit-backdrop-filter: blur(25px) saturate(120%);
        
        /* צל יפה */
        box-shadow: 
            -8px 0 32px rgba(0, 0, 0, 0.12),
            inset 1px 0 0 rgba(255, 255, 255, 0.4);
        border: 1px solid rgba(0, 0, 0, 0.08);
        
        margin: 10px 0;
        height: calc(100vh - 20px);
    }
}


    .filters-sidebar.open {
        right: 0;
    }

    .filters-sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filters-sidebar.open::before {
        opacity: 1;
    }

    .close-filters {
        display: block;
    }

    .top-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .active-filters {
        justify-content: center;
    }

    .results-info {
        text-align: center;
    }

    /* הסתרת החלק הישן */
    .filter-bar {
        display: none;
    }
}

/* הסתרת החלק הישן בדסקטופ */
@media (min-width: 769px) {
    .filter-bar {
        display: none;
    }
}

/* Animation for sidebar on desktop */
@media (min-width: 769px) {
    .filters-sidebar {
        animation: slideInFromLeft 0.5s ease;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* עדכון container קיים */
.container {
    display: none; /* נסתיר את זה כי יש לנו main-layout חדש */
}

/* תיקון grid של דילים */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* עדכון hero */
.hero {
    text-align: center;
    margin-bottom: 40px;
}

/* מונה תוצאות בהירו */
.results-info-hero {
    margin-top: 24px;
    text-align: right;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.results-info-hero span {
    display: inline-block;
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(0, 122, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.results-info-hero span:hover {
    background: rgba(0, 122, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
}

/* סטיילים לפילטרים מתקפלים */
.filter-title-collapsible {
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    margin: 0 0 12px 0;
    padding: 12px;
    border-bottom: 1px solid rgba(142, 142, 147, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: rgba(0, 122, 255, 0.05);
}

.filter-title-collapsible:hover {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #8e8e93;
}

.filter-title-collapsible.expanded .toggle-arrow {
    transform: rotate(180deg);
    color: #007aff;
}

.filter-title-collapsible.expanded {
    color: #007aff;
    background: rgba(0, 122, 255, 0.1);
    border-bottom-color: rgba(0, 122, 255, 0.3);
}

/* אקורדיון מתקפל */
.filter-options.collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
}

.filter-options.collapsible.expanded {
    max-height: 300px;
    padding: 8px 0;
    overflow-y: auto;
}

.filter-section {
    overflow: visible !important;
}

/* הוספת scrollbar יפה לאקורדיון */
.filter-options.collapsible.expanded::-webkit-scrollbar {
    width: 4px;
}

.filter-options.collapsible.expanded::-webkit-scrollbar-track {
    background: rgba(142, 142, 147, 0.1);
    border-radius: 2px;
}

.filter-options.collapsible.expanded::-webkit-scrollbar-thumb {
    background: rgba(0, 122, 255, 0.3);
    border-radius: 2px;
}

.filter-options.collapsible.expanded::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 122, 255, 0.5);
}

/* הסרת מספור הפילטרים מהtop bar */
.top-filter-bar .results-info {
    display: none;
}

/* במובייל */
@media (max-width: 768px) {
    .results-info-hero {
        margin-top: 20px;
        text-align: center;
    }
    
    .results-info-hero span {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    /* שיפור התקפלות במובייל */
    .filter-options.collapsible.expanded {
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        padding: 8px 0;
    }
}

/* אנימציה נוספת לחוויה יפה */
.filter-options.collapsible .filter-checkbox,
.filter-options.collapsible .filter-options-list .filter-checkbox {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.filter-options.collapsible.expanded .filter-checkbox,
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox {
    opacity: 1;
    transform: translateY(0);
}

/* עיכוב הדרגתי לכל checkbox */
.filter-options.collapsible.expanded .filter-checkbox:nth-child(1),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(1) { transition-delay: 0.05s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(2),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(2) { transition-delay: 0.1s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(3),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(3) { transition-delay: 0.15s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(4),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(4) { transition-delay: 0.2s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(5),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(5) { transition-delay: 0.25s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(6),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(6) { transition-delay: 0.3s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(7),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(7) { transition-delay: 0.35s; }
.filter-options.collapsible.expanded .filter-checkbox:nth-child(8),
.filter-options.collapsible.expanded .filter-options-list .filter-checkbox:nth-child(8) { transition-delay: 0.4s; }

/* חיפוש בתוך הפילטרים */
.filter-search-input {
    width: calc(100% - 4px);
    padding: 10px 14px;
    border: 1px solid rgba(142, 142, 147, 0.2);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
    margin-bottom: 10px;
    margin-top: 4px;
    transition: all 0.2s ease;
    direction: rtl;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(-10px);
}

.filter-options.collapsible.expanded .filter-search-input {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.filter-search-input:focus {
    outline: none;
    border-color: var(--primary, #007aff);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.filter-search-input::placeholder {
    color: #8e8e93;
    opacity: 0.7;
}

.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
}

.filter-options-list .filter-checkbox.hidden {
    display: none !important;
}

/* Scrollbar יפה לרשימת האפשרויות */
.filter-options-list::-webkit-scrollbar {
    width: 4px;
}

.filter-options-list::-webkit-scrollbar-track {
    background: rgba(142, 142, 147, 0.1);
    border-radius: 2px;
}

.filter-options-list::-webkit-scrollbar-thumb {
    background: rgba(0, 122, 255, 0.3);
    border-radius: 2px;
}

.filter-options-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 122, 255, 0.5);
}

/* הוסף בסוף הקובץ קיים - החלף את הסטיילים הישנים של החיפוש */

/* סקשן מונה התוצאות וחיפוש במקום הנכון בהירו */
.results-and-search-section {
    text-align: center;
    margin: 32px auto 0;
    max-width: 700px;
}

.results-info-center {
    margin-bottom: 24px;
}

.results-info-center span {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.08) 0%, rgba(88, 86, 214, 0.08) 100%);
    color: #007aff;
    padding: 14px 28px;
    border-radius: 25px;
    font-size: 17px;
    font-weight: 600;
    border: 1px solid rgba(0, 122, 255, 0.15);
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 12px rgba(0, 122, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.results-info-center span::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,122,255,0.1), transparent);
    transition: left 0.5s;
}

.results-info-center span:hover {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.12) 0%, rgba(88, 86, 214, 0.12) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.15);
}

.results-info-center span:hover::before {
    left: 100%;
}

/* תיבת חיפוש בסגנון אפל מושלם */
.main-search-container {
    margin-top: 0;
}

.main-search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.main-search-input {
    width: 100%;
    height: 52px;
    padding: 0 50px 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 26px;
    font-size: 16px;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    color: #1d1d1f;
    outline: none;
}

.main-search-input::placeholder {
    color: rgba(60, 60, 67, 0.6);
    font-weight: 400;
}

.main-search-input:focus {
    border-color: #007aff;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1), 0 0 0 1px rgba(0, 122, 255, 0.2);
    transform: translateY(-1px);
}

.search-icon-container {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.search-icon {
    width: 20px;
    height: 20px;
    color: rgba(60, 60, 67, 0.6);
    stroke-width: 2;
    transition: color 0.3s ease;
    margin-top: -1px; /* תיקון קל למיקום */
}

/* במובייל */
@media (max-width: 768px) {
    .search-icon-container {
        left: 14px;
        height: 44px; /* התאמה לגובה התיבה במובייל */
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
        margin-top: 0;
    }
}

.main-search-input:focus + .search-icon-container .search-icon {
    color: #007aff;
}

/* הסרת כפתור החיפוש הישן */
.main-search-btn {
    display: none;
}

/* הסרת הסטיילים הישנים */
.main-search-box {
    display: none;
}

/* במובייל */
@media (max-width: 768px) {
    .results-and-search-section {
        margin: 24px 16px 0;
        max-width: none;
    }
    
    .results-info-center {
        margin-bottom: 20px;
    }
    
    .results-info-center span {
        font-size: 15px;
        padding: 12px 24px;
        border-radius: 22px;
    }
    
    .main-search-wrapper {
        max-width: none;
    }
    
    .main-search-input {
        height: 44px;
        font-size: 16px;
        border-radius: 22px;
        padding: 0 45px 0 16px;
    }
    
    .search-icon-container {
        left: 14px;
    }
    
    .search-icon {
        width: 18px;
        height: 18px;
    }
}

/* אנימציה כשהמונה מתעדכן */
.results-info-center span {
    animation: none;
}

.results-info-center span.updating {
    animation: countUpdate 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes countUpdate {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

/* שיפור הרווחים */
.hero {
    margin-bottom: 32px;
}

.content-wrapper {
    margin-top: 0;
}

/* אפקט hover נוסף */
.main-search-input:hover:not(:focus) {
    border-color: rgba(0, 122, 255, 0.3);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.06);
}

/* תמיכה ב-Dark Mode */
@media (prefers-color-scheme: dark) {
    .main-search-input {
        background: rgba(28, 28, 30, 0.95);
        border-color: rgba(255, 255, 255, 0.1);
        color: #f2f2f7;
    }
    
    .main-search-input::placeholder {
        color: rgba(235, 235, 245, 0.6);
    }
    
    .search-icon {
        color: rgba(235, 235, 245, 0.6);
    }
    
    .main-search-input:focus + .search-icon-container .search-icon {
        color: #0a84ff;
    }
}





/* תיקון סופי ללוגו הגדול במובייל */
@media (max-width: 768px) {
    .hero-logo-image {
        width: 250px !important;
        height: 250px !important;
        border-radius: 60px !important;
    }
}

@media (max-width: 480px) {
    .hero-logo-image {
        width: 200px !important;
        height: 200px !important;
        border-radius: 50px !important;
    }
}

/* תיקון הטקסט בפילטר הסטטוס במובייל */
@media (max-width: 768px) {
    .filter-checkbox input:checked ~ .label-text {
        color: #1d1d1f !important; /* שחור במקום כחול */
        font-weight: 700; /* מודגש יותר */
        background: rgba(0, 122, 255, 0.1); /* רקע כחול עדין */
        padding: 4px 8px;
        border-radius: 8px;
    }
    
    .filter-checkbox input:checked + .checkmark {
        background: #007aff;
        border-color: #007aff;
        /* הוספת צל קטן להדגשה */
        box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    }
}

/* החלפת החיפוש הנוסף בכפתור החל פילטרים */
@media (max-width: 768px) {
    /* הסתרת החיפוש הנוסף */
    .filter-section.mobile-only .search-box-sidebar,
    .search-input-sidebar,
    .search-icon-sidebar {
        display: none !important;
    }
    
    /* עיצוב הכפתור החדש */
    .apply-filters-btn {
        width: 100%;
        background: linear-gradient(135deg, #34c759 0%, #28a745 100%);
        color: white;
        border: none;
        padding: 16px 24px;
        border-radius: 20px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
        margin-top: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .apply-filters-btn:hover {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
    }
    
    .apply-filters-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
    }
}

/* הגדלת אייקוני SVG בכפתורי הרשתות החברתיות במובייל */
@media (max-width: 768px) {
    .social-btn .social-icon {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px;
        min-height: 24px;
    }

    .social-btn {
        padding: 14px 20px;
        font-size: 15px;
        gap: 10px;
    }

    /* Social links container - wrap on medium screens */
    .social-links {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
}

/* למסכים קטנים מאוד */
@media (max-width: 480px) {
    .social-btn .social-icon {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px;
        min-height: 24px;
    }

    .social-btn {
        padding: 14px 20px;
        font-size: 15px;
        gap: 10px;
        flex: 1;
        justify-content: center;
        min-width: 0;
    }

    /* Social links container - stack on very small screens */
    .social-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .social-links .social-btn {
        width: 100%;
    }
}

/* תיקון נוסף לבעיית הגלילה */
@media (max-width: 768px) {
    * {
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-logo-image {
        max-width: 90vw;
        width: 250px !important;
        height: 250px !important;
    }
    
    .main-search-wrapper {
        max-width: calc(100vw - 32px);
    }
    
    .deal-card {
        max-width: 100%;
    }
    
    .filters-sidebar::-webkit-scrollbar {
        width: 8px;
    }
    
    .filters-sidebar::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }
    
    .filters-sidebar::-webkit-scrollbar-thumb {
        background: rgba(0, 122, 255, 0.3);
    }
}

/* תיקון scroll jumping */
.filter-options.collapsible {
    transition: max-height 0.3s ease, padding 0.3s ease;
    overflow: hidden;
    scroll-margin-top: 20px;
}

.filter-options.collapsible.expanded {
    max-height: 280px;
    padding: 8px 0;
    overflow-y: visible;
    scroll-behavior: smooth;
}
/* עיצוב חדש לכפתור החל פילטרים - דסקטופ */
@media (min-width: 769px) {
    .apply-filters-btn {
        width: 100%;
        background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
        color: white;
        border: none;
        padding: 14px 24px;
        border-radius: 16px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25);
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    /* אפקט זוהר מתחת */
    .apply-filters-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }
    
    .apply-filters-btn:hover {
        background: linear-gradient(135deg, #0056b3 0%, #4a4a9f 100%);
        transform: translateY(-3px);
        box-shadow: 0 8px 30px rgba(0, 122, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .apply-filters-btn:hover::before {
        left: 100%;
    }
    
    .apply-filters-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 20px rgba(0, 122, 255, 0.3);
    }
    
    /* אפקט focus */
    .apply-filters-btn:focus {
        outline: none;
        box-shadow: 0 4px 20px rgba(0, 122, 255, 0.25), 0 0 0 3px rgba(0, 122, 255, 0.1);
    }
}

/* עדכון עיצוב במובייל לתאמה */
@media (max-width: 768px) {
    .apply-filters-btn {
        width: 100%;
        background: linear-gradient(135deg, #34c759 0%, #28a745 100%);
        color: white;
        border: none;
        padding: 16px 24px;
        border-radius: 20px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
        margin-top: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }
    
    .apply-filters-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s;
    }
    
    .apply-filters-btn:hover {
        background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(52, 199, 89, 0.4);
    }
    
    .apply-filters-btn:hover::before {
        left: 100%;
    }
    
    .apply-filters-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(52, 199, 89, 0.3);
    }
}

/* אפקט נוסף לטקסט */
.apply-filters-btn {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* אנימציה עדינה כשהכפתור נטען */
.apply-filters-btn {
    animation: buttonSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes buttonSlideIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* הוסף לקובץ style.css הקיים */

/* אנימציות למעברים */
.deals-table {
    transition: all 0.3s ease;
}

.table tr {
    transition: all 0.2s ease;
}

.table tr.selected {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(0, 122, 255, 0.1) 100%);
    border-left: 4px solid #007aff;
    transform: translateX(-2px);
}

.table tr:hover:not(.selected) {
    background: rgba(0, 0, 0, 0.02);
}

/* אפקטים למצב בחירה */
.bulk-select {
    animation: pulseSelection 2s ease-in-out infinite;
}

@keyframes pulseSelection {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 122, 255, 0.3); }
    50% { box-shadow: 0 0 15px rgba(0, 122, 255, 0.5); }
}

/* אפקטים לכפתורי פעולה */
.action-buttons .btn {
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.action-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.action-buttons .btn:hover::before {
    left: 100%;
}

/* שיפורים למובייל */
@media (max-width: 768px) {
    .admin-toolbar {
        padding: 16px;
        flex-direction: column;
        gap: 12px;
    }
    
    .bulk-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .admin-filters {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .filter-group {
        min-width: 120px;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th, .table td {
        padding: 8px 4px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 4px;
    }
    
    .action-buttons .btn {
        padding: 4px 8px;
        font-size: 11px;
    }
    
    .modal {
        width: 95%;
        padding: 20px;
    }
}

/* אנימציות טעינה */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(0,122,255,0.1), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* סטיילים לסטטוסים */
.status-active {
    background: linear-gradient(135deg, #4cd964 0%, #34c759 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.status-inactive {
    background: linear-gradient(135deg, #ff3b30 0%, #d70015 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Tooltip לכפתורים */
.btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
}

/* תיקונים ספציפיים למובייל */
@media (max-width: 768px) {
    
    /* תיקון אחוז ההנחה במובייל */
    .central-discount {
        margin: 16px 0;
        min-height: 60px; /* יותר מקום במובייל */
        padding: 0 10px; /* רווח צדדי */
    }
    
    .discount-badge-central {
        font-size: 20px; /* 🔧 קצת יותר גדול במובייל */
        padding: 14px 28px; /* 🔧 יותר padding */
        border-radius: 25px;
        min-width: 100px; /* יותר רוחב במובייל */
        max-width: 90%; /* לא יחרוג מהמסך */
        
        /* תיקון אנימציה במובייל */
        transform: scale(1.05); /* פחות aggressive */
        animation: pulseDiscountMobile 2s ease-in-out infinite alternate;
    }
    
    /* אנימציה מותאמת למובייל */
    @keyframes pulseDiscountMobile {
        0% {
            box-shadow: 0 6px 20px rgba(76, 217, 100, 0.4);
            transform: scale(1.05);
        }
        100% {
            box-shadow: 0 8px 25px rgba(76, 217, 100, 0.6);
            transform: scale(1.08); /* פחות תנועה */
        }
    }
    
    /* תיקון מחירים במובייל */
    .deal-price-main {
        padding: 16px 12px; /* פחות padding צדדי */
        margin: 16px 0 20px 0;
        border-radius: 14px;
        overflow: hidden; /* 🔧 חשוב */
    }
    
    .price-line,
    .price-line-usd {
        flex-direction: row; /* שמירה על סידור אופקי */
        gap: 10px;
        min-height: 45px;
        align-items: center;
        justify-content: center;
    }
    
    .current-price-large {
        font-size: 28px; /* גודל קבוע */
        line-height: 1.1;
    }
    
    .original-price-large {
        font-size: 20px; /* גודל קבוע */
        line-height: 1.1;
    }
    
    .current-price-usd {
        font-size: 26px; /* גודל קבוע */
        line-height: 1.1;
    }
    
    .original-price-usd {
        font-size: 18px; /* גודל קבוע */
        line-height: 1.1;
    }
}

/* תיקונים למסכים קטנים מאוד */
@media (max-width: 480px) {
    .discount-badge-central {
        font-size: 18px;
        padding: 12px 24px;
        min-width: 90px;
        transform: scale(1.03);
    }
    
    .central-discount {
        min-height: 55px;
        margin: 14px 0;
    }
    
    .current-price-large {
        font-size: 26px;
    }
    
    .current-price-usd {
        font-size: 24px;
    }
}

/* תיקון נוסף - מניעת zoom בלחיצה כפולה על כל האזור */
.deal-card {
    touch-action: manipulation; /* מונע zoom בלחיצה כפולה */
}

/* תיקון לכל הטקסטים הכספיים */
.deal-card .current-price-large,
.deal-card .original-price-large,
.deal-card .current-price-usd,
.deal-card .original-price-usd,
.deal-card .discount-badge-central {
    /* מניעת כל האינטראקציות לא רצויות */
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: transparent !important;
    
    touch-action: manipulation !important;
    
    /* יציבות נוספת */
    position: relative;
    z-index: 1;
}

/* תיקון overflow ב-container הראשי */
.deal-price-main {
    position: relative;
    overflow: hidden !important;
    contain: layout style paint; /* שיפור ביצועים */
}

/* מניעת scroll בתוך האלמנטים */
.central-discount,
.price-line,
.price-line-usd {
    overflow: hidden !important;
    overscroll-behavior: none; /* מונע scroll bouncing */
}

/* 🎯 רכיב דרישות הדיל */
.deal-requirements {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.05) 0%, rgba(88, 86, 214, 0.05) 100%);
    border-radius: 12px;
    padding: 12px 16px;
    margin: 16px 0;
    border: 1px solid rgba(0, 122, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.requirements-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.requirements-icon {
    font-size: 14px;
}

.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.req-icon {
    font-size: 14px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.req-text {
    line-height: 1.3;
    color: #1d1d1f;
}

/* סטיילים לפי סוג דרישה */
.requirement-prime {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 152, 0, 0.1) 100%);
    border-color: rgba(255, 193, 7, 0.2);
}

.requirement-prime:hover {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.15) 100%);
    transform: translateY(-1px);
}

.requirement-coupon {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(255, 87, 34, 0.1) 100%);
    border-color: rgba(220, 53, 69, 0.2);
}

.requirement-coupon:hover {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15) 0%, rgba(255, 87, 34, 0.15) 100%);
    transform: translateY(-1px);
}

.requirement-subscribe {
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.1) 0%, rgba(52, 199, 89, 0.1) 100%);
    border-color: rgba(76, 217, 100, 0.2);
}

.requirement-subscribe:hover {
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.15) 0%, rgba(52, 199, 89, 0.15) 100%);
    transform: translateY(-1px);
}

.requirement-minimum {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(142, 36, 170, 0.1) 100%);
    border-color: rgba(156, 39, 176, 0.2);
}

.requirement-minimum:hover {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(142, 36, 170, 0.15) 100%);
    transform: translateY(-1px);
}

.requirement-simple {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(139, 195, 74, 0.1) 100%);
    border-color: rgba(76, 175, 80, 0.2);
}

.requirement-simple:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(139, 195, 74, 0.15) 100%);
    transform: translateY(-1px);
}

/* אנימציה עדינה */
.deal-requirements {
    animation: requirementsSlideIn 0.4s ease;
}

@keyframes requirementsSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* במובייל */
@media (max-width: 768px) {
    .deal-requirements {
        padding: 10px 14px;
        margin: 14px 0;
    }
    
    .requirements-title {
        font-size: 12px;
    }
    
    .requirement-item {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .req-icon {
        font-size: 13px;
        width: 14px;
    }
}

/* מצב כהה */
@media (prefers-color-scheme: dark) {
    .deal-requirements {
        background: linear-gradient(135deg, rgba(0, 122, 255, 0.1) 0%, rgba(88, 86, 214, 0.1) 100%);
        border-color: rgba(0, 122, 255, 0.2);
    }
    
    .requirements-title {
        color: #f2f2f7;
    }
    
    .req-text {
        color: #f2f2f7;
    }
}

/* סטיילים לדרישות הדיל */
.deal-requirements {
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin: 12px 0;
    border-left: 3px solid #007aff;
}

.requirements-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.requirements-icon {
    font-size: 14px;
}

.requirements-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.requirement-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.requirement-item.requirement-prime {
    background: rgba(255, 193, 7, 0.1);
    color: #ff8f00;
}

.requirement-item.requirement-coupon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.requirement-item.requirement-subscribe {
    background: rgba(76, 217, 100, 0.1);
    color: #4cd964;
}

.requirement-item.requirement-minimum {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.requirement-item.requirement-simple {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.req-icon {
    font-size: 12px;
}

.req-text {
    font-size: 11px;
}

/* ריספונסיב למובייל */
@media (max-width: 768px) {
    .deal-requirements {
        padding: 10px;
        margin: 10px 0;
    }
    
    .requirements-title {
        font-size: 12px;
    }
    
    .requirement-item {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .req-text {
        font-size: 10px;
    }
}
/* Override סופי - רקע לבן לסיידבר */
.filters-sidebar,
.filters-sidebar.open {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

/* עיצוב מחדש של הסקשנים */
.filter-section {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 16px;
    border: 1px solid #e5e5e7;
}

/* כותרות הפילטרים */
.filter-title,
.filter-title-collapsible {
    background: transparent !important;
    color: #1d1d1f;
    padding: 8px 0;
    margin: 0;
    border-bottom: 1px solid #e5e5e7;
}

.filter-title-collapsible:hover {
    background: rgba(0, 122, 255, 0.05) !important;
    border-radius: 8px;
}

/* תיבות הסימון */
.filter-checkbox {
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 8px;
    margin-bottom: 6px;
    padding: 10px 12px;
}

.filter-checkbox:hover {
    background: #f5f5f5;
    border-color: #007aff;
}

.filter-checkbox input:checked ~ .label-text {
    color: #007aff;
    font-weight: 600;
}

/* הכפתור התחתון */
.apply-filters-btn {
    background: #34c759 !important;
    color: white !important;
    border: none;
    padding: 14px;
    border-radius: 12px;
    width: 100%;
    font-weight: 600;
    margin-top: 16px;
}

/* Header של הפילטרים */
.filters-header {
    background: #f8f8f8;
    margin: -24px -24px 20px -24px;
    padding: 20px 24px;
    border-bottom: 2px solid #e5e5e7;
    border-radius: 20px 20px 0 0;
}

/* כפתור ניקוי הכל */
.clear-all-filters {
    background: white !important;
    color: #ff3b30 !important;
    border: 1px solid #ff3b30 !important;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .filters-sidebar {
        background: #ffffff !important;
    }
    
    .filter-section {
        background: #f5f5f7;
        border: 1px solid #e0e0e0;
    }
}

/* ביטול הרקע האפור הכהה (overlay) במובייל */
.filters-sidebar::before {
    display: none !important;
}

/* אם עדיין לא עובד, נסה גם את זה: */
body::before,
body::after,
.main-layout::before,
.main-layout::after {
    display: none !important;
}

/* ביטול כל overlay אפשרי */
.overlay,
.backdrop,
.modal-backdrop {
    display: none !important;
}

/* אלטרנטיבה - להפוך את ה-overlay לשקוף */
@media (max-width: 768px) {
    .filters-sidebar::before {
        background: transparent !important;
        opacity: 0 !important;
    }
}

/* אם יש overlay שמופעל עם JavaScript */
body.filters-open::before,
body.sidebar-open::before,
body.modal-open::before {
    display: none !important;
}

/* חסימת גלילה כשהפילטרים פתוחים */
body.filters-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

/* שמירה על המיקום של הדף */
body.filters-open .main-layout {
    overflow: hidden !important;
}
/* תיקון מיקום כפתור החל פילטרים במובייל */
@media (max-width: 768px) {
    /* הוספת padding תחתון לסיידבר כולו */
    .filters-sidebar {
        padding-bottom: 100px !important; /* מרווח מהתחתית */
    }
    
    /* הזזת הכפתור למעלה */
    .filter-section.mobile-only {
        position: sticky;
        bottom: 20px; /* מרחק מהתחתית */
        background: white;
        padding: 16px;
        margin: 16px -24px -24px -24px; /* margin שלילי כדי שיתפוס את כל הרוחב */
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }
    
    /* עיצוב משופר לכפתור */
    .apply-filters-btn {
        width: 100%;
        padding: 18px !important;
        font-size: 17px !important;
        margin: 0 !important;
        border-radius: 16px !important;
    }
}

/* Safe area עבור מכשירים עם notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 768px) {
        .filter-section.mobile-only {
            padding-bottom: calc(16px + env(safe-area-inset-bottom));
            bottom: env(safe-area-inset-bottom);
        }
        
        .filters-sidebar {
            padding-bottom: calc(100px + env(safe-area-inset-bottom)) !important;
        }
    }
}

/* ביטול מוחלט של גלילה בפוטר */
.footer,
.footer * {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    touch-action: none !important;
    pointer-events: auto !important;
}

/* הסתרת כל scrollbar אפשרי */
.footer *::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* תיקון ספציפי לסקשנים */
.footer-section {
    position: relative !important;
    overflow: hidden !important;
    max-height: 300px !important; /* הגבלת גובה */
}

.footer-section h3,
.footer-section p,
.footer-links,
.footer-links a {
    position: static !important;
    overflow: hidden !important;
    display: block !important;
    max-width: 100% !important;
}

/* מניעת גלילה במובייל */
@media (max-width: 768px) {
    .footer {
        position: relative !important;
        touch-action: pan-y !important; /* רק גלילה של הדף הראשי */
    }
    
    .footer-section {
        position: relative !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        touch-action: none !important;
    }
    
    /* וודא שאין תוכן שגולש */
    .footer-section > * {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* אם עדיין יש בעיה, נסה גם את זה */
.footer-content {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow: hidden !important;
}

.footer-content > * {
    flex: 1 1 100% !important;
    overflow: hidden !important;
}
/* פתרון קיצוני - ביטול מוחלט של אינטראקציה בכותרות */
.footer-section h3 {
    pointer-events: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    touch-action: none !important;
}

/* ביטול גלילה על כל הפוטר במובייל */
@media (max-width: 768px) {
    .footer {
        pointer-events: none !important;
    }
    
    /* אבל השאר את הלינקים לחיצים */
    .footer-links a,
    .footer-bottom {
        pointer-events: auto !important;
    }
}
/* רקע אחיד למובייל - ללא גרדיאנטים */
@media (max-width: 768px) {
    /* רקע אחיד לכל הדף */
    body {
        background: #f5f7fa !important; /* אפור בהיר אחיד */
        /* או אם אתה מעדיף לבן: */
        /* background: #ffffff !important; */
    }
    
    /* ביטול כל האנימציות ברקע */
    body::before,
    body::after,
    html::before,
    html::after {
        display: none !important;
    }
    
    /* וודא שאין גרדיאנטים בפוטר */
    .footer {
        background: #1a1a1a !important; /* שחור אחיד */
    }
    
    .footer::before,
    .footer::after {
        display: none !important;
    }
    
    /* ביטול גרדיאנטים בכרטיסי דילים */
    .deal-card {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    /* ביטול גרדיאנטים בכפתורים */
    .social-btn,
    .deal-link.primary,
    .apply-filters-btn {
        transition: none !important; /* ביטול אנימציות */
    }
}

/* אופציה נוספת - רקע כהה למובייל */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
    body {
        background: #1a1a1a !important; /* רקע כהה אחיד */
    }
    
    .deal-card {
        background: rgba(30, 30, 30, 0.95) !important;
    }
}

@media (max-width: 768px) {
    body {
        background: #e8f4f8 !important;
    }
}

/* Like Button Styles */
.deal-buttons-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.like-button {
    background: rgba(255, 59, 48, 0.1);
    border: 2px solid rgba(255, 59, 48, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #ff3b30;
    min-width: 70px;
    justify-content: center;
}

.like-button:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: #ff3b30;
    transform: translateY(-1px);
}

.like-button.liked {
    background: #ff3b30;
    color: white;
    border-color: #ff3b30;
}

.like-button.liked .like-icon {
    animation: heartBeat 0.6s ease;
}

.like-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

.like-button.liked .like-icon {
    transform: scale(1.1);
}

.like-count {
    font-size: 12px;
    font-weight: 700;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Like notification animations */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 0.95; transform: translateY(0); }
}

@keyframes slideOutDown {
    from { opacity: 0.95; transform: translateY(0); }
    to { opacity: 0; transform: translateY(100%); }
}

/* Responsive */
@media (max-width: 480px) {
    .deal-buttons-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .like-button {
        width: 100%;
    }
}

/* Like Button Styles - גרסה חדשה במרכז */
.like-button-container {
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.like-button-center {
    background: rgba(255, 59, 48, 0.1);
    border: 2px solid rgba(255, 59, 48, 0.2);
    border-radius: 25px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #ff3b30;
    min-width: 100px;
    justify-content: center;
}

.like-button-center:hover {
    background: rgba(255, 59, 48, 0.15);
    border-color: #ff3b30;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 59, 48, 0.2);
}

.like-button-center.liked {
    background: #ff3b30;
    color: white;
    border-color: #ff3b30;
}

.like-button-center.liked .like-icon {
    animation: heartBeat 0.6s ease;
}

.like-icon {
    font-size: 16px;
    transition: all 0.3s ease;
}

.like-button-center.liked .like-icon {
    transform: scale(1.1);
}

.like-count {
    font-size: 13px;
    font-weight: 700;
}

.like-text {
    font-size: 13px;
    font-weight: 600;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.3); }
    50% { transform: scale(1.1); }
    75% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* Like notification animations */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 0.95; transform: translateY(0); }
}

@keyframes slideOutDown {
    from { opacity: 0.95; transform: translateY(0); }
    to { opacity: 0; transform: translateY(100%); }
}

/* הסר את הCSS הישן */
.deal-buttons-row {
    /* מחק את כל הCSS הזה */
}

/* Responsive */
@media (max-width: 480px) {
    .like-button-center {
        min-width: 120px;
        padding: 12px 24px;
    }
}
.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8e8e93;
    font-size: 24px;
    text-align: center;
}

.no-image small {
    font-size: 11px;
    margin-top: 4px;
    opacity: 0.7;
}

/* תמונות שנכשלו */
.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #8e8e93;
    font-size: 32px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-image small {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.7;
    font-weight: 500;
}

/* אנימציה לטעינת תמונות */
.deal-image img {
    opacity: 1 !important; /* תמיד נראה */
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.deal-image img.loaded {
    opacity: 1;
}
/* Like Section - שורה נפרדת למטה - Apple Style */
.like-section {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.like-button-bottom {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 15px;
    font-weight: 600;
    color: #8e8e93;
    min-width: 140px;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08),
                0 1px 3px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.like-button-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255, 59, 48, 0.1) 0%, rgba(255, 45, 85, 0.15) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.like-button-bottom:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 59, 48, 0.2),
                0 4px 12px rgba(0, 0, 0, 0.1);
    color: #ff3b30;
}

.like-button-bottom:hover::before {
    opacity: 1;
}

.like-button-bottom:active {
    transform: translateY(-1px) scale(0.98);
}

.like-button-bottom.liked {
    background: linear-gradient(145deg, #ff3b30 0%, #ff2d55 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 59, 48, 0.4),
                0 2px 8px rgba(255, 59, 48, 0.3);
}

.like-button-bottom.liked::before {
    opacity: 0;
}

.like-button-bottom.liked:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 59, 48, 0.5),
                0 4px 15px rgba(255, 59, 48, 0.4);
    color: white;
}

.like-button-bottom.liked .like-icon {
    animation: heartBeat 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-icon {
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.like-button-bottom.liked .like-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.like-count {
    font-size: 15px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -0.3px;
}

.like-text {
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.35); }
    30% { transform: scale(1.1); }
    45% { transform: scale(1.3); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1.15); }
}

/* Like notification animations */
@keyframes slideInUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 0.95; transform: translateY(0); }
}

@keyframes slideOutDown {
    from { opacity: 0.95; transform: translateY(0); }
    to { opacity: 0; transform: translateY(100%); }
}

/* תמונות שנכשלו */
.no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 200px;
    color: #8e8e93;
    font-size: 32px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 12px;
}

.no-image small {
    font-size: 12px;
    margin-top: 8px;
    opacity: 0.7;
    font-weight: 500;
}

/* Responsive - Like Button */
@media (max-width: 480px) {
    .like-button-bottom {
        min-width: 140px;
        padding: 14px 28px;
    }
}

/* Header Navigation - Guides Link */
.header-nav {
    display: flex;
    gap: 12px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #1d1d1f;
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: none;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.nav-link .nav-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

.guides-link {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12) 0%, rgba(118, 75, 162, 0.12) 100%);
}

.guides-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Guides Button in Hero - Mobile Only */
.guides-link-mobile {
    display: none;
    margin-top: 20px;
    justify-content: center;
    gap: 12px;
}

/* Explicit 90×90px for both guide buttons */
@media (max-width: 768px) {
    .guides-link-mobile {
        display: flex !important;
        flex-direction: row !important;
        gap: 12px !important;
        justify-content: center !important;
        align-items: flex-start !important;
        margin-top: 16px !important;
    }

    .guides-link-mobile .social-btn {
        display: flex !important;
        flex: none !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 90px !important;
        height: 90px !important;
        min-height: 90px !important;
        max-height: 90px !important;
        min-width: 90px !important;
        max-width: 90px !important;
        padding: 6px 4px !important;
        gap: 4px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        border-radius: 18px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        white-space: normal !important;
    }

    .guides-link-mobile .social-btn .social-icon {
        width: 24px !important;
        height: 24px !important;
        flex-shrink: 0 !important;
    }
}

.guides-btn {
    background: #ffffff !important;
    color: #1d1d1f !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

.guides-btn:hover {
    background: #f5f5f7 !important;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15) !important;
}

.guides-btn .social-icon {
    stroke: #667eea;
    color: #667eea;
    fill: none;
}

/* Bot Link - Personal Area */
.bot-link {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(6, 182, 212, 0.12) 100%);
}

.bot-link:hover {
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
}

.bot-btn {
    background: #ffffff !important;
    color: #1d1d1f !important;
    border: 1.5px solid rgba(0, 0, 0, 0.08) !important;
}

.bot-btn:hover {
    background: #f5f5f7 !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.15) !important;
}

.bot-btn .social-icon {
    stroke: #6366f1;
    color: #6366f1;
    fill: none;
}

/* Mobile: Hide header nav, show guides button in hero */
@media (max-width: 768px) {
    .header-nav {
        display: none !important;
    }

    .guides-link-mobile {
        display: flex;
    }
}

