/* ============================================================
   RefurbX 2 — Design System "pulito" (stile refurbed)
   Caricato DOPO refurbx.css. Prefisso classi: rx2-.
   Mobile-first. Solo light mode.
   NOTE DIFENSIVE: refurbx.css (caricato prima) forza con !important
   - h1..h6: color / font-weight 700 / line-height 1.2
   - p: color | a, a:hover: color, text-decoration | section: background
   - input/select/button/textarea: font-size 14px | ::placeholder: color
   Dove un componente rx2 puo' essere uno di questi elementi, le
   proprieta' in conflitto usano !important MIRATO (specificita' di
   classe > elemento, quindi la regola rx2 vince tra gli !important).
   Il font (DM Sans) e' gia' importato da refurbx.css: NON reimportare.
   ============================================================ */

/* ============================================================
   1. TOKEN
   ============================================================ */
:root {
    --rx2-bg: #ffffff;
    --rx2-bg-soft: #F6F8FA;
    --rx2-border: #E3E8EE;
    --rx2-border-2: #D5DFE4;
    --rx2-ink: #253D4E;
    --rx2-ink-2: #5C74A6;
    --rx2-ink-3: #8C9EC5;
    --rx2-primary: #0BA9ED;
    --rx2-primary-dark: #0890cc;
    --rx2-primary-soft: #E4F5FD;
    --rx2-success: #00a86b;
    --rx2-orange: #FD9636;
    --rx2-danger: #F53658;
    --rx2-navy-deep: #1B2D3D;
    --rx2-radius: 12px;
    --rx2-radius-btn: 10px;
    --rx2-radius-pill: 999px;
    --rx2-shadow-hover: 0 4px 16px rgba(37, 61, 78, .08);
    --rx2-maxw: 1320px;
    /* derivati interni */
    --rx2-primary-border: #A9DDF7; /* azzurro chiaro per bordi hover */
}

/* ============================================================
   2. LAYOUT BASE
   ============================================================ */
.rx2-container {
    width: 100%;
    max-width: var(--rx2-maxw);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.rx2-section {
    padding: 44px 0;
    background-color: var(--rx2-bg);
    color: var(--rx2-ink-2);
    font-size: 15px;
    line-height: 1.55;
}

/* section{background:transparent!important} in refurbx.css: difesa */
.rx2-section--soft {
    background-color: var(--rx2-bg-soft) !important;
}

.rx2-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 24px;
}

.rx2-section-title {
    margin: 0;
    font-size: 22px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.rx2-section-sub {
    margin: 8px 0 0;
    max-width: 640px;
    font-size: 15px;
    color: var(--rx2-ink-2) !important;
    line-height: 1.55;
}

.rx2-section-head .rx2-section-sub {
    flex-basis: 100%;
}

.rx2-eyebrow {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--rx2-primary) !important;
}

.rx2-section-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--rx2-primary) !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.rx2-section-link:hover {
    color: var(--rx2-primary-dark) !important;
    text-decoration: underline !important;
}

@media (min-width: 992px) {
    .rx2-section {
        padding: 72px 0;
    }

    .rx2-section-head {
        margin-bottom: 32px;
    }

    .rx2-section-title {
        font-size: 28px;
    }
}

/* ============================================================
   3. BOTTONI
   ============================================================ */
.rx2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: var(--rx2-radius-btn);
    font-size: 15px !important; /* vs button{font-size:14px!important} */
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
    -webkit-appearance: none;
    appearance: none;
    background: none;
}

.rx2-btn--primary {
    background-color: var(--rx2-primary);
    border-color: var(--rx2-primary);
    color: #ffffff !important; /* vs a{color:...!important} */
}

.rx2-btn--primary:hover,
.rx2-btn--primary:focus {
    background-color: var(--rx2-primary-dark);
    border-color: var(--rx2-primary-dark);
    color: #ffffff !important;
}

.rx2-btn--outline {
    background-color: #ffffff;
    border-color: var(--rx2-ink);
    color: var(--rx2-ink) !important;
}

.rx2-btn--outline:hover,
.rx2-btn--outline:focus {
    background-color: var(--rx2-bg-soft);
    border-color: var(--rx2-ink);
    color: var(--rx2-ink) !important;
}

.rx2-btn--sm {
    padding: 8px 16px;
    font-size: 14px !important;
    border-radius: 8px;
}

