/* ========== CORE UI ========== */
.rp-search__bar {
  display:flex;
  gap:12px;
  align-items:center;
  padding:8px 12px;
  border:1px solid #eee;
  border-radius:999px;
  width:fit-content;
  margin:16px 0;
}
.rp-search__bar input[type=date]{
  padding:8px 10px;
  border:1px solid #e5e7eb;
  border-radius:8px;
}
.rp-btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:999px;
  text-decoration:none;
  font-weight:600;
}
.rp-btn--gold{background:#b08b45;color:#fff;}
.rp-btn--secondary{background:#eef2f5;color:#111;}

.rp-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:24px;
}
.rp-results-wrapper .rp-grid{align-items:stretch;}

.rp-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  overflow:hidden;
}
.rp-card__media{
  position:relative;
  aspect-ratio:16/9;
  background:#f3f4f6;
  display:block;
}
.rp-img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-top-left-radius:16px;
  border-top-right-radius:16px;
}
.rp-img--placeholder{
  background:repeating-linear-gradient(45deg,#e5e7eb,#e5e7eb 10px,#f3f4f6 10px,#f3f4f6 20px);
  height:100%;
}
.rp-badge{
  position:absolute;
  top:12px;
  right:12px;
  padding:6px 12px;
  border-radius:999px;
  font-size:.9rem;
}
.rp-badge--ok{background:#c6f6d5;}
.rp-badge--muted{background:#e5e7eb;}
.rp-card__body{padding:16px;}
.rp-card__meta{color:#6b7280;margin:.25rem 0 .75rem;}
.rp-card__excerpt{color:#111;font-weight:600;}
.rp-card__actions{margin-top:12px;}

.rp-unit__title{font-size:2rem;margin:12px 0;}

/* ========== GALLERY ========== */
.rp-gallery{margin:8px 0 16px;}
.rp-gallery--landscape{
  position:relative;
  aspect-ratio:16/9;
  overflow:hidden;
  border-radius:16px;
}
.rp-gal-track{height:100%;display:flex;transition:transform .35s ease;}
.rp-gal-img{width:100%;height:100%;object-fit:cover;flex:0 0 100%;}
.rp-gal-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,.9);
  border:none;
  border-radius:999px;
  width:36px;
  height:36px;
  font-size:22px;
  line-height:36px;
  text-align:center;
  cursor:pointer;
}
.rp-gal-prev{left:12px;}
.rp-gal-next{right:12px;}
.rp-gal-zoom{
  position:absolute;
  top:12px;
  right:12px;
  z-index:3;
  width:38px;
  height:38px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.rp-gal-zoom svg{width:19px;height:19px;display:block;color:#111;}
.rp-lightbox[hidden]{display:none !important;}
.rp-lightbox{
  position:fixed;
  inset:0;
  z-index:99999;
}
.rp-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.88);
}
.rp-lightbox__dialog{
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px;
  box-sizing:border-box;
}
.rp-lightbox__img{
  max-width:min(92vw, 1600px);
  max-height:88vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.25);
}
.rp-lightbox__close,
.rp-lightbox__arrow{
  position:absolute;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#111;
  cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.15);
}
.rp-lightbox__close{
  top:18px;
  right:18px;
  width:42px;
  height:42px;
  font-size:28px;
  line-height:42px;
}
.rp-lightbox__arrow{
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  font-size:30px;
  line-height:46px;
}
.rp-lightbox__prev{left:18px;}
.rp-lightbox__next{right:18px;}
.rp-lightbox__caption{
  position:absolute;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  padding:8px 12px;
  border-radius:999px;
  background:rgba(17,17,17,.65);
  color:#fff;
  font-size:14px;
  line-height:1;
}
html.rp-lightbox-open,
html.rp-lightbox-open body{overflow:hidden;}
@media (max-width: 767px){
  .rp-lightbox__dialog{padding:18px;}
  .rp-lightbox__arrow{width:40px;height:40px;line-height:40px;font-size:26px;}
  .rp-lightbox__prev{left:10px;}
  .rp-lightbox__next{right:10px;}
  .rp-lightbox__close{top:10px;right:10px;}
  .rp-lightbox__img{max-width:94vw;max-height:84vh;}
}
@media (prefers-reduced-motion: reduce){
  .rp-gal-track{transition:none;}
}

/* ========== CALENDAR ========== */
.rp-calendar{
  margin:8px 0 24px;
  border:1px solid #eee;
  border-radius:12px;
  padding:12px;
}
.rp-cal{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;}
.rp-cal .day{
  padding:10px;
  border-radius:8px;
  text-align:center;
  background:#f9fafb;
}
.rp-cal .day.header{background:transparent;font-weight:700;}
.rp-cal .day.selectable{cursor:pointer;}
.rp-cal .day.unavailable{background:#fee2e2;color:#991b1b;cursor:not-allowed;text-decoration:line-through;}
.rp-cal .day.selected{background:#0e2b36;color:#fff;}
.rp-cal .day.in-range{background:#c9e6ef;}
.rp-cal .monthbar{
  grid-column:1/-1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:6px 4px 10px;
  font-weight:700;
}
.rp-cal .navbtn{
  background:#fff;
  border:1px solid #ddd;
  padding:6px 10px;
  border-radius:8px;
  cursor:pointer;
}

/* Popup calendar */
.rp-datebar{position:relative;}
.rp-calendar--popup{
  position:absolute;
  top:110%;
  left:0;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  padding:12px;
  z-index:9999;
  width:min(92vw,520px);
}
.rp-calendar--inline{margin:12px 0 24px;}

/* ========== DESCRIPTIONS / FEATURES / MAP ========== */
.rp-desc-short{margin:12px 0 8px;font-weight:600;}
.rp-desc-long{margin:8px 0 16px;color:#111;}
.rp-features{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(140px,1fr));
  gap:12px 16px;
  margin:8px 0 16px;
  padding:0;
  list-style:none;
}
.rp-feature{display:flex;align-items:center;gap:10px;}
.rp-ico{width:24px;height:24px;display:inline-block;border:2px solid #111;border-radius:4px;}
.rp-map{margin:12px 0 24px;border-radius:16px;overflow:hidden;}
.rp-map iframe{width:100%;height:320px;border:0;}

/* ========== STICKY BAR ========== */
.rp-sticky-cta{
  position:sticky;
  bottom:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px;
  background:#0e2b36;
  color:#fff;
  border-radius:12px;
}
.rp-sticky-cta .rp-price{opacity:.9;}

/* ========== CHECKOUT LAYOUT ========== */
.rp-shell{max-width:1100px;margin:0 auto;padding:8px 16px 28px;}
.rp-head h2{font-size:28px;margin:12px 0 8px;}
.rp-cols{display:grid;grid-template-columns:2fr 1.2fr;gap:24px;}
@media (max-width:960px){.rp-cols{grid-template-columns:1fr;}}
.card{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  padding:18px 16px;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.rp-form .row2{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
@media (max-width:640px){.rp-form .row2{grid-template-columns:1fr;}}
.rp-form .field{display:flex;flex-direction:column;gap:6px;margin:8px 0;}
.rp-form label{
  font-weight:600;
  font-size:14px;
  line-height:1.25;
  color:#444;
}
.rp-form input,
.rp-form select{
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:12px 11px;
  font-size:16px;
  outline:0;
}
.rp-form input:focus,
.rp-form select:focus{
  border-color:#b08b45;
  box-shadow:0 0 0 3px rgba(176,139,69,.15);
}

/* Payment box */
.rp-paybox{margin-top:12px;padding:14px;}
.rp-paybox__head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:8px;
}
.rp-card-el{border:1px solid #e5e7eb;border-radius:10px;padding:12px;background:#fafafa;}
.rp-error{color:#b91c1c;margin-top:6px;min-height:20px;}
.rp-paybtn{margin-top:12px;width:100%;}

/* Logos strip */
.rp-logos{display:flex;gap:8px;align-items:center;}
.rp-logos .logo{
  width:34px;
  height:22px;
  border-radius:4px;
  border:1px solid #e5e7eb;
  background:#f8f8f8;
  display:inline-block;
}
.rp-logos .visa{ /* ... inline SVGs omitted for brevity ... */ }
.rp-logos .mc{ /* ... */ }
.rp-logos .amex{ /* ... */ }
.rp-logos .apple{ /* ... */ }
.rp-logos .google{ /* ... */ }

/* Summary */
.rp-summary h3{margin:6px 0 8px;}
.rp-summary .rp-unit{font-weight:700;margin:2px 0;}
.muted{color:#6b7280;}
.tiny{font-size:12px;line-height:1.3;}
@media (max-width:480px){.tiny{font-size:11px;}}
.rp-sline{margin:2px 0;}
.rp-includes{margin:8px 0 10px;}
.rp-includes ul{margin:6px 0 0 16px;}
.rp-totals{margin-top:12px;}
.rp-totals .row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 0;
  border-top:1px dashed #e5e7eb;
}
.rp-totals .row.grand{
  border-top:1px solid #111;
  font-size:18px;
  font-weight:700;
}

/* Make included services list bigger */
.rp-includes li {
  font-size:15px;
  font-weight:500;
  color:#111;
  margin:5px 0;
}

/* Make dates line bigger & black */
.rp-summary .rp-dates {
  font-size:15px;
  font-weight:600;
  color:#111;
}

/* Price breakdown row */
.rp-price-breakdown {
  font-size:15px;
  font-weight:600;
  color:#111;
}

/* Make "Included services" heading bigger & black */
.rp-includes > .muted {
  font-size:15px;
  font-weight:600;
  color:#111;
}

/* Lines like name, phone, email */
.rp-summary .rp-sline {
  font-size: 16px;
  color: #444;
}

/* ========== SEARCH BAR ========== */
.rp-datebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  gap: 20px;
  border: none !important;
  outline: none !important;
}

.rp-datebar .field {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-family: inherit;
}

/* Default labels */
.rp-datebar .field label {
  font-size: 14px;
  color: #555;
  margin-bottom: 2px;
  font-weight: 500;
}

/* Smaller labels only for checkin/checkout */
.rp-datebar label[for="rp-checkin"],
.rp-datebar label[for="rp-checkout"] {
  font-size: 12px !important;
}

/* Inputs (dates & guests values) */
.rp-datebar input[type="text"],
.rp-datebar input[type="date"],
.rp-datebar input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #000 !important;
  padding: 0;
  margin: 0;
  width: 100%;
  box-shadow: none !important;
}

/* Divider */
.rp-datebar .divider {
  width: 1px;
  background: #ddd;
  margin: 0 10px;
}

/* Search button */
.rp-datebar .rp-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #3976f8;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 25px;
  cursor: pointer;
  border: none !important;
  outline: none !important;
  transition: background 0.2s ease;
}

.rp-datebar .rp-search-btn:hover {
  background: #a98245;
}

.rp-datebar .rp-search-btn svg {
  margin-right: 6px;
}

.rp-datebar .field-title {
  font-size: 12px;   /* smaller titles */
  color: #555;
  font-weight: 500;
  margin-bottom: 2px;
  display: block;
}

.rp-datebar input {
  font-size: 16px;
  font-weight: 700;
  color: #000;
  border: none !important;
  outline: none !important;
  background: transparent !important;
}

/* Hover preview between check-in and hovered date */
.rp-cal .day.preview { background: #e5e7eb; }      /* gray fill */
.rp-cal .day.preview-end { background: #000; color: #fff; } /* black for hover end */

/* Range preview on hover */
.rp-cal .day.preview-range {
  background: #e5e7eb;   /* light gray */
}
.rp-cal .day.preview-end {
  background: #000;
  color: #fff;
}

/* Confirmed selection after checkout chosen */
.rp-cal .day.in-range {
  background: #d1d5db;   /* medium gray */
  color: #000;
}

/* Clear button row */
.rp-clearbar {
  grid-column: 1 / -1;
  text-align: right;
  margin-bottom: 6px;
}
.rp-clear-btn {
  background: transparent;
  border: none;
  color: #b91c1c;   /* red tone */
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}
.rp-clear-btn:hover {
  color: #991b1b;
}

/* ✅ Make text smaller on [rp_unit] page */
.rp-unit {
  font-size: 17px; /* default text */
  line-height: 1.4;
}

.rp-unit__title {
  font-size: 20px;  /* smaller title */
  font-weight: 600;
}

.rp-unit .field-title {
  font-size: 17px;  /* labels (Check-in, Check-out, Guests) */
  font-weight: 500;
}

.rp-unit .rp-help,
.rp-unit p {
  font-size: 15px;  /* help texts, paragraphs */
  line-height: 1.6;

}

#wp--skip-link--target h2 {
  font-size: 35px;
}

/* Generic arrow (likely already present) */
.rp-gal-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  width:40px;
  height:40px;
  border-radius:999px;
  border:none;
  background:rgba(255,255,255,0.9);
  box-shadow:0 2px 8px rgba(0,0,0,.15);
  cursor:pointer;
  line-height:40px;
  font-size:20px;
}

/* Right button (already there) */
.rp-gal-next{ right:12px; }

/* ✅ NEW: Left button */
.rp-gal-prev{ left:12px; }

/* === Gallery arrows (no background, no shadow) === */
.rp-gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  background: none;     /* no background */
  border: none;
  cursor: pointer;

  font-size: 30px;      /* nice and big */
  color: #fff;          /* pure white */
  line-height: 1;

  text-shadow: none;    /* no shadow at all */
}

.rp-gal-arrow:focus {
  outline: none;
}

/* === Fixed Feature list (Bedroom/Bathroom/m²/Guests) === */
.rp-features--fixed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}
@media (max-width: 780px){
  .rp-features--fixed { grid-template-columns: repeat(2, 1fr); }
}
.rp-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rp-feature__icon {
  width: 22px;
  height: 22px;
  display: inline-block;
}
.rp-feature__text strong {
  font-weight: 700;
  margin-right: 4px;
}

/* === Fixed Feature list (Bedroom/Bathroom/m²/Guests) === */
.rp-features--fixed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 12px 0 18px;
  padding: 0;
  list-style: none;
}

@media (max-width: 780px){
  .rp-features--fixed {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rp-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

#wp--skip-link--target .rp-feature__icon img {
  width: 48px;
  height: auto;
}

/* ✅ Number and text same size, no bold */
.rp-feature__text {
  font-size: 16px;   /* adjust if you want larger */
  font-weight: normal;
}
.rp-feature__text strong {
  font-weight: normal; /* remove bold */
  margin-right: 4px;
}

/* === Fixed Feature list (Bedroom/Bathroom/m²/Guests) === */
.rp-features--fixed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 24px 0;           /* more breathing room */
  padding: 16px 0;
  list-style: none;
  border-top: 1px solid #ddd;   /* ✅ divider top */
  border-bottom: 1px solid #ddd;/* ✅ divider bottom */
}

@media (max-width: 780px){
  .rp-features--fixed {
    grid-template-columns: repeat(2, 1fr);
  }
}

.rp-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rp-feature__icon {
  width: 32px;
  height: 32px;
}

.rp-feature__text {
  font-size: 14px;
  font-weight: normal;
}

.rp-feature__text strong {
  font-weight: normal;
  margin-right: 4px;
}

/* Totals below date bar */
.rp-total-info{ font-size:14px; line-height:1.4; padding:8px 0; }
.rp-total-line{ font-weight:600; white-space:nowrap; }
.rp-totals-field{ min-width:160px; }

/* Totals below the date bar */
.rp-totals-wrap{ margin-top:12px; }
.rp-total-info{ font-size:14px; line-height:1.5; }
.rp-total-line{ font-weight:600; white-space:nowrap; }

/* Make unit page descriptions smaller */
#wp--skip-link--target > div > p,
#wp--skip-link--target > div > div.rp-desc-long {
  font-size: 0.75em !important;  /* try 0.85em or 12px */
  line-height: 1.4 !important;
}

/* Make total line bigger */
#rp-total-line {
  font-size: 1.2em !important;    /* or 18px */
  font-weight: bold !important;   /* optional */
}

/* Make the footer banner taller */
#rp-floating-summary {
  padding-top: 5px !important;   /* more space above */
  padding-bottom: 5px !important;/* more space below */
  min-height: 80px !important;    /* optional: enforce a minimum height */
}
#rp-floating-summary {
  bottom: 10px !important;    /* gap from bottom */
  border-radius: 16px;        /* optional: keep rounded look */
}

#rp-floating-summary .rp-book {
  margin-right: 16px !important;
}

/* Center all banner content vertically */
#rp-floating-summary > div > div {
  display: flex !important;
  align-items: center !important;   /* vertically center everything */
  width: 100% !important;
}

#rp-floating-summary .rp-book {
  margin-left: auto !important;
  margin-right: 16px;   /* keep the button off the edge */
  display: inline-flex !important;
  align-items: center !important;   /* centers the button text too */
  justify-content: center !important;
}

/* Make the banner's inner wrappers stretch full width */
#rp-floating-summary > div {
  width: 100% !important;
}

#rp-floating-summary > div > div {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100% !important;   /* critical: allow pushing to the right */
}

/* Push the Book button to the far right */
#rp-floating-summary .rp-book {
  display: inline-flex;        /* ensure it's a flex item */
  margin-left: auto !important;
  margin-right: 16px;          /* optional breathing room from the edge */
}

/* --- Fix banner row so the Book button stays on the right, same line --- */
#rp-floating-summary > div {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;     /* don't wrap to a second line */
  gap: 16px;
}

#rp-floating-summary > div > div {
  /* this is the left group (dates/total/guests) */
  flex: 1 1 auto !important;        /* take remaining space, but allow shrinking */
  min-width: 0 !important;          /* allow ellipsis instead of pushing the button */
}

#rp-floating-summary > div > button.rp-book {
  flex: 0 0 auto !important;        /* keep natural width */
  margin-left: auto !important;     /* push to the far right */
}

/* Optional: prevent long text from pushing the button off */
#rp-floating-summary .rp-extra-info,
#rp-floating-summary .rp-total-line {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* Add extra left spacing before the Dates chip */
#rp-floating-summary > div > div > span.rp-chip.rp-dates {
  margin-left: 24px !important;   /* adjust the value as you like */
}


#rp-total-info {
  display: none !important;
  visibility: hidden !important;
}

#rp-floating-summary {
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  max-width: 800px;   /* 👈 set this to the same as your gallery */
  width: 100%;
}

#rp-floating-summary .rp-nights {
  display: none !important;
}


#wp--skip-link--target p.rp-desc-short {
  font-size: 16px !important;
}


#wp--skip-link--target > div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}


