:root {
  --forest: #ff4a12;
  --forest-dark: #1a241a;
  --orange: #ff4a12;
  --orange-soft: rgba(255, 74, 18, 0.14);
  --brand-price: #ff4a12;
  --brand-range: rgba(255, 74, 18, 0.1);
  --brand-selected-border: rgba(255, 74, 18, 0.35);
  --paper: #f6f6f6;
  --white: #fff;
  --text: #242528;
  --muted: #9a9a9a;
  --line: #d9d9d9;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.1);
  --forest-bg: linear-gradient(#fcfaf5, #fcfaf5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  background: #f6f6f6 var(--forest-bg) center/cover fixed no-repeat;
  color: var(--text);
}

body.no-page-scroll {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.site-preview {
  min-height: 100vh;
  background: transparent;
}

.site-preview.compact-mode {
  display: none;
}

.site-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px clamp(24px, 6vw, 92px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.46)),
    var(--forest-bg) center/cover no-repeat;
  color: var(--forest-dark);
}

.site-hero.is-extended {
  align-items: center;
}

.site-hero.is-extended .site-copy {
  display: none;
}

.site-copy {
  max-width: 620px;
  margin-right: auto;
}

.site-kicker {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  opacity: 0.62;
}

.site-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(44px, 9vw, 96px);
  line-height: 0.95;
}

.site-copy p:not(.site-kicker) {
  max-width: 520px;
  margin: 0 0 34px;
  font-size: 18px;
  line-height: 1.65;
  opacity: 0.82;
}

.extended-listing {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.75fr);
  gap: 0;
  width: min(1120px, 100%);
  height: min(760px, calc(100vh - 48px));
  min-height: 560px;
  align-items: stretch;
}

.listing-media {
  position: relative;
  height: 100%;
  min-height: 0;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.listing-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
}

.listing-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 32px;
  text-align: center;
  color: var(--forest-dark);
  background: rgba(255, 255, 255, 0.72);
}

.listing-photo-placeholder strong { font-size: 24px; }
.listing-photo-placeholder span { max-width: 320px; color: var(--muted); line-height: 1.5; }

.listing-arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest);
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.listing-arrow.left {
  left: 14px;
}

.listing-arrow.right {
  right: 14px;
}

.listing-thumbs {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
  scrollbar-width: none;
}

.listing-thumbs::-webkit-scrollbar {
  display: none;
}

.listing-thumbs button {
  flex: 0 0 74px;
  height: 86px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0.48;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.listing-thumbs button.active {
  opacity: 1;
}

.listing-thumbs img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.listing-copy {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 36px;
  border-radius: 0 14px 14px 0;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.listing-logo {
  width: min(168px, 60%);
  max-height: 92px;
  object-fit: contain;
  margin: 0 0 20px;
}

.listing-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.02;
}

.listing-copy p {
  margin: 0;
  color: rgba(36, 37, 40, 0.78);
  line-height: 1.65;
}

.listing-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 18px;
}

.listing-facts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(36, 37, 40, 0.72);
  font-weight: 700;
  line-height: 1.2;
}

.listing-facts img,
.object-choice-facts img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  opacity: 0.82;
  filter: invert(24%) sepia(18%) saturate(871%) hue-rotate(72deg) brightness(91%) contrast(86%);
}

.listing-address {
  margin-bottom: 10px !important;
}

.listing-map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.listing-map-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.listing-map-links a:hover {
  border-color: var(--forest);
  transform: translateY(-1px);
}

.listing-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.listing-contacts a,
.listing-contact-static {
  display: inline-grid;
  gap: 2px;
  min-height: 48px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 12px;
  background: #fff;
  color: var(--forest-dark);
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.listing-contacts a:hover {
  border-color: var(--forest);
  transform: translateY(-1px);
}

.listing-contacts span span,
.listing-contacts a span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.listing-contacts b {
  max-width: 180px;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.listing-contacts .listing-phone-contact b {
  display: flex;
  align-items: center;
  gap: 6px;
}

.listing-phone-contact i {
  color: var(--forest);
  font-size: 17px;
  font-style: normal;
  line-height: 1;
}

.listing-contacts a.listing-contact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  min-height: 48px;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.listing-contact-icon img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
}

.primary-button,
.ghost-button {
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  padding: 0 28px;
  font-weight: 800;
  transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.primary-button {
  background: var(--orange);
  color: #fff;
}

.primary-button:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
}

.primary-button.wide {
  width: 100%;
}

.ghost-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.ghost-button:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.52)),
    var(--forest-bg) center/cover no-repeat;
}

.widget-mode {
  background: #f6f6f6 var(--forest-bg) center/cover fixed no-repeat;
}

