/* «Новорічні фотодні»: блок запису (картки днів беруть стилі .tp-slot-* з design.css). */
body .tp-booking {
  margin: 28px auto 0;
  max-width: 760px;
  text-align: left;
}

body .tp-booking__loading,
body .tp-booking__note {
  text-align: center;
}

body .tp-booking .tp-slot--pick {
  cursor: pointer;
  font: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body .tp-booking .tp-slot--pick:hover,
body .tp-booking .tp-slot--pick:focus-visible {
  border-color: #96685a;
  outline: none;
}

body .tp-booking .tp-slot--pick[aria-pressed='true'] {
  background: #96685a;
  border-color: #96685a;
  color: #fff;
}

body .tp-booking__form,
body .tp-booking__done {
  background: #fff;
  border: 1px solid #e7d9cf;
  border-radius: 16px;
  box-sizing: border-box;
  margin: 20px auto 0;
  padding: 22px 22px 24px;
}

body .tp-booking__form[hidden] {
  display: none;
}

body .tp-booking__chosen,
body .tp-booking__done-title {
  color: #3a312c;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 14px;
}

body .tp-booking__field {
  display: block;
  margin: 0 0 14px;
}

body .tp-booking__label {
  color: #3a312c;
  display: block;
  font-size: 14px;
  margin: 0 0 6px;
}

body .tp-booking__hint {
  color: #7a6a60;
  display: block;
  font-size: 13px;
  margin-top: 4px;
}

body .tp-booking__field input,
body .tp-booking__field select,
body .tp-booking__field textarea {
  background: #fdfbf8;
  border: 1px solid #d9c8bc;
  border-radius: 10px;
  box-sizing: border-box;
  color: #3a312c;
  font: inherit;
  font-size: 16px;
  padding: 11px 12px;
  width: 100%;
}

body .tp-booking__field input:focus,
body .tp-booking__field select:focus,
body .tp-booking__field textarea:focus {
  border-color: #96685a;
  outline: 2px solid rgba(150, 104, 90, 0.2);
}

body .tp-booking__trap {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

body .tp-booking__error {
  color: #b3261e;
  font-size: 14px;
  margin: 0 0 10px;
  min-height: 0;
}

body .tp-booking__error:empty {
  display: none;
}

body .tp-booking__submit {
  border: 0;
  cursor: pointer;
  width: 100%;
}

body .tp-booking__submit[disabled] {
  cursor: wait;
  opacity: 0.7;
}

body .tp-booking__done {
  border-color: #cfb539;
  text-align: center;
}

body .tp-booking__done p {
  margin: 0 0 6px;
}

/* --- v2 (20.10.2026): картки днів зі студією, заброньований час, слайдер, перший екран --- */

body .tp-booking .tp-slot-days {
  align-items: stretch;
}

body .tp-slot-day--rich {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

body .tp-slot-day__photo {
  aspect-ratio: 3 / 2;
  background: #efe4da;
  overflow: hidden;
}

body .tp-slot-day__photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  width: 100%;
}

/* Кілька фото залу: гортання (04.11.2026) */
body .tp-slot-day__photo { position: relative; }
body .tp-gal__track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
body .tp-gal__track::-webkit-scrollbar { display: none; }
body .tp-gal__track img {
  flex: 0 0 100%;
  min-width: 100%;
  scroll-snap-align: start;
}
body .tp-booking .tp-gal__btn {
  align-items: center;
  background: rgba(255, 255, 255, .9);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  color: #7a1c27;
  cursor: pointer;
  display: flex;
  font-size: 28px;
  height: 40px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0 0 4px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: opacity .2s;
  width: 40px;
  z-index: 3;
}
body .tp-booking .tp-gal__prev { left: 10px; }
body .tp-booking .tp-gal__next { right: 10px; }
body .tp-booking .tp-gal__btn:disabled { opacity: 0; pointer-events: none; }
body .tp-gal__dots {
  bottom: 12px;
  display: flex;
  gap: 6px;
  justify-content: center;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  z-index: 3;
}
body .tp-gal__dots span {
  background: rgba(255, 255, 255, .6);
  border-radius: 4px;
  box-shadow: 0 0 3px rgba(0, 0, 0, .45);
  height: 7px;
  transition: width .2s;
  width: 7px;
}
body .tp-gal__dots span.is-on { background: #fff; width: 18px; }

body .tp-slot-day__body {
  padding: 20px 22px 22px;
}

body .tp-slot-day--rich .tp-slot-day__date {
  font-size: 24px;
  line-height: 1.15;
}

body .tp-slot-day--rich .tp-slot-day__place {
  color: #3a312c;
  font-size: 15px;
  margin: 0 0 12px;
}

/* 11.11.2026: ціна фотосесії в картці дня */
body .tp-slot-day__price {
  color: #5c4f47;
  font-size: 15px;
  line-height: 1.3;
  margin: -4px 0 14px;
  padding: 0;
}
body .tp-slot-day__price strong {
  color: #3a312c;
  font-size: 22px;
  font-weight: 700;
  margin-right: 2px;
  white-space: nowrap;
}
body.page-id-7268 #main-content .tp-slot-day__price strong {
  color: var(--ny-wine, #6a0d18);
  font-family: "Playfair Display", Georgia, serif;
}

body .tp-slot-day__facts {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
}

body .tp-slot-day__facts div {
  display: flex;
  gap: 8px;
  font-size: 14px;
  line-height: 1.45;
}

body .tp-slot-day__facts dt {
  color: #9b8a7f;
  flex: 0 0 64px;
  font-weight: 400;
  margin: 0;
}

body .tp-slot-day__facts dd {
  color: #5c4f47;
  margin: 0;
}

body .tp-booking .tp-slot-list li {
  position: relative;
}

body .tp-booking .tp-slot--booked {
  background: transparent;
  border-color: #d9c8bc;
  color: #a8978c;
  cursor: not-allowed;
  font: inherit;
  font-size: 14px;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

body .tp-slot-hint {
  background: #3a312c;
  border-radius: 8px;
  bottom: calc(100% + 8px);
  color: #fff;
  font-size: 13px;
  left: 50%;
  line-height: 1.3;
  padding: 7px 10px;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 5;
}

body .tp-slot-hint::after {
  border: 6px solid transparent;
  border-top-color: #3a312c;
  content: "";
  left: 50%;
  margin-left: -6px;
  position: absolute;
  top: 100%;
}

/* Крайні кнопки в ряду: підказка не вилазить за екран телефона. */
body .tp-slot-list li:first-child .tp-slot-hint {
  left: 0;
  transform: none;
}

body .tp-slot-list li:first-child .tp-slot-hint::after {
  left: 22px;
}

body .tp-booking__legend {
  color: #7a6a60;
  font-size: 13px;
  margin: -14px 0 0;
  text-align: center;
}

body .tp-booking__status {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

/* Слайдер у «поляроїді» */
body .tp-ny-slider__frame {
  aspect-ratio: 4 / 5;
  background: #efe4da;
  overflow: hidden;
  position: relative;
}

body .tp-ny-slider .tp-ny-slide {
  height: 100%;
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 1.1s ease;
}

body .tp-ny-slider .tp-ny-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body .tp-ny-slider .tp-ny-slide {
    transition: none;
  }
}

/* Перший екран */
body h1.tp-ny-title {
  letter-spacing: 0.01em !important;
}

body .tp-ny-mini {
  color: var(--tp-gilt, #b89a5a);
  font-family: "Manrope", sans-serif;
  font-size: 0.32em;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-left: 0.15em;
  position: relative;
  top: -1.5em;
  vertical-align: baseline;
}

body .tp-ny-sub {
  color: #3a312c !important;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px !important;
  font-style: italic;
  line-height: 1.25 !important;
  margin: 6px 0 0 !important;
}

body .tp-ny-copy {
  margin-top: 14px;
}

body .tp-ny-copy .tp-landing-checklist {
  gap: 10px;
  margin: 4px 0 20px;
}

body .tp-ny-copy .tp-landing-checklist li {
  color: #3a312c;
}

body .tp-ny-price {
  color: var(--tp-primary, #96685a);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0 0 6px !important;
}

body .tp-ny-deposit {
  margin: 0 0 4px !important;
}

body .tp-ny-limited {
  color: #b3261e;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  margin: 0 !important;
  text-transform: uppercase;
}

body .tp-landing-actions .tp-btn.tp-ny-cta {
  letter-spacing: 0.08em;
}

@media (max-width: 640px) {
  body .tp-ny-sub {
    font-size: 22px !important;
  }

  body .tp-ny-price {
    font-size: 28px;
  }

  body .tp-slot-day__body {
    padding: 18px 18px 20px;
  }
}
