/* Components UI - extracted from style.css */

/* ==========================================================================
   CARD SLIDER - סליידר כרטיסיות רוחביות
   ========================================================================== */
.card-slider-section {
    padding: 20px 0;
    margin-top: -160px;
    position: relative;
    z-index: 10;
}

.card-slider-section .container {
    max-width: var(--container-max-width) !important;
    margin: 0 auto !important;
    padding-left: var(--spacing-mobile) !important;
    padding-right: var(--spacing-mobile) !important;
}

@media (min-width: 992px) {
    .card-slider-section .container {
        padding-left: var(--spacing-desktop) !important;
        padding-right: var(--spacing-desktop) !important;
    }
}

.card-slider-wrapper {
    width: 100%;
    overflow: hidden;
}

.card-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 10px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
    direction: ltr; /* תיקון scrollLeft ב-RTL */
}

.card-slider-track::-webkit-scrollbar {
    display: none;
}

.slider-card {
    flex: 0 0 auto;
    width: 260px;
    height: 100px; /* גובה קבוע לכל המסכים */
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    direction: rtl; /* שמירת טקסט עברי תקין */
    display: flex;
    flex-direction: row; /* תמונה משמאל */
    padding: 8px;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.slider-card-image {
    width: 70px;
    height: 85px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.slider-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-card-text {
    display: none;
}

.slider-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.slider-card-original-price {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: line-through;
}


.card-slider-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-align: center;
}

/* רספונסיבי - מובייל */
@media (max-width: 768px) {
    .slider-card {
        width: 220px;
    }
    
    .slider-card-title {
        font-size: 0.85rem;
    }
    
    .slider-card-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .slider-card {
        width: 200px;
    }
    
    .card-slider-track {
        gap: 10px;
    }
}

/* תמונת רקע דינמית ל-Gift Finder */
.gift-finder-hero.has-bg-image .gift-finder-bg {
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.gift-finder-hero.has-bg-image .gift-finder-overlay {
    background: transparent;
    display: none;
}

/* --- באנר (Hero) משופר --- */
.hero-section { 
    position: relative; 
    width: 100%; 
    max-width: var(--container-max-width); 
    margin: 2rem auto 3rem; 
    padding: 0 var(--spacing-mobile);
}

main.container { 
    max-width: var(--container-max-width) !important; 
    padding-left: var(--spacing-mobile) !important; 
    padding-right: var(--spacing-mobile) !important; 
}

#mainCarousel {
    width: 100%; 
    aspect-ratio: 2.8 / 1; 
    border-radius: var(--border-radius-lg); 
    overflow: hidden; 
    box-shadow: var(--shadow-xl);
    position: relative;
}

@media (max-width: 768px) { 
    #mainCarousel { 
        aspect-ratio: 1.6 / 1;
        border-radius: var(--border-radius);
    } 
}

.carousel-item { 
    height: 100%; 
    position: relative;
}

.carousel-item img, 
.carousel-item video { 
    object-fit: cover; 
    height: 100%; 
    width: 100%; 
    filter: brightness(0.75);
    transition: filter var(--transition-slow);
}

.carousel-item.active img,
.carousel-item.active video {
    filter: brightness(0.85);
}

@media (min-width: 768px) { 
    .hero-section { 
        padding: 0 var(--spacing-desktop); 
    } 
    
    main.container { 
        padding-left: var(--spacing-desktop) !important; 
        padding-right: var(--spacing-desktop) !important; 
    } 
}

/* טקסט באנר משופר */
.hero-overlay { 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    color: white; 
    z-index: 10; 
    pointer-events: none; 
    padding: 12px 16px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    text-align: right !important;
}

.hero-overlay .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: right !important;
}

.hero-overlay h1,
.hero-overlay .display-4,
.hero-overlay p,
.hero-overlay .lead {
    text-align: right !important;
}

