/* ساختار دو ستونه برای دسکتاپ */
.mfix-cart-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .mfix-cart-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Sticky Summary */
.mfix-cart-summary {
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 10;
    animation: mfix-summary-fade .35s ease;
}

/* کارت شیشه‌ای Summary */
.mfix-cart-summary .summary-box {
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid rgba(156, 163, 175, 0.45);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(148, 163, 184, 0.35);
}

/* ردیف‌ها */
.mfix-cart-summary .row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #111827;
    margin-bottom: 10px;
}

.mfix-cart-summary .row.total {
    font-weight: 600;
    color: #1d4ed8;
    margin-top: 12px;
}

/* انیمیشن ورود Summary */
@keyframes mfix-summary-fade {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
