@charset "UTF-8";
/* ==========================================================================
   TurPoisk — тема спливної форми otpusk «Запит на підбір» / «Замовити тур»
   --------------------------------------------------------------------------
   • Лише CSS. Форма — модуль замовлення otpusk (order.min.js) у вікні
     fancybox: іконка листа збоку сторінки (.js-otpusk-open), кнопки
     «Залишити запит» на сторінках країн тощо.
   • Підключати на всіх сторінках, де є ці кнопки. Найпростіше — у модулі з
     іконками месенджерів (поруч із .js-otpusk-open) або в шаблоні перед </head>:
       <link rel="stylesheet" href="/os/onsite/otpusk-order-theme.css?v=3">
     Після кожної зміни файлу міняйте ?v=… — сервер і PageSpeed кешують CSS
     на 30 днів.
   • «Замовити тур» на сторінці туру оформлює otpusk-tour-theme.css. Там
     віджет ставить body.new_t-order-form-open, і ця тема туди не втручається.
   • У шаблоні сайту є свої правила для цієї форми (колір #4198b4, рамка
     5 px, поля 30 px з !important, синя кнопка) — тема їх перебиває.
   ========================================================================== */

/* --- 1. Вікно ------------------------------------------------------------- */
body:not(.new_t-order-form-open) .fancybox-overlay:has(.os-order-form-wrap){background:rgba(9,30,45,.55)}
body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-skin{
  padding:0 !important;border-radius:20px;background:#fff;
  box-shadow:0 30px 80px rgba(0,0,0,.35) !important;
}
/* fancybox запам'ятовує висоту при відкритті; підказки під полями й поле
   «Курорт» роблять форму вищою — даємо вікну рости */