/* Make the short description smaller and not bold */
.rp-card__excerpt {
  font-size: 1rem;   /* smaller text */
  font-weight: normal;  /* remove bold */
  color: #;          /* optional: slightly softer color */
  margin: 4px 0;
}

/* Make the features line smaller */
.rp-card__features {
  font-size: 1rem;   /* even smaller */
  color: #;          /* lighter gray */
  margin: 16px 0 16px 0;
}

/* Style the "Starting from" price smaller but bold */
.rp-card__price {
  font-size: 1rem;   /* smaller text */
  font-weight: 600;     /* bold */
  color: #;          /* dark color for emphasis */
  margin: 6px 0;
}

/* Hide the meta line inside result cards */
.rp-card__meta {
  display: none !important;
}

.rp-card__features {
  font-size: 0.95rem;
  color: #666;
  letter-spacing: 0.5px;   /* a little more space around all characters */
  word-spacing: 3px;       /* more space around words, affects the | too */
}

.rp-card__body {
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.4;
}

.rp-card__body h3 {
  font-weight: 700;   /* bold */
  font-size: 1.2rem;
}

/* Book button disabled/enabled states */
#rp-book {
  background: #c4c7cf;   /* gray when disabled */
  color: #fff;
  cursor: not-allowed;
  opacity: 0.8;
}
#rp-book.is-active {
  background: #ed5e5d;   /* red when active */
  cursor: pointer;
  opacity: 1;
}

/* Center unit title and location */
.rp-unit-title,
.rp-unit-location {
  text-align: center;
}

/* Optional: make the location smaller and lighter */
.rp-unit-location {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #6b7280; /* muted gray */
}

/* Center the unit title (robust) */
:where(.wp-block-group.alignfull) h1,
:where(.wp-block-group.alignfull) h2 {
  text-align: center !important;
}

/* Center the exact H2 you showed me (very specific) */
#wp--skip-link--target > div.wp-block-group.alignfull.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained > div > div > h2 {
  text-align: center !important;
}

/* Keep location centered and tidy */
.rp-unit-location {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #6b7280;
  text-align: center;
}

.rp-search-hero{
  position:relative;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#f5f5f5;
}
.rp-fullbleed{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}
.rp-search-hero__inner{
  display:flex;
  justify-content:center;
  padding:64px 16px;
}
.rp-search__bar{
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
}

/* ===== Hero background robust fixes ===== */
.rp-search-hero{
  position:relative;
  display:block;
  min-height:320px;                 /* ensure visible area for the image */
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-color:#f5f5f5;
  overflow:visible;                 /* avoid clipping inside block containers */
}

/* force true full-bleed in block themes */
.rp-fullbleed{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}

/* inner container centers the bar */
.rp-search-hero__inner{
  max-width:1200px;
  margin:0 auto;
  padding:80px 16px;                /* taller hero */
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

/* center the pill bar even if parents apply text-align */
.rp-search__bar{
  margin:0 auto !important;
}

/* remove unexpected spacing from theme wrappers */
.entry-content .rp-search-hero,
.wp-block-post-content .rp-search-hero,
.wp-site-blocks .rp-search-hero{
  margin-top:0 !important;
  margin-bottom:0 !important;
  padding-top:0;
}

/* if a paragraph wraps the shortcode, neutralize its margins */
.entry-content p:has(.rp-search-hero){
  margin:0 !important;
}



/* ===== Receive Payments: Search hero + layout fixes ===== */
.rp-search-hero{
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #f5f5f5;
}
.rp-fullbleed{
  width: 95vw;                 /* slightly less than full screen */
  margin-left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;         /* optional: rounded edges for a nice look */
  overflow: hidden;            /* keeps background from bleeding outside rounded corners */
}

.rp-search-hero__inner{
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 16px;
  display: block;
  text-align: center;
}
.rp-datebar{
  display:flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.rp-search__bar{
  margin: 0 auto !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}
@media (min-width: 900px){
  .rp-search__bar{ width: fit-content; max-width: none; }
}
.wp-block-post-content .rp-search-hero,
.entry-content .rp-search-hero{ margin:0 !important; padding:0; }
.entry-content p:has(.rp-search-hero){ margin:0 !important; }
html, body{ overflow-x: clip; }


/* ===== Search branding (title + circle logo) ===== */
.rp-search-branding{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  margin:24px 0 8px;
  text-align:center;
}
.rp-search-logo{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  border:3px solid rgba(255,255,255,.85);
  box-shadow:0 6px 20px rgba(0,0,0,.12);
}
.rp-search-title{
  font-size:clamp(20px,4vw,36px);
  line-height:1.15;
  color:#111;
  margin:0;
}

/* ===== Fix hero layout: brand (logo+title) centered above form ===== */
.rp-search-hero__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;             /* space between brand block and form */
  position: relative;    /* create a stacking context */
}

/* Branding block */
.rp-search-branding{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 8px 0 6px;
  z-index: 2;            /* keep it above background but not behind form */
}

/* Circle logo centered */
.rp-search-logo{
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  display: block;
  margin: 0 auto;        /* center */
  position: relative;    /* cancel any theme absolute rules */
  left: auto;            /* ensure not offset */
  transform: none;       /* ensure not shifted */
}

/* Title styling (make it readable on photos) */
.rp-search-title{
  font-size: clamp(20px, 4vw, 36px);
  line-height: 1.15;
  color: #fff;           /* white on hero image */
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* Make sure the form never overlaps the branding */
.rp-search-hero__inner > .rp-search{
  z-index: 1;
  margin-top: 6px;       /* tiny gap below the title */
}

/* If your theme had floats/absolute positions, neutralize them */
.rp-search-hero__inner img.rp-search-logo{
  float: none !important;
}

/* —— Align labels left inside the search bar —— */
.rp-search .rp-field,
.rp-search .rp-col,
.rp-search [class*="field"] {
  text-align: left !important;
}

.rp-search .rp-label,
.rp-search label {
  display: block;
  width: 100%;
  text-align: left !important;
  margin: 0 0 6px;
  font-weight: 600; /* optional: match your style */
}

.rp-search input[type="text"],
.rp-search input[type="number"],
.rp-search .rp-input,
.rp-search select {
  width: 100%;
}

/* —— Keep the popup on top and not clipped —— */
/* 1) Make sure hero doesn’t clip children */
.rp-search-hero,
.rp-search-hero__inner {
  overflow: visible !important;
}

/* 2) Ensure the form sits above the background image */
.rp-search-hero__inner > .rp-search {
  position: relative;
  z-index: 5;
}

/* 3) Put common datepickers above everything */
.flatpickr-calendar,
.daterangepicker,
.ui-datepicker {
  z-index: 999999 !important;
}

/* Sometimes themes float images; neutralize on the logo wrapper */
.rp-search-hero__inner img.rp-search-logo { float: none !important; }

/* Put hero (and its popups) above the units grid */
.rp-search-hero,
.rp-search-hero__inner,
.rp-search-hero__inner .rp-search {
  position: relative;
  z-index: 20;
  overflow: visible !important;   /* so popups aren’t clipped by rounded hero */
}

#wp--skip-link--target > div > div > div.rp-search-hero.rp-fullbleed > div > div > h1 {
  font-weight: 500 !important; /* 700 = bold */
}

#wp--skip-link--target > div > div > div.rp-search-hero.rp-fullbleed > div > div > img {
  width: 30% !important;   /* 20% bigger than container */
  height: auto !important;  /* keep proportions */
  max-width: none !important;
}

#wp--skip-link--target > div > div > div.rp-search-hero.rp-fullbleed > div {
  position: relative; /* make container the positioning context */
}

/* keep the inner content above the overlay */
#wp--skip-link--target > div > div > div.rp-search-hero.rp-fullbleed > div > * {
  position: relative;
  z-index: 2;
}

#rp-date-form {
  padding: 15px; /* adjust value as needed */
}



/* Only change the "Book" button color */
.rp-btn.rp-btn--gold {
  background-color: #3976f8 !important;  /* new background */
  border-color: #3976f8 !important;
  color: #fff !important;                /* text color */
}





#wp--skip-link--target > div > div > div.rp-search-hero.rp-fullbleed::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* 20% black */
  z-index: 1; /* sits above background */
  border-radius: 18px !important;         /* rounded corners */

}


/* Style the Search button inside the rp-date-form */
#rp-date-form > div > button {
  background-color: #3976f8 !important;  /* change background color */
  border-color: #e63946 !important;
  color: #fff !important;                /* text color */
  font-size: 16px !important;            /* make text bigger */
  font-weight: bold !important;          /* optional: make text bold */
  padding: 12px 28px !important;         /* larger button */
  border-radius: 44px !important;         /* rounded corners */
}

#wp--skip-link--target > div > div > div > div.rp-cols > aside > p:nth-child(9) {
  font-size: 17px !important;   /* bigger text */
  font-weight: bold !important; /* bolder */
  line-height: 1.5 !important;  /* optional for readability */
  color: #000 !important;       /* black text */
}

/* ==== Calendar: mobile layout (narrower boxes, stable text) ==== */
@media (max-width: 640px) {
  /* Prevent sideways scroll on small screens */
  html, body { overflow-x: hidden; }

  /* Slightly smaller overall type for the popup (keeps readability) */
  #rp-cal-pop { 
    font-size: 85%;
  }

  /* Day grid: 7 columns, narrower cells, centered */
  #rp-cal-pop .rp-cal {
    --rp-day-w: min(11.2vw, 44px);   /* width of each day cell */
    --rp-gap: 4px;                   /* gap between cells */

    display: grid;
    grid-template-columns: repeat(7, var(--rp-day-w));
    gap: var(--rp-gap);
    justify-content: center;
    padding: 10px 8px;
    box-sizing: border-box;
    max-width: 100vw;
  }

  /* Day cells: keep vertical padding, no horizontal padding */
  #rp-cal-pop .rp-cal .day {
    width: var(--rp-day-w) !important;
    min-width: 0;
    padding: 7px 0;                  /* vertical only */
    line-height: 1.2;
    box-sizing: border-box;
  }

  /* Month title: keep default size (don't enlarge other text) */
  #rp-cal-pop .monthbar .label { 
    font-size: 1em; 
  }

  /* === Enlarge ONLY the prev/next arrow buttons (< and >) === */
  #rp-cal-pop .monthbar .navbtn {
    font-size: clamp(22px, 6vw, 28px);  /* bigger arrow glyph only */
    line-height: 1;
    min-width: 44px;                    /* comfortable tap target */
    min-height: 44px;
    padding: 6px;                       /* hit area without stretching header */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  /* If the arrows are SVG icons, scale them too (only inside buttons) */
  #rp-cal-pop .monthbar .navbtn svg {
    width: 1em;
    height: 1em;
  }
}

/* === Search bar (mobile): shrink selected date text + guest number === */
@media (max-width: 640px) {
  /* Prevent Safari auto-upsizing */
  .rp-datebar, .rp-searchbar { -webkit-text-size-adjust: 100%; }

  /* Selected dates (value text in the inputs) */
  .rp-datebar input#rp-checkin,
  .rp-datebar input#rp-checkout,
  .rp-searchbar input#rp-checkin,
  .rp-searchbar input#rp-checkout {
    font-size: 16px !important;
    line-height: 1.2 !important;
    -webkit-text-size-adjust: 100%;
    touch-action: manipulation;
  }

  /* If you render the chosen dates in spans/buttons instead of inputs */
  .rp-datebar .rp-date-display,
  .rp-datebar .rp-date,
  .rp-datebar .rp-selected,
  .rp-searchbar .rp-date-display,
  .rp-searchbar .rp-date,
  .rp-searchbar .rp-selected {
    font-size: 85% !important;
    line-height: 1.1 !important;
  }

  /* Guest number (covers input OR select OR custom display span) */
  .rp-datebar #rp-guests,
  .rp-datebar .rp-guests,
  .rp-datebar .rp-guest-num,
  .rp-datebar .rp-guest-count,
  .rp-searchbar #rp-guests,
  .rp-searchbar .rp-guests,
  .rp-searchbar .rp-guest-num,
  .rp-searchbar .rp-guest-count {
    font-size: 85% !important;
    line-height: 1.1 !important;
  }

  /* If guest is a <select>, this ensures the collapsed text is smaller */
  .rp-datebar select#rp-guests,
  .rp-searchbar select#rp-guests {
    font-size: 85% !important;
  }

  /* If you hide the native select and show a faux value element */
  .rp-datebar .rp-guests .value,
  .rp-searchbar .rp-guests .value {
    font-size: 85% !important;
  }
}

/* === Mobile: make guest (5th field) and search button share the row 50/50 === */
@media (max-width: 640px) {
  /* Turn the search bar into a 2-column grid on phones */
  .rp-datebar,
  .rp-searchbar {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 50% / 50% */
    gap: 8px;
  }

  /* Make sure children can shrink without causing overflow */
  .rp-datebar > .field,
  .rp-searchbar > .field {
    min-width: 0;
  }
} /* ← CLOSE the 640px block! */

/* Anchor popups to the bar on all screens */
.rp-datebar { position: relative; overflow: visible; }

/* Base popup positioning (already similar to your .rp-calendar--popup) */
.rp-calendar--popup { position: absolute; top: 110%; left: 0; }

/* Default (desktop/tablet) — apply to BOTH calendar and guests popups */
@media (min-width: 769px) {
  #rp-cal-pop,
  #rp-guests-pop {
    position: absolute;
    top: 100%;
    left: auto;
    width: auto;
    z-index: 99999; /* keep above */
  }
}

/* Mobile: full width — apply to BOTH calendar and guests popups */
@media (max-width: 768px) {
  #rp-cal-pop,
  #rp-guests-pop {
    left: 0;
    width: 100% !important;
    max-width: none;
    box-sizing: border-box;
    z-index: 99999;
  }
}

/* (Your existing rules that are unrelated can follow here, e.g. hero paddings, chips, etc.) */


/* Guests popup content (inside rp-calendar--popup shell) */
.rp-guests__row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 4px;
}
.rp-counter{ display:flex; align-items:center; gap:18px; }
.rp-counter__btn{
  width:40px; height:40px; border-radius:999px; border:2px solid #111;
  background:#fff; font-size:22px; line-height:1; cursor:pointer;
}
.rp-counter__val{ min-width:16px; text-align:center; font-weight:600; }
.rp-guests__actions{
  display:flex; justify-content:space-between; gap:10px; margin-top:8px;
  padding-top:14px; border-top:1px solid #e5e7eb;
}
.rp-guests__clear, .rp-guests__done{
  padding:.6rem .9rem; border-radius:12px; border:1px solid #e5e7eb; background:#fff;
  cursor:pointer; font-weight:600;
}
.rp-guests__done{ background:#4974f0; color:#fff; border-color:#4974f0; }

/* Button text inside the search bar */
.rp-guests__btn{
  display:flex; align-items:center; gap:.5rem;
  padding:.6rem .9rem; border:1px solid #e5e7eb; border-radius:999px;
  background:#fff; cursor:pointer;
}
#rp-guests-value{ color:#4974f0; font-weight:600; }






/* Desktop (≥769px): Guests popup tweaks */
@media (min-width: 769px) {
  /* Layout & default gap */
  #rp-guests-pop .rp-guests__row { padding: 10px 4px; }
  #rp-guests-pop .rp-counter { gap: 10px; } /* default desktop gap */

  /* First two rows: tighter gap + a little left breathing room */
  #rp-guests-pop > .rp-guests__row:nth-of-type(-n+2) .rp-counter { gap: 4px; }
  #rp-guests-pop > .rp-guests__row:nth-of-type(-n+2) .rp-counter .rp-counter__btn:first-child {
    margin-left: 12px;
  }

  /* Smaller +/- buttons */
  #rp-guests-pop .rp-counter__btn {
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 1;
    border-width: 2px;
  }

  /* Number size */
  #rp-guests-pop .rp-counter__val {
    min-width: 14px;
    font-size: 14px;
  }

  /* Label (Adults / Children) smaller */
  #rp-guests-pop .rp-guests__row > span {
    font-size: 13px;
    font-weight: 500;
    color: #555;
    line-height: 1.2;
  }
}

/* Desktop pointer devices: subtle hover */
@media (hover: hover) and (min-width: 769px) {
  #rp-guests-pop .rp-counter__btn:hover { background: #f7f7f7; }
}

@media (max-width: 768px) {
  #rp-date-form {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

#wp--skip-link--target > div > div > div > div.rp-cols > aside > div.rp-totals > div.row.rp-price-breakdown {
    display: none !important;
}

/* === Space so the close button doesn't overlap content === */
.rp-calendar--popup {
  padding-top: 10px;
  padding-right: 42px; /* room for the X button */
}

@media (max-width: 480px){
  .rp-calendar--popup {
    padding-top: 12px;
    padding-right: 44px;
  }
}
/* === Small round close (X) button === */
.rp-calendar--popup .rp-pop-close{
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;       /* smaller than before */
  height: 24px;
  line-height: 20px; /* centers the “×” */
  font-size: 16px;   /* smaller glyph */
  border: 1.5px solid #111;  /* slightly thinner border */
  border-radius: 50%;
  background: #fff;
  text-align: center;
  cursor: pointer;
  z-index: 5;
}

.rp-calendar--popup .rp-pop-close:focus{
  outline: 2px solid #4d90fe;
  outline-offset: 2px;
}

@media (hover:hover){
  .rp-calendar--popup .rp-pop-close:hover{ transform: scale(1.05); }
}




/* ===== Checkout guest/payment polish ===== */
.rp-checkout .card{
  border-color:#eef0f4;
  border-radius:18px;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}
