:root{
  --mp-green:#556B5D;
  --mp-sand:#D8CFC4;
  --mp-gray:#9E9E9E;
  --mp-off:#F2F2EE;
  --mp-brown:#6B4F3F;

  --mp-bg:#FFFFFF;
  --mp-text:#1f2a24;
  --mp-border:rgba(158,158,158,.45);
  --mp-shadow:0 10px 20px rgba(0,0,0,.08);
  --mp-radius:6px;
}

body .mphb_sc_search_results-wrapper,
body .mphb_sc_room-wrapper,
body .mphb_sc_rooms-wrapper,
body .mphb_sc_checkout-wrapper,
body .mphb_sc_booking_confirmation,
body .mphb_sc_account,
body .mphb-booking-form,
body .mphb_widget_search-form{
  color:var(--mp-text);
}

body .mphb_sc_search_results-wrapper a,
body .mphb_sc_room-wrapper a,
body .mphb_sc_rooms-wrapper a,
body .mphb_sc_checkout-wrapper a,
body .mphb_sc_account a{
  color:var(--mp-brown);
  text-decoration:none;
}

body .mphb_sc_search_results-wrapper a:hover,
body .mphb_sc_room-wrapper a:hover,
body .mphb_sc_rooms-wrapper a:hover,
body .mphb_sc_checkout-wrapper a:hover,
body .mphb_sc_account a:hover{
  color:var(--mp-green);
  text-decoration:underline;
}

body .mphb_sc_search_results-wrapper input[type="text"],
body .mphb_sc_search_results-wrapper input[type="email"],
body .mphb_sc_search_results-wrapper input[type="tel"],
body .mphb_sc_search_results-wrapper input[type="number"],
body .mphb_sc_search_results-wrapper input[type="search"],
body .mphb_sc_search_results-wrapper input[type="date"],
body .mphb_sc_search_results-wrapper select,
body .mphb_sc_search_results-wrapper textarea,
body .mphb_sc_checkout-wrapper input[type="text"],
body .mphb_sc_checkout-wrapper input[type="email"],
body .mphb_sc_checkout-wrapper input[type="tel"],
body .mphb_sc_checkout-wrapper input[type="number"],
body .mphb_sc_checkout-wrapper select,
body .mphb_sc_checkout-wrapper textarea,
body .mphb-booking-form input[type="text"],
body .mphb-booking-form input[type="email"],
body .mphb-booking-form input[type="tel"],
body .mphb-booking-form input[type="number"],
body .mphb-booking-form select,
body .mphb-booking-form textarea,
body .mphb_widget_search-form input[type="text"],
body .mphb_widget_search-form input[type="email"],
body .mphb_widget_search-form input[type="tel"],
body .mphb_widget_search-form input[type="number"],
body .mphb_widget_search-form input[type="search"],
body .mphb_widget_search-form select{
  background:var(--mp-off);
  border:1px solid var(--mp-border);
  border-radius:0;
  padding:14px 16px;
  line-height:1.4;
  color:var(--mp-text);
  box-shadow:none;
}

body .mphb_sc_search_results-wrapper input:focus,
body .mphb_sc_search_results-wrapper select:focus,
body .mphb_sc_search_results-wrapper textarea:focus,
body .mphb_sc_checkout-wrapper input:focus,
body .mphb_sc_checkout-wrapper select:focus,
body .mphb_sc_checkout-wrapper textarea:focus,
body .mphb-booking-form input:focus,
body .mphb-booking-form select:focus,
body .mphb-booking-form textarea:focus,
body .mphb_widget_search-form input:focus,
body .mphb_widget_search-form select:focus{
  outline:none;
  border-color:rgba(85,107,93,.6);
}

body input.mphb-datepick{
  background-image:none;
}

body .mphb-required-fields-tip{
  display:none;
}

body .mphb_sc_search_results-wrapper button,
body .mphb_sc_search_results-wrapper input[type="submit"],
body .mphb_sc_room-wrapper button,
body .mphb_sc_room-wrapper input[type="submit"],
body .mphb_sc_rooms-wrapper button,
body .mphb_sc_rooms-wrapper input[type="submit"],
body .mphb-booking-form button,
body .mphb-booking-form input[type="submit"],
body .mphb_widget_search-form input[type="submit"],
body .mphb_sc_checkout-wrapper button,
body .mphb_sc_checkout-wrapper input[type="submit"]{
  background:var(--mp-green);
  color:#fff;
  border:0;
  border-radius:0;
  padding:14px 18px;
  line-height:1.2;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:600;
  cursor:pointer;
  transition:background .2s ease;
}

