/* ==============================
   Lista Offerte - nuovo stile
============================== */

.offers-list-modern-sg {
    position: relative;
    overflow: hidden;
}

.offers-list-modern-sg .service-area-service-page-inner {
    position: relative;
    z-index: 2;
}

.offers-grid-sg {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.offer-list-card-sg {
    position: relative;
    min-height: 420px;
    padding: 30px;
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, var(--offer-bg) 0, transparent 46%),
        #1e1d1d;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    transition: all 0.35s ease;
}

.offer-list-card-sg::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background-color: var(--offer-color);
    opacity: 0.22;
    transition: all 0.35s ease;
    pointer-events: none;
}

.offer-list-card-sg::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 33px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.offer-list-card-sg:hover {
    transform: translateY(-8px);
    color: #ffffff;
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.offer-list-card-sg:hover::before {
    opacity: 0.35;
    transform: scale(1.12);
}

.offer-list-card-top-sg {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.offer-list-label-sg {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--offer-color);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.offer-list-card-sg h3 {
    margin: 0;
    max-width: 260px;
    color: #ffffff;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 900;
}

.offer-list-icons-sg {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 120px;
}

.offer-list-icons-sg img {
    width: 42px;
    height: 42px;
    padding: 9px;
    border-radius: 14px;
    background-color: #ffffff;
    object-fit: contain;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.offer-list-coupon-icon-sg {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background-color: #ffffff;
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

.offer-list-card-sg p {
    position: relative;
    z-index: 2;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    line-height: 1.55;
}

.offer-list-price-sg {
    position: relative;
    z-index: 2;
    margin-top: auto;
    margin-bottom: 24px;
    padding: 20px;
    border-radius: 24px;
    background-color: #ffffff;
    color: #111111;
    display: grid;
    gap: 8px;
}

.offer-list-price-sg span {
    color: #666666;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.offer-list-price-sg strong {
    color: var(--offer-color);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 900;
}

.offer-list-footer-sg {
    position: relative;
    z-index: 2;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 999px;
    background-color: var(--offer-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.offer-list-footer-sg i {
    font-size: 15px;
    transition: transform 0.3s ease;
}

.offer-list-card-sg:hover .offer-list-footer-sg {
    background-color: #ffffff;
    color: #111111;
}

.offer-list-card-sg:hover .offer-list-footer-sg i {
    transform: translateX(5px);
}


/* Ecommerce box leggermente più importante */
.offer-list-card-featured-sg {
    background:
        radial-gradient(circle at top right, var(--offer-bg) 0, transparent 42%),
        linear-gradient(135deg, #1e1d1d 0%, #121212 100%);
}


/* Coupon */
.offer-list-card-coupon-sg {
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.12) 0, transparent 42%),
        #1e1d1d;
}

.offer-list-card-coupon-sg .offer-list-label-sg,
.offer-list-card-coupon-sg .offer-list-price-sg strong {
    color: #ffffff;
}

.offer-list-card-coupon-sg .offer-list-footer-sg {
    background-color: #ffffff;
    color: #111111;
}

.offer-list-card-coupon-sg:hover .offer-list-footer-sg {
    background-color: #454545;
    color: #ffffff;
}


/* ==============================
   Responsive
============================== */

@media (max-width: 1199px) {
    .offers-grid-sg {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .offers-list-modern-sg .section-title {
        font-size: 42px;
        line-height: 1;
    }

    .offers-grid-sg {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 34px;
    }

    .offer-list-card-sg {
        min-height: auto;
        padding: 24px;
        border-radius: 28px;
    }

    .offer-list-card-sg::after {
        border-radius: 27px;
    }

    .offer-list-card-top-sg {
        flex-direction: column;
        gap: 18px;
    }

    .offer-list-icons-sg {
        justify-content: flex-start;
        max-width: 100%;
    }

    .offer-list-card-sg h3 {
        font-size: 38px;
    }

    .offer-list-card-sg p {
        font-size: 15px;
        line-height: 1.55;
    }

    .offer-list-price-sg {
        padding: 18px;
        border-radius: 20px;
    }

    .offer-list-price-sg strong {
        font-size: 30px;
    }

    .offer-list-footer-sg {
        width: 100%;
    }
}