.rx2-btn--block {
    display: flex;
    width: 100%;
}

.rx2-btn[disabled],
.rx2-btn:disabled,
.rx2-btn.is-disabled {
    opacity: .5;
    cursor: not-allowed;
    pointer-events: none;
}

.rx2-btn:focus-visible {
    outline: 2px solid var(--rx2-primary);
    outline-offset: 2px;
}

/* ============================================================
   4. BADGE / PILL
   ============================================================ */
.rx2-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border: 1px solid var(--rx2-border-2);
    border-radius: var(--rx2-radius-pill);
    background-color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--rx2-ink-2) !important;
    white-space: nowrap;
}

.rx2-badge--primary {
    background-color: var(--rx2-primary-soft);
    border-color: var(--rx2-primary-soft);
    color: var(--rx2-primary-dark) !important;
}

.rx2-badge--success {
    background-color: #E6F7F0;
    border-color: #E6F7F0;
    color: var(--rx2-success) !important;
}

.rx2-badge--orange {
    background-color: #FFF2E3;
    border-color: #FFF2E3;
    color: #D97817 !important;
}

/* ============================================================
   5. FORM (input / select / label)
   ============================================================ */
.rx2-field {
    margin-bottom: 16px;
}

.rx2-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rx2-ink);
}

.rx2-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--rx2-border-2);
    border-radius: var(--rx2-radius-btn);
    background-color: #ffffff;
    font-size: 15px !important; /* vs input{font-size:14px!important} */
    line-height: 1.4;
    color: var(--rx2-ink);
    transition: border-color .15s ease, box-shadow .15s ease;
    -webkit-appearance: none;
    appearance: none;
}

.rx2-input:focus {
    outline: none;
    border-color: var(--rx2-primary);
    box-shadow: 0 0 0 3px var(--rx2-primary-soft);
}

.rx2-input::placeholder {
    color: var(--rx2-ink-3) !important; /* vs ::placeholder{...!important} */
}

select.rx2-input {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C74A6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

textarea.rx2-input {
    min-height: 110px;
    resize: vertical;
}

/* ============================================================
   6. BLOCCO rx2-hero
   ============================================================ */
.rx2-hero {
    padding-top: 40px;
    padding-bottom: 44px;
}

.rx2-hero--soft {
    background-color: var(--rx2-bg-soft) !important;
}

.rx2-hero .rx2-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.rx2-hero-body {
    min-width: 0;
}

.rx2-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: var(--rx2-radius-pill);
    background-color: var(--rx2-primary-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--rx2-primary-dark) !important;
}

.rx2-hero-title {
    margin: 0 0 14px;
    font-size: 30px;
    color: var(--rx2-ink) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
}

.rx2-hero-sub {
    margin: 0 0 24px;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--rx2-ink-2) !important;
}

.rx2-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Media hero (28/07): l'immagine NON deve gonfiare l'altezza della sezione né
   aggiungere aria sopra/sotto — altezza vincolata al testo e figura ancorata
   al bordo inferiore (il negative margin compensa il padding della sezione). */
.rx2-hero-media {
    text-align: center;
    align-self: end;
}

.rx2-hero-media img {
    max-width: 100%;
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto -44px; /* = padding-bottom mobile della sezione */
    border-radius: 0;
}

@media (min-width: 992px) {
    .rx2-hero {
        padding-top: 64px;
        padding-bottom: 72px;
    }

    .rx2-hero .rx2-container {
        grid-template-columns: 1.05fr .95fr;
        gap: 48px;
    }

    .rx2-hero-title {
        font-size: 44px;
    }

    .rx2-hero-sub {
        font-size: 17px;
    }

    .rx2-hero-media img {
        max-height: 380px;               /* ~altezza della colonna testo: la sezione resta come prima */
        margin-bottom: -72px;            /* = padding-bottom desktop della sezione */
    }
}

/* ============================================================
   7. BLOCCO rx2-usp-bar
   ============================================================ */
.rx2-section.rx2-usp-bar {
    padding: 0;
    border-top: 1px solid var(--rx2-border);
    border-bottom: 1px solid var(--rx2-border);
}

.rx2-usp {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
    margin: 0;
    list-style: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rx2-usp::-webkit-scrollbar {
    display: none;
}

.rx2-usp-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--rx2-ink-2) !important;
    white-space: nowrap;
}

.rx2-usp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    font-size: 16px;
    line-height: 1;
    color: var(--rx2-success);
}

