/* bedots_recent_products UI block */
.bedots-recent-products {
    padding: 64px 0 80px;
    background: #fff;
}

.bedots-recent-products__header {
    margin-bottom: 36px;
}

.bedots-recent-products__heading {
    margin: 0;
    color: #111;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: clamp(1.75rem, 3vw, 2.125rem);
    font-weight: 600;
    line-height: 1.2;
}

.bedots-recent-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 24px;
}

.bedots-recent-products__card {
    display: flex;
    flex-direction: column;
}

.bedots-recent-products__media {
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 14px;
    background: #f3f3f3;
    aspect-ratio: 4 / 5;
}

.bedots-recent-products__image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.bedots-recent-products__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.bedots-recent-products__card:hover .bedots-recent-products__media img {
    transform: scale(1.03);
}

.bedots-recent-products__wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    color: #666;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.bedots-recent-products__body {
    text-align: left;
}

.bedots-recent-products__title {
    margin: 0 0 8px;
    font-family: "Playfair Display", Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
}

.bedots-recent-products__title a {
    color: #111;
    text-decoration: none;
}

.bedots-recent-products__price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.bedots-recent-products__price-current {
    color: #444;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.bedots-recent-products__price-old {
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
}

@media screen and (max-width: 991px) {
    .bedots-recent-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 575px) {
    .bedots-recent-products {
        padding: 48px 0 56px;
    }

    .bedots-recent-products__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