.rp-form .field{position:relative;}
.rp-form label{
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:11px;
  color:#6b7280;
  font-weight:800;
}
.rp-form input,
.rp-form select,
.rp-card-el{
  min-height:52px;
  border:1px solid #edf0f5;
  border-radius:12px;
  background:#fff;
  padding:15px 48px 15px 16px;
  box-shadow:0 1px 2px rgba(15,23,42,.03);
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.rp-card-el{padding-top:16px;}
.rp-form input:focus,
.rp-form select:focus,
.rp-card-el.StripeElement--focus{
  border-color:#c7c4d4;
  box-shadow:0 0 0 3px rgba(99,102,241,.10), 0 1px 2px rgba(15,23,42,.03);
  background:#fff;
}
.rp-form input::placeholder{color:#9ca3af;}
.rp-form .field.rp-field-ok::after{
  content:'✓';
  position:absolute;
  right:14px;
  top:34px;
  width:26px;
  height:26px;
  border-radius:50%;
  background:#20c785;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:900;
  line-height:1;
  box-shadow:0 2px 5px rgba(32,199,133,.25);
  pointer-events:none;
}
.rp-form .field.rp-card-field.rp-field-ok::after{top:34px;}
.rp-paybox{margin-top:18px;padding:18px;border-radius:18px;background:#fff;}
.rp-paybox__head span:first-child{font-size:18px;font-weight:800;color:#111827;}
.rp-card-row{margin-top:0;}
.rp-stripe-input{display:flex;align-items:center;}
.rp-summary-photo{margin:-6px -4px 16px;border-radius:10px;overflow:hidden;background:#f3f4f6;}
.rp-summary-photo-img{display:block;width:100%;height:190px;object-fit:cover;border-radius:10px;}
@media (max-width:960px){.rp-summary-photo-img{height:220px;}}

/* ===== Checkout refinements v0.1.5 ===== */
.rp-checkout .rp-head{
  text-align:center;
  margin:20px 0 22px;
}
.rp-checkout .rp-head h2{
  font-size:31px;
  line-height:1.15;
  margin:0 0 18px;
  font-weight:500;
}
.rp-checkout .rp-form .field{
  gap:5px;
  margin:7px 0;
}
.rp-checkout .rp-form label{
  font-size:12.5px;
  line-height:1.2;
  letter-spacing:.045em;
  font-weight:800;
}
.rp-checkout .rp-form input,
.rp-checkout .rp-form select,
.rp-checkout .rp-card-el{
  min-height:46px;
  height:46px;
  padding:10px 44px 10px 14px;
  border-radius:12px;
  font-size:15px;
  box-sizing:border-box;
}
.rp-checkout .rp-form input[name="notes"]{
  min-height:50px;
  height:50px;
}
.rp-checkout .rp-paybox{
  margin-top:14px;
  padding:16px;
}
.rp-checkout .rp-paybox__head{
  margin-bottom:10px;
}
.rp-checkout .rp-paybox__head span:first-child{
  font-size:18px;
  line-height:1.2;
}
.rp-checkout .rp-card-el{
  display:block;
  background:#fff;
  position:relative;
  padding-top:13px;
  padding-bottom:11px;
  overflow:hidden;
}
.rp-checkout .rp-card-el .__PrivateStripeElement,
.rp-checkout .rp-card-el iframe{
  width:100% !important;
  min-width:100% !important;
}
.rp-checkout .rp-card-el iframe{
  height:24px !important;
}
.rp-checkout .rp-stripe-input{
  display:block;
}
.rp-checkout .rp-form .field.rp-field-ok::after{
  content:'';
  right:12px;
  top:31px;
  width:19px;
  height:19px;
  border-radius:50%;
  background:transparent url('../img/check-symbol-4794.svg') no-repeat center/contain;
  box-shadow:none;
}
.rp-checkout .rp-form .field.rp-card-field.rp-field-ok::after{
  top:31px;
}
.rp-checkout .rp-paybtn{
  height:46px;
  min-height:46px;
  border-radius:10px !important;
  padding:0 18px;
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:15px;
  font-weight:800;
  line-height:1;
  box-shadow:0 3px 0 rgba(0,0,0,.20);
}
.rp-checkout .rp-error{
  font-size:15px;
  line-height:1.35;
  margin-top:6px;
  min-height:20px;
}
.rp-checkout .rp-form input:focus,
.rp-checkout .rp-form select:focus,
.rp-checkout .rp-card-el.StripeElement--focus{
  border-color:#a9b8d4;
  box-shadow:0 0 0 2px rgba(57,118,248,.16), 0 1px 2px rgba(15,23,42,.03);
}

/* Checkout refinements v0.1.8 */
.rp-summary .rp-guests{
  font-size:14px !important;
  color:#111827 !important;
  line-height:1.35;
}

/* ===== Confirmation logo v0.1.9 ===== */
.rp-confirmation .rp-confirm-logo-wrap{
  display:flex;
  justify-content:center;
  align-items:center;
  margin:26px 0 8px;
}
.rp-confirmation .rp-confirm-logo{
  display:block;
  max-width:190px;
  max-height:86px;
  width:auto;
  height:auto;
  object-fit:contain;
}
.rp-confirmation .rp-head{
  margin-top:10px;
}


/* Checkout back arrow */
.rp-checkout-topbar{
  display:flex;
  align-items:center;
  margin:0 0 6px;
}
.rp-checkout-back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  border-radius:999px;
  background:#fff;
  border:1px solid #e5e7eb;
  color:#111827;
  text-decoration:none;
  font-size:24px;
  line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.rp-checkout-back:hover{
  background:#f9fafb;
  color:#111827;
  text-decoration:none;
}

/* Checkout unavailable date error link */
.rp-error-link{
  color:inherit;
  font-weight:700;
  text-decoration:underline;
}
.rp-error-link:hover{
  text-decoration:none;
}


/* === iPhone Safari: prevent auto-zoom when tapping date / guest fields === */
@media (max-width: 640px) {
  .rp-datebar input#rp-checkin,
  .rp-datebar input#rp-checkout,
  .rp-datebar input[type="text"],
  .rp-datebar input[type="date"],
  .rp-datebar select,
  .rp-searchbar input#rp-checkin,
  .rp-searchbar input#rp-checkout,
  .rp-searchbar input[type="text"],
  .rp-searchbar input[type="date"],
  .rp-searchbar select {
    font-size: 16px !important;
    line-height: 1.2 !important;
    -webkit-text-size-adjust: 100% !important;
    transform: translateZ(0);
  }
}


/* Strong iPhone Safari no-zoom fix for unit-page date/guest bar */
@media (max-width: 767px) {
  .rp-datebar input,
  .rp-datebar select,
  .rp-datebar textarea,
  .rp-searchbar input,
  .rp-searchbar select,
  .rp-searchbar textarea,
  #rp-checkin,
  #rp-checkout {
    font-size: 16px !important;
    line-height: 1.25 !important;
    -webkit-text-size-adjust: 100% !important;
    transform: none !important;
    zoom: 1 !important;
  }
  .rp-datebar,
  .rp-datebar *,
  .rp-searchbar,
  .rp-searchbar * {
    -webkit-tap-highlight-color: transparent;
  }
}


/* === Mobile floating booking bar compact layout fix (v0.1.15) ===
   Keeps the selected dates/price/guests readable and prevents the bottom
   banner from becoming too tall or broken on iPhone/Safari. */
@media (max-width: 767px) {
  body {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  #rp-floating-summary {
    box-sizing: border-box !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: translateY(115%) !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 18px 18px 0 0 !important;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)) !important;
    min-height: 0 !important;
  }

  #rp-floating-summary.rp-show {
    transform: translateY(0) !important;
  }

  #rp-floating-summary .rp-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  #rp-floating-summary .rp-left {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    flex-wrap: nowrap !important;
  }

  #rp-floating-summary .rp-chip {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    text-align: center !important;
  }

  #rp-floating-summary .rp-dates {
    margin-left: 0 !important;
    text-align: left !important;
  }

  #rp-floating-summary .rp-price {
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  #rp-floating-summary .rp-nights {
    display: none !important;
  }

  #rp-floating-summary .rp-guests {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #rp-floating-summary .rp-book {
    width: 100% !important;
    min-height: 44px !important;
    padding: 11px 16px !important;
    margin: 0 !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
}


/* v46 public unit page side spacing */
.rp-unit {
  box-sizing: border-box;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4vw, 56px);
  padding-right: clamp(18px, 4vw, 56px);
}
@media (max-width: 767px) {
  .rp-unit {
    padding-left: 16px;
    padding-right: 16px;
  }
}


/* v47 Nordic centered unit page layout */
.rp-unit {
  box-sizing: border-box !important;
  max-width: 760px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 34px 18px 70px !important;
  color: #1f2937;
}
.rp-unit__title {
  text-align: center !important;
  font-size: clamp(32px, 4vw, 42px) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  margin: 0 0 8px !important;
  color: #111827 !important;
}
.rp-unit-location {
  text-align: center !important;
  margin: 0 0 28px !important;
  font-size: 14px !important;
  color: #7a8190 !important;
}
.rp-search--unit {
  width: min(100%, 640px) !important;
  margin: 0 auto 28px !important;
  position: relative !important;
  z-index: 5 !important;
}
.rp-search--unit .rp-datebar,
.rp-unit .rp-datebar {
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  border-radius: 28px !important;
  padding: 12px 14px 12px 22px !important;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .08) !important;
  border: 1px solid rgba(226,232,240,.8) !important;
  gap: 12px !important;
  background: #fff !important;
}
.rp-unit .rp-datebar .field {
  min-width: 0 !important;
}
.rp-unit .rp-datebar .field-title,
.rp-unit .rp-datebar .field label {
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  margin: 0 0 3px !important;
}
.rp-unit .rp-datebar input[type="text"],
.rp-unit .rp-datebar input[type="date"],
.rp-unit .rp-datebar input {
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  color: #111827 !important;
}
.rp-unit .rp-guests__btn {
  min-height: 32px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  background: #f8fbff !important;
  border: 1px solid #e3ecff !important;
  color: #4975f0 !important;
  font-weight: 700 !important;
}
.rp-unit .rp-datebar .divider {
  height: 32px !important;
  margin: 0 4px !important;
  background: #edf0f5 !important;
}
.rp-unit .rp-datebar .rp-search-btn {
  min-width: 92px !important;
  min-height: 44px !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  background: #6590ff !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.rp-unit .rp-datebar .rp-search-btn:hover {
  background: #4975f0 !important;
}
.rp-gallery.rp-gallery--landscape {
  margin: 0 auto 18px !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f3f4f6 !important;
}
.rp-gal-img,
.rp-gallery .rp-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
.rp-gallery .rp-gal-zoom {
  top: 14px !important;
  right: 14px !important;
  width: 36px !important;
  height: 36px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15,23,42,.14) !important;
}
.rp-gallery .rp-gal-arrow {
  background: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.45) !important;
  font-size: 34px !important;
}
.rp-desc-short {
  font-size: 15px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  margin: 0 0 18px !important;
  color: #1f2937 !important;
}
.rp-features--fixed {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px 18px !important;
  border-top: 1px solid #e5e7eb !important;
  border-bottom: 1px solid #e5e7eb !important;
  padding: 18px 0 !important;
  margin: 18px 0 24px !important;
}
.rp-feature {
  gap: 10px !important;
  min-width: 0 !important;
}
.rp-feature__icon {
  width: 30px !important;
  height: 30px !important;
  padding: 5px !important;
  border-radius: 50% !important;
  background: #eef1f6 !important;
  object-fit: contain !important;
}
.rp-feature__text {
  font-size: 13px !important;
  color: #111827 !important;
  line-height: 1.2 !important;
}
.rp-desc-long {
  margin: 0 0 24px !important;
  color: #333946 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}
.rp-desc-long p {
  margin: 0 0 16px !important;
}
.rp-map {
  margin: 28px 0 42px !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 0 !important;
  background: #d7f8df !important;
}
.rp-map iframe {
  width: 100% !important;
  height: 280px !important;
  display: block !important;
}
.rp-contact {
  max-width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 0 70px !important;
  border-radius: 12px !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 4px 16px rgba(15,23,42,.03) !important;
  padding: 24px !important;
  grid-template-columns: 110px 1fr !important;
}
.rp-contact__name {
  color: #111827 !important;
}
.rp-nordkeys-unit-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f4f4f5;
  padding: 90px max(24px, calc((100vw - 760px) / 2)) 90px;
  box-sizing: border-box;
}
.rp-nordkeys-unit-footer__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.rp-nordkeys-unit-footer__brand-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.rp-nordkeys-unit-footer__logo {
  display: block;
  width: 236px;
  max-width: 100%;
  height: auto;
}
.rp-nordkeys-unit-footer__brand,
.rp-nordkeys-unit-footer__mark {
  display: none;
}
.rp-nordkeys-unit-footer__tagline {
  margin-top: 18px;
  color: #333946;
  font-size: 15px;
}
.rp-nordkeys-unit-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  text-align: right;
}
.rp-nordkeys-unit-footer a {
  color: #333946;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.rp-nordkeys-unit-footer a:hover {
  text-decoration: underline;
}
@media (max-width: 780px) {
  .rp-unit {
    padding: 22px 16px 50px !important;
  }
  .rp-search--unit .rp-datebar,
  .rp-unit .rp-datebar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border-radius: 22px !important;
    gap: 14px !important;
    padding: 16px !important;
  }
  .rp-unit .rp-datebar .divider {
    display: none !important;
  }
  .rp-unit .rp-datebar .rp-search-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  .rp-features--fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .rp-contact {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .rp-contact__logo-wrap {
    margin: 0 auto !important;
  }
  .rp-nordkeys-unit-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .rp-nordkeys-unit-footer__links {
    justify-content: flex-start;
    text-align: left;
    gap: 12px 16px;
  }
}


/* v48 public unit page correction: narrow centered layout like reference */
body:has(.rp-unit) {
  background: #fff !important;
}
.rp-unit {
  max-width: 700px !important;
  width: min(700px, calc(100vw - 40px)) !important;
  margin: 0 auto !important;
  padding: 28px 0 58px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.rp-unit__title {
  text-align: center !important;
  font-size: 31px !important;
  line-height: 1.15 !important;
  margin: 0 0 6px !important;
}
.rp-unit-location {
  text-align: center !important;
  margin: 0 0 26px !important;
}
.rp-search--unit {
  width: min(620px, 100%) !important;
  margin: 0 auto 24px !important;
}
.rp-search--unit .rp-datebar,
.rp-unit .rp-datebar {
  width: 100% !important;
  min-height: 54px !important;
  padding: 9px 12px 9px 18px !important;
  border-radius: 26px !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .07) !important;
  display: flex !important;
  align-items: center !important;
}
.rp-unit .rp-datebar .field {
  flex: 1 1 0 !important;
}
.rp-unit .rp-datebar .rp-search-btn {
  min-width: 78px !important;
  min-height: 42px !important;
  padding: 9px 20px !important;
}
.rp-gallery.rp-gallery--landscape {
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 auto 18px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 10px !important;
}
.rp-desc-short,
.rp-features--fixed,
.rp-desc-long,
.rp-map,
.rp-contact {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.rp-desc-short {
  font-size: 14px !important;
  margin: 0 0 18px !important;
}
.rp-features--fixed {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px 18px !important;
  padding: 16px 0 !important;
  margin: 18px auto 22px !important;
}
.rp-map {
  margin-top: 26px !important;
  margin-bottom: 42px !important;
}
.rp-map iframe {
  height: 275px !important;
}
.rp-contact {
  margin-bottom: 70px !important;
}
.rp-nordkeys-unit-footer {
  margin-top: 0 !important;
  padding-top: 86px !important;
  padding-bottom: 86px !important;
}
.rp-nordkeys-unit-footer__inner {
  max-width: 760px !important;
}
@media (max-width: 767px) {
  .rp-unit {
    width: calc(100vw - 32px) !important;
    padding-top: 22px !important;
  }
  .rp-search--unit .rp-datebar,
  .rp-unit .rp-datebar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    padding: 14px !important;
  }
  .rp-features--fixed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* v49 fix unit wrapper layout: keep full page content in same centered column */
body:has(.rp-unit) .entry-content,
body:has(.rp-unit) .wp-block-post-content,
body:has(.rp-unit) .site-main,
body:has(.rp-unit) main {
  background: transparent !important;
  box-shadow: none !important;
}
.rp-unit {
  padding-top: 24px !important;
}
.rp-gallery.rp-gallery--landscape {
  margin-top: 0 !important;
}


/* v50 final unit page reference polish */
body:has(.rp-unit) {
  background: #fff !important;
}
body:has(.rp-unit) .entry-content,
body:has(.rp-unit) .wp-block-post-content,
body:has(.rp-unit) .site-content,
body:has(.rp-unit) .site-main,
body:has(.rp-unit) main,
body:has(.rp-unit) article,
body:has(.rp-unit) .page,
body:has(.rp-unit) .hentry {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
body:has(.rp-unit) .entry-content,
body:has(.rp-unit) .wp-block-post-content {
  padding: 0 !important;
  margin-top: 0 !important;
}
.rp-unit {
  max-width: 700px !important;
  width: min(700px, calc(100vw - 40px)) !important;
  padding-top: 22px !important;
  padding-bottom: 58px !important;
}
.rp-unit__title {
  margin-top: 0 !important;
}
.rp-search--unit {
  margin-bottom: 20px !important;
}
.rp-gallery.rp-gallery--landscape {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}
.rp-desc-short {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
@media (max-width: 767px) {
  .rp-unit {
    width: calc(100vw - 30px) !important;
    padding-top: 18px !important;
  }
}


/* v51 unit page refinements */
html body:has(.rp-unit),
html body:has(.rp-unit) #page,
html body:has(.rp-unit) .site,
html body:has(.rp-unit) .site-content,
html body:has(.rp-unit) .content-area,
html body:has(.rp-unit) .entry-content,
html body:has(.rp-unit) .wp-block-post-content,
html body:has(.rp-unit) main,
html body:has(.rp-unit) article,
html body:has(.rp-unit) .page,
html body:has(.rp-unit) .hentry,
html body:has(.rp-unit) .inside-article,
html body:has(.rp-unit) .wp-site-blocks {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  outline: 0 !important;
}
html body:has(.rp-unit) .entry-content,
html body:has(.rp-unit) .wp-block-post-content,
html body:has(.rp-unit) main {
  max-width: none !important;
}
.rp-unit {
  max-width: 820px !important;
  width: min(820px, calc(100vw - 44px)) !important;
  padding-top: 20px !important;
}
.rp-search--unit {
  width: min(650px, 100%) !important;
  margin-bottom: 22px !important;
}
.rp-gallery.rp-gallery--landscape,
.rp-desc-short,
.rp-features--fixed,
.rp-desc-long,
.rp-map,
.rp-contact {
  max-width: 820px !important;
}
.rp-gallery.rp-gallery--landscape {
  border-radius: 10px !important;
}
.rp-gallery .rp-gal-zoom {
  top: 12px !important;
  right: 12px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: #111827 !important;
  border: 0 !important;
  box-shadow: 0 3px 10px rgba(15,23,42,.10) !important;
  padding: 0 !important;
}
.rp-gallery .rp-gal-zoom svg {
  width: 15px !important;
  height: 15px !important;
}
.rp-gallery .rp-gal-arrow {
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  font-size: 26px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #fff !important;
  text-shadow: 0 2px 7px rgba(0,0,0,.50) !important;
}
.rp-gallery .rp-gal-prev {
  left: 14px !important;
}
.rp-gallery .rp-gal-next {
  right: 14px !important;
}
.rp-nordkeys-unit-footer__inner {
  max-width: 820px !important;
}
@media (max-width: 767px) {
  .rp-unit {
    width: calc(100vw - 30px) !important;
  }
}


/* v52 unit page: restore floating banner and remove remaining outer box */
body:has(.rp-unit) .wp-block-group:has(.rp-unit),
body:has(.rp-unit) .wp-block-group:has(.rp-gallery),
body:has(.rp-unit) .wp-block-post-content:has(.rp-unit),
body:has(.rp-unit) .entry-content:has(.rp-unit),
body:has(.rp-unit) .is-layout-constrained:has(.rp-unit),
body:has(.rp-unit) .is-layout-flow:has(.rp-unit),
body:has(.rp-unit) .has-global-padding:has(.rp-unit),
body:has(.rp-unit) #wp--skip-link--target,
body:has(.rp-unit) .wp-site-blocks > main,
body:has(.rp-unit) .wp-site-blocks > .wp-block-group {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
}
body:has(.rp-unit) .wp-block-group:has(.rp-unit),
body:has(.rp-unit) .wp-block-post-content:has(.rp-unit),
body:has(.rp-unit) .entry-content:has(.rp-unit) {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
#rp-floating-summary {
  position: fixed !important;
  left: 50% !important;
  right: auto !important;
  bottom: 16px !important;
  transform: translate(-50%, 120%) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 2147483647 !important;
  width: min(820px, calc(100vw - 32px)) !important;
  max-width: 820px !important;
  border-radius: 18px !important;
  display: flex !important;
}
#rp-floating-summary.rp-show {
  transform: translate(-50%, 0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
#rp-floating-summary .rp-wrap {
  width: 100% !important;
}
@media (max-width: 767px) {
  #rp-floating-summary {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    transform: translateY(120%) !important;
    border-radius: 18px 18px 0 0 !important;
  }
  #rp-floating-summary.rp-show {
    transform: translateY(0) !important;
  }
}


/* v53 remove outer outline and fix popup close buttons */
html body:has(.rp-unit) {
  background: #fff !important;
}
html body:has(.rp-unit) #page,
html body:has(.rp-unit) .site,
html body:has(.rp-unit) .site-main,
html body:has(.rp-unit) .site-content,
html body:has(.rp-unit) .content-area,
html body:has(.rp-unit) .entry-content,
html body:has(.rp-unit) .wp-block-post-content,
html body:has(.rp-unit) .wp-site-blocks,
html body:has(.rp-unit) article,
html body:has(.rp-unit) .page,
html body:has(.rp-unit) .hentry,
html body:has(.rp-unit) .inside-article,
html body:has(.rp-unit) .entry,
html body:has(.rp-unit) .entry-wrap,
html body:has(.rp-unit) .post,
html body:has(.rp-unit) .type-page,
html body:has(.rp-unit) .wp-block-group,
html body:has(.rp-unit) .wp-block-post-content > *,
html body:has(.rp-unit) .entry-content > * {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
html body:has(.rp-unit) .wp-site-blocks,
html body:has(.rp-unit) main,
html body:has(.rp-unit) article,
html body:has(.rp-unit) .entry-content,
html body:has(.rp-unit) .wp-block-post-content {
  background: transparent !important;
}
html body:has(.rp-unit) .rp-unit {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  background: transparent !important;
}

/* Calendar and guests popup close button */
.rp-calendar .rp-cal-close,
.rp-calendar .rp-guests-close,
.rp-calendar button[aria-label="Close"],
.rp-calendar button[aria-label="Close calendar"],
.rp-calendar button[aria-label="Close guests"],
#rp-cal-pop .rp-cal-close,
#rp-guests-pop .rp-guests-close,
#rp-cal-pop button[aria-label="Close"],
#rp-guests-pop button[aria-label="Close"] {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 2px solid #111827 !important;
  background: #fff !important;
  color: #111827 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
}
.rp-calendar .rp-cal-close *,
.rp-calendar .rp-guests-close *,
.rp-calendar button[aria-label="Close"] *,
#rp-cal-pop button[aria-label="Close"] *,
#rp-guests-pop button[aria-label="Close"] * {
  line-height: 1 !important;
}


