.nrz-recently-viewed-products {
    margin-top: 56px;
}

.nrz-recently-viewed-products .rvpw-products {
    --rvpw-gap: 30px;
    --rvpw-focus: #f89011;
    margin: 0;
}

.nrz-recently-viewed-products .nrz-native-product-cards .rvpw-heading {
    position: relative;
    margin: 0 0 30px;
    padding: 0 0 0 26px;
    color: #101010;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.rvpw-layout-carousel .rvpw-carousel__arrow,
.rvpw-layout-carousel .rvpw-carousel__arrow:hover {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.rvpw-layout-carousel .rvpw-carousel__arrow:focus-visible {
    outline-offset: 0 !important;
}

.rvpw-layout-carousel .rvpw-carousel__arrow {
    width: auto !important;
    height: auto !important;
}

.nrz-recently-viewed-products .nrz-native-product-cards .rvpw-heading {
    text-transform: uppercase;
}

.nrz-recently-viewed-products .nrz-native-product-cards .rvpw-heading::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 23px;
    line-height: 0;
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='23' viewBox='0 0 16 23' fill='none'%3E%3Cpath d='M0 2C0 0.895431 0.895431 0 2 0H13.4469C15.0059 0 15.9655 1.70473 15.1567 3.03758L10.1452 11.2959L3.67994 21.3037C2.59804 22.9784 0 22.2122 0 20.2184V2Z' fill='%23F89011'/%3E%3C/svg%3E");
}

.nrz-recently-viewed-products .nrz-native-product-cards .rvpw-heading::after {
    content: none;
}

.nrz-native-product-cards .rvpw-carousel {
    position: relative;
    display: block;
}

.nrz-native-product-cards .rvpw-carousel__viewport {
    width: 100%;
    padding: 0 1px 10px;
}

.nrz-native-product-cards.rvpw-products ul.rvpw-grid.products li.product {
    display: flex;
    flex: 0 0 calc((100% - (var(--rvpw-mobile-columns, 2) - 1) * var(--rvpw-gap, 20px)) / var(--rvpw-mobile-columns, 2));
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    height: auto;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

.nrz-native-product-cards ul.products li.product > .woocommerce-LoopProduct-link {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.nrz-native-product-cards ul.products li.product .scale {
    flex: 0 0 auto;
}

.nrz-native-product-cards ul.products li.product .info {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.nrz-native-product-cards ul.products li.product .price-and-cta {
    margin-top: auto;
}

.nrz-native-product-cards .rvpw-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 24px;
    height: 24px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%);
}

.nrz-native-product-cards .rvpw-carousel__arrow:hover,
.nrz-native-product-cards .rvpw-carousel__arrow:focus-visible {
    background: transparent;
    box-shadow: none;
    color: transparent;
}

.nrz-native-product-cards .rvpw-carousel__arrow span {
    display: none;
}

.nrz-native-product-cards .rvpw-carousel__arrow::after {
    display: block;
    width: 24px;
    height: 24px;
    line-height: 0;
}

.nrz-native-product-cards .rvpw-carousel__arrow--prev::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect x='24' y='24' width='24' height='24' rx='2' transform='rotate(-180 24 24)' fill='%231E3948'/%3E%3Cpath d='M11.4 12L16 16.6L14.6 18L8.6 12L14.6 6L16 7.4L11.4 12Z' fill='white'/%3E%3C/svg%3E");
}

.nrz-native-product-cards .rvpw-carousel__arrow--next::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Crect width='24' height='24' rx='2' fill='%231E3948'/%3E%3Cpath d='M12.6 12L8 7.4L9.4 6L15.4 12L9.4 18L8 16.6L12.6 12Z' fill='white'/%3E%3C/svg%3E");
}

.nrz-native-product-cards .rvpw-carousel__arrow--prev {
    left: -40px;
}

.nrz-native-product-cards .rvpw-carousel__arrow--next {
    right: -40px;
}

.nrz-native-product-cards .rvpw-carousel__dots {
    margin-top: 14px;
}

.nrz-native-product-cards .rvpw-carousel__dot {
    background: #cccccc;
}

.nrz-native-product-cards .rvpw-carousel__dot.is-active {
    background: #f89011;
}

@media (max-width: 1199.98px) {
    .nrz-native-product-cards .rvpw-carousel__arrow--prev {
        left: 8px;
    }

    .nrz-native-product-cards .rvpw-carousel__arrow--next {
        right: 8px;
    }
}

@media (min-width: 768px) {
    .nrz-native-product-cards.rvpw-products ul.rvpw-grid.products li.product {
        flex-basis: calc((100% - (var(--rvpw-tablet-columns, 3) - 1) * var(--rvpw-gap, 20px)) / var(--rvpw-tablet-columns, 3));
    }
}

@media (min-width: 1024px) {
    .nrz-native-product-cards.rvpw-products ul.rvpw-grid.products li.product {
        flex-basis: calc((100% - (var(--rvpw-desktop-columns, 4) - 1) * var(--rvpw-gap, 20px)) / var(--rvpw-desktop-columns, 4));
    }
}

@media (max-width: 767.98px) {
    .nrz-recently-viewed-products {
        margin-top: 40px;
    }

    .nrz-recently-viewed-products .rvpw-products {
        --rvpw-gap: 16px;
    }

    .nrz-recently-viewed-products .nrz-native-product-cards .rvpw-heading {
        font-size: 20px;
    }
}