.widget-launch .site-preview {
  display: none;
}

.widget-mode .site-preview,
.widget-mode .thanks-page.hidden,
.widget-mode .prices-page.hidden {
  display: none;
}

.widget-mode .overlay {
  background:
    linear-gradient(rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.42)),
    var(--forest-bg) center/cover no-repeat;
}

.widget-mode.embed-mode,
.widget-mode.embed-mode .overlay {
  background: transparent;
}

.widget-mode.embed-mode .overlay {
  padding: 0;
}

.booking-modal {
  position: relative;
  width: min(442px, calc(100vw - 34px));
  min-height: 408px;
  padding: 36px 28px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.booking-step h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: 23px;
  line-height: 1.28;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #f3f3f3;
  color: #777;
  font-size: 22px;
}

.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.field-button,
.summary-field {
  min-height: 54px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
  padding: 10px 14px;
}

.date-row .field-button:first-child,
.summary-fields .summary-field:first-child {
  border-radius: 7px 0 0 7px;
}

.date-row .field-button:last-child,
.summary-fields .summary-field:nth-child(2) {
  border-left: 0;
  border-radius: 0 7px 7px 0;
}

.field-button span,
.summary-field span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
}

.field-button strong,
.summary-field strong {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.field-button.active,
.guest-field.active {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange) inset;
}

.field-button.has-value strong,
.summary-field strong {
  color: var(--text);
}

.guest-field {
  position: relative;
  width: 100%;
  margin-bottom: 36px;
  border-radius: 7px;
}

.guest-field::after {
  content: "♙";
  position: absolute;
  right: 14px;
  top: 17px;
  color: #aaa;
}

.guest-picker {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 246px;
  z-index: 3;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.counter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
}

.counter-row + .counter-row {
  border-top: 1px solid #eee;
}

.counter-row strong,
.counter-row span {
  display: block;
}

.counter-row span {
  margin-top: 12px;
  color: #777;
  font-weight: 700;
}

.counter {
  display: grid;
  grid-template-columns: 38px 34px 38px;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.counter button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.counter button:disabled {
  background: #d4d4d4;
}

.calendar-popover {
  position: absolute;
  left: 50%;
  top: 150px;
  z-index: 2;
  width: min(760px, calc(100vw - 32px));
  transform: translateX(-50%);
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.months-head {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  top: 23px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.months-head button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #262626;
  font-size: 34px;
  line-height: 1;
  pointer-events: auto;
}

.months-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 26px 30px 18px;
}

.month-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 15px;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px 8px;
}

.weekday,
.day-button {
  min-width: 0;
  text-align: center;
}

.weekday {
  color: #777;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.day-button,
.day-blank {
  min-height: 35px;
}

.day-button {
  border: 0;
  border-radius: 9px;
  background: transparent;
}

.day-button b {
  display: block;
  font-size: 14px;
}

.day-button span {
  display: block;
  margin-top: 3px;
  color: var(--brand-price);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.05;
  white-space: nowrap;
}

.day-button span.hot-price {
  color: #d93025;
}

.day-button.busy {
  background: #eeeeee;
  color: #bdc1c8;
  text-decoration: line-through;
}

.day-button.busy span,
.day-button.busy span.hot-price {
  color: #bdc1c8;
}

.day-button.selected {
  background: var(--orange-soft);
  box-shadow: inset 0 0 0 1px var(--brand-selected-border);
}

.day-button.range {
  background: var(--brand-range);
}

.calendar-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-top: 1px solid #eee;
}

.calendar-footer strong {
  font-size: 13px;
}

.calendar-footer button {
  border: 0;
  background: transparent;
  color: var(--orange);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.objects-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    var(--forest-bg) center/cover fixed no-repeat;
}

.objects-content {
  width: min(960px, 100%);
  display: grid;
  gap: 16px;
  border-radius: 18px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.objects-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 88px;
}

.objects-brand img {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: contain;
  border-radius: 10px;
}

.objects-brand strong {
  color: var(--forest-dark);
  font-size: 17px;
  line-height: 1.2;
}

.objects-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.objects-kicker {
  margin: 0 0 6px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.objects-head h2 {
  margin: 0 0 8px;
  color: var(--forest-dark);
  font-size: 22px;
  line-height: 1.16;
}

.objects-head p:not(.objects-kicker) {
  max-width: 620px;
  margin: 0;
  color: #666;
  line-height: 1.55;
}

.objects-grid {
  display: grid;
  gap: 12px;
}

.object-choice-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(150px, auto);
  gap: 16px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.object-choice-photo {
  position: relative;
  display: grid;
  min-height: 128px;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  background: #f1f2ee;
  color: #70776f;
  font-size: 13px;
  font-weight: 800;
}

.object-choice-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.object-choice-gallery img {
  transition: transform .24s ease, filter .24s ease;
}

.object-choice-gallery:hover img {
  transform: scale(1.015);
  filter: brightness(.94);
}

.object-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  opacity: 0;
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity .2s ease, background .2s ease, transform .2s ease;
}