/* v54 checkout page reference layout */
.rp-checkout.rp-shell {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 32px 24px 90px !important;
  box-sizing: border-box !important;
  background: transparent !important;
}
.rp-checkout .rp-checkout-topbar {
  max-width: 1120px !important;
  margin: 0 0 12px !important;
}
.rp-checkout .rp-checkout-back {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #111827 !important;
  text-decoration: none !important;
  font-size: 22px !important;
  line-height: 1 !important;
}
.rp-checkout .rp-head {
  text-align: center !important;
  margin: 0 0 22px !important;
}
.rp-checkout .rp-head h2 {
  font-size: 34px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
}
.rp-checkout .rp-cols {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(330px, .95fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
.rp-checkout .card,
.rp-checkout .rp-form.card,
.rp-checkout .rp-summary.card,
.rp-checkout .rp-paybox.card {
  border: 1px solid #e5e7eb !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .04) !important;
  box-sizing: border-box !important;
}
.rp-checkout .rp-form.card {
  padding: 18px !important;
}
.rp-checkout .row2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
}
.rp-checkout .field {
  margin: 0 !important;
}
.rp-checkout .field label {
  display: block !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: .03em !important;
  margin: 0 0 7px !important;
}
.rp-checkout input,
.rp-checkout select,
.rp-checkout textarea,
.rp-checkout .rp-stripe-input {
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 10px !important;
  border: 1px solid #e5e7eb !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 11px 14px !important;
  box-sizing: border-box !important;
  color: #111827 !important;
  font-size: 14px !important;
}
.rp-checkout textarea {
  resize: vertical !important;
}
.rp-checkout input::placeholder,
.rp-checkout textarea::placeholder {
  color: #9aa4b2 !important;
}
.rp-checkout .rp-paybox.card {
  padding: 16px !important;
  margin-top: 16px !important;
}
.rp-checkout .rp-paybox__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 18px !important;
}
.rp-checkout .rp-card-row {
  margin-bottom: 12px !important;
}
.rp-checkout .rp-paybtn {
  width: 100% !important;
  border-radius: 10px !important;
  min-height: 46px !important;
  margin: 14px 0 22px !important;
  background: #4975f0 !important;
  color: #fff !important;
  border: 0 !important;
  font-weight: 700 !important;
  box-shadow: 0 3px 0 rgba(30, 64, 175, .45) !important;
}
.rp-checkout .rp-terms {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #64748b !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  letter-spacing: .02em !important;
}
.rp-checkout .rp-terms input[type="checkbox"] {
  width: 16px !important;
  min-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  border-radius: 3px !important;
}
.rp-checkout .rp-summary.card {
  padding: 14px 14px 24px !important;
  align-self: stretch !important;
}
.rp-checkout .rp-summary-photo {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  margin: 0 0 16px !important;
  background: #f1f5f9 !important;
}
.rp-checkout .rp-summary-photo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.rp-checkout .rp-summary h3 {
  font-size: 22px !important;
  line-height: 1.15 !important;
  font-weight: 500 !important;
  margin: 14px 0 10px !important;
  color: #111827 !important;
}
.rp-checkout .rp-summary .rp-sline {
  min-height: 22px !important;
  color: #64748b !important;
  font-size: 14px !important;
}
.rp-checkout .rp-summary hr {
  border: 0 !important;
  border-top: 1px solid #111827 !important;
  opacity: .55 !important;
  margin: 16px 0 !important;
}
.rp-checkout .rp-summary .rp-unit {
  max-width: none !important;
  width: auto !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111827 !important;
}
.rp-checkout .rp-summary .rp-dates {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 14px !important;
}
.rp-checkout .rp-summary .rp-guests {
  color: #475569 !important;
  font-size: 14px !important;
  margin: 0 0 16px !important;
}
.rp-checkout .rp-totals {
  border-top: 1px solid #111827 !important;
  padding-top: 12px !important;
  margin-top: 14px !important;
}
.rp-checkout .rp-totals .row {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 12px !important;
}
.rp-checkout .rp-totals .row.total {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111827 !important;
}
.rp-checkout .rp-totals .muted,
.rp-checkout .muted.tiny {
  color: #64748b !important;
  font-size: 12px !important;
}
.rp-checkout + .rp-nordkeys-unit-footer,
.rp-checkout ~ .rp-nordkeys-unit-footer {
  margin-top: 0 !important;
}
@media (max-width: 900px) {
  .rp-checkout.rp-shell {
    padding: 24px 16px 70px !important;
  }
  .rp-checkout .rp-cols {
    grid-template-columns: 1fr !important;
  }
}
@media (max-width: 640px) {
  .rp-checkout .row2 {
    grid-template-columns: 1fr !important;
  }
}


/* v56 checkout terms checkbox alignment fix */
.rp-checkout .rp-terms,
.rp-checkout label.rp-terms,
.rp-checkout .rp-terms-row,
.rp-checkout .rp-terms-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
  white-space: normal !important;
  overflow: visible !important;
  color: #64748b !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}
.rp-checkout .rp-terms input[type="checkbox"],
.rp-checkout input[type="checkbox"][name="accept_terms"],
.rp-checkout input[type="checkbox"]#rp_terms_accept {
  appearance: checkbox !important;
  -webkit-appearance: checkbox !important;
  position: static !important;
  display: inline-block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 3px !important;
  transform: none !important;
  vertical-align: middle !important;
  box-shadow: none !important;
}
.rp-checkout .rp-terms span,
.rp-checkout .rp-terms strong,
.rp-checkout .rp-terms a {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}
.rp-checkout .rp-terms a {
  color: #64748b !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}


/* v57 checkout terms row final alignment */
.rp-checkout .rp-terms,
.rp-checkout label.rp-terms,
.rp-checkout .rp-terms-row,
.rp-checkout .rp-terms-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 20px 0 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
  white-space: nowrap !important;
  overflow: visible !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}
.rp-checkout .rp-terms input[type="checkbox"],
.rp-checkout input[type="checkbox"][name="accept_terms"],
.rp-checkout input[type="checkbox"]#rp_terms_accept {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: static !important;
  display: inline-block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  min-width: 16px !important;
  max-width: 16px !important;
  height: 16px !important;
  min-height: 16px !important;
  max-height: 16px !important;
  margin: 0 0 0 2px !important;
  padding: 0 !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 4px !important;
  background: #fff !important;
  transform: none !important;
  vertical-align: middle !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
.rp-checkout .rp-terms input[type="checkbox"]:checked,
.rp-checkout input[type="checkbox"][name="accept_terms"]:checked,
.rp-checkout input[type="checkbox"]#rp_terms_accept:checked {
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  box-shadow: inset 0 0 0 3px #fff !important;
}
.rp-checkout .rp-terms span,
.rp-checkout .rp-terms strong,
.rp-checkout .rp-terms a,
.rp-checkout .rp-terms label {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.rp-checkout .rp-terms a {
  color: #64748b !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  font-weight: 800 !important;
}
@media (max-width: 700px) {
  .rp-checkout .rp-terms,
  .rp-checkout label.rp-terms,
  .rp-checkout .rp-terms-row,
  .rp-checkout .rp-terms-wrap {
    white-space: normal !important;
    align-items: flex-start !important;
    line-height: 1.35 !important;
  }
  .rp-checkout .rp-terms span,
  .rp-checkout .rp-terms strong,
  .rp-checkout .rp-terms a,
  .rp-checkout .rp-terms label {
    white-space: normal !important;
    line-height: 1.35 !important;
  }
}


/* v58 exact checkout terms markup fix */
.rp-checkout .rp-paybox .rp-terms-row {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.rp-checkout .rp-paybox .rp-terms-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
}
.rp-checkout .rp-paybox .rp-terms-label #rp_terms_checkbox {
  all: unset !important;
  display: inline-block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  max-width: 16px !important;
  max-height: 16px !important;
  box-sizing: border-box !important;
  border: 2px solid #8b8b8b !important;
  border-radius: 4px !important;
  background: #fff !important;
  cursor: pointer !important;
}
.rp-checkout .rp-paybox .rp-terms-label #rp_terms_checkbox:checked {
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  box-shadow: inset 0 0 0 3px #fff !important;
}
.rp-checkout .rp-paybox .rp-terms-label span {
  display: inline-block !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  overflow: hidden !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
}
.rp-checkout .rp-paybox .rp-terms-label a#rp_terms_open {
  display: inline-block !important;
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 0 0 18px !important;
  color: #64748b !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  white-space: nowrap !important;
}
@media (max-width: 760px) {
  .rp-checkout .rp-paybox .rp-terms-label {
    align-items: flex-start !important;
    white-space: normal !important;
    overflow: visible !important;
    line-height: 1.35 !important;
  }
  .rp-checkout .rp-paybox .rp-terms-label span,
  .rp-checkout .rp-paybox .rp-terms-label a#rp_terms_open {
    white-space: normal !important;
    line-height: 1.35 !important;
    margin-left: 0 !important;
  }
}


/* v61 public booking search/results page layout */
body:has(.rp-search-hero),
body:has(.rp-results-wrapper) {
  background: #fff !important;
}
body:has(.rp-search-hero) .entry-content,
body:has(.rp-results-wrapper) .entry-content,
body:has(.rp-search-hero) .wp-block-post-content,
body:has(.rp-results-wrapper) .wp-block-post-content,
body:has(.rp-search-hero) main,
body:has(.rp-results-wrapper) main,
body:has(.rp-search-hero) article,
body:has(.rp-results-wrapper) article {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Search hero exactly like the reference */
.rp-search-hero.rp-fullbleed {
  width: calc(100vw - 44px) !important;
  max-width: none !important;
  margin: 18px auto 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  position: relative !important;
  min-height: 430px !important;
  border-radius: 14px !important;
  overflow: visible !important;
  background-size: cover !important;
  background-position: center center !important;
}
.rp-search-hero.rp-fullbleed::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, .38) !important;
  border-radius: 14px !important;
  z-index: 1 !important;
  pointer-events: none !important;
}
.rp-search-hero__inner {
  position: relative !important;
  z-index: 2 !important;
  min-height: 430px !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 82px 18px 72px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  text-align: center !important;
}
.rp-search-branding {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 0 0 14px !important;
  text-align: center !important;
  position: relative !important;
  z-index: 2 !important;
}
.rp-search-logo {
  width: 104px !important;
  height: 104px !important;
  max-width: 104px !important;
  min-width: 104px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 auto !important;
  border: 3px solid #fff !important;
  background: #fff !important;
  box-shadow: none !important;
  transform: none !important;
}
.rp-search-title {
  color: #fff !important;
  font-size: clamp(30px, 3.8vw, 46px) !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  margin: 0 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.35) !important;
}