.hero-overlay h1,
.hero-overlay .display-4 { 
    font-size: 1.4rem !important; 
    font-weight: 700 !important; 
    margin-bottom: 2px !important; 
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-overlay p,
.hero-overlay .lead { 
    font-size: 0.85rem !important; 
    font-weight: 600 !important; 
    opacity: 0.95; 
    max-width: 100% !important; 
    margin-bottom: 0 !important;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

#mainCarousel .carousel-indicators { 
    position: absolute !important;
    bottom: -25px !important;
    margin-bottom: 0 !important; 
    z-index: 100 !important; 
}

#mainCarousel .carousel-indicators button { 
    width: 8px !important; 
    height: 8px !important; 
    border-radius: 50% !important; 
    background-color: rgba(0,0,0,0.3) !important; 
    border: none !important;
    margin: 0 3px !important; 
    transition: all var(--transition-base);
    opacity: 1 !important;
}

#mainCarousel .carousel-indicators button:hover {
    opacity: 1 !important;
    transform: scale(1.2);
}

#mainCarousel .carousel-indicators button.active { 
    background-color: rgba(0,0,0,0.7) !important; 
    transform: scale(1.2);
    opacity: 1 !important;
}

#mainCarousel .carousel-control-prev, 
#mainCarousel .carousel-control-next { 
    width: 60px; 
    z-index: 11;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

#mainCarousel:hover .carousel-control-prev,
#mainCarousel:hover .carousel-control-next {
    opacity: 1;
}

#mainCarousel .carousel-control-prev-icon,
#mainCarousel .carousel-control-next-icon {
    width: 18px !important;
    height: 18px !important;
    background-color: transparent !important;
    background-size: 100% 100% !important;
    border-radius: 0 !important;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)) !important;
}

#mainCarousel .carousel-control-prev,
#mainCarousel .carousel-control-next {
    width: 40px !important;
    opacity: 0.8 !important;
}

/* סינון קטגוריות משופר */
#categoryFilter {
    margin-bottom: 0;
    padding-bottom: 0;
    direction: rtl;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
}

/* --- פילטר תקציב משודרג --- */
.budget-filter-container {
    margin-bottom: 1.5rem;
    perspective: 1000px;
}

.budget-filter-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-color) 100%);
    background-size: 200% 200%;
    border-radius: var(--border-radius-lg);
    padding: 20px 28px;
    box-shadow: 
        0 10px 40px -10px rgba(44, 62, 80, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 20px 25px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* אפקט זוהר עדין */
.budget-filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* כוכבים קטנים ברקע */
.budget-filter-card::after {
    content: '✦';
    position: absolute;
    top: 10px;
    left: 15%;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.3);
    animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.budget-filter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.budget-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.budget-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.budget-text {
    display: flex;
    flex-direction: column;
    color: white;
    gap: 2px;
}

.budget-label {
    font-weight: var(--font-weight-semibold);
    font-size: 1.1rem;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.budget-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    font-weight: var(--font-weight-normal);
}

/* הסתרת חיצי ספינר בשדה תקציב */
.budget-input::-webkit-outer-spin-button,
.budget-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.budget-input[type=number] {
    -moz-appearance: textfield;
}

.budget-category-select {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid transparent;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
    cursor: pointer;
    min-width: 130px;
    height: 44px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.budget-category-select:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: none;
}

.budget-category-select:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

.budget-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 10px 20px;
    gap: 8px;
    min-width: 130px;
    height: 44px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: none;
}

.budget-input-group:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: none;
}

.budget-input-group:focus-within {
    border-color: var(--accent-color);
    box-shadow: none;
}

.budget-input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--primary-color);
    background: transparent;
    text-align: center;
}

.budget-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
}

.budget-currency {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.budget-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(52, 152, 219, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    position: relative;
    overflow: hidden;
}

.budget-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.budget-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(52, 152, 219, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

.budget-btn:hover::before {
    left: 100%;
}

.budget-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.budget-clear-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.budget-clear-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg) scale(1.1);
}

