.elementor-84154 .elementor-element.elementor-element-7382604{--display:flex;}.elementor-84154 .elementor-element.elementor-element-c7a5c5c{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-b928021 */.wpb-bundle-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse; /* کارت‌های جدید از چپ پر می‌شن */
    gap: 25px;
    margin: 30px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    direction: rtl;
    justify-content: flex-end; /* شروع از سمت چپ */
}

.wpb-bundle-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    min-width: 260px;
    max-width: 400px;
    flex: 1 1 calc(33.33% - 25px); /* حفظ چیدمان سه‌ستونی */
}

.wpb-bundle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.wpb-bundle-title {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpb-bundle-title h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70%;
}

.wpb-bundle-type {
    background: #4CAF50;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    white-space: nowrap;
}

.wpb-bundle-image {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.wpb-bundle-image img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.wpb-bundle-items {
    padding: 15px;
    flex-grow: 1;
}

.wpb-bundle-items h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: #444;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
    text-align: right;
}

.wpb-bundle-items ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wpb-bundle-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

.wpb-bundle-item:last-child {
    border-bottom: none;
}

.wpb-bundle-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.wpb-bundle-item .product-info {
    flex-grow: 1;
    max-width: calc(100% - 100px);
}

.wpb-bundle-item .product-info span {
    font-size: 0.9em;
    color: #444;
    white-space: normal;
    overflow-wrap: break-word;
    display: block;
}

.wpb-bundle-pricing {
    padding: 15px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: right;
}

.wpb-bundle-pricing .price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.wpb-bundle-pricing .price-row.discount {
    color: #4CAF50;
}

.wpb-bundle-pricing .price-row.total {
    font-weight: bold;
    border-top: 1px solid #ddd;
    padding-top: 5px;
    margin-top: 5px;
    font-size: 1.1em;
}

.wpb-bundle-pricing .original-price {
    text-decoration: line-through;
    color: #888;
}

.wpb-bundle-pricing .final-price {
    color: #d32f2f;
}

.wpb-add-to-cart {
    display: block;
    width: calc(100% - 30px);
    margin: 0 15px 15px;
    background-color: #4CAF50 !important;
    color: white !important;
    border: none !important;
    padding: 12px !important;
    text-align: center;
    border-radius: 4px !important;
    transition: background 0.3s;
    font-size: 0.95em;
    font-weight: 600;
}

.wpb-add-to-cart:hover {
    background-color: #3e8e41 !important;
}

.wpb-bundle-notice {
    padding: 10px 15px;
    background: #fff8e1;
    font-size: 0.9em;
    text-align: center;
    border-top: 1px solid #eee;
    overflow-wrap: break-word;
}

@media (max-width: 1024px) {
    .wpb-bundle-container {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    .wpb-bundle-card {
        min-width: 0;
        max-width: 100%;
        flex: 1 1 calc(50% - 25px); /* دو‌ستونی در تبلت */
    }
}

@media (max-width: 768px) {
    .wpb-bundle-container {
        flex-direction: column; /* تک‌ستونی در موبایل */
    }
    .wpb-bundle-card {
        flex: 1 1 100%;
    }
    .wpb-bundle-title h3 {
        font-size: 1.1em;
        max-width: 65%;
    }
    .wpb-bundle-items h4 {
        font-size: 0.95em;
    }
    .wpb-bundle-item .product-info span {
        font-size: 0.85em;
    }
    .wpb-bundle-pricing .price-row {
        font-size: 0.9em;
    }
    .wpb-bundle-pricing .price-row.total {
        font-size: 1em;
    }
    .wpb-add-to-cart {
        font-size: 0.9em;
        padding: 10px !important;
    }
}/* End custom CSS */