        :root {
            --brand: #7a1430;
            --text: #1a1a1a;
            --link: #111;
            --link-hover: #7a1430;
            --topbar-h: 118px;
            --container: 1240px;
            --gap-xl: 36px;
            --gap-lg: 28px;
            --border: rgba(0, 0, 0, .08);
            --muted: #6a6a6a;
            --card: #fff;
            --shadow: 0 10px 30px rgba(0, 0, 0, .08);
            --radius: 14px
        }

        * {
            box-sizing: border-box
        }

        html,
        body {
            height: 100%
        }

        body {
            margin: 0;
            font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
            color: var(--text);
            background: #fff;
            overflow-x: hidden
        }

        a {
            color: var(--link);
            text-decoration: none
        }

        a:hover {
            color: var(--link-hover)
        }

        .container {
            width: min(100%, calc(var(--container) + 40px));
            margin: 0 auto;
            padding: 0 20px
        }



        /* ===== HERO PRODOTTO ===== */
        .product-hero {
            padding: 20px 0 36px
        }

        .product-hero__grid {
            display: grid;
            grid-template-columns: 1.15fr 1fr;
            gap: 28px;
            align-items: start
        }

        @media (max-width:1100px) {
            .product-hero__grid {
                grid-template-columns: 1fr
            }
        }

        .ph-gallery {
            display: grid;
            gap: 14px
        }

        .ph-gallery__main {
            border: 1px solid var(--border);
            border-radius: 12px;
            overflow: hidden
        }

        .ph-gallery__main img {
            width: 100%;
            display: block;
            object-fit: cover
        }

        .ph-info h5 {
            margin: 0 0 6px;
            font-weight: 700;
            color: #222
        }

        .ph-info h1 {
            margin: 0 0 6px;
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: #111;
            font-size: clamp(22px, 2.6vw, 30px)
        }

        .rating {
            color: #f4a300;
            letter-spacing: 2px;
            margin: 6px 0 14px
        }

        .rating small {
            color: #6b6b6b;
            margin-left: 6px;
            letter-spacing: 0
        }

        .price {
            font-size: 28px;
            font-weight: 800;
            margin: 12px 0 18px
        }

        .desc p {
            margin: 0 0 14px;
            line-height: 1.75;
            color: #222
        }

        .hr {
            height: 1px;
            background: var(--border);
            margin: 18px 0
        }

        .buy-row {
            display: flex;
            gap: 10px;
            align-items: center;
            margin: 6px 0 16px
        }

        .btn-add {
            height: 40px;
            padding: 0 16px;
            border: 0;
            border-radius: 10px;
            background: var(--brand);
            color: #fff;
            font-weight: 800;
            cursor: pointer
        }

        .btn-add:hover {
            filter: brightness(1.03)
        }

        .sr-only {
            position: absolute !important;
            clip: rect(1px, 1px, 1px, 1px);
            padding: 0;
            border: 0;
            height: 1px;
            width: 1px;
            overflow: hidden;
            white-space: nowrap
        }

        /* ==== MASTERCLASS BANNER ==== */
        /* ==== MASTERCLASS BANNER (stesse dimensioni del tiramisù) ==== */
        .mc-hero {
            width: 60%;
            margin: 0 auto 54px;
            position: relative;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 22px 50px rgba(0, 0, 0, .25);
            background: #2a0a14 center/cover no-repeat;
            /* sfondo impostato per-corso inline da corso.php (foto del corso) */
            min-height: clamp(360px, 70vw, 520px);
        }


        .mc-hero::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, .35));
        }

        .mc-overlay {
            position: absolute;
            inset: 0;
            padding: clamp(16px, 3vw, 32px);
            display: grid;
            grid-template-columns: 1.15fr .85fr;
            gap: clamp(16px, 3vw, 32px);
            align-items: center;
            color: #fff;
            z-index: 1;
        }

        .mc-kicker {
            color: #ff7aa5;
            font-weight: 700;
            margin: 0 0 8px
        }

        .mc-title {
            font-family: "Playfair Display", serif;
            font-weight: 800;
            margin: 0 0 14px;
            line-height: 1.22;
            font-size: clamp(22px, 2.2vw + 16px, 32px)
        }

        .mc-points {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 12px
        }

        .mc-point {
            display: grid;
            grid-template-columns: 34px 1fr;
            gap: 10px;
            align-items: start
        }

        .mc-ico {
            width: 34px;
            height: 34px;
            border-radius: 999px;
            display: grid;
            place-items: center;
            font-size: 16px;
            background: rgba(255, 255, 255, .16);
            border: 1px solid rgba(255, 255, 255, .28)
        }

        .mc-l1 {
            font-weight: 800;
            letter-spacing: .02em;
            font-size: 13.5px
        }

        .mc-l2 {
            opacity: .9;
            font-size: 13px;
            margin-top: 3px
        }

        .mc-sub {
            margin: 6px 0 0 0;
            padding-left: 16px;
            display: grid;
            gap: 4px;
            font-size: 13px
        }

        .mc-sub li {
            list-style: disc
        }

        .mc-inner-frame {
            --r: 18px;
            justify-self: center;
            width: min(100%, 760px);
            border-radius: var(--r);
            background: rgba(0, 0, 0, .18);
            padding: clamp(4px, .6vw, 8px);
            box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .08);
        }

        .mc-inner-frame img {
            display: block;
            width: 100%;
            height: 300px;
            border-radius: calc(var(--r) - 6px);
        }


        .mc-inner-frame img {
            display: block;
            width: 100%;
            height: 300px;
            border-radius: calc(var(--r) - 6px);
            object-fit: cover;
            /* come nel tiramisù: stessa resa visiva */
        }


        @media (max-width:1100px) {
            .mc-hero {
                width: 88%;
            }

            .mc-overlay {
                grid-template-columns: 1fr;
                align-content: start
            }
        }


        /* FIX mc-hero su mobile: stesso comportamento della pagina tiramisù */
        @media (max-width: 768px) {
            .mc-hero {
                width: 100%;
                margin: 0 0 32px;
                border-radius: 0;
                height: auto;
                min-height: 0;
                /* l’altezza la decide il contenuto, come nel tiramisù */
            }

            .mc-overlay {
                position: relative;
                /* non più absolute su mobile */
                z-index: 1;
                grid-template-columns: 1fr;
                padding: 16px;
                gap: 16px;
                align-items: flex-start;
            }

            .mc-hero::after {
                z-index: 0;
                /* velatura sotto al testo */
            }

            .mc-inner-frame {
                margin-top: 12px;
                max-width: 100%;
            }
        }



        @media (max-width:560px) {
            .mc-hero {
                width: 94%;
            }
        }

        /* === ENROLL / CTA + VIDEO === */
        .enroll {
            padding: clamp(26px, 4.2vw, 44px) 0 clamp(20px, 4vw, 36px);
        }

        .enroll .title {
            font-family: "Playfair Display", serif;
            font-weight: 800;
            letter-spacing: .02em;
            text-align: center;
            color: var(--brand);
            font-size: clamp(26px, 2.6vw + 10px, 42px);
            margin: 0 0 14px;
            text-transform: uppercase;
        }

        .enroll .actions {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
            margin-bottom: clamp(18px, 3vw, 26px);
        }

        .enroll .btn-buy {
            display: inline-block;
            background: var(--brand);
            color: #fff;
            padding: 12px 18px;
            border-radius: 10px;
            font-weight: 800;
            border: 0;
            cursor: pointer;
        }

        .enroll .btn-buy:hover {
            filter: brightness(1.03);
        }

        .video-embed {
            width: min(100%, 1240px);
            margin: 0 auto;
        }

        .video-embed .frame {
            width: 100%;
            aspect-ratio: 16 / 9;
            background: #000;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
        }

        .video-embed iframe {
            width: 100%;
            height: 100%;
            border: 0;
            display: block;
        }

        /* INFO, DOCS, CARDS, HOW, STUDENTS, FOOTER... (come tua versione) */
        .info {
            padding: clamp(28px, 6vw, 72px) 0
        }

        .info-row {
            display: grid;
            grid-template-columns: 1.05fr 1fr;
            gap: clamp(18px, 3vw, 42px);
            align-items: center;
            margin-bottom: clamp(36px, 6vw, 70px);
        }

        @media (max-width:980px) {
            .info-row {
                grid-template-columns: 1fr;
                gap: 18px
            }
        }

        .info-media {
            position: relative;
            margin: 0;
            isolation: isolate;
        }

        .info-media--card::before {
            content: "";
            position: absolute;
            inset: -24px -18px auto auto;
            width: 120px;
            height: 160px;
            background: #f8ead9;
            border-radius: 8px;
            transform: skew(-10deg);
            z-index: -1;
        }

        .info-media--card::after {
            content: "";
            position: absolute;
            inset: auto auto -26px 24px;
            width: 140px;
            height: 56px;
            background: #f8ead9;
            border-radius: 8px;
            transform: skew(-10deg);
            z-index: -1;
        }

        .info-media img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 14px;
            box-shadow: 0 14px 36px rgba(0, 0, 0, .12), 0 1px 0 rgba(0, 0, 0, .06);
            object-fit: cover;
        }

        .info-title {
            margin: 0 0 12px;
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: var(--brand);
        }

        .info-sub {
            margin: 18px 0 6px;
            font-weight: 800;
            color: #3a0f20;
        }

        .info-text p {
            margin: 0 0 12px;
            line-height: 1.75;
            color: #222;
        }

        .info-list {
            margin: 8px 0 0;
            padding-left: 18px;
            display: grid;
            gap: 6px;
            color: #222;
        }

        .info-list li {
            line-height: 1.6
        }

        .docs {
            background: #494844;
            padding: clamp(28px, 5vw, 56px) 0 clamp(34px, 6vw, 64px);
            color: #fff;
        }

        .docs-title {
            margin: 0 0 22px;
            text-align: center;
            font-family: "Playfair Display", serif;
            font-weight: 800;
        }

        .docs-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: clamp(16px, 2.4vw, 28px);
        }

        @media (max-width:1200px) {
            .docs-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width:780px) {
            .docs-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width:520px) {
            .docs-grid {
                grid-template-columns: 1fr;
            }
        }

        .doc-card,
        .doc-bonus {
            display: flex;
            flex-direction: column;
        }

        .doc-figure {
            margin: 0;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, .14);
            box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
        }

        .doc-figure img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .doc-figure--banner img {
            aspect-ratio: 16/7;
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .doc-caption {
            font-size: 13px;
            font-weight: 800;
            letter-spacing: .02em;
            margin-top: 10px;
            color: #eaeaea;
        }

        .bonus-title {
            margin: 16px 0 6px;
            font-weight: 800;
            font-size: 14px;
            color: #ffffff;
        }

        .bonus-list {
            margin: 0;
            padding-left: 18px;
            display: grid;
            gap: 6px;
            color: #eaeaea;
            font-size: 13.5px;
            line-height: 1.6;
        }

        .cards-two {
            padding: 14px 0 34px
        }

        .cards-two__grid {
            display: grid;
            gap: 24px;
            grid-template-columns: 1fr 1fr;
        }

        @media (max-width:900px) {
            .cards-two__grid {
                grid-template-columns: 1fr
            }
        }

        .card-soft {
            background: #fbf3e9;
            border: 1px solid var(--border);
            border-radius: 14px;
            box-shadow: var(--shadow);
            padding: 16px 16px 14px;
        }

        .card-soft__title {
            margin: 0 0 10px;
            text-align: center;
            font-weight: 800;
            color: #5b4036;
            letter-spacing: .02em;
        }

        .card-soft__text p {
            margin: .6em 0;
            color: #5b4036;
            line-height: 1.55;
            font-size: 14px
        }

        .card-soft__media {
            margin: 12px 0 0;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, .06)
        }

        .card-soft__media img {
            display: block;
            width: 100%;
            height: auto;
            object-fit: cover
        }

        .faq-intro {
            padding: 12px 0 40px
        }

        .faq-title {
            margin: 0 0 10px;
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: var(--brand);
        }

        .faq-list {
            margin: 0;
            padding-left: 18px;
            color: #3a3a3a;
            line-height: 1.9;
            font-size: 14px;
        }

        .faq-list li {
            list-style: "✦  " outside
        }

        .teacher {
            --bg: #5b0d24;
            background: var(--bg);
            padding: clamp(36px, 6vw, 72px) 0;
        }

        .teacher__grid {
            display: grid;
            grid-template-columns: 1.05fr 1fr;
            gap: clamp(24px, 3.4vw, 48px);
            align-items: center;
        }

        @media (max-width:1000px) {
            .teacher__grid {
                grid-template-columns: 1fr;
            }
        }

        .teacher__kicker {
            color: #f3d4de;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .teacher__title {
            margin: 0 0 18px;
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: #fff;
        }

        .teacher__list {
            margin: 0;
            padding-left: 22px;
            color: #f6e9ee;
            line-height: 1.9;
        }

        .teacher__list li {
            list-style: disc;
            padding-left: 4px;
        }

        .teacher__frame {
            margin: 0;
            background: #e9e6eb;
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 28px 60px rgba(0, 0, 0, .35);
            border: 1px solid rgba(255, 255, 255, .12);
        }

        .teacher__frame img {
            display: block;
            width: min(100%, 760px);
            height: auto;
        }

        .how {
            background: #e9eef5;
            padding: clamp(28px, 5vw, 56px) 0;
        }

        .how__card {
            background: #fff;
            border: 1px solid rgba(0, 0, 0, .06);
            border-radius: 22px;
            box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
            padding: clamp(18px, 3vw, 34px);
        }

        .how__grid {
            display: grid;
            grid-template-columns: 1.05fr 1fr;
            gap: clamp(22px, 3vw, 40px);
            align-items: start;
        }

        @media (max-width:1000px) {
            .how__grid {
                grid-template-columns: 1fr;
            }
        }

        .how__kicker {
            font-weight: 800;
            color: #7a1430;
            letter-spacing: .03em;
            margin-bottom: 8px;
        }

        .how__title {
            margin: 0 0 14px;
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: #111;
        }

        .how__steps {
            margin: 0 0 18px;
            padding-left: 0;
            list-style: none;
            line-height: 1.9;
            color: #1f1f1f;
        }

        .how__btn {
            display: inline-block;
            margin-top: 4px;
            background: #7a1430;
            color: #fff;
            padding: 12px 18px;
            border-radius: 10px;
            font-weight: 800;
        }

        .how__right {
            position: relative;
            min-height: 340px;
        }

        .how__decor {
            position: absolute;
            inset: -14px -14px auto auto;
            width: 32%;
            aspect-ratio: 1/1;
            background: radial-gradient(ellipse at top left, rgba(0, 0, 0, .06), transparent 60%);
            filter: saturate(1);
            pointer-events: none;
            border-radius: 20px;
        }

        .how__bigwrap {
            margin: 0;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
        }

        .how__bigpic {
            display: block;
            width: 100%;
            height: auto;
        }

        .students {
            padding: clamp(34px, 6vw, 72px) 0;
        }

        .students__title {
            margin: 0 0 22px;
            text-align: center;
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: #7a1430;
            letter-spacing: .02em;
        }

        .students__grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: clamp(14px, 2vw, 28px);
            align-items: start;
        }

        @media (max-width:1200px) {
            .students__grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        @media (max-width:900px) {
            .students__grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width:560px) {
            .students__grid {
                grid-template-columns: 1fr;
            }
        }

        .students__item {
            margin: 0;
            border-radius: 14px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, .06);
            box-shadow: 0 12px 26px rgba(0, 0, 0, .08);
            background: #fff;
        }

        .students__item img {
            width: 100%;
            height: clamp(200px, 24vw, 320px);
            object-fit: cover;
            display: block;
        }

        .students__cta {
            margin-top: clamp(30px, 4vw, 46px);
            text-align: center;
        }

        .cta-title {
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: #511627;
            letter-spacing: .02em;
            margin: 0 0 8px;
        }

        .cta-meta {
            display: flex;
            gap: 14px;
            align-items: center;
            justify-content: center;
        }

        .cta-price {
            color: #511627;
            font-weight: 700;
            opacity: .9;
        }

        .btn-add {
            display: inline-block;
            background: #7a1430;
            color: #fff;
            padding: 12px 18px;
            border: 0;
            border-radius: 10px;
            font-weight: 800;
            cursor: pointer;
        }

        .btn-add:hover {
            filter: brightness(1.03);
        }

        .al-gallery-grid {
            padding: 16px 0 40px;
        }

        .al-grid12 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 22px;
        }

        .al-grid12 img {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-radius: 12px;
            border: 1px solid var(--border);
            box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
        }

        @media (max-width:1200px) {
            .al-grid12 {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width:900px) {
            .al-grid12 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width:560px) {
            .al-grid12 {
                grid-template-columns: 1fr;
            }
        }

        .vpa-footer {
            background: #f3f4f6;
            border-top: 1px solid var(--border);
            margin-top: 24px;
            color: #1a1a1a;
            font-size: 15px;
        }

        .vpa-footer .container {
            padding: 28px 20px 22px;
        }

        .vpa-foot-head {
            display: grid;
            justify-items: center;
            gap: 10px;
        }

        .vpa-foot-logo .logo-mono {
            width: 70px;
            height: 70px;
            background: var(--brand);
            -webkit-mask: url('/images/logo_AL.png') center/contain no-repeat;
            mask: url('/images/logo_AL.png') center/contain no-repeat;
        }

        .vpa-foot-social {
            display: flex;
            gap: 12px;
            align-items: center;
            justify-content: center;
            margin-top: 6px;
        }

        .vpa-foot-social .ico {
            width: 22px;
            height: 22px;
            line-height: 22px;
            display: inline-grid;
            place-items: center;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-size: 13px;
            text-decoration: none;
            color: #111;
            padding: 2px 6px;
        }

        .vpa-foot-mid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            align-items: start;
            margin-top: 16px;
        }

        .vpa-services .h {
            font-family: "Playfair Display", serif;
            font-weight: 800;
            margin-bottom: 8px;
            font-size: 18px;
        }

        .vpa-services a {
            display: block;
            margin: 6px 0;
            color: #111;
            text-decoration: none;
        }

        .vpa-services a:hover {
            color: var(--brand);
        }

        .vpa-policies {
            justify-self: end;
            text-align: left;
        }

        .vpa-policies .line {
            margin: 6px 0;
            color: #111;
        }

        .vpa-policies a {
            color: #111;
            text-decoration: none;
        }

        .vpa-policies a:hover {
            color: var(--brand);
        }

        .vpa-policies .sep {
            margin: 0 8px;
            color: #777;
        }

        .vpa-foot-bottom {
            display: flex;
            gap: 18px;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            padding-top: 16px;
            margin-top: 14px;
            border-top: 1px solid var(--border);
            font-size: 14px;
        }

        .vpa-foot-bottom a {
            color: #111;
            text-decoration: none;
        }

        .vpa-foot-bottom a:hover {
            color: var(--brand);
        }

        @media (max-width:900px) {
            .vpa-foot-mid {
                grid-template-columns: 1fr;
            }

            .vpa-policies {
                justify-self: start;
            }
        }

        /* =========================
           BLOCCHETTO RECENSIONI FIGO
        ========================== */
        .course-reviews {
            padding: 32px 0 40px;
        }

        .course-reviews-box {
            border: 1px solid rgba(0, 0, 0, .08);
            border-radius: 14px;
            background: #fff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
            padding: 14px 14px 16px;
        }

        .course-reviews-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
        }

        .course-reviews-title {
            font-family: "Playfair Display", serif;
            font-weight: 800;
            color: #7a1430;
            font-size: 20px;
        }

        .course-reviews-summary-meta {
            font-size: 14px;
            color: #555;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            align-items: center;
        }

        .course-reviews-stars {
            color: #f4a300;
            letter-spacing: 1px;
        }

        .course-reviews-average {
            opacity: .9;
        }

        .course-reviews-empty {
            margin-top: 6px;
            font-size: 14px;
            color: #6b7280;
        }

        .course-reviews-scroller {
            margin-top: 12px;
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 4px 2px 6px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }

        .course-reviews-scroller::-webkit-scrollbar {
            height: 6px;
        }

        .course-reviews-scroller::-webkit-scrollbar-track {
            background: #f3f4f6;
            border-radius: 999px;
        }

        .course-reviews-scroller::-webkit-scrollbar-thumb {
            background: #c4c4c4;
            border-radius: 999px;
        }

        .course-review-card {
            scroll-snap-align: start;
            flex: 0 0 280px;
            max-width: 320px;
            border-radius: 12px;
            border: 1px solid rgba(0, 0, 0, .08);
            background: #fdfdfd;
            padding: 10px 10px 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .course-review-head {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
        }

        .course-review-name {
            font-weight: 700;
            font-size: 14px;
        }

        .course-review-stars {
            font-size: 13px;
            color: #f4a300;
            white-space: nowrap;
        }

        .course-review-date {
            font-size: 11px;
            color: #6b7280;
        }

        .course-review-text {
            max-height: 280px;
            /* quanto vuoi “alta” la preview */
            overflow-y: auto;
            /* scroll verticale */
            overflow-x: hidden;
            padding-right: 6px;
            /* spazio per scrollbar */
            word-break: break-word;
            /* evita overflow con parole lunghe */
        }

        .course-review-photos {
            margin-top: 4px;
            display: flex;
            flex-wrap: nowrap;
            gap: 6px;
            overflow-x: auto;
        }

        .course-review-photo-thumb {
            border: none;
            padding: 0;
            margin: 0;
            background: transparent;
            cursor: zoom-in;
        }

        .course-review-photo-thumb-inner {
            width: 72px;
            height: 72px;
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, .08);
            background: #f9fafb;
        }

        .course-review-photo-thumb-inner img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        @media (max-width: 640px) {
            .course-review-card {
                flex: 0 0 82%;
            }
        }

        .course-review-lightbox {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.78);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 20px;
        }

        .course-review-lightbox.is-visible {
            display: flex;
        }

        .course-review-lightbox-inner {
            max-width: 90vw;
            max-height: 90vh;
            position: relative;
        }

        .course-review-lightbox-inner img {
            max-width: 100%;
            max-height: 100%;
            display: block;
            border-radius: 14px;
            box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
            background: #000;
        }

        .course-review-lightbox-close {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 32px;
            height: 32px;
            border-radius: 999px;
            border: none;
            background: #fff;
            color: #111827;
            font-size: 18px;
            cursor: pointer;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
        }


        .discount-banner {
            margin: 6px 0 10px;
            padding: 8px 12px;
            border-radius: 10px;
            background: #f97316;
            color: #fff;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 13px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
        }

        .discount-banner__label {
            opacity: .95;
        }

        .discount-banner__time {
            font-variant-numeric: tabular-nums;
            padding: 4px 8px;
            border-radius: 999px;
            background: rgba(0, 0, 0, .16);
        }

        .discount-banner.is-expired {
            background: #6b7280;
        }

        .ph-thumbs {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 12px;
        }

        .ph-thumbs button {
            padding: 0;
            border: 1px solid rgba(0, 0, 0, .1);
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            background: #fff;
            width: 84px;
            height: 84px;
        }

        .ph-thumbs button.active {
            border: 2px solid var(--brand);
        }

        .ph-thumbs img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }