/* Title styles at container level */
.newRecommendations > .recom-calloutMsg,
.newRecommendations > h2.recom-calloutMsg {
    margin-bottom: 2rem;
    font-family: 'Oswald', sans-serif;
    color: #002E5E;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 3.2rem;
    text-transform: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newRecommendations > .recom-calloutMsg .swiper-buttons,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons {
    display: none;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-next,
.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-prev,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-next,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-prev {
    position: unset;
    border: 1px solid #002E5E;
    border-radius: .8rem;
    background: #fff;
    width: 4rem;
    height: 4rem;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #002E5E;
    transition: all 0.2s;
    cursor: pointer;
}

.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-next::before,
.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-prev::before,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-next::before,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-prev::before {
    display: none;
}

.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-next.swiper-button-disabled,
.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-prev.swiper-button-disabled,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-next.swiper-button-disabled,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-prev.swiper-button-disabled {
    display: flex;
}

.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-next:hover,
.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-prev:hover,
.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-next:focus,
.newRecommendations > .recom-calloutMsg .swiper-buttons .swiper-button-prev:focus,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-next:hover,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-prev:hover,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-next:focus,
.newRecommendations > h2.recom-calloutMsg .swiper-buttons .swiper-button-prev:focus {
    background: rgba(255, 255, 255, 1);
    transition: all 0.5s;
}

/* Block styles */
.newRecommendations__bloc {
    margin: 0;
    padding: 0;
}

.newRecommendations__bloc ul {
    display: flex;
}

.newRecommendations__bloc .recom-calloutMsg,
.newRecommendations__bloc .recom-calloutMsg p {
    margin-bottom: 2rem;
    font-family: 'Oswald', sans-serif;
    color: #002E5E;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 3.2rem;
    text-transform: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
}

.newRecommendations__bloc .swiper-container {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 2rem -2rem;
    padding: 0 2rem;
}

.newRecommendations__bloc .swiper-wrapper {
    align-items: flex-start;
    list-style-type: none;
    margin: 0;
    padding: 0 0 2rem;
}

/* Product tile styles in swiper */
.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist {
    top: 1.2rem;
    right: 1.2rem;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist a {
    color: #002E5E;
    font-size: 2.2rem;
    height: 2.4rem;
    width: 2.4rem;
    border-radius: .8rem;
    margin: 0;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist a .filled-heart-icon {
    display: none;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist a.in-wishlist .filled-heart-icon {
    display: block;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist a.in-wishlist .empty-heart-icon {
    display: none;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist a svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.newRecommendations__bloc .swiper-wrapper .product-tile .wishlist a::before {
    display: none;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .product-image img {
    border-radius: .8rem;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .product-image .quickview-newproducttile a {
    border-radius: .8rem;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .product-image .quickview-newproducttile a svg {
    display: block;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .product-image .quickview-newproducttile a::before {
    display: none;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .product-tile-top,
.newRecommendations__bloc .swiper-wrapper .product-tile .product-tile-bottom {
    margin-bottom: .8rem;
}

.newRecommendations__bloc .swiper-wrapper .product-tile .inline_rating_container {
    order: 3;
}

/* Grid tile styles */
.newRecommendations__bloc .grid-tile {
    width: 15.5rem;
    display: flex;
}

.newRecommendations__bloc .grid-tile .product-name {
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newRecommendations__bloc .grid-tile .product-name .name-link {
    font-size: 1.8rem;
    text-transform: unset;
    font-weight: 600;
}

.newRecommendations__bloc .grid-tile .product-tile-bottom {
    display: flex;
    align-items: center;
    margin-bottom: 1.2rem;
}

.newRecommendations__bloc .grid-tile .product-tile-bottom p {
    margin-bottom: 0;
}

.newRecommendations__bloc .grid-tile .product-tile-bottom .product-pricing {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.newRecommendations__bloc .grid-tile .product-tile-bottom .product-pricing .display-pricing-cart-reco-standard {
    display: flex;
    gap: .8rem;
    align-items: center;
}

.newRecommendations__bloc .grid-tile .product-tile-bottom .product-pricing .display-pricing-cart-reco-standard .product-standard-price,
.newRecommendations__bloc .grid-tile .product-tile-bottom .product-pricing .display-pricing-cart .product-standard-price {
    color: #002E5E;
    font-size: 1.4rem;
    font-weight: 400;
    text-decoration-line: line-through;
    background-image: unset;
    margin-left: 0;
}

.newRecommendations__bloc .grid-tile .product-tile-bottom .product-pricing .display-pricing-cart-reco-standard .product-sales-price,
.newRecommendations__bloc .grid-tile .product-tile-bottom .product-pricing .display-pricing-cart .product-sales-price {
    font-size: 1.6rem;
    font-weight: 600;
    color: #002E5E;
}

.newRecommendations__bloc .grid-tile .number-colors a {
    color: #002E5E;
}

.newRecommendations__bloc .grid-tile .number-colors {
    margin-top: 12px;
}

.newRecommendations__bloc .grid-tile .quickview-newproducttile {
    align-self: flex-start;
}

/* Swiper scrollbar */
.newRecommendations__bloc .swiper-scrollbar {
    top: calc(100% - 0.4rem);
    left: 4rem;
    height: 0.2rem;
    width: calc(100% - 8rem);
    background: #f3f3f3;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.2s;
}

.newRecommendations__bloc .swiper-scrollbar:hover,
.newRecommendations__bloc .swiper-scrollbar:focus,
.newRecommendations__bloc .swiper-scrollbar:active {
    height: 0.4rem;
    transform: translateY(-0.1rem);
    transition: all 0.2s;
}

.newRecommendations__bloc .swiper-scrollbar .swiper-scrollbar-drag {
    background-color: #002E5E;
    border-radius: 2px;
}

.newRecommendations__bloc .swiper-scrollbar .swiper-scrollbar-drag:hover,
.newRecommendations__bloc .swiper-scrollbar .swiper-scrollbar-drag:focus,
.newRecommendations__bloc .swiper-scrollbar .swiper-scrollbar-drag:active {
    height: 0.4rem;
    transform: translateY(-0.1rem);
    transition: all 0.2s;
}

/* Swiper buttons */
.newRecommendations__bloc .swiper-buttons {
    display: none;
    z-index: 1;
    justify-content: center;
    align-items: center;
}

/* Hide swiper-buttons when both prev and next are disabled */
.newRecommendations__bloc .swiper-buttons:has(.swiper-button-prev.swiper-button-disabled):has(.swiper-button-next.swiper-button-disabled),
.newRecommendations__bloc .swiper-buttons:has(.abtasty-nav-prev.disabled):has(.abtasty-nav-next.disabled) {
    display: none !important;
}

.newRecommendations__bloc .swiper-buttons .swiper-button-next,
.newRecommendations__bloc .swiper-buttons .swiper-button-prev {
    position: unset;
    border: 1px solid #002E5E;
    border-radius: .8rem;
    background: #fff;
    width: 4rem;
    height: 4rem;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #002E5E;
    transition: all 0.2s;
    cursor: pointer;
}

.newRecommendations__bloc .swiper-buttons .swiper-button-next::before,
.newRecommendations__bloc .swiper-buttons .swiper-button-prev::before {
    display: none;
}

.newRecommendations__bloc .swiper-buttons .swiper-button-next.swiper-button-disabled,
.newRecommendations__bloc .swiper-buttons .swiper-button-prev.swiper-button-disabled {
    display: flex;
}

.newRecommendations__bloc .swiper-buttons .swiper-button-next:hover,
.newRecommendations__bloc .swiper-buttons .swiper-button-prev:hover,
.newRecommendations__bloc .swiper-buttons .swiper-button-next:focus,
.newRecommendations__bloc .swiper-buttons .swiper-button-prev:focus {
    background: rgba(255, 255, 255, 1);
    transition: all 0.5s;
}

.newRecommendations__bloc .swiper-buttons .swiper-button-prev {
    left: 6rem;
}

.newRecommendations__bloc .swiper-buttons .swiper-button-next {
    right: 6rem;
}

/* Mobile styles (max-width: 1024px) */
@media screen and (max-width: 1023px) {
    .newRecommendations__bloc .grid-tile .number-colors {
        margin-top: 8px;
    }

    .newRecommendations__bloc .swiper-wrapper .product-tile .wishlist {
        top: .8rem;
        right: .8rem;
    }

    .newRecommendations__bloc .swiper-wrapper .product-tile .product-image .quickview-newproducttile {
        bottom: .8rem;
        right: .8rem;
    }
}

/* Desktop styles (min-width: 1024px) */
@media screen and (min-width: 1024px) {
    .newRecommendations > .recom-calloutMsg,
    .newRecommendations > h2.recom-calloutMsg {
        font-size: 3.4rem;
        line-height: 4rem;
    }

    .newRecommendations > .recom-calloutMsg .swiper-buttons,
    .newRecommendations > h2.recom-calloutMsg .swiper-buttons {
        display: flex;
        gap: 1.2rem;
    }

    .newRecommendations__bloc .recom-calloutMsg,
    .newRecommendations__bloc .recom-calloutMsg p {
        font-size: 3.4rem;
        line-height: 4rem;
    }

    .newRecommendations__bloc .swiper-container {
        padding: 0;
    }

    .newRecommendations__bloc .grid-tile {
        width: 18.6rem;
    }

    .newRecommendations__bloc .swiper-scrollbar {
        display: none;
    }

    .newRecommendations__bloc .swiper-buttons {
        display: flex;
        gap: 1.2rem;
    }
}

@media screen and (min-width: 1440px) {
    .newRecommendations__bloc .grid-tile {
        width: 22.2rem;
    }
}