.rx2-usp-icon svg,
.rx2-usp-icon i {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: inherit;
}

@media (min-width: 992px) {
    .rx2-usp {
        justify-content: center;
        gap: 44px;
        overflow: visible;
        flex-wrap: wrap;
    }
}

/* ============================================================
   8. BLOCCO rx2-category-grid
   ============================================================ */
.rx2-catgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.rx2-catcard {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 22px 16px;
    background-color: #ffffff;
    border: 1px solid var(--rx2-border);
    border-radius: var(--rx2-radius);
    text-align: center;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.rx2-catcard:hover {
    border-color: var(--rx2-primary-border);
    box-shadow: var(--rx2-shadow-hover);
}

.rx2-catcard-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 96px;
    width: 100%;
}

.rx2-catcard-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.rx2-catcard-title {
    margin: 0;
    font-size: 15px;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    color: var(--rx2-ink) !important;
}

.rx2-catcard:hover .rx2-catcard-title {
    color: var(--rx2-primary) !important;
}

@media (min-width: 768px) {
    .rx2-catgrid {
        gap: 16px;
    }

    .rx2-catgrid--6 {
        grid-template-columns: repeat(3, 1fr);
    }

    .rx2-catcard-img {
        height: 120px;
    }
}

@media (min-width: 992px) {
    .rx2-catgrid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .rx2-catgrid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .rx2-catgrid--6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* ============================================================
   9. BLOCCO rx2-feature-cards
   ============================================================ */
.rx2-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rx2-fcard {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: #ffffff;
    border: 1px solid var(--rx2-border);
    border-top: 3px solid var(--rx2-border-2);
    border-radius: var(--rx2-radius);
    transition: box-shadow .18s ease;
}

.rx2-fcard:hover {
    box-shadow: var(--rx2-shadow-hover);
}

.rx2-fcard--blue {
    border-top-color: var(--rx2-primary);
}

.rx2-fcard--green {
    border-top-color: var(--rx2-success);
}

.rx2-fcard--orange {
    border-top-color: var(--rx2-orange);
}

.rx2-fcard-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.rx2-fcard-text {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rx2-ink-2) !important;
}

.rx2-fcard-bullets {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.rx2-fcard-bullets li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--rx2-ink-2);
}

.rx2-fcard-bullets li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: var(--rx2-success);
}

.rx2-fcard-cta {
    display: inline-block;
    margin-top: auto;
    padding-top: 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--rx2-primary) !important;
    text-decoration: none !important;
}

.rx2-fcard-cta:hover {
    color: var(--rx2-primary-dark) !important;
    text-decoration: underline !important;
}

.rx2-fcard-cta + .rx2-fcard-cta {
    margin-top: 6px;
}

/* wrapper delle CTA: ancora i link al fondo della card */
.rx2-fcard-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
}

@media (min-width: 768px) {
    .rx2-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .rx2-features {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .rx2-fcard {
        padding: 28px;
    }
}

/* ============================================================
   10. BLOCCO rx2-product-showcase
   (la griglia è .rx2-pgrid, sez. 19; la card .rx2-pcard ha
   stile scoped in partials/rx2-product-card.blade.php)
   ============================================================ */
.rx2-showcase .rx2-pgrid {
    margin-top: 4px;
}

.rx2-showcase-footer {
    margin-top: 24px;
    text-align: center;
}

/* ============================================================
   11. BLOCCO rx2-how-it-works
   ============================================================ */
.rx2-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    counter-reset: rx2step;
}

.rx2-step {
    position: relative;
}

.rx2-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    border: 1px solid var(--rx2-border-2);
    border-radius: var(--rx2-radius-pill);
    background-color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    color: var(--rx2-primary) !important;
    line-height: 1;
}

.rx2-step-title {
    margin: 0 0 8px;
    font-size: 17px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.rx2-step-text,
.rx2-step p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rx2-ink-2) !important;
}

@media (min-width: 768px) {
    .rx2-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media (min-width: 992px) {
    .rx2-steps {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 32px;
    }
}

/* ============================================================
   12. BLOCCO rx2-banner-cta
   ============================================================ */
.rx2-banner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    border-radius: var(--rx2-radius);
    border: 1px solid var(--rx2-border);
    background-color: var(--rx2-bg-soft);
    overflow: hidden;
}

