.Order_History_Card {
    margin-top: 35px;
}


.Order_History_Card .main_card {
    margin: 0px 10px;
    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 6px #00000029;
    border-radius: 18px;
    border: none;
}

.Order_History_Card .main_card .product_section {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    gap: 10px;
    flex-direction: column;
}

.Order_History_Card .main_card .product_section .product_img_div {
    width: 75px;
    height: 75px;
    background: #f5f5f5;
    padding: 8px 10px;
    border-radius: 8px;
    aspect-ratio: 1/1;
}

.Order_History_Card .main_card .product_section .product_img_div .product_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.Order_History_Card .main_card .product_section .product_info .product_name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    line-height: 1.2;
    -webkit-box-orient: vertical;
}

.Order_History_Card .main_card .status_text {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #2f7aac;
    text-align: center;
}

.Order_History_Card .main_card .status_text.shipped_status {
    color: #97ac2f;
}

.Order_History_Card .main_card .price_text,
.Order_History_Card .main_card .date_text {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    /* text-align: center; */
    margin-left: 10px;
}

.Order_History_Card .main_card .action_section {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 15px;
}

.Order_History_Card .main_card .action_section svg {
    font-size: 20px;
}

.Order_History_Card .main_card.mobile_view {
    display: none;
}

.Order_History_Card .right_section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: end;
    margin-top: 30px;
}


.Order_History_Card .view-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}



.Order_History_Card .order_table_row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1.5fr;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    column-gap: 20px;
}

/* Every column */

.Order_History_Card .col_item {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 60px;
}

/* Product Column */

.Order_History_Card .product_col {
    justify-content: flex-start;
    text-align: left;
}

/* Center Column */

.Order_History_Card .status_col,
.price_col {
    /* justify-content: center; */
    text-align: center;
}

/* Right Column */

.Order_History_Card .action_col {
    /* justify-content: flex-end; */
    text-align: right;
}

/* Actions */

.Order_History_Card .action_section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

.Order_History_Card .action_col {
    justify-content: center !important;
}









/* ========================= Media Queries ========================= */
@media (min-width: 992px) and (max-width: 1199px) {
    .Order_History_Card .main_card .product_section .product_img_div {
        width: 65px;
        height: 65px;
    }

    .Order_History_Card .main_card .product_section {
        gap: 5px;
    }

    .Order_History_Card .main_card .price_text,
    .Order_History_Card .main_card .date_text {
        font-size: 13px;
    }

    .Order_History_Card .main_card .Green_btn_holder .Green_btn {
        font-size: 13px;
        padding: 6px 9px;
    }

    .Order_History_Card .main_card .action_section svg {
        font-size: 17px;
    }
}

@media (min-width: 0px) and (max-width: 991px) {
    .Order_History_Card {
        margin-top: 0;
    }

    .Order_History_Card .main_card.desktop_view {
        display: none;
    }

    .Order_History_Card .main_card.mobile_view {
        padding: 10px;
        display: block;
        margin-bottom: 15px;
        position: relative;
    }

    .Order_History_Card .main_card.mobile_view .card_top_div {
        display: flex;
        /* align-items: center; */
        justify-content: space-between;
        gap: 10px;
    }

    .Order_History_Card .main_card.mobile_view .card_mid_div {
        display: flex;
        /* align-items: center; */
        justify-content: space-between;
        margin: 10px;
    }

    .Order_History_Card .main_card.mobile_view .card_last_div {
        display: flex;
        gap: 15px;
        align-items: center;
        justify-content: end;
        margin-top: 20px;
    }

    .Order_History_Card .main_card .status_text.shipped_status {
        color: #97ac2f;
    }

    .Order_History_Card .main_card .status_text {
        /* position: absolute;
    top: 8px;
    right: 11px; */
        margin-bottom: 10px;
        text-align: end;
    }

    .Order_History_Card .main_card {
        border-radius: 12px;
    }

    .Order_History_Card .main_card .product_section .product_info .product_name {
        width: 201px;
    }

    .Order_History_Card .img-wrapper_div {
        display: flex;
        gap: 10px;
    }

    .Order_History_Card .product_section {
        display: flex;
        flex-direction: column;
    }

    .Order_History_Card .price_action_row {
        display: flex;
        justify-content: space-between !important;
        align-items: center;
        margin-top: 10px;
    }

    .Order_History_Card .main_card.mobile_view .card_last_div {
        margin-top: 0px;
    }

    .Order_History_Card .main_card .product_section .product_info .product_name {
        width: 142px;
    }

    .Order_History_Card .main_card .date_text {
        font-size: 13px;
    }

    .Order_History_Card .main_card .Green_btn_holder .Green_btn {
        padding: 6px 10px;
    }

    .Order_History_Card .main_card .price_text {
        font-size: 16px;
    }
}

@media (min-width: 0px) and (max-width: 395.98px) {
    .Order_History_Card .main_card .product_section .product_img_div {
        width: 68px;
        height: 68px;
    }

    .Order_History_Card .main_card.mobile_view {
        margin: 1px;
        margin-bottom: 15px;
    }

    .Order_History_Card .main_card .product_section .product_info .product_name {
        width: 100px;
        font-size: 13px;
        -webkit-line-clamp: 4;
    }

    .Order_History_Card .main_card .status_text {
        font-size: 12px;
    }

    .Order_History_Card .main_card .date_text {
        font-size: 12px;
    }
}