/* 1.0.3 - CSS namespace isolated from shockwaveproductcarousel. */
/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL - SPORTLAND FIXED STYLE
========================================================= */

.swh-product-recommendations-carousel {
    --swh-accent: #CCFF00;
    --swh-black: #111;
    --swh-muted: #777;
    --swh-light: #f7f7f7;

    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.swh-product-recommendations-carousel *,
.swh-product-recommendations-carousel *::before,
.swh-product-recommendations-carousel *::after {
    box-sizing: border-box;
}

.swh-product-recommendations-carousel__heading {
    margin-bottom: 24px;
}

.swh-product-recommendations-carousel__heading h2 {
    margin: 0;
    color: var(--swh-black);
}

.swh-product-recommendations-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: visible;
    cursor: grab;
}

.swh-product-recommendations-carousel__viewport:active {
    cursor: grabbing;
}

.swh-product-recommendations-carousel__track {
    align-items: stretch;
}

.swh-product-recommendations-carousel__slide {
    height: auto;
}

/* CARD */
.swh-product-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* IMAGE */
.swh-product-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    background: var(--swh-light);
    text-decoration: none;
}

.swh-product-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}

.swh-product-card:hover .swh-product-card__media img {
    transform: scale(1.03);
}

/* CONTENT */
.swh-product-card__content {
    flex: 1 1 auto;
    padding: 18px 72px 18px 0;
}

.swh-product-card__brand {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--swh-muted);
}

.swh-product-card__title {
    margin: 0 0 14px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 600;
    color: var(--swh-black);
}

.swh-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.swh-product-card__title a:hover {
    color: var(--swh-black);
    text-decoration: none;
}

/* PRICES */
.swh-product-card__price-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.swh-product-card__price {
    font-size: 22px;
    line-height: 1.1;
    font-weight: 700;
    color: var(--swh-black);
}

.swh-product-card__old-price {
    font-size: 16px;
    line-height: 1.1;
    color: #888;
    text-decoration: line-through;
}

.swh-product-card__discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 30px;
    background: var(--swh-accent);
    color: var(--swh-black);
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

/* ADD TO CART - BAG BUTTON */
.swh-product-card__atc {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: auto;
    margin: 0;
    z-index: 3;
}

.swh-product-card__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--swh-accent);
    color: var(--swh-black);
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.swh-product-card__button::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-color: currentColor;
    -webkit-mask: url("../img/cart-icon.svg") center / contain no-repeat;
    mask: url("../img/cart-icon.svg") center / contain no-repeat;
}

.swh-product-card__button:hover,
.swh-product-card__button:focus {
    background: var(--swh-black);
    color: var(--swh-accent);
    transform: translateY(-2px);
    outline: none;
}

/* DRAGBAR */
.swh-product-recommendations-carousel__dragbar {
    position: relative;
    width: 100%;
    height: 4px;
    margin-top: 34px;
    border-radius: 999px;
    background: #e5e5e5;
    overflow: hidden;
    cursor: pointer;
}

.swh-product-recommendations-carousel__dragbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 18px;
    border-radius: 999px;
    background: var(--swh-accent);
    transition: left .25s ease, width .25s ease;
}

.swh-product-recommendations-carousel__dragbar.is-dragging .swh-product-recommendations-carousel__dragbar-thumb {
    transition: none;
}

/* EVENTUALE PAGINATION SWIPER */
.swh-product-recommendations-carousel .swiper-pagination {
    margin-top: 22px;
}

.swh-product-recommendations-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 1;
    background: #ccc;
}

.swh-product-recommendations-carousel .swiper-pagination-bullet-active {
    background: var(--swh-accent);
}

