/* ==========================================================================
   PRODUCTS & MODAL - Extracted from style.css
   Contains: Product cards, product modal, mobile modal, image navigation,
   variants, color selection, video player, carousel controls
   ========================================================================== */

/* --- כרטיס מוצר משופר --- */
.product-card { 
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: var(--border-radius-lg); 
    background: #ffffff; 
    transition: all var(--transition-base); 
    height: 100%; 
    overflow: hidden; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.product-card:hover { 
    box-shadow: var(--shadow-lg);
}

/* תג ריבון עם חץ - נצמד לקצה ימין של התמונה */
.product-ribbon {
    position: absolute;
    top: 0;
    right: 12px;
    z-index: 10;
    pointer-events: none;
    padding: 8px 10px 14px;
    border-radius: 0 0 2px 2px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    min-width: 40px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.25));
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 50% 100%, 0 calc(100% - 10px));
}

/* גרדיאנט לעומק ותלת מימד */
.product-ribbon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
    pointer-events: none;
    clip-path: inherit;
}

/* קיפולים בצדדים למעלה */
.product-ribbon::after {
    content: '';
    position: absolute;
    top: 0;
    left: -4px;
    right: -4px;
    height: 4px;
    background: rgba(0,0,0,0.15);
    border-radius: 0 0 2px 2px;
    z-index: -1;
}

/* תמונת כרטיס משופרת */
.card-img-wrapper { 
    width: 100%; 
    aspect-ratio: 4 / 5; 
    background: transparent;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    padding: 12px; 
    position: relative;
}

.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 5;
    pointer-events: auto;
}

/* הגנה על תמונות */
img, video {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
}

/* אפשר אינטראקציה עם וידאו במודל */
.mobile-modal-media video {
    pointer-events: auto;
}