/* Search bar */
#rp-date-form.rp-search,
.rp-search-hero .rp-search {
  width: min(720px, calc(100vw - 84px)) !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 20 !important;
}
.rp-search-hero .rp-search__bar,
.rp-search-hero .rp-datebar {
  width: 100% !important;
  min-height: 66px !important;
  padding: 10px 16px 10px 22px !important;
  border-radius: 36px !important;
  background: #fff !important;
  border: 0 !important;
  box-shadow: 0 10px 34px rgba(15,23,42,.16) !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  box-sizing: border-box !important;
}
.rp-search-hero .rp-datebar .field {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  text-align: left !important;
  padding: 0 10px !important;
}
.rp-search-hero .rp-datebar .divider {
  width: 1px !important;
  height: 38px !important;
  background: #e5e7eb !important;
  flex: 0 0 1px !important;
}
.rp-search-hero .field-title,
.rp-search-hero .rp-datebar label {
  display: block !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 500 !important;
  margin: 0 0 2px !important;
  text-align: left !important;
}
.rp-search-hero .rp-datebar input[type="text"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}
.rp-search-hero .rp-guests__btn {
  min-height: 34px !important;
  border-radius: 999px !important;
  padding: 6px 13px !important;
  background: #fff !important;
  border: 1px solid #dbe4ff !important;
  color: #3976f8 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.rp-search-hero .rp-search-btn {
  flex: 0 0 auto !important;
  min-width: 118px !important;
  min-height: 46px !important;
  padding: 12px 28px !important;
  border-radius: 999px !important;
  background: #3976f8 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

/* Results cards */
.rp-results-wrapper {
  width: min(1120px, calc(100vw - 80px)) !important;
  max-width: 1120px !important;
  margin: 42px auto 82px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.rp-results-wrapper .rp-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}
.rp-results-wrapper .rp-card {
  background: #fff !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #eef2f7 !important;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .04) !important;
  max-width: 370px !important;
}
.rp-results-wrapper .rp-card__media {
  display: block !important;
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  overflow: hidden !important;
  background: #f1f5f9 !important;
}
.rp-results-wrapper .rp-card__media img,
.rp-results-wrapper .rp-card__media .rp-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}
.rp-results-wrapper .rp-badge {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  padding: 7px 12px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 500 !important;
  border: 0 !important;
}
.rp-results-wrapper .rp-badge--ok {
  background: #d8f8df !important;
  color: #14532d !important;
}
.rp-results-wrapper .rp-badge--muted {
  background: #e5e7eb !important;
  color: #374151 !important;
}
.rp-results-wrapper .rp-card__body {
  padding: 18px 18px 20px !important;
}
.rp-results-wrapper .rp-card__body h3 {
  margin: 0 0 13px !important;
  font-size: 19px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #111827 !important;
}
.rp-results-wrapper .rp-card__meta {
  display: none !important;
}
.rp-results-wrapper .rp-card__excerpt {
  margin: 0 0 14px !important;
  color: #111827 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
}
.rp-results-wrapper .rp-card__features {
  margin: 0 0 13px !important;
  color: #6b7280 !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
}
.rp-results-wrapper .rp-card__price {
  margin: 0 0 13px !important;
  color: #111827 !important;
  font-size: 16px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
.rp-results-wrapper .rp-card__actions {
  margin: 0 !important;
}
.rp-results-wrapper .rp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 10px 20px !important;
  border-radius: 999px !important;
  background: #3976f8 !important;
  border-color: #3976f8 !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

/* If search + results are on same page, keep them visually connected like the screenshot */
.rp-search-hero + .rp-results-wrapper,
.rp-search-hero ~ .rp-results-wrapper {
  margin-top: 42px !important;
}

/* Footer spacing for search pages */
body:has(.rp-search-hero) .rp-nordkeys-unit-footer,
body:has(.rp-results-wrapper) .rp-nordkeys-unit-footer {
  margin-top: 70px !important;
}

@media (max-width: 1024px) {
  .rp-results-wrapper .rp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .rp-search-hero.rp-fullbleed {
    width: calc(100vw - 28px) !important;
    min-height: 500px !important;
    margin-top: 14px !important;
  }
  .rp-search-hero__inner {
    min-height: 500px !important;
    padding: 54px 14px !important;
  }
  #rp-date-form.rp-search,
  .rp-search-hero .rp-search {
    width: min(420px, calc(100vw - 54px)) !important;
  }
  .rp-search-hero .rp-search__bar,
  .rp-search-hero .rp-datebar {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border-radius: 24px !important;
    padding: 14px !important;
    gap: 12px !important;
  }
  .rp-search-hero .rp-datebar .divider {
    display: none !important;
  }
  .rp-search-hero .rp-search-btn {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }
  .rp-results-wrapper {
    width: calc(100vw - 32px) !important;
    margin-top: 30px !important;
  }
  .rp-results-wrapper .rp-grid {
    grid-template-columns: 1fr !important;
  }
  .rp-results-wrapper .rp-card {
    max-width: none !important;
  }
}


/* v63 fallback /book/{client}/ layout cleanup + search availability */
body:has(.nk-public-booking-search-page) {
  background: #fff !important;
}
body:has(.nk-public-booking-search-page) #page,
body:has(.nk-public-booking-search-page) .site,
body:has(.nk-public-booking-search-page) .site-content,
body:has(.nk-public-booking-search-page) .content-area,
body:has(.nk-public-booking-search-page) main,
body:has(.nk-public-booking-search-page) article,
body:has(.nk-public-booking-search-page) .page,
body:has(.nk-public-booking-search-page) .hentry,
body:has(.nk-public-booking-search-page) .entry-content,
body:has(.nk-public-booking-search-page) .wp-block-post-content,
body:has(.nk-public-booking-search-page) .inside-article,
body:has(.nk-public-booking-search-page) .wp-site-blocks {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}
.nk-public-booking-search-page {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 70px !important;
  background: #fff !important;
}
.nk-public-booking-search-page .rp-search-hero.rp-fullbleed {
  width: calc(100vw - 44px) !important;
  max-width: none !important;
  min-height: 430px !important;
  margin: 18px auto 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  border-radius: 14px !important;
  overflow: visible !important;
  background-position: center center !important;
}
.nk-public-booking-search-page .rp-search-hero__inner {
  min-height: 430px !important;
  padding-top: 76px !important;
  padding-bottom: 70px !important;
}
.nk-public-booking-search-page .rp-results-wrapper {
  width: min(1120px, calc(100vw - 150px)) !important;
  max-width: 1120px !important;
  margin: 48px auto 0 !important;
  padding: 0 !important;
}
.nk-public-booking-search-page .rp-results-wrapper .rp-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  justify-items: start !important;
}
.nk-public-booking-search-page .rp-card {
  width: 100% !important;
  max-width: 360px !important;
}
.nk-public-booking-search-page .rp-card__media {
  aspect-ratio: 16 / 9 !important;
}
.nk-public-booking-search-page .rp-card__body {
  min-height: 210px !important;
}
.nk-public-booking-search-page #rp-cal-pop[data-search-availability="1"] .day.unavailable:not(.checkout-ok) {
  opacity: .5 !important;
  cursor: not-allowed !important;
}
@media (max-width: 1200px) {
  .nk-public-booking-search-page .rp-results-wrapper {
    width: min(1120px, calc(100vw - 80px)) !important;
  }
}
@media (max-width: 1024px) {
  .nk-public-booking-search-page .rp-results-wrapper .rp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .nk-public-booking-search-page .rp-search-hero.rp-fullbleed {
    width: calc(100vw - 28px) !important;
    min-height: 500px !important;
  }
  .nk-public-booking-search-page .rp-results-wrapper {
    width: calc(100vw - 32px) !important;
    margin-top: 30px !important;
  }
  .nk-public-booking-search-page .rp-results-wrapper .rp-grid {
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
  }
  .nk-public-booking-search-page .rp-card {
    max-width: none !important;
  }
}


/* v64 booking search page centered layout and capacity state */
body:has(.nk-public-booking-search-page) {
  background: #fff !important;
  overflow-x: hidden !important;
}
body:has(.nk-public-booking-search-page) #page,
body:has(.nk-public-booking-search-page) .site,
body:has(.nk-public-booking-search-page) .site-content,
body:has(.nk-public-booking-search-page) .content-area,
body:has(.nk-public-booking-search-page) main,
body:has(.nk-public-booking-search-page) article,
body:has(.nk-public-booking-search-page) .page,
body:has(.nk-public-booking-search-page) .hentry,
body:has(.nk-public-booking-search-page) .inside-article,
body:has(.nk-public-booking-search-page) .entry-content,
body:has(.nk-public-booking-search-page) .wp-block-post-content,
body:has(.nk-public-booking-search-page) .wp-site-blocks {
  max-width: none !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  border-radius: 0 !important;
}
.nk-public-booking-search-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 0 78px !important;
  box-sizing: border-box !important;
  background: #fff !important;
}
.nk-public-booking-search-page .rp-search-hero.rp-fullbleed,
.nk-public-booking-search-page .nk-public-booking-hero {
  width: calc(100vw - 44px) !important;
  max-width: 1320px !important;
  min-height: 430px !important;
  margin: 18px auto 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  position: relative !important;
  display: block !important;
  border-radius: 14px !important;
  overflow: visible !important;
  background-size: cover !important;
  background-position: center center !important;
}
.nk-public-booking-search-page .rp-search-hero__inner {
  width: 100% !important;
  max-width: none !important;
  min-height: 430px !important;
  margin: 0 !important;
  padding: 74px 18px 72px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}
.nk-public-booking-search-page .rp-search-branding {
  margin: 0 0 22px !important;
  gap: 14px !important;
}
.nk-public-booking-search-page .rp-search-title {
  font-size: clamp(34px, 4vw, 52px) !important;
  font-weight: 600 !important;
}
.nk-public-booking-search-page #rp-date-form.rp-search,
.nk-public-booking-search-page .rp-search-hero .rp-search {
  width: min(740px, calc(100vw - 120px)) !important;
  max-width: 740px !important;
}
.nk-public-booking-search-page .rp-search-hero .rp-search__bar,
.nk-public-booking-search-page .rp-search-hero .rp-datebar {
  width: 100% !important;
  min-height: 66px !important;
  padding: 10px 16px 10px 22px !important;
  border-radius: 999px !important;
  flex-wrap: nowrap !important;
}
.nk-public-booking-search-page .rp-results-wrapper {
  width: min(1120px, calc(100vw - 90px)) !important;
  max-width: 1120px !important;
  margin: 46px auto 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}
.nk-public-booking-search-page .rp-results-wrapper .rp-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  justify-items: stretch !important;
}
.nk-public-booking-search-page .rp-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  border-radius: 14px !important;
}
.nk-public-booking-search-page .rp-badge--muted {
  background: #f3f4f6 !important;
  color: #6b7280 !important;
}
.nk-public-booking-search-page .rp-btn--secondary {
  background: #e5e7eb !important;
  border-color: #e5e7eb !important;
  color: #374151 !important;
}
@media (max-width: 1100px) {
  .nk-public-booking-search-page .rp-results-wrapper .rp-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  .nk-public-booking-search-page .rp-search-hero.rp-fullbleed,
  .nk-public-booking-search-page .nk-public-booking-hero {
    width: calc(100vw - 28px) !important;
    min-height: 500px !important;
    margin-top: 14px !important;
  }
  .nk-public-booking-search-page .rp-search-hero__inner {
    min-height: 500px !important;
    padding: 54px 14px !important;
  }
  .nk-public-booking-search-page #rp-date-form.rp-search,
  .nk-public-booking-search-page .rp-search-hero .rp-search {
    width: min(420px, calc(100vw - 54px)) !important;
  }
  .nk-public-booking-search-page .rp-results-wrapper {
    width: calc(100vw - 32px) !important;
    margin-top: 30px !important;
  }
  .nk-public-booking-search-page .rp-results-wrapper .rp-grid {
    grid-template-columns: 1fr !important;
  }
}


/* v74 Business Settings category layout */
.rp-business-settings-ui {
  display: block;
  margin: 0 0 22px;
}
.rp-business-settings-help {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  margin: 0 0 22px;
  border: 1px solid #e5edf8;
  border-radius: 14px;
  background: #fff;
  color: #6b7a90;
  font-weight: 600;
}
.rp-business-info-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #93a4bd;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: #6b7a90;
}
.rp-business-settings-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.rp-business-settings-nav {
  overflow: hidden;
  border: 1px solid #dfe8f5;
  border-radius: 14px;
  background: #fff;
}
.rp-business-tab {
  width: 100%;
  min-height: 106px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 18px;
  gap: 14px;
  align-items: center;
  padding: 18px 18px;
  border: 0;
  border-bottom: 1px solid #e5edf8;
  background: #fff;
  color: #1d2a44;
  text-align: left;
  cursor: pointer;
  position: relative;
}
.rp-business-tab:last-child {
  border-bottom: 0;
}
.rp-business-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
}
.rp-business-tab.is-active {
  background: #f3f7ff;
}
.rp-business-tab.is-active::before {
  background: #4975f0;
}
.rp-business-tab-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #718098;
  font-size: 27px;
  font-weight: 700;
}
.rp-business-tab.is-active .rp-business-tab-icon {
  background: #4975f0;
  color: #fff;
}
.rp-business-tab strong {
  display: block;
  color: #13223b;
  font-size: 16px;
  line-height: 1.18;
  font-weight: 800;
}
.rp-business-tab small {
  display: block;
  margin-top: 7px;
  color: #708097;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}
.rp-business-tab b {
  color: #4975f0;
  font-size: 26px;
  font-weight: 500;
}
.rp-business-settings-panels {
  min-width: 0;
}
.rp-card.rp-business-panel {
  display: none;
  min-height: 560px;
  margin: 0 !important;
  padding: 30px 30px 34px !important;
  border-radius: 16px !important;
  border: 1px solid #e1e9f5 !important;
  background: #fff !important;
  box-shadow: none !important;
}
.rp-card.rp-business-panel.is-active {
  display: block;
}
.rp-business-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 26px;
  margin: 0 0 26px;
  border-bottom: 1px solid #e5edf8;
}
.rp-business-panel-head h2 {
  margin: 0 0 10px !important;
}
.rp-business-panel-head p {
  margin: 0;
  color: #718098;
  font-weight: 600;
}
.rp-business-preview-btn {
  min-height: 40px;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  text-decoration: none !important;
}
.rp-business-panel .rp-grid {
  gap: 22px !important;
}
.rp-business-panel #rp_search_logo_preview,
.rp-business-panel #rp_search_bg_preview {
  width: 180px;
  max-width: 100%;
  min-height: 104px;
  display: grid;
  place-items: center;
  margin: 10px 0 12px;
  border: 1px dashed #dbe4f2;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.rp-business-panel #rp_search_logo_preview .rp-thumb {
  width: 96px !important;
  height: 96px !important;
  max-width: 96px !important;
  border-radius: 999px !important;
  object-fit: cover !important;
}
.rp-business-panel #rp_search_bg_preview {
  width: 250px;
  min-height: 140px;
  border-style: solid;
}
.rp-business-panel #rp_search_bg_preview .rp-thumb {
  width: 100% !important;
  height: 140px !important;
  max-width: none !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}
.rp-business-panel .rp-media-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .rp-business-settings-layout {
    grid-template-columns: 1fr;
  }
  .rp-business-settings-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rp-business-tab {
    border-bottom: 1px solid #e5edf8;
  }
}
@media (max-width: 640px) {
  .rp-business-settings-nav {
    grid-template-columns: 1fr;
  }
  .rp-business-panel-head {
    flex-direction: column;
  }
}


/* v75 Business settings visual alignment */
.rp-wrap--business-settings > h1 {
  display: none;
}
.rp-wrap--business-settings .rp-savebar--business-settings {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  margin: 0 0 18px;
  border: 1px solid #e2eaf5;
  border-radius: 16px;
  background: #fff;
}
.rp-wrap--business-settings .rp-savebar--business-settings > div:first-child {
  min-width: 260px;
}
.rp-wrap--business-settings .rp-savebar--business-settings label {
  display: block;
  margin: 0 0 8px;
}
.rp-wrap--business-settings .rp-savebar--business-settings select {
  min-width: 250px;
}
.rp-wrap--business-settings .rp-savebar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rp-wrap--business-settings .rp-savebar-actions .button-primary,
.rp-wrap--business-settings #rp-property-form > p:last-child {
  display: none !important;
}
.rp-wrap--business-settings .rp-shell--business-settings {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.rp-wrap--business-settings .rp-shell--business-settings > main {
  width: 100%;
}
.rp-wrap--business-settings .rp-business-settings-help {
  margin: 0 0 18px;
}
.rp-wrap--business-settings .rp-business-settings-layout {
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}
.rp-wrap--business-settings .rp-business-settings-nav {
  border: 1px solid #dbe4f2;
  border-radius: 14px;
  overflow: hidden;
}
.rp-wrap--business-settings .rp-business-tab {
  min-height: 98px;
  padding: 16px 16px;
  grid-template-columns: 46px minmax(0,1fr) 16px;
  gap: 14px;
}
.rp-wrap--business-settings .rp-business-tab-icon {
  width: 42px;
  height: 42px;
  font-size: 24px;
  background: transparent;
  color: #6e7f97;
}
.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon {
  background: #4975f0;
  color: #fff;
}
.rp-wrap--business-settings .rp-business-tab > span:nth-child(2) {
  min-width: 0;
  text-align: left;
}
.rp-wrap--business-settings .rp-business-tab strong {
  font-size: 15px;
  line-height: 1.2;
}
.rp-wrap--business-settings .rp-business-tab small {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.35;
  max-width: 180px;
}
.rp-wrap--business-settings .rp-business-tab b {
  align-self: center;
  justify-self: end;
  font-size: 24px;
}
.rp-wrap--business-settings .rp-card.rp-business-panel {
  min-height: 640px;
  padding: 24px 26px 30px !important;
}
.rp-wrap--business-settings .rp-business-panel-head {
  margin: 0 0 20px;
  padding: 0 0 20px;
}
.rp-wrap--business-settings .rp-business-panel-head h2 {
  font-size: 18px;
}
.rp-wrap--business-settings .rp-grid .rp-col-12.rp-field-surface {
  border-radius: 14px;
}
.rp-wrap--business-settings .rp-business-panel label {
  font-weight: 700;
}
.rp-wrap--business-settings .rp-business-panel .rp-help,
.rp-wrap--business-settings .rp-business-panel .description {
  color: #6e7f97;
}
.rp-wrap--business-settings .rp-business-panel #rp_search_logo_preview {
  width: 140px;
  min-height: 140px;
}
.rp-wrap--business-settings .rp-business-panel #rp_search_logo_preview .rp-thumb {
  width: 92px !important;
  height: 92px !important;
}
.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
  width: 240px;
  min-height: 122px;
}
.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview .rp-thumb {
  height: 120px !important;
}
.rp-wrap--business-settings .rp-business-panel .rp-media-actions {
  margin-bottom: 10px;
}
@media (max-width: 1100px) {
  .rp-wrap--business-settings .rp-business-settings-layout {
    grid-template-columns: 1fr;
  }
}


/* v76 Business settings icons + removed property selector spacing */
.rp-wrap--business-settings .rp-savebar--business-settings {
  display: none !important;
}
.rp-wrap--business-settings .rp-business-settings-layout {
  grid-template-columns: 335px minmax(0, 1fr);
  gap: 26px;
}
.rp-wrap--business-settings .rp-business-tab {
  grid-template-columns: 54px minmax(0,1fr) 18px;
  min-height: 112px;
  padding: 18px 18px;
}
.rp-wrap--business-settings .rp-business-tab-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: transparent;
}
.rp-wrap--business-settings .rp-business-tab-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  filter: none;
  opacity: .9;
}
.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon {
  background: #4975f0;
}
.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 1;
}
.rp-wrap--business-settings .rp-business-tab small {
  max-width: none;
}
.rp-wrap--business-settings .rp-card.rp-business-panel {
  min-height: 660px;
}


/* v77 business settings fixes */
.rp-wrap--business-settings .rp-business-tab-icon {
  width: 52px !important;
  height: 52px !important;
  min-width: 52px !important;
  min-height: 52px !important;
  flex: 0 0 52px !important;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  overflow: hidden;
  background: #eef4ff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon {
  background: #4975f0 !important;
}
.rp-wrap--business-settings .rp-business-tab-icon img {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  display: block;
  object-fit: contain;
}
.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon img {
  filter: brightness(0) invert(1);
}
.rp-wrap--business-settings .rp-business-preview-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
}
.rp-wrap--business-settings .rp-business-preview-btn-icon {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}