body .mphb_sc_search_results-wrapper button:hover,
body .mphb_sc_search_results-wrapper input[type="submit"]:hover,
body .mphb_sc_room-wrapper button:hover,
body .mphb_sc_room-wrapper input[type="submit"]:hover,
body .mphb_sc_rooms-wrapper button:hover,
body .mphb_sc_rooms-wrapper input[type="submit"]:hover,
body .mphb-booking-form button:hover,
body .mphb-booking-form input[type="submit"]:hover,
body .mphb_widget_search-form input[type="submit"]:hover,
body .mphb_sc_checkout-wrapper button:hover,
body .mphb_sc_checkout-wrapper input[type="submit"]:hover{
  background:var(--mp-brown);
}

body .mphb_sc_search_results-wrapper .mphb-view-details-button,
body .mphb_sc_room-wrapper .mphb-view-details-button,
body .mphb_sc_rooms-wrapper .mphb-view-details-button{
  background:transparent;
  color:var(--mp-brown);
  padding:0;
  text-transform:none;
  letter-spacing:0;
  font-weight:600;
}

body .mphb_sc_search_results-wrapper .mphb-view-details-button:hover,
body .mphb_sc_room-wrapper .mphb-view-details-button:hover,
body .mphb_sc_rooms-wrapper .mphb-view-details-button:hover{
  background:transparent;
  color:var(--mp-green);
  text-decoration:underline;
}

body .mphb-regular-price strong{
  display:none;
}

body .mphb-regular-price .mphb-price{
  font-size:34px;
  line-height:1.2;
  color:var(--mp-green);
  font-weight:700;
}

body .mphb-regular-price .mphb-price-period{
  border:0;
  font-size:18px;
  line-height:1.2;
  color:var(--mp-gray);
}

body .mphb-regular-price .mphb-price-period:before{
  content:"/";
  margin-right:6px;
}

body .mphb_sc_search_results-wrapper .type-mphb_room_type,
body .mphb_sc_rooms-wrapper .type-mphb_room_type,
body .mphb_sc_room-wrapper .type-mphb_room_type{
  background:var(--mp-bg);
  border:1px solid var(--mp-border);
  box-shadow:var(--mp-shadow);
}

body .mphb_sc_search_results-wrapper .type-mphb_room_type .entry-title,
body .mphb_sc_rooms-wrapper .type-mphb_room_type .entry-title,
body .mphb_sc_room-wrapper .type-mphb_room_type .entry-title{
  text-align:left;
  margin-bottom:14px;
}

body .mphb_sc_search_results-wrapper .type-mphb_room_type .mphb-room-type-details-title,
body .mphb_sc_rooms-wrapper .type-mphb_room_type .mphb-room-type-details-title,
body .mphb_sc_room-wrapper .type-mphb_room_type .mphb-room-type-details-title{
  display:none;
}

body .mphb_sc_search_results-wrapper .mphb-room-type-description,
body .mphb_sc_rooms-wrapper .mphb-room-type-description,
body .mphb_sc_room-wrapper .mphb-room-type-description{
  padding:24px 26px 18px;
}

@media (min-width:768px){
  body .mphb_sc_search_results-wrapper .mphb-room-type-description,
  body .mphb_sc_rooms-wrapper .mphb-room-type-description,
  body .mphb_sc_room-wrapper .mphb-room-type-description{
    padding:46px 56px 36px;
  }
}

body .mphb_sc_search_results-wrapper .mphb-room-type-excerpt,
body .mphb_sc_rooms-wrapper .mphb-room-type-excerpt,
body .mphb_sc_room-wrapper .mphb-room-type-excerpt{
  line-height:1.9;
  margin-bottom:22px;
}

body .mphb_sc_search_results-wrapper .mphb-room-type-buttons,
body .mphb_sc_rooms-wrapper .mphb-room-type-buttons,
body .mphb_sc_room-wrapper .mphb-room-type-buttons{
  padding:16px 26px 20px;
  display:flex;
  flex-wrap:wrap;
  border-top:1px solid var(--mp-border);
  gap:12px 16px;
}

@media (min-width:768px){
  body .mphb_sc_search_results-wrapper .mphb-room-type-buttons,
  body .mphb_sc_rooms-wrapper .mphb-room-type-buttons,
  body .mphb_sc_room-wrapper .mphb-room-type-buttons{
    padding:28px 56px 36px;
  }
}

body .mphb_sc_search_results-wrapper .mphb-reserve-room-section{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 16px;
  margin-bottom:18px;
}

