/* ==========================================================================
   GREEKA · Shared extras (loads LAST on every page)
   1. Footer map block   2. Contact popup: location + directions
   3. Contact popup on the stay-details page   4. Golden booking button
   5. Guest limit hint
   ========================================================================== */

/* ---------- 1. Footer map ---------- */
.gf-map { display: grid; gap: 16px; margin-top: 32px; padding: 14px; border: 1px solid rgb(255 255 255 / 14%); border-radius: 26px; background: rgb(255 255 255 / 5%); }
.gf-map-info { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 6px 4px; }
.gf-map-eyebrow { display: flex; align-items: center; gap: 10px; color: #f1d58a; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.gf-map-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), #f1d58a); }
.gf-map-info h2 { margin: 10px 0 0; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 24px; font-weight: 700; line-height: 1.2; }
.gf-map-info > p { margin: 10px 0 0; color: rgb(255 255 255 / 72%); font-size: 12.5px; line-height: 1.75; }
.gf-map-points { display: grid; gap: 10px; margin: 16px 0 20px; padding: 0; list-style: none; }
.gf-map-points li { display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / 86%); font-size: 12.5px; }
.gf-map-points .ic { flex: 0 0 auto; color: var(--accent); font-size: 17px; }
.gf-map-info .gf-btn { min-width: 190px; }
.gf-map-frame { position: relative; height: 250px; overflow: hidden; border: 2px solid rgb(217 169 63 / 65%); border-radius: 20px; background: #0d1550; box-shadow: 0 14px 34px rgb(0 0 0 / 30%); }
.gf-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.92) contrast(1.02); }
@media (min-width: 768px) {
  .gf-map { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; gap: 26px; padding: 18px; }
  .gf-map-info { justify-content: center; padding: 14px 10px 14px 18px; }
  .gf-map-info h2 { font-size: 30px; }
  .gf-map-info > p, .gf-map-points li { font-size: 14px; }
  .gf-map-frame { height: auto; min-height: 320px; border-radius: 22px; }
}
@media (min-width: 1024px) {
  .gf-map { margin-top: 52px; padding: 22px; border-radius: 30px; }
  .gf-map-info h2 { font-size: 38px; line-height: 1.12; }
  .gf-map-frame { min-height: 360px; }
}