.object-gallery-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid var(--forest);
  border-left: 2px solid var(--forest);
}

.object-gallery-arrow-prev {
  left: 10px;
}

.object-gallery-arrow-prev::before {
  transform: rotate(-45deg);
}

.object-gallery-arrow-next {
  right: 10px;
}

.object-gallery-arrow-next::before {
  transform: rotate(135deg);
}

.object-choice-gallery:hover .object-gallery-arrow,
.object-choice-gallery:focus-within .object-gallery-arrow {
  opacity: 1;
}

.object-gallery-arrow:hover {
  background: rgba(255, 255, 255, .92);
  transform: translateY(-50%) scale(1.03);
}

.object-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 18px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .42);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
}

.object-gallery-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 1px rgba(67, 90, 49, .12);
  cursor: pointer;
}

.object-gallery-dots button.active {
  width: 8px;
  height: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(67, 90, 49, .22), 0 4px 10px rgba(0, 0, 0, .16);
}

.object-choice-copy {
  min-width: 0;
  align-self: center;
}

.object-choice-copy h3 {
  margin: 0 0 8px;
  color: var(--forest);
  font-size: 22px;
  line-height: 1.2;
}

.object-choice-details {
  display: grid;
  gap: 3px;
  margin: -2px 0 8px;
  color: #70756e;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.object-choice-copy p {
  max-width: 560px;
  margin: 0;
  color: #626662;
  font-size: 14px;
  line-height: 1.5;
}

.object-choice-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.object-choice-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #525a52;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.object-choice-side {
  display: grid;
  min-width: 148px;
  align-content: center;
  gap: 7px;
  justify-items: end;
  text-align: right;
}

.object-choice-side span {
  color: #777;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: lowercase;
}

.object-choice-side strong {
  color: var(--forest-dark);
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.object-choice-side .primary-button {
  min-height: 44px;
  padding: 0 20px;
}

.object-choice-empty {
  display: grid;
  justify-items: center;
  gap: 10px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 34px 20px;
  text-align: center;
  background: #fff;
}

.object-choice-empty h3,
.object-choice-empty p {
  margin: 0;
}

.object-choice-empty p {
  color: #666;
}

.objects-contacts {
  display: grid;
  gap: 10px;
  border-top: 1px solid #e2e4df;
  padding-top: 14px;
}

.objects-contacts > span {
  color: #777;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.objects-contacts > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.objects-contacts a,
.objects-contacts > div > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  border: 1px solid #e2e4df;
  border-radius: 8px;
  padding: 0 10px;
  color: var(--forest);
  background: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.objects-contacts a span,
.objects-contacts > div > span span {
  color: #777;
  font-weight: 700;
}

.objects-contacts b {
  color: var(--forest-dark);
}

.prices-page {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    var(--forest-bg) center/cover fixed no-repeat;
}

.prices-content {
  display: grid;
  grid-template-columns: minmax(330px, 390px) minmax(300px, 340px);
  gap: 16px;
  justify-content: center;
  align-items: center;
  width: min(100%, 780px);
  padding: clamp(14px, 3vh, 30px) 16px;
}

.prices-content.no-extras {
  grid-template-columns: minmax(330px, 390px);
  width: min(100%, 430px);
}

.summary-card,
.extras-panel {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.summary-card {
  align-self: start;
  width: min(390px, 100%);
  max-width: calc(100vw - 40px);
  padding: 20px 20px;
}

.summary-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

.summary-card h2 {
  margin: 0;
  font-size: 24px;
}

.ghost-button.compact {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
}

.extras-panel {
  width: min(340px, 100%);
  max-height: calc(100vh - 32px);
  padding: 16px;
  overflow: hidden;
}

.extras-panel h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.extras-grid,
.extras-list {
  display: grid;
  gap: 8px;
}

.extra-card {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 10px;
  border: 2px solid #eeeeee;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.extra-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.extra-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.extra-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 9px;
  background: var(--brand-range);
  color: var(--forest);
  font-size: 20px;
  font-weight: 900;
}

.extra-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.extra-gallery {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.extra-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: #eee center/cover;
}

.extra-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
}

.extra-arrow.left {
  left: 8px;
}

.extra-arrow.right {
  right: 8px;
}

.extra-arrow:hover {
  background: #fff;
}

.extra-copy {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
}

.extra-card strong {
  font-size: 15px;
  line-height: 1.25;
}

.extra-card small {
  color: #666;
  font-size: 12px;
  line-height: 1.45;
}

.extra-card b {
  color: var(--forest);
  font-size: 15px;
}

.extra-more,
.extra-action {
  display: grid;
  grid-column: 1 / -1;
  min-height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--forest);
  font-size: 12px;
  font-weight: 900;
}

.extra-more:hover {
  border-color: var(--forest);
}

.extra-card:has(input:checked) {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45, 58, 45, 0.12);
}