body .mphb_sc_search_results-wrapper .mphb-reserve-room-section select{
  max-width:90px;
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(85,107,93,.45);
  padding:6px 0;
  height:auto;
}

body .mphb-reserve-btn{
  width:100%;
}

body .mphb_sc_search_results-wrapper form.mphb-recommendation{
  background:var(--mp-bg);
  border:1px solid var(--mp-border);
  box-shadow:var(--mp-shadow);
  padding:26px 0 34px;
  margin-bottom:60px;
}

body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-details-list{
  list-style:none;
  padding:0 26px 20px;
  border-bottom:1px solid var(--mp-border);
  margin:0 0 22px;
}

@media (min-width:768px){
  body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-details-list{
    padding:0 56px 26px;
  }
}

body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-reserve-button{
  float:left;
  clear:none;
  margin:0 26px;
}

@media (min-width:768px){
  body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-reserve-button{
    margin:0 56px;
  }
}

body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-total{
  margin:0 26px;
}

@media (min-width:768px){
  body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-total{
    margin:0 56px;
  }
}

body .mphb_sc_search_results-wrapper form.mphb-recommendation .mphb-recommendation-total-value{
  font-weight:700;
  margin-left:14px;
  color:var(--mp-green);
}

body .datepick{
  max-width:100%;
  color:var(--mp-text);
  border:1px solid var(--mp-border);
  border-radius:0;
  padding:26px 0;
  box-shadow:var(--mp-shadow);
  background:var(--mp-bg);
}

body .datepick .datepick-month-header{
  color:var(--mp-green);
  font-weight:700;
}

body .datepick .datepick-month table{
  border-collapse:collapse;
}

body .datepick .datepick-month table th{
  background:var(--mp-off);
  color:var(--mp-text);
  border:1px solid var(--mp-border);
  padding:10px 8px;
}

body .datepick .datepick-month table td{
  border:1px solid var(--mp-border);
}

body .datepick .datepick-month table td .mphb-date-cell{
  background:var(--mp-off);
  color:var(--mp-text);
  font-size:15px;
  padding:0;
  line-height:28px;
  height:100%;
}

body .datepick .datepick-month table td .mphb-past-date{
  opacity:.45;
}

body .datepick .datepick-month table td .mphb-available-date{
  position:relative;
}

body .datepick .datepick-month table td .mphb-available-date.datepick-today{
  background:rgba(216,207,196,.45);
}

body .datepick .datepick-month table td .mphb-out-of-season-date--check-in,
body .datepick .datepick-month table td .mphb-out-of-season-date--check-out,
body .datepick .datepick-month table td .mphb-out-of-season-date,
body .datepick .datepick-month table td .mphb-mark-as-unavailable--check-in,
body .datepick .datepick-month table td .mphb-mark-as-unavailable--check-out,
body .datepick .datepick-month table td .mphb-mark-as-unavailable{
  background:linear-gradient(135deg, rgba(158,158,158,.45) 6.25%, var(--mp-off) 6.25%, var(--mp-off) 50%, rgba(158,158,158,.45) 50%, rgba(158,158,158,.45) 56.25%, var(--mp-off) 56.25%, var(--mp-off) 100%);
  background-size:11.31px 11.31px;
  color:rgba(85,107,93,.75);
}

body .datepick .datepick-month table td .mphb-mark-as-unavailable--check-in,
body .datepick .datepick-month table td .mphb-mark-as-unavailable--check-out{
  color:var(--mp-text);
}

body .mphb-room-price-breakdown-wrapper table th{
  text-align:left;
  background:var(--mp-off);
}

body .mphb-room-price-breakdown-wrapper table td,
body .mphb-room-price-breakdown-wrapper table th{
  border:1px solid var(--mp-border);
}

body .mphb_sc_checkout-wrapper .mphb-login-form-wrap{
  background:var(--mp-bg);
  padding:28px;
  border:1px solid var(--mp-border);
  box-shadow:var(--mp-shadow);
  margin-bottom:46px;
}

body .mphb-checkout-terms-wrapper{
  padding:0;
  background:transparent;
  border:0;
  margin-bottom:22px;
}

body .mphb_sc_checkout-form > .mphb-total-price{
  margin-bottom:10px;
}

body .mphb_sc_checkout-form > .mphb-total-price .mphb-total-price-field{
  margin-left:12px;
  font-weight:700;
  color:var(--mp-green);
}

body .mphb_sc_account .mphb-account-menu,
body .mphb_sc_account .mphb-account-content{
  float:none;
  width:100%;
}