/* ===== NK SaaS v84: business settings tablet/mobile layout fix ===== */
@media (max-width: 1280px) {
  .rp-wrap--business-settings,
  .rp-wrap--business-settings .rp-shell,
  .rp-wrap--business-settings .rp-shell--business-settings,
  .rp-wrap--business-settings .rp-business-settings-ui,
  .rp-wrap--business-settings .rp-business-settings-layout,
  .rp-wrap--business-settings .rp-business-settings-panels,
  .rp-wrap--business-settings .rp-card.rp-business-panel {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .rp-wrap--business-settings .rp-business-settings-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .rp-wrap--business-settings .rp-business-settings-nav {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    border-radius: 18px !important;
  }

  .rp-wrap--business-settings .rp-business-tab {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 104px !important;
    grid-template-columns: 58px minmax(0, 1fr) 20px !important;
    overflow: hidden !important;
  }

  .rp-wrap--business-settings .rp-business-tab > span:nth-child(2),
  .rp-wrap--business-settings .rp-business-tab strong,
  .rp-wrap--business-settings .rp-business-tab small {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .rp-wrap--business-settings .rp-card.rp-business-panel {
    min-height: 0 !important;
    padding: 22px !important;
  }

  .rp-wrap--business-settings .rp-business-panel-head {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .rp-wrap--business-settings .rp-business-preview-btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

@media (max-width: 700px) {
  .rp-wrap--business-settings .rp-business-settings-help {
    padding: 16px !important;
    font-size: 14px !important;
  }

  .rp-wrap--business-settings .rp-business-settings-nav {
    grid-template-columns: 1fr !important;
  }

  .rp-wrap--business-settings .rp-business-tab {
    min-height: 98px !important;
    padding: 16px !important;
    grid-template-columns: 56px minmax(0, 1fr) 18px !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
  }

  .rp-wrap--business-settings .rp-card.rp-business-panel {
    padding: 18px !important;
  }

  .rp-wrap--business-settings .rp-grid,
  .rp-wrap--business-settings .rp-grid--halves {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .rp-wrap--business-settings .rp-col-6,
  .rp-wrap--business-settings .rp-col-12 {
    grid-column: auto !important;
    width: 100% !important;
  }
}


/* v86 Business Settings cleanup + floating save */
.rp-wrap--business-settings .rp-business-settings-help {
  display: none !important;
}
.rp-wrap--business-settings .rp-business-tab small,
.rp-wrap--business-settings .rp-business-tab span small {
  display: none !important;
}
.rp-wrap--business-settings .rp-business-tab {
  min-height: 76px !important;
}
.rp-wrap--business-settings .rp-business-tab strong {
  font-size: 16px !important;
}
.rp-business-floating-save {
  position: sticky;
  top: 98px;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid #dbe7ff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(31, 52, 97, .10);
}
.rp-business-floating-save[hidden] {
  display: none !important;
}
.rp-business-floating-save span {
  color: #25324b;
  font-weight: 700;
}
.rp-business-floating-save .button {
  min-width: 150px;
  min-height: 42px;
  border-radius: 12px !important;
}
@media (max-width: 700px) {
  .rp-business-floating-save {
    top: 12px;
    align-items: stretch;
    flex-direction: column;
  }
  .rp-business-floating-save .button {
    width: 100%;
  }
  .rp-wrap--business-settings .rp-business-tab {
    min-height: 72px !important;
  }
}


/* v87 Business Settings compact tabs + animated floating save */
.rp-wrap--business-settings .rp-business-settings-layout {
  align-items: start !important;
}

.rp-wrap--business-settings .rp-business-settings-nav {
  border-radius: 14px !important;
}

.rp-wrap--business-settings .rp-business-tab {
  min-height: 56px !important;
  padding: 10px 14px !important;
  grid-template-columns: 28px minmax(0, 1fr) 14px !important;
  gap: 12px !important;
  align-items: center !important;
  justify-items: start !important;
  text-align: left !important;
}

.rp-wrap--business-settings .rp-business-tab > span:nth-child(2) {
  text-align: left !important;
  justify-self: stretch !important;
}

.rp-wrap--business-settings .rp-business-tab strong {
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  color: #6f7480 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active strong {
  color: #20242c !important;
  font-weight: 500 !important;
}

.rp-wrap--business-settings .rp-business-tab-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  flex: 0 0 24px !important;
  border-radius: 50% !important;
  background: #eef1f6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rp-wrap--business-settings .rp-business-tab-icon img {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active {
  background: #f5f6f8 !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active::before {
  background: #4975f0 !important;
  width: 3px !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon {
  background: #4975f0 !important;
}

.rp-wrap--business-settings .rp-business-tab b {
  justify-self: end !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #8a909b !important;
}

.rp-business-floating-save {
  position: sticky !important;
  top: 14px !important;
  z-index: 80 !important;
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  width: auto !important;
  margin: -6px 0 12px auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  transition: transform .22s ease, opacity .22s ease !important;
}

.rp-business-floating-save[hidden] {
  display: flex !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(-18px) !important;
  height: 0 !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
}

.rp-business-floating-save .button {
  min-width: 138px !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  padding: 0 18px !important;
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(73,117,240,.22) !important;
  font-weight: 700 !important;
}

@media (max-width: 700px) {
  .rp-business-floating-save {
    top: 10px !important;
    justify-content: flex-end !important;
  }

  .rp-business-floating-save .button {
    width: auto !important;
    min-width: 132px !important;
  }

  .rp-wrap--business-settings .rp-business-tab {
    min-height: 54px !important;
    grid-template-columns: 26px minmax(0, 1fr) 14px !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon img {
    width: 13px !important;
    height: 13px !important;
  }
}


/* v88 Business Settings tabs + fixed floating save refinement */
.rp-wrap--business-settings .rp-business-settings-nav {
  max-width: 100% !important;
}

.rp-wrap--business-settings .rp-business-tab {
  min-height: 68px !important;
  padding: 14px 18px !important;
  grid-template-columns: 38px minmax(0, 1fr) 18px !important;
  gap: 14px !important;
  align-items: center !important;
  justify-items: start !important;
  text-align: left !important;
}

.rp-wrap--business-settings .rp-business-tab > span:nth-child(2) {
  justify-self: stretch !important;
  text-align: left !important;
}

.rp-wrap--business-settings .rp-business-tab strong {
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  color: #6f7480 !important;
  letter-spacing: 0 !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active strong {
  color: #1f232b !important;
  font-weight: 600 !important;
}

.rp-wrap--business-settings .rp-business-tab-icon {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 50% !important;
  background: #eef1f6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: start !important;
}

.rp-wrap--business-settings .rp-business-tab-icon img {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active .rp-business-tab-icon {
  background: #4975f0 !important;
}

.rp-wrap--business-settings .rp-business-tab b {
  justify-self: end !important;
  font-size: 22px !important;
  line-height: 1 !important;
  color: #8a909b !important;
}

.rp-business-floating-save {
  position: fixed !important;
  top: 104px !important;
  right: 28px !important;
  left: auto !important;
  z-index: 9990 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
  transition: transform .24s ease, opacity .24s ease !important;
}

.rp-business-floating-save[hidden] {
  display: block !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transform: translateY(-22px) !important;
  height: auto !important;
  overflow: visible !important;
}

.rp-business-floating-save .button {
  min-width: 146px !important;
  min-height: 44px !important;
  border-radius: 12px !important;
  padding: 0 20px !important;
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(73,117,240,.24) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

@media (max-width: 1280px) {
  .rp-business-floating-save {
    top: 92px !important;
    right: 20px !important;
  }
}

@media (max-width: 700px) {
  .rp-business-floating-save {
    top: 82px !important;
    right: 14px !important;
  }

  .rp-business-floating-save .button {
    min-width: 132px !important;
    min-height: 42px !important;
    padding: 0 16px !important;
  }

  .rp-wrap--business-settings .rp-business-tab {
    min-height: 62px !important;
    padding: 12px 14px !important;
    grid-template-columns: 34px minmax(0, 1fr) 16px !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon img {
    width: 16px !important;
    height: 16px !important;
  }

  .rp-wrap--business-settings .rp-business-tab strong {
    font-size: 15px !important;
  }
}


/* v89 Business Settings true left alignment */
.rp-wrap--business-settings .rp-business-settings-nav {
  text-align: left !important;
}

.rp-wrap--business-settings .rp-business-tab {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) 18px !important;
  justify-content: start !important;
  justify-items: start !important;
  text-align: left !important;
  padding-left: 22px !important;
  padding-right: 18px !important;
}

.rp-wrap--business-settings .rp-business-tab-icon {
  grid-column: 1 !important;
  justify-self: start !important;
  align-self: center !important;
  margin: 0 !important;
}

.rp-wrap--business-settings .rp-business-tab > span:nth-child(2) {
  grid-column: 2 !important;
  justify-self: start !important;
  align-self: center !important;
  width: 100% !important;
  text-align: left !important;
  margin: 0 !important;
}

.rp-wrap--business-settings .rp-business-tab strong {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: start !important;
}

.rp-wrap--business-settings .rp-business-tab b {
  grid-column: 3 !important;
  justify-self: end !important;
  align-self: center !important;
  margin: 0 !important;
}

.rp-wrap--business-settings .rp-business-tab * {
  text-align: left;
}

@media (max-width: 700px) {
  .rp-wrap--business-settings .rp-business-tab {
    grid-template-columns: 34px minmax(0, 1fr) 16px !important;
    padding-left: 18px !important;
    padding-right: 14px !important;
  }
}


/* v90 Business Settings save button: keep below top header */
.rp-business-floating-save {
  top: 154px !important;
}

@media (max-width: 1280px) {
  .rp-business-floating-save {
    top: 134px !important;
  }
}

@media (max-width: 700px) {
  .rp-business-floating-save {
    top: 118px !important;
  }
}


/* v91 Business Settings title and tab refinements */
.rp-wrap--business-settings .rp-card.rp-business-panel > h2,
.rp-wrap--business-settings .rp-business-panel-head h2,
.rp-wrap--business-settings #rp-contact > h2,
.rp-wrap--business-settings #rp-business-vat > h2,
.rp-wrap--business-settings #rp-terms > h2,
.rp-wrap--business-settings #rp-currency > h2,
.rp-wrap--business-settings #rp-advanced > h2 {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  margin: 0 0 14px !important;
  color: #14213a !important;
}

.rp-wrap--business-settings .rp-business-tab {
  border-width: 0 1px 1px 1px !important;
  border-style: solid !important;
  border-color: #e2e8f2 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 68px !important;
}

.rp-wrap--business-settings .rp-business-tab:first-child {
  border-top-width: 1px !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
}

.rp-wrap--business-settings .rp-business-tab:last-child {
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

.rp-wrap--business-settings .rp-business-tab:not(:first-child) {
  margin-top: -1px !important;
}

.rp-wrap--business-settings .rp-business-tab strong,
.rp-wrap--business-settings .rp-business-tab.is-active strong {
  font-weight: 400 !important;
}

.rp-wrap--business-settings .rp-business-tab-icon {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  flex-basis: 38px !important;
}

.rp-wrap--business-settings .rp-business-tab-icon img {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active {
  background: #f5f7fb !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active::before {
  top: -1px !important;
  bottom: -1px !important;
}

@media (max-width: 700px) {
  .rp-wrap--business-settings .rp-business-tab {
    min-height: 64px !important;
  }

  .rp-wrap--business-settings .rp-business-tab strong {
    font-size: 15px !important;
    font-weight: 400 !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
  }

  .rp-wrap--business-settings .rp-business-tab-icon img {
    width: 18px !important;
    height: 18px !important;
  }
}


/* v92 Business Settings requested refinements */
.rp-wrap--business-settings .rp-business-tab {
  border-color: #edf2f8 !important;
  border-width: 0 0.5px 0.5px 0.5px !important;
}

.rp-wrap--business-settings .rp-business-tab:first-child {
  border-top-width: 0.5px !important;
}

.rp-wrap--business-settings .rp-business-tab:not(:first-child) {
  margin-top: -0.5px !important;
}

.rp-wrap--business-settings .rp-business-tab.is-active::before {
  width: 2px !important;
}

.rp-business-floating-save {
  top: 132px !important;
}

@media (max-width: 1280px) {
  .rp-business-floating-save {
    top: 116px !important;
  }
}

@media (max-width: 700px) {
  .rp-business-floating-save {
    top: 104px !important;
  }
}

.rp-wrap--business-settings input::placeholder,
.rp-wrap--business-settings textarea::placeholder {
  color: #a8b2c3 !important;
  opacity: 1 !important;
}


/* v93 Business Settings image preview fixes */
.rp-wrap--business-settings .rp-business-panel #rp_search_logo_preview {
  width: 180px !important;
  min-height: 150px !important;
  padding: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #fff !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_logo_preview .rp-thumb,
.rp-wrap--business-settings #rp_search_logo_preview img {
  width: 100% !important;
  height: 120px !important;
  max-width: 150px !important;
  max-height: 120px !important;
  object-fit: contain !important;
  border-radius: 0 !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
  width: 360px !important;
  max-width: 100% !important;
  min-height: 180px !important;
  padding: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #fff !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview .rp-thumb,
.rp-wrap--business-settings #rp_search_bg_preview img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 170px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
}

@media (max-width: 700px) {
  .rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
    width: 100% !important;
    min-height: 160px !important;
  }
}


/* v94 Business Settings panoramic background preview */
.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
  width: 520px !important;
  max-width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 7 !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #fff !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview .rp-thumb,
.rp-wrap--business-settings #rp_search_bg_preview img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  display: block !important;
}

@media (max-width: 700px) {
  .rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
    width: 100% !important;
    aspect-ratio: 16 / 8 !important;
  }
}


/* v95 Business Settings media preview order and panoramic background */
.rp-wrap--business-settings .rp-business-media-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
}

.rp-wrap--business-settings .rp-business-media-field > label {
  margin-bottom: 0 !important;
}

.rp-wrap--business-settings .rp-business-media-field > .rp-help {
  margin: 0 !important;
}

.rp-wrap--business-settings .rp-business-media-field .rp-media-actions {
  order: 20 !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
  width: 520px !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  aspect-ratio: 16 / 7 !important;
  padding: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  overflow: hidden !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview .rp-thumb,
.rp-wrap--business-settings #rp_search_bg_preview img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 10px !important;
  display: block !important;
}

.rp-wrap--business-settings .rp-business-panel #rp_search_logo_preview {
  margin-top: 4px !important;
}

@media (max-width: 700px) {
  .rp-wrap--business-settings .rp-business-panel #rp_search_bg_preview {
    width: 100% !important;
    aspect-ratio: 16 / 8 !important;
  }
}


/* v96 Business Settings mobile branding layout + tab separators */
.rp-wrap--business-settings .rp-business-settings-nav {
  border: 0.5px solid #edf2f8 !important;
  overflow: hidden !important;
}

.rp-wrap--business-settings .rp-business-tab {
  border: 0 !important;
  border-bottom: 0.5px solid #edf2f8 !important;
  border-radius: 0 !important;
}

.rp-wrap--business-settings .rp-business-tab:first-child {
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
}

.rp-wrap--business-settings .rp-business-tab:last-child {
  border-bottom: 0 !important;
  border-bottom-left-radius: 16px !important;
  border-bottom-right-radius: 16px !important;
}

.rp-wrap--business-settings .rp-business-tab:not(:first-child) {
  margin-top: 0 !important;
}

.rp-wrap--business-settings #rp-branding .rp-grid {
  align-items: start !important;
}

.rp-wrap--business-settings #rp-branding .rp-business-media-field {
  min-width: 0 !important;
}

.rp-wrap--business-settings #rp-branding .rp-business-media-field + .rp-business-media-field {
  margin-top: 28px !important;
}

.rp-wrap--business-settings #rp-branding .rp-media-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
}

.rp-wrap--business-settings #rp-branding .rp-media-actions .button {
  width: auto !important;
  min-width: 104px !important;
}

@media (max-width: 900px) {
  .rp-wrap--business-settings #rp-branding .rp-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-col-6,
  .rp-wrap--business-settings #rp-branding .rp-col-8,
  .rp-wrap--business-settings #rp-branding .rp-col-12 {
    grid-column: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .rp-wrap--business-settings #rp-branding #rp_search_logo_preview,
  .rp-wrap--business-settings #rp-branding #rp_search_bg_preview {
    margin: 8px 0 0 !important;
  }
}

@media (max-width: 700px) {
  .rp-wrap--business-settings #rp-branding .rp-business-panel-head {
    gap: 14px !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-business-preview-btn {
    width: 100% !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-business-media-field {
    gap: 8px !important;
    padding-top: 4px !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-business-media-field + .rp-business-media-field {
    margin-top: 34px !important;
    padding-top: 26px !important;
    border-top: 1px solid #edf2f8 !important;
  }

  .rp-wrap--business-settings #rp-branding #rp_search_logo_preview {
    width: 190px !important;
    max-width: 100% !important;
    min-height: 150px !important;
  }

  .rp-wrap--business-settings #rp-branding #rp_search_bg_preview {
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 8 !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-media-actions {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-media-actions .button {
    width: auto !important;
    min-width: 108px !important;
    max-width: none !important;
  }

  .rp-business-floating-save {
    position: fixed !important;
    right: 14px !important;
    bottom: 18px !important;
    top: auto !important;
    z-index: 9990 !important;
  }

  .rp-business-floating-save[hidden] {
    transform: translateY(18px) !important;
  }
}

@media (max-width: 420px) {
  .rp-wrap--business-settings #rp-branding .rp-media-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .rp-wrap--business-settings #rp-branding .rp-media-actions .button {
    width: 100% !important;
  }
}


/* v97 Booking Terms Generator */
.rp-terms-mode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.rp-terms-mode-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.rp-terms-mode-card input {
  margin-top: 4px;
}

.rp-terms-mode-card strong {
  display: block;
  font-size: 15px;
  color: #15233c;
}

.rp-terms-mode-card small {
  display: block;
  margin-top: 4px;
  color: #708097;
  line-height: 1.35;
}

.rp-terms-generator-box,
.rp-terms-upload-box,
.rp-terms-preview-box {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid #e2eaf5;
  border-radius: 16px;
  background: #fff;
}

.rp-terms-generator-box h3,
.rp-terms-upload-box h3,
.rp-terms-preview-box h3 {
  margin-top: 0;
}

.rp-confirm-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e2eaf5;
  border-radius: 12px;
  background: #f8fafc;
  color: #2b3852;
  font-weight: 600;
  line-height: 1.45;
}

.rp-confirm-row input {
  margin-top: 3px;
}

.rp-terms-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rp-terms-preview {
  max-height: 520px;
  overflow: auto;
  padding: 22px;
  border: 1px solid #dfe7f3;
  border-radius: 14px;
  background: #fbfdff;
  color: #1d2a44;
  line-height: 1.55;
}

.rp-terms-preview h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.rp-terms-preview h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.rp-terms-preview p {
  margin: 0 0 8px;
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .rp-terms-preview,
  .rp-terms-preview * {
    visibility: visible !important;
  }

  .rp-terms-preview {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    width: 100% !important;
    padding: 30px !important;
  }
}

@media (max-width: 800px) {
  .rp-terms-mode {
    grid-template-columns: 1fr;
  }

  .rp-terms-preview-head {
    align-items: stretch;
    flex-direction: column;
  }
}


/* v98 checkout Read terms integration */
.rp-read-terms-link {
  margin-left: 8px;
  font-weight: 700;
  text-decoration: underline !important;
  white-space: nowrap;
}
.rp-generated-terms-checkout h5 {
  margin: 14px 0 6px;
  font-size: 14px;
}
.rp-generated-terms-checkout p {
  margin: 0 0 8px;
  line-height: 1.5;
}
@media (max-width: 640px) {
  .rp-terms-label {
    align-items: flex-start !important;
  }
  .rp-read-terms-link {
    display: inline-block;
    margin-left: 0;
    margin-top: 6px;
  }
}