/* פופאפ הגנת תמונות */
.image-protection-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.image-protection-content {
    background: white;
    border-radius: 16px;
    padding: 20px 18px;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.image-protection-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.image-protection-text {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 10px;
}

.image-protection-share-link {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: underline;
}

.image-protection-share-link:hover {
    color: #1d4ed8;
}

.image-protection-footer {
    font-size: 0.7rem;
    color: #888;
    padding-top: 10px;
    border-top: 1px solid #eee;
    margin-bottom: 12px;
}

.image-protection-close {
    background: transparent;
    color: #1e3a5f;
    border: 2px solid #1e3a5f;
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.image-protection-close:hover {
    background: #1e3a5f;
    color: white;
    transform: scale(1.05);
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.product-card:hover .card-img-wrapper::after {
    opacity: 0;
}

.card-img-wrapper img, 
.card-img-wrapper video { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: var(--border-radius); 
    box-shadow: var(--shadow-sm);
}

.product-card:hover .card-img-wrapper img,
.product-card:hover .card-img-wrapper video { 
    transform: none; 
}

.badge-discount { 
    position: absolute; 
    top: 16px; 
    right: 16px; 
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white; 
    padding: 6px 14px; 
    border-radius: 50px; 
    font-weight: var(--font-weight-bold); 
    font-size: 0.8rem; 
    z-index: 2; 
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

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

/* גוף כרטיס משופר - רווחים מינימליים */
.card-body { 
    padding: 8px 10px 10px; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    gap: 0;
}

.product-name { 
    font-weight: var(--font-weight-bold); 
    font-size: 0.95rem; 
    color: var(--text-primary); 
    margin: 0; 
    line-height: 1.2; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
}

.product-model { 
    font-size: 0.75rem; 
    color: var(--text-muted); 
    margin: 1px 0 0 0;
    font-weight: var(--font-weight-normal);
    line-height: 1.1;
}

.product-price {
    font-size: 0.95rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin: 3px 0 0 0;
    line-height: 1.2;
}

.product-min-qty {
    font-size: 0.7rem;
    color: #c4888b;
    margin: 2px 0 0 0;
    line-height: 1.2;
    font-weight: 500;
}

.more-details-link {
    font-size: 0.75rem;
    color: var(--accent-color);
    margin: 2px 0 0 0;
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    line-height: 1.2;
}

.more-details-link:hover {
    text-decoration: underline;
}


.bulk-discount-text { 
    font-size: 0.8rem; 
    color: var(--warning-color); 
    font-weight: var(--font-weight-semibold); 
    margin-top: 4px; 
    line-height: 1.3;
}

/* כפתורי כרטיס משופרים */
.action-row { 
    display: flex; 
    gap: 8px; 
    width: 100%; 
    margin-top: 12px; 
}

.btn-card-action { 
    flex: 1; 
    height: 40px; 
    border-radius: var(--border-radius-sm); 
    font-size: 0.875rem; 
    font-weight: var(--font-weight-semibold); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 6px; 
    border: 2px solid transparent; 
    transition: all var(--transition-fast);
    cursor: pointer;
}

.btn-whatsapp { 
    background: linear-gradient(135deg, var(--whatsapp-light) 0%, #ecfdf5 100%);
    color: var(--whatsapp-dark); 
    border-color: var(--whatsapp-light);
}

.btn-whatsapp:hover { 
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    color: white; 
    border-color: var(--whatsapp-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-cart { 
    background: var(--bg-white); 
    color: var(--text-primary); 
    border-color: var(--bg-gray-200);
}

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

/* =========================================
   מודל מוצר (החלון הקופץ) - משופר
   ========================================= */

#productDetailsModal .modal-content {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    background-color: white !important;
}

#productDetailsModal .modal-content,
#productDetailsModal .modal-body {
    background-color: white !important;
}

#productDetailsModal .modal-dialog {
    background-color: transparent !important;
}

#productDetailsModal .bg-light {
    background-color: white !important;
}

#productDetailsModal .modal-body .row {
    background-color: white !important;
}

#productDetailsModal .row > .col-md-6 {
    flex-direction: column !important;
}

#productDetailsModal .col-md-6 {
    width: 100% !important; 
    max-width: 100% !important; 
    padding: 0 !important;
}

#modalMediaContainer {
    min-height: auto !important; 
    height: auto !important; 
    background-color: white !important; 
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#productDetailsModal .col-md-6.bg-light {
    background-color: white !important;
}

/* --- תמונת המוצר במודל משופרת --- */
.modal-slider-content {
    width: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 40px 50px 15px 50px;
}

.modal-product-img {
    width: 100%; 
    max-width: 100%;
    aspect-ratio: 4 / 5 !important;
    object-fit: contain; 
    border-radius: 16px; 
    cursor: zoom-in;
    display: block;
}

.modal-product-img:hover { 
    /* ללא אנימציה */
}

/* --- Lightbox להגדלת תמונה --- */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    animation: fadeIn 0.2s ease;
}

.image-lightbox img,
.image-lightbox video {
    max-width: 90vw;
    max-height: 90vh;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#modalProductCarousel .carousel-item {
    background-color: white !important; 
    transition: transform var(--transition-base);
    height: auto; 
    min-height: auto;
}

#modalProductCarousel {
    background-color: white !important;
}

/* --- אזור הטקסט במודל --- */
#productDetailsModal .col-md-6:last-child {
    padding: 0 24px 24px 24px !important;
    text-align: right;
    background: var(--bg-white);
}

#productDetailsModal h3#modalName {
    margin-top: 0 !important; 
    margin-bottom: 8px !important;
    font-size: 1.75rem; 
    line-height: 1.2;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

#modalModel, 
#productDetailsModal .product-model {
    margin-bottom: 12px !important; 
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.modal-price-area { 
    font-size: 1.75rem; 
    font-weight: var(--font-weight-bold); 
    color: var(--text-primary); 
    margin-top: 0 !important; 
    margin-bottom: 16px !important;
}

