/* Home pages (/stays/*). Loaded after style.css. */
.stay-wrap { max-width: 1180px; margin: 0 auto; padding: 160px 24px 64px; }
.stay-back { display: inline-block; font-size: 15px; color: #666; padding: 10px 0; margin: -10px 0 6px; }
.contact-footer a[href^="tel"] { white-space: nowrap; }
.stay-back:hover { color: #111; text-decoration: underline; }

/* Gallery: 1 large + 4 small on desktop, swipe strip on phones */
.stay-gallery-wrap { position: relative; margin-bottom: 36px; }
.stay-gallery {
  display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px;
  gap: 8px; border-radius: 12px; overflow: hidden;
}
.stay-gallery button { border: 0; padding: 0; margin: 0; background: #eee; cursor: zoom-in; overflow: hidden; display: block; width: 100%; height: 100%; }
.stay-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.stay-gallery button:hover img { transform: scale(1.03); }
.stay-gallery button:first-child { grid-row: span 2; }
.stay-gallery button:nth-child(n+6) { display: none; }
.stay-all-photos {
  position: absolute; right: 16px; bottom: 16px; background: #fff; color: #111; border: 1px solid #111;
  border-radius: 8px; padding: 9px 16px; font: 700 14px 'Lato', sans-serif; cursor: pointer;
}
.stay-all-photos:hover { background: #111; color: #fff; }
.stay-strip-count { display: none; }

/* Two columns: details + sticky booking card */
.stay-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; }
.stay-head h1 { font-size: clamp(30px, 4.5vw, 44px); font-weight: 900; color: #111; line-height: 1.1; margin: 0 0 6px; }
.stay-town { font-size: 17px; color: #444; margin-bottom: 10px; }
.stay-rating { font-size: 15px; font-weight: 700; color: #111; margin-bottom: 18px; }
.stay-rating .muted { font-weight: 400; color: #777; }
.stay-specs { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 0; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; margin-bottom: 28px; }
.stay-spec { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #222; }
.stay-spec svg { flex: none; }
.stay-section { margin-bottom: 34px; }
.stay-section h2 { font-size: 22px; font-weight: 900; color: #111; margin: 0 0 12px; }
.stay-section p { color: #444; font-size: 16px; line-height: 1.65; margin: 0 0 12px; }
.stay-highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.stay-highlights li { position: relative; padding-left: 22px; color: #222; font-size: 15px; line-height: 1.45; }
.stay-highlights li::before { content: ''; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: #111; }
.stay-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stay-fact { background: #f7f7f7; border-radius: 8px; padding: 14px 16px; }
.stay-fact strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #666; margin-bottom: 4px; }
.stay-fact span { font-size: 15px; color: #111; }
.stay-links a { color: #111; text-decoration: underline; }

/* Booking card */
.stay-book-card { position: sticky; top: 110px; border: 1px solid #ddd; border-radius: 12px; padding: 24px; box-shadow: 0 6px 24px rgba(0,0,0,.08); background: #fff; scroll-margin-top: 100px; }
.stay-price { font-size: 15px; color: #444; margin-bottom: 16px; }
.stay-price strong { font-size: 26px; color: #111; font-weight: 900; }
.stay-fields { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #bbb; border-radius: 8px; overflow: hidden; margin-bottom: 12px; }
.stay-field { display: block; padding: 8px 12px; min-width: 0; }
.stay-field + .stay-field { border-left: 1px solid #bbb; }
.stay-field-wide { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid #bbb; }
.stay-field span { display: block; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .8px; color: #111; }
.stay-field input, .stay-field select { width: 100%; border: 0; padding: 4px 0 2px; font: 15px 'Lato', sans-serif; color: #111; background: transparent; min-width: 0; }
.stay-field input:focus, .stay-field select:focus { outline: none; }
.stay-fields:focus-within { border-color: #111; }
.stay-pets { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #333; margin: 4px 0 12px; }
.stay-quote { font-size: 14px; color: #444; line-height: 1.5; min-height: 0; }
.stay-quote:empty { display: none; }
.stay-quote.is-checking { color: #777; }
.stay-quote strong { display: block; color: #111; margin-bottom: 6px; }
.stay-quote.is-closed strong { color: #a12a2a; }
.stay-quote-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.stay-quote-total { border-top: 1px solid #ddd; margin-top: 6px; padding-top: 8px; font-weight: 900; color: #111; font-size: 16px; }
.stay-book-btn { display: block; text-align: center; background: #222; color: #fff; border-radius: 8px; padding: 15px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; font-size: 15px; margin-top: 14px; }
.stay-book-btn:hover { background: #000; }
.stay-book-note { font-size: 13px; color: #666; text-align: center; margin-top: 12px; line-height: 1.5; }

.stay-perks { margin: 48px 0 0; }

/* Mobile bar */
.stay-mobile-bar { display: none; }

/* Photo viewer */
.stay-viewer { position: fixed; inset: 0; z-index: 2000; background: rgba(0,0,0,.94); display: flex; align-items: center; justify-content: center; }
.stay-viewer[hidden] { display: none; }
.stay-viewer figure { margin: 0; max-width: 92vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.stay-viewer img { max-width: 92vw; max-height: 78vh; object-fit: contain; display: block; }
.stay-viewer figcaption { color: #ddd; font-size: 14px; margin-top: 12px; text-align: center; padding: 0 16px; }
.stay-viewer button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; line-height: 1; cursor: pointer; }
.stay-viewer button:hover { background: rgba(255,255,255,.25); }
#stay-viewer-close { top: 16px; right: 16px; }
#stay-viewer-prev { left: 16px; top: 50%; transform: translateY(-50%); }
#stay-viewer-next { right: 16px; top: 50%; transform: translateY(-50%); }
.stay-viewer-count { position: absolute; top: 28px; left: 24px; color: #ddd; font-size: 14px; }

@media (max-width: 960px) {
  .stay-layout { grid-template-columns: 1fr; gap: 8px; }
  .stay-book-card { position: static; }
}
@media (max-width: 768px) {
  body { padding-bottom: 72px; }
  .stay-wrap { padding: 96px 16px 48px; }
  .stay-gallery-wrap { margin: 0 -16px 24px; }
  .stay-gallery {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 0; gap: 0;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .stay-gallery::-webkit-scrollbar { display: none; }
  .stay-gallery button, .stay-gallery button:nth-child(n+6) { display: block; flex: 0 0 100%; height: 64vw; max-height: 420px; scroll-snap-align: start; }
  .stay-gallery button:first-child { grid-row: auto; }
  .stay-all-photos { display: none; }
  .stay-strip-count { display: block; position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 12px; }
  .stay-highlights { grid-template-columns: 1fr; }
  .stay-facts { grid-template-columns: 1fr 1fr; }
  .stay-mobile-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff;
    border-top: 1px solid #ddd; padding: 12px 16px; align-items: center; justify-content: space-between; gap: 12px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  }
  .stay-mobile-bar .stay-price { margin: 0; font-size: 14px; }
  .stay-mobile-bar .stay-price strong { font-size: 20px; }
  .stay-mobile-bar button { background: #222; color: #fff; border: 0; border-radius: 8px; padding: 12px 18px; font: 900 14px 'Lato', sans-serif; letter-spacing: .5px; text-transform: uppercase; cursor: pointer; }
  .stay-viewer button { width: 40px; height: 40px; font-size: 22px; }
  #stay-viewer-prev { left: 6px; } #stay-viewer-next { right: 6px; }
}