/* v99 checkout legal notice readability */
.rp-generated-terms-checkout {
  line-height: 1.55;
}
.rp-generated-terms-checkout h4 {
  color: #14213a;
}


/* v100 Booking Terms mode switch */
[data-rp-terms-panel][style*="display: none"] {
  display: none !important;
}
.rp-terms-mode-card:has(input:checked) {
  border-color: #4975f0;
  background: #f5f8ff;
}


/* v101 Booking Terms upload/generated layout fixes */
.rp-terms-upload-box .rp-grid,
.rp-terms-upload-box .rp-col-12 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.rp-terms-upload-box .rp-field {
  min-width: 0 !important;
  overflow: hidden !important;
}

.rp-terms-upload-box .button {
  width: auto !important;
  max-width: 100% !important;
  min-width: 120px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.rp-terms-upload-box #rp_terms_select,
.rp-terms-upload-box #rp_terms_clear {
  margin: 0 8px 10px 0 !important;
}

.rp-terms-upload-box .rp-terms-list {
  width: 100% !important;
  max-width: 100% !important;
  margin: 10px 0 14px !important;
}

.rp-terms-upload-box .rp-terms-list li {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.rp-terms-upload-box .description {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.rp-terms-upload-box .rp-confirm-row {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.rp-terms-upload-box .rp-confirm-row span {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
}

.rp-terms-preview-box[data-rp-terms-panel="generated"][style*="display: none"] {
  display: none !important;
}

@media (max-width: 700px) {
  .rp-terms-upload-box #rp_terms_select,
  .rp-terms-upload-box #rp_terms_clear {
    width: auto !important;
    min-width: 110px !important;
  }
}

@media (max-width: 420px) {
  .rp-terms-upload-box #rp_terms_select,
  .rp-terms-upload-box #rp_terms_clear {
    width: 100% !important;
    margin-right: 0 !important;
  }
}


/* v103 Business Settings required tab indicator */
.rp-tab-required-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  vertical-align: middle;
  box-shadow: 0 0 0 2px #fff;
}
.rp-wrap--business-settings .rp-business-tab strong {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
}


/* v105 field label focus + required markers */
.rp-field > label {
  cursor: text;
}
.rp-field > label[for],
.rp-field label:has(input),
.rp-field label:has(select),
.rp-field label:has(textarea) {
  cursor: pointer;
}
.rp-wrap--business-settings .rp-business-tab strong .rp-tab-required-dot {
  flex: 0 0 auto;
}


/* v109 Business Settings order/VAT/required checkbox refinements */
.rp-required-star {
  color: #ef4444;
  font-weight: 800;
  margin-right: 2px;
}
.rp-confirm-row--required {
  border-color: #f3c7c7;
}
.rp-wrap--business-settings input[name="rp_unit_vat_percent"] {
  max-width: 180px;
}


/* v113 Property Settings floating save */
.rp-property-floating-save {
  position: fixed !important;
  top: 118px !important;
  right: 32px !important;
  z-index: 9990 !important;
}
.rp-property-floating-save .button {
  min-width: 190px !important;
  min-height: 54px !important;
  border-radius: 16px !important;
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 16px 35px rgba(73,117,240,.22) !important;
}
@media (max-width: 700px) {
  .rp-property-floating-save {
    top: auto !important;
    right: 14px !important;
    bottom: 18px !important;
  }
}


/* v114 Property Settings floating save exactly like Stripe */
.rp-property-floating-save {
  position: fixed !important;
  top: 118px !important;
  right: 32px !important;
  z-index: 9990 !important;
  animation: nkSaasSaveDrop .18s ease-out !important;
}

.rp-property-floating-save .button {
  min-width: 190px !important;
  min-height: 54px !important;
  border-radius: 16px !important;
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 16px 35px rgba(73,117,240,.22) !important;
}

@keyframes nkSaasSaveDrop {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 700px) {
  .rp-property-floating-save {
    top: auto !important;
    right: 14px !important;
    bottom: 18px !important;
  }
}


/* v115 ensure Property Settings floating save appears */
.rp-property-floating-save:not([hidden]) {
  display: block !important;
}


/* v116 Property Settings cleanup */
.rp-property-backbar {
  margin-bottom: 18px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}


/* v157 unified dashboard Save buttons */
.nk-saas-floating-save,
.nk-floating-save,
.rp-floating-save,
.rp-settings-floating-save,
.rp-business-floating-save,
.rp-stripe-floating-save,
.rp-property-floating-save,
[data-nk-saas-floating-save],
[data-rp-business-floating-save],
[data-rp-property-floating-save] {
  position: fixed !important;
  top: 108px !important;
  right: 32px !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 9990 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  display: block !important;
  animation: nkSaasSaveDrop .18s ease-out !important;
}

.nk-saas-floating-save[hidden],
.nk-floating-save[hidden],
.rp-floating-save[hidden],
.rp-settings-floating-save[hidden],
.rp-business-floating-save[hidden],
.rp-stripe-floating-save[hidden],
.rp-property-floating-save[hidden],
[data-nk-saas-floating-save][hidden],
[data-rp-business-floating-save][hidden],
[data-rp-property-floating-save][hidden] {
  display: none !important;
}

.nk-saas-floating-save .button,
.nk-floating-save .button,
.rp-floating-save .button,
.rp-settings-floating-save .button,
.rp-business-floating-save .button,
.rp-stripe-floating-save .button,
.rp-property-floating-save .button,
[data-nk-saas-floating-save] .button,
[data-rp-business-floating-save] .button,
[data-rp-property-floating-save] .button,
button.nk-saas-floating-save,
button.nk-floating-save,
button.rp-floating-save,
button.rp-settings-floating-save,
button.rp-business-floating-save,
button.rp-stripe-floating-save,
button.rp-property-floating-save,
button[data-nk-floating-save],
button[data-rp-floating-save] {
  width: auto !important;
  min-width: 82px !important;
  max-width: none !important;
  min-height: 40px !important;
  height: 40px !important;
  border-radius: 13px !important;
  padding: 0 18px !important;
  background: #4975f0 !important;
  border-color: #4975f0 !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  line-height: 40px !important;
  box-shadow: 0 12px 26px rgba(73,117,240,.20) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

@media (max-width: 700px) {
  .nk-saas-floating-save,
  .nk-floating-save,
  .rp-floating-save,
  .rp-settings-floating-save,
  .rp-business-floating-save,
  .rp-stripe-floating-save,
  .rp-property-floating-save,
  [data-nk-saas-floating-save],
  [data-rp-business-floating-save],
  [data-rp-property-floating-save] {
    top: auto !important;
    right: 14px !important;
    bottom: 18px !important;
  }
}


/* Nordkeys unit page: gap below date header */
.rp-unit .rp-search--unit{
  margin-bottom: 28px;
}
.rp-unit .rp-search--unit + .rp-gallery{
  margin-top: 28px;
}
@media (max-width: 768px){
  .rp-unit .rp-search--unit{
    margin-bottom: 20px;
  }
  .rp-unit .rp-search--unit + .rp-gallery{
    margin-top: 20px;
  }
}


/* Nordkeys unit contact row alignment */
.rp-contact .rp-contact__row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
  min-width:0;
}
.rp-contact .rp-contact__icon{
  flex:0 0 auto;
  line-height:1;
}
.rp-contact .rp-contact__row a{
  display:inline-block;
  min-width:0;
  overflow-wrap:anywhere;
}


/* Nordkeys stronger unit page spacing/contact fixes */
.rp-unit > form.rp-search.rp-search--unit,
.rp-unit form.rp-search--unit{
  margin-bottom: 38px !important;
  position: relative !important;
  z-index: 5 !important;
}
.rp-unit > form.rp-search.rp-search--unit + .rp-gallery,
.rp-unit form.rp-search--unit + .rp-gallery,
.rp-unit .rp-gallery.rp-gallery--landscape{
  margin-top: 38px !important;
}
.rp-unit .rp-datebar{
  margin-bottom: 0 !important;
}
.rp-contact.rp-contact--no-logo{
  grid-template-columns: 1fr !important;
}
.rp-contact.rp-contact--no-logo .rp-contact__body{
  width: 100% !important;
  max-width: none !important;
}
.rp-contact .rp-contact__row{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  min-width: 0 !important;
  width: 100% !important;
}
.rp-contact .rp-contact__icon{
  flex: 0 0 auto !important;
  line-height: 1 !important;
}
.rp-contact .rp-contact__row a{
  display: inline-block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}
@media (max-width: 768px){
  .rp-unit > form.rp-search.rp-search--unit,
  .rp-unit form.rp-search--unit{
    margin-bottom: 28px !important;
  }
  .rp-unit > form.rp-search.rp-search--unit + .rp-gallery,
  .rp-unit form.rp-search--unit + .rp-gallery,
  .rp-unit .rp-gallery.rp-gallery--landscape{
    margin-top: 28px !important;
  }
}

/* Nordkeys compact centered unit footer */
.rp-nordkeys-unit-footer{
  width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  margin-top:0!important;
  background:#f4f4f5!important;
  padding:34px 20px 36px!important;
  box-sizing:border-box!important;
}
.rp-nordkeys-unit-footer__inner{
  max-width:520px!important;
  margin:0 auto!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  text-align:center!important;
}
.rp-nordkeys-unit-footer__brand-wrap{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
}
.rp-nordkeys-unit-footer__logo{
  display:block!important;
  width:138px!important;
  max-width:65vw!important;
  height:auto!important;
  margin:0 auto!important;
}
.rp-nordkeys-unit-footer__tagline{
  margin-top:8px!important;
  color:#333946!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:400!important;
}
.rp-nordkeys-unit-footer__links{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  text-align:center!important;
  margin-top:2px!important;
}
.rp-nordkeys-unit-footer a{
  color:#333946!important;
  text-decoration:none!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:400!important;
}
.rp-nordkeys-unit-footer a:hover{
  text-decoration:underline!important;
}
@media(max-width:767px){
  .rp-nordkeys-unit-footer{
    padding:28px 18px 30px!important;
  }
  .rp-nordkeys-unit-footer__logo{
    width:124px!important;
  }
  .rp-nordkeys-unit-footer__links{
    gap:10px!important;
  }
}


/* Nordkeys compact footer regular text weight */
.rp-nordkeys-unit-footer,
.rp-nordkeys-unit-footer *,
.rp-nordkeys-unit-footer__tagline,
.rp-nordkeys-unit-footer__links,
.rp-nordkeys-unit-footer a{
  font-weight:400!important;
}

/* Nordkeys unit footer: remove empty page gap below footer */
body:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) {
  padding-bottom:0!important;
  margin-bottom:0!important;
}
body:has(.rp-nordkeys-unit-footer) .wp-site-blocks,
body:has(.rp-nordkeys-unit-footer) .wp-site-blocks > main,
body:has(.rp-nordkeys-unit-footer) .wp-block-post-content,
body:has(.rp-nordkeys-unit-footer) .entry-content,
body:has(.rp-nordkeys-unit-footer) .is-layout-constrained,
body:has(.rp-nordkeys-unit-footer) .is-layout-flow,
body:has(.rp-nordkeys-unit-footer) .has-global-padding,
body:has(.rp-nordkeys-unit-footer) #wp--skip-link--target {
  padding-bottom:0!important;
  margin-bottom:0!important;
}
.rp-nordkeys-unit-footer{
  margin-bottom:0!important;
}
.rp-nordkeys-unit-footer + *{
  margin-top:0!important;
  padding-top:0!important;
}

/* Nordkeys unit page: hide remaining theme/footer leftovers below our footer */
body:has(.rp-unit) footer:not(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .site-footer,
body:has(.rp-unit) #colophon,
body:has(.rp-unit) .wp-site-blocks > footer,
body:has(.rp-unit) .wp-block-template-part:has(footer),
body:has(.rp-unit) .wp-block-template-part:empty,
body:has(.rp-unit) .entry-footer,
body:has(.rp-unit) .post-navigation,
body:has(.rp-unit) .comments-area {
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body:has(.rp-unit) .rp-nordkeys-unit-footer,
body:has(.rp-unit) .rp-nordkeys-unit-footer:last-child {
  display:block!important;
  margin-bottom:0!important;
}
body:has(.rp-unit) .rp-nordkeys-unit-footer ~ *:empty {
  display:none!important;
  height:0!important;
  margin:0!important;
  padding:0!important;
}

/* Nordkeys unit page footer: remove remaining rounded wrapper showing below footer */
body:has(.rp-unit) .wp-site-blocks:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .wp-site-blocks > main:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) main:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) article:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .entry-content:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .wp-block-post-content:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .page:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .hentry:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .inside-article:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .wp-block-group:has(.rp-nordkeys-unit-footer),
body:has(.rp-unit) .wp-block-group__inner-container:has(.rp-nordkeys-unit-footer) {
  border:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  outline:0!important;
  padding-bottom:0!important;
  margin-bottom:0!important;
  background:transparent!important;
}
body:has(.rp-unit) .rp-unit {
  padding-bottom:0!important;
  margin-bottom:0!important;
}
body:has(.rp-unit) .rp-contact {
  margin-bottom:40px!important;
}
body:has(.rp-unit) .rp-nordkeys-unit-footer {
  position:relative!important;
  z-index:5!important;
  margin-bottom:0!important;
}
body:has(.rp-unit) .rp-nordkeys-unit-footer + *,
body:has(.rp-unit) .rp-nordkeys-unit-footer ~ * {
  margin-top:0!important;
  margin-bottom:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  border:0!important;
  box-shadow:none!important;
}
body:has(.rp-unit) .rp-unit-footer-clean-parent{
  padding-bottom:0!important;
  margin-bottom:0!important;
  border-bottom:0!important;
  border-bottom-left-radius:0!important;
  border-bottom-right-radius:0!important;
  box-shadow:none!important;
}

/* === Nordkeys FIX: mobile unit page calendar popup alignment (2026-06-03) ===
   Fixes iPhone/mobile overflow where the weekday row and day boxes are pushed/cut off.
   Applied at the very end of frontend.css so it overrides older calendar rules. */
@media (max-width: 768px) {
  body:has(.rp-unit) #rp-cal-pop.rp-calendar--popup,
  .rp-unit #rp-cal-pop.rp-calendar--popup,
  #rp-cal-pop.rp-calendar--popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100vw - 28px) !important;
    max-width: 390px !important;
    min-width: 0 !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    padding: 56px 14px 18px !important;
    border-radius: 18px !important;
    z-index: 2147483000 !important;
  }

  body:has(.rp-unit) #rp-cal-pop.rp-calendar--popup[hidden],
  .rp-unit #rp-cal-pop.rp-calendar--popup[hidden],
  #rp-cal-pop.rp-calendar--popup[hidden] {
    display: none !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-pop-close,
  .rp-unit #rp-cal-pop .rp-pop-close,
  #rp-cal-pop .rp-pop-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    z-index: 3 !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-cal,
  .rp-unit #rp-cal-pop .rp-cal,
  #rp-cal-pop .rp-cal {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    column-gap: 6px !important;
    row-gap: 7px !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body:has(.rp-unit) #rp-cal-pop .monthbar,
  .rp-unit #rp-cal-pop .monthbar,
  #rp-cal-pop .monthbar {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 0 20px !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body:has(.rp-unit) #rp-cal-pop .monthbar .label,
  .rp-unit #rp-cal-pop .monthbar .label,
  #rp-cal-pop .monthbar .label {
    text-align: center !important;
    font-size: 19px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
  }

  body:has(.rp-unit) #rp-cal-pop .monthbar .navbtn,
  .rp-unit #rp-cal-pop .monthbar .navbtn,
  #rp-cal-pop .monthbar .navbtn {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 14px !important;
    font-size: 32px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-clearbar,
  .rp-unit #rp-cal-pop .rp-clearbar,
  #rp-cal-pop .rp-clearbar {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    text-align: right !important;
    margin: 4px 0 8px !important;
    padding: 0 !important;
    width: 100% !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-clear-btn,
  .rp-unit #rp-cal-pop .rp-clear-btn,
  #rp-cal-pop .rp-clear-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 16px !important;
    border: 1px solid #d9dee8 !important;
    border-radius: 13px !important;
    background: #fff !important;
    color: #111827 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-cal .day,
  .rp-unit #rp-cal-pop .rp-cal .day,
  #rp-cal-pop .rp-cal .day {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 9px !important;
    line-height: 1 !important;
    font-size: 18px !important;
    box-sizing: border-box !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-cal .day.header,
  .rp-unit #rp-cal-pop .rp-cal .day.header,
  #rp-cal-pop .rp-cal .day.header {
    height: 28px !important;
    min-height: 28px !important;
    background: transparent !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    overflow: visible !important;
  }

  body:has(.rp-unit) #rp-cal-pop .rp-cal .day.blank,
  .rp-unit #rp-cal-pop .rp-cal .day.blank,
  #rp-cal-pop .rp-cal .day.blank {
    background: transparent !important;
    visibility: hidden !important;
  }
}

@media (max-width: 360px) {
  #rp-cal-pop.rp-calendar--popup {
    width: calc(100vw - 20px) !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  #rp-cal-pop .rp-cal {
    column-gap: 4px !important;
    row-gap: 6px !important;
  }
  #rp-cal-pop .rp-cal .day {
    height: 35px !important;
    min-height: 35px !important;
    font-size: 16px !important;
  }
  #rp-cal-pop .rp-cal .day.header {
    font-size: 14px !important;
  }
}


/* Nordkeys fix: center +/- glyphs inside guest selector buttons */
#rp-guests-pop .rp-counter__btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  padding:0 !important;
  line-height:1 !important;
  box-sizing:border-box !important;
  font-family:inherit !important;
  font-weight:700 !important;
}
@media (min-width: 769px){
  #rp-guests-pop .rp-counter__btn{
    width:34px !important;
    height:34px !important;
    min-width:34px !important;
    min-height:34px !important;
    font-size:20px !important;
  }
}


