.placed_prod_card {
    background: #FAFAFA;
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 16px;
    width: 100%;
    position: relative;
    border-bottom: 2px solid #ffffff;
}

.placed_prod_card.gift_card {
    align-items: center;
    justify-content: unset;
    flex-direction: row;
    gap: 16px;
    padding: 12px;
}

.placed_prod_details_wrap {
    width: 70%;
    display: flex;
    align-items: start;
    gap: 16px;
    flex: 1 1 auto;
}

.placed_prod_details_wrap:not(:has(+.placed_prod_btns_order_status_wrap)) {
    width: 100%;
}

.placed_prod_img {
    max-width: 90px;
    min-width: 70px;
    width: 100%;
    aspect-ratio: 0.75;
    position: relative;
    overflow: hidden;
}

.placed_prod_card.placed_prod_card__free.free_gift_product {
    background: #f8fffa;
    border: 1px solid #b8cfb9;
}

.placed_prod_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.my-order-details-link.my-order-details-has-overlay .cancelled {
    display: none;
}

.my-order-details-link span.cancelled,
.placed_prod_img span.cancelled {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    color: #ffffff;
    background-color: #E74C3C;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    z-index: 9;
    width: 100%;
    padding: 7px 8px;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0% 100%);
}

.placed_prod_name {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 145%;
    text-align: start;
    margin-bottom: 12px;
    display: block;
}

.placed_prod_price_row {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
    margin-bottom: 12px;
}

.placed_prod_details .customised_details {
    margin-top: 5px;
}

.placed_prod_details {
    text-align: left;
}

.placed_prod_price_row:has(+.price_breakup_btn.active) {
    margin-bottom: 12px;
}

.placed_prod_price_row:has(.product_list_cards_actual_price.spl_offer) {
    gap: 4px;
}

.placed_prod_cut_price {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.334;
}

.placed_prod_actual_price {
    color: #545454;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.placed_prod_discount {
    color: #B12029;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.placed_free_product {
    display: inline-block;
    color: #388E3C;
    font-size: 16px;
    line-height: 1;
    font-weight: 400;
}

.price_breakup_btn {
    color: #333333;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    text-decoration: underline;
    cursor: pointer;
    display: none;
}

.price_breakup_btn.active {
    display: block;
    margin-bottom: 14px;
}

.placed_prod_other_details {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 12px;
}

.placed_prod_size,
.placed_prod_qty,
.placed_prod_color {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
}

.placed_prod_size span,
.placed_prod_qty span,
.placed_prod_color span {
    padding-left: 2px;
}

.placed_prod_btns {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}

.delivered_order_btn_wrap {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 16px;
    margin-bottom: 8px;
}

.prod_return_btn,
.prod_exchange_btn,
.prod_cancel_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 46px;
    border: 0.5px solid #333333;
    color: #333333;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-transform: capitalize;
    cursor: pointer;
}

.prod_available_details {
    color: #777777;
    font-size: 14px;
    font-weight: 300;
    line-height: 100%;
    text-align: end;
    white-space: nowrap;
}

.prod_available_date {
    color: #333333;
}

.prod_order_details_btn,
.prod_edit_review_btn {
    color: #333333;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    text-decoration: underline;
    cursor: pointer;
}

.placed_prod_order_details,
.placed_prod_view_details_row {
    text-align: end;
    padding: 12px 16px;
    background: #FAFAFA;
    border-top: 2px solid #ffffff;
}

.placed_prod_order_details a,
.view_details_btn {
    color: #333;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    text-decoration: underline;
    cursor: pointer;
}

.view_details_btn {
    margin-left: auto;
}

.return_reason_details {
    color: #777777;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.return_reason_details span {
    color: #000000;
    font-size: 16px;
}

.exchange_card {
    background-color: #FAFAFA;
}

.exchange_heading {
    padding: 16px 16px 0;
    width: 100%;
    color: #649FF8;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    text-transform: capitalize;
}

.checkout_exchange_icon {
    width: 40px;
    aspect-ratio: 1;
    border-radius: 50%;
    background-color: #F4F4F4;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.view_order_details_with_address {
    display: flex;
    padding: 11px 16px;
    border-top: 3px solid #fff;
    justify-content: space-between;
}

.view_order_details_with_address_img_content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.view_order_details_with_address_img_content_bg {
    border-radius: 16px;
    background-color: #F1F1F1;
    width: 24px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view_order_details_with_address_img_bg,
.order_detail_thread_icon img {
    width: 50%;
}

.view_order_details_with_address_img_bg1 {
    height: 12px;
    width: 12px;
    position: relative;
    display: inline-block;
    background-color: #FAFAFA;
}

.view_order_details_with_address_img_bg1 .tooltiptext {
    visibility: hidden;
    width: 184px;
    background-color: #ffffff;
    text-align: center;
    border-radius: 6px;
    padding: 16px;
    position: absolute;
    z-index: 1;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.5;
    top: 130%;
    left: 0;
    margin-left: -155px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1)
}

.view_order_details_with_address_img_bg1:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.view_order_details_with_address_img_bg1 .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 84%;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