.budget-result-text {
    text-align: center;
    padding: 16px 24px;
    margin-top: 16px;
    background: linear-gradient(135deg, var(--bg-white), var(--bg-gray-50));
    border-radius: var(--border-radius);
    font-weight: 600;
    box-shadow: none;
    border: 1px solid var(--bg-gray-200);
    animation: slideDown 0.3s ease;
    color: var(--primary-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* רספונסיביות לפילטר תקציב */
@media (max-width: 768px) {
    .budget-filter-card {
        padding: 16px 18px;
        border-radius: var(--border-radius);
    }
    
    .budget-filter-card::after {
        display: none;
    }
    
    .budget-filter-content {
        justify-content: center;
        text-align: center;
        gap: 10px;
    }
    
    .budget-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        border-radius: 10px;
    }
    
    .budget-text {
        flex: 1;
        text-align: right;
    }
    
    .budget-label {
        font-size: 0.95rem;
    }
    
    .budget-subtitle {
        font-size: 0.7rem;
    }
    
    .budget-category-select,
    .budget-input-group {
        min-width: 100px;
        height: 38px;
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    
    .budget-btn {
        padding: 10px 16px;
        height: 38px;
    }
    
    .budget-btn span {
        display: none;
    }
    
    .budget-clear-btn {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .budget-filter-card {
        padding: 16px;
    }
    
    .budget-filter-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .budget-icon {
        display: none;
    }
    
    .budget-text {
        width: 100%;
        text-align: center;
        margin-bottom: 0;
    }
    
    .budget-label {
        font-size: 1.1rem;
        display: block;
        margin-bottom: 2px;
    }
    
    .budget-subtitle {
        font-size: 0.85rem;
        display: block;
    }
    
    /* שורת הקפסולות */
    .budget-filter-content::after {
        content: '';
        display: none;
    }
    
    .budget-category-select,
    .budget-input-group,
    .budget-btn,
    .budget-clear-btn {
        order: 10;
    }
    
    .budget-category-select {
        flex: 1;
        min-width: 0;
        height: 40px;
    }
    
    .budget-input-group {
        flex: 1;
        min-width: 0;
        height: 40px;
    }
    
    .budget-btn {
        height: 40px;
        padding: 8px 16px;
        flex-shrink: 0;
    }
    
    .budget-clear-btn {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }
    
    /* סידור הקפסולות בשורה */
    .budget-filter-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .budget-text {
        flex-basis: 100%;
    }
}


/* --- Products & Modal styles moved to products-modal.css --- */

/* --- כפתור עגלה צף משופר --- */
.cart-fab-container { 
    position: fixed; 
    bottom: 24px; 
    left: 24px; 
    z-index: 1050;
}

.cart-fab { 
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.4rem; 
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    border: 3px solid white;
}

.cart-fab:hover { 
    transform: scale(1.1) translateY(-4px);
    box-shadow: none;
}

.cart-fab .badge {
    font-size: 0.7rem;
    padding: 4px 6px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* עגלה מודל משופר */
/* Cart item hover removed - using new styles */
.cart-item-row:hover {
    background-color: var(--bg-gray-50);
}

.cart-item-img { 
    width: 60px; 
    height: 60px; 
    object-fit: cover; 
    border-radius: var(--border-radius-sm); 
    border: 2px solid var(--bg-gray-200);
}

/* Cart modal footer - using new .cart-modal-footer styles */

#cartTotal {
    font-size: 1.5rem;
    color: #000;
}

/* =========================================
   עיצוב חלון הגדלת תמונה (Lightbox) משופר
   ========================================= */
#lightbox-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.95); 
    z-index: 99999;
    display: none; 
    justify-content: center; 
    align-items: center;
    cursor: zoom-out;
    backdrop-filter: blur(8px);
}

#lightbox-img {
    max-width: 90%; 
    max-height: 90%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: none;
    animation: zoomIn var(--transition-base) ease;
}

@keyframes zoomIn { 
    from { 
        transform: scale(0.9); 
        opacity: 0; 
    } 
    to { 
        transform: scale(1); 
        opacity: 1; 
    } 
}

/* =========================================
   שיפורים נוספים - Buttons, Forms, etc.
   ========================================= */

/* כפתורים כלליים משופרים */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-fast);
    padding: 10px 20px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border: none;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Forms משופרים */
