/* MotoPress Hotel Booking — неговият изход в нашия дизайн.
   Зарежда се само на страниците на резервационния поток и на стаите. */

/* Заглавия на плъгин-страници: една степен по-малки от нашия h1 */
.mphb-band .t-h1, .mphb-band h1 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); margin-bottom: .5rem; }
.mphb-band h2, .mphb-band h3, .mphb-band .mphb-room-type-title, .mphb-band .mphb-details-title,
.mphb-band .mphb-calendar-title, .mphb-band .mphb-reservation-form-title, .mphb-band .mphb-recommendation-title,
.mphb-band .mphb-room-type-details-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }
.mphb-band .mphb-room-type-title { font-size: var(--fs-xl); margin: .75rem 0 .25rem; }
.mphb-band .mphb-room-type-title a { color: var(--ink); text-decoration: none; }
.mphb-band .mphb-room-type-title a:hover { color: var(--green-ink); }
.mphb-band .mphb-room-type-details-title, .mphb-band .mphb-details-title, .mphb-band .mphb-calendar-title, .mphb-band .mphb-reservation-form-title { font-size: 1.05rem; margin: 1.25rem 0 .5rem; }

/* Бутони = нашите */
.mphb-band .button, .mphb-band .mphb-button, .mphb-band button[type="submit"], .mphb-band input[type="submit"] {
  --bg: var(--green-ink); --bd: var(--green-ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .7rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font: inherit; font-weight: 600; font-size: var(--fs-sm); line-height: 1;
  text-decoration: none; cursor: pointer; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.mphb-band .button:hover, .mphb-band .mphb-button:hover { transform: translateY(-1px); background: #146a38; border-color: #146a38; box-shadow: 0 8px 20px rgba(23,122,65,.28); color: #fff; }
.mphb-band .mphb-view-details-button, .mphb-band .mphb-remove-from-reservation { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.mphb-band .mphb-view-details-button:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }

/* Полета */
.mphb-band input[type="text"], .mphb-band input[type="email"], .mphb-band input[type="tel"], .mphb-band input[type="number"],
.mphb-band select, .mphb-band textarea, .mphb-band .mphb-datepick {
  width: 100%; max-width: 26rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .7rem .8rem; font: inherit; font-size: var(--fs-sm); color: var(--ink);
}
.mphb-band input:focus, .mphb-band select:focus, .mphb-band textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(30,143,78,.18); }
.mphb-band label { display: block; font-weight: 600; font-size: var(--fs-sm); margin: .9rem 0 .35rem; }
.mphb-band .mphb-required-fields-tip { font-size: var(--fs-xs); color: var(--ink-3, #6b6b66); }
.mphb-band .mphb-booking-form p, .mphb-band .mphb-checkout-form p { margin: 0; }
.mphb-band .mphb-reserve-btn-wrapper, .mphb-band .mphb-checkout-form .mphb-checkout-actions { margin-top: 1.25rem; }

/* Резултати от търсенето: карти в решетка; инфото и кошницата на цял ред */
.mphb_sc_search_results-wrapper > .mphb_sc_search_results-info, .mphb_sc_search_results-wrapper > .mphb-reservation-cart,
.mphb_sc_search_results-wrapper > .mphb-clear, .mphb_sc_search_results-wrapper > p, .mphb_sc_search_results-wrapper > h2 { grid-column: 1 / -1; }
/* Галерия в списъка: без JS показваме първата снимка като корица */
.mphb_sc_search_results-wrapper .mphb-room-type-images { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides { list-style: none; margin: 0; padding: 0; height: 100%; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides li::before { content: none; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides > li:not(:first-child) { display: none; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .gallery-icon, .mphb_sc_search_results-wrapper .mphb-room-type-images a { display: block; height: 100%; }
.mphb_sc_search_results-wrapper .mphb-room-type-images img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .flex-control-nav, .mphb_sc_search_results-wrapper .mphb-room-type-images .flex-direction-nav { display: none; }

.mphb_sc_search_results-wrapper { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); margin-top: 1.5rem; }
.mphb_sc_search_results-wrapper .mphb-room-type { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.mphb_sc_search_results-wrapper .mphb-loop-room-thumbnail { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.mphb_sc_search_results-wrapper .mphb-loop-room-thumbnail img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mphb_sc_search_results-wrapper .mphb-room-type > *:not(.mphb-loop-room-thumbnail):not(.mphb-room-type-images) { padding: 0 1.1rem; }
.mphb_sc_search_results-wrapper .mphb-room-type-title { padding-top: .9rem; }
.mphb_sc_search_results-wrapper .mphb-loop-room-type-attributes { list-style: none; margin: 0; font-size: var(--fs-sm); color: var(--ink-2, #3a3a36); }
.mphb_sc_search_results-wrapper .mphb-loop-room-type-attributes li::before { content: none; }
.mphb_sc_search_results-wrapper .mphb-room-type-details-title { display: none; }
.mphb_sc_search_results-wrapper .mphb-regular-price { font-size: 1.15rem; font-weight: 700; margin: .5rem 0 0; }
.mphb_sc_search_results-wrapper .mphb-price-period { text-decoration: none; font-weight: 400; font-size: var(--fs-sm); color: var(--ink-3, #6b6b66); }
.mphb_sc_search_results-wrapper .mphb-view-details-button-wrapper, .mphb_sc_search_results-wrapper .mphb-reserve-room-section { padding-bottom: 1.1rem; }
.mphb_sc_search_results-wrapper .mphb-view-details-button-wrapper { margin-top: auto; padding-top: .75rem; }
.mphb_sc_search_results-wrapper .mphb-reserve-room-section .mphb-button { width: 100%; }
.mphb_sc_search_results-wrapper .mphb-rooms-reservation-message-wrapper { font-size: var(--fs-xs); color: var(--ink-3, #6b6b66); }

/* Препоръка + кошница на резервацията */
.mphb_sc_search_results-info { color: var(--ink-2, #3a3a36); }
.mphb-reservation-cart { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; margin: 1rem 0 1.5rem; }
.mphb-reservation-cart .mphb-recommendation-title { font-size: 1.05rem; margin: 0 0 .5rem; }
.mphb-reservation-cart ul { list-style: none; margin: 0; padding: 0; }
.mphb-reservation-cart li::before { content: none; }
.mphb-reservation-cart .mphb-recommendation-total { font-weight: 700; margin: .5rem 0; }

/* Календар на наличността */
.mphb-band .mphb-calendar { max-width: 40rem; }
.mphb-band .mphb-calendar .datepick { border-radius: var(--radius); overflow: hidden; }

/* Списъци с точки в атрибутите */
.mphb-band .mphb-single-room-type-attributes, .mphb-band .mphb-loop-room-type-attributes { padding-left: 0; }
.mphb-band .mphb-attribute-title { font-weight: 600; }

/* Страница на стая: снимката на MotoPress галерията */
.mphb-band .mphb-gallery, .mphb-band .mphb-room-type-gallery, .mphb-band .flexslider { border-radius: var(--radius-lg); overflow: hidden; margin: 1rem 0 1.5rem; }
.mphb-band .mphb-gallery img, .mphb-band .flexslider img { width: 100%; display: block; }

/* Формата за плащане/потвърждение */
.mphb-band .mphb-checkout-form fieldset, .mphb-band fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1rem 1.25rem; margin: 1rem 0; background: var(--surface); }
.mphb-band legend { font-weight: 600; padding: 0 .5rem; }
.mphb-band table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.mphb-band th, .mphb-band td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.mphb-band .mphb-errors-wrapper, .mphb-band .mphb-error { color: #a32; }

/* Списъци на MotoPress без нашите точки */
.mphb-band ul li::before, .mphb-band .slides li::before { content: none; }
.mphb-band ul { padding-left: 0; list-style: none; }
.mphb-band .mphb-room-type-images.flexslider .slides > li { display: block; }
/* Страница на стая: галерията като слайдер със ограничена височина */
.mphb-band .mphb-room-type-gallery-wrapper .slides img { max-height: 32rem; object-fit: cover; width: 100%; }
.mphb-band .mphb-gallery-thumbnails-slider img, .mphb-band .gallery-columns-6 img { border-radius: var(--radius); }

/* В списъка с резултати галерията е само корица: първата истинска снимка, слайдерът е неутрализиран */
.mphb_sc_search_results-wrapper .mphb-room-type-images .flex-viewport { height: 100% !important; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides { transform: none !important; width: 100% !important; height: 100%; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides > li { width: 100% !important; float: none; display: none !important; height: 100%; }
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides > li:first-child:not(.clone),
.mphb_sc_search_results-wrapper .mphb-room-type-images .slides > li.clone + li:not(.clone) { display: block !important; }
/* На страницата на стая слайдерът работи нормално */
.mphb-band .mphb-room-type-gallery-wrapper .flex-viewport .slides > li { display: block; }
/* Календарът: селектите за месец/година остават компактни */
.mphb-band .mphb-calendar select, .mphb-band .datepick select { width: auto; max-width: none; padding: .25rem .4rem; font-size: .85rem; }
.mphb-band .mphb-calendar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: .75rem; }
/* Картите в резултатите започват на една линия; празните разделители на MotoPress не заемат клетка */
.mphb_sc_search_results-wrapper { align-items: stretch; }
.mphb_sc_search_results-wrapper > .mphb-clear { display: none; }

/* --- Мобилно: нищо не излиза извън екрана ------------------------------- */
.mphb-band * { min-width: 0; }
.mphb-band img { max-width: 100%; height: auto; }
.mphb-band .mphb-reservation-cart, .mphb-band .mphb-reservation-details { max-width: 100%; }
.mphb-band .mphb-reservation-details li, .mphb-band .mphb-recommendation-item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; }
.mphb-band .mphb-reservation-details .mphb-price, .mphb-band .mphb-cart-total-price, .mphb-band .mphb-recommendation-total-value { float: none; }
.mphb-band .mphb-reservation-details .mphb-room-type-total-capacity { flex-basis: 100%; }
.mphb-band .mphb-recommendation-total, .mphb-band .mphb-recommendation-reserve-button { text-align: left; }

/* Календарът на наличността: на телефон месеците един под друг, никога извън екрана */
.mphb-band .mphb-calendar, .mphb-band .datepick { max-width: 100%; }
.mphb-band .datepick { width: 100% !important; box-sizing: border-box; }
.mphb-band .datepick-month-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.mphb-band .datepick-month { float: none !important; flex: 1 1 15rem; width: auto !important; max-width: 100%; box-sizing: border-box; }
.mphb-band .datepick-month table { width: 100%; table-layout: fixed; }
.mphb-band .datepick-month td, .mphb-band .datepick-month th { padding: .2rem 0; text-align: center; }
@media (max-width: 40rem) {
  .mphb-band .mphb-calendar { padding: .4rem; }
  .mphb-band .datepick-month-header select { font-size: .8rem; padding: .15rem .25rem; }
  .mphb_sc_search_results-wrapper { grid-template-columns: 1fr; }
}

/* --- Календарът на наличността: нашият вид -------------------------------- */
.mphb-band .mphb-calendar { background: transparent; border: 0; padding: 0; }
.mphb-band .mphb-calendar .datepick, .mphb-band .datepick-popup .datepick {
  background: var(--surface) !important; border: 1px solid var(--line) !important; border-radius: var(--radius-lg); padding: .75rem !important;
  box-shadow: var(--shadow-md); font: inherit !important; font-size: .95rem !important; color: var(--ink) !important; width: 100% !important;
}
/* Навигация: назад · днес · напред като дискретни бутони */
.mphb-band .datepick-nav { display: flex; justify-content: space-between; align-items: center; gap: .5rem; background: transparent !important; padding: 0 0 .5rem !important; border: 0 !important; }
.mphb-band .datepick-nav .datepick-cmd { position: static !important; float: none !important; width: auto !important; padding: .35rem .7rem !important; border-radius: 999px;
  background: var(--surface-2) !important; color: var(--ink) !important; font-size: .8rem !important; font-weight: 600; text-decoration: none !important; line-height: 1 !important; }
.mphb-band .datepick-nav .datepick-cmd:hover { background: var(--ink) !important; color: #fff !important; }
.mphb-band .datepick-nav .datepick-cmd-today { order: 0; }
.mphb-band .datepick-nav .datepick-cmd-prev { order: -1; }
.mphb-band .datepick-nav .datepick-cmd-next { order: 1; }
/* Месеци */
.mphb-band .datepick-month-row { gap: 1rem; }
.mphb-band .datepick-month { background: transparent !important; border: 0 !important; padding: 0 !important; }
.mphb-band .datepick-month-header { background: transparent !important; color: var(--ink) !important; font-family: var(--font-display); font-weight: 600; font-size: 1rem !important;
  text-align: left !important; padding: .25rem 0 .5rem !important; border: 0 !important; display: flex; gap: .4rem; align-items: center; }
.mphb-band .datepick-month-header select { background: var(--surface-2) !important; border: 0 !important; border-radius: 6px; padding: .25rem .5rem !important; font: inherit !important; font-weight: 600; color: var(--ink) !important; }
.mphb-band .datepick-month table { border-collapse: separate !important; border-spacing: 3px !important; width: 100% !important; background: transparent !important; }
.mphb-band .datepick-month th { background: transparent !important; color: var(--ink-3, #6b6b66) !important; font-size: .7rem !important; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .35rem 0 !important; border: 0 !important; }
.mphb-band .datepick-month td { padding: 0 !important; border: 0 !important; background: transparent !important; }
/* Клетки за дати */
.mphb-band .datepick-month td a, .mphb-band .datepick-month td span {
  display: flex !important; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 2.1rem; border-radius: 8px !important;
  border: 1px solid transparent !important; background: var(--surface-2) !important; color: var(--ink) !important; font-size: .9rem; text-decoration: none !important; line-height: 1 !important;
}
.mphb-band .datepick-month td .mphb-available-date, .mphb-band .datepick-month td a.mphb-available-date { background: #e8f3ec !important; color: #14522d !important; border-color: #cfe5d7 !important; }
.mphb-band .datepick-month td a.mphb-available-date:hover { background: var(--green-ink) !important; color: #fff !important; border-color: var(--green-ink) !important; }
.mphb-band .datepick-month td .mphb-booked-date, .mphb-band .datepick-month td .mphb-unselectable-date:not(.mphb-past-date) { background: #f3e9e7 !important; color: #a35b52 !important; text-decoration: line-through !important; }
.mphb-band .datepick-month td .mphb-past-date, .mphb-band .datepick-month td .datepick-other-month, .mphb-band .datepick-month td .datepick-disabled { background: transparent !important; color: #b8b6b0 !important; border-color: transparent !important; }
.mphb-band .datepick-month td a.datepick-today, .mphb-band .datepick-month td span.datepick-today { box-shadow: inset 0 0 0 2px var(--green-ink); }
.mphb-band .datepick-month td a.datepick-selected, .mphb-band .datepick-month td a.datepick-highlight, .mphb-band .datepick-month td .mphb-check-in-date, .mphb-band .datepick-month td .mphb-date-check-in, .mphb-band .datepick-month td .mphb-date-check-out {
  background: var(--green-ink) !important; color: #fff !important; border-color: var(--green-ink) !important; text-decoration: none !important; }
.mphb-band .datepick-month td .mphb-date-cell__price { display: none; }
.mphb-band .datepick-ctrl { background: transparent !important; border: 0 !important; padding: .5rem 0 0 !important; font-size: .85rem; color: var(--ink-2, #3a3a36); }
.mphb-band .datepick-ctrl a { color: var(--green-ink) !important; }
/* Легенда под календара (ако плъгинът я показва) */
.mphb-band .mphb-calendar-legend, .mphb-band .mphb-legend { font-size: .8rem; color: var(--ink-3, #6b6b66); }

/* --- Версия 12: бележките от прегледа --------------------------------------- */
/* Детайли на стаята и списъците в картите: без отстъп */
.mphb-band .mphb-single-room-type-attributes, .mphb-band .mphb-loop-room-type-attributes, .mphb-band .mphb-single-room-type-attributes li, .mphb-band .mphb-loop-room-type-attributes li { padding-left: 0; margin-left: 0; }
.mphb-band .mphb-single-room-type-attributes li, .mphb-band .mphb-loop-room-type-attributes li { margin: .2rem 0; }
/* Цената в картите на един ред */
.mphb_sc_search_results-wrapper .mphb-regular-price { font-size: 1.05rem; line-height: 1.3; }
.mphb_sc_search_results-wrapper .mphb-price-period { display: inline; white-space: nowrap; }
/* Формата за резервация: етикет плътно до полето, бутонът с въздух */
.mphb-band .mphb-booking-form label, .mphb-band .mphb_sc_checkout-form label, .mphb-band .mphb-checkout-form label { margin: .8rem 0 .3rem; }
.mphb-band .mphb-booking-form p, .mphb-band .mphb-checkout-form p, .mphb-band .mphb_sc_checkout-form p { margin: 0; }
.mphb-band .mphb-booking-form input, .mphb-band .mphb-booking-form select { display: block; }
.mphb-band .mphb-reserve-btn-wrapper, .mphb-band .mphb-reserve-btn, .mphb-band .mphb-booking-form button[type="submit"], .mphb-band .mphb-booking-form .button { margin-top: 1.25rem; }
/* Кошницата „Препоръчително“: чист списък — количество и стая отляво, цена отдясно */
.mphb-band .mphb-reservation-details li, .mphb-band .mphb-recommendation-item { display: block; overflow: hidden; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.mphb-band .mphb-reservation-details li:last-child { border-bottom: 0; }
.mphb-band .mphb-reservation-details .mphb-price, .mphb-band .mphb-recommendation-item .mphb-price { float: right; margin-left: 1rem; font-weight: 700; }
.mphb-band .mphb-reservation-details .mphb-room-type-total-capacity { display: block; font-size: var(--fs-xs); color: var(--ink-3, #6b6b66); margin-top: .15rem; }
.mphb-band .mphb-reservation-cart .mphb-recommendation-total { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: .75rem 0; }
.mphb-band .mphb-reservation-cart .mphb-cart-message, .mphb-band .mphb-rooms-reservation-message-wrapper { font-size: var(--fs-xs); color: var(--ink-3, #6b6b66); }
/* „Запази“ води направо към потвърждението — вторият бутон и текстът „добавено“ не се показват */
.mphb_sc_search_results-wrapper .mphb-room-type .mphb-rooms-reservation-message-wrapper { display: none; }
/* Месечните заглавия на календара: селектите изглеждат като заглавие */
.mphb-band .datepick-month-header select { background: transparent !important; padding: 0 .2rem !important; font-family: var(--font-display); font-size: 1rem !important; appearance: auto; }
/* Попъпът с дати (закача се към body, не към нашата секция) */
.datepick-popup { z-index: 1000 !important; }
.datepick-popup .datepick { background: var(--surface, #fff) !important; border: 1px solid var(--line, #ddd) !important; border-radius: 12px; padding: .75rem !important; box-shadow: 0 12px 32px rgba(0,0,0,.18); font: inherit !important; font-size: .9rem !important; color: var(--ink, #111) !important; width: 20rem !important; }
.datepick-popup .datepick-nav { display: flex; justify-content: space-between; background: transparent !important; padding: 0 0 .4rem !important; }
.datepick-popup .datepick-nav .datepick-cmd { position: static !important; float: none !important; width: auto !important; padding: .3rem .6rem !important; border-radius: 999px; background: var(--surface-2, #eee) !important; color: var(--ink, #111) !important; font-size: .78rem !important; font-weight: 600; text-decoration: none !important; }
.datepick-popup .datepick-month { background: transparent !important; border: 0 !important; width: 100% !important; float: none !important; padding: 0 !important; }
.datepick-popup .datepick-month-header { background: transparent !important; color: var(--ink, #111) !important; font-weight: 600; text-align: left !important; padding: .2rem 0 .4rem !important; border: 0 !important; }
.datepick-popup .datepick-month-header select { background: transparent !important; border: 0 !important; font: inherit !important; font-weight: 600; color: var(--ink, #111) !important; }
.datepick-popup .datepick-month table { border-collapse: separate !important; border-spacing: 3px !important; width: 100% !important; background: transparent !important; }
.datepick-popup .datepick-month th { background: transparent !important; color: #6b6b66 !important; font-size: .68rem !important; text-transform: uppercase; letter-spacing: .08em; border: 0 !important; padding: .3rem 0 !important; }
.datepick-popup .datepick-month td { padding: 0 !important; border: 0 !important; background: transparent !important; }
.datepick-popup .datepick-month td a, .datepick-popup .datepick-month td span { display: flex !important; align-items: center; justify-content: center; aspect-ratio: 1; min-height: 2rem; border-radius: 8px !important; border: 1px solid transparent !important; background: var(--surface-2, #eee) !important; color: var(--ink, #111) !important; text-decoration: none !important; }
.datepick-popup .datepick-month td a.mphb-available-date, .datepick-popup .datepick-month td .mphb-available-date { background: #e8f3ec !important; color: #14522d !important; border-color: #cfe5d7 !important; }
.datepick-popup .datepick-month td a:hover { background: var(--green-ink, #177a41) !important; color: #fff !important; }
.datepick-popup .datepick-month td .mphb-booked-date, .datepick-popup .datepick-month td .mphb-unselectable-date:not(.mphb-past-date) { background: #f3e9e7 !important; color: #a35b52 !important; text-decoration: line-through !important; }
.datepick-popup .datepick-month td .mphb-past-date, .datepick-popup .datepick-month td .datepick-other-month, .datepick-popup .datepick-month td .datepick-disabled { background: transparent !important; color: #b8b6b0 !important; }
.datepick-popup .datepick-month td .datepick-today { box-shadow: inset 0 0 0 2px var(--green-ink, #177a41); }
.datepick-popup .datepick-month td .datepick-selected, .datepick-popup .datepick-month td .datepick-highlight, .datepick-popup .datepick-month td .mphb-check-in-date, .datepick-popup .datepick-month td .mphb-date-check-in { background: var(--green-ink, #177a41) !important; color: #fff !important; text-decoration: none !important; }
.datepick-popup .datepick-ctrl { background: transparent !important; border: 0 !important; padding: .4rem 0 0 !important; display: flex; justify-content: space-between; }
.datepick-popup .datepick-ctrl a { color: var(--green-ink, #177a41) !important; text-decoration: none !important; font-size: .85rem; }
/* Гостите на потвърждението: име и фамилия за всеки */
.p33-hidden-guest-name { position: absolute !important; left: -9999px; }
.p33-guests { display: grid; gap: .6rem; margin: .5rem 0 1rem; }
.p33-guest { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.p33-guest__n { grid-column: 1 / -1; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3, #6b6b66); }
.p33-guest label { margin: 0; }
.p33-guest label span { display: block; font-size: var(--fs-xs); font-weight: 600; margin-bottom: .25rem; }
.p33-guest input { max-width: none; }
@media (max-width: 30rem) { .p33-guest { grid-template-columns: 1fr; } }


/* --- Версия 14 ------------------------------------------------------------- */
/* Без „Препоръчително“ и кошница — гостът избира сам; „Запази“ води направо към потвърждението */
.mphb-band .mphb-reservation-cart, .mphb-band .mphb-recommendation-title, .mphb-band .mphb-reservation-details, .mphb-band .mphb-cart-message, .mphb-band .mphb-empty-cart-message { display: none !important; }
.mphb_sc_search_results-info { margin-bottom: 1.5rem; }
/* Бутоните в картите с разстояние */
.mphb_sc_search_results-wrapper .mphb-view-details-button-wrapper { padding-bottom: 0 !important; }
.mphb_sc_search_results-wrapper .mphb-reserve-room-section { padding-top: .6rem; padding-bottom: 1.1rem; }
.mphb_sc_search_results-wrapper .mphb-view-details-button, .mphb_sc_search_results-wrapper .mphb-book-button { width: 100%; }
/* Календарът на страницата на стая: компактен, не на цял екран */
.mphb-band .mphb-calendar, .mphb-band .mphb-calendar .datepick { max-width: 22rem; }
.mphb-band .datepick-month td a, .mphb-band .datepick-month td span { min-height: 0; font-size: .85rem; }
.mphb-band .datepick-month table { border-spacing: 2px !important; }
/* Цена: без пунктираната линия под периода; на един ред */
.mphb-band abbr, .mphb-band abbr[title], .mphb-band .mphb-price-period { text-decoration: none !important; border-bottom: 0 !important; cursor: default; }
.mphb-band .mphb-regular-price { display: flex; flex-wrap: wrap; gap: .25rem .4rem; align-items: baseline; }
.mphb-band .mphb-regular-price .mphb-price { font-weight: 700; }

/* Фактура на фирма (потвърждение) */
.p33-invoice { margin: 1rem 0; }
.p33-invoice__toggle { display: flex; align-items: center; gap: .5rem; font-weight: 600; cursor: pointer; margin: 0 0 .5rem; }
.p33-invoice__toggle input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--green-ink); }
.p33-invoice__fields { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem .75rem; padding: .75rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.p33-invoice__fields label { margin: 0; }
.p33-invoice__fields label span { display: block; font-size: var(--fs-xs); font-weight: 600; margin-bottom: .25rem; }
.p33-invoice__fields label:nth-child(4) { grid-column: 1 / -1; }
.p33-invoice__fields input { max-width: none; }
@media (max-width: 30rem) { .p33-invoice__fields { grid-template-columns: 1fr; } }

/* Страница на стая: резервацията е в нашия поток — формата и календарът на MotoPress не се показват */
.single-mphb_room_type .mphb-booking-form-wrapper, .single-mphb_room_type .mphb-booking-form, .single-mphb_room_type .mphb-calendar-title, .single-mphb_room_type .mphb-calendar, .single-mphb_room_type .mphb-reservation-form-title, .single-mphb_room_type .mphb-required-fields-tip { display: none !important; }
.p33-room-cta { margin: 1.25rem 0 1.75rem; padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.p33-room-cta .btn { width: 100%; }