/* MOBILE */
@media (max-width: 767px) {
    .swh-product-recommendations-carousel__arrow {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        top: 38% !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 26px !important;
        line-height: 1 !important;
        z-index: 20 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .swh-product-recommendations-carousel__arrow--prev {
        left: 6px !important;
    }

    .swh-product-recommendations-carousel__arrow--next {
        right: 6px !important;
    }

    /* Mobile: nessun padding sulla linea/dragbar o sullo swiper.
       Il padding viene applicato solo al contenuto testuale della card. */
    .swh-product-recommendations-carousel {
        overflow: hidden;
        padding-right: 0 !important;
    }

    .swh-product-recommendations-carousel__viewport,
    .swh-product-recommendations-carousel__viewport {
        overflow: hidden;
    }

    .swh-product-card__content {
        padding: 14px 58px 14px 15px;
    }

    .swh-product-card__brand {
        font-size: 11px;
    }

    .swh-product-card__title {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .swh-product-card__price {
        font-size: 18px;
    }

    .swh-product-card__old-price {
        font-size: 13px;
    }

    .swh-product-card__discount {
        height: 23px;
        padding: 0 8px;
        font-size: 11px;
    }

    .swh-product-card__atc {
        right: 10px;
        bottom: 12px;
    }

    .swh-product-card__button {
        width: 46px;
        height: 46px;
        border-radius: 999px;
    }

    .swh-product-recommendations-carousel__dragbar {
        margin-top: 26px;
        margin-left: 15px !important;
        margin-right: 15px !important;
        width: calc(100% - 30px) !important;
    }
}


/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL - TEXT STYLE FIX 1.3.5
   Tipografia prodotto + badge sconto
========================================================= */
.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand {
    font-family: 'Red Hat Display', sans-serif !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    color: #111 !important;
    margin-bottom: 5px !important;
}

.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a {
    font-family: 'Red Hat Display', sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    margin-top: 0 !important;
    color: #111 !important;
}

.swh-product-recommendations-carousel .swh-product-card__title {
    margin-bottom: 12px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price,
.swh-product-recommendations-carousel .price-regular {
    font-family: 'Red Hat Display', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #111 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price {
    order: 1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .regular-price {
    order: 2 !important;
    font-family: 'Red Hat Display', sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount {
    order: 3 !important;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    white-space: nowrap !important;
    background: #CCFF00 !important;
    color: #000 !important;
    border: 0 !important;
    border-radius: 30px !important;
    padding: 6px 10px !important;
    font-family: 'Red Hat Display', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-row {
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

@media (max-width: 767px) {
    .swh-product-recommendations-carousel .swh-product-card__brand,
    .swh-product-recommendations-carousel .product-brand,
    .swh-product-recommendations-carousel .swh-product-brand {
        font-size: 17px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title,
    .swh-product-recommendations-carousel .swh-product-card__title a,
    .swh-product-recommendations-carousel .product-title,
    .swh-product-recommendations-carousel .product-title a,
    .swh-product-recommendations-carousel .product-miniature__title,
    .swh-product-recommendations-carousel .product-miniature__title a {
        font-size: 15px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price,
    .swh-product-recommendations-carousel .swh-product-card__old-price,
    .swh-product-recommendations-carousel .price,
    .swh-product-recommendations-carousel .current-price,
    .swh-product-recommendations-carousel .product-price,
    .swh-product-recommendations-carousel .price-regular,
    .swh-product-recommendations-carousel .regular-price {
        font-size: 20px !important;
    }
}


/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL - REAL IMAGE FRAME 1.4.0
   Cornice spezzata agganciata al box immagine reale:
   .swh-product-card__media
========================================================= */

.swh-product-recommendations-carousel .swh-product-card__media {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: #fff !important;
}

/* immagini non arrotondate */
.swh-product-recommendations-carousel .swh-product-card__media img {
    border-radius: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Cornice: top 80% da destra + bottom 80% da sinistra */
.swh-product-recommendations-carousel .swh-product-card__media::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    background-image:
        linear-gradient(#CCFF00, #CCFF00),
        linear-gradient(#CCFF00, #CCFF00) !important;
    background-size:
        80% 2px,
        80% 2px !important;
    background-position:
        top right,
        bottom left !important;
    background-repeat:
        no-repeat,
        no-repeat !important;
}

/* Cornice: verticali 80% centrate, quindi 10% sopra e 10% sotto */
.swh-product-recommendations-carousel .swh-product-card__media::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;
    pointer-events: none !important;
    background-image:
        linear-gradient(#CCFF00, #CCFF00),
        linear-gradient(#CCFF00, #CCFF00) !important;
    background-size:
        2px 80%,
        2px 80% !important;
    background-position:
        left center,
        right center !important;
    background-repeat:
        no-repeat,
        no-repeat !important;
}


/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL 1.4.6
   Frecce stile esatto Shockwave Invent Slider
========================================================= */

/* box freccia: identico come logica a .swh-invent-arrow */
.swh-product-recommendations-carousel .swiper-button-prev,
.swh-product-recommendations-carousel .swiper-button-next {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    z-index: 999 !important;
    top: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(255, 255, 255, .62) !important;
    border-radius: 999px !important;
    background: rgba(0, 0, 0, .18) !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;

    cursor: pointer !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
    line-height: 1 !important;

    transition: background .25s ease, border-color .25s ease, transform .25s ease !important;
}

/* posizione laterale */
.swh-product-recommendations-carousel .swiper-button-prev {
    left: 32px !important;
    right: auto !important;
}

.swh-product-recommendations-carousel .swiper-button-next {
    right: 32px !important;
    left: auto !important;
}

/* hover */
.swh-product-recommendations-carousel .swiper-button-prev:hover,
.swh-product-recommendations-carousel .swiper-button-next:hover,
.swh-product-recommendations-carousel .swiper-button-prev:active,
.swh-product-recommendations-carousel .swiper-button-next:active {
    background: #CCFF00 !important;
    border-color: rgba(255, 255, 255, .62) !important;
}

/* elimina frecce default swiper e pseudo precedenti */
.swh-product-recommendations-carousel .swiper-button-prev::before,
.swh-product-recommendations-carousel .swiper-button-prev::after,
.swh-product-recommendations-carousel .swiper-button-next::before,
.swh-product-recommendations-carousel .swiper-button-next::after {
    display: none !important;
    content: none !important;
}

/* nasconde eventuali svg/i precedenti */
.swh-product-recommendations-carousel .swiper-button-prev svg,
.swh-product-recommendations-carousel .swiper-button-next svg,
.swh-product-recommendations-carousel .swiper-button-prev i,
.swh-product-recommendations-carousel .swiper-button-next i {
    display: none !important;
}

/* se non c'è uno span nel bottone, uso il contenuto testuale interno */
.swh-product-recommendations-carousel .swiper-button-prev span,
.swh-product-recommendations-carousel .swiper-button-next span {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 4px solid #000 !important;
    border-left: 4px solid #000 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    transform-origin: center center !important;
}

/* freccia sinistra */
.swh-product-recommendations-carousel .swiper-button-prev span {
    transform: translate(-38%, -50%) rotate(-45deg) !important;
}

/* freccia destra */
.swh-product-recommendations-carousel .swiper-button-next span {
    transform: translate(-62%, -50%) rotate(135deg) !important;
}

/* fallback: crea lo span visivo quando swiper non lo genera */
.swh-product-recommendations-carousel .swiper-button-prev:empty::after,
.swh-product-recommendations-carousel .swiper-button-next:empty::after {
    content: "" !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 4px solid #000 !important;
    border-left: 4px solid #000 !important;
    line-height: 1 !important;
}

.swh-product-recommendations-carousel .swiper-button-prev:empty::after {
    transform: translate(-38%, -50%) rotate(-45deg) !important;
}

.swh-product-recommendations-carousel .swiper-button-next:empty::after {
    transform: translate(-62%, -50%) rotate(135deg) !important;
}

/* mobile: stessa logica, solo più vicino ai bordi */
@media (max-width: 767px) {
    .swh-product-recommendations-carousel .swiper-button-prev,
    .swh-product-recommendations-carousel .swiper-button-next {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .swh-product-recommendations-carousel .swiper-button-prev {
        left: 12px !important;
    }

    .swh-product-recommendations-carousel .swiper-button-next {
        right: 12px !important;
    }
}


/* Mantengo le frecce visibili, ma pulisco il default Swiper */
.swh-product-recommendations-carousel .swiper-button-prev::after,
.swh-product-recommendations-carousel .swiper-button-next::after {
    font-size: 16px !important;
    line-height: 1 !important;
    color: #000 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Centra eventuali span/svg interni */
.swh-product-recommendations-carousel .swiper-button-prev span,
.swh-product-recommendations-carousel .swiper-button-next span,
.swh-product-recommendations-carousel .swiper-button-prev svg,
.swh-product-recommendations-carousel .swiper-button-next svg,
.swh-product-recommendations-carousel .swiper-button-prev i,
.swh-product-recommendations-carousel .swiper-button-next i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    position: static !important;
    transform: none !important;
}

@media (max-width: 767px) {
    .swh-product-recommendations-carousel .swiper-button-prev,
    .swh-product-recommendations-carousel .swiper-button-next {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
    }
}


/* SHOCKWAVE PRODUCT CAROUSEL 1.4.9 - final arrows integrated */

.swh-product-recommendations-carousel__arrow{
    appearance: none !important;
    -webkit-appearance: none !important;

    position: absolute !important;
    z-index: 999 !important;
    top: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 1px solid rgba(255, 255, 255, .62) !important;
    border-radius: 999px !important;

    background: rgba(0, 0, 0, .18) !important;
    background-image: none !important;

    box-shadow: none !important;
    outline: none !important;

    cursor: pointer !important;

    transform: translateY(-50%) !important;

    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;

    line-height: 1 !important;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s ease !important;

    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

.swh-product-recommendations-carousel__arrow--prev{
    left: 24px !important;
    right: auto !important;
}

.swh-product-recommendations-carousel__arrow--next{
    right: 24px !important;
    left: auto !important;
}

.swh-product-recommendations-carousel__arrow:hover{
    background: #CCFF00 !important;
}

.swh-product-recommendations-carousel__arrow svg,
.swh-product-recommendations-carousel__arrow i,
.swh-product-recommendations-carousel__arrow span{
    width: 16px !important;
    height: 16px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;

    color: #000 !important;
}

@media(max-width:767px){

    .swh-product-recommendations-carousel__arrow--prev{
        left: 12px !important;
    }

    .swh-product-recommendations-carousel__arrow--next{
        right: 12px !important;
    }

}





/* SHOCKWAVE PRODUCT CAROUSEL 1.5.1 - arrow click without product link */
.swh-product-recommendations-carousel__arrow,
.swh-product-recommendations-carousel__arrow *{
    pointer-events: auto !important;
}

.swh-product-recommendations-carousel__arrow{
    z-index: 9999 !important;
    isolation: isolate !important;
}


/* SHOCKWAVE PRODUCT CAROUSEL 1.5.2 - white arrows */
.swh-product-recommendations-carousel__arrow svg,
.swh-product-recommendations-carousel__arrow i,
.swh-product-recommendations-carousel__arrow span{
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
}

.swh-product-recommendations-carousel__arrow::before,
.swh-product-recommendations-carousel__arrow::after{
    color: #fff !important;
    border-color: #fff !important;
}

/* mantiene bianca anche in hover */
.swh-product-recommendations-carousel__arrow:hover svg,
.swh-product-recommendations-carousel__arrow:hover i,
.swh-product-recommendations-carousel__arrow:hover span,
.swh-product-recommendations-carousel__arrow:hover::before,
.swh-product-recommendations-carousel__arrow:hover::after{
    color: #fff !important;
    fill: #fff !important;
    stroke: #fff !important;
    border-color: #fff !important;
}


/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL 1.7.1 - LABELS OVER IMAGE
========================================================= */
.swh-product-recommendations-carousel .swh-product-card__media{
    position:relative !important;
}

.swh-product-recommendations-carousel .swh-badges-stack{
    position:absolute !important;
    top:12px !important;
    left:12px !important;
    right:auto !important;
    bottom:auto !important;
    z-index:20 !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:6px !important;

    width:calc(100% - 24px) !important;
    max-width:calc(100% - 24px) !important;
    pointer-events:none !important;
}

.swh-product-recommendations-carousel .swh-badge-clean{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:auto !important;
    min-width:0 !important;
    max-width:max-content !important;
    height:auto !important;

    margin:0 !important;
    padding:7px 14px !important;

    background:#CCFF00 !important;
    color:#000 !important;

    border:0 !important;
    border-radius:0 !important;

    font-family:'Barlow Condensed',sans-serif !important;
    font-size:14px !important;
    font-weight:700 !important;
    line-height:1 !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;

    pointer-events:none !important;
}

.swh-product-recommendations-carousel .swh-badge-clean *,
.swh-product-recommendations-carousel .swh-badge-hook *{
    font-family:inherit !important;
    font-size:inherit !important;
    font-weight:inherit !important;
    line-height:inherit !important;
    color:inherit !important;
    text-transform:inherit !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
    border:0 !important;
}

.swh-product-recommendations-carousel .swh-badge-hook:empty{
    display:none !important;
}


/* =========================================================
   SWH 1.7.2 - Wishlist safe + cornice 2px
   Solo icona wishlist in alto a destra, senza toccare layout/prezzi.
========================================================= */

.swh-product-recommendations-carousel .swh-product-card {
    position: relative !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist {
    appearance: none !important;
    -webkit-appearance: none !important;
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 20 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 32px !important;
    height: 32px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;

    cursor: pointer !important;
    text-decoration: none !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist img {
    display: block !important;
    width: 25px !important;
    height: 25px !important;
    max-width: 38px !important;
    max-height: 38px !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist:hover {
    transform: scale(1.06) !important;
}

@media (max-width: 767px) {
    .swh-product-recommendations-carousel .swh-product-card__wishlist {
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
}

    .swh-product-recommendations-carousel .swh-product-card__wishlist img {
        width: 25px !important;
        height: 25px !important;
        max-width: 34px !important;
        max-height: 34px !important;
    }
}

/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL 1.7.3 - SAFE LAYOUT FIX
   NO wishlist: allineamento titoli/prezzi/carrello + cornice 1px
========================================================= */

/* Disattiva eventuali residui della wishlist, perché rompeva il layout */
.swh-product-recommendations-carousel .swh-product-card__wishlist,
.swh-product-recommendations-carousel .swh-wishlist{
    display:none !important;
}

/* Card: layout stabile */
.swh-product-recommendations-carousel .swh-product-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    min-height:100% !important;
    background:#fff !important;
}

/* Contenuto con spazio fisso per il bottone carrello */
.swh-product-recommendations-carousel .swh-product-card__content{
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
    padding:18px 78px 72px 0 !important;
}

/* Nome prodotto più piccolo */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a{
    font-size:13px !important;
    line-height:1.22 !important;
    font-weight:400 !important;
    margin:0 !important;
    color:#111 !important;
    text-decoration:none !important;
}

/* Altezza controllata del titolo: i prezzi partono sempre dalla stessa quota */
.swh-product-recommendations-carousel .swh-product-card__title{
    min-height:48px !important;
    max-height:48px !important;
    overflow:hidden !important;
    margin-bottom:12px !important;
}

/* Blocco prezzo sempre in basso rispetto al contenuto, indipendente dalla lunghezza titolo */
.swh-product-recommendations-carousel .swh-product-card__price-block{
    margin-top:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    min-height:44px !important;
    gap:4px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-main{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    min-height:24px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price{
    font-size:20px !important;
    line-height:1.1 !important;
    font-weight:700 !important;
    color:#111 !important;
}

/* Sconto e prezzo barrato nella riga sotto: nero, piccolo, non bold */
.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    min-height:16px !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .regular-price{
    order:1 !important;
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:400 !important;
    color:#000 !important;
    text-decoration:line-through !important;
    background:transparent !important;
    padding:0 !important;
    margin:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount{
    order:2 !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#000 !important;
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:400 !important;
    white-space:nowrap !important;
}

/* Carrello sempre ancorato alla stessa altezza bottom */
.swh-product-recommendations-carousel .swh-product-card__atc{
    position:absolute !important;
    right:16px !important;
    bottom:16px !important;
    left:auto !important;
    margin:0 !important;
    z-index:3 !important;
}

/* Cornice 1px: top parte da sinistra, bottom parte da destra */
.swh-product-recommendations-carousel .swh-product-card__media::before{
    background-size:
        80% 1px,
        80% 1px !important;
    background-position:
        top left,
        bottom right !important;
}

.swh-product-recommendations-carousel .swh-product-card__media::after{
    background-size:
        1px 80%,
        1px 80% !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__content{
        padding:14px 64px 64px 15px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title,
    .swh-product-recommendations-carousel .swh-product-card__title a{
        font-size:13px !important;
        line-height:1.22 !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title{
        min-height:48px !important;
        max-height:48px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price,
    .swh-product-recommendations-carousel .price,
    .swh-product-recommendations-carousel .current-price,
    .swh-product-recommendations-carousel .product-price{
        font-size:18px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__old-price,
    .swh-product-recommendations-carousel .regular-price,
    .swh-product-recommendations-carousel .swh-product-card__discount,
    .swh-product-recommendations-carousel .discount-badge,
    .swh-product-recommendations-carousel .discount-percentage,
    .swh-product-recommendations-carousel .product-flag.discount{
        font-size:11px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__atc{
        right:10px !important;
        bottom:12px !important;
    }
}


/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL 1.7.4
   Bottone carrello sulla stessa linea del prezzo + cornice 4px
   NO wishlist
========================================================= */

.swh-product-recommendations-carousel .swh-product-card__wishlist,
.swh-product-recommendations-carousel .swh-wishlist{
    display:none !important;
}

.swh-product-recommendations-carousel .swh-product-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    min-height:100% !important;
    background:#fff !important;
}

.swh-product-recommendations-carousel .swh-product-card__content{
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
    padding:18px 0 18px 0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__brand{
    font-size:17px !important;
    line-height:1.1 !important;
    margin-bottom:5px !important;
}

.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a{
    font-size:13px !important;
    line-height:1.22 !important;
    font-weight:400 !important;
    margin:0 !important;
    color:#111 !important;
    text-decoration:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__title{
    min-height:48px !important;
    max-height:48px !important;
    overflow:hidden !important;
    margin-bottom:12px !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    margin-top:auto !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:14px !important;
    width:100% !important;
    min-height:58px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-block{
    flex:1 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:4px !important;
    min-height:44px !important;
    margin:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-main{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    min-height:54px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price{
    font-size:20px !important;
    line-height:1.1 !important;
    font-weight:700 !important;
    color:#111 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    gap:8px !important;
    min-height:16px !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .regular-price{
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:400 !important;
    color:#000 !important;
    text-decoration:line-through !important;
    background:transparent !important;
    padding:0 !important;
    margin:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#000 !important;
    font-size:12px !important;
    line-height:1.1 !important;
    font-weight:400 !important;
    white-space:nowrap !important;
}

/* Carrello: non più assoluto, resta sulla stessa riga del prezzo principale */
.swh-product-recommendations-carousel .swh-product-card__atc{
    position:static !important;
    flex:0 0 auto !important;
    margin:0 !important;
    padding:0 !important;
    z-index:3 !important;
    align-self:flex-start !important;
}

.swh-product-recommendations-carousel .swh-product-card__button{
    width:54px !important;
    height:54px !important;
    min-width:54px !important;
    min-height:54px !important;
}

/* Cornice 4px: alto da sinistra, basso da destra */
.swh-product-recommendations-carousel .swh-product-card__media::before{
    background-size:
        80% 4px,
        80% 4px !important;
    background-position:
        top left,
        bottom right !important;
}

.swh-product-recommendations-carousel .swh-product-card__media::after{
    background-size:
        4px 80%,
        4px 80% !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__content{
        padding:14px 15px 14px 15px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title,
    .swh-product-recommendations-carousel .swh-product-card__title a{
        font-size:13px !important;
        line-height:1.22 !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title{
        min-height:48px !important;
        max-height:48px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price,
    .swh-product-recommendations-carousel .price,
    .swh-product-recommendations-carousel .current-price,
    .swh-product-recommendations-carousel .product-price{
        font-size:18px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__old-price,
    .swh-product-recommendations-carousel .regular-price,
    .swh-product-recommendations-carousel .swh-product-card__discount,
    .swh-product-recommendations-carousel .discount-badge,
    .swh-product-recommendations-carousel .discount-percentage,
    .swh-product-recommendations-carousel .product-flag.discount{
        font-size:11px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__bottom{
        min-height:50px !important;
        gap:10px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price-main{
        min-height:46px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__button{
        width:46px !important;
        height:46px !important;
        min-width:46px !important;
        min-height:46px !important;
    }
}


/* =========================================================
   SHOCKWAVE PRODUCT CAROUSEL 1.7.5
   Layout compatto come riferimento grafico:
   - NO wishlist
   - cornice 3px
   - testi più vicini
   - prezzo scontato allineato in basso con carrello
   - vecchio prezzo + percentuale sotto, percentuale in pill Barlow
========================================================= */

.swh-product-recommendations-carousel .swh-product-card__wishlist,
.swh-product-recommendations-carousel .swh-wishlist{
    display:none !important;
}

.swh-product-recommendations-carousel .swh-product-card{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    height:100% !important;
    background:#fff !important;
}

/* Area contenuti più compatta */
.swh-product-recommendations-carousel .swh-product-card__content{
    display:flex !important;
    flex-direction:column !important;
    flex:1 1 auto !important;
    padding:10px 15px 14px 15px !important;
}

.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand{
    font-family:'Red Hat Display',sans-serif !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1 !important;
    letter-spacing:0 !important;
    text-transform:uppercase !important;
    color:#000 !important;
    margin:0 0 3px 0 !important;
    padding:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    font-family:'Red Hat Display',sans-serif !important;
    font-size:12px !important;
    font-weight:400 !important;
    line-height:1.08 !important;
    text-transform:none !important;
    color:#000 !important;
    margin:0 !important;
    padding:0 !important;
    text-decoration:none !important;
}

/* Non blocco più il titolo a 48px: tutto più compatto */
.swh-product-recommendations-carousel .swh-product-card__title{
    min-height:24px !important;
    max-height:30px !important;
    overflow:hidden !important;
    margin-bottom:10px !important;
}

/* Parte prezzo/carrello sempre spinta in basso ma compatta */
.swh-product-recommendations-carousel .swh-product-card__bottom{
    margin-top:auto !important;
    width:100% !important;
    display:flex !important;
    align-items:flex-end !important;
    justify-content:space-between !important;
    gap:12px !important;
    min-height:48px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-block{
    flex:1 1 auto !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    justify-content:flex-end !important;
    gap:1px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-main{
    display:flex !important;
    align-items:flex-end !important;
    justify-content:flex-start !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price,
.swh-product-recommendations-carousel .price-regular{
    font-family:'Red Hat Display',sans-serif !important;
    font-size:20px !important;
    font-weight:800 !important;
    line-height:1 !important;
    color:#000 !important;
    margin:0 !important;
    padding:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    flex-wrap:wrap !important;
    gap:5px !important;
    min-height:0 !important;
    margin:0 !important;
    padding:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .regular-price{
    font-family:'Red Hat Display',sans-serif !important;
    font-size:12px !important;
    font-weight:400 !important;
    line-height:1 !important;
    color:#000 !important;
    text-decoration:line-through !important;
    background:transparent !important;
    margin:0 !important;
    padding:0 !important;
}

/* Bollino sconto come etichette alte: Barlow Condensed + padding 2px verticale */
.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:auto !important;
    height:auto !important;
    min-height:0 !important;
    padding:2px 6px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:30px !important;
    background:#CCFF00 !important;
    color:#000 !important;
    font-family:'Barlow Condensed',sans-serif !important;
    font-size:12px !important;
    font-weight:700 !important;
    line-height:1 !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
}

/* Carrello sulla linea visiva del prezzo principale, ancorato in basso */
.swh-product-recommendations-carousel .swh-product-card__atc{
    position:static !important;
    flex:0 0 auto !important;
    align-self:flex-end !important;
    margin:0 !important;
    padding:0 !important;
    z-index:3 !important;
}

.swh-product-recommendations-carousel .swh-product-card__button{
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    min-height:50px !important;
}

/* Badge in alto più compatti, coerenti con mockup */
.swh-product-recommendations-carousel .swh-badges-stack{
    top:10px !important;
    left:10px !important;
    gap:4px !important;
    width:calc(100% - 20px) !important;
    max-width:calc(100% - 20px) !important;
}

.swh-product-recommendations-carousel .swh-badge-clean{
    padding:5px 12px !important;
    font-size:13px !important;
    line-height:1 !important;
}

/* Cornice 3px: alto da sinistra, basso da destra */
.swh-product-recommendations-carousel .swh-product-card__media::before{
    background-size:
        80% 3px,
        80% 3px !important;
    background-position:
        top left,
        bottom right !important;
}

.swh-product-recommendations-carousel .swh-product-card__media::after{
    background-size:
        3px 80%,
        3px 80% !important;
    background-position:
        left center,
        right center !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__content{
        padding:9px 10px 12px 10px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__brand,
    .swh-product-recommendations-carousel .product-brand,
    .swh-product-recommendations-carousel .swh-product-brand{
        font-size:15px !important;
        margin-bottom:3px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title,
    .swh-product-recommendations-carousel .swh-product-card__title a,
    .swh-product-recommendations-carousel .product-title,
    .swh-product-recommendations-carousel .product-title a,
    .swh-product-recommendations-carousel .product-miniature__title,
    .swh-product-recommendations-carousel .product-miniature__title a{
        font-size:12px !important;
        line-height:1.08 !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__title{
        min-height:24px !important;
        max-height:30px !important;
        margin-bottom:9px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__bottom{
        align-items:flex-end !important;
        min-height:46px !important;
        gap:8px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price,
    .swh-product-recommendations-carousel .price,
    .swh-product-recommendations-carousel .current-price,
    .swh-product-recommendations-carousel .product-price,
    .swh-product-recommendations-carousel .price-regular{
        font-size:18px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__old-price,
    .swh-product-recommendations-carousel .regular-price{
        font-size:11px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__discount,
    .swh-product-recommendations-carousel .discount-badge,
    .swh-product-recommendations-carousel .discount-percentage,
    .swh-product-recommendations-carousel .product-flag.discount{
        padding:2px 5px !important;
        font-size:11px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__button{
        width:46px !important;
        height:46px !important;
        min-width:46px !important;
        min-height:46px !important;
    }
}

/* =========================================================
   SWH 1.7.6 - fine tuning layout card
   - marca staccata dall'immagine di 20px
   - prezzo principale allineato con icona carrello
   - prodotti non scontati sulla stessa linea dei prodotti scontati
   - cornice 3px
========================================================= */

.swh-product-recommendations-carousel .swh-product-card__content{
    padding-top:0 !important;
    padding-bottom:16px !important;
}

.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand{
    margin-top:20px !important;
    margin-bottom:3px !important;
}

.swh-product-recommendations-carousel .swh-product-card__title{
    min-height:22px !important;
    max-height:28px !important;
    margin-bottom:12px !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    margin-top:auto !important;
    display:flex !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:12px !important;
    min-height:64px !important;
    padding-bottom:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-block{
    min-height:54px !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    gap:3px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-main{
    min-height:26px !important;
    display:flex !important;
    align-items:flex-end !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price,
.swh-product-recommendations-carousel .price-regular{
    font-size:22px !important;
    line-height:1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    min-height:17px !important;
    gap:5px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-block:not(:has(.swh-product-card__price-secondary))::after{
    content:"" !important;
    display:block !important;
    height:17px !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .regular-price{
    font-size:13px !important;
    line-height:1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount{
    font-family:'Barlow Condensed',sans-serif !important;
    font-size:13px !important;
    font-weight:700 !important;
    line-height:1 !important;
    padding:2px 6px !important;
    border-radius:30px !important;
    background:#CCFF00 !important;
    color:#000 !important;
}

.swh-product-recommendations-carousel .swh-product-card__atc{
    align-self:flex-start !important;
    margin-top:1px !important;
}

.swh-product-recommendations-carousel .swh-product-card__button{
    width:50px !important;
    height:50px !important;
    min-width:50px !important;
    min-height:50px !important;
    border-radius:50% !important;
    background:#CCFF00 !important;
    color:#000 !important;
}

.swh-product-recommendations-carousel .swh-product-card__button::before{
    width:25px !important;
    height:25px !important;
    background-color:#000 !important;
}

.swh-product-recommendations-carousel .swh-product-card__button:hover,
.swh-product-recommendations-carousel .swh-product-card__button:focus{
    background:#CCFF00 !important;
    color:#000 !important;
    transform:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__media::before{
    background-size:
        80% 3px,
        80% 3px !important;
    background-position:
        top left,
        bottom right !important;
}

.swh-product-recommendations-carousel .swh-product-card__media::after{
    background-size:
        3px 80%,
        3px 80% !important;
    background-position:
        left center,
        right center !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__content{
        padding-top:0 !important;
        padding-bottom:14px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__brand,
    .swh-product-recommendations-carousel .product-brand,
    .swh-product-recommendations-carousel .swh-product-brand{
        margin-top:20px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__bottom{
        min-height:62px !important;
        align-items:flex-start !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price,
    .swh-product-recommendations-carousel .price,
    .swh-product-recommendations-carousel .current-price,
    .swh-product-recommendations-carousel .product-price,
    .swh-product-recommendations-carousel .price-regular{
        font-size:21px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__button{
        width:48px !important;
        height:48px !important;
        min-width:48px !important;
        min-height:48px !important;
    }
}


/* SWH 1.7.14 - rifiniture finali richieste */
.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand{
    font-weight:700 !important;
}

.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    font-size:13px !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .regular-price{
    font-size:18px !important;
    line-height:1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price,
.swh-product-recommendations-carousel .price-regular{
    font-size:29px !important;
    line-height:1 !important;
}

.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount{
    border-radius:0 !important;
}

/* v1.7.14 brand size */
.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand{
    font-size:20px !important;
    font-weight:400 !important;
}

/* v1.7.14 */
.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand{
    font-size:20px !important;
    font-weight:700 !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .price,
.swh-product-recommendations-carousel .current-price,
.swh-product-recommendations-carousel .product-price,
.swh-product-recommendations-carousel .price-regular{
    font-size:22px !important;
    line-height:1 !important;
    margin-top:10px !important;
}

/* v1.7.14 wishlist fixed */
.swh-product-recommendations-carousel .swh-product-card{
    position:relative;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist{
    position:absolute;
    top:14px;
    right:14px;
    z-index:20;
    display:block;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist img{
    width:25px !important;
    height:25px !important;
    display:block;
}


/* v1.7.14 - rifiniture card + hover bottone */

/* Hover bottone tondo: fondo nero + icona verde */
.bottone-tondo .elementor-button:hover,
.bottone-tondo a.elementor-button:hover,
.bottone-tondo a[role="button"]:hover{
    background:#111 !important;
    color:#CCFF00 !important;
    transform:translateY(-2px) !important;
}

.bottone-tondo .elementor-button:hover::before,
.bottone-tondo a.elementor-button:hover::before,
.bottone-tondo a[role="button"]:hover::before{
    background:#CCFF00 !important;
}

.bottone-tondo .elementor-button:hover *,
.bottone-tondo a.elementor-button:hover *,
.bottone-tondo a[role="button"]:hover *{
    color:#CCFF00 !important;
}

/* Più spazio tra marca e nome prodotto */
.swh-product-recommendations-carousel .swh-product-card__brand,
.swh-product-recommendations-carousel .product-brand,
.swh-product-recommendations-carousel .swh-product-brand{
    margin-bottom:8px !important;
    font-size:20px !important;
    font-weight:700 !important;
}

/* Nome prodotto più arioso */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    font-size:13px !important;
    letter-spacing:0.4px !important;
    line-height:1.25 !important;
}

/* Badge sconto più grande e squadrato */
.swh-product-recommendations-carousel .swh-product-card__discount,
.swh-product-recommendations-carousel .discount-badge,
.swh-product-recommendations-carousel .discount-percentage,
.swh-product-recommendations-carousel .product-flag.discount{
    font-size:18px !important;
    line-height:1 !important;
    padding:2px 5px !important;
    border-radius:0 !important;
    font-family:"Barlow Condensed", sans-serif !important;
    font-weight:700 !important;
}


/* v1.7.14 - titolo prodotto 14px */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    font-size:14px !important;
}


/* v1.7.14 - spazio titolo prodotto per evitare taglio */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    font-size:14px !important;
    margin-bottom:18px !important;
}

.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-miniature__title{
    min-height:55px !important;
}


/* v1.7.14 - min-height titolo 60px */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-miniature__title{
    min-height:60px !important;
}


/* v1.7.14 - riduce spazio titolo/prezzo + rimuove hover frecce */

/* Riduce lo spazio tra nome prodotto e prezzo */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    margin-bottom:6px !important;
}

/* Mantiene altezza titolo per non tagliare le righe */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-miniature__title{
    min-height:60px !important;
}

/* Toglie effetto hover alle frecce */
.swh-product-recommendations-carousel .swiper-button-prev,
.swh-product-recommendations-carousel .swiper-button-next,
.swh-product-recommendations-carousel .elementor-swiper-button,
.swh-product-recommendations-carousel .ce-swiper-button-prev,
.swh-product-recommendations-carousel .ce-swiper-button-next{
    transition:none !important;
}

.swh-product-recommendations-carousel .swiper-button-prev:hover,
.swh-product-recommendations-carousel .swiper-button-next:hover,
.swh-product-recommendations-carousel .elementor-swiper-button:hover,
.swh-product-recommendations-carousel .ce-swiper-button-prev:hover,
.swh-product-recommendations-carousel .ce-swiper-button-next:hover{
    background:inherit !important;
    color:inherit !important;
    transform:none !important;
    box-shadow:none !important;
    border-color:inherit !important;
}


/* v1.7.14 - titolo più vicino al prezzo */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a,
.swh-product-recommendations-carousel .product-title,
.swh-product-recommendations-carousel .product-title a,
.swh-product-recommendations-carousel .product-miniature__title,
.swh-product-recommendations-carousel .product-miniature__title a{
    margin-bottom:3px !important;
}


/* v1.7.14 - carrello solo cambio colore + frecce senza hover */

/* Carrello: solo inversione colori, nessun movimento */
.bottone-tondo .elementor-button:hover,
.bottone-tondo a.elementor-button:hover,
.bottone-tondo a[role="button"]:hover{
    background:#111 !important;
    color:#CCFF00 !important;
    transform:none !important;
}

.bottone-tondo .elementor-button:hover::before,
.bottone-tondo a.elementor-button:hover::before,
.bottone-tondo a[role="button"]:hover::before{
    background:#CCFF00 !important;
}

/* Frecce carousel: rimuove completamente effetto hover */
.swh-product-recommendations-carousel .swiper-button-prev,
.swh-product-recommendations-carousel .swiper-button-next,
.swh-product-recommendations-carousel .elementor-swiper-button,
.swh-product-recommendations-carousel .ce-swiper-button-prev,
.swh-product-recommendations-carousel .ce-swiper-button-next{
    transition:none !important;
}

.swh-product-recommendations-carousel .swiper-button-prev:hover,
.swh-product-recommendations-carousel .swiper-button-next:hover,
.swh-product-recommendations-carousel .elementor-swiper-button:hover,
.swh-product-recommendations-carousel .ce-swiper-button-prev:hover,
.swh-product-recommendations-carousel .ce-swiper-button-next:hover{
    background:unset !important;
    color:unset !important;
    border-color:unset !important;
    transform:none !important;
    box-shadow:none !important;
    opacity:1 !important;
}


/* v1.7.14 - selettori reali arrow + carrello */

/* FRECCE CAROUSEL: nessun hover, nessuna transizione */
.swh-product-recommendations-carousel__arrow,
.swh-product-recommendations-carousel__arrow:hover,
.swh-product-recommendations-carousel__arrow:focus,
.swh-product-recommendations-carousel__arrow:active,
.swh-product-recommendations-carousel__arrow--prev,
.swh-product-recommendations-carousel__arrow--prev:hover,
.swh-product-recommendations-carousel__arrow--prev:focus,
.swh-product-recommendations-carousel__arrow--prev:active,
.swh-product-recommendations-carousel__arrow--next,
.swh-product-recommendations-carousel__arrow--next:hover,
.swh-product-recommendations-carousel__arrow--next:focus,
.swh-product-recommendations-carousel__arrow--next:active{
    transition:none !important;
    transform:none !important;
    box-shadow:none !important;
    outline:none !important;
}

/* Mantiene le frecce uguali anche in hover */
.swh-product-recommendations-carousel__arrow:hover,
.swh-product-recommendations-carousel__arrow:focus,
.swh-product-recommendations-carousel__arrow:active{
    background:transparent !important;
    background-color:transparent !important;
    color:#000 !important;
    border-color:transparent !important;
}

/* CARRELLO: hover solo cambio colore */
.swh-product-card__button{
    transition:background-color .25s ease, color .25s ease !important;
}

.swh-product-card__button:hover,
.swh-product-card__button:focus,
.swh-product-card__button:active{
    background:#111 !important;
    background-color:#111 !important;
    color:#CCFF00 !important;
    transform:none !important;
    box-shadow:none !important;
}

/* Icona carrello in hover: da nera a verde */
.swh-product-card__button:hover::before,
.swh-product-card__button:focus::before,
.swh-product-card__button:active::before{
    background:#CCFF00 !important;
    background-color:#CCFF00 !important;
}


/* v1.7.14 - fix definitivo arrow + carrello */

/* FRECCE: nessun hover bianco */
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:hover,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:focus,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:active,
.swh-product-recommendations-carousel__arrow,
.swh-product-recommendations-carousel__arrow:hover,
.swh-product-recommendations-carousel__arrow:focus,
.swh-product-recommendations-carousel__arrow:active{
    background:transparent !important;
    background-color:transparent !important;
    color:#000 !important;
    border-color:transparent !important;
    box-shadow:none !important;
    transform:none !important;
    transition:none !important;
}

/* CARRELLO: base verde + icona nera */
.swh-product-recommendations-carousel .swh-product-card__button,
.swh-product-card__button{
    background:#CCFF00 !important;
    background-color:#CCFF00 !important;
    color:#111 !important;
    border:0 !important;
    transform:none !important;
    box-shadow:none !important;
    transition:background-color .25s ease, color .25s ease !important;
}

/* CARRELLO: hover solo verde -> nero */
.swh-product-recommendations-carousel .swh-product-card__button:hover,
.swh-product-recommendations-carousel .swh-product-card__button:focus,
.swh-product-recommendations-carousel .swh-product-card__button:active,
.swh-product-card__button:hover,
.swh-product-card__button:focus,
.swh-product-card__button:active{
    background:#111 !important;
    background-color:#111 !important;
    color:#CCFF00 !important;
    border:0 !important;
    transform:none !important;
    box-shadow:none !important;
}

/* Icona carrello, se generata da before/mask: base nera */
.swh-product-recommendations-carousel .swh-product-card__button::before,
.swh-product-card__button::before{
    background:#111 !important;
    background-color:#111 !important;
}

/* Icona carrello, se generata da before/mask: hover verde */
.swh-product-recommendations-carousel .swh-product-card__button:hover::before,
.swh-product-recommendations-carousel .swh-product-card__button:focus::before,
.swh-product-recommendations-carousel .swh-product-card__button:active::before,
.swh-product-card__button:hover::before,
.swh-product-card__button:focus::before,
.swh-product-card__button:active::before{
    background:#CCFF00 !important;
    background-color:#CCFF00 !important;
}

/* Se dentro ci sono span/i/svg, forza colore coerente */
.swh-product-recommendations-carousel .swh-product-card__button:hover *,
.swh-product-card__button:hover *{
    color:#CCFF00 !important;
    fill:#CCFF00 !important;
}


/* v1.7.15 - padding sinistro card */

/* Sposta il contenuto di 15px a destra */
.swh-product-recommendations-carousel__track,
.swh-product-recommendations-carousel__track{
    padding-left:15px !important;
}

/* La freccia sinistra resta dov'è */
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev{
    left:0 !important;
}


/* v1.7.16 - padding sinistro solo mobile */
@media (max-width:767px){

    .swh-product-recommendations-carousel__track,
    .swh-product-recommendations-carousel__track{
        padding-left:15px !important;
    }

    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev{
        left:0 !important;
    }

}


/* v1.7.19 - label padding verticale + cuore wishlist */

/* Label e shortcode: solo padding top/bottom a 2px, left/right invariati */
.swh-product-recommendations-carousel .swh-badges-stack > *,
.swh-product-recommendations-carousel .product-flag,
.swh-product-recommendations-carousel .swh-shortcode-badge{
    padding-top:2px !important;
    padding-bottom:2px !important;
}

/* Cuore wishlist in alto a destra */
.swh-product-recommendations-carousel .swh-product-card{
    position:relative !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist{
    position:absolute !important;
    top:12px !important;
    right:12px !important;
    width:32px !important;
    height:32px !important;
    z-index:30 !important;
    display:block !important;
    pointer-events:auto !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist img{
    width:25px !important;
    height:25px !important;
    display:block !important;
}


.swh-product-recommendations-carousel .swh-product-card__wishlist{transform:translateY(-7px) !important;}
/* =========================================================
   v1.7.22 - CARD COMPLETA + CORNICE HOVER
   La cornice viene rimossa dall'immagine e applicata
   all'intera scheda senza alterare slidesPerView/Swiper.
========================================================= */

.swh-product-recommendations-carousel .swh-product-card{
    --swh-accent:#CCFF00;
    height:100% !important;
    min-height:100% !important;
    display:flex !important;
    flex-direction:column !important;
    background:#fff !important;
    border:1px solid transparent !important;
    border-radius:0 !important;
    overflow:hidden !important;
    box-shadow:none !important;
    position:relative !important;
    transition:border-color .25s ease, box-shadow .25s ease, transform .25s ease !important;
}

/* Tolgo sempre bordo/cornice dalla foto */
.swh-product-recommendations-carousel .swh-product-card__media{
    position:relative !important;
    width:100% !important;
    aspect-ratio:1/1 !important;
    overflow:hidden !important;
    border:0 !important;
    border-radius:0 !important;
    outline:0 !important;
    box-shadow:none !important;
    background:#fff !important;
}

.swh-product-recommendations-carousel .swh-product-card__media::before,
.swh-product-recommendations-carousel .swh-product-card__media::after{
    display:none !important;
    content:none !important;
    background:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__media img{
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:contain !important;
    object-position:center center !important;
    transform:scale(1) !important;
    transform-origin:center center !important;
    transition:transform .35s ease !important;
    border:0 !important;
    outline:0 !important;
    box-shadow:none !important;
}

.swh-product-recommendations-carousel .swh-product-card:hover .swh-product-card__media img,
.swh-product-recommendations-carousel .swh-product-card__media:hover img{
    transform:scale(1.20) !important;
}

/* Cornice verde spezzata sull'intera card, solo in hover */
.swh-product-recommendations-carousel .swh-product-card::before{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:50 !important;
    pointer-events:none !important;
    opacity:0 !important;
    transition:opacity .25s ease !important;
    background-image:
        linear-gradient(var(--swh-accent),var(--swh-accent)),
        linear-gradient(var(--swh-accent),var(--swh-accent)) !important;
    background-size:
        80% 3px,
        80% 3px !important;
    background-position:
        top left,
        bottom right !important;
    background-repeat:no-repeat !important;
}

.swh-product-recommendations-carousel .swh-product-card::after{
    content:"" !important;
    position:absolute !important;
    inset:0 !important;
    z-index:50 !important;
    pointer-events:none !important;
    opacity:0 !important;
    transition:opacity .25s ease !important;
    background-image:
        linear-gradient(var(--swh-accent),var(--swh-accent)),
        linear-gradient(var(--swh-accent),var(--swh-accent)) !important;
    background-size:
        3px 80%,
        3px 80% !important;
    background-position:
        left center,
        right center !important;
    background-repeat:no-repeat !important;
}

.swh-product-recommendations-carousel .swh-product-card:hover::before,
.swh-product-recommendations-carousel .swh-product-card:hover::after{
    opacity:1 !important;
}

.swh-product-recommendations-carousel .swh-product-card:hover::before{
    animation:swh-pc-border-shift-x .55s ease-out 1 !important;
}

.swh-product-recommendations-carousel .swh-product-card:hover::after{
    animation:swh-pc-border-shift-y .55s ease-out 1 !important;
}

@keyframes swh-pc-border-shift-x{
    0%{
        background-position:top left,bottom right;
    }
    45%{
        background-position:top 0 left 18px,bottom 0 right 18px;
    }
    100%{
        background-position:top left,bottom right;
    }
}

@keyframes swh-pc-border-shift-y{
    0%{
        background-position:left center,right center;
    }
    45%{
        background-position:left 0 top 18px,right 0 bottom 18px;
    }
    100%{
        background-position:left center,right center;
    }
}

/* Contenuto e fascia prezzo/carrello dentro la card */
.swh-product-recommendations-carousel .swh-product-card__content{
    flex:1 1 auto !important;
    display:flex !important;
    flex-direction:column !important;
    background:#fff !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    position:relative !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 54px !important;
    column-gap:15px !important;
    align-items:end !important;
    margin-top:auto !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-block{
    width:100% !important;
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    min-height:48px !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-main{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    margin:0 0 6px !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__price{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:22px !important;
    font-weight:800 !important;
    line-height:1 !important;
    color:#000 !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    gap:8px !important;
    margin:0 auto !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__old-price{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:18px !important;
    font-weight:400 !important;
    line-height:1 !important;
    color:#777 !important;
    text-decoration:line-through !important;
    background:transparent !important;
    white-space:nowrap !important;
}

.swh-product-recommendations-carousel .swh-product-card__discount{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:3px 12px 2px !important;
    background:#CCFF00 !important;
    color:#000 !important;
    border:0 !important;
    border-radius:30px !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:22px !important;
    font-weight:800 !important;
    line-height:1 !important;
    white-space:nowrap !important;
}

/* Il bottone resta nella seconda colonna, senza posizionamento assoluto */
.swh-product-recommendations-carousel .swh-product-card__atc{
    position:relative !important;
    right:auto !important;
    bottom:auto !important;
    left:auto !important;
    align-self:end !important;
    justify-self:end !important;
    margin:0 !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__bottom{
        grid-template-columns:minmax(0,1fr) 46px !important;
        column-gap:10px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__price{
        font-size:20px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__old-price{
        font-size:16px !important;
    }

    .swh-product-recommendations-carousel .swh-product-card__discount{
        font-size:18px !important;
        padding:3px 9px 2px !important;
    }
}


/* =========================================================
   1.7.23 - NO ADD TO CART + PREZZI PERFETTAMENTE CENTRATI
========================================================= */
.swh-product-recommendations-carousel .swh-product-card__atc,
.swh-product-recommendations-carousel .swh-product-card__button{
    display:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__content{
    padding-left:18px !important;
    padding-right:18px !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    grid-template-columns:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-block{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-main,
.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__price-secondary{
    flex-direction:row !important;
    flex-wrap:wrap !important;
    gap:8px !important;
}

.swh-product-recommendations-carousel .swh-product-card__price,
.swh-product-recommendations-carousel .swh-product-card__old-price,
.swh-product-recommendations-carousel .swh-product-card__discount{
    text-align:center !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__content{
        padding-left:15px !important;
        padding-right:15px !important;
    }
}


/* ==================================================
   v1.7.25 - Categoria, marchio e nome prodotto
   centrati come nelle card categoria
================================================== */
.swh-product-recommendations-carousel .swh-product-card__content{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    width:100% !important;
    padding-left:18px !important;
    padding-right:18px !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__category,
.swh-product-recommendations-carousel .testo_alto{
    display:block !important;
    width:100% !important;
    margin:0 0 4px !important;
    padding:0 !important;
    text-align:center !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:11px !important;
    font-weight:600 !important;
    color:#333333 !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
    letter-spacing:0.5px !important;
}

.swh-product-recommendations-carousel .testo_alto .ce-product-meta__category,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value:link,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value:visited{
    display:block !important;
    width:100% !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:11px !important;
    font-weight:600 !important;
    color:#333333 !important;
    line-height:1.2 !important;
    text-transform:uppercase !important;
    letter-spacing:0.5px !important;
    text-align:center !important;
    text-decoration:none !important;
}

.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value:hover{
    color:#333333 !important;
    text-decoration:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__brand{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    text-align:center !important;
    font-family:"Barlow Condensed",sans-serif !important;
    font-size:24px !important;
    font-weight:600 !important;
    line-height:1.1em !important;
    text-transform:uppercase !important;
    letter-spacing:0 !important;
    color:#111 !important;
}

.swh-product-recommendations-carousel .swh-product-card__title{
    display:block !important;
    width:100% !important;
    min-height:0 !important;
    margin:10px 0 18px !important;
    padding:0 !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a{
    display:block !important;
    width:100% !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:15px !important;
    font-weight:400 !important;
    line-height:1.3 !important;
    letter-spacing:0.5px !important;
    text-transform:none !important;
    text-align:center !important;
    color:#111 !important;
    text-decoration:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    margin-top:auto !important;
}

/* ==================================================
   v1.7.26 - Titolo prodotto su massimo due righe
   Riserva sempre lo stesso spazio e impedisce che il
   testo venga tagliato o invada il blocco prezzo.
================================================== */
.swh-product-recommendations-carousel .swh-product-card__title{
    display:block !important;
    width:100% !important;
    min-height:39px !important;
    max-height:39px !important;
    margin:10px 0 18px !important;
    padding:0 !important;
    overflow:hidden !important;
    text-align:center !important;
}

.swh-product-recommendations-carousel .swh-product-card__title a{
    display:-webkit-box !important;
    width:100% !important;
    min-height:39px !important;
    max-height:39px !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:15px !important;
    font-weight:400 !important;
    line-height:1.3 !important;
    letter-spacing:0.5px !important;
    text-transform:none !important;
    text-align:center !important;
    color:#111 !important;
    text-decoration:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__content{
    height:100% !important;
    min-height:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    flex:0 0 auto !important;
    margin-top:auto !important;
    padding-top:0 !important;
}

/* ==================================================
   v1.7.27 - Layout compatto dopo il titolo
   Mantiene due righe per il nome prodotto senza
   spingere il prezzo sul fondo della scheda.
================================================== */
.swh-product-recommendations-carousel .swh-product-card__content{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    height:auto !important;
    min-height:0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__title{
    min-height:39px !important;
    max-height:39px !important;
    margin:10px 0 0 !important;
}

.swh-product-recommendations-carousel .swh-product-card__bottom{
    flex:0 0 auto !important;
    width:100% !important;
    margin-top:22px !important;
    padding-top:0 !important;
}

/* ==================================================
   v1.7.28 - TAGLIE + BADGE CARATTERISTICHE
================================================== */
.swh-product-recommendations-carousel .swh-product-card__media{
    position:relative !important;
    overflow:hidden !important;
}

.swh-product-recommendations-carousel .swh-product-card__media-link{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    height:100% !important;
    color:inherit !important;
    text-decoration:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__media-link img{
    width:100% !important;
    height:100% !important;
    object-fit:contain !important;
}

/* Badge Green Vision / Gore-Tex a destra, sotto il cuore. */
.swh-product-recommendations-carousel .swh-product-card__feature-badges{
    position:absolute !important;
    top:48px !important;
    right:15px !important;
    z-index:24 !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    gap:8px !important;
    pointer-events:none !important;
}
.swh-product-recommendations-carousel .swh-product-card__feature-badge{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    margin:0 !important;
    padding:0 !important;
}
.swh-product-recommendations-carousel .swh-product-card__feature-badge img{
    display:block !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    transform:none !important;
}
.swh-product-recommendations-carousel .swh-product-card__feature-badge--green img{
    width:25px !important;
    max-width:25px !important;
}
.swh-product-recommendations-carousel .swh-product-card__feature-badge--goretex img{
    width:38px !important;
    max-width:38px !important;
}

/* Taglie sovrapposte nella parte bassa della foto, solo in hover desktop. */
.swh-product-recommendations-carousel .swh-product-card__sizes{
    position:absolute !important;
    left:15px !important;
    right:15px !important;
    bottom:18px !important;
    z-index:26 !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(8px) !important;
    transition:opacity .18s ease, visibility .18s ease, transform .18s ease !important;
}
.swh-product-recommendations-carousel .swh-product-card__sizes-list{
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:center !important;
    justify-content:center !important;
    gap:6px !important;
}
.swh-product-recommendations-carousel .swh-product-card__size{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    min-width:42px !important;
    height:34px !important;
    padding:0 12px !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:#e5e5e5 !important;
    color:#000 !important;
    box-shadow:none !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:14px !important;
    font-weight:500 !important;
    line-height:1 !important;
    text-align:center !important;
    text-decoration:none !important;
    cursor:pointer !important;
    transition:background-color .18s ease,color .18s ease !important;
}
.swh-product-recommendations-carousel .swh-product-card__size:hover,
.swh-product-recommendations-carousel .swh-product-card__size:focus{
    background:#CCFF00 !important;
    color:#000 !important;
    outline:0 !important;
    text-decoration:none !important;
}
.swh-product-recommendations-carousel .swh-product-card__size--disabled{
    opacity:.45 !important;
    cursor:not-allowed !important;
    text-decoration:line-through !important;
}

@media (hover:hover) and (min-width:768px){
    .swh-product-recommendations-carousel .swh-product-card:hover .swh-product-card__sizes,
    .swh-product-recommendations-carousel .swh-product-card:focus-within .swh-product-card__sizes{
        opacity:1 !important;
        visibility:visible !important;
        pointer-events:auto !important;
        transform:translateY(0) !important;
    }
}

@media (hover:none), (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__sizes{
        display:none !important;
    }
    .swh-product-recommendations-carousel .swh-product-card__feature-badges{
        top:42px !important;
        right:12px !important;
        gap:7px !important;
    }
    .swh-product-recommendations-carousel .swh-product-card__feature-badge--green img{
        width:23px !important;
        max-width:23px !important;
    }
    .swh-product-recommendations-carousel .swh-product-card__feature-badge--goretex img{
        width:35px !important;
        max-width:35px !important;
    }
}


/* ==================================================
   v1.7.29 - WISHLIST NATIVA CREATIVE ELEMENTS
================================================== */
.swh-product-recommendations-carousel .swh-product-card__wishlist,
.swh-product-recommendations-carousel .wishlist-icon{
    position:absolute !important;
    top:1px !important;
    left:auto !important;
    right:15px !important;
    z-index:30 !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    padding:0 !important;
    transform:none !important;
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
}
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:42px !important;
    height:42px !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    text-decoration:none !important;
    cursor:pointer !important;
    -webkit-tap-highlight-color:transparent !important;
}
.swh-product-recommendations-carousel .wishlist-icon i,
.swh-product-recommendations-carousel .wishlist-icon img{
    display:none !important;
}
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist::before{
    content:"" !important;
    display:block !important;
    width:25px !important;
    height:25px !important;
    background:url("https://sportlandnew.jspro.eu/img/cms/lista%20desideri-def.svg") center / contain no-repeat !important;
    transition:transform .18s ease !important;
}
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist:hover::before{
    transform:scale(1.08) !important;
}
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist.elementor-active::before,
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist.active::before,
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist.added::before,
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist.is-added::before{
    background-image:url("https://sportlandnew.jspro.eu/img/cms/lista%20desideri%20piena-def.svg") !important;
}
@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__wishlist,
    .swh-product-recommendations-carousel .wishlist-icon{
        right:12px !important;
        width:38px !important;
        height:38px !important;
    }
    .swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist{
        width:38px !important;
        height:38px !important;
    }
    .swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist::before{
        width:23px !important;
        height:23px !important;
    }
}


/* ==================================================
   v1.7.30 - SPAZIO SOTTO IMMAGINE + BADGE ALTO SINISTRA
================================================== */

/* Separa visivamente la foto dalla categoria senza sommare
   il vecchio padding superiore del blocco contenuti. */
.swh-product-recommendations-carousel .swh-product-card__media{
    margin-bottom:15px !important;
}

.swh-product-recommendations-carousel .swh-product-card__content{
    padding-top:0 !important;
}

/* Stack badge promozionali / Novità in alto a sinistra. */
.swh-product-recommendations-carousel .swh-badges-stack{
    position:absolute !important;
    top:0 !important;
    left:0 !important;
    right:auto !important;
    bottom:auto !important;
    z-index:90 !important;

    display:flex !important;
    flex-direction:row !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    justify-content:flex-start !important;
    gap:6px !important;

    width:calc(100% - 70px) !important;
    max-width:calc(100% - 70px) !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;

    pointer-events:none !important;
}

.swh-product-recommendations-carousel .swh-badge-clean,
.swh-product-recommendations-carousel .swh-badges-stack > *{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:auto !important;
    height:auto !important;
    min-width:0 !important;
    max-width:max-content !important;

    margin:0 !important;
    padding:5px 10px !important;

    background:#CCFF00 !important;
    color:#000 !important;

    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;

    font-family:"Barlow Condensed",sans-serif !important;
    font-size:22px !important;
    font-weight:600 !important;
    line-height:1 !important;
    text-transform:uppercase !important;
    white-space:nowrap !important;
    text-decoration:none !important;
}

/* Ripulisce eventuale markup interno prodotto dall'hook sconti. */
.swh-product-recommendations-carousel .swh-badge-hook > *,
.swh-product-recommendations-carousel .swh-badge-hook a,
.swh-product-recommendations-carousel .swh-badge-hook span{
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:inherit !important;
    box-shadow:none !important;
    font:inherit !important;
    line-height:inherit !important;
    text-transform:inherit !important;
    text-decoration:none !important;
    white-space:inherit !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__media{
        margin-bottom:12px !important;
    }

    .swh-product-recommendations-carousel .swh-badges-stack{
        width:calc(100% - 58px) !important;
        max-width:calc(100% - 58px) !important;
        gap:4px !important;
    }

    .swh-product-recommendations-carousel .swh-badge-clean,
    .swh-product-recommendations-carousel .swh-badges-stack > *{
        padding:4px 8px !important;
        font-size:18px !important;
    }
}

/* ==================================================
   v1.7.31 - DISTANZA BADGE DAI BORDI
================================================== */
.swh-product-recommendations-carousel .swh-badges-stack{
    top:15px !important;
    left:15px !important;
    width:calc(100% - 85px) !important;
    max-width:calc(100% - 85px) !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-badges-stack{
        top:15px !important;
        left:15px !important;
        width:calc(100% - 73px) !important;
        max-width:calc(100% - 73px) !important;
    }
}


/* ==================================================
   v1.7.32 - WISHLIST SOPRA LE FRECCE DEL CAROSELLO
   Il cuore deve ricevere il click anche quando la card
   più a destra passa sotto l'area della freccia next.
================================================== */
.swh-product-recommendations-carousel .swh-product-card__wishlist,
.swh-product-recommendations-carousel .wishlist-icon{
    z-index:10020 !important;
    pointer-events:auto !important;
    isolation:isolate !important;
}

.swh-product-recommendations-carousel .swh-product-card__wishlist .ce-add-to-wishlist,
.swh-product-recommendations-carousel .wishlist-icon .ce-add-to-wishlist{
    position:relative !important;
    z-index:10021 !important;
    pointer-events:auto !important;
    touch-action:manipulation !important;
}


/* Merceologia → Sport → Genere, in sostituzione della categoria. */
.swh-product-recommendations-carousel .swh-product-card__meta{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-family:"Red Hat Display",sans-serif !important;
    font-size:11px !important;
    font-weight:400 !important;
    line-height:1.2 !important;
    letter-spacing:.3px !important;
    color:#000 !important;
    text-align:center !important;
    text-transform:uppercase !important;
    overflow-wrap:anywhere !important;
}
@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card__meta{
        font-size:10px !important;
    }
}

/* ==================================================
   v1.7.36 - FRECCE LONTANE DAL BLOCCO TAGLIE
================================================== */

/*
 * Le frecce erano centrate sull'intera card e, nelle card con molte taglie,
 * potevano sovrapporsi all'ultima riga. Su desktop vengono ora centrate
 * nella zona dell'immagine, lasciando libero il blocco taglie in basso.
 */
@media (hover:hover) and (min-width:768px){
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next{
        top:35% !important;
        transform:translateY(-50%) !important;
    }
}
\n\n/* =========================================================
   v1.7.37 - slider sempre orizzontale, anche senza Swiper globale
========================================================= */
.swh-product-recommendations-carousel {
    --swh-mobile-slides: 1.18;
    --swh-tablet-slides: 2.25;
    --swh-desktop-slides: 3.25;
    --swh-mobile-gap: 16px;
    --swh-tablet-gap: 20px;
    --swh-desktop-gap: 20px;
}

/* Layout critico: evita in ogni caso le card una sotto l'altra. */
.swh-product-recommendations-carousel__track {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
}

.swh-product-recommendations-carousel .swiper-slide {
    flex: 0 0 calc((100% - (var(--swh-mobile-slides) - 1) * var(--swh-mobile-gap)) / var(--swh-mobile-slides));
    width: calc((100% - (var(--swh-mobile-slides) - 1) * var(--swh-mobile-gap)) / var(--swh-mobile-slides));
    max-width: none !important;
}

@media (min-width: 768px) {
    .swh-product-recommendations-carousel .swiper-slide {
        flex-basis: calc((100% - (var(--swh-tablet-slides) - 1) * var(--swh-tablet-gap)) / var(--swh-tablet-slides));
        width: calc((100% - (var(--swh-tablet-slides) - 1) * var(--swh-tablet-gap)) / var(--swh-tablet-slides));
    }
}

@media (min-width: 1024px) {
    .swh-product-recommendations-carousel .swiper-slide {
        flex-basis: calc((100% - (var(--swh-desktop-slides) - 1) * var(--swh-desktop-gap)) / var(--swh-desktop-slides));
        width: calc((100% - (var(--swh-desktop-slides) - 1) * var(--swh-desktop-gap)) / var(--swh-desktop-slides));
    }
}

/* Quando Swiper non è disponibile, usa uno slider nativo completo. */
.swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__track {
    gap: var(--swh-mobile-gap) !important;
    transform: none !important;
}

.swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__slide {
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__track { gap: var(--swh-tablet-gap) !important; }
}

@media (min-width: 1024px) {
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__track { gap: var(--swh-desktop-gap) !important; }
}


/* =========================================================
   v1.7.38 - frecce stabili su hover/focus/active
========================================================= */
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:hover,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:focus,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:focus-visible,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:active{
    top:50% !important;
    margin:0 !important;
    padding:0 !important;
    translate:none !important;
    transform:translateY(-50%) !important;
    transition:background-color .2s ease, border-color .2s ease, color .2s ease !important;
}

.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev:hover,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev:focus,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev:active{
    left:24px !important;
    right:auto !important;
}

.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next:hover,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next:focus,
.swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next:active{
    right:24px !important;
    left:auto !important;
}

@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:hover,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:focus,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow:active{
        top:38% !important;
        transform:translateY(-50%) !important;
    }
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev:hover,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev:focus,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--prev:active{
        left:6px !important;
    }
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next:hover,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next:focus,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow--next:active{
        right:6px !important;
    }
}

/* ==================================================
   v1.7.40 - Testi card e rimozione taglie in hover
================================================== */

/* Testo informativo prima del marchio: tutto minuscolo */
.swh-product-recommendations-carousel .swh-product-card__meta,
.swh-product-recommendations-carousel .swh-product-meta,
.swh-product-recommendations-carousel .swh-product-card__category,
.swh-product-recommendations-carousel .testo_alto,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__category,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value:link,
.swh-product-recommendations-carousel .testo_alto .ce-product-meta__value:visited {
    text-transform: lowercase !important;
}

/* Titolo prodotto: tutto maiuscolo */
.swh-product-recommendations-carousel .swh-product-card__title,
.swh-product-recommendations-carousel .swh-product-card__title a {
    text-transform: uppercase !important;
}

/* Sicurezza: nessun blocco taglie visibile nel carousel */
.swh-product-recommendations-carousel .swh-product-card__sizes,
.swh-product-recommendations-carousel .swh-product-card__sizes-list,
.swh-product-recommendations-carousel .swh-product-card__size {
    display: none !important;
}


/* v1.7.41 */
.swh-product-recommendations-carousel .swh-product-card__meta,
.swh-product-recommendations-carousel .swh-product-card__meta *{
    text-transform:none !important;
}

.swh-product-recommendations-carousel .swh-product-card__meta{
    margin-bottom:7px !important;
}


/* Force lowercase */
.swh-product-recommendations-carousel .swh-product-card__meta,
.swh-product-recommendations-carousel .swh-product-card__meta *{text-transform:lowercase !important;}


/* ==========================================================
   1.7.48 — fixed carousel arrows + normal page wheel scroll
   ========================================================== */

.swh-product-recommendations-carousel{
    position:relative !important;
}

.swh-product-recommendations-carousel__viewport{
    position:relative !important;
}

/* Arrows stay locked to the left/right edges of the carousel viewport. */
.swh-product-recommendations-carousel__arrow{
    position:absolute !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    z-index:30 !important;
    margin:0 !important;
}

.swh-product-recommendations-carousel__arrow--prev{
    left:12px !important;
    right:auto !important;
}

.swh-product-recommendations-carousel__arrow--next{
    right:12px !important;
    left:auto !important;
}

/* Ensure slides/cards never become the positioning context for arrows. */
.swh-product-recommendations-carousel__slide,
.swh-product-card{
    position:relative;
}

/* On mobile keep them attached to the carousel edges too. */
@media(max-width:767px){
    .swh-product-recommendations-carousel__arrow--prev{
        left:8px !important;
    }

    .swh-product-recommendations-carousel__arrow--next{
        right:8px !important;
    }
}

/* 1.7.49 — arrows belong to the carousel shell, never to Swiper's viewport/track. */
.swh-product-recommendations-carousel{
    position:relative !important;
}
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow{
    position:absolute !important;
    top:50% !important;
    z-index:50 !important;
    margin:0 !important;
    transform:translateY(-50%) !important;
}
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--prev{
    left:10px !important;
    right:auto !important;
}
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--next{
    right:10px !important;
    left:auto !important;
}


/* ==========================================================
   1.7.50 — arrows: no movement on hover
   Keep them permanently in their final hover position.
   ========================================================== */

.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow:hover,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow:focus,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow:active{
    transform:translateY(-50%) !important;
    translate:none !important;
    margin:0 !important;
}

/* Preserve fixed edge anchoring in every interaction state. */
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--prev,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--prev:hover,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--prev:focus,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--prev:active{
    left:10px !important;
    right:auto !important;
}

.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--next,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--next:hover,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--next:focus,
.swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--next:active{
    right:10px !important;
    left:auto !important;
}


/* =========================================================
   v1.7.55 — wishlist sotto header/menu
   ========================================================= */
.swh-product-recommendations-carousel .swh-product-card__wishlist {
    z-index: 5 !important;
}


/* =========================================================
   v1.7.56 — mobile carousel: centered, touch-only, no arrows
   + product meta text 14px
   ========================================================= */

/* Testo informativo prima della marca */
.swh-product-recommendations-carousel .swh-product-card__meta,
.swh-product-recommendations-carousel .swh-product-card__meta *{
    font-size:14px !important;
}

@media (max-width:767px){
    /* Una card per volta, perfettamente centrata */
    .swh-product-recommendations-carousel{
        --swh-mobile-slides:1 !important;
        --swh-mobile-gap:0px !important;
    }

    .swh-product-recommendations-carousel .swiper-slide{
        flex:0 0 100% !important;
        width:100% !important;
    }

    /* Niente frecce su mobile */
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow,
    .swh-product-recommendations-carousel .swiper-button-prev,
    .swh-product-recommendations-carousel .swiper-button-next{
        display:none !important;
        visibility:hidden !important;
        pointer-events:none !important;
    }

    /* Lo slide si cambia solo con swipe/touch sulla card */
    .swh-product-recommendations-carousel__dragbar{
        display:none !important;
        pointer-events:none !important;
    }

    .swh-product-recommendations-carousel__viewport,
    .swh-product-recommendations-carousel__viewport{
        touch-action:pan-y !important;
    }

    /* Fallback nativo: una card alla volta e snap centrale */
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport{
        scroll-snap-type:x mandatory !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__slide{
        scroll-snap-align:center !important;
    }

    /* Mantiene il meta a 14px anche contro vecchi override mobile */
    .swh-product-recommendations-carousel .swh-product-card__meta,
    .swh-product-recommendations-carousel .swh-product-card__meta *{
        font-size:14px !important;
    }
}

/* =========================================================
   v1.7.57 — mobile: card leggermente più piccola e centrata
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel .swh-product-card{
        width:88% !important;
        max-width:340px !important;
        margin-left:auto !important;
        margin-right:auto !important;
    }
}

/* =========================================================
   v1.7.58 — mobile: card più compatta e centratura reale
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel .swiper-slide{
        display:flex !important;
        justify-content:center !important;
        align-items:flex-start !important;
        padding-left:0 !important;
        padding-right:0 !important;
    }

    .swh-product-recommendations-carousel .swh-product-card{
        flex:0 0 auto !important;
        width:76% !important;
        max-width:290px !important;
        margin-left:0 !important;
        margin-right:0 !important;
    }
}


/* =========================================================
   v1.7.59 — mobile: no progressive left drift
   Ogni slide resta larga esattamente 100%; la card viene centrata
   dentro la slide. Swiper non centra più matematicamente le slide.
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel__track{
        align-items:flex-start !important;
    }

    .swh-product-recommendations-carousel .swiper-slide{
        flex:0 0 100% !important;
        width:100% !important;
        min-width:100% !important;
        max-width:100% !important;
        margin-left:0 !important;
        margin-right:0 !important;
        box-sizing:border-box !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__slide{
        scroll-snap-align:start !important;
        scroll-snap-stop:always !important;
    }
}

/* =========================================================
   v1.7.60 — mobile: native touch slider, zero drift
   Niente transform JS su telefono: ogni pagina è larga esattamente
   quanto il viewport e la card resta centrata dentro la sua pagina.
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport{
        width:100% !important;
        max-width:100% !important;
        overflow-x:auto !important;
        overflow-y:hidden !important;
        scroll-snap-type:x mandatory !important;
        scroll-padding:0 !important;
        overscroll-behavior-x:contain !important;
        scrollbar-width:none !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__track{
        display:flex !important;
        flex-flow:row nowrap !important;
        width:100% !important;
        gap:0 !important;
        transform:none !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__slide{
        flex:0 0 100% !important;
        width:100% !important;
        min-width:100% !important;
        max-width:100% !important;
        display:flex !important;
        justify-content:center !important;
        align-items:flex-start !important;
        margin:0 !important;
        padding:0 !important;
        scroll-snap-align:start !important;
        scroll-snap-stop:always !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-card{
        flex:0 0 auto !important;
        width:76% !important;
        max-width:290px !important;
        margin:0 !important;
    }
}

/* =========================================================
   v1.7.61 — mobile: frecce riattivate con slider nativo stabile
   Il touch resta nativo/scroll-snap, ma le frecce pilotano lo stesso viewport.
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow,
    .swh-product-recommendations-carousel .swh-product-recommendations-carousel__arrow{
        display:flex !important;
        visibility:visible !important;
        pointer-events:auto !important;
        opacity:1 !important;
    }

    .swh-product-recommendations-carousel__arrow{
        width:36px !important;
        height:36px !important;
        min-width:36px !important;
        min-height:36px !important;
        max-width:36px !important;
        max-height:36px !important;
    }

    .swh-product-recommendations-carousel__arrow--prev{
        left:10px !important;
    }

    .swh-product-recommendations-carousel__arrow--next{
        right:10px !important;
    }
}


/* =========================================================
   v1.7.62 — mobile arrows: vertical position locked to image area
   Evita che le frecce cambino quota quando cambia l'altezza della card
   o durante lo scroll nativo del carousel.
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow,
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow:hover,
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow:focus,
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow:active{
        top:var(--swh-mobile-arrow-top, 170px) !important;
        bottom:auto !important;
        transform:translateY(-50%) !important;
        translate:none !important;
        margin:0 !important;
    }
}

/* =========================================================
   v1.7.63 — mobile: native finger swipe restored + larger arrow hit area
   ========================================================= */
@media (max-width:767px){
    /*
     * v1.7.56 usava pan-y per impedire lo swipe di Swiper.
     * Ora il mobile usa scroll nativo: riabilitiamo quindi il gesto
     * orizzontale senza impedire lo scroll verticale della pagina.
     */
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport,
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport{
        touch-action:pan-x pan-y !important;
        -webkit-overflow-scrolling:touch !important;
        cursor:grab !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport:active{
        cursor:grabbing !important;
    }

    /* Area touch più generosa; il simbolo della freccia resta della stessa misura. */
    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow{
        width:52px !important;
        height:52px !important;
        min-width:52px !important;
        min-height:52px !important;
        max-width:52px !important;
        max-height:52px !important;
        padding:0 !important;
    }

    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--prev{
        left:4px !important;
    }

    .swh-product-recommendations-carousel > .swh-product-recommendations-carousel__arrow--next{
        right:4px !important;
    }
}

/* =========================================================
   v1.7.65 — mobile: Cisalfa-style peek carousel
   La track mostra una card principale + una porzione evidente della
   successiva. Niente pagina-slide al 100% e niente centratura automatica.
   Desktop/tablet invariati.
   ========================================================= */
@media (max-width:767px){
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport,
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__viewport{
        scroll-padding-left:15px !important;
        scroll-padding-right:15px !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__track{
        width:max-content !important;
        min-width:100% !important;
        gap:12px !important;
        padding-left:15px !important;
        padding-right:15px !important;
        box-sizing:border-box !important;
        justify-content:flex-start !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__slide{
        flex:0 0 68vw !important;
        width:68vw !important;
        min-width:68vw !important;
        max-width:68vw !important;
        justify-content:flex-start !important;
        scroll-snap-align:start !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-card{
        width:100% !important;
        max-width:none !important;
        margin:0 !important;
    }
}


/* =========================================================
   v1.7.66 — mobile: card tutte della stessa altezza
   Testi più lunghi e presenza/assenza sconto non devono cambiare
   l'altezza visiva delle card nel carousel mobile.
   ========================================================= */
@media (max-width:767px){
    /* Tutte le slide prendono l'altezza della card più alta della riga. */
    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__track{
        align-items:stretch !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-recommendations-carousel__slide{
        display:flex !important;
        align-items:stretch !important;
        height:auto !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-card{
        display:flex !important;
        flex-direction:column !important;
        height:100% !important;
        min-height:100% !important;
    }

    /* Il blocco testuale occupa sempre lo stesso spazio disponibile. */
    .swh-product-recommendations-carousel--native .swh-product-card__content{
        display:flex !important;
        flex-direction:column !important;
        flex:1 1 auto !important;
    }

    /* Riserviamo due righe al meta, così un testo lungo non allunga la card. */
    .swh-product-recommendations-carousel--native .swh-product-card__meta{
        min-height:34px !important;
        max-height:34px !important;
        overflow:hidden !important;
        display:-webkit-box !important;
        -webkit-box-orient:vertical !important;
        -webkit-line-clamp:2 !important;
    }

    /* Titolo: area fissa, coerente tra tutti i prodotti. */
    .swh-product-recommendations-carousel--native .swh-product-card__title{
        min-height:48px !important;
        max-height:48px !important;
        overflow:hidden !important;
    }

    /* Prezzi/sconti: spazio fisso anche quando la seconda riga non esiste. */
    .swh-product-recommendations-carousel--native .swh-product-card__bottom{
        min-height:74px !important;
        margin-top:auto !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-card__price-block{
        min-height:74px !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-card__price-main{
        min-height:46px !important;
    }

    .swh-product-recommendations-carousel--native .swh-product-card__price-secondary{
        min-height:18px !important;
    }
}


/* =========================================================
   v1.7.67 — mobile arrows centered on whole equal-height card
   Position is calculated in JS via --swh-mobile-arrow-top.
   ========================================================= */

/* =========================================================
   v1.0.6 — standalone native layout
   Moved here from carousel.tpl because raw CSS braces inside a
   Smarty template are parsed as Smarty tags and caused a fatal error.
   ========================================================= */
.swh-product-recommendations-carousel__viewport{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scrollbar-width:none !important;
    scroll-snap-type:x mandatory !important;
    touch-action:pan-x pan-y !important;
}
.swh-product-recommendations-carousel__viewport::-webkit-scrollbar{
    display:none !important;
}
.swh-product-recommendations-carousel__track{
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    width:auto !important;
    transform:none !important;
    transition:none !important;
    gap:20px !important;
}
.swh-product-recommendations-carousel__slide{
    flex:0 0 calc((100% - 60px)/4) !important;
    width:calc((100% - 60px)/4) !important;
    max-width:calc((100% - 60px)/4) !important;
    scroll-snap-align:start !important;
}
@media(max-width:1023px){
    .swh-product-recommendations-carousel__track{
        gap:16px !important;
    }
    .swh-product-recommendations-carousel__slide{
        flex-basis:calc((100% - 24px)/2.5) !important;
        width:calc((100% - 24px)/2.5) !important;
        max-width:calc((100% - 24px)/2.5) !important;
    }
}
@media(max-width:767px){
    .swh-product-recommendations-carousel__track{
        gap:12px !important;
    }
    .swh-product-recommendations-carousel__slide{
        flex-basis:calc((100% - 6px)/1.5) !important;
        width:calc((100% - 6px)/1.5) !important;
        max-width:calc((100% - 6px)/1.5) !important;
    }
}


/* =========================================================
   v1.0.9 — PURE NATIVE / NO SWIPER CLASSES
   ========================================================= */
.swh-product-recommendations-carousel {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    height:auto !important;
    min-height:1px !important;
}
.swh-product-recommendations-carousel__viewport {
    display:block !important;
    width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    scroll-snap-type:x mandatory !important;
    scrollbar-width:none !important;
    visibility:visible !important;
    opacity:1 !important;
}
.swh-product-recommendations-carousel__viewport::-webkit-scrollbar { display:none !important; }
.swh-product-recommendations-carousel__track {
    display:flex !important;
    flex-flow:row nowrap !important;
    align-items:stretch !important;
    width:100% !important;
    min-width:100% !important;
    gap:var(--swh-desktop-gap, 20px) !important;
    transform:none !important;
    position:relative !important;
    visibility:visible !important;
    opacity:1 !important;
}
.swh-product-recommendations-carousel__slide {
    display:block !important;
    flex:0 0 calc((100% - (3 * var(--swh-desktop-gap, 20px))) / 4) !important;
    width:calc((100% - (3 * var(--swh-desktop-gap, 20px))) / 4) !important;
    max-width:calc((100% - (3 * var(--swh-desktop-gap, 20px))) / 4) !important;
    min-width:0 !important;
    height:auto !important;
    scroll-snap-align:start !important;
    visibility:visible !important;
    opacity:1 !important;
}
@media (min-width:768px) and (max-width:1023px) {
    .swh-product-recommendations-carousel__track { gap:var(--swh-tablet-gap,16px) !important; }
    .swh-product-recommendations-carousel__slide {
        flex-basis:calc((100% - (1.5 * var(--swh-tablet-gap,16px))) / 2.5) !important;
        width:calc((100% - (1.5 * var(--swh-tablet-gap,16px))) / 2.5) !important;
        max-width:calc((100% - (1.5 * var(--swh-tablet-gap,16px))) / 2.5) !important;
    }
}
@media (max-width:767px) {
    .swh-product-recommendations-carousel__track { gap:var(--swh-mobile-gap,12px) !important; }
    .swh-product-recommendations-carousel__slide {
        flex-basis:calc((100% - (.5 * var(--swh-mobile-gap,12px))) / 1.5) !important;
        width:calc((100% - (.5 * var(--swh-mobile-gap,12px))) / 1.5) !important;
        max-width:calc((100% - (.5 * var(--swh-mobile-gap,12px))) / 1.5) !important;
    }
}

/* v1.0.10 - Mobile section background and vertical spacing */
@media (max-width: 767px) {
    .swh-product-recommendations-carousel {
        background: #f5f5f5 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}
