.boss-product-widget.layout2 .product {
    background: #f9f9f9;
    padding: 20px;
}

/* horizontal */
.boss-product-widget.horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 82px 30px;
    justify-content: space-between;
}

.boss-product-widget.horizontal .boss-product-card {
    width: calc(50% - 15px);
    display: flex;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid hsla(0, 0%, 14%, 0.1);
    transition: all 0.3s;
    background-color: white;
}

.boss-product-widget.horizontal .boss-product-card:hover {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.24);
}

.boss-product-widget.horizontal .boss-product-image {
    width: 50%;
    aspect-ratio: 260 / 301;
}

.boss-product-widget.horizontal .boss-product-info {
    padding: 16px 0 8px 16px;
    width: 50%;
}

.boss-product-image {
    position: relative;
    border-radius: 17px;
    overflow: hidden;
    aspect-ratio: 1;
}

.boss-product-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;

}

.boss-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #FF90E7;
    border-radius: 170px;
    padding: 10px 20px;
    font-size: 18px;
    line-height: 24px;
    color: #242424;
    z-index: 1;
}

.product-action {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    z-index: 2;
    gap: 8px;
}

.product-action .icon {
    width: 48px;
    height: 48px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
    cursor: pointer;
}

.product-action .icon .wishlist-active path,
.product-action .icon:hover path {
    stroke: #FF90E7;
}

.product-action .icon a {
    display: flex;
    height: 24px;
    width: 24px;
    align-items: center;
    justify-content: center;
}

.product-action .icon svg {
    width: 24px;
    height: 24px;
}

.product-action .icon .wishlist-active svg {
    fill: #FF90E7;
}

.boss-product-meta {
    display: flex;
    margin-bottom: 12px;
}

.boss-product-meta .boss-product-tags a {
    pointer-events: none;
    font-size: 18px;
    line-height: 150%;
    color: hwb(0 28% 72% / 0.8);
    font-weight: 400;
    font-family: "Lora", sans-serif !important;
}

.boss-product-meta .boss-product-rating {
    margin-left: auto;
    font-size: 16px;
    line-height: 20px;
    color: #242424;
}

.boss-product-title a {
    font-size: 24px;
    line-height: 28px;
    color: #242424;
    font-weight: 500;
    font-family: "Lora", sans-serif !important;
    margin-bottom: 12px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    /* number of lines to show */
    line-clamp: 1;
    -webkit-box-orient: vertical;
    transition: all 0.3s;
}

.boss-product-title a:hover {
    color: #FF90E7;
}

.boss-price {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 14px;
}

.boss-price .price {
    margin-bottom: 0;
}

.boss-price .price bdi {
    font-size: 26px;
    line-height: 28px;
    color: #242424 !important;
    font-weight: 500;
    font-family: "Lora", sans-serif;
}

.boss-price .price.price-del bdi {
    color: rgba(72, 72, 72, 0.6) !important;
    font-weight: 400;
    text-decoration: line-through;
}

.boss-product-desc {
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #484848;
    margin-bottom: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.boss-shop-now {
    color: #5E00A5;
    font-size: 18px;
    line-height: 28px;
    font-family: "Lora", sans-serif !important;
    font-weight: 500;
    display: flex;
    gap: 8px;
    transition: all 0.3s;
}

.boss-shop-now:hover {
    transform: translateY(-5px);
}

/* vertical */

.boss-product-widget.vertical {
    display: flex;
    flex-wrap: wrap;
    gap: 36px 30px;
}

.boss-product-widget.vertical .boss-product-card {
    width: calc(100% / 3 - 20px);
}

.boss-product-widget.vertical .boss-product-card:hover .boss-product-image {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.4s;
}

.boss-product-widget.vertical .boss-product-meta {
    margin-bottom: 4px;
}

.boss-product-widget.vertical .boss-product-info {
    margin-top: 16px;
}

.boss-product-widget.vertical .boss-product-title a {
    font-size: 20px;
    line-height: 150%;
}

.boss-product-widget.vertical .boss-price {
    flex-direction: row;
    gap: 12px;
    margin-bottom: 0;
}

.boss-product-widget.vertical .boss-price .price bdi {
    font-size: 22px;
}

.progress-wrapper {
    display: block;
    margin-top: 24px;
    width: 100%;
    height: 6px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f5f5f5;
    background-image: linear-gradient(to right, #5E00A5, #5E00A5);
    background-repeat: no-repeat;
    background-size: 0 100%;
    transition: background-size 0.4s ease-in-out;
}

@media(max-width: 1024px) {
    .boss-product-widget.horizontal {
        gap: 25px 20px;
    }

    .boss-product-widget.horizontal .boss-product-card {
        width: calc(50% - 10px);
    }

}

@media(max-width: 991px) {

    /* horizontal */
    .boss-product-widget.horizontal .boss-product-card {
        flex-direction: column;
    }

    .boss-product-widget.horizontal .boss-product-image {
        width: 100%;
    }

    .boss-product-widget.horizontal .boss-product-info {
        width: 100%;
        padding: 16px 0 0;
    }

    .boss-product-widget.horizontal .boss-price {
        margin-bottom: 16px;
        flex-direction: row;
    }

    .boss-product-widget.vertical .boss-product-card {
        width: calc(100% / 2 - 30px);
    }
}

@media(max-width: 768px) {


    /* vertical */
    .boss-product-widget.vertical .boss-product-card {
        width: 100%;
    }

    .boss-product-widget.vertical .product-action {
        top: 8px;
        right: 8px;
    }

    .boss-product-widget.vertical .product-action .icon {
        width: 34px;
        height: 34px;
    }

    .boss-product-widget.vertical .product-action .icon svg {
        width: 17px;
        height: 17px;
    }

    .boss-product-widget.vertical .boss-badge {
        font-size: 12px;
        line-height: 15px;
        padding: 6px 12px;
        top: 8px;
        left: 8px;
    }

    .boss-product-widget.vertical .boss-product-title a {
        font-size: 14px !important;
        line-height: 150%;
    }

    .boss-product-widget.vertical .boss-price .price bdi {
        font-size: 14px !important;
        line-height: 150%;
    }

    .boss-product-widget.vertical .boss-product-meta .boss-product-tags a {
        font-size: 12px;
        line-height: 150%;
        color: hsla(0, 0%, 28%, 0.8);
    }
}