body {
    box-sizing: border-box;
}

.product-image {
    transition: transform 0.3s ease;
}

.product-image:hover {
    transform: scale(1.05);
}

.thumbnail {
    transition: all 0.2s ease;
}

.thumbnail:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.accordion-content {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.active {
    max-height: 200px;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.zoom-image {
    transition: transform 0.4s ease;
}

.zoom-container:hover .zoom-image {
    transform: scale(1.2);
}

.sticky-cta {
    position: sticky;
    top: 20px;
}

@media (max-width: 768px) {
    .sticky-cta {
        position: static;
    }
}


/**/
        /* استایل‌های اضافی برای سیستم چندزبانه */
        .lang-switch {
            transition: all 0.3s ease;
        }
        .lang-switch:hover {
            transform: scale(1.05);
        }
        /* رفع فوری مشکل منوی موبایل - نسخه قوی */
#mobileMenu {
    width: 280px !important;
    right: 0 !important;
    left: auto !important;
    transform: translateX(100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 9999 !important;
}

#mobileMenu.active {
    transform: translateX(0) !important;
}

#mobileOverlay {
    z-index: 9998 !important;
}

/* ریست کامل موقعیت‌ها */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

/* برای حالت LTR */
[dir="ltr"] #mobileMenu {
    left: 0 !important;
    right: auto !important;
    transform: translateX(-100%) !important;
}

[dir="ltr"] #mobileMenu.active {
    transform: translateX(0) !important;
}