.modal-old-price { 
    font-size: 1rem; 
    color: var(--text-muted); 
    text-decoration: line-through; 
    margin-left: 12px;
    font-weight: var(--font-weight-normal);
}

.bulk-discount-text { 
    margin-top: 8px !important; 
    margin-bottom: 0 !important;
    color: var(--warning-color);
    font-weight: var(--font-weight-semibold);
}

.min-qty-text {
    font-size: 0.85rem;
    color: #098ae5;
    font-weight: var(--font-weight-semibold);
    background: rgba(9, 138, 229, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

#productDetailsModal .my-4 { 
    margin-top: 16px !important; 
    margin-bottom: 16px !important; 
}

#productDetailsModal label.text-uppercase { 
    margin-bottom: 8px !important;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: var(--font-weight-semibold);
}

#modalColors { 
    margin-top: 0 !important; 
    margin-bottom: 16px !important; 
}

/* כפתורי צבע משופרים */
.color-option-btn { 
    border: 2px solid var(--bg-gray-200); 
    background: var(--bg-white); 
    color: var(--text-primary); 
    padding: 8px 16px; 
    border-radius: var(--border-radius-sm); 
    font-size: 0.9rem; 
    cursor: pointer; 
    transition: all var(--transition-fast); 
    margin-bottom: 8px; 
    margin-left: 8px; 
    display: inline-block;
    font-weight: var(--font-weight-medium);
}