.view_order_details_with_address_para {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.view_order-details_left {
    font-size: 18px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    margin-top: 10px;
    text-decoration: underline;
}

.view_order-details_left a {
    color: #333333;
}

.placed_prod_view_details_row:has(.view_details_btn) {
    display: flex;
    align-items: center;
    border: 1px solid #d9d9d9;
    margin-top: 10px;
}

.placed_gc_img {
    padding: 6px;
    max-width: 190px;
    width: 100%;
    background-color: #F6F6F6;
}

.placed_gc_img img {
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.my-order-details-container {
    display: flex;
    gap: 16px;
    overflow: hidden;
    padding: 16px;
    background: #fafafa;
    box-sizing: border-box;
}

.my-order-details-link {
    position: relative;
    flex: 0 0 auto;
    width: 90px;
    aspect-ratio: 0.75;
    overflow: hidden;
    text-decoration: none;
    background: #eee;
}

body.return_page .placed_prod_btns_order_status_wrap,
body.exchange_page .placed_prod_btns_order_status_wrap,
.my-order-details-link.inactive {
    display: none;
}

.my-order-details-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.my-order-details-link.my-order-details-has-overlay::after {
    content: attr(data-remaining);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    height: 100%;
    background: #F5F4F4;
    color: #333333;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    cursor: pointer;
}

.track_order_page_btns {
    text-align: right;
    padding: 12px 10px;
    background-color: #fafafa;
    border-top: 2px solid #ffffff;
}

@media screen and (max-width:1024px) {
    .placed_prod_card {
        padding: 6px;
        flex-direction: column;
        text-align: start
    }

    .placed_prod_card.gift_card {
        padding: 8px;
        gap: 10px;
    }

    .placed_prod_details_wrap {
        width: 100%;
        gap: 8px
    }

    .exchange_heading {
        font-size: 14px;
        padding: 16px 8px 0
    }

    .checkout_exchange_icon {
        width: 24px;
        padding: 2px
    }

    .placed_prod_name,
    .placed_prod_cut_price,
    .placed_prod_order_details a,
    .view_details_btn,
    .return_reason_details span,
    .view_order_details_with_address_para {
        font-size: 14px
    }

    .placed_prod_actual_price,
    .placed_prod_discount {
        font-size: 9px;
    }

    .placed_prod_price_row {
        gap: 4px;
    }

    .placed_free_product {
        color: #388E3C;
        font-size: 12px;
    }

    .placed_prod_size,
    .placed_prod_qty,
    .placed_prod_color,
    .price_breakup_btn {
        font-size: 11px
    }

    .placed_prod_btns,
    .delivered_order_btns,
    .placed_order_btns,
    .track_order_btns,
    .prod_order_details_btn,
    .prod_edit_review_btn {
        width: 100%;
        font-size: 12px;
        text-align: end;
    }

    .track_order_page_btns {
        padding: 8px;
        text-align: right;
    }

    .placed_prod_btns {
        padding: 16px 8px 8px;
    }

    .prod_available_details {
        width: 100%;
        font-size: 12px;
        text-align: start;
    }

    .prod_return_btn,
    .prod_exchange_btn,
    .prod_cancel_btn {
        height: 40px;
        width: 100%;
        font-size: 12px;
    }

    .placed_prod_order_details,
    .placed_prod_view_details_row {
        padding: 12px 8px;
    }

    .placed_prod_price_row:has(+.price_breakup_btn.active) {
        margin-bottom: 8px;
    }

    .price_breakup_btn.active {
        margin-bottom: 16px;
    }

    .my-order-details-link span.cancelled,
    .placed_prod_img span.cancelled {
        font-size: 10px;
    }
}

.prod_order_payment_mode_value {
    display: flex;
    align-items: center;
    gap: 5px;
}

.order_detail_thread_icon {
    background-color: unset;
    width: 24px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .prod_order_payment_mode_value {
        flex-direction: column;
        align-items: start;
    }

    .view_order_details_with_address_img_bg1 .tooltiptext {
        width: 248px;
        margin-left: -160px;
    }

    .view_order_details_with_address_img_bg1 .tooltiptext::after {
        left: 65%;
    }

    .my-order-details-link.my-order-details-has-overlay::after {
        font-size: 12px;
    }

    .my-order-details-link span.cancelled,
    .placed_prod_img span.cancelled {
        padding: 6px 6px 4px;
    }

    .my-order-details-container {
        padding: 8px;
        gap: 8px;
    }

    .my-order-details-link {
        width: 74px;
    }

    .placed_gc_img {
        max-width: 144px;
    }

    .placed_prod_name {
        margin-bottom: 12px
    }

    .view_order_details_with_address {
        padding: 8px 12px;
        background-color: #fafafa;
    }
}

@media screen and (max-width:392px) {
    .view_order_details_with_address_para {
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4
    }

    .view_order_details_with_address_img_bg1 {
        height: 12px;
        width: 8px;
        position: relative;
        display: inline-block;
        background-color: #FAFAFA
    }

    .view_order-details_left {
        font-size: 13px;
        font-weight: 400;
        line-height: 18px;
        text-align: left;
        margin-top: 10px;
        text-decoration: underline
    }
}

@media screen and (max-width:359px) {
    .placed_prod_card {
        gap: 12px;
    }

    .placed_prod_name,
    .placed_prod_cut_price,
    .placed_prod_order_details a,
    .view_details_btn,
    .return_reason_details span {
        font-size: 12px
    }

    .placed_prod_other_details {
        gap: 6px 12px;
    }

    .placed_prod_size span,
    .placed_prod_qty span,
    .placed_prod_color span {
        padding-left: 0
    }
}