.form-control,
.form-select {
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--bg-gray-200);
    padding: 10px 14px;
    transition: all var(--transition-fast);
    background-color: var(--bg-white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--accent-color);
    box-shadow: none;
    outline: none;
    background-color: var(--bg-white);
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-input:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

/* Toast משופר */
.toast {
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    border: none;
    backdrop-filter: blur(8px);
}

.toast-body {
    font-weight: var(--font-weight-medium);
}

/* Badges משופרים */
.badge {
    font-weight: var(--font-weight-semibold);
    padding: 4px 10px;
    border-radius: 50px;
}

.badge.bg-success-subtle {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: var(--success-color) !important;
}

.badge.bg-secondary-subtle {
    background-color: rgba(107, 114, 128, 0.1) !important;
    color: var(--text-secondary) !important;
}

/* Scrollbar מותאם */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-gray-100);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-gray-200);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* הסרנו אנימציית fadeIn מהכרטיסים */

/* Loading States */
.spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 3px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Smooth Page Transitions */
@keyframes pageFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: pageFadeIn 0.3s ease;
}

/* Focus States for Accessibility */
*:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Responsive improvements - 576px ומטה */
@media (max-width: 576px) {
    .hero-overlay {
        padding: 24px 16px;
    }
    
    .hero-overlay h1 {
        font-size: 1.75rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
    
    .product-card {
        border-radius: var(--border-radius);
    }
    
    .card-img-wrapper {
        padding: 8px;
    }
    
    .action-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-card-action {
        width: 100%;
        min-height: 44px; /* Touch target */
    }
    
    .cart-fab-container {
        bottom: 16px;
        left: 16px;
    }
    
    .cart-fab {
        width: 56px;
        height: 56px;
        font-size: 1.2rem;
    }
    
    .admin-link-float {
        bottom: 16px;
        left: 16px;
        font-size: 0.875rem;
        padding: 8px 16px;
        min-height: 44px;
    }
    
    .main-content {
        padding: var(--spacing-mobile);
    }
    
    /* Product Modal - Mobile Optimization */
    .modal-slider-content {
        padding: 16px 20px 8px 20px;
    }
    
    .modal-product-img {
        border-radius: 12px;
    }
    
    #productDetailsModal .col-md-6:last-child {
        padding: 0 16px 16px 16px !important;
    }
    
    #productDetailsModal h3#modalName {
        font-size: 1.4rem;
        margin-bottom: 4px !important;
    }
    
    .modal-price-area {
        font-size: 1.4rem;
        margin-bottom: 12px !important;
    }
    
    #modalColors {
        margin-bottom: 12px !important;
    }
    
    #modalDims {
        padding: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .modal-carousel-control {
        width: 32px;
        height: 32px;
    }
    
    .modal-carousel-control.prev {
        left: 12px;
    }
    
    .modal-carousel-control.next {
        right: 12px;
    }
    
    .table thead th,
    .table tbody td {
        padding: 12px 8px;
        font-size: 0.875rem;
    }
    
    /* Product name - קריאות */
    .product-name {
        font-size: 0.95rem;
        line-height: 1.35;
    }
    
    /* Card body spacing */
    .card-body {
        padding: 12px;
    }
}

