.elementor-8625 .elementor-element.elementor-element-0b75a77{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}body.elementor-page-8625:not(.elementor-motion-effects-element-type-background), body.elementor-page-8625 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#0D1B40;}/* Start custom CSS for html, class: .elementor-element-647015c *//* --- استایل نمایش در سایت (دسکتاپ و موبایل) --- */
.tm-catalog-container {
    direction: rtl;
    background-color: #0d1b40;
    padding: 20px;
    color: #fff;
    max-width: 1100px;
    margin: auto;
}

.product-card {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-title {
    font-size: 22px;
    font-weight: bold;
    border-right: 5px solid #ffcc00;
    padding-right: 15px;
    margin-bottom: 10px;
    color: #ffffff !important;
}

.product-top-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-image-wrapper {
    flex: 0 0 300px;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info-wrapper {
    flex: 1;
    min-width: 300px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.spec-box {
    background: #ffffff;
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
}

.spec-label { color: #888; font-size: 10px; font-weight: bold; white-space: nowrap; }
.spec-value { color: #0d1b40; font-size: 11px; font-weight: bold; text-align: left; direction: ltr; }

.full-width { grid-column: span 3; }

.download-btn {
    background: #e67e22;
    color: white !important;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

/* --- ریسپانسیو موبایل (فقط برای نمایش در سایت) --- */
@media (max-width: 767px) {
    .product-top-section { flex-direction: column; align-items: center; }
    .product-image-wrapper { flex: none; width: 100%; max-width: 280px; height: 260px; }
    .product-info-wrapper { min-width: unset; width: 100%; }
    .specs-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
}

/* --- تنظیمات اختصاصی برای خروجی PDF (فقط محصولات) --- */
@media print {
    /* مخفی کردن تمام بخش‌های سایت وردپرسی */
    body * { visibility: hidden; background: none !important; }
    
    /* نمایش فقط کانتینر اصلی محصولات */
    .tm-catalog-container, .tm-catalog-container * {
        visibility: visible;
    }

    .tm-catalog-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 210mm; /* عرض دقیق A4 */
        min-height: 297mm;
        padding: 15mm 12mm !important;
        background-color: #0d1b40 !important; /* اجبار رنگ پس‌زمینه */
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    @page { size: A4; margin: 0; }

    .no-print { display: none !important; }

    .product-card {
        page-break-inside: avoid;
        background: rgba(255,255,255,0.08) !important;
        margin-bottom: 15mm !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        display: flex !important;
        flex-direction: column !important;
    }

    /* بازگرداندن چیدمان دسکتاپ در PDF (عکس کنار متن) */
    .product-top-section {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
    }

    .product-image-wrapper {
        flex: 0 0 200px !important;
        height: 300px !important;
        background: #ffffff !important;
    }

    .specs-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
    }

    .spec-box {
        background: #ffffff !important;
        -webkit-print-color-adjust: exact !important;
    }

    .product-title {
        color: #ffffff !important;
        font-size: 20px !important;
    }
}/* End custom CSS */