.extra-card:has(input:checked) .extra-action {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.extra-details {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.extra-detail-backdrop {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(10px);
}

.extra-detail-modal {
  width: min(430px, calc(100vw - 32px));
  min-height: min(640px, calc(100vh - 32px));
  display: grid;
  gap: 10px;
  align-content: start;
  border-radius: 14px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.extra-back {
  justify-self: start;
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: rgba(45, 58, 45, 0.1);
  color: var(--forest);
  padding: 0 14px;
  font-weight: 900;
}

.extra-detail-modal .extra-gallery {
  width: 100%;
  justify-self: center;
  border-radius: 14px;
}

.extra-detail-modal .extra-photo {
  height: auto;
  aspect-ratio: 1 / 1;
}

.extra-detail-modal .extra-copy strong {
  font-size: 19px;
}

.extra-detail-modal .extra-copy small {
  max-width: none;
  font-size: 13px;
  line-height: 1.4;
}

.extra-detail-modal .extra-copy b {
  font-size: 16px;
}

.extra-detail-add {
  width: 100%;
  min-height: 48px;
}

.summary-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0;
}

.summary-field.full {
  grid-column: 1 / -1;
  margin-top: 10px;
  border-left: 1px solid var(--line);
  border-radius: 7px;
}

.price-breakdown {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.price-breakdown div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #666;
}

.price-breakdown .total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  color: var(--text);
  font-size: 18px;
}

.data-booking-controls {
  display: block;
}

.contact-fields {
  display: grid;
  gap: 10px;
  margin: 0 -6px 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f3f3f3;
}

.contact-fields label {
  display: grid;
  gap: 6px;
}

.contact-fields span {
  font-size: 11px;
  font-weight: 800;
}

.contact-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 13px;
  outline: none;
}

.contact-fields input:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 1px var(--forest) inset;
}