.color-option-btn:hover { 
    background-color: var(--bg-gray-50); 
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.color-option-btn.selected { 
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: white; 
    border-color: var(--accent-color); 
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* ==========================================================================
   Mobile Product Modal - עיצוב חדש למובייל
   ========================================================================== */

.mobile-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1050; /* מתחת לנב בר */
    background: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 12px 90px; /* מקום לנב בר */
    align-items: flex-start;
}

.mobile-modal.show {
    display: flex;
}

.mobile-modal-content {
    background: #ffffff;
    min-height: auto;
    max-height: calc(100vh - 100px);
    direction: rtl;
    border-radius: 20px;
    overflow: hidden;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Desktop Modal - חלונית קופצת במסכים גדולים */
@media (min-width: 768px) {
    .mobile-modal {
        display: none;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }
    
    .mobile-modal.show {
        display: flex;
    }
    
    .mobile-modal-content {
        min-height: auto;
        max-height: 90vh;
        width: 100%;
        max-width: 550px;
        border-radius: 20px;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        overflow: hidden;
        overflow-y: auto;
        padding-bottom: 0;
    }
    
    .mobile-modal-header {
        position: sticky;
        top: 0;
        background: #ffffff;
        z-index: 100;
    }
    
    .mobile-modal-actions {
        position: relative;
        border-radius: 0 0 20px 20px;
    }
}

/* Large Desktop - מודל לרוחב */
@media (min-width: 992px) {
    .mobile-modal-content {
        max-width: 850px;
        max-height: 85vh;
        display: grid;
        grid-template-columns: 380px 1fr;
        grid-template-rows: auto 1fr auto;
        grid-template-areas:
            "header header"
            "media info"
            "thumbs actions";
        overflow: hidden;
    }
    
    .mobile-modal-header {
        grid-area: header;
        position: relative;
    }
    
    .mobile-modal-media-wrapper {
        grid-area: media;
        position: relative;
        width: calc(100% - 24px);
        max-width: none;
        margin: 12px;
    }
    
    .mobile-modal-image {
        width: 100%;
        max-height: none;
        aspect-ratio: 4 / 5;
        border-radius: 16px;
        align-self: start;
        background: #f8fafc;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        overflow: hidden;
    }
    
    .mobile-modal-image img {
        border-radius: 16px;
        object-fit: cover;
    }
    
    .mobile-modal-share {
        top: 16px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .mobile-modal-thumbs {
        grid-area: thumbs;
        padding: 12px 16px;
        background: #f8fafc;
        justify-content: center;
        border-radius: 0 0 0 20px;
    }
    
    .mobile-modal-info {
        grid-area: info;
        padding: 20px 24px 80px 24px;
        overflow-y: auto;
        max-height: calc(85vh - 80px);
        align-self: start;
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-modal-actions {
        grid-area: actions;
        border-radius: 0 0 20px 0;
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-modal-name {
        font-size: 1.5rem;
    }
    
    .mobile-modal-price {
        font-size: 1.6rem;
    }
}

/* Extra Large Desktop */
@media (min-width: 1200px) {
    .mobile-modal-content {
        max-width: 950px;
        grid-template-columns: 420px 1fr;
    }
    
    .mobile-modal-info {
        padding: 24px 32px 80px 32px;
    }
    
    .mobile-modal-name {
        font-size: 1.7rem;
    }
    
    .mobile-modal-price {
        font-size: 1.8rem;
    }
    
    .mobile-modal-thumb {
        width: 70px;
        height: 70px;
    }
}

/* Header */
.mobile-modal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
    padding: 0px 10px;
    background: #ffffff;
}

.mobile-modal-close {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border: none;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #64748b;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.mobile-modal-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

/* עטיפת התמונה והכפתור */
.mobile-modal-media-wrapper {
    position: relative;
    width: calc(100% - 48px);
    max-width: 280px;
    margin: 0 auto;
}

/* כפתור שיתוף על התמונה */
.mobile-modal-share {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    z-index: 5;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
    z-index: 15;
    backdrop-filter: blur(4px);
}

.mobile-modal-share:hover {
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    transform: scale(1.05);
}

.mobile-modal-share:active {
    transform: scale(0.95);
}

/* Main Image */
.mobile-modal-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.mobile-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Thumbnails Row */
.mobile-modal-thumbs {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: center;
}

.mobile-modal-thumbs::-webkit-scrollbar {
    display: none;
}

.mobile-modal-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.mobile-modal-thumb.active {
    border-color: #6366f1;
    opacity: 1;
}

.mobile-modal-thumb img,
.mobile-modal-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mobile-modal-thumb {
    position: relative;
}

.thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    pointer-events: none;
}

/* === Image Navigation Dots with Arrows === */
.image-dots-wrapper {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(4px);
}

.image-dots {
    display: flex;
    gap: 6px;
}

.image-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    min-height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

.image-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

/* === Dots Inline Arrows === */
.dots-arrow {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 7px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 0px;
    min-width: auto;
    min-height: auto;
}

.flow-chevron {
    color: rgba(255, 255, 255, 0.45);
}

.flow-c1 {
    opacity: 0.95;
}

.flow-c2 {
    opacity: 0.65;
}

.flow-c3 {
    opacity: 0.32;
}

/* === Area Below Image (variants or thumbnails) === */
.modal-below-image-area {
    padding: 0 16px;
}

/* === Unified Variant + Color Block (דגם וצבע) - מינימלי === */
.modal-variant-color-block {
    margin: 8px 0 10px;
    padding: 8px 0;
    background: transparent;
    border: none;
}

.modal-variant-color-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.modal-variant-color-title i {
    color: var(--gold-color, #b8963a);
    font-size: 0.75rem;
}

/* Variant strip: קומפקטי */
.modal-variant-strip-wrapper {
    margin-bottom: 6px;
}

.modal-variant-strip-wrapper:last-of-type {
    margin-bottom: 0;
}

.modal-variant-strip {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 2px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.modal-variant-strip::-webkit-scrollbar {
    display: none;
}

.modal-variant-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 60px;
    padding: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease;
    /* תיקון Xiaomi - מניעת הנפחה מכלל touch target */
    min-height: auto;
    min-width: 60px;
}

.modal-variant-card:hover {
    border-color: rgba(184, 150, 58, 0.5);
}

.modal-variant-card.active {
    border-color: var(--gold-color, #b8963a);
    box-shadow: none;
}

/* Variant text-only chips */
.modal-variant-chip {
    flex: 0 0 auto;
    padding: 6px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    transition: all 0.15s ease;
    /* תיקון Xiaomi - מניעת הנפחה מכלל touch target */
    min-height: auto;
    min-width: auto;
    height: auto;
}

.modal-variant-chip:hover {
    border-color: rgba(184, 150, 58, 0.5);
    color: #333;
}

.modal-variant-chip.active {
    border-color: var(--gold-color, #b8963a);
    background: rgba(184, 150, 58, 0.08);
    color: #b8963a;
    font-weight: 600;
}

.modal-variant-card-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    background: #f1f5f9;
}

.modal-variant-card-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-variant-card-label {
    display: block;
    padding: 3px 4px 4px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #64748b;
    text-align: center;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-variant-card.active .modal-variant-card-label {
    color: var(--primary-color, #1e3a5f);
}

.modal-variant-color-block .mobile-modal-error {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 0.75rem;
}

/* Color strip: צ'יפים קטנים */
.modal-color-strip-wrapper {
    margin-top: 2px;
}

.modal-color-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    margin-top: 4px;
}

.modal-color-title i {
    color: var(--gold-color, #b8963a);
    font-size: 0.75rem;
}

.modal-color-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.modal-color-strip .radio-option {
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 0.75rem;
    gap: 6px;
    transition: border-color 0.15s ease, background 0.15s ease;
    /* תיקון Xiaomi - מניעת הנפחה מכלל touch target */
    min-height: auto;
    min-width: auto;
    height: auto;
}

.modal-color-strip .radio-option .radio-circle {
    width: 14px;
    height: 14px;
    border-width: 1.5px;
}

.modal-color-strip .radio-option:hover {
    border-color: rgba(184, 150, 58, 0.5);
}

.modal-color-strip .radio-option.active {
    border-color: var(--gold-color, #b8963a);
    background: rgba(184, 150, 58, 0.06);
}

.modal-color-strip .radio-option.active .radio-circle {
    border-color: #cbd5e1;
}

.modal-color-strip .radio-option.active .radio-circle::after {
    font-size: 9px;
    color: #dc2626;
}

.modal-color-strip .radio-option.active .radio-label {
    color: var(--primary-color, #1e3a5f);
}

/* Legacy section names (keep for any refs) */
.variant-chips-section {
    padding: 12px 0;
}

.variant-chips-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    display: block;
}

.variant-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* === Radio Option (shared for variant & color) === */
.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    color: #334155;
    text-align: right;
}

.radio-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.2s ease;
}

.radio-option.active .radio-circle {
    border-color: #cbd5e1;
}

.radio-option.active .radio-circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.radio-label {
    font-weight: 500;
    white-space: nowrap;
}

.radio-option.active .radio-label {
    font-weight: 600;
    color: var(--primary-color, #1e3a5f);
}

/* הודעת שגיאה לבחירת דגם - נמצא עכשיו בתוך variant-chips-section */

/* === Color Selection === */
.color-chips-section {
    padding: 8px 0 12px;
}

.color-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Main video in modal */
#modalMainVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.mobile-modal-info {
    padding: 14px 16px 100px 16px;
    overflow-y: auto;
}

.mobile-modal-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.25;
}

.mobile-modal-model {
    font-size: 0.85rem;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.2;
    font-weight: 400;
}

.mobile-modal-model-notes {
    font-size: 0.75rem;
    color: #629FAD;
    margin: 4px 0 8px 0;
    line-height: 1.2;
    font-weight: 600;
}

.mobile-modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

/* Call to Action Text */

.mobile-modal-price .old-price {
    font-size: 1rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 400;
    margin-right: 10px;
}

/* Price Tiers */
/* Price Tiers Box - Customer Modal */
.price-tiers-box {
    margin: 10px 0;
}

.price-tiers-box-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
    text-align: center;
}

.price-tiers-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #ffffff;
    border: 1.5px dashed #1e293b;
    border-radius: 25px;
    color: #1e293b;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0;
}

.price-tiers-toggle:hover {
    background: #fdfaf3;
}

.price-tiers-toggle > span > .fa-chevron-down {
    font-size: 0.7rem;
    color: #1e293b;
    transition: transform 0.3s ease;
}

.tiers-coins-icon {
    color: #d4a017;
    font-size: 0.95rem;
    margin-left: 7px;
    filter: drop-shadow(0 0 2px rgba(212, 160, 23, 0.4));
}

.tiers-highlight {
    color: #1e293b;
}

.tiers-cta {
    color: #2563eb;
}

.price-tiers-toggle i.fa-chevron-down {
    font-size: 0.7rem;
    color: #1e293b;
    transition: transform 0.3s ease;
}

.price-tiers-toggle.open {
    margin-bottom: 10px;
}

.price-tiers-toggle.open > i.fa-chevron-down {
    transform: rotate(180deg);
}

.price-tiers-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #ffffff;
    border: 1.5px solid #1e293b;
    border-radius: 25px;
    font-size: 0.88rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.price-tier-row .tier-qty-text {
    font-weight: 500;
    color: #334155;
}

.price-tier-row .tier-price-text {
    font-weight: 600;
    color: #41A67E;
}

.price-tier-row.active {
    background: #ffffff;
    border-color: #000000;
    border-width: 1.5px;
}

.price-tier-row.active .tier-qty-text {
    font-weight: 500;
    color: #334155;
}

.price-tier-row.active .tier-price-text {
    font-weight: 600;
    color: #41A67E;
}

/* Sections */
.mobile-modal-section {
    margin-bottom: 12px;
}

.mobile-modal-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.mobile-modal-error {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 4px;
}

/* Text Options - Checkboxes (Simple) */
.mobile-modal-text-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-text-option {
    display: flex;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
}

.mobile-text-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.mobile-text-option input[type="checkbox"]:checked {
    background: #fff;
    border-color: #dc2626;
}

.mobile-text-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc2626;
    font-size: 14px;
    font-weight: bold;
}

.mobile-text-option span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

.mobile-text-option:has(input:checked) span {
    color: #334155;
    font-weight: 700;
}

/* Color Options - Checkboxes (Simple) */
.mobile-modal-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.mobile-color-option {
    display: flex;
    align-items: center;
    padding: 4px 0;
    cursor: pointer;
}

.mobile-color-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.mobile-color-option input[type="checkbox"]:checked {
    background: #fff;
    border-color: #dc2626;
}

.mobile-color-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc2626;
    font-size: 14px;
    font-weight: bold;
}

.mobile-color-option span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
}

.mobile-color-option:has(input:checked) span {
    color: #334155;
    font-weight: 700;
}

/* Shipping Options */
.mobile-modal-shipping {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-shipping-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-shipping-option:has(input:checked) {
    border-color: #dc2626;
}

.mobile-shipping-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin-left: 10px;
    cursor: pointer;
    accent-color: #dc2626;
}

.mobile-shipping-option .shipping-option-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-shipping-option .shipping-note {
    color: #64748b;
    font-weight: 400;
    font-size: 0.75rem;
}

/* Size Options - Checkboxes with Price */
.mobile-modal-sizes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-size-option {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 10px;
}

.mobile-size-option:hover {
    border-color: #94a3b8;
}

.mobile-size-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.mobile-size-option input[type="checkbox"]:checked {
    background: #fff;
    border-color: #dc2626;
}

.mobile-size-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #dc2626;
    font-size: 14px;
    font-weight: bold;
}