.rx2-banner-body {
    flex: 1 1 auto;
    min-width: 0;
}

.rx2-banner-title {
    margin: 0 0 8px;
    font-size: 22px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.rx2-banner-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rx2-ink-2) !important;
}

.rx2-banner-media {
    flex: 0 0 auto;
    text-align: center;
}

.rx2-banner-media img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.rx2-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 16px;
    padding: 12px 22px;
    border: 1px solid var(--rx2-primary);
    border-radius: var(--rx2-radius-btn);
    background-color: var(--rx2-primary);
    font-size: 15px !important;
    font-weight: 600;
    line-height: 1.3;
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.rx2-banner-btn:hover {
    background-color: var(--rx2-primary-dark);
    border-color: var(--rx2-primary-dark);
    color: #ffffff !important;
}

/* tono navy */
.rx2-banner--navy {
    background-color: var(--rx2-navy-deep);
    border-color: var(--rx2-navy-deep);
}

.rx2-banner--navy .rx2-banner-title {
    color: #ffffff !important;
}

.rx2-banner--navy .rx2-banner-text {
    color: rgba(255, 255, 255, .82) !important;
}

.rx2-banner--navy .rx2-banner-btn {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--rx2-ink) !important;
}

.rx2-banner--navy .rx2-banner-btn:hover {
    background-color: var(--rx2-primary-soft);
    border-color: var(--rx2-primary-soft);
    color: var(--rx2-ink) !important;
}

/* tono primary */
.rx2-banner--primary {
    background-color: var(--rx2-primary);
    border-color: var(--rx2-primary);
}

.rx2-banner--primary .rx2-banner-title {
    color: #ffffff !important;
}

.rx2-banner--primary .rx2-banner-text {
    color: rgba(255, 255, 255, .9) !important;
}

.rx2-banner--primary .rx2-banner-btn {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--rx2-primary-dark) !important;
}

.rx2-banner--primary .rx2-banner-btn:hover {
    background-color: var(--rx2-navy-deep);
    border-color: var(--rx2-navy-deep);
    color: #ffffff !important;
}

/* tono soft: e' il default della base .rx2-banner */
.rx2-banner--soft {
    background-color: var(--rx2-bg-soft);
    border-color: var(--rx2-border);
}

@media (min-width: 768px) {
    .rx2-banner {
        flex-direction: row;
        align-items: center;
        gap: 32px;
        padding: 40px 48px;
    }

    .rx2-banner-title {
        font-size: 26px;
    }
}

/* ============================================================
   13. BLOCCO rx2-stats
   ============================================================ */
/* La griglia sta su .rx2-container: la view mette gli item come suoi figli diretti */
.rx2-stats .rx2-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    text-align: center;
}

.rx2-stat-value {
    display: block;
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    color: var(--rx2-ink) !important;
}

.rx2-stat-label {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--rx2-ink-2) !important;
}

@media (min-width: 992px) {
    .rx2-stats .rx2-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 32px 24px;
    }

    .rx2-stat-value {
        font-size: 32px;
    }
}

/* ============================================================
   14. BLOCCO rx2-faq (details/summary nativi)
   ============================================================ */
/* Limite di larghezza sul container (la classe rx2-faq sta sulla <section>) */
.rx2-faq .rx2-container {
    max-width: 860px;
}

.rx2-faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--rx2-border);
    border-radius: var(--rx2-radius);
    background-color: #ffffff;
    transition: border-color .18s ease;
}

.rx2-faq-item[open] {
    border-color: var(--rx2-border-2);
}

.rx2-faq-q {
    position: relative;
    display: block;
    padding: 16px 48px 16px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--rx2-ink) !important;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.rx2-faq-q::-webkit-details-marker {
    display: none;
}

.rx2-faq-q::marker {
    content: "";
}

/* freccia (chevron) */
.rx2-faq-q::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 22px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--rx2-ink-2);
    border-bottom: 2px solid var(--rx2-ink-2);
    transform: rotate(45deg);
    transition: transform .18s ease;
}

.rx2-faq-item[open] > .rx2-faq-q::after {
    transform: rotate(-135deg);
    top: 26px;
}

.rx2-faq-a {
    padding: 0 20px 18px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--rx2-ink-2) !important;
}

.rx2-faq-a p {
    margin: 0 0 10px;
    color: var(--rx2-ink-2) !important;
}

.rx2-faq-a p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   15. BLOCCO rx2-testimonials
   ============================================================ */