/* Embedded extras on public booking pages */
.nk-extras-embedded{max-width:1200px;margin:44px auto 0;padding:0 16px;box-sizing:border-box}
.nk-extras-embedded .nk-extras-hero{margin:0 0 20px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-align:left!important}
.nk-extras-embedded .nk-extras-hero h1{margin:0!important;font-size:32px!important;line-height:1.2!important;color:#17213a!important;font-weight:800!important;text-align:left!important}
.nk-extras-embedded .nk-extras-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch!important}
.nk-extras-embedded .nk-extra-card{background:#fff!important;border:1px solid #e5eaf1!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 12px 30px rgba(15,23,42,.08)!important;display:flex!important;flex-direction:column!important;min-width:0!important}
.nk-extras-embedded .nk-extra-card-img{display:block!important;width:100%!important;height:180px!important;aspect-ratio:16/9!important;background-size:cover!important;background-position:center!important;background-color:#f1f5f9!important}
.nk-extras-embedded .nk-extra-card-body{padding:18px!important;display:grid!important;gap:10px!important;text-align:left!important}
.nk-extras-embedded .nk-extra-chip{display:inline-flex!important;width:max-content!important;border-radius:999px!important;background:#eef4ff!important;color:#2563eb!important;padding:5px 10px!important;font-size:12px!important;font-weight:800!important;line-height:1!important}
.nk-extras-embedded .nk-extra-card-body h2{margin:0!important;font-size:20px!important;line-height:1.25!important;color:#17213a!important;font-weight:800!important;text-align:left!important}
.nk-extras-embedded .nk-extra-card-body p{margin:0!important;color:#64748b!important;line-height:1.45!important;font-size:14px!important;text-align:left!important}
.nk-extras-embedded .nk-extra-price{font-size:18px!important;color:#17213a!important;font-weight:800!important;display:block!important}
.nk-extras-embedded .nk-extra-price small{font-size:12px!important;color:#64748b!important;font-weight:700!important}
.nk-extras-embedded .nk-extra-submit{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;border-radius:12px!important;background:#0f1e4a!important;color:#fff!important;text-decoration:none!important;font-weight:800!important;padding:0 18px!important;border:0!important;cursor:pointer!important;box-shadow:none!important;width:max-content!important}
.nk-extras-embedded .nk-extra-submit:hover{background:#0b1738!important;color:#fff!important;text-decoration:none!important}
.nk-extra-reservation-modal[hidden]{display:none!important}
.nk-extra-reservation-modal{position:fixed!important;inset:0!important;z-index:100000!important}
.nk-extra-reservation-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.55)!important}
.nk-extra-reservation-modal-card{position:relative!important;margin:8vh auto 0!important;max-width:520px!important;width:calc(100% - 32px)!important;background:#fff!important;border-radius:22px!important;padding:24px!important;box-shadow:0 25px 80px rgba(15,23,42,.28)!important;box-sizing:border-box!important}
.nk-extra-reservation-modal-close{position:absolute!important;top:12px!important;right:14px!important;border:0!important;background:#fff!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;color:#17213a!important}
.nk-extra-reservation-modal-card h2{margin:0 0 8px!important;color:#17213a!important;font-size:24px!important}
.nk-extra-muted{color:#64748b!important;margin:0 0 16px!important}
.nk-extra-reservation-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important;margin:16px 0!important}
.nk-extra-modal-btn{border:1px solid #dbe4f0!important;border-radius:14px!important;min-height:48px!important;font-weight:800!important;cursor:pointer!important}
.nk-extra-modal-btn-light{background:#fff!important;color:#17213a!important}
.nk-extra-modal-btn-dark{background:#17213a!important;color:#fff!important}
.nk-extra-reservation-modal-form{display:grid!important;gap:12px!important}
.nk-extra-reservation-modal-form[hidden]{display:none!important}
.nk-extra-reservation-modal-form label{display:grid!important;gap:6px!important;font-weight:800!important;color:#17213a!important}
.nk-extra-reservation-modal-form input{border:1px solid #dbe4f0!important;border-radius:12px!important;padding:12px 14px!important}
.nk-extra-reservation-modal-error{border:1px solid #fecaca!important;background:#fff1f2!important;color:#991b1b!important;border-radius:12px!important;padding:10px!important;font-weight:700!important}
body.nk-extra-modal-open{overflow:hidden!important}
@media(max-width:900px){.nk-extras-embedded .nk-extras-grid{grid-template-columns:1fr 1fr!important}}
@media(max-width:640px){.nk-extras-embedded{padding:0 16px}.nk-extras-embedded .nk-extras-grid{grid-template-columns:1fr!important}.nk-extra-reservation-modal-actions{grid-template-columns:1fr!important}}


/* Final embedded extras tuning */
.nk-extras-embedded .nk-extras-hero h1{font-size:26px!important}
.nk-extras-embedded .nk-extra-submit{background:#0f1e4a!important;font-size:16px!important;line-height:1.1!important;min-height:42px!important;padding:0 18px!important}
.nk-extras-embedded .nk-extra-submit:hover{background:#0b1738!important}
.nk-extras-embedded .nk-extra-card-img{height:180px!important;aspect-ratio:16/9!important}
.nk-extra-reservation-modal{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:22px!important}
.nk-extra-reservation-modal[hidden]{display:none!important}
.nk-extra-reservation-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.48)!important;backdrop-filter:blur(3px)!important}
.nk-extra-reservation-modal-card{position:relative!important;margin:0!important;width:min(760px,calc(100vw - 44px))!important;max-width:none!important;background:#fff!important;border-radius:22px!important;padding:34px 40px!important;box-shadow:0 28px 80px rgba(15,23,42,.28)!important;box-sizing:border-box!important}
.nk-extra-reservation-modal-close{position:absolute!important;right:14px!important;top:12px!important;width:36px!important;height:36px!important;border:0!important;border-radius:999px!important;background:#f1f5f9!important;color:#0f172a!important;font-size:24px!important;line-height:1!important;cursor:pointer!important}
.nk-extra-reservation-modal-card h2{margin:0 0 8px!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:24px!important;font-weight:700!important;color:#0f172a!important}
.nk-extra-reservation-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;margin-top:22px!important;margin-bottom:0!important}
.nk-extra-modal-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:58px!important;width:100%!important;border-radius:16px!important;padding:14px 20px!important;font-weight:900!important;font-size:16px!important;text-align:center!important;cursor:pointer!important;text-decoration:none!important;box-shadow:none!important}
.nk-extra-modal-btn-light{background:#ffffff!important;color:#0f172a!important;border:1px solid #d6e0ef!important}
.nk-extra-modal-btn-dark{background:linear-gradient(135deg,#091a45,#0f2c66)!important;color:#ffffff!important;border:1px solid #091a45!important}
.nk-extra-reservation-modal-form{margin-top:22px!important}
@media(max-width:640px){.nk-extra-reservation-modal-card{padding:24px 18px!important}.nk-extra-reservation-modal-actions{grid-template-columns:1fr!important}}


/* Exact Extras & Services popup for embedded extras */
.nk-extras-embedded .nk-extras-hero h1{font-size:24px!important;line-height:1.2!important}
.nk-extras-embedded .nk-extra-submit{background:#0f1e4a!important;font-size:15px!important;line-height:1.1!important;min-height:42px!important;padding:0 18px!important}
.nk-extras-embedded .nk-extra-submit:hover{background:#0b1738!important}
.nk-extras-embedded .nk-extra-card-img{height:180px!important;aspect-ratio:16/9!important}
body.nk-extra-modal-open{overflow:hidden!important}
.nk-extra-reservation-modal[hidden]{display:none!important}
.nk-extra-reservation-modal{position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:22px!important}
.nk-extra-reservation-modal-backdrop{position:absolute!important;inset:0!important;background:rgba(15,23,42,.48)!important;backdrop-filter:blur(3px)!important}
.nk-extra-reservation-modal-card{position:relative!important;width:min(760px,calc(100vw - 44px))!important;max-width:none!important;margin:0!important;background:#fff!important;border-radius:22px!important;box-shadow:0 28px 80px rgba(15,23,42,.28)!important;padding:34px 40px!important;box-sizing:border-box!important}
.nk-extra-reservation-modal-card h2{margin:0 0 8px!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-size:24px!important;font-weight:700!important;color:#0f172a!important}
.nk-extra-reservation-modal-close{position:absolute!important;right:14px!important;top:12px!important;width:36px!important;height:36px!important;border:0!important;border-radius:999px!important;background:#f1f5f9!important;color:#0f172a!important;font-size:24px!important;line-height:1!important;cursor:pointer!important;padding:0!important}
.nk-extra-reservation-modal-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important;margin-top:22px!important;margin-bottom:0!important}
.nk-extra-modal-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:58px!important;width:100%!important;border-radius:16px!important;padding:14px 20px!important;font-weight:900!important;font-size:16px!important;text-align:center!important;cursor:pointer!important;text-decoration:none!important;box-shadow:none!important}
.nk-extra-modal-btn-light{background:#ffffff!important;color:#0f172a!important;border:1px solid #d6e0ef!important}
.nk-extra-modal-btn-dark{background:linear-gradient(135deg,#091a45,#0f2c66)!important;color:#ffffff!important;border:1px solid #091a45!important}
.nk-extra-reservation-modal-form{margin-top:22px!important;display:grid!important;gap:12px!important}
.nk-extra-reservation-modal-form[hidden]{display:none!important}
.nk-extra-reservation-modal-form label{display:grid!important;gap:6px!important;font-size:13px!important;font-weight:800!important;color:#475569!important}
.nk-extra-reservation-modal-form input{width:100%!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:12px 14px!important;font:inherit!important;color:#0f172a!important;background:#fff!important;box-sizing:border-box!important}
.nk-extra-reservation-modal-form small{color:#64748b!important;line-height:1.45!important}
.nk-extra-reservation-modal-form .nk-extra-submit,
.nk-extra-reservation-modal-form button[type="submit"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:260px!important;min-height:56px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#091a45,#0f2c66)!important;color:#ffffff!important;font-weight:900!important;font-size:15px!important;text-decoration:none!important;cursor:pointer!important;box-shadow:0 10px 24px rgba(9,26,69,.18)!important;opacity:1!important}
.nk-extra-reservation-modal-form .nk-extra-submit:disabled,
.nk-extra-reservation-modal-form button[type="submit"]:disabled{opacity:.75!important;cursor:wait!important}
.nk-extra-reservation-modal-error{background:#fef2f2!important;border:1px solid #fecaca!important;color:#b91c1c!important;border-radius:12px!important;padding:10px 12px!important;font-weight:800!important;font-size:13px!important}
@media(max-width:640px){.nk-extra-reservation-modal-card{padding:24px 18px!important}.nk-extra-reservation-modal-actions{grid-template-columns:1fr!important}.nk-extra-reservation-modal-form .nk-extra-submit,.nk-extra-reservation-modal-form button[type="submit"]{width:100%!important;min-width:0!important}}


/* vFinal embedded extras popup size match */
.nk-extra-reservation-modal-card{
  width:min(1040px,calc(100vw - 120px))!important;
  max-width:1040px!important;
  padding:42px 80px 78px!important;
  border-radius:40px!important;
  margin:0 auto!important;
}
.nk-extra-reservation-modal-card h2{
  text-align:left!important;
  font-size:46px!important;
  line-height:1.08!important;
  letter-spacing:-.03em!important;
  margin:0 0 22px!important;
  font-weight:900!important;
  color:#101a34!important;
}
.nk-extra-reservation-modal-card .nk-extra-muted{
  text-align:left!important;
  font-size:30px!important;
  line-height:1.25!important;
  margin:0 0 50px!important;
  color:#697894!important;
}
.nk-extra-reservation-modal-close{
  right:28px!important;
  top:26px!important;
  width:72px!important;
  height:72px!important;
  border-radius:24px!important;
  background:#ffffff!important;
  border:2px solid #d7e0ef!important;
  color:#101a34!important;
  font-size:28px!important;
  font-weight:900!important;
}
.nk-extra-reservation-modal-actions{
  grid-template-columns:1fr 1fr!important;
  gap:34px!important;
  margin:0!important;
}
.nk-extra-modal-btn{
  min-height:132px!important;
  border-radius:30px!important;
  font-size:30px!important;
  line-height:1.18!important;
  font-weight:900!important;
  padding:26px 34px!important;
}
.nk-extra-modal-btn-light{
  background:#ffffff!important;
  color:#101a34!important;
  border:2px solid #d7e0ef!important;
}
.nk-extra-modal-btn-dark{
  background:#10285f!important;
  color:#ffffff!important;
  border:2px solid #10285f!important;
}
@media(max-width:900px){
  .nk-extra-reservation-modal-card{
    width:calc(100vw - 44px)!important;
    padding:34px 28px 44px!important;
    border-radius:28px!important;
  }
  .nk-extra-reservation-modal-card h2{font-size:32px!important}
  .nk-extra-reservation-modal-card .nk-extra-muted{font-size:22px!important;margin-bottom:26px!important}
  .nk-extra-reservation-modal-actions{gap:16px!important}
  .nk-extra-modal-btn{min-height:78px!important;font-size:20px!important;border-radius:20px!important}
  .nk-extra-reservation-modal-close{width:54px!important;height:54px!important;border-radius:18px!important}
}
@media(max-width:640px){
  .nk-extra-reservation-modal-card{padding:30px 20px 34px!important}
  .nk-extra-reservation-modal-actions{grid-template-columns:1fr!important}
}


/* vFinal compact embedded extras popup size */
.nk-extra-reservation-modal-card{
  width:min(760px,calc(100vw - 96px))!important;
  max-width:760px!important;
  padding:46px 58px 52px!important;
  border-radius:32px!important;
  margin:0 auto!important;
}
.nk-extra-reservation-modal-card h2{
  text-align:left!important;
  font-size:34px!important;
  line-height:1.1!important;
  letter-spacing:-.025em!important;
  margin:0 0 14px!important;
  font-weight:900!important;
  color:#101a34!important;
}
.nk-extra-reservation-modal-card .nk-extra-muted{
  text-align:left!important;
  font-size:22px!important;
  line-height:1.25!important;
  margin:0 0 34px!important;
  color:#697894!important;
}
.nk-extra-reservation-modal-close{
  right:22px!important;
  top:20px!important;
  width:52px!important;
  height:52px!important;
  border-radius:18px!important;
  background:#ffffff!important;
  border:2px solid #d7e0ef!important;
  color:#101a34!important;
  font-size:22px!important;
  font-weight:900!important;
}
.nk-extra-reservation-modal-actions{
  grid-template-columns:1fr 1fr!important;
  gap:22px!important;
  margin:0!important;
}
.nk-extra-modal-btn{
  min-height:90px!important;
  border-radius:22px!important;
  font-size:22px!important;
  line-height:1.18!important;
  font-weight:900!important;
  padding:18px 24px!important;
}
.nk-extra-modal-btn-light{
  background:#ffffff!important;
  color:#101a34!important;
  border:2px solid #d7e0ef!important;
}
.nk-extra-modal-btn-dark{
  background:#10285f!important;
  color:#ffffff!important;
  border:2px solid #10285f!important;
}
@media(max-width:900px){
  .nk-extra-reservation-modal-card{
    width:calc(100vw - 44px)!important;
    padding:34px 28px 42px!important;
    border-radius:28px!important;
  }
  .nk-extra-reservation-modal-card h2{font-size:30px!important}
  .nk-extra-reservation-modal-card .nk-extra-muted{font-size:20px!important;margin-bottom:26px!important}
  .nk-extra-reservation-modal-actions{gap:16px!important}
  .nk-extra-modal-btn{min-height:76px!important;font-size:19px!important;border-radius:20px!important}
  .nk-extra-reservation-modal-close{width:48px!important;height:48px!important;border-radius:16px!important}
}
@media(max-width:640px){
  .nk-extra-reservation-modal-card{padding:30px 20px 34px!important}
  .nk-extra-reservation-modal-actions{grid-template-columns:1fr!important}
}


/* vFinal smaller embedded extras popup */
.nk-extra-reservation-modal-card{
  width:min(650px,calc(100vw - 96px))!important;
  max-width:650px!important;
  padding:34px 46px 44px!important;
  border-radius:28px!important;
}
.nk-extra-reservation-modal-card h2{
  font-size:28px!important;
  line-height:1.12!important;
  margin:0 0 10px!important;
}
.nk-extra-reservation-modal-card .nk-extra-muted{
  font-size:18px!important;
  line-height:1.25!important;
  margin:0 0 26px!important;
}
.nk-extra-reservation-modal-close{
  right:18px!important;
  top:16px!important;
  width:44px!important;
  height:44px!important;
  border-radius:15px!important;
  font-size:18px!important;
}
.nk-extra-reservation-modal-actions{
  gap:18px!important;
}
.nk-extra-modal-btn{
  min-height:74px!important;
  border-radius:18px!important;
  font-size:18px!important;
  line-height:1.15!important;
  padding:14px 20px!important;
}
@media(max-width:900px){
  .nk-extra-reservation-modal-card{
    width:calc(100vw - 44px)!important;
    padding:30px 24px 36px!important;
    border-radius:24px!important;
  }
  .nk-extra-reservation-modal-card h2{font-size:26px!important}
  .nk-extra-reservation-modal-card .nk-extra-muted{font-size:17px!important;margin-bottom:22px!important}
  .nk-extra-modal-btn{min-height:66px!important;font-size:17px!important;border-radius:17px!important}
}
@media(max-width:640px){
  .nk-extra-reservation-modal-card{padding:28px 18px 32px!important}
  .nk-extra-reservation-modal-actions{grid-template-columns:1fr!important}
}


/* vFinal extras grid/button adjustment */
.nk-extras-public .nk-extras-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.rp-public-extras--search.nk-extras-embedded .nk-extra-submit,
.rp-public-extras--search.nk-extras-embedded .nk-extra-submit.is-inquiry{
  min-width:190px!important;
  font-size:14px!important;
  padding:0 22px!important;
  justify-self:start!important;
}
@media(max-width:1180px){
  .nk-extras-public .nk-extras-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:900px){
  .nk-extras-public .nk-extras-grid{
    grid-template-columns:1fr 1fr!important;
  }
}
@media(max-width:640px){
  .nk-extras-public .nk-extras-grid{
    grid-template-columns:1fr!important;
  }
  .rp-public-extras--search.nk-extras-embedded .nk-extra-submit,
  .rp-public-extras--search.nk-extras-embedded .nk-extra-submit.is-inquiry{
    width:100%!important;
    min-width:0!important;
  }
}


/* vFinal public booking footer full-width fix */
.rp-nordkeys-unit-footer{
  display:block!important;
  width:100vw!important;
  max-width:none!important;
  min-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  left:auto!important;
  right:auto!important;
  clear:both!important;
  background:#f4f4f5!important;
  box-sizing:border-box!important;
}
body > .rp-nordkeys-unit-footer{
  margin-left:0!important;
  margin-right:0!important;
  width:100vw!important;
  min-width:100vw!important;
}
.rp-unit-footer-clean-parent{
  overflow:visible!important;
  max-width:none!important;
}