.mobile-size-option .size-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-size-option .size-dims {
    font-size: 0.9rem;
    font-weight: 400;
    color: #334155;
}

.mobile-size-option .size-price {
    font-size: 0.85rem;
    font-weight: 500;
    color: #22c55e;
}

.mobile-size-option:has(input:checked) {
    border-color: #e2e8f0;
    background: #f8fafc;
}

.mobile-size-option:has(input:checked) .size-dims {
    font-weight: 700;
    color: #334155;
}

.mobile-size-option:has(input:checked) .size-price {
    font-weight: 600;
}

/* Quantity */
.qty-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-modal-quantity {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 3px;
    gap: 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    border: none;
    border-radius: 50%;
    background: #fff;
    font-size: 0.85rem;
    color: #64748b;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover {
    background: #e2e8f0;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    min-width: 50px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

.qty-input {
    width: 40px;
    height: 28px;
    border: none;
    border-radius: 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    background: transparent;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input:focus {
    outline: none;
    background: transparent;
}

.qty-reset-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #fef2f2;
    border-radius: 10px;
    color: #dc2626;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.qty-reset-btn:hover:not(:disabled) {
    background: #fee2e2;
}

.qty-reset-btn:disabled {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

.mobile-modal-note {
    font-size: 0.85rem;
    color: #f59e0b;
    margin-top: 8px;
}

.mobile-modal-min-qty {
    font-size: 0.8rem;
    color: #f59e0b;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.qty-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #215E61;
}

.qty-controls .mobile-modal-label {
    margin: 0;
    white-space: nowrap;
    font-size: 0.85rem;
    color: #215E61;
    font-weight: 500;
}

.mobile-modal-total {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    white-space: nowrap;
    margin-bottom: 16px;
    color: #000000;
}

.mobile-modal-total .total-label {
    color: #215E61;
    font-weight: 700;
    font-size: 0.9rem;
}

.mobile-modal-total .total-price {
    color: #215E61;
    font-weight: 700;
    font-size: 1rem;
}

.mobile-modal-total .shipping-included {
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 400;
    margin-right: 6px;
}

/* Details */
.mobile-modal-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-top: 16px;
}

/* Short Description - הסבר קצר */
.modal-short-desc {
    background: linear-gradient(135deg, #fef9ef 0%, #fdf4e3 100%);
    border: 1px solid rgba(184, 150, 58, 0.15);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.modal-short-desc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.modal-short-desc-icon {
    font-size: 1rem;
    line-height: 1;
}

.modal-short-desc-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #8a6d2b;
}

.modal-short-desc-text {
    font-size: 0.85rem;
    color: #5a4a2a;
    line-height: 1.5;
    white-space: pre-line;
}

.modal-detail-section {
    padding: 14px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.modal-detail-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.modal-detail-section:first-child {
    padding-top: 0;
}

.modal-detail-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-detail-title i {
    color: #3b82f6;
    font-size: 0.85rem;
}

.modal-detail-content {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.modal-detail-content i {
    color: #64748b;
    margin-left: 4px;
    font-size: 0.8rem;
}

.modal-detail-note {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
    font-style: italic;
}

.shipping-see-more {
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
    font-style: normal;
    font-weight: 500;
}

.shipping-see-more:hover {
    color: var(--accent-color);
}

.shipping-note-details {
    display: block;
    margin-top: 6px;
}

/* Action Buttons */
.mobile-modal-actions {
    position: sticky;
    bottom: 0;
    background: #ffffff;
    padding: 20px 16px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.actions-buttons-row {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.mobile-btn-whatsapp {
    flex: 1.7;
    min-height: 48px;
    height: auto;
    background: #e2e8f0;
    border: 1px solid rgba(177, 183, 190, 1);
    border-radius: 12px;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    padding: 8px 12px;
}

.mobile-btn-whatsapp:hover {
    background: #cbd5e1;
}

.mobile-btn-whatsapp i {
    font-size: 1.2rem;
    color: #3bb543;
}

.modal-actions-note {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: #64748b;
    margin: 6px 0 0 0;
    padding: 2px 10px;
    line-height: 1.3;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-btn-cart {
    flex: 1;
    min-height: 48px;
    height: auto;
    background: #e2e8f0;
    border: 1px solid rgba(177, 183, 190, 1);
    border-radius: 12px;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    padding: 8px 12px;
}

/* כפתור עדכון מוצר */
.mobile-btn-update {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mobile-btn-update:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
}

.mobile-btn-update:active {
    transform: translateY(0);
}

.mobile-btn-cart:hover {
    background: #e2e8f0;
}

.mobile-btn-cart i {
    font-size: 1.1rem;
    color: #3b82f6;
}

/* בורר כמות */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--bg-gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--bg-white);
}

.quantity-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-gray-50);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: white;
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 60px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    background: var(--bg-white);
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#minQtyNote {
    color: var(--warning-color) !important;
    font-weight: var(--font-weight-medium);
}

#quantityTotal {
    font-size: 1.1rem;
}

/* מידע נוסף משופר */
#productDetailsModal h5.fw-bold { 
    margin-top: 16px !important; 
    margin-bottom: 12px !important; 
    font-size: 1rem;
    color: var(--text-primary);
}

#modalDims {
    margin-top: 0 !important; 
    margin-bottom: 16px !important;
    padding: 16px !important; 
    font-size: 0.9rem;
    background: var(--bg-gray-50);
    border: 1px solid var(--bg-gray-200);
    border-radius: var(--border-radius-sm);
}

