@media screen and (max-width: 1024px) {

    .mihanjs_cart-page > section.mihanjs_container {
        margin-top: 44px;
    }

    .mihanjs_cart-filled {
        flex-direction: column;
    }

    .mihanjs_cart-main,
    .mihanjs_cart-summary {
        width: 100%;
    }

    .mihanjs_customer-item {
        width: calc((100cqi - 40px) / 3);
    }

}

@media screen and (max-width: 768px) {

    span.mihanjs_cart-count-separator {
        width: 65%;
    }

    .mihanjs_cart-head {
        display: none;
    }

    .mihanjs_cart-row {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 16px 0 4px;
        border-bottom: none;
    }

    .mihanjs_cart-product {
        width: 100%;
        padding-bottom: 8px;
    }

    .mihanjs_cart-product img {
        order: 1;
        width: 72px;
        height: 72px;
    }

    .mihanjs_cart-product a {
        order: 2;
        flex: 0 1 auto;
    }

    .mihanjs_cart-remove {
        order: 3;
        margin-inline-start: auto;
    }

    .mihanjs_cart-row > .mihanjs_cart-money,
    .mihanjs_cart-row > .mihanjs_cart-qty {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 0;
        border-top: 1px dashed var(--primary-100);
    }

    .mihanjs_cart-row > .mihanjs_cart-money::before,
    .mihanjs_cart-row > .mihanjs_cart-qty::before {
        color: var(--primary-300);
        font-size: 14px;
        font-weight: 500;
        margin-inline-end: auto;
    }

    .mihanjs_cart-row > .mihanjs_cart-money:nth-child(2)::before {
        content: "قیمت";
    }

    .mihanjs_cart-row > .mihanjs_cart-qty::before {
        content: "تعداد";
    }

    .mihanjs_cart-row > .mihanjs_cart-money:nth-child(4)::before {
        content: "جمع جزء";
    }

    .mihanjs_cart-row > .mihanjs_cart-money:nth-child(4) {
        border-bottom: 1px solid var(--primary-50);
    }

    .mihanjs_cart-row:last-child > .mihanjs_cart-money:nth-child(4) {
        border-bottom: none;
    }

    .mihanjs_customer-item {
        width: calc((100cqi - 25px) / 2);
    }

}

@media screen and (max-width: 425px) {

    span.mihanjs_cart-count-separator {
        width: 45%;
    }

    section.mihanjs_container:has(> .mihanjs_customer-list) {
        display: flex;
        flex-direction: column;
    }

    section.mihanjs_container:has(> .mihanjs_customer-list) > .mihanjs_customer-head {
        display: contents;
    }

    section.mihanjs_container:has(> .mihanjs_customer-list) .mihanjs_customer-info {
        order: 1;
        width: 100%;
    }

    section.mihanjs_container:has(> .mihanjs_customer-list) > .mihanjs_customer-list {
        order: 2;
    }

    section.mihanjs_container:has(> .mihanjs_customer-list) .mihanjs_customer-arrows {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 16px;
    }

    .mihanjs_customer-item {
        width: calc((100cqi - 0px) / 1);
    }

    .mihanjs_customer-title {
        font-size: 14px;
        gap: 2px;
    }

}

@media screen and (max-width: 320px) {

    span.mihanjs_cart-count-separator {
        width: 30%;
    }

}