/* Parti nuove di CiaoIschia (risultati, richiesta), nei colori del sito storico */
.ci-search-hero { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); padding: 28px 0 8px; color: #fff; }
.ci-search-title { color: #fff; font-size: 1.9rem; font-weight: 700; margin: 0 0 14px; }
.ci-search-hero .search-box-25 { margin-bottom: 18px; }
.ci-ages { margin-top: 10px; }
.ci-results { padding: 28px 15px 48px; }
.ci-summary { font-size: 1.05rem; color: #2c3e50; margin-bottom: 18px; }
.ci-block { margin-bottom: 32px; }
.ci-block-title { font-size: 1.35rem; font-weight: 700; color: #2c3e50; margin: 0 0 14px; }
.ci-block-title i { color: #3498db; margin-right: 6px; }

.ci-hotel { display: grid; grid-template-columns: 200px minmax(0, 1fr) 210px; gap: 18px; align-items: center; background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 12px; margin-bottom: 14px; }
.ci-hotel--selected { border: 2px solid #27ae60; }
.ci-hotel__img { height: 140px; border-radius: 8px; background: #ecf0f1 center / cover no-repeat; display: flex; align-items: center; justify-content: center; color: #95a5a6; font-size: 2rem; }
.ci-hotel__name { font-size: 1.15rem; font-weight: 700; color: #2c3e50; margin: 0 0 6px; }
.ci-stars { color: #f1c40f; font-size: .95rem; letter-spacing: 1px; white-space: nowrap; }
.ci-hotel__meta { color: #5d6d7e; margin: 0 0 6px; font-size: .95rem; }
.ci-hotel__note { color: #1e8449; margin: 0; font-size: .9rem; font-weight: 600; }
.ci-hotel__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ci-hotel__for { color: #5d6d7e; font-size: .85rem; }
.ci-hotel__amount { font-size: 1.6rem; font-weight: 800; color: #2c3e50; line-height: 1.1; }
@media (max-width: 767.98px) {
    .ci-hotel { grid-template-columns: 110px minmax(0, 1fr); }
    .ci-hotel__img { height: 96px; }
    .ci-hotel__price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
}

.ci-btn-request { background: #27ae60; color: #fff; font-weight: 700; border-radius: 6px; padding: 9px 16px; border: 0; }
.ci-btn-request:hover, .ci-btn-request:focus { background: #1e8449; color: #fff; }
.ci-btn-request:disabled { opacity: .6; }
.ci-loading { color: #5d6d7e; padding: 14px 0; }
.ci-empty { background: #f8f9fa; border-radius: 10px; padding: 22px; color: #2c3e50; }
.ci-empty h2 { font-size: 1.3rem; font-weight: 700; }
.ci-cta-box { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: #2c3e50; color: #ecf0f1; border-radius: 10px; padding: 22px 24px; }
.ci-cta-box h2 { color: #fff; font-size: 1.3rem; margin: 0 0 4px; }
.ci-cta-box p { margin: 0; }
.ci-contact { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 22px; text-align: center; height: 100%; }
.ci-contact > i { font-size: 1.8rem; color: #3498db; margin-bottom: 8px; }
.ci-contact h2 { font-size: 1.1rem; font-weight: 700; color: #2c3e50; }
.ci-req-summary { background: #f8f9fa; border-radius: 8px; padding: 10px 12px; margin-bottom: 14px; color: #2c3e50; }
#ciRequestModal .modal-title { font-weight: 700; color: #2c3e50; }
[hidden] { display: none !important; }

/* Finestra di richiesta: i fogli storici azzerano .form-control, qui si ridisegnano */
#ciRequestModal .modal-content { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(44, 62, 80, .35); }
#ciRequestModal .modal-header { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); color: #fff; border: 0; }
#ciRequestModal .modal-header .modal-title { color: #fff; }
#ciRequestModal .modal-header .close { color: #fff; opacity: .9; text-shadow: none; }
#ciRequestModal label { font-weight: 600; color: #2c3e50; font-size: .92rem; margin-bottom: 4px; }
#ciRequestModal .form-control { display: block; width: 100%; height: auto; min-height: 44px; padding: 10px 12px; font-size: 1rem; color: #2c3e50; background: #fff; border: 1px solid #bdc3c7; border-radius: 6px; box-shadow: none; }
#ciRequestModal textarea.form-control { min-height: 90px; }
#ciRequestModal .form-control:focus { border-color: #3498db; box-shadow: 0 0 0 3px rgba(52, 152, 219, .2); outline: none; }
#ciRequestModal .custom-control-label { font-weight: 400; font-size: .88rem; }
#ciRequestModal .modal-footer { border-top: 1px solid #ecf0f1; }
.modal-backdrop.show { opacity: .55; }

/* Pagina offerte: selettore arrivo e trattamento fisso */
.ci-select { display: block; width: 100%; min-height: 44px; padding: 8px 10px; font-size: .95rem; color: #2c3e50; background: #fff; border: 1px solid #bdc3c7; border-radius: 6px; }
.ci-static-value { min-height: 44px; display: flex; align-items: center; padding: 8px 10px; background: #f8f9fa; border-radius: 6px; color: #2c3e50; font-weight: 600; }
.whatsapp-mobile-25 { margin-top: 10px; }
.btn-filter-reset-25, .btn-filter-reset-25 i { color: #fff !important; }

/* Calendario (Flatpickr) nei colori CiaoIschia, come quello di ViaggioTanto */
.flatpickr-calendar { border-radius: 14px !important; max-width: calc(100vw - 1.5rem); font-family: inherit; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: #3498db !important; border-color: #3498db !important; color: #fff !important; border-radius: 10px !important; }
.flatpickr-day.inRange { background: #eaf4fb !important; border-color: #eaf4fb !important; box-shadow: -5px 0 0 #eaf4fb, 5px 0 0 #eaf4fb !important; color: #2c3e50 !important; }
.flatpickr-day.today { border-color: #f39c12 !important; border-width: 2px !important; }
.flatpickr-day:hover { background: #d6eaf8 !important; }
.flatpickr-months .flatpickr-month, .flatpickr-current-month .flatpickr-monthDropdown-months { color: #2c3e50; }
.ci-date { background: #fff !important; }
@media (max-width: 991.98px) {
    .flatpickr-calendar { width: 100% !important; max-width: 360px !important; left: 50% !important; transform: translateX(-50%); }
    .flatpickr-calendar:before, .flatpickr-calendar:after { display: none !important; }
}

/* ---------- Ricerca arricchita ---------- */
.ci-filters { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 16px; position: sticky; top: 12px; }
.ci-filters__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.ci-filters__head h2 { font-size: 1.1rem; font-weight: 700; color: #2c3e50; margin: 0; }
.ci-filters fieldset { border: 0; border-top: 1px solid #ecf0f1; padding: 12px 0 6px; margin: 0; }
.ci-filters legend { font-size: .9rem; font-weight: 700; color: #2c3e50; margin-bottom: 6px; width: auto; }
.ci-filters legend output { font-weight: 400; color: #5d6d7e; margin-left: 4px; }
.ci-check { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #2c3e50; margin: 0 0 6px; cursor: pointer; }
.ci-check input { width: 17px; height: 17px; accent-color: #3498db; flex: none; }
.ci-check em { font-style: normal; color: #95a5a6; font-size: .82rem; margin-left: auto; }
.ci-stars-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.ci-pill { margin: 0; cursor: pointer; }
.ci-pill input { position: absolute; opacity: 0; }
.ci-pill span { display: inline-block; padding: 5px 10px; border: 1px solid #bdc3c7; border-radius: 999px; font-size: .88rem; color: #2c3e50; }
.ci-pill span i { color: #f1c40f; }
.ci-pill input:checked + span { background: #3498db; border-color: #3498db; color: #fff; }
.ci-pill input:checked + span i { color: #fff; }
.ci-pill input:focus-visible + span { outline: 2px solid #3498db; outline-offset: 2px; }
.ci-filters-toggle { width: 100%; background: #fff; border: 1px solid #bdc3c7; color: #2c3e50; font-weight: 700; border-radius: 8px; margin-bottom: 10px; }
@media (max-width: 991.98px) { .ci-filters { display: none; position: static; } .ci-filters.is-open { display: block; } }

.ci-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: flex-end; margin-bottom: 16px; }
.ci-toolbar__actions { display: flex; gap: 8px; align-items: center; }
.ci-count { color: #5d6d7e; font-size: .92rem; }
.ci-select--sm { min-height: 40px; width: auto; }
.ci-btn-map { background: #fff; border: 1px solid #3498db; color: #2c7cb5; font-weight: 700; border-radius: 6px; }
.ci-btn-map[aria-expanded="true"] { background: #3498db; color: #fff; }
.ci-map { height: 420px; border-radius: 10px; overflow: hidden; border: 1px solid #e0e0e0; margin-bottom: 20px; }
.ci-map--hotel { height: 320px; }
.ci-pin span { display: inline-block; background: #2c3e50; color: #fff; font-weight: 700; font-size: 12px; padding: 3px 7px; border-radius: 6px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); transform: translate(-50%, -50%); }

.ci-hotel { grid-template-columns: 240px minmax(0, 1fr) 200px; }
.ci-hotel__gallery { position: relative; height: 180px; border-radius: 8px; overflow: hidden; background: #ecf0f1; display: flex; align-items: center; justify-content: center; color: #95a5a6; font-size: 2rem; }
.ci-hotel__gallery img { width: 100%; height: 100%; object-fit: cover; }
.ci-gal__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #2c3e50; display: flex; align-items: center; justify-content: center; font-size: .85rem; cursor: pointer; }
.ci-gal__btn--prev { left: 8px; }
.ci-gal__btn--next { right: 8px; }
.ci-gal__count { position: absolute; right: 8px; bottom: 8px; background: rgba(44, 62, 80, .8); color: #fff; font-size: .75rem; padding: 2px 7px; border-radius: 999px; }
.ci-hotel__name a { color: #2c3e50; text-decoration: none; }
.ci-hotel__name a:hover { color: #2c7cb5; text-decoration: underline; }
.ci-hotel__desc { color: #5d6d7e; font-size: .9rem; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ci-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.ci-chip { background: #eaf4fb; color: #1f6391; font-size: .78rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ci-ta { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: #2c3e50; margin-left: 6px; }
.ci-ta span { color: #5d6d7e; }
.ci-ta--big { font-size: .95rem; }
.ci-btn-outline { background: #fff; border: 1px solid #3498db; color: #2c7cb5; font-weight: 700; border-radius: 6px; padding: 8px 14px; }
.ci-btn-outline:hover { background: #eaf4fb; color: #1f6391; }
.ci-hotel__price .btn { width: 100%; }
@media (max-width: 991.98px) {
    .ci-hotel { grid-template-columns: 200px minmax(0, 1fr); }
    .ci-hotel__price { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
    .ci-hotel__price .btn { width: auto; }
}
@media (max-width: 575.98px) { .ci-hotel { grid-template-columns: minmax(0, 1fr); } .ci-hotel__gallery { height: 200px; } }

/* ---------- Pagina hotel ---------- */
.ci-crumbs { font-size: .88rem; color: #5d6d7e; margin-bottom: 12px; }
.ci-crumbs a { color: #2c7cb5; }
.ci-hotel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 16px; }
.ci-hotel-head h1 { font-size: 1.9rem; font-weight: 700; color: #2c3e50; margin: 0 0 4px; }
.ci-badge-sel { color: #1e8449; font-weight: 700; margin-left: 10px; font-size: .9rem; }
.ci-hotel-gallery { margin-bottom: 24px; }
.ci-hotel-gallery__main { display: block; width: 100%; max-width: 100%; height: 420px; object-fit: cover; border-radius: 12px; background: #ecf0f1; }
.ci-hotel-gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; margin-top: 8px; padding-bottom: 4px; }
.ci-hotel-gallery__thumbs button { flex: none; width: 96px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; }
.ci-hotel-gallery__thumbs button.is-on { border-color: #3498db; }
.ci-hotel-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .ci-hotel-gallery__main { height: 260px; } }
.ci-section { margin-bottom: 28px; }
.ci-section h2 { font-size: 1.35rem; font-weight: 700; color: #2c3e50; margin-bottom: 12px; }
.ci-text { color: #34495e; line-height: 1.65; max-width: 72ch; }
.ci-facilities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 16px; }
.ci-facilities li { color: #2c3e50; }
.ci-facilities i { color: #3498db; width: 20px; }
.ci-room { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; border: 1px solid #e0e0e0; border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
.ci-room h3 { font-size: 1.05rem; font-weight: 700; color: #2c3e50; margin: 0 0 4px; width: 100%; }
.ci-room--group { display: block; }
.ci-room__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #ecf0f1; }
.ci-room__row > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.ci-room__price { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ci-room__price .ci-hotel__amount { font-size: 1.35rem; }
.ci-side { background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 18px; position: sticky; top: 12px; }
.ci-side h2 { font-size: 1.15rem; font-weight: 700; color: #2c3e50; }
.ci-side-form .search-box-25 { box-shadow: none; padding: 0; background: none; margin: 0; }
.ci-side-form .search-box-main-25 { padding: 0; }
.ci-side-form .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
.ci-side-form .row > .col-md-2.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Prenotazione online (2026-10-29) */
.ci-btn-book { background: #27ae60; color: #fff !important; font-weight: 700; border-radius: 6px; padding: 9px 16px; border: 0; display: block; text-align: center; }
.ci-btn-book:hover, .ci-btn-book:focus { background: #1e8449; color: #fff; text-decoration: none; }
.ci-room__ask { font-size: .85rem; padding: 2px 0; color: #1f6fb2; }
.ci-room__bnpl { display: block; font-size: .78rem; color: #5d6d7e; margin: 2px 0 6px; line-height: 1.25; }
.ci-hotel__addr { color: #5d6d7e; font-size: .85rem; margin: -2px 0 6px; }
.ci-howto { background: #eef6fc; border: 1px solid #d6e9f8; border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; font-size: .92rem; }
.ci-howto ol { margin: 6px 0 6px 18px; padding: 0; }
/* Rate sotto al prezzo, pulsanti sulla riga dopo: niente testo schiacciato */
.ci-room__price .ci-room__bnpl { flex-basis: 100%; order: 3; margin: -6px 0 0; }
.ci-room__price .ci-btn-book, .ci-room__price .ci-room__ask { order: 4; }