.modal-details-title {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-top: 24px;
    margin-bottom: 8px;
    cursor: default;
}

#modalDims .mb-1, 
#modalDims .mb-2 { 
    margin-bottom: 8px !important; 
}

#productDetailsModal hr { 
    margin: 12px 0 !important;
    opacity: 0.3;
}

/* כפתורי הזמנה משופרים */
.btn-whatsapp-buy, 
.btn-modal-secondary { 
    width: 100%; 
    height: 48px; 
    font-size: 1rem; 
    margin-bottom: 12px;
    border-radius: var(--border-radius-sm);
    font-weight: var(--font-weight-semibold);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#productDetailsModal .border-top { 
    border-top: 1px solid var(--bg-gray-200) !important; 
    margin-top: 16px !important; 
    padding-top: 16px !important; 
}

.btn-whatsapp-buy { 
    background: linear-gradient(135deg, var(--whatsapp-light) 0%, #ecfdf5 100%);
    border: 2px solid var(--whatsapp-green);
    color: var(--whatsapp-dark); 
    font-weight: var(--font-weight-bold);
}

.btn-whatsapp-buy:hover { 
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    border-color: var(--whatsapp-green); 
    color: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-modal-secondary { 
    background: var(--bg-white); 
    border: 2px solid var(--bg-gray-200); 
    color: var(--text-primary);
}

.btn-modal-secondary:hover { 
    background: var(--bg-gray-50); 
    color: var(--accent-color); 
    border-color: var(--accent-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* חיצים במודל משופרים */
.modal-carousel-control {
    position: absolute;
    width: 36px; 
    height: 36px; 
    background-color: rgba(255, 255, 255, 0.95); 
    border-radius: 50%;
    top: 50%; 
    transform: translateY(-50%); 
    opacity: 0.9; 
    box-shadow: none;
    border: 1px solid var(--bg-gray-200);
    color: var(--text-primary); 
    display: flex; 
    align-items: center;
    z-index: 10; 
    justify-content: center;
    position: absolute; 
    z-index: 5; 
    transition: all var(--transition-fast);
    backdrop-filter: blur(4px);
}

.modal-carousel-control:hover { 
    background-color: var(--accent-color); 
    color: white; 
    transform: translateY(-50%) scale(1.1);
    border-color: var(--accent-color);
    opacity: 1;
}

.modal-carousel-control.prev { 
    left: 32px;
}

.modal-carousel-control.next { 
    right: 32px;
}
