
/* Elementor Stay Grid / Carousel widget */
.be-sc-widget{--be-sc-accent:#0f625e;position:relative;width:100%;max-width:1240px;margin:0 auto;padding:12px 0;color:#172b3a;box-sizing:border-box}
.be-sc-widget *{box-sizing:border-box}
.be-sc-heading{max-width:760px;margin:0 auto 26px;text-align:center}
.be-sc-eyebrow{display:block;color:var(--be-sc-accent);font-size:11px;letter-spacing:.17em;font-weight:800;margin-bottom:8px}
.be-sc-heading h2{font-size:clamp(26px,3.5vw,40px);line-height:1.15;letter-spacing:-.03em;margin:0 0 10px}
.be-sc-heading p{margin:0;color:#6b7c87;font-size:15px;line-height:1.6}
.be-sc-widget .be-sc-grid{grid-template-columns:repeat(var(--be-sc-columns,3),minmax(0,1fr))}
.be-sc-widget .be-stay-card{height:100%;display:flex;flex-direction:column}
.be-sc-widget .be-stay-card-body{display:flex;flex-direction:column;flex:1}
.be-sc-widget .be-stay-card-body>p{flex:1}
.be-sc-widget .be-stay-card-footer{margin-top:auto}
.be-sc-carousel-viewport{position:relative;overflow:visible;width:100%;}
.be-sc-track{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:2px 2px 14px;}
.be-sc-track::-webkit-scrollbar{display:none}
.be-sc-track .be-sc-card{flex:0 0 calc((100% - (22px * (var(--be-sc-slides,3) - 1))) / var(--be-sc-slides,3));scroll-snap-align:start;min-width:0}
.be-sc-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:42px;height:42px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:var(--be-action-gradient,linear-gradient(135deg,#FFAA00 0%,#FF6600 50%,#E54800 100%));color:#fff;box-shadow:0 6px 18px rgba(229,72,0,.24);font-size:28px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0;transition:filter .18s ease,transform .18s ease}
.be-sc-prev{left:-18px}.be-sc-next{right:-18px}.be-sc-arrow:hover{filter:brightness(.94);color:#fff;transform:translateY(-50%) scale(1.06)}
.be-sc-dots{display:flex;justify-content:center;gap:7px;margin-top:7px}.be-sc-dot{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:#c7d3d2;cursor:pointer}.be-sc-dot.is-active{background:var(--be-sc-accent);transform:scale(1.25)}
@media(max-width:1024px){.be-sc-widget .be-sc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.be-sc-track .be-sc-card{flex-basis:calc((100% - 22px) / 2)}}
@media(max-width:767px){.be-sc-widget .be-sc-grid{grid-template-columns:1fr}.be-sc-track .be-sc-card{flex-basis:88%}.be-sc-prev{left:2px}.be-sc-next{right:2px}.be-sc-arrow{width:36px;height:36px}.be-sc-heading{margin-bottom:18px}}

/* Discount badge sourced only from the dedicated ACF `discount` field. */
.be-sc-widget .be-stay-image{position:relative;display:block;overflow:hidden}
.be-sc-widget .be-sc-discount-badge{position:absolute;top:14px;left:14px;z-index:2;display:inline-flex;align-items:center;gap:3px;padding:8px 12px;border:1px solid rgba(255,255,255,.6);border-radius:999px;background:var(--be-action-gradient,linear-gradient(135deg,#FFAA00 0%,#FF6600 50%,#E54800 100%));box-shadow:0 5px 16px rgba(116,18,43,.28);color:#fff;font-size:12px;font-weight:800;line-height:1;letter-spacing:.035em;text-transform:uppercase;text-shadow:0 1px 1px rgba(0,0,0,.12)}
.be-sc-widget .be-sc-discount-badge span{font-size:13px;font-weight:900}


/* Native /stays/ archive shell powered by the shared STAYIN-GRID renderer. */
.be-stays-archive{width:100%;padding:clamp(28px,5vw,68px) 20px 64px;box-sizing:border-box}
.be-stays-archive-inner{width:100%;max-width:1320px;margin:0 auto}
.be-stays-archive .be-sc-widget{max-width:none;padding:0}
.be-stays-pagination{display:flex;justify-content:center;margin:34px 0 8px}
.be-stays-pagination ul{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;list-style:none;margin:0;padding:0}
.be-stays-pagination li{margin:0;padding:0}
.be-stays-pagination a,.be-stays-pagination span{display:flex;min-width:42px;height:42px;align-items:center;justify-content:center;padding:0 13px;border:1px solid #dce6e4;border-radius:10px;color:#164b48;text-decoration:none;font-weight:600;background:#fff}
.be-stays-pagination .current{background:#0f625e;border-color:#0f625e;color:#fff}
.be-stays-pagination a:hover{background:#edf6f4;border-color:#0f625e}
.be-stays-archive-unavailable{max-width:760px;margin:0 auto;padding:50px 20px;text-align:center}
@media(max-width:767px){.be-stays-archive{padding:28px 14px 44px}}

/* STAYIN archive filters — unified field styling across selects and numeric input. */
.be-stays-filters{display:grid;grid-template-columns:minmax(180px,1.05fr) minmax(180px,1.05fr) minmax(150px,.8fr) auto;gap:10px;align-items:end;margin:0 0 26px;padding:13px 15px;background:linear-gradient(135deg,#fff 0%,#f7fbf9 100%);border:1px solid #e0eae5;border-radius:15px;box-shadow:0 5px 18px rgba(22,54,43,.045)}
.be-stays-filters label{display:flex;min-width:0;flex-direction:column;gap:5px;margin:0;color:#23483e;font-size:12px;font-weight:750;letter-spacing:.01em}
.be-stays-filters select,.be-stays-filters input[type="number"]{display:block;box-sizing:border-box!important;width:100%!important;height:42px!important;min-height:42px!important;min-width:0!important;margin:0!important;padding:0 12px!important;border:1px solid #d8e4dd!important;border-radius:9px!important;background-color:#fff!important;color:#18372f!important;font-family:inherit!important;font-size:14px!important;font-weight:600!important;line-height:40px!important;box-shadow:0 1px 2px rgba(20,55,43,.02)!important;transition:border-color .18s ease,box-shadow .18s ease!important}
.be-stays-filters select{appearance:auto;cursor:pointer}
.be-stays-filters input[type="number"]{appearance:textfield;-moz-appearance:textfield}
.be-stays-filters input[type="number"]::-webkit-inner-spin-button,.be-stays-filters input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.be-stays-filters input[type="number"]::placeholder{color:#9aa9a2;font-weight:500;opacity:1}
.be-stays-filters select:focus,.be-stays-filters input[type="number"]:focus{outline:0!important;border-color:#17645b!important;box-shadow:0 0 0 3px rgba(23,100,91,.10)!important}
.be-stays-filters button{height:42px;padding:0 19px;border:1px solid #11645d;border-radius:9px;background:linear-gradient(135deg,#14736a,#0e5c55);color:#fff;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;box-shadow:0 4px 10px rgba(17,100,93,.12);transition:filter .18s ease,transform .18s ease,box-shadow .18s ease}
.be-stays-filters button:hover{filter:brightness(.94);box-shadow:0 6px 14px rgba(17,100,93,.16);transform:translateY(-1px)}
.be-stays-filters .be-stays-filter-reset{display:inline-flex;height:42px;align-items:center;justify-content:center;padding:0 7px;color:#64766e;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.be-stays-filters .be-stays-filter-reset:hover{color:#11645d;text-decoration:underline}
.be-stays-empty{padding:30px 20px;border:1px dashed #d3e0d9;border-radius:14px;background:#fbfdfc;color:#52675d;text-align:center;font-weight:600}
@media(max-width:900px){.be-stays-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:13px}.be-stays-filters button{width:100%}.be-stays-filters .be-stays-filter-reset{width:100%}}
@media(max-width:520px){.be-stays-filters{grid-template-columns:1fr 1fr;gap:9px;padding:11px;margin-bottom:20px;border-radius:12px}.be-stays-filters label{font-size:11px}.be-stays-filters select,.be-stays-filters input[type="number"]{height:40px!important;min-height:40px!important;padding:0 9px!important;font-size:13px!important;line-height:38px!important}.be-stays-filters .be-stays-filter-price,.be-stays-filters button,.be-stays-filters .be-stays-filter-reset{grid-column:1/-1}.be-stays-filters button{height:41px}.be-stays-filters .be-stays-filter-reset{height:30px}}

/* Smooth stay-result updates after an automatic filter change. */
.be-sc-widget{transition:opacity .22s ease}
.be-sc-widget.be-sc-is-loading{opacity:.62;pointer-events:none;cursor:progress}
.be-sc-results-enter{opacity:0;transform:translateY(9px);transition:opacity .32s ease,transform .32s ease}
.be-sc-results-enter.is-visible{opacity:1;transform:translateY(0)}
.be-sc-grid.be-sc-results-enter .be-sc-card{animation:beStayCardIn .38s ease both}
.be-sc-grid.be-sc-results-enter .be-sc-card:nth-child(2){animation-delay:.035s}
.be-sc-grid.be-sc-results-enter .be-sc-card:nth-child(3){animation-delay:.07s}
.be-sc-grid.be-sc-results-enter .be-sc-card:nth-child(4){animation-delay:.105s}
.be-sc-grid.be-sc-results-enter .be-sc-card:nth-child(5){animation-delay:.14s}
.be-sc-grid.be-sc-results-enter .be-sc-card:nth-child(6){animation-delay:.175s}
@keyframes beStayCardIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.be-sc-widget,.be-sc-results-enter,.be-sc-grid.be-sc-results-enter .be-sc-card{transition:none!important;animation:none!important;transform:none!important}}

/* STAYIN-GRID: make property titles consistently bold (700). */
.be-sc-widget .be-stay-card h3, .be-sc-widget .be-stay-card h3 a { font-weight:700 !important; }

/* Short highlights: add 10px breathing room below the highlight text. */
.be-sc-widget .be-stay-card-body>p.be-stay-short-highlights{margin-bottom:10px}


/* Compact, high-visibility Book Your Stay CTA across native and Elementor grids. */
.be-stay-card-footer .be-stay-link{
  position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  flex:0 0 auto;padding:9px 13px;border:1px solid rgba(255,255,255,.22);border-radius:999px;
  overflow:hidden;background:linear-gradient(135deg,#16877b 0%,#0f625e 58%,#0b514d 100%);
  color:#fff!important;font-size:11px;font-weight:800;line-height:1;letter-spacing:.01em;text-decoration:none!important;white-space:nowrap;
  box-shadow:0 4px 12px rgba(15,98,94,.22);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
  animation:beStayCtaGlow 3.2s ease-in-out infinite;
}
.be-stay-card-footer .be-stay-link:before{
  content:"";position:absolute;z-index:-1;top:-60%;bottom:-60%;left:-65%;width:42%;
  transform:skewX(-22deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.32),transparent);
  animation:beStayCtaShine 4.8s ease-in-out infinite;pointer-events:none;
}
.be-stay-card-footer .be-stay-link span{display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;
  background:rgba(255,255,255,.17);font-size:12px;line-height:1;transition:transform .2s ease,background .2s ease}
.be-stay-card-footer .be-stay-link:hover,.be-stay-card-footer .be-stay-link:focus-visible{
  color:#fff!important;filter:brightness(1.08);transform:translateY(-2px);
  box-shadow:0 7px 17px rgba(15,98,94,.32);outline:none;
}
.be-stay-card-footer .be-stay-link:hover span,.be-stay-card-footer .be-stay-link:focus-visible span{transform:translateX(2px);background:rgba(255,255,255,.27)}
@keyframes beStayCtaGlow{0%,100%{box-shadow:0 4px 12px rgba(15,98,94,.19)}50%{box-shadow:0 5px 16px rgba(15,98,94,.31)}}
@keyframes beStayCtaShine{0%,68%,100%{left:-65%}82%{left:130%}}
@media(prefers-reduced-motion:reduce){.be-stay-card-footer .be-stay-link,.be-stay-card-footer .be-stay-link:before{animation:none!important;transition:none!important}}
@media(max-width:600px){.be-stay-card-footer .be-stay-link{padding:8px 11px;font-size:10.5px;gap:5px}.be-stay-card-footer .be-stay-link span{width:15px;height:15px}}

/* Shared orange-gradient theme for STAYIN-GRID interactive controls. */
.be-sc-widget .be-stay-card-footer .be-stay-link{background:var(--be-action-gradient,linear-gradient(135deg,#FFAA00 0%,#FF6600 50%,#E54800 100%))!important;box-shadow:0 4px 12px var(--be-action-shadow,rgba(229,72,0,.22))!important}
.be-sc-widget .be-sc-arrow{background:var(--be-action-gradient,linear-gradient(135deg,#FFAA00 0%,#FF6600 50%,#E54800 100%))!important}
.be-sc-widget .be-sc-dot.is-active{background:var(--be-action-gradient,linear-gradient(135deg,#FFAA00 0%,#FF6600 50%,#E54800 100%))!important}
@media(max-width:767px){.be-sc-prev{left:6px}.be-sc-next{right:6px}}

/* v5.3.7 — symmetric carousel arrow alignment on both sides.
   Anchor each arrow to the exact viewport edge so left/right offsets stay equal. */
.be-sc-widget .be-sc-carousel-viewport > .be-sc-arrow{
  position:absolute!important;
  top:50%!important;
  z-index:8!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  margin:0!important;
  padding:0 0 2px!important;
  border:1px solid rgba(255,255,255,.9)!important;
  border-radius:50%!important;
  line-height:1!important;
  font-family:Arial,sans-serif!important;
  font-size:27px!important;
  font-weight:400!important;
  text-align:center!important;
  color:#fff!important;
  background:var(--be-action-gradient,linear-gradient(135deg,#FFAA00 0%,#FF6600 50%,#E54800 100%))!important;
  box-shadow:0 5px 16px rgba(229,72,0,.25)!important;
  cursor:pointer!important;
}
.be-sc-widget .be-sc-carousel-viewport > .be-sc-prev{
  left:0!important;
  right:auto!important;
  transform:translate(-50%,-50%)!important;
}
.be-sc-widget .be-sc-carousel-viewport > .be-sc-next{
  right:0!important;
  left:auto!important;
  transform:translate(50%,-50%)!important;
}
.be-sc-widget .be-sc-carousel-viewport > .be-sc-prev:hover,
.be-sc-widget .be-sc-carousel-viewport > .be-sc-next:hover{
  filter:brightness(.96)!important;
}
@media(max-width:767px){
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-arrow{
    width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
    font-size:24px!important;padding-bottom:2px!important;
  }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-prev{left:8px!important;transform:translateY(-50%)!important}
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-next{right:8px!important;transform:translateY(-50%)!important}
}


/* Mobile carousel alignment: centre one complete card and prevent a previous
   card from peeking in at initial load. Keep both arrows symmetric to viewport. */
@media (max-width: 767px) {
  .be-sc-widget .be-sc-carousel-viewport {
    width: 100%;
    min-width: 0;
    overflow: visible;
    position: relative;
  }
  .be-sc-widget .be-sc-track {
    width: 100%;
    min-width: 0;
    padding: 2px 7% 14px;
    scroll-padding-inline: 7%;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
  }
  .be-sc-widget .be-sc-track > .be-sc-card {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
    scroll-snap-align: center;
  }
  .be-sc-widget .be-sc-arrow {
    top: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    z-index: 8;
  }
  .be-sc-widget .be-sc-prev { left: 2px; right: auto; }
  .be-sc-widget .be-sc-next { right: 2px; left: auto; }
  .be-sc-widget .be-sc-grid {
    align-items: stretch;
    grid-auto-rows: 1fr;
  }
  .be-sc-widget .be-sc-grid > .be-sc-card {
    min-width: 0;
    width: 100%;
  }
}


/* MOBILE: show exactly one complete stay card; hide adjacent slides completely. */
@media (max-width: 767px) {
  .be-sc-widget .be-sc-carousel-viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-track {
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: auto !important;
    scroll-padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-track > .be-sc-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    scroll-snap-align: start !important;
  }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-prev { left: 8px !important; }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-next { right: 8px !important; }
}


/* Keep mobile carousel controls over the image, clear of the location/title text.
   The viewport contains the full card, so 25% places controls at image centre. */
@media (max-width: 767px) {
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-arrow {
    top: 25% !important;
    transform: translateY(-50%) !important;
  }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-prev {
    left: 8px !important;
    right: auto !important;
  }
  .be-sc-widget .be-sc-carousel-viewport > .be-sc-next {
    right: 8px !important;
    left: auto !important;
  }
}
