.container-main {
    position: relative;

    .product-box {
        border: 1px solid $bcb-productcart-bordercolor;
        .card-body {
            padding: 0;
            position: relative;
            .product-image-wrapper {
                background: $bcb-productcart-imagebgcolor;
                border-radius: $bcb-listing-product-box-border-radius + px;
                overflow: hidden;
                height: auto;
                padding: 0;
                .product-image-link {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    --aspect-ratio: 1 / 1;
                    position: relative;
                    &::before {
                        content: "";
                        height: 0;
                        display: block;
                        padding-top: calc(100% / (0 + var(--aspect-ratio, 16 / 9)));
                        pointer-events: none;
                    }
                    .product-image {
                        mix-blend-mode: darken;
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                        max-width: 100%;
                        max-height: 100%;
                        @if $theme-productcart-image-blend-mode == "2" {
                            mix-blend-mode: multiply;
                        }
                        @if $theme-productcart-image-size == "cover" {
                            object-fit: cover;
                        }
                    }
                }
                .product-wishlist {
                    top: 8px;
                    position: absolute;
                    right: 8px;
                    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.03);
                    background: #fff;
                    color: #111;
                    border-color: #fff;
                    border-radius: 50px;
                    transition: all 0.4s;
                    -webkit-transition: all 0.4s;
                    transform: translate(3rem);
                    opacity: 0;
                    visibility: hidden;
                    .product-wishlist-btn {
                        position: relative;
                        top: auto;
                        left: auto;
                        bottom: auto;
                        right: auto;
                        border-radius: 50px;
                        height: 35px;
                        width: 35px;
                        padding: 0;
                        display: flex;
                        justify-content: center;
                        .icon {
                            width: 18px;
                            height: 18px;
                            padding: 0;
                            margin: 0;
                        }
                    }
                    .btn {
                        .icon {
                            & > svg {
                                top: 0px !important;
                            }
                        }
                    }
                }
                .quick--view {
                    top: 60px;
                    position: absolute;
                    right: 8px;
                    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.03);
                    background: #fff;
                    color: #111;
                    border-color: #fff;
                    border-radius: 50px;
                    transition: all 0.4s;
                    -webkit-transition: all 0.4s;
                    transform: translate(3rem);
                    opacity: 0;
                    visibility: hidden;
                    .quickview-toggle {
                        a {
                            position: relative;
                            top: auto;
                            left: auto;
                            bottom: auto;
                            right: auto;
                            border-radius: unset;
                            height: 35px;
                            width: 35px;
                            padding: 0;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            background: transparent;
                            border: none;
                            .user_icon {
                                width: 18px;
                                height: 18px;
                                path {
                                    fill: #111;
                                }
                            }
                        }
                    }
                }
                .product-action {
                    top: auto;
                    right: auto;
                    bottom: auto;
                    left: auto;
                    width: 100%;
                    position: absolute;
                    color: #111;
                    transition: all 0.4s;
                    -webkit-transition: all 0.4s;
                    transform: translateY(0rem);
                    opacity: 0;
                    visibility: hidden;
                    margin: 0;
                    .btn.btn-buy {
                        border-radius: 50px;
                        margin: 10px;
                        box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.03);
                    }
                    .btn.btn-light {
                        border-radius: 50px;
                        margin: 10px;
                        background-color: #fff;
                        box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.03);
                        &:hover {
                            background-color: #f5f5f5;
                        }
                    }
                    .btn-icon {
                        display: none;
                    }
                    .btn-label {
                        font-weight: 400;
                    }
                    .btn {
                        font-weight: 400;
                    }
                }
            }

            .product-info {
                .product-variant-characteristics {
                    min-height: auto;
                    .variants {
                        margin-bottom: 10px;
                        display: flex;
                        padding: 0;
                        width: 100%;
                        list-style: none;

                        li {
                            margin-right: 8px;

                            span {
                                width: 20px;
                                height: 20px;
                                display: block;
                                border-radius: 10px;
                                border: 1px solid #d4d4d4;
                            }

                            .grey {
                                background: $bcb-warningGray;
                            }

                            .blue {
                                background: $bcb-warningblue;
                            }

                            .pink {
                                background: $bcb-warningpink;
                            }

                            .green {
                                background: $bcb-warninggreen;
                            }

                            .brown {
                                background: $bcb-warningbrown;
                            }
                        }
                    }
                    .product-variant-characteristics-text {
                        height: auto;
                    }
                }
                .product-price-wrapper {
                    .product-cheapest-price {
                        margin: 0;
                        min-height: auto;
                        line-height: normal;
                    }
                }

                .product-name {
                    font-size: 20px;
                    line-height: 22px;
                    font-weight: 400;
                    color: $bcb-product-product-box-title-color;
                    margin-bottom: 10px;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                }
                .product-price-info {
                    margin-top: 8px;
                    z-index: 1;
                    .product-price-wrapper {
                        span.product-price {
                            font-size: 18px;
                            font-weight: 600;
                            line-height: 20px;
                            color: $bcb-product-product-box-ProductPrice-color;
                        }

                        span.with-list-price {
                            color: $bcb-product-product-box-DiscountProductPrice-color;

                            .list-price {
                                color: $bcb-product-product-box-ProductCutPrice-color;
                            }
                        }
                    }
                }
                .product-rating {
                    display: flex;
                    height: 15px;
                    margin-bottom: 10px;
                }
            }

            .product-badges {
                left: 10px;

                .badge {
                    color: $bcb-product-product-box-Newbadge-color;
                    font-size: 14px;
                    font-weight: 500;
                    border-radius: 5px;
                    height: auto;
                    line-height: 28px;
                    min-width: 30px;
                }
            }

            &:hover {
                .quick--view {
                    transform: translate(0);
                    opacity: 1;
                    visibility: visible;
                    z-index: 3;
                }
                .product-wishlist {
                    transform: translate(0);
                    opacity: 1;
                    visibility: visible;
                    z-index: 3;
                }
                .product-action {
                    transform: translateY(-4rem);
                    opacity: 1;
                    visibility: visible;
                }
            }
        }
    }

    .product-box {
        background: $bcb-productcart-bgcolor;
        border-radius: $bcb-listing-product-box-border-radius + px;
    }
}
.product-box .stretched-link::after {
    height: calc(100% + var(--bs-card-spacer-y));
}
.box-minimal {
    .product-price-info {
        .product-price-wrapper {
            .product-cheapest-price {
                margin: 0;
                min-height: auto;
                line-height: normal;
            }
        }
    }
}

