.cart_prod_card_wrpr {
    width: 100%;
}

.cart_prod_card_wrpr.active {
    position: relative;
}

.cart_prod_card {
    width: 100%;
    display: flex;
    align-items: start;
    gap: 12px;
    background-color: #fff;
    padding-bottom: 16px;
    transition: all 0.3s ease;
}

.Cls_cart_gc_card .cart_prod_card {
    padding-bottom: 0;
}

.cart_product_error_msg {
    display: none;
    margin: 0;
    color: red;
    font-size: 16px;
    font-weight: 300;
    line-height: 100%;
    padding-bottom: 10px;
}

.cart_product_error_msg.active {
    display: block;
}

.checkout_page_container .cart_prod_card {
    gap: 16px;
}

.cp_img {
    position: relative;
    max-width: 120px;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 0.75;
}

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

.cp_cont_wrap {
    width: 100%;
}

.cp_name_row {
    width: 100%;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cp_name {
    color: #000;
    font-size: 18px;
    text-align: left;
    font-weight: 400;
    line-height: 1.5;
    text-transform: capitalize;
    flex: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
}

.cp_remove_btn,
.cp_wishlist_btn,
.gc_delete_btn {
    flex: 0 0 auto;
    width: 24px;
    aspect-ratio: 1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cp_wishlist_btn img {
    width: 100%;
}

.cp_remove_btn svg {
    pointer-events: none;
    user-select: none;
}

.cp_price_row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.cp_price_row:has(> .price_token) {
    gap: 2px;
}

.cp_current_price {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.strikeout_price {
    text-decoration: line-through;
    color: #777;
}

.cp_free_price_details {
    color: #388e3c;
}

.cp_actual_price {
    color: #545454;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-decoration: line-through;
}

.cp_discount_percentage {
    color: #b12029;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.cp_color_row {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    margin-bottom: 12px;
    color: #777;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
}

.cp_selected_color {
    color: #333;
}

.cp_btn_row {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.cp_dropped_price {
    color: #388e3c;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 10px;
}

.cp_btn_wrap {
    max-width: 457px;
    width: 100%;
    gap: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cp_quantity_btn_card,
.cp_size_btn_card {
    max-width: 132px;
    width: 100%;
    position: relative;
}

.cp_btn_heading {
    color: #777;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: capitalize;
    white-space: nowrap;
}

.cp_quantity_wrap,
.cp_size_btn {
    width: 100%;
    height: 40px;
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.cp_size_btn.active .cp_drop_arrow svg {
    transform: scaleY(-1);
}

.cp_selected_quantity,
.cp_selected_size {
    width: 100%;
    height: 100%;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.cart_prod_card_wrpr.accessories .cp_selected_size,
.cart_prod_card_wrpr.accessories .cp_dropdown_list {
    font-size: 14px;
}

.cp_drop_arrow,
.cp_quantity_decrease_btn,
.cp_quantity_increase_btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #333;
    cursor: pointer;
}

.cp_dropdown_content {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    margin: 4px 0;
    z-index: 12;
    background-color: #f4f4f4;
    box-shadow: 0 2px 10px 0 #0000004d;
    max-height: 120px;
    overflow: hidden scroll;
    scrollbar-width: auto;
}

.cp_dropdown_content::-webkit-scrollbar {
    display: block;
}

.cp_dropdown_list {
    width: 100%;
    height: 40px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #d9d9d980;
    color: #333;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    cursor: pointer;
}

.cp_dropdown_list.selected,
.cp_dropdown_list:hover {
    background-color: #333;
    color: #f4f4f4;
}

.cp_size_btn.active .cp_dropdown_content {
    display: block;
}

.cp_drop_arrow svg {
    transition: all 0.2s ease;
    pointer-events: none;
}

.cp_size_btn.active .cp_drop_arrow svg {
    transform: scaleY(-1);
}

.cp_btn_row:has(.cp_btn_wrap_2 > .customised_details) {
    gap: 24px;
    align-items: start;
    flex-direction: column;
}

.cp_btn_wrap_2:has(.customised_details) {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customised_details {
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    color: #000000;
}

.placed_prod_details .customised_details {
    margin-top: 11px;
    font-weight: 400;
}

.move_to_wishlist_btn {
    display: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: underline;
}

.checkout_page_container .move_to_wishlist_btn {
    display: block;
}

.cart_prod_card.out_of_stock .cp_img {
    filter: grayscale(1);
}

.cart_prod_card.out_of_stock .cp_img::after {
    content: "Out of Stock";
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    color: #000;
    background-color: #ffffff80;
    position: absolute;
    top: 0;
    left: 0;
}

.cart_prod_card.out_of_stock .cp_btn_wrap {
    opacity: 0.4;
    pointer-events: none;
}

.combo_offer_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    width: 100%;
    background-color: #f1f1f1;
    /* border: 1px solid #EEF2F5; */
    margin-bottom: 10px;
    gap: 2px;
}

.combo_offer_texts {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-align: left;
    color: #388E3C;
}

.combo_offer_texts .offer_applicable {
    color: #B1202A;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.combo_offer_texts .offer_applied {
    color: #32734d;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 10px;
}

.combo_offer_texts:has(.avail_this_offer) .offer_applicable {
    margin-bottom: 10px;
}

.offer_applicable.hurry_up_text {
    color: #333333;
}

.avail_this_offer.deal_ends_in {
    color: #da4036;
}

.combo_offer_deals_timer {
    display: flex;
    line-height: 1.5;
    flex-direction: column;
}

.combo_offer_texts .avail_this_offer {
    color: #000;
    font-size: 16px;
    font-weight: 400;
    margin-top: 6px;
    line-height: 1;
}

.hurry_up_deals {
    display: flex;
    align-items: center;
}

.combo_offer_add_products {
    flex: 0 0 auto;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    color: #333;
    white-space: nowrap;
    text-decoration: underline;
}

.combo_offer_add_products:hover {
    text-decoration: underline;
}

.combo_offer_svg {
    width: 30px;
    flex: 0 0 auto;
    padding-right: 10px;
    display: flex;
    align-self: center;
    align-self: self-start;
}

.combo_offer_applied_svg {
    width: 24px;
    height: 24px;
}

.svg_container svg {
    width: 100%;
    height: auto;
    display: block;
}

.combo_offer_texts {
    flex: 1 1 auto;
}

.card_prod_combo_wrpr {
    border: 2px solid #f0eeee;
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

/* .card_prod_combo_wrpr:has(.new_sale_timerBlack) {
    margin: 40px 0px; ------------------  This is commented as we've removed the timer added for each product on cart page, if that feature is enabled again, kindly uncomment this for proper spacing.
    margin: 0px;
}

.card_prod_combo_wrpr:has(.new_sale_timerBlack):first-of-type {
    margin-top: 26px;
}

.card_prod_combo_wrpr:has(.new_sale_timerBlack):last-of-type {
    margin-bottom: 0px;
} */

.card_prod_combo_wrpr:has(.combo_offer_container) .combo_offer_container+.cart_prod_card_wrpr {
    margin-top: 0;
}

.card_prod_combo_wrpr:has(.combo_offer_container) .cart_prod_card_wrpr {
    margin-top: 10px;
}

.card_prod_combo_wrpr:has(.combo_offer_container) .cart_prod_card_wrpr:last-child .estimate__delivery__wrpr {
    border-bottom: none;
    padding-bottom: 0px;
}

.card_prod_combo_wrpr:not(:last-child) {
    margin-bottom: 16px;
}

.combo_offer_applied_container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid #388e3c;
}

.combo_offer_applied_text {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-align: left;
    color: #388e3c;
}

.gc_img {
    max-width: 234px;
    width: 100%;
    padding: 8px;
    background-color: #f6f6f6;
}

.gc_img img {
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.estimate__delivery__wrpr {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.estimate__delivery__text {
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
}

.estimate__delivery__icon {
    width: 24px;
    display: flex;
    align-items: center;
}

/* Special timer css start */

.product-cart-wrapper .new_sale_timerBlack {
    margin: 0px;
    position: absolute;
    right: -2px;
    bottom: 100%;
    z-index: 1;
    width: 100%;
    padding: 15px 5px 15px 31px;
    display: none;
    /* This is to hide the product specific timer on cart page */
}

.new_sale_timer_section .sale_time_load {
    display: inline-block;
    width: 2ch;
    text-align: center;
}

.product-cart-wrapper .time_counter_section {
    gap: 8px;
    align-items: baseline;
}

.product-cart-wrapper .new_sale_timer_section {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.product-cart-wrapper .sale_ends_inTag .sale_ends_inTag_text {
    font-size: 14px;
    line-height: 1;
}

.product-cart-wrapper .time_section_colon,
.product-cart-wrapper .sale_time_load {
    font-size: 16px;
    line-height: 1;
    margin: 0px;
}

.product-cart-wrapper .timer_label {
    font-size: 14px;
    margin: 0px;
}

.card_prod_combo_wrpr.product-cart-wrapper.free_gift_product {
    background: #f8fffa;
    border: 1px solid #b8cfb9;
}

.free_gift_product .cart_prod_card {
    background: #f8fffa;
}

.free_gift_product .cp_wishlist_btn img {
    display: none;
}

.free_gift_product .cart_prod_card .cp_name_row a {
    cursor: auto;
}

/* Special timer css end */

@media screen and (max-width: 1470px) {
    .cp_btn_wrap {
        max-width: 350px;
    }

    .cp_btn_row:has(.cp_btn_wrap_2 > .customised_details) {
        gap: 12px;
    }

    .customised_details {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    .product-cart-wrapper .new_sale_timerBlack {
        padding: 5px 5px 2px 30px;
    }

    .product-cart-wrapper .sale_ends_inTag .sale_ends_inTag_text,
    .product-cart-wrapper .time_section_colon,
    .product-cart-wrapper .sale_time_load {
        font-size: 12px;
    }

    .product-cart-wrapper .timer_label {
        font-size: 11px;
    }

    .estimate__delivery__icon {
        width: 20px;
    }

    .estimate__delivery__wrpr {
        padding: 0;
        align-items: flex-end;
    }

    .estimate__delivery__text {
        font-size: 14px;
    }

    .gc_img {
        max-width: 144px;
        padding: 4px;
    }

    .cp_btn_wrap {
        gap: unset;
        max-width: 100%;
    }

    .cp_btn_row:has(.cp_btn_wrap_2 > .customised_details) {
        gap: 6px;
    }

    .customised_details {
        font-size: 12px;
    }

    .cp_dropdown_content {
        max-height: 72px;
    }

    .card_prod_combo_wrpr {
        padding: 8px 6px;
    }

    .checkout_page_container .cart_prod_card {
        gap: 8px;
        padding-bottom: 10px;
    }

    .cp_img {
        max-width: 80px;
        aspect-ratio: 0.6338;
    }

    .cp_name_row {
        gap: 12px;
        margin-bottom: 8px;
    }

    .cp_name {
        font-size: 14px;
    }

    .cp_btn_wrap {
        gap: 5px;
        max-width: 100%;
    }

    .cp_remove_btn,
    .gc_delete_btn,
    .cp_wishlist_btn {
        width: 20px;
    }

    .cp_price_row {
        gap: 4px;
        margin-bottom: 12px;
    }

    .cp_color_row {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .cart_product_error_msg {
        font-size: 12px;
        padding-bottom: 12px;
    }

    .cp_current_price {
        font-size: 14px;
    }

    .cp_discount_percentage {
        font-size: 12px;
    }

    .cp_quantity_btn_card,
    .cp_size_btn_card {
        max-width: 80px;
    }

    .cp_drop_arrow,
    .cp_quantity_decrease_btn,
    .cp_quantity_increase_btn {
        width: 24px;
        height: 24px;
    }

    .cp_actual_price,
    .cp_btn_heading,
    .cp_selected_quantity,
    .cp_selected_size {
        font-size: 12px;
    }

    .cart_prod_card_wrpr.accessories .cp_selected_size,
    .cart_prod_card_wrpr.accessories .cp_dropdown_list {
        font-size: 10px;
    }

    .cp_dropdown_list {
        font-size: 12px;
        height: 24px;
    }

    .cp_quantity_wrap,
    .cp_size_btn {
        height: 24px;
    }

    .checkout_page_container .move_to_wishlist_btn {
        display: none;
    }

    .combo_offer_applied_svg {
        width: 18px;
        height: 18px;
    }

    .checkout_tree_icon {
        width: 22px;
        height: 22px;
    }

    .combo_offer_texts .offer_applicable,
    .offer_applicable.hurry_up_text {
        font-size: 13px;
    }

    .combo_offer_texts:has(.avail_this_offer) .offer_applicable {
        margin-bottom: 8px;
    }

    .combo_offer_texts .avail_this_offer,
    .combo_offer_deals_timer .avail_this_offer {
        font-size: 13px;
        line-height: 1.4;
    }

    .combo_offer_add_products,
    .combo_offer_applied_text {
        font-size: 12px;
    }

    .combo_offer_applied_container {
        padding: 8px;
    }

    .avail_this_offer {
        display: block;
    }

    .deal_text {
        display: flex;
        font-size: 10px;
        justify-content: center;
    }

    .deal_text_timer {
        display: flex;
    }

    .combo_offer_container {
        align-items: center;
        padding: 10px 12px;
        gap: 4px;
    }

    .combo_offer_texts {
        padding: 0 5px;
    }

    .combo_offer_svg {
        width: 26px;
        padding-right: 6px;
    }

    .cp_dropped_price {
        font-size: 12px;
    }
}

@media screen and (max-width: 411px) {
    .avail_this_offer {
        max-width: 190px;
    }
}

@media screen and (max-width: 375px) {

    .combo_offer_texts .offer_applicable,
    .offer_applicable.hurry_up_text {
        font-size: 11px;
    }

    .combo_offer_texts .avail_this_offer,
    .combo_offer_deals_timer .avail_this_offer {
        font-size: 12px;
    }

    .product_list_cards_actual_price_txt {
        font-size: 12px;
    }

    .cp_discount_percentage {
        font-size: 10px;
    }

    /* For Diwali Timer */
    .time_counter_section {
        display: block;
    }

    .new_sale_timerBlack {
        margin-bottom: 7px !important;
    }

    /* For Diwali Timer */
}


@media screen and (max-width: 359px) {

    .cp_actual_price,
    .cp_btn_heading,
    .cp_selected_quantity,
    .cp_selected_size {
        font-size: 10px;
    }

    .estimate__delivery__text {
        font-size: 13px;
    }

    .cp_name {
        font-size: 12px;
    }

    .cp_price_row,
    .cp_color_row {
        margin-bottom: 8px;
    }

    .cp_name_row {
        gap: 8px;
    }
}

/* For Diwali Timer */
@media screen and (max-width: 320px) {
    .new_sale_timerBlack {
        margin-top: 0px !important;
    }

    .new_sale_timerBlack::before {
        left: 6px;
        width: 50px;
        height: 50px;
    }

    .new_sale_timerBlack::after {
        right: 6px;
        width: 50px;
        height: 50px;
    }

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

    .product_list_cards_actual_price_txt {
        font-size: 11px;
    }

    .cp_discount_percentage {
        font-size: 9px;
    }
}