/* Motore di prenotazione (MotoPress Hotel Booking): stile coerente con il tema.
   Campi e bottoni 12px, riquadri 16px, un solo colore d'accento. */
.mphb_sc_search-wrapper,.mphb_sc_search_results-wrapper,.mphb_sc_checkout-wrapper,.mphb_sc_booking_confirmation-wrapper,.mphb_sc_booking_cancellation-wrapper{font:inherit;color:var(--ink)}

/* campi */
.mphb_sc_search-form input[type=text],.mphb_sc_search-form select,
.mphb_sc_checkout-form input[type=text],.mphb_sc_checkout-form input[type=email],.mphb_sc_checkout-form input[type=tel],
.mphb_sc_checkout-form select,.mphb_sc_checkout-form textarea,
.mphb_sc_booking_cancellation-wrapper input[type=text]{
  width:100%;min-height:50px;padding:.7rem .9rem;border-radius:var(--r-ctl);border:1.5px solid var(--line);
  background:var(--surface);color:var(--ink);font:inherit;box-sizing:border-box}
.mphb_sc_checkout-form textarea{min-height:110px}
.mphb_sc_search-form input:focus,.mphb_sc_search-form select:focus,.mphb_sc_checkout-form :is(input,select,textarea):focus{outline:3px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.mphb_sc_search-form label,.mphb_sc_checkout-form label{display:block;font-weight:600;font-size:.95rem;margin-bottom:.35rem}
.mphb_sc_search-form abbr,.mphb_sc_checkout-form abbr{text-decoration:none;color:var(--brand)}
.mphb-required-fields-tip{display:none}

/* modulo di ricerca: una riga su schermo largo */
.mphb_sc_search-form{display:grid;grid-template-columns:repeat(4,1fr) auto;gap:1rem;align-items:end;
  padding:1.4rem;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.mphb_sc_search-form>p{margin:0;max-width:none}
.mphb_sc_search-form br{display:none}
.mphb_sc_search-form .mphb_sc_search-submit-button-wrapper{margin:0}

/* bottoni */
.mphb_sc_search-form input[type=submit],.mphb_sc_search-form button,.mphb-book-button,.mphb-confirm-reservation,
.mphb_sc_checkout-form input[type=submit],.mphb_sc_checkout-form button[type=submit],.mphb_sc_search_results-wrapper .button,
.mphb_sc_booking_cancellation-wrapper input[type=submit],.mphb_sc_booking_cancellation-wrapper button{
  display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:.65rem 1.6rem;border-radius:var(--r-ctl);
  border:1.5px solid transparent;background:var(--brand);color:var(--brand-ink);font:600 1rem/1 var(--font);cursor:pointer;
  transition:transform .25s var(--ease),box-shadow .25s;text-decoration:none}
.mphb_sc_search-form input[type=submit]:hover,.mphb-book-button:hover,.mphb-confirm-reservation:hover,.mphb_sc_checkout-form input[type=submit]:hover{
  box-shadow:0 10px 24px -12px var(--brand);transform:translateY(-1px)}

/* risultati */
.mphb_sc_search_results-info{font-size:1.05rem;margin:0 0 1.2rem}
.mphb_sc_search_results-wrapper .mphb-room-type{display:grid;grid-template-columns:minmax(0,320px) 1fr;gap:1.4rem;
  padding:1.2rem;margin:0 0 1.2rem;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}
.mphb_sc_search_results-wrapper .mphb-room-type img{border-radius:var(--r-card);width:100%;height:auto}
.mphb_sc_search_results-wrapper .mphb-room-type-title{margin:0 0 .4rem;font-size:1.35rem}
.mphb_sc_search_results-wrapper .mphb-room-type-title a{text-decoration:none}
.mphb-regular-price,.mphb-price{font-weight:700}
.mphb-reserve-room-section,.mphb-rooms-reservation-message-wrapper{margin-top:1rem}
.mphb-reserve-rooms-details{margin-top:1.2rem;padding:1.2rem;border-radius:var(--r-card);background:var(--tint)}

/* conferma / checkout */
.mphb_sc_checkout-form section,.mphb_sc_checkout-form .mphb-checkout-section{margin:0 0 1.6rem;padding:1.4rem;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}
.mphb_sc_checkout-form h3,.mphb_sc_checkout-form h4{margin:0 0 .9rem;font-size:1.25rem}
.mphb_sc_checkout-form p{max-width:none;margin:0 0 1rem}
.mphb_sc_checkout-form .mphb-price-breakdown,.mphb_sc_checkout-form table{width:100%;border-collapse:collapse}
.mphb_sc_checkout-form td,.mphb_sc_checkout-form th{padding:.5rem .4rem;border-bottom:1px solid var(--line);text-align:left}
.mphb-total-price,.mphb-deposit-amount{font-weight:700}
.mphb_sc_checkout-form .mphb-payment-method-list,.mphb_sc_checkout-form .mphb-gateways-list{list-style:none;margin:0;padding:0}
.mphb-errors-wrapper,.mphb_sc_checkout-wrapper .mphb-errors-wrapper{padding:1rem 1.2rem;border-radius:var(--r-ctl);background:#fdecea;color:#7a1f16;margin:0 0 1rem}
.mphb_sc_booking_confirmation-wrapper{padding:1.4rem;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}

/* calendario a tendina */
.datepick{border-radius:var(--r-card)!important;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--ink)!important;
  box-shadow:var(--shadow);font-family:var(--font)!important;overflow:hidden}
.datepick .datepick-month-header,.datepick .datepick-month-row,.datepick-nav,.datepick-ctrl{background:var(--tint)!important;color:var(--ink)!important}
.datepick a{color:var(--ink)!important}
.datepick .datepick-selected{background:var(--brand)!important;color:var(--brand-ink)!important}
.datepick .mphb-unavailable-date,.datepick .mphb-past-date{opacity:.35}

@media (max-width:900px){
  .mphb_sc_search-form{grid-template-columns:1fr 1fr}
  .mphb_sc_search-form .mphb_sc_search-submit-button-wrapper{grid-column:1/-1}
  .mphb_sc_search-form input[type=submit]{width:100%}
  .mphb_sc_search_results-wrapper .mphb-room-type{grid-template-columns:1fr}
}
@media (max-width:480px){.mphb_sc_search-form{grid-template-columns:1fr}}

/* pagine semplici: titolo + contenuto (risultati, conferma, privacy...) */
.pagina-semplice .wrap{padding-block:clamp(2.5rem,6vw,4.5rem) clamp(3rem,7vw,6rem)}
.pagina-semplice h1{font-size:clamp(2.2rem,5vw,3.4rem);margin:0 0 1.6rem;font-weight:720}
.pagina-semplice .wp-block-post-content>*{max-width:none}
.pagina-semplice .wp-block-post-content p,.pagina-semplice .wp-block-post-content li{max-width:70ch}

/* ritocchi risultati */
.mphb_sc_search_results-wrapper h2{font-size:1.5rem;max-width:none;margin:1.2rem 0 .8rem}
.mphb_sc_search_results-wrapper .mphb-room-type h3,.mphb_sc_search_results-wrapper .mphb-room-type h4{font-size:1.05rem;margin:.8rem 0 .3rem}
.mphb_sc_search_results-wrapper ul{margin:.4rem 0 .8rem;padding-left:1.2rem}
.mphb_sc_search_results-wrapper .mphb-room-type p{margin:0 0 .6rem}

/* richiesta di fattura */
.civ-fattura{margin:0 0 1.2rem}
.civ-fattura__check label{display:flex;align-items:center;gap:.6rem;font-weight:600;cursor:pointer}
.civ-fattura__check input{width:1.2rem;height:1.2rem;accent-color:var(--brand)}
.civ-fattura__campi{padding:1.1rem;border-radius:var(--r-card);background:var(--tint);margin-top:.6rem}
.civ-fattura__campi[hidden]{display:none}
.civ-fattura__campi input{width:100%;min-height:50px;padding:.7rem .9rem;border-radius:var(--r-ctl);border:1.5px solid var(--line);background:var(--surface);color:var(--ink);font:inherit;box-sizing:border-box}
.civ-fattura__campi p{margin:0 0 .9rem;max-width:none}

/* scelta del pagamento */
.civ-pagamento{border:0;margin:0 0 1.2rem;padding:0}
.civ-pagamento legend{font-weight:700;font-size:1.1rem;margin-bottom:.6rem;padding:0}
.civ-pagamento__opt{display:flex;gap:.8rem;align-items:flex-start;padding:1rem 1.1rem;margin:0 0 .6rem;border:1.5px solid var(--line);border-radius:var(--r-card);background:var(--surface);cursor:pointer}
.civ-pagamento__opt:has(input:checked){border-color:var(--brand);background:var(--tint)}
.civ-pagamento__opt input{margin-top:.25rem;width:1.15rem;height:1.15rem;accent-color:var(--brand);flex:none}
.civ-pagamento__opt strong{display:block}
.civ-pagamento__opt small{display:block;color:var(--muted);font-size:.92rem;margin-top:.15rem}

.civ-pagamento__ora{margin:.6rem 0 0;padding:.8rem 1rem;border-radius:var(--r-ctl);background:var(--tint);max-width:none}
.civ-pagamento__ora[hidden]{display:none}