.rx2-reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rx2-review {
    display: flex;
    flex-direction: column;
    padding: 22px;
    background-color: #ffffff;
    border: 1px solid var(--rx2-border);
    border-radius: var(--rx2-radius);
}

.rx2-review-stars {
    margin-bottom: 10px;
    font-size: 15px;
    letter-spacing: 2px;
    line-height: 1;
    color: var(--rx2-success);
}

.rx2-review-text,
.rx2-review p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--rx2-ink-2) !important;
}

.rx2-review-name {
    margin-top: auto;
    font-size: 14px;
    font-weight: 600;
    color: var(--rx2-ink) !important;
}

@media (min-width: 768px) {
    .rx2-reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .rx2-reviews {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* ============================================================
   16. BLOCCO rx2-image-text
   ============================================================ */
.rx2-imgtext {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: center;
}

.rx2-imgtext-media img {
    width: 100%;
    height: auto;
    border-radius: var(--rx2-radius);
}

.rx2-imgtext-body .rx2-section-title {
    margin-bottom: 14px;
}

.rx2-imgtext-body p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--rx2-ink-2) !important;
}

@media (min-width: 992px) {
    .rx2-imgtext {
        grid-template-columns: 1fr 1fr;
        gap: 56px;
    }

    .rx2-imgtext--reverse .rx2-imgtext-media {
        order: 2;
    }

    .rx2-imgtext--reverse .rx2-imgtext-body {
        order: 1;
    }
}

/* ============================================================
   17. BLOCCO rx2-page-header
   ============================================================ */
.rx2-section.rx2-page-header {
    padding: 36px 0;
    border-bottom: 1px solid var(--rx2-border);
}

.rx2-pagehead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rx2-pagehead-title {
    margin: 0;
    font-size: 26px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.rx2-pagehead-sub {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--rx2-ink-2) !important;
}

@media (min-width: 992px) {
    .rx2-section.rx2-page-header {
        padding: 52px 0;
    }

    .rx2-pagehead-title {
        font-size: 32px;
    }
}

/* ============================================================
   18. BLOCCO rx2-rich-text — prose
   ============================================================ */
.rx2-prose {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--rx2-ink-2);
}

.rx2-prose h2 {
    margin: 32px 0 12px;
    font-size: 24px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
}

.rx2-prose h3 {
    margin: 26px 0 10px;
    font-size: 19px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.rx2-prose h4 {
    margin: 22px 0 8px;
    font-size: 16px;
    color: var(--rx2-ink) !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.rx2-prose h2:first-child,
.rx2-prose h3:first-child,
.rx2-prose h4:first-child {
    margin-top: 0;
}

.rx2-prose p {
    margin: 0 0 14px;
    color: var(--rx2-ink-2) !important;
}

.rx2-prose a {
    color: var(--rx2-primary) !important;
    text-decoration: underline !important;
}

.rx2-prose a:hover {
    color: var(--rx2-primary-dark) !important;
}

.rx2-prose ul,
.rx2-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.rx2-prose li {
    margin-bottom: 6px;
}

.rx2-prose strong,
.rx2-prose b {
    color: var(--rx2-ink);
    font-weight: 600;
}

.rx2-prose img {
    max-width: 100%;
    height: auto;
    border-radius: var(--rx2-radius);
    margin: 8px 0 16px;
}

.rx2-prose blockquote {
    margin: 20px 0;
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--rx2-primary);
    color: var(--rx2-ink);
    font-style: normal;
}

.rx2-prose hr {
    margin: 28px 0;
    border: 0;
    border-top: 1px solid var(--rx2-border);
}

.rx2-prose table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    font-size: 14px;
}

.rx2-prose th {
    padding: 10px 14px;
    background-color: var(--rx2-bg-soft);
    border: 1px solid var(--rx2-border);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--rx2-ink);
    text-align: left;
}

.rx2-prose td {
    padding: 10px 14px;
    border: 1px solid var(--rx2-border);
    color: var(--rx2-ink-2);
    vertical-align: top;
}

/* ============================================================
   19. GRIGLIA PRODOTTI (.rx2-pgrid)
   Usata dal blocco [rx2-product-showcase] (es. vetrina in home),
   dove non c'è products-listing. La card .rx2-pcard ha stile
   scoped in partials/rx2-product-card.blade.php; il wizard ha
   stile scoped in trade-in-request-wizard/index.blade.php.
   ============================================================ */