/* ---------- 2. Contact popup: location + directions ---------- */
.sheet-loc { margin-top: 18px; padding: 14px; border: 1px solid var(--border, #e3e7f0); border-radius: 20px; background: var(--muted, #f6f8fc); }
.sheet-loc-text { display: flex; align-items: flex-start; gap: 10px; color: var(--muted-foreground, #5b6578); font-size: 12.5px; line-height: 1.5; }
.sheet-loc-text .ic { flex: 0 0 auto; margin-top: 1px; color: var(--accent, #d9a93f); font-size: 18px; }
.sheet-loc-text span { display: flex; flex-direction: column; }
.sheet-loc-text strong { color: var(--foreground, #162036); font-size: 13px; }
.sheet-map { position: relative; height: 150px; margin-top: 12px; overflow: hidden; border: 1px solid rgb(217 169 63 / 60%); border-radius: 14px; background: #e9edf7; }
.sheet-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sheet-dir { display: inline-flex; width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 9px; margin-top: 12px; border-radius: 999px; background: linear-gradient(135deg, #f1d58a, var(--accent, #d9a93f)); color: #2b2108 !important; font-size: 13.5px; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgb(217 169 63 / 32%); transition: transform 160ms ease, box-shadow 160ms ease; }
.sheet-dir .ic { font-size: 17px; }
.sheet-dir:active { transform: scale(.98); }
@media (hover: hover) { .sheet-dir:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgb(217 169 63 / 42%); } }
.greeka-sheet { scrollbar-width: thin; }

/* ---------- 3. Contact popup on stay-details (same look as the other pages) ---------- */
.stay-screen .greeka-backdrop { position: fixed; z-index: 60; inset: 0; display: flex; align-items: flex-end; justify-content: center; background: rgb(14 20 40 / 55%); animation: gx-fade 200ms ease; }
.stay-screen .greeka-backdrop[hidden] { display: none; }
.stay-screen .greeka-sheet { position: relative; display: block; width: 100%; max-height: min(88vh, 720px); overflow-y: auto; padding: 12px 20px calc(22px + var(--safe-b, 0px)); border: 1px solid var(--border); border-bottom: 0; border-radius: 22px 22px 0 0; background: #fff; box-shadow: 0 -14px 50px rgb(12 18 40 / 20%); animation: gx-sheet-in 280ms cubic-bezier(.2,.75,0,1) both; }
.stay-screen .greeka-sheet-handle { width: 42px; height: 4px; margin: 0 auto 18px; border-radius: 999px; background: var(--border); }
.stay-screen .greeka-sheet-close { position: absolute; top: 20px; right: 18px; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted-foreground); cursor: pointer; }
.stay-screen .greeka-sheet-close:hover { background: var(--primary-soft); }
.stay-screen .greeka-sheet-header { display: flex; flex-direction: column; gap: 4px; padding-right: 36px; }
.stay-screen .greeka-sheet-header h2 { color: var(--foreground); font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 700; }
.stay-screen .greeka-sheet-header p { color: var(--muted-foreground); font-size: 12px; }
.stay-screen .greeka-contact-actions { display: grid; gap: 10px; margin-top: 22px; }
.stay-screen .greeka-contact-actions .btn { min-height: 48px; border-radius: 999px; }
.stay-screen .greeka-primary-button { background: var(--primary); color: #fff; }
body.sheet-open { overflow: hidden; }
@media (min-width: 768px) { .stay-screen .greeka-backdrop { align-items: center; } .stay-screen .greeka-sheet { width: min(540px, 100%); border-bottom: 1px solid var(--border); border-radius: 26px; } }
@keyframes gx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes gx-sheet-in { from { opacity: .7; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 4. Golden WhatsApp button in the booking popup (matches footer) ---------- */
.booking-sheet .btn-wa.btn-block {
  min-height: 56px; gap: 10px; border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #f6dd98 0%, #f1d58a 35%, var(--accent, #d9a93f) 100%);
  color: #2b2108; font-size: 14.5px; font-weight: 700; letter-spacing: .02em;
  box-shadow: 0 10px 26px rgb(217 169 63 / 38%), inset 0 1px 0 rgb(255 255 255 / 55%);
  position: relative; overflow: hidden;
  transition: transform 160ms ease, box-shadow 200ms ease, filter 200ms ease;
}
.booking-sheet .btn-wa.btn-block::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 45%) 50%, transparent 70%); transform: translateX(-120%); transition: transform 700ms ease; }
.booking-sheet .btn-wa.btn-block span[aria-hidden] { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #2b2108; color: #f1d58a; font-size: 14px; line-height: 1; }
.booking-sheet .btn-wa.btn-block:active { transform: scale(.98); }
.booking-sheet .btn-wa.btn-block:disabled { background: #e8e2d0; color: #8d836a; box-shadow: none; filter: none; }
@media (hover: hover) {
  .booking-sheet .btn-wa.btn-block:hover:not(:disabled) { background: linear-gradient(135deg, #f6dd98 0%, #f1d58a 35%, var(--accent, #d9a93f) 100%); transform: translateY(-2px); box-shadow: 0 16px 32px rgb(217 169 63 / 48%), inset 0 1px 0 rgb(255 255 255 / 55%); }
  .booking-sheet .btn-wa.btn-block:hover:not(:disabled)::before { transform: translateX(120%); }
}
.booking-sheet .enquiry-note { margin-top: 12px; }

/* ---------- 5. Guest limit hint ---------- */
.guest-hint { margin: 7px 4px 0; color: var(--muted-foreground, #5b6578); font-size: 11.5px; line-height: 1.4; }
.guest-hint:empty { display: none; }
.guest-hint b { color: var(--primary, #1c2a86); font-weight: 600; }