.product-wishlist.product-wishlist-remove {
    top: 5px;
    position: absolute;
    right: 8px;
    box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.03);
    background: #fff;
    color: #111;
    border-color: #fff;
    border-radius: 50px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    transform: translate(3rem);
    opacity: 0;
    visibility: hidden;
    .product-wishlist-form {
        .product-wishlist-btn-remove {
            z-index: 10;
            position: relative;
            top: auto;
            left: auto;
            bottom: auto;
            right: auto;
            border-radius: unset;
            height: 35px;
            width: 35px;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            background: transparent;
            border: none;
            .icon {
                width: 16px;
                height: 16px;
                padding: 0;
            }
        }
    }
}
@media (max-width: 767.98px) {
    .container-main {
        .product-box {
            .card-body {
                .product-image-wrapper {
                    .product-wishlist {
                        transform: translate(0);
                        opacity: 1;
                        visibility: visible;
                        z-index: 3;
                    }
                    .quick--view {
                        transform: translate(0);
                        opacity: 1;
                        visibility: visible;
                        z-index: 3;
                    }
                    .product-btn-action-reponsive {
                        display: block;
                        transform: translateY(-4rem);
                        opacity: 1;
                        visibility: visible;
                        .product-action {
                            margin: 0;
                            .btn-icon {
                                display: flex;
                            }
                        }
                    }
                    .product-action {
                        display: none;
                    }
                }
            }
        }
    }
    .product-wishlist.product-wishlist-remove {
        transform: translate(0);
        opacity: 1;
        visibility: visible;
        z-index: 3;
    }
}
