/* Outlet Ebike Store Brescia
   Linea grafica delle grafiche "OUTLET" su Canva: verde bosco scuro, rosso, titoli Devant Horgen,
   sconto barrato con etichetta "DEALS", linee poligonali sottili. */

@font-face {
    font-family: "Devant Horgen";
    src: url("fonts/devant-horgen.woff2") format("woff2"), url("fonts/devant-horgen.woff") format("woff");
    font-display: swap;
}

.ol, .ol-dialog {
    --ol-red: #e30613;
    --ol-red-dark: #b8050f;
    --ol-red-light: #ff6159;   /* rosso leggibile sul verde scuro */
    --ol-forest: #0d2925;      /* fondo pagina */
    --ol-forest-2: #133a33;
    --ol-forest-3: #1d4d44;
    --ol-mist: #a9c4bb;
    --ol-ink: #0f1f1c;
    --ol-muted: #5b6965;
    --ol-line: #dce5e2;
    --ol-soft: #eef3f1;
    --ol-stage: radial-gradient(ellipse 75% 80% at 50% 45%, #fff 0%, #eef3f1 62%, #d6e2de 100%);
    --ol-display: "Devant Horgen", "Bebas Neue", "Oswald", Impact, sans-serif;
    --ol-radius: 6px;
    font-family: Archivo, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--ol-ink);
    line-height: 1.45;
}
.ol *, .ol *::before, .ol *::after,
.ol-dialog *, .ol-dialog *::before, .ol-dialog *::after { box-sizing: border-box; }
.ol {
    overflow-x: clip;   /* niente sbordi laterali (clip, a differenza di hidden, non blocca la barra filtri fissa) */
    max-width: 100%;
    color: #fff;
    background:
        radial-gradient(ellipse 80% 50% at 85% 0%, rgba(47, 107, 94, .45), transparent 70%),
        radial-gradient(ellipse 70% 40% at 0% 60%, rgba(29, 77, 68, .5), transparent 70%),
        var(--ol-forest);
}

/* Difese contro gli stili del tema WordPress (BeTheme impone colori e misure a titoli, immagini, pulsanti, link).
   :where() ha specificità bassa: le regole della landing scritte dopo continuano a valere. */
