.recently-viewed-title {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.single-product .recently-viewed-title + .woocommerce .product-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.single-product .recently-viewed-title + .woocommerce .wd-product:hover .product-wrapper {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.amazina-recently-viewed.single .variation-preview {
    bottom: -10px;
    left: 0;
}

.amazina-recently-viewed.single .products {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 24px;
}

.amazina-recently-viewed.single .products > .product {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.amazina-recently-viewed {
    opacity: 0;
    transition: opacity .25s ease;
}

.amazina-recently-viewed.has-loaded {
    opacity: 1;
}

@media (max-width: 768px) {
    .amazina-recently-viewed.single .products {
        grid-template-columns: repeat(2, 1fr);
    }
}