/* מסכים קטנים מאוד - 320px */
@media (max-width: 350px) {
    .hero-overlay {
        padding: 16px 12px;
    }
    
    .hero-overlay h1 {
        font-size: 1.5rem;
    }
    
    .hero-overlay p {
        font-size: 0.875rem;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .card-img-wrapper {
        padding: 6px;
    }
    
    .card-body {
        padding: 10px;
    }
    
    .product-name {
        font-size: 0.875rem;
    }
    
    .cart-fab {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    /* Container padding קטן יותר */
    main.container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    
    /* Gap בין מוצרים */
    .row.g-2 {
        --bs-gutter-x: 0.4rem;
        --bs-gutter-y: 0.4rem;
    }
}

/* ==========================================================================
   Center-Notch Bottom Navigation
   ========================================================================== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ==========================================================================
   Animated Notch Bottom Bar - בר ניווט עם נוטש נע
   ========================================================================== */

.notch-bar-nav {
    position: relative;
    width: 100%;
}

.notch-bar-wrapper {
    position: relative;
    background: #1e293b;
    height: 75px;
    overflow: visible;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

/* Animated Notch Circle - Hidden */
.animated-notch {
    display: none;
}

/* Navigation Items Container */
.notch-bar-items {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    height: 100%;
    padding: 8px 8px 18px;
    position: relative;
}

/* Navigation Item - Touch target min 44px */
.notch-bar-item {
    cursor: pointer;
    position: relative;
    transform: none !important;
    transition: color 0.3s ease, opacity 0.3s ease;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex: 1;
    height: 100%;
    min-height: var(--touch-target-min);
    min-width: var(--touch-target-min);
    background: transparent;
    border: none;
    padding: 8px 4px;
}

/* צבעים קבועים לאייקונים */
.nav-icon-green { color: #10b981 !important; }
.nav-icon-yellow { color: #fbbf24 !important; }
.nav-icon-pink { color: #ec4899 !important; }
.nav-icon-whatsapp { color: #25D366 !important; }
.nav-icon-purple { color: #8b5cf6 !important; }

.notch-bar-item:active,
.notch-bar-item:focus,
.notch-bar-item:focus-visible {
    transform: none !important;
}

.notch-bar-item i {
    font-size: 24px;
    transform: none !important;
    transition: opacity 0.3s ease;
}

.notch-bar-item span:not(.notch-bar-badge) {
    font-size: 9px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    opacity: 0.95;
    line-height: 1.2;
}

/* Active state - color only, no animation */
.notch-bar-item.active {
    transform: none !important;
}

.notch-bar-item.active i {
    /* Color is set via JavaScript */
}

.notch-bar-item.active span:not(.notch-bar-badge) {
    opacity: 1;
}

/* WhatsApp color */
.notch-bar-item.whatsapp i {
    color: #25D366;
}

/* Hover state */
.notch-bar-item:not(.active):hover i {
    opacity: 0.8;
}

/* Badge */
.notch-bar-badge {
    position: absolute;
    top: 8px;
    right: calc(50% - 22px);
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    z-index: 30;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.notch-bar-badge.hidden {
    display: none;
}

/* Particles Effect */
.notch-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    animation: notch-particle-float 1.5s ease-out forwards;
    z-index: 9999;
}

@keyframes notch-particle-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) scale(0);
        opacity: 0;
    }
}

/* Responsive - מסכים קטנים */
@media (max-width: 400px) {
    .notch-bar-wrapper {
        height: 68px;
    }
    
    .notch-bar-item i {
        font-size: 20px;
    }
    
    .notch-bar-item span:not(.notch-bar-badge) {
        font-size: 10px; /* לא פחות מ-10px לקריאות */
    }
    
    .notch-bar-item {
        gap: 2px;
        padding: 6px 2px;
    }
}

/* מסכים קטנים מאוד (320px) */
@media (max-width: 350px) {
    .notch-bar-wrapper {
        height: 64px;
    }
    
    .notch-bar-item i {
        font-size: 18px;
    }
    
    .notch-bar-item span:not(.notch-bar-badge) {
        font-size: 9px;
        letter-spacing: -0.3px;
    }
}

/* Safe area padding for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .notch-bar-wrapper {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ==========================================================================
   Bottom Policy Links - קישורי מדיניות מתחת לבר ניווט
   ========================================================================== */
.bottom-policy-links {
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
}

.bottom-policy-links button {
    background: none;
    border: none;
    color: #64748b;
    font-size: 11px;
    cursor: pointer;
    padding: 4px 6px;
    transition: color 0.2s ease;
    font-weight: 500;
}

.bottom-policy-links button:hover {
    color: #94a3b8;
}

.bottom-policy-links span {
    color: #334155;
    font-size: 8px;
}

@media (max-width: 400px) {
    .bottom-policy-links {
        gap: 4px;
        padding: 6px 8px;
    }
    
    .bottom-policy-links button {
        font-size: 10px;
        padding: 3px 4px;
    }
}

/* שורת קטגוריות מעל הנב בר - מוסתר */
.bottom-categories-strip {
    display: none;
}

.bottom-categories-btn {
    background: #1a1a2e;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px 20px 0 0;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bottom-categories-btn:hover {
    background: #2d2d4a;
}

/* Categories Popup */
.categories-popup {
    position: absolute;
    bottom: 100%;
    right: 0;
    background: #ffffff;
    border-radius: 12px 12px 0 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    padding: 12px;
    min-width: 200px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.categories-popup.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.categories-popup-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.categories-popup-item {
    padding: 10px 12px;
    font-size: 0.85rem;
    color: #1a1a2e;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: right;
}

.categories-popup-item:hover {
    background: #f5f5f5;
}

.categories-popup-item.active {
    background: #1a1a2e;
    color: #ffffff;
}

/* Low Budget Popup */
.low-budget-popup {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.low-budget-popup-content {
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.low-budget-popup-content p {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.low-budget-popup-content button {
    background: #1a1a2e;
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.low-budget-popup-content button:hover {
    background: #2d2d4a;
    transform: scale(1.02);
}

.bottom-categories-label {
    display: none;
    transition: opacity 0.3s ease;
}

.bottom-categories-strip.visible .bottom-categories-label {
    opacity: 1;
}

.bottom-categories-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 8px;
}

.bottom-categories-scroll::-webkit-scrollbar {
    display: none;
}

.bottom-cat-item {
    flex: 0 0 auto;
    padding: 14px 18px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.bottom-cat-item:hover {
    color: #3b82f6;
}

.bottom-cat-item.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

/* רספונסיביות לניווט קלאסי */
@media (max-width: 500px) {
    .nav-item {
        padding: 8px 16px;
    }
    
    .nav-item i {
        font-size: 20px;
    }
    
    .nav-item span:not(.nav-badge) {
        font-size: 10px;
    }
}

/* ==========================================================================
   Google Reviews Section - Minimal Design
   ========================================================================== */

.reviews-section {
    padding: 20px 0;
    background: #fafafa;
}

/* Reviews Scroll */
.reviews-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 -16px;
    padding: 0 16px;
}

.reviews-scroll::-webkit-scrollbar {
    display: none;
}

.reviews-track {
    display: flex;
    gap: 12px;
    padding: 4px 0;
}

/* Minimal Review Card */
.review-card {
    flex: 0 0 260px;
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    border: 1px solid #eee;
    scroll-snap-align: start;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e8eaed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5f6368;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.review-info {
    flex: 1;
    min-width: 0;
}

.review-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1a1a2e;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

.review-stars {
    display: flex;
    gap: 1px;
}

.review-stars i {
    color: #fbbc04;
    font-size: 0.65rem;
}

.review-stars i.empty {
    color: #e0e0e0;
}

.review-date {
    font-size: 0.7rem;
    color: #999;
}

.review-google-icon {
    display: none;
}

.review-text {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #444;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Minimal Link CTA */
.reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.85rem;
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
}

.reviews-link:hover {
    text-decoration: underline;
    color: #1a73e8;
}

.reviews-link i {
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-section {
        padding: 20px 0;
    }
    
    .review-card {
        flex: 0 0 240px;
    }
}

@media (min-width: 1200px) {
    .reviews-section {
        padding: 32px 0;
    }
    
    .reviews-track {
        justify-content: center;
        flex-wrap: wrap;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .review-card {
        flex: 0 0 280px;
    }
}

/* ==========================================================================
   Footer - פוטר
   ========================================================================== */

.site-footer {
    display: none;
}

.footer-copyright {
    color: #64748b;
    font-size: 11px;
    margin: 0;
}

/* ==========================================================================
   Bottom Policy Strip - פס תחתון עם קישורי מדיניות
   ========================================================================== */

.bottom-policy-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 6px 16px 8px;
    z-index: 100;
    text-align: center;
}

.policy-strip-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 1px;
}

.policy-strip-links button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s ease;
}

.policy-strip-links button:hover {
    color: #ffffff;
}

.policy-strip-links span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 8px;
}

.policy-strip-links span.heart-separator {
    color: #e74c3c;
    font-size: 12px;
}

.policy-strip-copyright {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0;
}


/* --- Overlays & Popups styles moved to overlays.css --- */

/* ==========================================================================
   תיקון Xiaomi / MIUI / Android Browser - מניעת תצוגה צרה
   ========================================================================== */

/* מניעת כיווץ flex items במכשירי אנדרואיד */
.header-container,
.categories-scroll,
.categories-bar .container,
main.container,
.products-grid .row,
.hero-section,
.mobile-modal-content,
.mobile-modal-info,
.mobile-modal-actions,
.card-slider-section .container,
#specialsSection .container,
#eventsSection .container {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* רוחב מלא לאלמנטים שעלולים להיראות צרים */
.products-grid {
    width: 100%;
}

.products-grid .row {
    width: 100%;
}

.products-grid .col-6 {
    min-width: 0;
}

/* תיקון כרטיסי מוצר - רוחב מלא בתוך העמודה */
.product-card {
    width: 100%;
    min-width: 0;
}

/* תיקון מודל מובייל - וידוא רוחב מלא */
.mobile-modal {
    width: 100%;
}

.mobile-modal-content {
    min-width: 0;
    max-width: 100%;
}

.mobile-modal-info {
    width: 100%;
    min-width: 0;
}

/* תיקון כרטיסי סליידר - 100vw בטוח לאנדרואיד */
@supports (width: 100dvw) {
    .promo-card {
        width: calc(100dvw - 70px);
    }
    
    .special-card {
        width: calc(100dvw - 60px);
    }
    
    .magnets-track .special-card {
        flex-basis: calc(40dvw - 12px);
    }
    
    .new-arrivals-track .special-card {
        flex-basis: calc(40dvw - 12px);
        width: auto;
    }
    
    .magnet-card {
        flex-basis: calc(40dvw - 12px);
    }
}

/* תיקון header - רוחב מלא */
.site-header {
    width: 100%;
    min-width: 0;
}

/* תיקון קטגוריות - מניעת כיווץ */
.categories-scroll {
    width: 100%;
    min-width: 0;
}

.category-circle-item {
    flex-shrink: 0;
}

/* תיקון באנר - רוחב מלא */
.hero-banner-container {
    width: 100%;
    min-width: 0;
}

/* תיקון כפתורי פעולה במודל */
#modalActions {
    width: 100%;
    min-width: 0;
}

#modalActions .action.-button.-row {
    width: 100%;
    min-width: 0;
}

/* וידוא שטקסט לא גולש ב-MIUI */
.product-name,
.mobile-modal-name,
.category-circle-text,
.category-text-item {
    word-break: break-word;
    overflow-wrap: break-word;
}