.rx2-pgrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 768px) {
    .rx2-pgrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1200px) {
    .rx2-pgrid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ============================================================
   21. UTILITY MINIME
   ============================================================ */
.rx2-text-center {
    text-align: center;
}

.rx2-mt-0 {
    margin-top: 0 !important;
}

.rx2-mb-0 {
    margin-bottom: 0 !important;
}

.rx2-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   (28/09) UN SOLO ASSE ORIZZONTALE
   I .container Bootstrap del tema arrivano a 1544px (ecom.css), più larghi di
   header e blocchi rx2 (--rx2-maxw): nelle pagine che li usano per il contenuto
   (carrello, preferiti, confronta, blog, breadcrumb…) il testo partiva più a
   sinistra del logo. Dentro <main> tutti i contenitori usano la stessa misura.
   ============================================================ */
main .container {
    max-width: var(--rx2-maxw);
    padding-left: 24px;
    padding-right: 24px;
}
@media (max-width: 767.98px) {
    main .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ==========================================================================
   Documenti legali (28/09) — contenitore tipografico .rx2-legal
   Le pagine Termini, Privacy, Cookie, Note legali… sono solo testo: colonna
   stretta e centrata sull'asse del sito, titoli e tabelle leggibili.
   ========================================================================== */
.rx2-legal {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 72px;
    color: var(--rx2-ink-2, #5C74A6);
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
}
.rx2-legal h1 {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--rx2-ink, #253D4E);
    margin: 0 0 18px;
}
.rx2-legal h2 {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rx2-ink, #253D4E);
    margin: 40px 0 12px;
    padding-top: 22px;
    border-top: 1px solid var(--rx2-border, #E3E8EE);
}
.rx2-legal h3 {
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
    color: var(--rx2-ink, #253D4E);
    margin: 26px 0 8px;
}
.rx2-legal p { margin: 0 0 14px; }
.rx2-legal strong { color: var(--rx2-ink, #253D4E); font-weight: 600; }
.rx2-legal a {
    color: var(--rx2-primary, #0BA9ED);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.rx2-legal a:hover { color: var(--rx2-primary-dark, #0890cc); }
.rx2-legal ul,
.rx2-legal ol {
    margin: 0 0 16px;
    padding-left: 22px;
}
.rx2-legal ul { list-style: disc; }
.rx2-legal ol { list-style: decimal; }
.rx2-legal li { margin: 0 0 8px; list-style: inherit; }
.rx2-legal li > ul,
.rx2-legal li > ol { margin-top: 8px; }
/* Una voce il cui recapito non è compilato ([rx-azienda] vuoto) non lascia il pallino. */
.rx2-legal li:empty { display: none; }
.rx2-legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 22px;
    font-size: 14.5px;
    line-height: 1.55;
    background: var(--rx2-bg, #ffffff);
    border: 1px solid var(--rx2-border, #E3E8EE);
}
.rx2-legal th,
.rx2-legal td {
    border: 1px solid var(--rx2-border, #E3E8EE);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.rx2-legal th {
    background: var(--rx2-bg-soft, #F6F8FA);
    color: var(--rx2-ink, #253D4E);
    font-weight: 600;
}
.rx2-legal .rx2-legal__owner {
    margin-top: 36px;
    padding-top: 16px;
    border-top: 1px solid var(--rx2-border, #E3E8EE);
    font-size: 13.5px;
    color: var(--rx2-ink-3, #8C9EC5);
}
@media (max-width: 767.98px) {
    .rx2-legal { padding: 24px 16px 56px; font-size: 15px; }
    .rx2-legal h1 { font-size: 26px; }
    .rx2-legal h2 { font-size: 19px; margin-top: 32px; }
    /* Tabelle larghe (cookie, basi giuridiche): scorrono in orizzontale. */
    .rx2-legal table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .rx2-legal th,
    .rx2-legal td { min-width: 130px; }
}

/* Nota privacy sotto i moduli (newsletter, contatti, ritiro usato, annunci). */
.rx2-privacy-note {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--rx2-ink-3, #8C9EC5);
    margin: 10px 0 0;
}
.rx2-privacy-note a { color: var(--rx2-ink-2, #5C74A6); text-decoration: underline; }
.rx2-privacy-note a:hover { color: var(--rx2-primary, #0BA9ED); }