.ol [hidden], .ol-dialog [hidden] { display: none !important; }
.ol :where(h1, h2, h3), .ol-dialog :where(h2, h3) { color: inherit; font-weight: 400; }
.ol-dialog :where(dt) { font-weight: inherit; }
/* BeTheme lascia 19 px di margine ai lati del contenuto: la landing va da bordo a bordo */
.the_content_wrapper:has(> #outlet) { margin-left: 0; margin-right: 0; width: 100%; max-width: 100%; }
/* Utenti collegati a WordPress: la barra admin (32 px) si somma all'header fisso */
.admin-bar .ol-toolbar { top: calc(var(--ol-sticky-top, 0px) + 32px); }

.ol-wrap { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

/* Nelle grafiche il carattere dei titoli è sempre in maiuscolo */
.ol-kicker, .ol-hero-deal-label, .ol-deal-tag, .ol-hero-cta, .ol-hero-slot strong, .ol-last, .ol-zero, .ol-more,
.ol-from, .ol-btn, .ol-rr-name, .ol-rr-zero span, .ol-rr-steps b, .ol-rr-choice b, .ol-empty button { text-transform: uppercase; }
.ol-nw { white-space: nowrap; }

/* ---------- Sconto in stile Canva: numero barrato + etichetta DEALS ---------- */
.ol-deal { position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; line-height: .9; }
.ol-deal-pre { font-family: var(--ol-display); font-size: .3em; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .1em; }
.ol-deal-n { position: relative; font-family: var(--ol-display); letter-spacing: -.01em; }
.ol-deal-n::after {   /* la linea rossa diagonale */
    content: ""; position: absolute; left: -6%; right: -10%; top: 54%; height: .07em; min-height: 2px;
    background: var(--ol-red); transform: rotate(-14deg); transform-origin: center;
}
.ol-deal-tag {
    position: absolute; right: -.55em; bottom: -.08em;
    font-family: var(--ol-display); font-size: .26em; letter-spacing: .08em; line-height: 1;
    background: var(--ol-red); color: #fff; padding: .2em .45em .14em; transform: rotate(-14deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
}

/* ---------- Testata ---------- */
.ol-hero {
    position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ol-forest);
    min-height: clamp(640px, 88vh, 840px); display: flex; align-items: center;
}
.ol-hero-content { position: relative; width: 100%; padding-top: 48px; padding-bottom: 56px; }
.ol-hero-text { max-width: min(640px, calc(100% - 480px)); }

/* Immagine di testata (assets/hero-outlet.jpg, verticale 1080 x 1920): pannello inclinato a destra, come le foto nelle grafiche */
.ol-hero-media {
    position: absolute; z-index: -1; margin: 0; top: 44px; bottom: 44px; aspect-ratio: 9 / 16;
    right: max(32px, calc((100% - 1240px) / 2 + 32px));
    transform: rotate(2.5deg); box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
    outline: 1px solid rgba(255, 255, 255, .35); outline-offset: 12px;
}
.ol-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ol-hero-slot { display: none; }
/* Segnaposto finché l'immagine non c'è */
.ol-hero-media.is-empty {
    background:
        radial-gradient(ellipse 60% 70% at 75% 45%, rgba(47, 107, 94, .55), transparent 70%),
        repeating-linear-gradient(135deg, #0f2e29 0 18px, #11332d 18px 36px);
}
.ol-hero-media.is-empty .ol-hero-slot {
    position: absolute; inset: 16px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
    border: 2px dashed rgba(169, 196, 187, .45); border-radius: 8px; color: var(--ol-mist); padding: 16px;
}
.ol-hero-slot strong { font-family: var(--ol-display); font-size: 26px; font-weight: 400; letter-spacing: .04em; color: #fff; }
.ol-hero-slot span { font-size: 13px; }

/* Linee poligonali sottili, come nelle grafiche */
.ol-lines { position: absolute; z-index: -2; pointer-events: none; fill: none; stroke: #fff; stroke-width: 1.5; opacity: .55; }
.ol-hero .ol-lines { right: max(0px, calc((100% - 1240px) / 2)); top: 10%; width: 560px; height: 80%; }

.ol-logo { display: block; width: clamp(200px, 26vw, 300px); height: auto; margin: 0 0 22px; }
.ol-kicker { margin: 0 0 8px; font-family: var(--ol-display); font-size: 30px; line-height: 1; letter-spacing: .05em; color: #fff; }
.ol-kicker span { color: var(--ol-red-light); }
.ol-hero h1 {
    margin: 0 0 18px; font-family: var(--ol-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(42px, 6.4vw, 86px); line-height: .92; letter-spacing: .005em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.ol-hero h1 em { font-style: normal; color: var(--ol-red); }
.ol-hero-deal { display: flex; align-items: flex-end; gap: 14px; margin: 0 0 22px; }
.ol-hero-deal-label { font-family: var(--ol-display); font-size: 32px; line-height: .95; letter-spacing: .04em; color: var(--ol-mist); padding-bottom: .35em; }
.ol-hero-max { font-size: clamp(72px, 10vw, 128px); color: #fff; white-space: nowrap; }
.ol-lead { color: #d3e0dc; font-size: 18px; max-width: 56ch; margin: 0 0 24px; }
.ol-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.ol-stats li { border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: #e4ece9; background: rgba(13, 41, 37, .35); }
.ol-stats strong { color: #fff; }
.ol-stats .ol-stat-r4r { border-color: var(--ol-red); background: rgba(227, 6, 19, .18); }
.ol-hero-cta {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 14px 26px 12px;
    background: var(--ol-red); color: #fff; text-decoration: none;
    font-family: var(--ol-display); font-size: 30px; letter-spacing: .05em; line-height: 1;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: background .15s, transform .15s;
}
.ol-hero-cta:hover { background: var(--ol-red-dark); transform: translateY(-1px); }

/* Striscia delle marche che scorre */
.ol-marquee { background: var(--ol-red); color: #fff; overflow: hidden; padding: 12px 0 9px; transform: skewY(-1.2deg); margin: -8px 0 8px; position: relative; z-index: 2; }
.ol-marquee-track { display: flex; width: max-content; animation: ol-scroll 40s linear infinite; }
.ol-marquee-track span { font-family: var(--ol-display); font-size: 28px; letter-spacing: .08em; padding: 0 22px; white-space: nowrap; line-height: 1; }
.ol-marquee-track span::after { content: "/"; margin-left: 44px; opacity: .55; }
.ol-marquee:hover .ol-marquee-track { animation-play-state: paused; }
@keyframes ol-scroll { to { transform: translateX(-50%); } }

/* ---------- Filtri ---------- */
.ol-shop { padding-top: 40px; padding-bottom: 64px; }
.ol-toolbar {
    display: flex; flex-direction: column; gap: 10px; margin: 0 -16px 12px;
    position: sticky; top: var(--ol-sticky-top, 0px); z-index: 4; padding: 12px 16px;   /* nel sito: altezza dell'header fisso di BeTheme */
    background: rgba(13, 41, 37, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.ol-chips { display: flex; gap: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.ol-chips::-webkit-scrollbar { display: none; }
.ol-chips button {
    flex: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; padding: 9px 15px; border-radius: 999px;
}
.ol-chips button span { color: var(--ol-mist); font-weight: 400; margin-left: 3px; }
.ol-chips button:hover { border-color: #fff; }
.ol-chips button[aria-pressed="true"] { background: var(--ol-red); border-color: var(--ol-red); }
.ol-chips button[aria-pressed="true"] span { color: #ffd2d0; }
/* Seconda riga: filtri a sinistra, ordinamento e vista a destra; tutti i comandi alti uguali, etichetta sopra il valore */
.ol-filters {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
    padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .1);
}
.ol-filters-group { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ol-field, .ol-view {
    position: relative; height: 50px; margin: 0; box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--ol-radius); background: rgba(255, 255, 255, .06);
    transition: border-color .15s, background-color .15s;
}
.ol-field { display: block; width: 190px; cursor: pointer; }
.ol-field:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .1); }
.ol-field:focus-within { border-color: var(--ol-red-light); box-shadow: 0 0 0 2px rgba(255, 97, 89, .35); }
.ol-field.is-set { border-color: var(--ol-red); background: rgba(227, 6, 19, .14); }
.ol-field > span, .ol-view > span {
    font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--ol-mist);
}
.ol-field > span { position: absolute; top: 10px; left: 14px; pointer-events: none; }
.ol-field::after {   /* freccia */
    content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; pointer-events: none;
    border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-75%) rotate(45deg);
}
.ol-field select {
    position: absolute; inset: 0; width: 100%; height: 100%; min-width: 0; margin: 0; padding: 20px 36px 0 14px;
    -webkit-appearance: none; appearance: none; border: 0; border-radius: inherit; box-shadow: none; outline: none;
    background: transparent; color: #fff; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
    cursor: pointer; text-overflow: ellipsis;
}
.ol-field select option { color: var(--ol-ink); background: #fff; }
.ol-field-sort { width: 240px; }

.ol-view { display: flex; align-items: center; gap: 12px; padding: 0 5px 0 14px; }
.ol-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 4px; background: rgba(0, 0, 0, .28); }
.ol-switch button {
    font: inherit; font-size: 13px; font-weight: 700; line-height: 1; height: 34px; min-width: 76px; padding: 0 14px; margin: 0; cursor: pointer;
    border: 0; border-radius: 3px; background: transparent; color: var(--ol-mist); text-transform: uppercase; letter-spacing: .06em;
    box-shadow: none; transition: background-color .15s, color .15s;
}
.ol-switch button:hover { color: #fff; }
.ol-switch button[aria-pressed="true"] { background: var(--ol-red); color: #fff; }
.ol-chips button:focus-visible, .ol-switch button:focus-visible, .ol-reset:focus-visible { outline: 3px solid var(--ol-red-light); outline-offset: 2px; }
.ol-reset {
    font: inherit; font-size: 13px; font-weight: 700; color: var(--ol-red-light); background: none; border: 0; box-shadow: none;
    padding: 8px 6px; margin: 0; cursor: pointer; text-transform: uppercase; letter-spacing: .06em;
}
.ol-reset:hover { color: #fff; }
.ol-count { margin: 0 0 18px; color: var(--ol-mist); font-size: 14px; }
.ol-error { background: #fff4e5; color: var(--ol-ink); border: 1px solid #f3c58a; padding: 14px 16px; border-radius: 8px; }

/* ---------- Griglia e schede ---------- */
.ol-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ol-grid > li { margin: 0; padding: 0; display: flex; }
.ol-card {
    position: relative; display: flex; flex-direction: column; width: 100%;
    background: #fff; color: var(--ol-ink); text-decoration: none; overflow: hidden;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);   /* angolo tagliato */
    border-radius: var(--ol-radius) 0 var(--ol-radius) var(--ol-radius);
    transition: transform .18s, box-shadow .18s;
}
.ol-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .35); }
.ol-card:focus-visible { outline: 3px solid var(--ol-red-light); outline-offset: 2px; }

.ol-media {
    position: relative; isolation: isolate; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
    padding: 18px 12px 10px; background: var(--ol-stage);
}
.ol-img { width: 100%; height: 100%; object-fit: contain; display: block; mix-blend-mode: multiply; transition: transform .35s ease; }
.ol-card:hover .ol-img { transform: scale(1.06) translateX(4px); }
.ol-nofoto { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #8aa39c; font-size: 13px; }
.ol-nofoto svg { width: 72px; height: 45px; }

.ol-media .ol-deal { position: absolute; top: 10px; left: 14px; z-index: 1; font-size: 50px; color: var(--ol-forest); }
.ol-last {
    position: absolute; right: 26px; top: 12px; background: var(--ol-forest); color: #fff;
    font-family: var(--ol-display); font-size: 18px; letter-spacing: .06em; line-height: 1; padding: 5px 8px 3px;
}

.ol-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; border-top: 3px solid var(--ol-red); }
.ol-brand { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ol-muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ol-my { background: var(--ol-soft); color: var(--ol-ink); border-radius: 3px; padding: 2px 6px; letter-spacing: .02em; font-weight: 600; }
.ol-model { margin: 0; font-family: var(--ol-display); font-weight: 400; font-size: 31px; line-height: .98; letter-spacing: .02em; text-transform: uppercase; }
.ol-spec-line { margin: 2px 0 0; font-size: 13px; color: #3a4a46; line-height: 1.35; }
.ol-sizes-label { margin: 6px 0 0; font-size: 12px; color: var(--ol-muted); }
.ol-sizes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ol-sizes li {
    min-width: 36px; height: 32px; padding: 0 9px; display: inline-flex; align-items: center; justify-content: center; gap: 2px;
    border: 2px solid var(--ol-forest); border-radius: 4px; font-weight: 800; font-size: 14px; color: var(--ol-forest);
}
.ol-sizes small { font-weight: 600; font-size: 11px; color: var(--ol-muted); }
.ol-sizes li.is-match { background: var(--ol-forest); color: #fff; }
.ol-sizes li.is-match small { color: var(--ol-mist); }

.ol-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin-top: auto; padding-top: 10px; }
.ol-price strong { font-family: var(--ol-display); font-weight: 400; font-size: 48px; line-height: 1; letter-spacing: .01em; }
.ol-price del { color: var(--ol-muted); font-size: 15px; text-decoration-color: var(--ol-red); text-decoration-thickness: 2px; }
.ol-from { font-family: var(--ol-display); font-size: 22px; color: var(--ol-muted); margin-right: -4px; }
.ol-price-rata { gap: 2px 6px; }
.ol-price-rata strong { color: var(--ol-red); }
.ol-mese { font-family: var(--ol-display); font-size: 24px; color: var(--ol-forest); }
.ol-save-card { margin: 0; font-size: 13px; font-weight: 700; color: var(--ol-red); }
.ol-rent { margin: 0; font-size: 14px; color: var(--ol-forest-3); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.ol-rent strong { font-weight: 800; color: var(--ol-forest); }
.ol-zero {
    background: var(--ol-red); color: #fff; font-family: var(--ol-display); font-size: 17px; letter-spacing: .06em; line-height: 1;
    padding: 4px 7px 2px; transform: skewX(-8deg);
}
.ol-rent-off { color: var(--ol-muted); font-weight: 500; }
.ol-more {
    margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--ol-line);
    font-family: var(--ol-display); font-size: 23px; letter-spacing: .05em; color: var(--ol-red);
}
.ol-card:hover .ol-more { color: var(--ol-red-dark); }

.ol-grid > li.ol-empty {
    grid-column: 1 / -1; display: block; text-align: center; padding: 48px 16px;
    background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 255, 255, .25); border-radius: var(--ol-radius);
}
.ol-empty p { margin: 0 0 12px; font-size: 16px; }
.ol-empty button { font: inherit; font-weight: 800; border: 0; padding: 12px 20px; background: var(--ol-red); color: #fff; cursor: pointer; }

/* Comparsa a cascata delle schede (solo se il JS è attivo) */
.ol-reveal > li { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .45s ease; transition-delay: calc(var(--i, 0) * 70ms); }
.ol-reveal > li.is-in { opacity: 1; transform: none; }

/* ---------- Servizi: compresi nel prezzo e su richiesta ---------- */
.ol-sec-title {
    margin: 0 0 8px; font-family: var(--ol-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: .02em; color: #fff;
}
.ol-sec-title em { font-style: normal; color: var(--ol-red-light); }
.ol-sec-lead { margin: 0 0 24px; color: #d3e0dc; font-size: 17px; max-width: 70ch; }

.ol-incl { padding: 56px 0 8px; }
.ol-incl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.ol-incl-list li {
    position: relative; padding: 20px 18px 18px; background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .12); border-top: 3px solid var(--ol-red);
}
.ol-incl-list svg, .ol-extra-list svg {
    width: 34px; height: 34px; fill: none; stroke: var(--ol-red-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
    display: block; margin-bottom: 12px;
}
.ol-incl-list strong, .ol-extra-list strong {
    display: block; font-family: var(--ol-display); font-weight: 400; font-size: 28px; line-height: 1; letter-spacing: .03em;
    text-transform: uppercase; color: #fff; margin-bottom: 8px;
}
.ol-incl-list span, .ol-extra-list span { display: block; font-size: 14px; color: #c9d8d3; line-height: 1.45; }

/* Foto orizzontale (3:2) in cima a ogni servizio compreso; finché manca il file resta l'icona */
.ol-incl-list .ol-incl-foto {
    position: relative; margin: -20px -18px 16px; aspect-ratio: 3 / 2; overflow: hidden;
    background: radial-gradient(ellipse 70% 70% at 50% 45%, var(--ol-forest-3), var(--ol-forest-2));
    display: flex; align-items: center; justify-content: center;
}
.ol-incl-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.ol-incl-list .ol-incl-foto svg { width: 46px; height: 46px; margin: 0; opacity: .9; }
.ol-incl-foto:not(.is-empty) svg { display: none; }
.ol-incl-foto.is-empty img, .ol-hero-media.is-empty img { opacity: 0; }   /* niente icona di immagine rotta mentre si verifica se il file esiste */

.ol-extra { padding: 56px 0; background: var(--ol-forest-2); }
.ol-extra-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ol-extra .ol-extra-list a {
    display: block; height: 100%; padding: 20px 18px; text-decoration: none; color: inherit;
    background: var(--ol-forest-3); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
    transition: transform .15s, background .15s;
}
.ol-extra .ol-extra-list a:hover { background: #245a4f; transform: translateY(-2px); }

/* Nel dettaglio: i servizi compresi vicino al prezzo */
.ol-d-incl { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ol-d-incl li {
    font-size: 12px; font-weight: 600; color: var(--ol-forest); background: #fff; border: 1px solid var(--ol-line);
    padding: 5px 10px 5px 24px; border-radius: 999px; position: relative;
}
.ol-d-incl li::before {
    content: ""; position: absolute; left: 10px; top: 50%; width: 7px; height: 4px; margin-top: -3px;
    border-left: 2px solid var(--ol-red); border-bottom: 2px solid var(--ol-red); transform: rotate(-45deg);
}
.ol-d-incl-title { margin: 16px 0 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ol-muted); }
.ol-legal a { color: inherit; text-decoration: underline; }

/* ---------- Come funziona Rent4Ride ---------- */
.ol-r4r-info { position: relative; overflow: hidden; background: var(--ol-forest-2); padding: 56px 0; }
.ol-r4r-info h2 { margin: 0 0 24px; font-family: var(--ol-display); font-weight: 400; font-size: clamp(36px, 4.5vw, 56px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.ol-r4r-info h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.ol .ol-r4r-logo { height: 1.05em; width: auto; max-width: none; }
.ol-steps { list-style: none; counter-reset: s; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ol-steps li { counter-increment: s; background: var(--ol-forest-3); border-left: 3px solid var(--ol-red); padding: 18px 18px 18px 66px; position: relative; color: #d3e0dc; }
.ol-steps li::before {
    content: counter(s); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px;
    background: var(--ol-red); color: #fff; font-family: var(--ol-display); font-size: 24px; line-height: 1;
    display: flex; align-items: center; justify-content: center; transform: skewX(-8deg);
}
.ol-steps strong { display: block; color: #fff; font-family: var(--ol-display); font-weight: 400; font-size: 30px; letter-spacing: .03em; line-height: 1; margin-bottom: 6px; text-transform: uppercase; }
.ol-note { margin: 0 0 8px; color: #d3e0dc; }
.ol-r4r-cta { margin: 14px 0 20px; }
.ol-legal { font-size: 8pt; color: #454545; margin: 0; }
.ol-r4r-info .ol-legal { color: #8fa9a1; }   /* più scuro del testo ma leggibile sul verde (contrasto ≥ 4,5:1) */
.ol-foot { padding-top: 24px; padding-bottom: 36px; font-size: 13px; color: var(--ol-mist); }

/* ---------- Dettaglio bici ---------- */
.ol-dialog {
    width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0;
    border: 0; border-radius: 8px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.ol-dialog[open] { animation: ol-pop .28s ease-out; }
.ol-dialog::backdrop { background: rgba(6, 22, 19, .78); backdrop-filter: blur(3px); }
.ol-d-inner { position: relative; }
.ol-dialog .ol-close {
    position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%;
    padding: 0; margin: 0; min-width: 0; display: flex; align-items: center; justify-content: center;
    border: 0; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    font-size: 28px; line-height: 1; cursor: pointer; color: var(--ol-ink); z-index: 5;
}
.ol-dialog .ol-close:hover { background: var(--ol-red); color: #fff; }

/* Testata: la bici su un "palco" chiaro, il nome della marca in filigrana e le linee poligonali */
.ol-d-hero {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: center;
    padding: 44px 40px 32px; background: var(--ol-stage); border-bottom: 3px solid var(--ol-red);
}
.ol-d-hero::before {   /* linee poligonali, versione scura per il fondo chiaro */
    content: ""; position: absolute; z-index: -1; left: 4%; top: 10%; width: 52%; height: 82%; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 60' preserveAspectRatio='none'%3E%3Cpath d='M8 4 L70 1 L98 22 L86 58 L2 52 Z' fill='none' stroke='%231d4d44' stroke-width='.35' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
    opacity: .5;
}
.ol-d-watermark {
    position: absolute; left: 24px; bottom: -.12em; z-index: -1; pointer-events: none;
    font-family: var(--ol-display); font-size: clamp(90px, 15vw, 200px); line-height: 1; letter-spacing: .01em;
    text-transform: uppercase; white-space: nowrap; color: rgba(13, 41, 37, .06);
}
/* Niente z-index sul palco: altrimenti il "multiply" non fonde il bianco della foto con lo sfondo */
.ol-d-stage { position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; }
.ol-d-stage::after {
    content: ""; position: absolute; left: 10%; right: 10%; bottom: 3%; height: 18px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(0, 0, 0, .2), transparent); z-index: -1;
}
.ol-d-img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; animation: ol-ride .5s ease-out; }
.ol-d-stamp { position: absolute; top: -10px; left: 0; z-index: 2; font-size: 84px; color: var(--ol-forest); }

.ol-d-head { position: relative; }
.ol-d-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.ol-d-brand { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ol-red); }
.ol-cat { background: #fff; color: var(--ol-ink); border: 1px solid var(--ol-line); border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.ol-d-title {
    margin: 8px 48px 14px 0; font-family: var(--ol-display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(44px, 5.4vw, 72px); line-height: .92; letter-spacing: .01em; color: var(--ol-forest);
}
.ol-d-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.ol-d-price strong { font-family: var(--ol-display); font-weight: 400; font-size: 78px; line-height: .9; letter-spacing: .01em; color: var(--ol-ink); }
.ol-d-price del { color: var(--ol-muted); font-size: 20px; text-decoration-color: var(--ol-red); text-decoration-thickness: 2px; }
.ol-save { margin: 8px 0 0; color: var(--ol-red); font-weight: 600; }
.ol-save b { font-weight: 800; }
.ol-d-r4r {
    display: inline-block; margin: 14px 0 0; padding: 9px 16px; border-radius: 999px;
    background: var(--ol-forest); color: #fff; font-size: 14px;
}
.ol-d-r4r b { color: var(--ol-red-light); }

/* Montaggio principale */
.ol-specs { padding: 26px 40px 0; }
.ol-specs-title, .ol-opts legend, .ol-rr-h {
    margin: 0 0 12px; padding: 0; font-family: var(--ol-display); font-weight: 400; font-size: 27px; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.ol-specs-title, .ol-opts legend { color: var(--ol-forest); }
.ol-specs-grid { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.ol-spec {
    display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
    padding: 12px 14px; border: 1px solid var(--ol-line); border-left: 3px solid var(--ol-red); background: #fff;
}
.ol-spec svg { grid-row: 1 / 3; width: 40px; height: 40px; padding: 9px; background: var(--ol-soft); color: var(--ol-red); }
.ol-spec dt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ol-muted); }
.ol-spec dd { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; }

/* Corpo: taglie e pulsanti a sinistra, Rent4Ride a destra */
.ol-d-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 32px; padding: 30px 40px 40px; align-items: start; }
.ol-d-left { position: sticky; top: 24px; }

.ol-opts { border: 0; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ol-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ol-opt-box {
    display: flex; flex-direction: column; gap: 1px; min-width: 104px; padding: 10px 14px; cursor: pointer;
    border: 2px solid var(--ol-line); border-radius: 4px; font-size: 12px; color: var(--ol-muted);
    transition: border-color .15s, background .15s;
}
.ol-opt-box strong { font-family: var(--ol-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--ol-ink); }
.ol-opt-price { color: var(--ol-ink); font-weight: 700; font-size: 13px; }
.ol-opt:hover .ol-opt-box { border-color: #a9bab5; }
.ol-opt input:checked + .ol-opt-box { border-color: var(--ol-forest); background: var(--ol-forest); color: var(--ol-mist); }
.ol-opt input:checked + .ol-opt-box strong,
.ol-opt input:checked + .ol-opt-box .ol-opt-price { color: #fff; }
.ol-opt input:focus-visible + .ol-opt-box { outline: 3px solid var(--ol-red); outline-offset: 2px; }

.ol-actions { display: grid; gap: 10px; }
.ol-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 18px 9px;
    font-family: var(--ol-display); font-size: 29px; letter-spacing: .05em; line-height: 1; text-decoration: none; text-align: center;
    clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    transition: transform .15s, background .15s;
}
.ol-btn svg { width: 22px; height: 22px; flex: none; margin-top: -3px; }
.ol-btn:hover { transform: translateY(-1px); }
.ol-btn-primary { background: var(--ol-red); color: #fff; }
.ol-btn-primary:hover { background: var(--ol-red-dark); }
.ol-btn-secondary { background: var(--ol-forest); color: #fff; }
.ol-btn-secondary:hover { background: var(--ol-forest-3); }
.ol-btn-outline { background: #fff; color: var(--ol-forest); box-shadow: inset 0 0 0 2px var(--ol-forest); }
.ol-btn-outline:hover { background: var(--ol-soft); }
.ol-call { margin: 4px 0 0; font-size: 14px; color: var(--ol-muted); text-align: center; }
.ol-dialog .ol-call a { color: var(--ol-red) !important; font-weight: 700; }   /* il tema forza il colore dei link */

/* Card Rent4Ride */
.ol-rr {
    position: relative; overflow: hidden; padding: 24px; color: #dfe9e6;
    background: radial-gradient(circle at 100% 0, rgba(227, 6, 19, .28), transparent 45%), linear-gradient(160deg, var(--ol-forest-3), var(--ol-forest));
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
}
.ol-rr-name { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; color: #fff; }
.ol-dialog .ol-rr-logo { height: 40px; width: auto; max-width: none; display: block; }
.ol-rr-name span { font-family: Archivo, sans-serif; font-size: 12px; font-weight: 600; color: var(--ol-mist); text-transform: uppercase; letter-spacing: .12em; margin-left: 6px; }
.ol-rr-hero { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; margin: 16px 0 22px; }
.ol-rr-rata { display: flex; flex-direction: column; justify-content: center; }
.ol-rr-rata span { font-size: 13px; color: var(--ol-mist); }
.ol-rr-rata strong { font-family: var(--ol-display); font-weight: 400; font-size: 74px; color: #fff; line-height: .95; letter-spacing: .01em; }
.ol-rr-rata small { font-size: 22px; color: #cfdcd8; margin-left: 2px; }
.ol-rr-zero {
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 124px;
    background: var(--ol-red); color: #fff; padding: 10px 18px 6px; text-align: center;
    transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.ol-rr-zero span { font-family: var(--ol-display); font-size: 24px; letter-spacing: .1em; line-height: 1; }
.ol-rr-zero strong { font-family: var(--ol-display); font-weight: 400; font-size: 64px; line-height: .95; }

.ol-rr-h { color: var(--ol-mist); font-size: 22px; }
.ol-rr-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ol-rr-steps li { position: relative; padding: 22px 10px 0 0; }
.ol-rr-steps li::before {
    content: ""; position: absolute; top: 0; left: 0; width: 12px; height: 12px;
    background: var(--ol-red); transform: rotate(45deg); box-shadow: 0 0 0 4px rgba(227, 6, 19, .25);
}
.ol-rr-steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 5px; left: 20px; right: 4px; height: 2px;
    background: linear-gradient(90deg, var(--ol-red), rgba(255, 255, 255, .2));
}
.ol-rr-steps b { display: block; color: #fff; font-family: var(--ol-display); font-weight: 400; font-size: 25px; letter-spacing: .04em; line-height: 1.1; }
.ol-rr-steps span { display: block; font-size: 13px; color: #c3d3ce; line-height: 1.35; }

.ol-rr-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 8px; }
.ol-rr-choice { background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .12); padding: 14px; }
.ol-rr-choice svg { width: 26px; height: 26px; color: var(--ol-red-light); display: block; margin-bottom: 8px; }
.ol-rr-choice b { display: block; color: #fff; font-family: var(--ol-display); font-weight: 400; font-size: 30px; letter-spacing: .04em; line-height: 1; margin-bottom: 4px; }
.ol-rr-choice span { font-size: 13px; color: #c3d3ce; }
.ol-rr-alt { margin: 0 0 16px; font-size: 13px; color: var(--ol-mist); }

.ol-rr-perks { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ol-rr-perks li {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px;
    background: rgba(227, 6, 19, .16); border: 1px solid rgba(255, 97, 89, .55); color: #ffe3e1; font-size: 14px; font-weight: 600;
}
.ol-rr-perks svg { width: 17px; height: 17px; color: var(--ol-red-light); }

.ol-rr-list { margin: 0 0 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .15); display: grid; gap: 6px; }
.ol-rr-list div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.ol-rr-list dt { color: #b9cbc5; }
.ol-rr-list dd { margin: 0; font-weight: 600; color: #fff; white-space: nowrap; }
.ol-rr-list .ol-rr-list-zero dt, .ol-rr-list .ol-rr-list-zero dd { color: var(--ol-red-light); font-weight: 800; }
.ol-rr .ol-legal { color: #8fa9a1; }   /* più scuro ma leggibile sul verde (contrasto ≥ 4,5:1) */
.ol-rr-off { background: var(--ol-soft); color: var(--ol-ink); }
.ol-rr-off .ol-rr-name { color: var(--ol-forest); }
.ol-rr-off p:last-child { margin: 10px 0 0; color: #444; }

@keyframes ol-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes ol-ride { from { opacity: 0; transform: translateX(-28px); } }

@media (max-width: 760px) {
    /* Testata: locandina in alto a tutta larghezza, testo sotto */
    .ol-hero { display: block; min-height: 0; }
    .ol-hero-media { position: relative; inset: auto; z-index: 0; width: 100%; transform: none; box-shadow: none; outline: 0; }
    .ol-hero-media img { height: auto; }
    .ol-hero-media.is-empty { aspect-ratio: 16 / 10; }
    /* Logo e slogan sono già nella locandina: sotto non li ripeto (il titolo resta per Google e lettori di schermo) */
    .ol-hero:has(.ol-hero-media:not(.is-empty)) .ol-logo { display: none; }
    .ol-hero:has(.ol-hero-media:not(.is-empty)) h1 {
        position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
    }
    .ol-hero .ol-lines { display: none; }
    .ol-hero-content { padding-top: 8px; padding-bottom: 40px; }
    .ol-hero-text { max-width: none; }
    .ol-logo { width: 220px; margin-bottom: 16px; }
    .ol-kicker { font-size: 18px; }
    .ol-lead { font-size: 16px; }
    .ol-marquee-track span { font-size: 22px; padding: 0 16px; }
    .ol-marquee-track span::after { margin-left: 32px; }

    .ol-incl, .ol-extra { padding-top: 40px; }
    .ol-incl-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ol-incl-list li:first-child { grid-column: 1 / -1; }
    .ol-extra-list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ol-incl-list li, .ol-extra .ol-extra-list a { padding: 16px 14px; }
    .ol-incl-list .ol-incl-foto { margin: -16px -14px 12px; }
    .ol-incl-list strong, .ol-extra-list strong { font-size: 23px; }
    .ol-incl-list span, .ol-extra-list span { font-size: 13px; }
    .ol-sec-lead { font-size: 15px; }
    .ol-toolbar { position: static; padding: 10px 16px; }
    .ol-chips { margin: 0 -16px; padding: 0 16px 4px; }
    .ol-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 10px; }
    .ol-filters-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .ol-filters-end { grid-template-columns: 1fr; }
    .ol-field, .ol-field-sort { width: auto; min-width: 0; }
    .ol-field select { font-size: 14px; }
    .ol-reset { grid-column: 1 / -1; justify-self: start; padding: 2px 0; }
    .ol-view { padding: 0 4px 0 14px; }
    .ol-switch { display: flex; flex: 1; }
    .ol-switch button { flex: 1; min-width: 0; height: 40px; padding: 0 8px; }

    .ol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ol-card { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
    .ol-media { padding: 22px 8px 6px; }
    .ol-media .ol-deal { font-size: 34px; top: 6px; left: 10px; }
    .ol-last { font-size: 11px; right: 16px; top: 8px; padding: 4px 5px 2px; }
    .ol-body { padding: 10px 10px 12px; gap: 4px; }
    .ol-model { font-size: 24px; }
    .ol-spec-line { font-size: 12px; }
    .ol-price strong { font-size: 36px; }
    .ol-price del { font-size: 13px; }
    .ol-mese { font-size: 18px; }
    .ol-sizes li { min-width: 30px; height: 28px; font-size: 13px; padding: 0 7px; }
    .ol-save-card { font-size: 12px; }
    .ol-rent { font-size: 13px; }
    .ol-zero { font-size: 14px; }
    .ol-more { font-size: 19px; }

    .ol-dialog { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
    .ol-d-hero { grid-template-columns: 1fr; gap: 8px; padding: 56px 16px 22px; }
    .ol-d-hero::before { width: 90%; height: 40%; }
    .ol-d-watermark { left: 8px; font-size: 84px; }
    .ol-d-stamp { font-size: 56px; top: -24px; }
    .ol-d-title { font-size: 46px; margin-right: 0; }
    .ol-d-price strong { font-size: 60px; }
    .ol-specs { padding: 20px 16px 0; }
    .ol-specs-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .ol-spec { grid-template-columns: 1fr; padding: 10px; }
    .ol-spec svg { grid-row: auto; width: 32px; height: 32px; padding: 6px; margin-bottom: 6px; }
    .ol-spec dd { font-size: 13px; }
    .ol-d-body { grid-template-columns: 1fr; gap: 24px; padding: 20px 16px 32px; }
    .ol-d-left { position: static; }
    .ol-rr { padding: 18px; }
    .ol-rr-rata strong { font-size: 56px; }
    .ol-rr-zero { min-width: 100px; padding: 8px 12px 4px; }
    .ol-rr-zero strong { font-size: 50px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
    .ol-incl-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ol-extra-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
    .ol-rr-choices { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .ol-card, .ol-btn, .ol-hero-cta, .ol-img { transition: none; }
    .ol-card:hover, .ol-btn:hover { transform: none; }
    .ol-dialog[open], .ol-d-img, .ol-marquee-track { animation: none; }
}
