/* Biking Sardinia - nuovo noleggio ("rental booking"), fase 1, 28/11/2026. Tutto sotto .bsr.
   Parte visibile di public/js/bs-rental.js. Colori e caratteri del sito (bs-new-look.css). */
.bsr { --ink: #0F2E3D; --blue: #1F6FA8; --coral: #C73A14; --line: #D9E2E6; --soft: #F4F7F8; --muted: #55636D; --ok: #1E7A46; --okbg: #E6F4EC;
  font-family: Figtree, system-ui, sans-serif; color: var(--ink); background: var(--soft); padding-bottom: 40px; }
.bsr *, .bsr *::before, .bsr *::after { box-sizing: border-box; }
.bsr button, .bsr input, .bsr select { font-family: inherit; }

.bsr-hero { background: var(--ink); color: #fff; padding: 36px 20px 104px; }
.bsr-hero__in { max-width: 1180px; margin: 0 auto; }
.bsr-hero__eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A9D3EE; }
.bsr .bsr-hero__title { margin: 0; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: clamp(32px, 6vw, 52px); line-height: 1.05; font-weight: 700; color: #fff; }
.bsr-hero__tag { margin: 12px 0 0; max-width: none; font-size: 17px; line-height: 1.45; color: #D7E6EE; }

.bsr-bar { max-width: 1180px; margin: -76px auto 0; padding: 0 16px; position: relative; }
.bsr-form { background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 10px 30px rgba(15, 46, 61, .14); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.bsr .bsr-period { display: flex; align-items: center; justify-content: center; gap: 6px 14px; flex-wrap: wrap; min-height: 64px; padding: 12px 18px; border-radius: 16px; border: 0; background: var(--coral); color: #fff; cursor: pointer; text-align: center; font-size: 15px; }
.bsr .bsr-period > strong { font-size: 17px; }
.bsr .bsr-period:hover { background: #A93010; }
.bsr .bsr-period.is-set { background: var(--soft); border: 1.5px solid var(--line); color: var(--ink); justify-content: space-around; }
.bsr .bsr-period.is-set:hover { border-color: var(--blue); background: #EAF3F9; }
.bsr-period__col { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.bsr-period__col small { font-size: 12px; font-weight: 700; color: var(--muted); }
.bsr-period__col strong { font-size: 18px; }
.bsr-period__col span { font-size: 14px; color: var(--muted); font-weight: 600; }
.bsr-period__arrow { font-size: 20px; color: var(--muted); }
.bsr button:focus-visible, .bsr a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.bsr-days { grid-column: 1 / -1; margin: 0; padding: 9px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; font-weight: 600; color: var(--muted); }
.bsr-days.is-set { background: #EAF3F9; color: #17557F; }
.bsr-where { grid-column: 1 / -1; margin: 0; font-size: 14px; color: #33434D; }

.bsr-list { max-width: 1180px; margin: 0 auto; padding: 22px 16px 0; }
.bsr-cats { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.bsr-cats::-webkit-scrollbar { display: none; }
.bsr .bsr-cat { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.bsr .bsr-cat.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.bsr-sum { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; padding: 6px 0 14px; font-size: 15px; color: var(--muted); }
.bsr-sum strong { color: var(--ink); font-size: 16px; }
.bsr-sum__warn { flex-basis: 100%; font-size: 13px; }
.bsr-error { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #FDECE7; color: #8F2A0E; font-size: 15px; font-weight: 600; }
.bsr-loading { margin: 0 0 14px; font-size: 15px; color: var(--muted); }

.bsr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.bsr-grid.is-loading { opacity: .5; pointer-events: none; }
.bsr-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.bsr-card__photo { position: relative; display: flex; align-items: center; justify-content: center; height: 190px; background: #fff; border-bottom: 1px solid var(--line); padding: 12px; }
.bsr-card__photo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.bsr-card__cat { position: absolute; left: 12px; top: 12px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.bsr-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.bsr-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bsr .bsr-card__title { margin: 0; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 20px; line-height: 1.15; font-weight: 700; }
.bsr .bsr-card__title a { color: var(--ink); text-decoration: none; }
.bsr .bsr-card__title a:hover { text-decoration: underline; }
.bsr-card__price { margin: 0; text-align: right; flex-shrink: 0; line-height: 1.1; }
.bsr-card__price strong { display: block; font-size: 22px; color: var(--coral); }
.bsr-card__price span, .bsr-card__price small { font-size: 12px; color: var(--muted); }
.bsr-size__price { font-size: 12px; font-weight: 700; }
.bsr-card__total { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--soft); font-size: 14px; color: #33434D; }
.bsr-card__pick { margin: 2px 0 0; font-size: 13px; font-weight: 700; }
.bsr-sizes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bsr .bsr-size { display: flex; flex-direction: column; gap: 3px; text-align: left; min-height: 58px; padding: 9px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.bsr-size__top { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.bsr-size__label { font-size: 16px; font-weight: 700; }
.bsr-size__cm { font-size: 12px; font-weight: 600; white-space: nowrap; }
.bsr-size__avail { font-size: 12px; font-weight: 600; }
.bsr .bsr-size.is-free { background: var(--okbg); border-color: var(--ok); color: #145C33; }
.bsr .bsr-size.is-free:hover { background: #D3ECDD; }
.bsr .bsr-size.is-off { background: #EEF1F3; border-style: dashed; border-color: #B9C4CA; color: #5B6770; cursor: not-allowed; }
.bsr .bsr-size.is-off .bsr-size__label { text-decoration: line-through; }
.bsr .bsr-size.is-busy { opacity: .6; cursor: progress; }
.bsr-card__out { margin: 0; padding: 12px; border-radius: 12px; background: #EEF1F3; font-size: 14px; color: #33434D; }
.bsr-card.is-out .bsr-card__photo img { opacity: .55; }
.bsr .bsr-card__more { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; text-decoration: none; }
.bsr-card__note { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.bsr-card__note.is-ok { background: var(--okbg); color: #145C33; }
.bsr-card__note.is-err { background: #FDECE7; color: #8F2A0E; }

@media (max-width: 520px) {
  .bsr-hero { padding: 28px 20px 96px; }
  .bsr-form { padding: 14px; }
  .bsr-grid { grid-template-columns: minmax(0, 1fr); }
  .bsr-card__photo { height: 170px; }
}

/* ---- finestra del periodo di noleggio (come il selettore di Booqable) ---- */
html.bsr-pk-open { overflow: hidden; }
.bsr.bsr-pk { position: fixed; inset: 0; z-index: 2147483000; background: rgba(15, 46, 61, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.bsr-pk__box { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; max-height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.bsr-pk__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
.bsr .bsr-pk__title { margin: 0; font-family: Figtree, system-ui, sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); }
.bsr .bsr-pk__x { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; border-radius: 999px; }
.bsr-pk__fields { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 18px; background: var(--soft); border-bottom: 1px solid var(--line); }
.bsr-pk__lab { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.bsr-pk__row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 6px; }
.bsr .bsr-pk__f { min-height: 46px; padding: 0 8px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsr .bsr-pk__f.is-empty { font-weight: 500; color: var(--muted); }
.bsr .bsr-pk__f.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.bsr .bsr-pk__f:disabled { background: #EEF1F3; cursor: not-allowed; }
.bsr .bsr-pk__clear { position: absolute; right: 14px; top: 2px; min-height: 28px; border: 0; background: transparent; font-size: 13px; color: var(--muted); cursor: pointer; }
.bsr-pk__body { padding: 12px 18px 16px; overflow-y: auto; flex: 1 1 auto; min-height: 320px; }
.bsr-pk__step { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.bsr-pk__nav { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.bsr-pk__month { flex: 1 1 auto; text-align: center; font-size: 16px; text-transform: capitalize; }
.bsr .bsr-pk__arrow { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; color: var(--ink); cursor: pointer; border-radius: 999px; }
.bsr .bsr-pk__arrow:disabled { color: #B9C4CA; cursor: default; }
.bsr .bsr-pk__today { min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; color: var(--muted); cursor: pointer; }
.bsr-pk__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.bsr-pk__wd { font-size: 12px; font-weight: 700; color: var(--muted); padding: 6px 0; }
.bsr .bsr-pk__day { height: 44px; border: 0; background: transparent; border-radius: 999px; font-size: 15px; color: var(--ink); cursor: pointer; }
.bsr .bsr-pk__day:hover:not(:disabled) { background: #EAF3F9; }
.bsr .bsr-pk__day:disabled { color: #6B7880; text-decoration: line-through; cursor: default; }
.bsr .bsr-pk__day.is-today { font-weight: 700; text-decoration: underline; }
.bsr .bsr-pk__day.is-in { background: #EAF3F9; border-radius: 0; }
.bsr .bsr-pk__day.is-sel { background: var(--ink); color: #fff; font-weight: 700; }
.bsr-pk__hour { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 8px; padding: 6px 0; border-bottom: 1px solid #EEF1F3; }
.bsr-pk__h { font-size: 18px; font-weight: 700; padding-top: 10px; }
.bsr-pk__slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.bsr .bsr-pk__slot { min-height: 44px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-size: 14px; color: var(--ink); cursor: pointer; }
.bsr .bsr-pk__slot:hover:not(:disabled) { border-color: var(--ink); }
.bsr .bsr-pk__slot.is-sel { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }
.bsr .bsr-pk__slot:disabled { background: #EEF1F3; color: #6B7880; text-decoration: line-through; cursor: default; }
.bsr-pk__foot { display: flex; justify-content: flex-end; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); }
.bsr .bsr-pk__cancel { min-height: 48px; padding: 0 18px; border: 0; background: transparent; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; }
.bsr .bsr-pk__apply { min-height: 48px; padding: 0 26px; border: 0; border-radius: 10px; background: var(--ink); color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; }
.bsr .bsr-pk__apply:disabled { background: #7C8A92; cursor: not-allowed; }
@media (max-width: 520px) {
  .bsr.bsr-pk { padding: 0; align-items: stretch; }
  .bsr-pk__box { border-radius: 0; max-width: none; }
  .bsr-pk__slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bsr-pk__fields { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 10px; }
  .bsr-pk__body { min-height: 0; }
}

/* 28/11/2026: le immagini dentro "Prima di partire" (regole e condizioni sotto l elenco) non devono allargare la pagina da telefono */
.bs-rent-more img { max-width: 100%; height: auto; }
.bs-rent-more table { display: block; max-width: 100%; overflow-x: auto; }

/* ---- v3: barra di ricerca a quattro campi (Dal, Al, Ritiro e riconsegna, Tipologia) + Cerca ---- */
.bsr-form { gap: 14px; }
.bsr-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 18px; }
.bsr .bsr-f { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 64px; padding: 8px 26px 10px 2px; border: 0; border-bottom: 2px solid var(--line); background: transparent; color: var(--ink); text-align: left; position: relative; min-width: 0; }
.bsr button.bsr-f { cursor: pointer; }
.bsr button.bsr-f::after { content: ''; position: absolute; right: 8px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); }
.bsr button.bsr-f:hover { border-bottom-color: var(--blue); }
.bsr-f__label { font-size: 12px; font-weight: 700; color: var(--muted); }
.bsr-f__value { font-size: 17px; font-weight: 700; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bsr-f.is-empty .bsr-f__value { font-weight: 600; color: #33434D; }
.bsr-f__sub { font-size: 13px; font-weight: 600; color: var(--muted); }
.bsr-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.bsr-actions .bsr-days { flex: 1 1 200px; grid-column: auto; }
.bsr .bsr-reset { min-height: 44px; padding: 0 6px; border: 0; background: transparent; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.bsr .bsr-go { min-height: 54px; min-width: 220px; padding: 0 28px; border: 0; border-radius: 12px; background: var(--coral); color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; }
.bsr .bsr-go:hover { background: #A93010; }
.bsr-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 12px; }
.bsr .bsr-chip { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.bsr .bsr-chip--all { background: #fff; color: var(--ink); border-color: var(--line); }
/* finestra delle tipologie */
.bsr-ty__box { max-width: 820px; }
.bsr-ty .bsr-pk__head { align-items: flex-start; padding: 16px 18px; gap: 12px; }
.bsr-ty__sub { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.bsr .bsr-ty__clear { min-height: 44px; border: 0; background: transparent; color: var(--ink); font-size: 15px; font-weight: 700; text-decoration: underline; cursor: pointer; white-space: nowrap; }
.bsr-ty__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; background: #fff; }
.bsr .bsr-ty__group { margin: 0; padding: 6px 14px 10px; border: 1.5px solid var(--line); border-radius: 14px; min-width: 0; }
.bsr .bsr-ty__legend { width: auto; margin: 0; padding: 0 6px; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); border: 0; }
.bsr-ty__row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; min-height: 44px; }
.bsr-ty__row.is-all { border-bottom: 1px solid var(--line); margin-bottom: 2px; align-items: center; }
.bsr .bsr-ty__row input { width: 22px; height: 22px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--ink); cursor: pointer; }
.bsr .bsr-ty__row label { margin: 0; display: flex; flex-direction: column; gap: 1px; cursor: pointer; flex: 1 1 auto; min-width: 0; }
.bsr-ty__name { font-size: 15px; font-weight: 700; color: var(--ink); }
.bsr-ty__name small { font-weight: 500; color: var(--muted); font-size: 13px; }
.bsr-ty__row.is-all .bsr-ty__name { color: #17557F; }
.bsr-ty__desc { font-size: 13px; color: var(--muted); }
.bsr-ty__foot { align-items: center; justify-content: space-between; gap: 14px; }
.bsr-ty__note { margin: 0; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) {
  .bsr-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
}
@media (max-width: 520px) {
  .bsr-ty__body { grid-template-columns: minmax(0, 1fr); }
  .bsr .bsr-go { flex: 1 1 100%; min-width: 0; }
  .bsr-actions .bsr-days { flex-basis: 100%; }
  .bsr-f__value { font-size: 16px; white-space: normal; overflow: visible; line-height: 1.2; }
  .bsr .bsr-f { padding-right: 20px; }
}

/* ---- v4: prezzo in un'etichetta gialla sull'angolo della card ---- */
.bsr-tag { position: absolute; top: 0; right: 0; display: flex; align-items: baseline; gap: 4px; padding: 16px 12px 8px 18px; background: #FFD23F; color: var(--ink); border-bottom-left-radius: 26px; font-weight: 700; line-height: 1; }
.bsr-tag__from { position: absolute; top: 5px; right: 12px; font-size: 12px; font-weight: 700; }
.bsr-tag__n { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; }
.bsr-tag__u { font-size: 14px; font-weight: 700; }
.bsr-tag.is-out { background: #E3E8EB; color: #5B6770; }
.bsr-card__photo { padding-top: 44px; height: 214px; }
.bsr-card__head { display: block; }
@media (max-width: 520px) { .bsr-card__photo { height: 196px; } .bsr-tag__n { font-size: 30px; } }

/* v4b: prezzo in grassetto vero. Figtree sul sito e' caricato solo fino al peso 600: l'etichetta usa il carattere dei titoli (Bricolage Grotesque 700) */
.bsr-tag, .bsr-tag__n, .bsr-tag__u, .bsr-tag__from { font-family: 'Bricolage Grotesque', Figtree, system-ui, sans-serif; font-weight: 700; }
.bsr-tag__n { font-size: 38px; }
.bsr-tag__u { font-size: 15px; }
@media (max-width: 520px) { .bsr-tag__n { font-size: 34px; } }

/* ---- v5: eventi ---- */
.bsr .bsr-ty__events { grid-column: 1 / -1; background: #FFF7D6; border-color: #E6C24A; }
.bsr .bsr-ty__event { display: flex; flex-direction: column; gap: 2px; width: 100%; min-height: 56px; margin: 6px 0; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.bsr .bsr-ty__event strong { font-size: 16px; }
.bsr .bsr-ty__event span { font-size: 13px; color: #33434D; }
.bsr .bsr-ty__event:hover, .bsr .bsr-ty__event.is-on { background: var(--ink); color: #fff; }
.bsr .bsr-ty__event:hover span, .bsr .bsr-ty__event.is-on span { color: #D7E6EE; }
.bsr-event { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: #FFD23F; color: var(--ink); }
.bsr-event__tx { margin: 0; flex: 1 1 260px; font-size: 15px; }
.bsr-event__tx strong { font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 17px; }

/* ---- v6: 12 bici alla volta ---- */
.bsr-more { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 0 6px; }
.bsr-more__count { margin: 0; font-size: 14px; color: var(--muted); }
.bsr .bsr-more__btn { min-height: 54px; min-width: 260px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--ink); background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.bsr .bsr-more__btn:hover { background: var(--ink); color: #fff; }

/* v6b: testo della fascia evento sempre blu scuro (il tema del sito schiariva i paragrafi) */
.bsr .bsr-event .bsr-event__tx, .bsr .bsr-event .bsr-event__tx strong { color: #0F2E3D; }
.bsr .bsr-card__pick { color: #0F2E3D; }

/* ---- v7: 12 bici per pagina, numeri di pagina ---- */
.bsr-pages { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 0 6px; }
.bsr .bsr-pages__count { margin: 0; font-size: 14px; color: #55636D; }
.bsr-pages__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.bsr .bsr-page { min-width: 48px; height: 48px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-size: 16px; font-weight: 700; cursor: pointer; }
.bsr .bsr-page:hover:not(:disabled):not(.is-on) { border-color: var(--ink); }
.bsr .bsr-page.is-on { background: var(--ink); border-color: var(--ink); color: #fff; cursor: default; }
.bsr .bsr-page--arrow { font-size: 24px; line-height: 1; }
.bsr .bsr-page:disabled { color: #9AA7AE; cursor: default; }

/* ---- v8: bici a stock temporaneo (solo per un evento) ---- */
.bsr .bsr-card__only { margin: 0; padding: 8px 10px; border-radius: 10px; background: #FFF7D6; color: #0F2E3D; font-size: 13px; font-weight: 600; }
div.bsr-card__photo { cursor: default; }

/* ---- v9: immagini dentro "Prima di partire" piu' piccole (il casco occupava tutto lo schermo) ---- */
.bs-rent-more .page-template-content img { display: block; max-width: min(100%, 420px); height: auto; margin: 12px auto; border-radius: 12px; }

/* ---- 28/11/2026 sera: pulsanti Prenota / Piu' info e scheda "Piu' info" ---- */
.bsr-card__acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: auto; padding-top: 4px; }
.bsr .bsr-card__info, .bsr .bsr-card__book { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 16px; border-radius: 12px; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; font-family: inherit; }
.bsr .bsr-card__info { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.bsr .bsr-card__info:hover { background: var(--soft); }
.bsr .bsr-card__book { background: var(--coral); color: #fff; border: 0; box-shadow: 0 6px 16px rgba(199,58,20,.28); }
.bsr .bsr-card__book:hover { background: #A93010; color: #fff; }
.bsr .bsr-card__book:disabled { background: #B9C4CA; box-shadow: none; cursor: not-allowed; }
.bsr .bsr-card__book.is-busy { opacity: .6; cursor: progress; }

.bsr-mi { position: fixed; inset: 0; z-index: 100000; background: rgba(15,46,61,.55); display: flex; align-items: flex-start; justify-content: center; padding: 4vh 16px; overflow-y: auto; }
.bsr-mi__box { position: relative; width: 100%; max-width: 1040px; background: #fff; border-radius: 20px; padding: 36px 36px 28px; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.bsr .bsr-mi__x { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 32px; line-height: 1; color: #55636D; cursor: pointer; border-radius: 50%; }
.bsr .bsr-mi__x:hover { background: var(--soft); color: var(--ink); }
.bsr-mi__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: start; }
.bsr-mi__left { display: flex; flex-direction: column; gap: 12px; }
.bsr-mi__cat { align-self: flex-start; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.bsr .bsr-mi__title { margin: 0; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 30px; line-height: 1.1; font-weight: 700; color: var(--ink); }
.bsr-mi__prices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.bsr-mi__p { flex: 1 1 120px; max-width: 170px; background: #FFD23F; color: var(--ink); text-align: center; padding: 10px 8px; }
.bsr-mi__p span { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.bsr-mi__p strong { display: block; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 28px; font-weight: 700; line-height: 1.15; }
.bsr .bsr-mi__pnote { margin: -4px 0 0; font-size: 13px; color: #33434D; }
.bsr-mi__sizes { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.bsr-mi__right { display: flex; flex-direction: column; gap: 10px; }
.bsr-mi__big { display: flex; align-items: center; justify-content: center; height: 380px; background: #fff; }
.bsr-mi__big img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bsr-mi__thumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bsr .bsr-mi__th { width: 64px; height: 52px; padding: 3px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.bsr .bsr-mi__th.is-on { border-color: var(--ink); }
.bsr-mi__th img { width: 100%; height: 100%; object-fit: contain; }
.bsr-mi__desc { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.bsr .bsr-mi__text, .bsr .bsr-mi__text p, .bsr .bsr-mi__text li { font-size: 16px; line-height: 1.6; color: #22333D; }
.bsr .bsr-mi__text h3, .bsr .bsr-mi__text h4 { margin: 14px 0 6px; font-size: 18px; font-weight: 700; color: var(--ink); }
.bsr .bsr-mi__text p { margin: 0 0 10px; }
.bsr .bsr-mi__text ul { margin: 0 0 10px; padding-left: 20px; }
.bsr .bsr-mi__page { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--blue); text-decoration: none; }
.bsr .bsr-mi__page:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .bsr-mi { padding: 0; }
  .bsr-mi__box { min-height: 100%; border-radius: 0; padding: 52px 18px 24px; }
  .bsr-mi__top { grid-template-columns: 1fr; gap: 16px; }
  .bsr-mi__right { order: -1; }
  .bsr-mi__big { height: 240px; }
  .bsr .bsr-mi__title { font-size: 24px; }
  .bsr-mi__p strong { font-size: 24px; }
}

/* ---- 28/11/2026 sera: categorie a pillola sotto la barra e vista Extra ---- */
.bsr-cats { padding: 22px 20px 4px; }
.bsr-cats__in { max-width: 1180px; margin: 0 auto; }
.bsr .bsr-cats__h { margin: 0 0 14px; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 26px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.bsr-cats__row { display: flex; flex-wrap: wrap; gap: 10px; }
.bsr .bsr-cat { min-height: 42px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.bsr .bsr-cat:hover { border-color: var(--ink); }
.bsr .bsr-cat.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .bsr-cats { padding: 18px 0 0; }
  .bsr-cats__in { padding: 0 16px; }
  .bsr .bsr-cats__h { font-size: 21px; }
  .bsr-cats__row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
  .bsr-cats__row::-webkit-scrollbar { display: none; }
  .bsr .bsr-cat { flex: 0 0 auto; }
}
.bsr-ex { max-width: 1180px; margin: 0 auto; }
.bsr .bsr-ex__h { margin: 0 0 6px; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); }
.bsr .bsr-ex__sub { margin: 0 0 18px; font-size: 16px; color: #33434D; }
.bsr-ex__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.bsr-ex__card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.bsr-ex__ph { height: 150px; display: flex; align-items: center; justify-content: center; }
.bsr-ex__ph img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bsr .bsr-ex__name { margin: 0; font-family: 'Bricolage Grotesque', Figtree, sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); }
.bsr-ex__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bsr-ex__list li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #33434D; border-top: 1px solid #EEF1F3; padding-top: 6px; }
.bsr-ex__list strong { color: var(--ink); white-space: nowrap; }
.bsr .bsr-ex__back { margin-top: 20px; min-width: 240px; }

/* ---- 28/11/2026 19:15: la taglia si sceglie, Prenota la aggiunge ---- */
.bsr .bsr-size.is-free.is-sel { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 0 0 3px rgba(15,46,61,.18); }
.bsr .bsr-size.is-free.is-sel .bsr-size__cm, .bsr .bsr-size.is-free.is-sel .bsr-size__avail, .bsr .bsr-size.is-free.is-sel .bsr-size__price { color: #fff; }
.bsr .bsr-card__book.is-ready { background: #1E7A46; box-shadow: 0 6px 16px rgba(30,122,70,.3); }
.bsr .bsr-card__book.is-ready:hover { background: #145C33; }
.bsr-mi__sizes .bsr-card__book { min-height: 54px; font-size: 17px; }