body .mphb_sc_account .mphb-account-menu ul{
  list-style:none;
  padding:0;
  margin:0 0 16px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px 10px;
}

body .mphb_sc_account .mphb-account-menu a{
  display:block;
  padding:10px 14px;
  font-weight:700;
  border:1px solid var(--mp-border);
  background:var(--mp-bg);
}

body .mphb_sc_account .mphb-account-menu a:hover{
  background:var(--mp-off);
  border-color:rgba(85,107,93,.5);
}
/* Risultati ricerca: card + layout come Albatross */
body .mphb_sc_search_results-wrapper .mphb-room-type,
body .mphb_sc_rooms-wrapper .mphb-room-type{
background: var(--mp-bg);
border: 1px solid var(--mp-border);
box-shadow: var(--mp-shadow);
overflow: hidden;
}

/* Layout: immagine a sinistra, contenuto a destra */
@media (min-width: 768px){
body .mphb_sc_search_results-wrapper .mphb-room-type,
body .mphb_sc_rooms-wrapper .mphb-room-type{
display: flex;
align-items: stretch;
}

body .mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-images,
body .mphb_sc_rooms-wrapper .mphb-room-type .mphb-room-type-images,
body .mphb_sc_search_results-wrapper .mphb-room-type .post-thumbnail,
body .mphb_sc_rooms-wrapper .mphb-room-type .post-thumbnail,
body .mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-gallery,
body .mphb_sc_rooms-wrapper .mphb-room-type .mphb-room-type-gallery{
flex: 0 0 38%;
max-width: 38%;
margin: 0;
}

body .mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-content,
body .mphb_sc_rooms-wrapper .mphb-room-type .mphb-room-type-content,
body .mphb_sc_search_results-wrapper .mphb-room-type .entry-content,
body .mphb_sc_rooms-wrapper .mphb-room-type .entry-content{
flex: 1 1 auto;
padding: 28px 30px;
}

body .mphb_sc_search_results-wrapper .mphb-room-type img,
body .mphb_sc_rooms-wrapper .mphb-room-type img{
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
}

/* Su mobile torna impilato e pulito */
@media (max-width: 767px){
body .mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-content,
body .mphb_sc_rooms-wrapper .mphb-room-type .mphb-room-type-content{
padding: 22px 20px;
}
}

/* Bottoni e prezzo: allineamento finale come card Albatross */
body .mphb_sc_search_results-wrapper .mphb-room-type .mphb-room-type-buttons,
body .mphb_sc_rooms-wrapper .mphb-room-type .mphb-room-type-buttons{
border-top: 1px solid var(--mp-border);
background: var(--mp-bg);
}

/* Se Blocksy aggiunge margini strani ai contenuti interni */
body .mphb_sc_search_results-wrapper .mphb-room-type .entry-content > *:first-child,
body .mphb_sc_rooms-wrapper .mphb-room-type .entry-content > *:first-child{
margin-top: 0;
}

body .mphb_sc_search_results-wrapper .mphb-room-type .entry-content > *:last-child,
body .mphb_sc_rooms-wrapper .mphb-room-type .entry-content > *:last-child{
margin-bottom: 0;
}

/* Servizi: togli bullet e togli “una riga per punto” */
body .mphb-room-type-facilities,
body .mphb-services,
body .mphb-room-type-attributes,
body .mphb-room-type-details .mphb_room_type_facilities{
list-style: none;
padding-left: 0;
margin-left: 0;
}

/* Se i servizi sono dentro li */
body .mphb-room-type-facilities li,
body .mphb-services li,
body .mphb-room-type-attributes li{
list-style: none;
padding-left: 0;
margin-left: 0;
}

/* Trasforma elenco in “tag” compatti, senza pallini */
body .mphb-room-type-facilities,
body .mphb-services,
body .mphb-room-type-attributes{
display: flex;
flex-wrap: wrap;
gap: 8px 10px;
margin-top: 14px;
}

body .mphb-room-type-facilities li,
body .mphb-services li,
body .mphb-room-type-attributes li{
display: inline-flex;
align-items: center;
background: var(--mp-off);
border: 1px solid var(--mp-border);
padding: 8px 10px;
line-height: 1.2;
}

/* Se MotoPress inserisce pseudo-elementi tipo bullet */
body .mphb-room-type-facilities li:before,
body .mphb-services li:before,
body .mphb-room-type-attributes li:before{
content: none;
}

/* Spaziatura descrizione per evitare “muro di testo” */
body .mphb-room-type-excerpt{
margin-bottom: 16px;
}