.payment-note {
  margin: 14px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.messenger-booking {
  display: grid;
  gap: 12px;
  margin: 4px -6px 0;
  padding: 16px;
  border-radius: 12px;
  background: #f2f6f2;
}

.messenger-booking h3 {
  margin: 0;
  font-size: 17px;
}

.messenger-booking p {
  margin: 0;
  color: #586158;
  font-size: 13px;
  line-height: 1.55;
}

.messenger-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.messenger-button {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.messenger-button img {
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  border-radius: 7px;
  object-fit: cover;
}

.messenger-button.telegram {
  background: #229ed9;
}

.messenger-button.max {
  background: #6d4aff;
}

.messenger-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(32, 48, 36, 0.16);
}

.messenger-button:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.messenger-booking small {
  color: #747b74;
  font-size: 12px;
  line-height: 1.45;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    var(--forest-bg) center/cover fixed no-repeat;
}

.thanks-card {
  width: min(520px, 100%);
  padding: 46px 34px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.thanks-card h1 {
  margin: 0 0 14px;
  font-size: 32px;
}

.thanks-card p {
  margin: 0 0 28px;
  color: #666;
  font-size: 17px;
  line-height: 1.55;
}

.admin-mini {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 10;
}

.admin-mini summary {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--forest);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.admin-box {
  width: min(420px, calc(100vw - 36px));
  margin-top: 8px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-box input,
.admin-box select {
  width: 100%;
  min-height: 40px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
}

.admin-form {
  margin-top: 12px;
}

.admin-form code {
  word-break: break-all;
}

.admin-booking {
  padding: 10px 0;
  border-top: 1px solid #eee;
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(420px, calc(100vw - 36px));
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
  visibility: hidden;
  opacity: 0;
  transform: translateY(calc(100% + 40px));
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0s linear 0.2s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

@media (max-width: 900px) {
  .site-hero.is-extended {
    align-items: flex-start;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .extended-listing {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 560px);
    height: auto;
    min-height: 0;
  }

  .listing-media {
    border-radius: 14px 14px 0 0;
  }

  .listing-copy {
    border-radius: 0 0 14px 14px;
  }

  .listing-media,
  .listing-media img {
    height: 360px;
    min-height: 0;
  }

  .listing-copy {
    min-height: auto;
  }

  .calendar-popover {
    top: 148px;
  }

  .prices-content {
    grid-template-columns: minmax(0, 390px) minmax(260px, 320px);
    justify-content: center;
    padding: 14px 12px;
  }

  .months-grid {
    gap: 18px;
    padding: 24px 24px 18px;
  }

  .extras-panel {
    width: min(320px, calc(100vw - 32px));
  }

  .object-choice-card {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .object-choice-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    text-align: left;
  }

  .object-choice-side .primary-button {
    justify-self: end;
  }
}

@media (max-width: 660px) {
  .calendar-popover {
    width: min(390px, calc(100vw - 24px));
  }

  .months-grid {
    grid-template-columns: 1fr;
  }

  .prices-page {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    align-items: start;
  }

  .prices-content {
    grid-template-columns: minmax(0, 390px);
    width: min(100%, 430px);
  }

  .extras-panel {
    max-height: none;
  }

  .objects-page {
    align-items: start;
    padding: 14px;
  }

  .objects-head {
    display: grid;
  }

  .object-choice-card {
    grid-template-columns: 1fr;
  }

  .object-choice-photo {
    min-height: 180px;
  }

  .object-choice-side {
    grid-template-columns: 1fr;
  }

  .object-choice-side .primary-button {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 560px) {
  .site-hero {
    padding: 20px 14px;
  }

  .listing-copy {
    padding: 24px 20px;
  }

  .listing-media,
  .listing-media img {
    height: 300px;
    min-height: 0;
  }

  .listing-thumbs {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 6px;
  }

  .listing-thumbs button {
    flex-basis: 56px;
    height: 66px;
  }

  .listing-copy h1 {
    font-size: 32px;
  }

  .booking-modal {
    padding: 30px 16px 18px;
  }

  .booking-step h2 {
    margin-bottom: 28px;
    font-size: 21px;
  }

  .calendar-popover {
    top: 142px;
  }

  .months-grid {
    gap: 14px;
    padding: 22px 16px 14px;
  }

  .month-grid {
    gap: 6px 5px;
  }

  .day-button,
  .day-blank {
    min-height: 34px;
  }

  .day-button span {
    display: none;
  }

  .summary-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* 2026-06-29: prevent booking results from being clipped */
.prices-page { height: auto; min-height: 100dvh; overflow-y: auto; place-items: start center; }
.prices-content { align-items: start; }
.summary-card, .extras-panel { border-radius: 18px; }
.extras-panel { max-height: none; overflow: visible; }
.widget-mode.embed-mode .prices-page { height: auto; min-height: 100dvh; overflow-y: auto; background: transparent; }
.widget-mode.embed-mode .prices-content { width: 100%; min-height: 100%; padding: 12px; align-items: start; }
.widget-mode.embed-mode .summary-card { align-self: start; margin: 0 auto; }

/* 2026-06-29: compact extra-service details */
.extra-detail-backdrop { height: 100%; min-height: 0; place-items: start center; padding: 10px; overflow-y: auto; }
.extra-detail-modal { width: 100%; min-height: 0; max-height: calc(100dvh - 40px); overflow-y: auto; border-radius: 18px; padding: 12px; }
.extra-detail-modal .extra-gallery { width: 100%; height: clamp(180px, 28dvh, 250px); background: #f4f4f2; }
.extra-detail-modal .extra-photo { height: 100%; aspect-ratio: auto; background-size: contain; background-repeat: no-repeat; }
.extra-detail-modal .extra-copy { padding: 0 2px; }
.extra-detail-add { position: sticky; bottom: 0; }

/* 2026-06-30: full-screen extra-service details */
body > .extra-details { position: fixed !important; inset: 0 !important; z-index: 10000; }
body > .extra-details .extra-detail-backdrop { width: 100vw; height: 100dvh; min-height: 100dvh; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); overflow-y: auto; background: rgba(20, 28, 22, 0.72); backdrop-filter: blur(8px); }
body > .extra-details .extra-detail-modal { width: min(960px, calc(100vw - 32px)); min-height: 0; max-height: calc(100dvh - 32px); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); grid-template-areas: 'back back' 'gallery copy' 'gallery add'; gap: 20px 24px; align-content: start; overflow-y: auto; padding: 24px; border-radius: 24px; background: #fff; box-shadow: 0 28px 80px rgba(0,0,0,.28); }
body > .extra-details .extra-back { grid-area: back; }
body > .extra-details .extra-gallery { grid-area: gallery; width: 100%; height: min(62dvh, 560px); border-radius: 18px; background: #f4f4f2; }
body > .extra-details .extra-photo { width: 100%; height: 100%; aspect-ratio: auto; background-size: contain; background-repeat: no-repeat; }
body > .extra-details .extra-copy { grid-area: copy; align-self: center; gap: 12px; }
body > .extra-details .extra-copy strong { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
body > .extra-details .extra-copy small { font-size: 16px; line-height: 1.55; }
body > .extra-details .extra-copy b { font-size: 22px; }
body > .extra-details .extra-detail-add { grid-area: add; position: static; align-self: end; min-height: 56px; font-size: 18px; }
@media (max-width: 720px) { body > .extra-details .extra-detail-backdrop { padding: 10px; } body > .extra-details .extra-detail-modal { grid-template-columns: 1fr; grid-template-areas: 'back' 'gallery' 'copy' 'add'; gap: 12px; padding: 14px; border-radius: 18px; } body > .extra-details .extra-gallery { height: min(42dvh, 340px); } body > .extra-details .extra-copy strong { font-size: 22px; } }

/* One-layer widget surface — 2026-07-02 */
html.widget-launch,
body.widget-mode.embed-mode {
  width: 100%;
  min-height: 100dvh;
  overflow-x: hidden !important;
  background: transparent !important;
}
.widget-mode.embed-mode .overlay {
  width: 100%;
  min-height: 100dvh;
  padding: clamp(72px, 9vh, 110px) 24px 32px !important;
  place-items: start center !important;
  overflow: visible !important;
  background: transparent !important;
}
.widget-mode.embed-mode .booking-modal {
  width: min(680px, calc(100vw - 48px)) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  overflow: visible !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 24px 70px rgba(12,20,14,.22) !important;
  backdrop-filter: blur(12px);
}
.widget-mode.embed-mode #closeBooking {
  display: none !important;
}
.widget-mode.embed-mode .prices-page {
  width: 100%;
  min-height: 100dvh !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.widget-mode.embed-mode .objects-page {
  width: 100%;
  min-height: 100dvh !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
}
.widget-mode.embed-mode .prices-content {
  width: min(1180px, calc(100vw - 48px)) !important;
  min-height: 100dvh !important;
  margin: 0 auto !important;
  padding: clamp(72px, 9vh, 110px) 0 32px !important;
  overflow: visible !important;
}
.widget-mode.embed-mode .summary-card,
.widget-mode.embed-mode .extras-panel {
  max-height: none !important;
  overflow: visible !important;
}
.widget-mode.embed-mode .objects-content {
  width: min(960px, calc(100vw - 48px)) !important;
  margin: 0 auto !important;
  box-shadow: 0 24px 70px rgba(12,20,14,.22) !important;
}
body > .extra-details .extra-detail-backdrop {
  width: 100vw !important;
  min-height: 100dvh !important;
  padding: clamp(72px, 9vh, 110px) 24px 32px !important;
  overflow: visible !important;
  background: transparent !important;
  backdrop-filter: none !important;
}
body > .extra-details .extra-detail-modal {
  width: min(960px, calc(100vw - 48px)) !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 auto !important;
  box-shadow: 0 24px 70px rgba(12,20,14,.22) !important;
}
.widget-mode.embed-mode .toast {
  display: none !important;
}
@media (max-width: 720px) {
  .widget-mode.embed-mode .overlay,
  .widget-mode.embed-mode .prices-content,
  body > .extra-details .extra-detail-backdrop {
    padding-top: 68px !important;
  }
  .widget-mode.embed-mode .booking-modal,
  body > .extra-details .extra-detail-modal {
    width: min(100%, calc(100vw - 24px)) !important;
  }
}

/* Builder-matched cover view shared by demo and standalone package. */
.site-hero.is-extended {
  min-height: 100dvh;
  padding: clamp(28px, 4vw, 56px);
}

.booking-landing {
  position: relative;
  display: block;
  width: min(1120px, 100%);
  height: min(720px, calc(100dvh - 72px));
  min-height: 610px;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, .94);
  border-radius: 30px;
  background: color-mix(in srgb, var(--bronti-widget-background, #fcfaf5) 78%, #e8f0f3);
  box-shadow: 0 28px 74px rgba(26, 44, 36, .18);
}

.booking-landing .listing-media {
  position: absolute;
  inset: 0 0 155px;
  width: auto;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: #31453e;
  box-shadow: none;
}

.booking-landing .listing-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(20, 42, 34, .88) 0%, rgba(20, 42, 34, .54) 48%, rgba(20, 42, 34, .12) 100%);
  pointer-events: none;
}

.booking-landing .listing-media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-landing .listing-photo-placeholder {
  z-index: 1;
}

.booking-landing .listing-arrow,
.booking-landing .listing-thumbs {
  display: none !important;
}

.booking-landing-cover-copy {
  position: absolute;
  z-index: 2;
  top: clamp(48px, 11%, 82px);
  left: clamp(36px, 6vw, 78px);
  max-width: min(540px, 70%);
  color: #fff;
}

.booking-landing-location {
  display: block;
  margin-bottom: clamp(76px, 14vh, 130px);
  font-size: 12px;
  opacity: .84;
}

.booking-landing-location:not(:empty)::before {
  content: "⌖ ";
}

.booking-landing-cover-copy h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 400;
  line-height: 1;
}

.booking-landing-cover-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .84);
  font-size: 14px;
}

.booking-landing-widget {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 3.5vw, 44px);
  bottom: 24px;
  left: clamp(20px, 3.5vw, 44px);
  padding: 18px 20px 14px;
  border: 1px solid rgba(42, 57, 50, .1);
  border-radius: var(--bronti-widget-radius, 18px);
  background: var(--bronti-widget-background, #fcfaf5);
  box-shadow: 0 18px 44px rgba(24, 43, 34, .18);
}

.booking-landing-tabs {
  display: flex;
  gap: 8px;
  margin: -4px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.booking-landing-tabs::-webkit-scrollbar {
  display: none;
}

.booking-landing-tabs button {
  flex: 0 0 auto;
  max-width: 220px;
  overflow: hidden;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(86, 103, 95, .07);
  color: #78817d;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-landing-tabs button.active {
  border-color: var(--brand-selected-border);
  background: var(--brand-range);
  color: var(--forest);
  font-weight: 800;
}

.booking-landing-title,
.booking-landing-title > div,
.booking-landing-total,
.booking-landing-footer {
  display: flex;
  align-items: center;
}

.booking-landing-title {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.booking-landing-title > div {
  min-width: 0;
  gap: 10px;
}

.booking-landing-title small,
.booking-landing-title strong,
.booking-landing-total small,
.booking-landing-total strong,
.booking-landing-dates small,
.booking-landing-dates strong {
  display: block;
}

.booking-landing-title small,
.booking-landing-dates small,
.booking-landing-total small {
  margin-bottom: 3px;
  color: #8d9691;
  font-size: 10px;
}

.booking-landing-title strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-landing-logo {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border-radius: min(var(--bronti-widget-radius, 9px), 10px);
  background: var(--forest);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.booking-landing-logo.custom {
  padding: 4px;
  border: 1px solid rgba(42, 57, 50, .12);
  background: #fff;
  object-fit: contain;
}

.booking-landing-guests {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(86, 103, 95, .07);
  color: #7b8580;
  font-size: 10px;
}

.booking-landing-search {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(42, 57, 50, .16);
  border-radius: min(var(--bronti-widget-radius, 12px), 14px);
  background: rgba(255, 255, 255, .3);
}

.booking-landing-search button {
  min-width: 0;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.booking-landing-search button + button {
  border-left: 1px solid rgba(42, 57, 50, .1);
}

.booking-landing-search button:hover,
.booking-landing-search button:focus-visible {
  background: var(--brand-range);
  outline: none;
}

.booking-landing-search small,
.booking-landing-search strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-landing-search small {
  margin-bottom: 3px;
  color: #8d9691;
  font-size: 10px;
}

.booking-landing-search strong {
  font-size: 13px;
}

.landing-guest-done {
  width: 100%;
  min-height: 42px;
  margin-top: 10px;
}

.booking-landing-total {
  justify-content: space-between;
  gap: 18px;
}

.booking-landing-total strong {
  font-size: 22px;
}

.booking-landing-total .primary-button {
  width: auto;
  min-width: 174px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: min(var(--bronti-widget-radius, 12px), 14px);
}

.booking-landing-footer {
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid rgba(42, 57, 50, .08);
  color: #929b96;
  font-size: 9px;
}

.booking-landing-footer span:first-child {
  color: #478260;
}

.booking-landing-hidden-data {
  display: none !important;
}

@media (max-width: 720px) {
  .site-hero.is-extended {
    padding: 12px;
  }

  .booking-landing {
    height: calc(100dvh - 24px);
    min-height: 660px;
    border-width: 5px;
    border-radius: 24px;
  }

  .booking-landing .listing-media {
    bottom: 280px;
  }

  .booking-landing-cover-copy {
    top: 34px;
    left: 24px;
    max-width: calc(100% - 48px);
  }

  .booking-landing-location {
    margin-bottom: 66px;
  }

  .booking-landing-cover-copy h1 {
    font-size: 36px;
  }

  .booking-landing-widget {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 14px;
  }

  .booking-landing-search {
    grid-template-columns: 1fr 1fr;
  }

  .booking-landing-search button {
    padding: 10px;
  }

  .booking-landing-search button:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(42, 57, 50, .1);
    border-left: 0;
  }

  .booking-landing-total .primary-button {
    min-width: 140px;
    padding: 0 14px;
  }
}

/* Center every widget state in the viewport — 2026-07-02 */
.widget-mode.embed-mode .overlay {
  min-height: 100dvh !important;
  padding: 24px !important;
  place-items: center !important;
  align-content: center !important;
}
.widget-mode.embed-mode .booking-modal {
  align-self: center !important;
  justify-self: center !important;
}
.widget-mode.embed-mode .prices-page {
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
}
.widget-mode.embed-mode .objects-page {
  min-height: 100dvh !important;
  display: grid !important;
  place-items: center !important;
}
.widget-mode.embed-mode .prices-content {
  min-height: 100dvh !important;
  padding: 32px 0 !important;
  align-items: center !important;
  align-content: center !important;
  justify-content: center !important;
}
.widget-mode.embed-mode .summary-card,
.widget-mode.embed-mode .extras-panel {
  align-self: center !important;
}
body > .extra-details .extra-detail-backdrop {
  min-height: 100dvh !important;
  padding: 24px !important;
  place-items: center !important;
  align-content: center !important;
}
body > .extra-details .extra-detail-modal {
  align-self: center !important;
  justify-self: center !important;
}
@media (max-width: 720px) {
  .widget-mode.embed-mode .overlay,
  body > .extra-details .extra-detail-backdrop { padding: 64px 12px 20px !important; }
  .widget-mode.embed-mode .prices-content { padding: 64px 12px 20px !important; }
}

/* Hidden widget stages must never participate in centering */
.widget-mode.embed-mode .prices-page.hidden,
.widget-mode.embed-mode .objects-page.hidden,
.widget-mode.embed-mode .thanks-page.hidden,
.widget-mode.embed-mode .overlay.hidden,
body > .extra-details.hidden {
  display: none !important;
}


/* Fast, frameless booking result */
.widget-mode.embed-mode .thanks-page {
  position: fixed;
  inset: 0;
  z-index: 60;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  overflow: auto;
  background: transparent !important;
}

.widget-mode.embed-mode .thanks-page.hidden {
  display: none !important;
}

.widget-mode.embed-mode .thanks-card {
  position: relative;
  width: min(560px, 100%);
  padding: clamp(34px, 5vw, 56px);
  border: 0;
  border-radius: 32px;
  background: #f3f4f2;
  box-shadow: 0 24px 70px rgba(13, 36, 22, 0.22);
  backdrop-filter: none;
}

.widget-mode.embed-mode .thanks-card::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #fff;
  background: #075b18;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.widget-mode.embed-mode .thanks-page.is-sending .thanks-card::before {
  content: "";
  width: 52px;
  height: 52px;
  border: 5px solid rgba(7, 91, 24, 0.18);
  border-top-color: #075b18;
  background: transparent;
  animation: booking-result-spin .8s linear infinite;
}

.widget-mode.embed-mode .thanks-card h1 {
  margin: 0 0 14px;
  color: #242625;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.08;
}

.widget-mode.embed-mode .thanks-card p {
  max-width: 430px;
  margin: 0 auto 28px;
  color: #626862;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.5;
}

.widget-mode.embed-mode .thanks-card .primary-button {
  width: 100%;
  min-height: 58px;
  border-radius: 14px;
  font-size: 18px;
}

@keyframes booking-result-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .widget-mode.embed-mode .thanks-card {
    padding: 32px 22px;
    border-radius: 24px;
  }
}

/* Mobile widget must scroll through long booking steps */
body.widget-mode.no-page-scroll {
  overflow-y: auto !important;
}

.widget-mode .objects-page,
.widget-mode .prices-page,
.widget-mode .thanks-page {
  min-height: 100dvh !important;
  height: auto !important;
  overflow-y: auto !important;
  align-items: start !important;
  place-items: start center !important;
}

.widget-mode .objects-page {
  padding: 16px 12px 28px !important;
}

.widget-mode .objects-content {
  width: min(960px, calc(100vw - 48px)) !important;
}

@media (max-width: 560px) {
  .widget-mode .objects-content {
    width: min(100%, 430px) !important;
  }

  .widget-mode .objects-head {
    gap: 12px;
  }

  .widget-mode .objects-head h2 {
    font-size: 22px;
  }

  .widget-mode .object-choice-photo {
    min-height: 190px;
    max-height: 240px;
    aspect-ratio: 4 / 3;
  }

  .widget-mode .object-choice-photo img {
    object-position: center center;
  }
}

body { font-family: "Trebuchet MS", Verdana, sans-serif; }
