.elementor-13353 .elementor-element.elementor-element-47c1c20{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-13353 .elementor-element.elementor-element-bcf3661{--display:flex;}#elementor-popup-modal-13353{background-color:rgba(0,0,0,.8);justify-content:center;align-items:center;pointer-events:all;}#elementor-popup-modal-13353 .dialog-message{width:640px;height:auto;}#elementor-popup-modal-13353 .dialog-close-button{display:flex;}#elementor-popup-modal-13353 .dialog-widget-content{box-shadow:2px 8px 23px 3px rgba(0,0,0,0.2);}@media(max-width:767px){.elementor-13353 .elementor-element.elementor-element-bcf3661{--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--margin-top:8%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;}}/* Start custom CSS for html, class: .elementor-element-70c1291 *//* بدنه اصلی پاپ‌آپ */
.elementor-popup-modal .dialog-widget-content {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: visible !important;
}

/* حذف بک‌گراند‌ها و فاصله‌های اضافه المنتور */
.elementor-popup-modal .elementor-section,
.elementor-popup-modal .elementor-container,
.elementor-popup-modal .elementor-column,
.elementor-popup-modal .elementor-widget-wrap,
.elementor-popup-modal .elementor-widget,
.elementor-popup-modal .elementor-widget-container,
.elementor-popup-modal .e-con,
.elementor-popup-modal .e-child {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    min-height: auto !important;
}

/* کارت اصلی */
.cart-popup-modern {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 28px;
    box-shadow:
        0 20px 50px rgba(15, 23, 42, 0.12),
        0 8px 20px rgba(15, 23, 42, 0.06);
    padding: 34px 30px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* افکت خیلی ملایم بالای کارت */
.cart-popup-modern::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -60px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(99,102,241,0.10) 0%, rgba(99,102,241,0) 70%);
    pointer-events: none;
}

.cart-popup-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.cart-popup-title {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.cart-popup-text {
    margin: 0 auto;
    max-width: 360px;
    font-size: 14px;
    line-height: 2;
    color: #64748b;
}

/* دکمه‌ها */
.cart-popup-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 26px;
    flex-wrap: wrap;
}

.cart-btn {
    min-width: 160px;
    height: 52px;
    border: 0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
    font-family: inherit;
}

/* دکمه تسویه حساب - قرمز مدرن */
.cart-btn-primary {
    color: #fff !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.22) !important;
}

.cart-btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
    box-shadow: 0 16px 28px rgba(220, 38, 38, 0.28) !important;
    color: #fff !important;
}

/* دکمه ادامه خرید - آبی سرمه ای با نوشته سفید */
.cart-btn-secondary {
    color: #fff !important;
    background: linear-gradient(135deg, #1e3a8a 0%, #172554 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 20px rgba(23, 37, 84, 0.2) !important;
}

.cart-btn-secondary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%) !important;
    transform: translateY(-2px);
    color: #fff !important;
    box-shadow: 0 16px 28px rgba(29, 78, 216, 0.25) !important;
}

/* دکمه بستن المنتور */
.elementor-popup-modal .dialog-close-button {
    top: 18px !important;
    left: 18px !important;
    right: auto !important;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.elementor-popup-modal .dialog-close-button i,
.elementor-popup-modal .dialog-close-button svg {
    color: #0f172a !important;
    fill: #0f172a !important;
}

/* اندازه خود پاپ‌آپ */
.elementor-popup-modal .dialog-message {
    width: auto !important;
}

.elementor-popup-modal .dialog-widget-content {
    max-width: 480px !important;
    border-radius: 30px !important;
}

/* موبایل */
@media (max-width: 767px) {
    .cart-popup-modern {
        max-width: 100%;
        padding: 28px 20px 22px;
        border-radius: 24px;
    }

    .cart-popup-title {
        font-size: 20px;
    }

    .cart-popup-text {
        font-size: 13px;
        line-height: 1.9;
    }

    .cart-popup-actions {
        flex-direction: column;
    }

    .cart-btn {
        width: 100%;
        min-width: 100%;
    }
}/* End custom CSS */