.common_card_section {
    margin-top: 40px;
    margin-bottom: 60px;
}

.checkout_suggestion_container .common_card_section {
    display: none;
}

.checkout_suggestion_container .common_card_section.active {
    position: relative;
    display: block;
}

.common_section_header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.common_card_heading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333333;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
}

.common_section_view_all_btn {
    all: unset;
    color: #333333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    text-decoration-line: underline;
    text-transform: capitalize;
    cursor: pointer;
}

.common_card_section .prod_card {
    flex: 0 0 22%;
}

.checkout_suggestion_container .prod_card {
    flex-basis: auto;
}

.prod_card_wrap {
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: start;
    flex-wrap: wrap;
    gap: 48px 4%;
}

.prod_card {
    border: 1px solid #eaeaea;
}

.prod_card_img {
    display: block;
    width: 100%;
    aspect-ratio: 0.75;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.checkout_suggestion_container .prod_card_img {
    aspect-ratio: 0.64;
}

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

.products_tag {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    color: #ffffff;
    background-color: #000000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    z-index: 9;
    padding: 4px 30px 4px 10px;
    clip-path: polygon(0 0, 100% 0, 75% 100%, 0% 100%);
}

.products_quick_view_box {
    position: absolute;
    bottom: 0;
    z-index: 10;
    width: 100%;
    background: #ffffff80;
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: 10px;
    cursor: pointer;
}

.products_quick_view_box img {
    width: 30px;
    aspect-ratio: 1;
    pointer-events: none;
}

.prod_stock_status {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    aspect-ratio: 3.2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    background: #00000066;
}

.prod_stock_status_heading {
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.prod_stock_status_details {
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.prod_color_option_wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.prod_color_option_wrap a {
    display: flex;
    text-decoration: none;
    line-height: 0;
}

.prod_color_option {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #fff;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    background: var(--prod-color);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: relative;
    text-transform: capitalize;
}

.prod_color_option:hover {
    transform: scale(1.1);
}

.prod_color_option::after {
    content: var(--prod-color-name);
    position: absolute;
    top: 50%;
    right: 120%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}

.prod_color_option:hover::after {
    opacity: 1;
}

.prod_details {
    position: relative;
    padding: 12px 5px 8px;
}

body.home .prod_title {
    font-size: 24px;
}

body.home .prod_details {
    padding: 10px 12px;
    background-color: #FFFAFB;
}

body.home .prod_discount_price {
    font-size: 22px;
}

body.home .prod_mrp_price {
    font-size: 18px;
}

.prod_title {
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    cursor: pointer;
}

.prod_price_wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.home .prod_price_wrap .price_token {
    width: 20px;
    aspect-ratio: 1;
}

.prod_discount_price {
    color: #000000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}

.spl_offer .prod_discount_price {
    color: #388E3C;
}

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

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

.prod_card.checkout_suggestion_view_all_btn .prod_card_img::before,
.prod_card.checkout_suggestion_view_all_btn .prod_details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    background: #ffffffb3;
    backdrop-filter: blur(8px);
}

.prod_card.checkout_suggestion_view_all_btn .prod_hover_img {
    display: none;
}

.prod_card.checkout_suggestion_view_all_btn .prod_card_img::after {
    content: "View all";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-weight: 500;
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
}

@media screen and (max-width: 1440px) {
    .products_quick_view_box {
        padding: 10px 0px;
    }

    .products_quick_view_box img {
        width: 24px;
    }

    body.home .prod_title {
        font-size: 20px;
    }

    body.home .prod_discount_price {
        font-size: 18px;
    }

    body.home .prod_mrp_price {
        font-size: 16px;
    }

    .prod_card_wrap {
        gap: 32px 2%;
    }

    .common_card_section .prod_card {
        flex: 0 0 23.5%;
    }

    .prod_discount_price {
        font-size: 16px;
    }

    .prod_mrp_price {
        font-size: 14px;
    }

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

@media screen and (max-width: 1024px) {
    .common_card_section {
        margin: 20px 0px;
    }

    .products_quick_view_box {
        padding: 4px 0px;
    }

    body.home .prod_title {
        font-size: 16px;
    }

    body.home .prod_details {
        padding: 4px 6px;
    }

    body.home .prod_discount_price {
        font-size: 14px;
    }

    body.home .prod_mrp_price {
        font-size: 12px;
    }

    .prod_title {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .prod_stock_status_heading {
        font-size: 14px;
    }

    .products_tag,
    .prod_stock_status_details {
        font-size: 12px;
    }

    .prod_color_option_wrap {
        right: 10px;
        bottom: 10px;
        transform: none;
        gap: 4px;
        z-index: 9;
    }

    .prod_color_option {
        width: 16px;
        height: 16px;
    }

    .prod_color_option::after {
        font-size: 9px;
    }

    .prod_details {
        padding: 10px 5px 6px;
    }

    .prod_card.checkout_suggestion_view_all_btn .prod_card_img::after {
        font-size: 18px;
    }
}

@media screen and (max-width: 834px) {
    .common_card_heading {
        font-size: 16px
    }

    body.home .prod_price_wrap .price_token {
        width: 16px;
    }

    .prod_price_wrap {
        gap: 4px;
    }

    .prod_discount_price {
        font-size: 14px;
    }

    .prod_mrp_price {
        font-size: 12px;
    }

    .prod_discount_percent {
        font-size: 10px;
    }
}

@media screen and (max-width: 767px) {
    .common_section_header {
        margin-bottom: 16px
    }

    .common_section_view_all_btn {
        font-size: 12px
    }

    .common_card_section .prod_card {
        flex: 0 0 48%;
    }

    .products_quick_view_box img {
        width: 20px;
    }

    .prod_card_wrap {
        gap: 20px 4%;
    }

    .prod_details {
        padding: 6px 5px;
    }

    .products_tag {
        font-size: 10px;
        padding: 4px 16px 4px 6px;
    }

    .prod_color_option {
        width: 14px;
        height: 14px;
    }

    .prod_color_option::after {
        font-size: 8px;
        padding: 5px;
    }

    .prod_title {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .prod_card.checkout_suggestion_view_all_btn .prod_card_img::after {
        font-size: 16px;
    }

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

@media screen and (max-width: 359px) {
    .prod_card_wrap {
        gap: 16px 4%;
    }

    .products_tag {
        font-size: 8px;
    }

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