/* Плагин «Персональные данные (152-ФЗ) — Гонконг». Цвета и скругления — как у кнопок темы. */
:root { --hkpdn-red: #e63232; --hkpdn-text: #333; }

/* ---------- Кнопки ---------- */
.hkpdn-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 22px; border: 0; border-radius: 200px;
  background: var(--hkpdn-red); color: #fff; font: 500 15px/1.2 Manrope, sans-serif;
  cursor: pointer; transition: background-color .2s, box-shadow .2s;
}
.hkpdn-btn:hover { background: #cf2525; }
.hkpdn-btn:focus-visible { outline: 2px solid var(--hkpdn-red); outline-offset: 2px; }
.hkpdn-btn-ghost { background: #fff; color: var(--hkpdn-text); box-shadow: inset 0 0 0 1px #d5d5d5; }
.hkpdn-btn-ghost:hover { background: #f5f5f5; }

/* ---------- Окно cookie ---------- */
.hkpdn-cc {
  position: fixed; right: 24px; bottom: 24px; z-index: 100000;
  box-sizing: border-box; width: 400px; max-width: calc(100vw - 32px); padding: 20px;
  border-radius: 20px; background: #fff; color: var(--hkpdn-text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
  font: 400 14px/1.45 Manrope, sans-serif; text-align: left;
}
.hkpdn-cc[hidden] { display: none; }
.hkpdn-cc a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.hkpdn-cc-btns { display: flex; gap: 10px; margin-top: 16px; }
.hkpdn-cc-btns .hkpdn-btn { flex: 1 1 0; }
@media screen and (max-width: 479px) {
  .hkpdn-cc { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 16px; font-size: 13px; }
}

/* ---------- Галочка согласия в формах ---------- */
/* Блок не влияет на ширину формы (contain), поля и кнопка сохраняют размеры макета. */
.hkpdn-consent { width: 100%; contain: inline-size; margin-top: 16px; }
.hkpdn-check { display: flex; align-items: flex-start; justify-content: center; gap: 10px; margin: 0; cursor: pointer; text-align: left; }
.hkpdn-check .hkpdn-cb {
  -webkit-appearance: none; appearance: none; flex: none; box-sizing: border-box;
  width: 20px; height: 20px; margin: 1px 0 0; border: 1.5px solid #c4c4c4; border-radius: 6px;
  background: #fff center / 70% no-repeat; cursor: pointer; opacity: 1; position: static;
  transition: background-color .2s, border-color .2s;
}
.hkpdn-check .hkpdn-cb:checked {
  background-color: var(--hkpdn-red); border-color: var(--hkpdn-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.3 3.3L11 1.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.hkpdn-check .hkpdn-cb:focus-visible { outline: 2px solid var(--hkpdn-red); outline-offset: 2px; }
.hkpdn-need .hkpdn-check .hkpdn-cb { border-color: var(--hkpdn-red); box-shadow: 0 0 0 4px rgba(230, 50, 50, .18); }
.hkpdn-check-txt { max-width: 440px; font-size: 12px; line-height: 1.45; color: rgba(43, 46, 56, .75); text-wrap: balance; }
.hkpdn-check-txt a { color: inherit; text-decoration: underline; text-decoration-color: rgba(43, 46, 56, .35); text-underline-offset: .15em; }
.hkpdn-check-txt a:hover { text-decoration-color: currentColor; }
input[type=submit].hkpdn-disabled, button.hkpdn-disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Карта до согласия ---------- */
.hkpdn-map-ph { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 550px; height: 100%; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .55); }
.hkpdn-map-ph-in { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 320px; font-size: 15px; line-height: 1.45; text-align: center; color: var(--hkpdn-text); }
@media screen and (max-width: 767px) { .hkpdn-map-ph { min-height: 320px; } }

/* ---------- Подвал ---------- */
.hkpdn-legal { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 6px; margin-bottom: 10px; font-size: 15px; line-height: 1.4; }
.hkpdn-legal a { color: var(--hkpdn-text); text-decoration: none; border-bottom: 1px dashed var(--hkpdn-text); }
.hkpdn-legal a:hover { border-bottom-style: solid; }
.hkpdn-dev { flex: none; font-size: 14px; line-height: 1.4; color: var(--hkpdn-text); text-decoration: none; white-space: nowrap; }
.hkpdn-dev span { border-bottom: 1px dashed var(--hkpdn-text); }
.hkpdn-dev:hover span { border-bottom-style: solid; }
@media screen and (max-width: 767px) {
  .copywrite-wrp { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
  .hkpdn-legal { flex-direction: column; align-items: center; font-size: 14px; }
}

/* ---------- Календарь брони (flatpickr) в цветах сайта ---------- */
.flatpickr-calendar { font-family: Manrope, sans-serif; border-radius: 16px; border: 0; box-shadow: 0 8px 32px rgba(0, 0, 0, .16); }
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after { display: none; }
.flatpickr-months .flatpickr-month { height: 44px; }
.flatpickr-current-month { padding-top: 10px; font-size: 16px; font-weight: 500; }
.flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 500; }
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month { padding: 14px 12px; }
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--hkpdn-red); }
span.flatpickr-weekday { font-weight: 500; color: rgba(51, 51, 51, .55); }
.flatpickr-day { border-radius: 10px; color: var(--hkpdn-text); }
.flatpickr-day:hover, .flatpickr-day:focus { background: #fdeaea; border-color: #fdeaea; }
.flatpickr-day.today { border-color: var(--hkpdn-red); }
.flatpickr-day.today:hover, .flatpickr-day.today:focus { background: #fdeaea; border-color: var(--hkpdn-red); color: var(--hkpdn-text); }
.flatpickr-day.selected, .flatpickr-day.selected:hover, .flatpickr-day.selected:focus { background: var(--hkpdn-red); border-color: var(--hkpdn-red); color: #fff; }
.flatpickr-day.flatpickr-disabled, .flatpickr-day.flatpickr-disabled:hover, .flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay { color: rgba(51, 51, 51, .25); background: none; border-color: transparent; }
.flatpickr-time { border-top: 1px solid #eee; }
.flatpickr-time input, .flatpickr-time .flatpickr-time-separator { font-size: 16px; font-weight: 500; color: var(--hkpdn-text); }
.flatpickr-time input:hover, .flatpickr-time input:focus { background: #fdeaea; }

/* ---------- Страницы документов ---------- */
.hkpdn-doc h2 { margin: 1.6em 0 .6em; font-size: 22px; line-height: 1.3; }
.hkpdn-doc h3 { margin: 1.3em 0 .5em; font-size: 18px; line-height: 1.35; }
.hkpdn-doc p, .hkpdn-doc li { line-height: 1.55; }
.hkpdn-doc p { margin: 0 0 .75em; }
.hkpdn-doc ul { margin: 0 0 .9em; }
.hkpdn-doc li + li { margin-top: .3em; }
.hkpdn-doc ul { padding-left: 1.3em; }
.hkpdn-doc a { color: inherit; text-decoration: underline; }

/* телефон: галочка не прижимается к рамке карточки — отступ как у полей формы */
@media (max-width: 767px) { .booking .hkpdn-consent { box-sizing: border-box; padding-left: 30px; padding-right: 30px; } }
