/* ========== 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;}
@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: 85% !important;
    line-height: 1.1 !important;
  }

  /* 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); }
}