body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-inner{
  height:auto !important;overflow:visible !important;border-radius:20px;
}
body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap){margin-bottom:24px}
body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-close{
  top:12px;right:12px;width:36px;height:36px;border-radius:50%;background:#f2f6f9;
}
body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-close::before{
  content:"\00d7";position:absolute;inset:0;
  font:400 26px/35px Arial,sans-serif;text-align:center;color:#13222f;
}
body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-close:hover{background-color:#e8f4fb}

/* --- 2. Форма: сітка на дві колонки ---------------------------------------- */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap{
  box-sizing:border-box;width:520px;max-width:100%;padding:24px 26px 26px !important;
  border:0 !important;border-radius:20px;background:#fff;
  font-family:"Open Sans",Arial,sans-serif;color:#3a4b5a;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap form{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;margin:0;
}
/* обгортки otpusk розчиняємо — поля стають клітинками сітки */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-top-part,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-table,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-left-col,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-right-col,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts{display:contents}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap form>div,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap form>div>div,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-table>div>div{
  float:none !important;width:auto !important;min-width:0;margin:0 !important;padding:0 !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-header-title,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-country,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-city,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-name,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-comment,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-office,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-desc,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-submit{grid-column:1 / -1}

/* заголовок */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap .os-order-header-title{
  margin:0 48px 6px 0 !important;
  font:700 22px/1.3 "Open Sans",Arial,sans-serif !important;letter-spacing:-.01em;
  color:#13222f !important;text-transform:none;
}

/* --- 3. Списки: «Куди?», курорт, дорослі й діти, тривалість, офіс ---------- */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-select-wrapper{
  position:relative;display:block;box-sizing:border-box;width:auto !important;height:48px;margin:0;padding:0;
  border:1px solid #d6e0e8 !important;border-radius:12px !important;background:#fff !important;
  overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-select-wrapper:hover{border-color:#b9cad8 !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-select-wrapper:focus-within{border-color:#1b85c2 !important;box-shadow:0 0 0 3px rgba(27,133,194,.18)}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-select-wrapper::after{
  content:"" !important;position:absolute;top:50%;right:14px;left:auto;bottom:auto;
  width:16px;height:16px;margin-top:-8px;padding:0;border:0;font-size:0;
  background:#6e8193 !important;pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap select{
  -webkit-appearance:none;appearance:none;box-sizing:border-box;
  width:100% !important;height:46px !important;min-height:0 !important;margin:0 !important;
  padding:0 38px 0 14px !important;border:0 !important;border-radius:0;
  background:transparent !important;box-shadow:none !important;outline:0;cursor:pointer;
  font:15px/46px "Open Sans",Arial,sans-serif !important;color:#13222f !important;
  text-overflow:ellipsis;
}
/* дорослі й діти: підпис і два маленькі списки в рядок */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people>span{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}
/* otpusk задає підписам ширину 57 і 7 px та зсуви top — скидаємо */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-first-title{
  position:static;top:auto;width:auto !important;margin:0 4px 0 0;white-space:nowrap;
  font:600 13.5px/1.25 "Open Sans",Arial,sans-serif !important;color:#3a4b5a !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-first-title br{display:none}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people .os-order-select-wrapper{flex:0 0 84px;width:84px !important;margin:0 !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-and-title{position:static;top:auto;width:auto !important;margin:0 !important;font:14px/1 "Open Sans",Arial,sans-serif !important;color:#6e8193 !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people>span>div{flex:1 0 100%}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-second-title{
  margin:4px 0 6px;font:600 13px/1.3 "Open Sans",Arial,sans-serif !important;color:#6e8193 !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people>span>div>span{display:flex;flex-wrap:wrap;gap:8px}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people>span>div .os-order-select-wrapper{flex:0 0 84px}

/* --- 4. «Коли?» і «можливі інші дати» --------------------------------------- */
/* otpusk: блок дат зсунутий на -9 px, поле 111 px, чекбокс 95 px — скидаємо */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates{position:static !important;top:auto !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates>span{display:flex;flex-direction:column;gap:8px}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates .os-order-input-wrapper{
  position:relative;display:block;box-sizing:border-box;width:auto !important;height:48px;margin:0;padding:0;
  border:1px solid #d6e0e8 !important;border-radius:12px !important;background:#fff !important;
  transition:border-color .15s ease,box-shadow .15s ease;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates .os-order-input-wrapper:hover{border-color:#b9cad8 !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates .os-order-input-wrapper:focus-within{border-color:#1b85c2 !important;box-shadow:0 0 0 3px rgba(27,133,194,.18)}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates .os-order-input-wrapper::after{
  content:"" !important;position:absolute;top:50%;right:14px;left:auto;
  width:18px;height:18px;margin-top:-9px;padding:0;font-size:0;
  background:#1b85c2 !important;pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='2.5'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center/contain no-repeat;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates input.os-order-datepicker{
  box-sizing:border-box;width:100% !important;height:46px !important;min-height:0 !important;margin:0 !important;
  padding:0 42px 0 14px !important;border:0 !important;border-radius:12px;background:transparent !important;
  box-shadow:none !important;outline:0;cursor:pointer;
  font:15px/46px "Open Sans",Arial,sans-serif !important;color:#13222f !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates label{
  position:static;top:auto;display:flex;align-items:center;gap:8px;width:auto !important;
  margin:0 0 0 2px;padding:0 !important;cursor:pointer;white-space:nowrap;
  font:13.5px/1.3 "Open Sans",Arial,sans-serif !important;color:#3a4b5a !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates label span{font:inherit !important;color:inherit !important}
/* otpusk ставить чекбокс absolute — повертаємо його в рядок із підписом */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates input[type="checkbox"]{
  position:static !important;top:auto;left:auto;flex:0 0 18px;width:18px;height:18px;min-height:0 !important;
  margin:0;padding:0 !important;accent-color:#1b85c2;cursor:pointer;
}

/* --- 5. Контакти, побажання, офіс, згода ------------------------------------ */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts span,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-comment>span{display:block}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts input,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea{
  box-sizing:border-box !important;width:100% !important;margin:0 !important;
  border:1px solid #d6e0e8 !important;border-radius:12px !important;background:#fff !important;box-shadow:none;
  font-family:"Open Sans",Arial,sans-serif !important;font-size:15px !important;line-height:1.4 !important;color:#13222f !important;
  transition:border-color .15s ease,box-shadow .15s ease;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts input{height:48px !important;min-height:48px !important;padding:0 14px !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea{display:block;height:88px !important;min-height:88px !important;padding:12px 14px !important;resize:vertical}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts input:hover,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea:hover{border-color:#b9cad8 !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts input:focus,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea:focus{outline:0;border-color:#1b85c2 !important;box-shadow:0 0 0 3px rgba(27,133,194,.18)}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap input::placeholder,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea::placeholder{color:#8a9aa9;opacity:1}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-name{margin-top:6px !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-desc{
  margin:2px 0 0 !important;font:12.5px/1.5 "Open Sans",Arial,sans-serif !important;color:#6e8193 !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-submit .os-order-form-submit_button{
  display:block;width:100% !important;height:52px !important;margin:6px 0 0 !important;padding:0 !important;
  border:0 !important;border-radius:14px !important;
  background:linear-gradient(180deg,#ff9331,#f26b0f) !important;box-shadow:0 10px 22px rgba(242,107,15,.28) !important;
  font:700 16px/52px "Open Sans",Arial,sans-serif !important;color:#fff !important;cursor:pointer;transition:filter .2s ease;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-submit .os-order-form-submit_button:hover{
  background:linear-gradient(180deg,#ff9331,#f26b0f) !important;filter:brightness(1.05);
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-submit .os-order-form-submit_button:focus{outline:0}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-submit .os-order-form-submit_button:focus-visible{outline:3px solid rgba(27,133,194,.45);outline-offset:2px}

/* --- 6. Помилки й «заявку відправлено» -------------------------------------- */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-error{
  margin:6px 2px 0 !important;font:12.5px/1.3 "Open Sans",Arial,sans-serif !important;color:#c92a2a !important;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-required input,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-required textarea,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-required .os-order-select-wrapper,
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-required .os-order-input-wrapper{border-color:#e5787a !important;background:#fff8f8 !important}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-info{font-size:15px;line-height:1.5;color:#146c3c}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-info:not(:empty){
  display:flex;flex-direction:column;align-items:center;padding:10px 0 6px;text-align:center;
  font-family:"Open Sans",Arial,sans-serif;color:#6e8193;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-info:not(:empty)::before{
  content:"";width:64px;height:64px;margin:6px 0 16px;border-radius:50%;
  background:#e7f5ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9' fill='%231f9d55'/%3E%3Cpath d='M5.2 9.3l2.5 2.5 5.1-5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/36px no-repeat;
}
/* otpusk: .os-order-form-wrap *{font:14px arial;font-weight:normal !important} */
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-info .os-order-h2{
  margin:0 0 6px;padding:0;font:700 20px/1.3 "Open Sans",Arial,sans-serif !important;color:#13222f !important;text-transform:none;
}
body:not(.new_t-order-form-open) .fancybox-wrap .os-order-info .os-order-h2+div{font:15px/1.5 "Open Sans",Arial,sans-serif !important;color:#6e8193 !important}

/* --- 7. Календар «Коли?» ----------------------------------------------------- */
/* bootstrap-datepicker otpusk додає календар у кінець сторінки, тож тема
   вмикається, поки на сторінці відкрите вікно з формою (клас fancybox-lock
   на <html> для цього не годиться: на iPhone fancybox його не ставить) */
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu{
  box-sizing:border-box;min-width:0;margin-top:6px;padding:10px 12px 12px;
  border:1px solid #e3eaf0 !important;border-radius:16px;background:#fff;
  box-shadow:0 18px 40px rgba(9,30,45,.22);font-family:"Open Sans",Arial,sans-serif;
}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu::before,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu::after{display:none}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu table{margin:0;border-collapse:separate;border-spacing:2px;background:none}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td{
  box-sizing:border-box;padding:0;border:0 !important;background:none !important;
  font-family:"Open Sans",Arial,sans-serif;text-align:center;
}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu thead tr.header th{
  height:36px;background:none !important;color:#13222f !important;font-size:15px;font-weight:700;
}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.prev,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.next,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.switch{border-radius:10px;cursor:pointer;background:none !important}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.prev,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.next{width:36px}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.prev:hover,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.next:hover,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.switch:hover{background:#eef4f8 !important}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.prev em,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.next em{display:none}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.prev::before,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.next::before{
  content:"";display:block;width:16px;height:16px;margin:auto;background:#13222f;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6 6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.prev::before{transform:scaleX(-1)}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu th.dow{height:28px;font-size:12px;font-weight:700;color:#8a9aa9 !important}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day{
  width:36px;height:36px;border-radius:10px;font-size:14px;line-height:36px;color:#13222f;cursor:pointer;
  transition:background-color .12s ease;
}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day:hover{background:#e8f4fb !important;color:#0f5f8f}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day.old,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day.new{color:#9fb0bd}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day.disabled,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day.disabled:hover{color:#cdd6de !important;background:none !important;cursor:default}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day.active,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td.day.active:hover{background:#1b85c2 !important;color:#fff !important;font-weight:700}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td span.month,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td span.year{
  width:31%;height:44px;margin:1%;border-radius:10px;background:none;font-size:14px;line-height:44px;color:#13222f;cursor:pointer;
}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td span.month:hover,
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td span.year:hover{background:#e8f4fb}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td span.active{background:#1b85c2 !important;color:#fff !important}
body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap)>.datepicker.dropdown-menu td span.disabled{color:#cdd6de;background:none;cursor:default}

/* --- 8. Телефон: компактна форма ----------------------------------------------
   Поля нижчі (44 px), короткі поля стоять парами, як на комп'ютері:
   «Коли?» | «Тривалість», «Ім'я» | «Телефон»; e-mail — на всю ширину,
   бо адреси бувають довгі. Вікно ширше: по 10 px від країв екрана. */
@media (max-width:560px){
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap){width:calc(100% - 20px) !important}
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-inner{width:auto !important}
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-skin,
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-inner{border-radius:18px}
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-close{top:10px;right:10px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap{width:auto;padding:16px 14px !important;border-radius:18px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap form{gap:8px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap .os-order-header-title{margin-bottom:2px !important;font-size:19px !important}
  /* поля 44 px */
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-select-wrapper,
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates .os-order-input-wrapper{height:44px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap select{height:42px !important;padding:0 34px 0 12px !important;line-height:42px !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-select-wrapper::after{right:12px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates input.os-order-datepicker{height:42px !important;padding:0 38px 0 12px !important;line-height:42px !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates .os-order-input-wrapper::after{right:12px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts input{height:44px !important;min-height:44px !important;padding:0 12px !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea{height:66px !important;min-height:66px !important;padding:9px 12px !important}
  /* пари */
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-name{grid-column:auto;margin-top:0 !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-email{grid-column:1 / -1}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates>span{gap:6px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates label{white-space:normal;font-size:13px !important}
  /* дорослі й діти в один рядок: списки стискаються під ширину екрана */
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people>span{gap:8px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-first-title{margin:0;font-size:13px !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people>span>.os-order-select-wrapper{flex:1 1 0;width:auto !important;min-width:0;max-width:110px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people select{padding:0 28px 0 12px !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-people .os-order-select-wrapper::after{right:9px}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-desc{font-size:12px !important;line-height:1.45 !important}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-submit .os-order-form-submit_button{height:48px !important;margin-top:2px !important;line-height:48px !important}
}
/* зовсім вузькі екрани (320 px): одна колонка, підпис «Дорослі та діти» у два рядки */
@media (max-width:340px){
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap form{grid-template-columns:minmax(0,1fr)}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-name{grid-column:1 / -1}
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-first-title br{display:inline}
}

/* --- 9. Телефони й планшети: вікно тримається на екрані -------------------------
   На iPhone/iPad fancybox otpusk не прикріплює вікно до затемнення (коли є
   document.createTouch, у нього locked:false): вікно стоїть посеред сторінки
   й відгортається разом із нею. Тримаємо його по центру екрана, сторінку під
   ним не гортаємо; якщо форма вища за екран, гортається сама форма.
   Текст у полях 16 px: з дрібнішим iPhone збільшує сторінку, коли торкаєшся поля. */
@media (max-width:560px),(hover:none) and (pointer:coarse){
  html:has(body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap),
  body:not(.new_t-order-form-open):has(.fancybox-wrap .os-order-form-wrap){overflow:hidden !important}
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap){
    position:fixed !important;top:50% !important;right:0 !important;left:0 !important;
    margin:0 auto !important;transform:translateY(-50%);
  }
  body:not(.new_t-order-form-open) .fancybox-wrap:has(.os-order-form-wrap) .fancybox-skin{
    max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);
    overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;
  }
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap select,
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-input-dates input.os-order-datepicker,
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-user-contacts input,
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap textarea{font-size:16px !important}
}
@media (prefers-reduced-motion:reduce){
  body:not(.new_t-order-form-open) .fancybox-wrap .os-order-form-wrap *{transition:none !important}
}
