/* ============================================================
   UAE Activities Hub - styles.css
   GetYourGuide-pattern marketplace UI: pill search bar, filter
   chip row, wishlist-heart cards, blue/white system.
   Mobile first. No CSS framework.
   ============================================================ */

:root {
  --ink:        #0d2438;
  --ink-soft:   #4d5b68;
  --muted:      #7a8794;
  --line:       #e7eaee;
  --line-soft:  #f0f2f5;
  --bg:         #ffffff;
  --bg-soft:    #f6f7f9;
  --blue:       #0071c2;
  --blue-dark:  #00518c;
  --blue-tint:  #e8f4fd;
  --green:      #008009;
  --green-dark: #006b07;
  --wa:         #25d366;
  --wa-dark:    #1eb355;
  --amber:      #ffb700;
  --red-heart:  #ff385c;
  --radius-sm:  8px;
  --radius:     12px;
  --radius-lg:  16px;
  --shadow-card: 0 1px 2px rgba(13,36,56,.06), 0 1px 6px rgba(13,36,56,.08);
  --shadow-hover: 0 4px 10px rgba(13,36,56,.10), 0 12px 28px rgba(13,36,56,.12);
  --shadow-pop: 0 20px 50px rgba(13,36,56,.18);
  --container: 1128px;
  --font: "Source Sans Pro", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

html { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
h1, h2, h3 { line-height: 1.22; margin: 0 0 .4rem; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.hidden { display: none !important; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 40px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { margin: 4px 0 0; color: var(--ink-soft); max-width: 62ch; font-size: .95rem; }
.section-head h2 { margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

.img-missing { background: repeating-linear-gradient(135deg, #eef2f7 0 12px, #e4e9f0 12px 24px); min-height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: background .14s ease, color .14s ease, border-color .14s ease, box-shadow .14s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-tint); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); }
.btn-lg { padding: 13px 24px; font-size: 1rem; border-radius: 10px; }
.btn-block { width: 100%; }
.wa-icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

/* ---------- Header (GYG pattern: logo | search-ish nav | actions) ---------- */
.site-header {
  position: relative; z-index: 60; background: transparent; border-bottom: 1px solid transparent;
}
.header-inner { max-width: 1240px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; gap: 28px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; min-width: 0; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 9px; background: rgba(255,255,255,.15); }
.brand-name { font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; color: #fff; font-family: Georgia, "Times New Roman", serif; }

.nav-desktop { display: none; gap: 2px; flex-wrap: nowrap; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
.nav-desktop::-webkit-scrollbar { display: none; }
.nav-link { padding: 8px 13px; border-radius: var(--radius-sm); font-size: .89rem; color: #f2f5f7; font-weight: 500; letter-spacing: .01em; white-space: nowrap; flex: none; transition: color .2s ease; font-family: Georgia, "Times New Roman", serif; }
.nav-link:hover { background: rgba(255,255,255,.14); }
.nav-link.is-active { color: var(--amber); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* Language + currency switcher, same font family as the rest of the site */
.switcher-row { display: flex; align-items: center; gap: 6px; }
.switcher-item { position: relative; }
.switcher-btn {
  display: flex; align-items: center; gap: 5px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.35);
  color: #fff; border-radius: 999px; padding: 7px 11px; font-size: .82rem; font-weight: 600; cursor: pointer;
  font-family: Georgia, "Times New Roman", serif; transition: background .15s ease, border-color .15s ease;
}
.switcher-btn:hover { background: rgba(255,255,255,.2); }
.switcher-icon { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.switcher-caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s ease; }
.switcher-item.is-open .switcher-caret { transform: rotate(180deg); }
.switcher-label { min-width: 20px; text-align: left; }

.switcher-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; list-style: none; margin: 0; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop);
  min-width: 168px; max-height: 320px; overflow-y: auto; display: none;
}
.switcher-item.is-open .switcher-menu { display: block; }
.switcher-option {
  display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left;
  background: none; border: 0; padding: 9px 10px; border-radius: var(--radius-sm); font-size: .88rem; color: var(--ink);
  font-family: Georgia, "Times New Roman", serif; cursor: pointer;
}
.switcher-option:hover { background: var(--bg-soft); }
.switcher-option.is-active { color: var(--blue); font-weight: 700; background: var(--blue-tint); }
.switcher-symbol { color: var(--muted); font-size: .82rem; }

.switcher-row-mobile { padding: 12px 10px 4px; gap: 10px; }
.switcher-row-mobile .switcher-btn { background: var(--bg-soft); border-color: var(--line); color: var(--ink); }
.switcher-row-mobile .switcher-menu { right: auto; left: 0; }

/* Hide Google's own translate banner/toolbar; we drive it via our own dropdown */
.gt-hidden-host { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.translated-ltr, body.translated-rtl { top: 0 !important; }
.goog-te-banner-frame { display: none !important; }
.skiptranslate iframe { display: none !important; }

.nav-toggle { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); background: transparent; border-radius: 10px; display: grid; place-content: center; gap: 5px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .18s ease, opacity .18s ease, background .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; gap: 2px; padding: 8px 20px 18px; border-top: 1px solid var(--line); background: #fff; }
.nav-mobile.is-open { display: flex; }
.nav-mobile .nav-link { padding: 12px 10px; border-radius: var(--radius-sm); font-size: 1rem; color: var(--ink-soft); }
.nav-mobile .nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-mobile .nav-link.is-active { color: var(--blue); background: var(--blue-tint); }
.nav-mobile .btn { margin-top: 10px; border-radius: 999px; }

@media (min-width: 1000px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .header-inner { padding-left: 44px; }
}
.switcher-row-mobile { display: none; }
@media (max-width: 999px) {
  .switcher-row:not(.switcher-row-mobile) { display: none; }
  .switcher-row-mobile { display: flex; }
}

/* ---------- Hero: full-bleed photo, header overlaid on top, floating search ---------- */
.hero-photo {
  position: relative; margin-top: -78px; /* pulls the transparent header up onto the photo */
  aspect-ratio: 2.6 / 1; min-height: 380px; max-height: 560px;
  background: linear-gradient(155deg, #3a5a72 0%, #16222c 100%); /* fallback while image loads / if missing */
  overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-photo-shade {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(4,14,22,.6) 0%, rgba(4,14,22,.4) 25%, rgba(4,14,22,.42) 55%, rgba(4,14,22,.72) 100%);
}
.hero-photo-copy { position: relative; z-index: 2; text-align: center; padding: 0 20px; margin-top: 78px; }
.hero-eyebrow2 {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: #f2f6f8; margin-bottom: 18px; text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.hero-photo h1 {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: #fff;
  font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.15; margin: 0; text-shadow: 0 2px 6px rgba(0,0,0,.55), 0 8px 30px rgba(0,0,0,.5);
  transition: opacity .25s ease;
}

.hero-search-wrap { position: relative; z-index: 3; margin-top: -34px; padding: 0 20px; }
.hero-search {
  max-width: 1020px; margin: 0 auto;
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-pop);
  padding: 14px; display: grid; gap: 4px; border: 1px solid var(--line); text-align: left;
}
.hero-search .field { display: grid; gap: 2px; padding: 8px 12px; border-radius: var(--radius-sm); }
.hero-search .field:hover { background: var(--bg-soft); }
.hero-search label { font-size: .68rem; font-weight: 700; color: var(--ink); }
.hero-search input, .hero-search select { border: 0; background: transparent; padding: 2px 0; font: inherit; color: var(--ink); font-size: .92rem; width: 100%; }
.hero-search input:focus, .hero-search select:focus { outline: none; }
.hero-search input::placeholder { color: var(--muted); }
.locked-field { display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: .92rem; padding: 2px 0; }
.locked-field::before { content: "📍"; font-size: .85rem; }

@media (min-width: 860px) {
  .hero-search { grid-template-columns: 1.6fr 1fr 1fr auto; align-items: center; padding: 8px; border-radius: 999px; gap: 0; }
  .hero-search .field { border-right: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; }
  .hero-search .field:last-of-type { border-right: 0; }
  .hero-search .btn { height: 50px; border-radius: 999px; padding: 0 30px; }
}
@media (max-width: 760px) {
  .hero-photo { margin-top: -70px; min-height: 360px; aspect-ratio: 3 / 4; max-height: 460px; }
  .hero-photo-copy { margin-top: 70px; }
}

/* ---------- Filter chip row under hero, GYG pattern ---------- */
.chip-bar-wrap { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0 14px; margin-top: 40px; }
.chip-crumbs { margin: 0 0 10px; font-size: .84rem; color: var(--muted); }
.chip-crumbs .dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); vertical-align: middle; margin: 0 8px; }
.chip-crumbs a:hover { color: var(--blue); text-decoration: underline; }
.chip-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: .87rem; font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color .14s ease, background .14s ease;
}
.chip:hover { border-color: var(--blue); background: var(--blue-tint); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-filter svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* ---------- Premium activity card: gradient media, chip overlay, dual buttons ---------- */
.uae-card {
  position: relative; display: flex; flex-direction: column; text-align: left; color: var(--ink); height: 100%;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); transition: box-shadow .16s ease, transform .16s ease;
}
.uae-card:hover { box-shadow: var(--shadow-hover); }

.uae-card-media {
  position: relative; display: block; width: 100%; aspect-ratio: 4/3; flex: none; overflow: hidden;
  background: linear-gradient(155deg, var(--grad-a, #5b9bd8) 0%, var(--grad-b, #2f6fb0) 100%);
}
/* Decorative skyline / bubble illustration baked into the gradient tile via CSS, no image needed */
.uae-card-media::before {
  content: ""; position: absolute; left: 62%; right: -10%; bottom: 0; top: 30%;
  background:
    linear-gradient(0deg, rgba(255,255,255,.22) 0 100%) 0 100%/14% 55% no-repeat,
    linear-gradient(0deg, rgba(255,255,255,.22) 0 100%) 18% 100%/10% 75% no-repeat,
    linear-gradient(0deg, rgba(255,255,255,.22) 0 100%) 32% 100%/12% 40% no-repeat;
  opacity: .8;
}
.uae-card-media::after {
  content: ""; position: absolute; top: -10%; right: -12%; width: 46%; aspect-ratio: 1/1;
  border-radius: 50%; background: rgba(255,255,255,.16);
}
.uae-card-media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.uae-card-media img.img-missing { opacity: 0; }

.uae-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.96); color: var(--ink);
  font-size: .72rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; max-width: 70%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.uae-card-wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(13,36,56,.38); border: 0; display: grid; place-content: center; cursor: pointer;
  transition: background .14s ease, transform .1s ease;
}
.uae-card-wishlist:hover { background: rgba(13,36,56,.55); }
.uae-card-wishlist:active { transform: scale(.9); }
.uae-card-wishlist svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2; }
.uae-card-wishlist.is-active svg { fill: var(--red-heart); stroke: var(--red-heart); }

.uae-card-chip {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(255,255,255,.96); border-radius: var(--radius-sm); padding: 7px 10px;
}
.uae-card-chip-eyebrow { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; margin-bottom: 2px; }
.uae-card-chip-title { display: block; font-size: .8rem; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.uae-card-transfer {
  position: absolute; left: 12px; bottom: 16px; z-index: 2; background: rgba(13,36,56,.86); color: #fff;
  font-size: .68rem; font-weight: 700; padding: 5px 10px; border-radius: 5px;
}
.badge-freecancel { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.96); color: var(--ink); font-size: .68rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.badge-new { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--blue); color: #fff; font-size: .68rem; font-weight: 800; padding: 6px 10px; border-radius: 999px; letter-spacing: .03em; }

.uae-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 0; }
.uae-card-meta { margin: 0 0 4px; font-size: .82rem; color: var(--muted); flex: none; }
.uae-card-title { margin: 0 0 8px; font-size: 1rem; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
.uae-card-rating { margin: 0 0 10px; font-size: .86rem; color: var(--ink); display: flex; align-items: center; gap: 5px; flex: none; }
.uae-card-rating .stars { color: var(--amber); }
.uae-card-rating b { font-weight: 800; }
.uae-card-hr { border: 0; border-top: 1px solid var(--line-soft); margin: 0 0 10px; flex: none; }
.uae-card-spacer { flex: 1 1 auto; }
.uae-card-price-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 14px; flex: none; }
.uae-card-price { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.uae-card-price .price-old { color: var(--muted); text-decoration: line-through; }
.uae-card-price b { font-size: 1.2rem; color: var(--ink); font-weight: 800; display: block; }
.uae-card-pct { display: inline-block; background: var(--green); color: #fff; font-size: .76rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 4px; vertical-align: middle; }
.uae-card-actions { display: flex; gap: 8px; flex: none; }
.uae-card-actions .btn { flex: 1; padding: 12px 8px; font-size: .82rem; border-radius: var(--radius-sm); text-align: center; line-height: 1.3; }
.uae-card-actions .btn-ghost { background: #fff; }

.see-all-link { font-size: .9rem; font-weight: 700; color: var(--ink); text-decoration: underline; margin-right: 10px; }
.see-all-link:hover { color: var(--blue); }

/* Gradient color variants, cycled per card for visual variety */
.grad-blue   { --grad-a: #6fa8dc; --grad-b: #2e6da4; }
.grad-teal   { --grad-a: #7fd8c9; --grad-b: #2f9c8f; }
.grad-purple { --grad-a: #b79ce8; --grad-b: #6c4bb8; }
.grad-amber  { --grad-a: #f3c96b; --grad-b: #d98f2b; }
.grad-rose   { --grad-a: #f2a6b8; --grad-b: #c85a78; }

/* ---------- Travel guides (editorial cards) ---------- */
.guides-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .guides-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.guide-media { display: block; aspect-ratio: 16/10; background: var(--bg-soft); }
.guide-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-date { margin: 12px 14px 2px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.guide-title { margin: 0 14px 14px; font-size: .95rem; line-height: 1.35; }

/* Discount price styling (strikethrough old price + red current price) */
.price-old { color: var(--muted); font-size: .86rem; font-weight: 600; margin-right: 2px; }
.price-discount { color: var(--red-heart) !important; }


/* ---------- Filters: GYG horizontal chip/select bar ---------- */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px; box-shadow: var(--shadow-card);
}
.filters .field { display: flex; flex-direction: column; gap: 3px; min-width: 132px; flex: 1 1 132px; }
.filters label { font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.filters input, .filters select { padding: 9px 11px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .87rem; color: var(--ink); background: #fff; }
.filters input:focus, .filters select:focus { border-color: var(--blue); outline: none; }
.filters .field:first-child { flex: 1 1 220px; }
.filters .field:nth-child(2) { flex: 1 1 170px; }

.filters-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.result-count { font-weight: 700; color: var(--ink); font-size: .95rem; }
.link-btn { background: none; border: 0; color: var(--blue); font-weight: 700; cursor: pointer; padding: 4px 0; font-size: .88rem; }
.link-btn:hover { text-decoration: underline; }

/* ---------- Category cards (GYG rounded image tiles) ---------- */
.cat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }

.cat-card { display: block; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); transition: box-shadow .16s ease, transform .16s ease; }
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.cat-media { display: block; aspect-ratio: 4/3; background: var(--bg-soft); position: relative; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-copy { display: block; padding: 12px 14px 14px; }
.cat-name { display: block; font-weight: 700; font-size: .95rem; }
.cat-blurb { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }

/* ---------- Activity cards: GYG anatomy ---------- */
.activity-grid { display: grid; gap: 22px 18px; grid-template-columns: 1fr; margin-top: 22px; }
@media (min-width: 620px) { .activity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .activity-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; cursor: default;
  box-shadow: var(--shadow-card); transition: box-shadow .16s ease, transform .16s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-media { position: relative; display: block; aspect-ratio: 4/3; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.wishlist-btn {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(13,36,56,.35); border: 0; display: grid; place-content: center; cursor: pointer;
  transition: background .14s ease, transform .1s ease;
}
.wishlist-btn:hover { background: rgba(13,36,56,.55); }
.wishlist-btn:active { transform: scale(.9); }
.wishlist-btn svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 2; }
.wishlist-btn.is-active svg { fill: var(--red-heart); stroke: var(--red-heart); }

.badge { position: absolute; font-size: .68rem; font-weight: 800; padding: 4px 9px; border-radius: 5px; letter-spacing: .01em; }
.badge-cat { top: 10px; left: 10px; background: rgba(255,255,255,.95); color: var(--ink); }
.badge-transfer { bottom: 6px; left: 10px; background: rgba(13,36,56,.82); color: #fff; }
.badge-transfer-inline { position: static; display: inline-block; background: var(--blue-tint); color: var(--blue-dark); }
.badge-bestseller { top: 10px; left: 10px; background: #ffb700; color: #26200a; }

.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; gap: 3px; }
.card-meta { font-size: .78rem; color: var(--muted); margin: 0; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.card-title { font-size: .98rem; margin: 2px 0 3px; font-weight: 700; }
.card-title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title a:hover { text-decoration: underline; }
.card-rating { font-size: .84rem; margin: 0; color: var(--ink); display: flex; align-items: center; gap: 5px; }
.card-rating b { font-weight: 800; }
.stars { color: var(--amber); letter-spacing: 0px; font-size: .82rem; }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); vertical-align: middle; margin: 0 6px; }
.card-text { display: none; }
.card-foot { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-soft); }
.price { margin: 0; font-size: .78rem; color: var(--muted); text-align: right; }
.price b { font-size: 1.15rem; color: var(--ink); font-weight: 800; }
.price-from { font-size: .76rem; }
.price-lg b { font-size: 1.65rem; }
.card-actions { display: flex; gap: 8px; margin-top: 10px; }
.card-actions .btn { flex: 1; padding: 9px 10px; font-size: .82rem; border-radius: 8px; }
.card-actions .btn-primary { order: 2; }
.card-actions .btn-ghost { order: 1; }

.empty { grid-column: 1/-1; padding: 40px; text-align: center; color: var(--ink-soft); border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--bg-soft); }

/* ---------- Trust badges: icon above title above text, left aligned ---------- */
.trust-section h2 { margin-bottom: 28px; }
.trust-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
.trust-card { text-align: left; }
.trust-icon { display: block; width: 48px; height: 40px; margin-bottom: 16px; }
.trust-icon svg { width: 100%; height: 100%; display: block; }
.trust-card h3 { margin-bottom: 6px; font-size: 1.02rem; }
.trust-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; line-height: 1.5; }

/* ---------- Curate panel: dark split hero with icon grid ---------- */
.curate-panel {
  display: grid; grid-template-columns: 1fr; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 860px) { .curate-panel { grid-template-columns: 1fr 1.1fr; } }
.curate-copy {
  background: linear-gradient(160deg, #0d2438 0%, #0a3a2e 100%);
  color: #fff; padding: 34px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.curate-copy h3 { font-size: 1.5rem; margin-bottom: 12px; max-width: 20ch; }
.curate-copy p { color: #cfe3da; font-size: .94rem; margin: 0; max-width: 40ch; }
.curate-dots { display: flex; align-items: center; gap: 12px; }
.curate-dots .rail-arrow { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; width: 34px; height: 34px; }
.curate-dots .rail-arrow:hover { background: rgba(255,255,255,.22); }
.curate-dots span { font-size: .84rem; color: #cfe3da; font-weight: 600; }
.curate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 28px; background: var(--bg-soft); align-content: center; }
.curate-item { text-align: center; }
.curate-item-media { display: block; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: #fff; margin-bottom: 10px; outline: 2px solid transparent; outline-offset: 3px; transition: outline-color .16s ease; }
.curate-item.is-active .curate-item-media { outline-color: var(--blue); }
.curate-item-media img { width: 100%; height: 100%; object-fit: cover; }
.curate-item-label { font-weight: 800; font-size: .95rem; }

/* ---------- Must do things: same premium card grid ---------- */
.musttodo-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (min-width: 700px) { .musttodo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .musttodo-grid { grid-template-columns: repeat(4, 1fr); } }
.musttodo-foot { display: flex; justify-content: center; margin-top: 28px; }
.btn-outline-pill { background: #fff; border: 1px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 11px 28px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.btn-outline-pill:hover { background: var(--bg-soft); }

/* ---------- Get inspired: purple guide card + article cards ---------- */
.inspire-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .inspire-grid { grid-template-columns: 1.15fr 1fr 1fr; } }
.inspire-guide-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 320px;
  background: linear-gradient(155deg, #3a1660 0%, #23103f 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.inspire-guide-media { position: absolute; inset: 0; z-index: 0; font-size: 0; color: transparent; }
.inspire-guide-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.inspire-guide-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(43,16,74,.94) 0%, rgba(43,16,74,.55) 55%, rgba(43,16,74,.15) 100%); z-index: 1; }
.inspire-guide-copy { position: relative; z-index: 2; padding: 26px; color: #fff; max-width: 300px; }
.inspire-guide-copy h3 { color: #fff; font-size: 1.3rem; margin-bottom: 10px; }
.inspire-guide-list { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; }
.inspire-guide-list li { font-size: .86rem; color: #e6d9f7; padding-left: 20px; position: relative; }
.inspire-guide-list li::before { content: "✓"; position: absolute; left: 0; color: #c9a6ff; font-weight: 700; }
.inspire-guide-copy .btn { background: #fff; color: #2b104a; border-radius: 999px; padding: 10px 22px; }
.inspire-guide-copy .btn:hover { background: #f0e6fa; }

.inspire-article-card { display: block; }
.inspire-article-media { display: block; aspect-ratio: 16/11; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 12px; }
.inspire-article-media img { width: 100%; height: 100%; object-fit: cover; }
.inspire-article-title { font-size: 1.02rem; margin-bottom: 6px; }
.inspire-article-text { font-size: .88rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

/* ---------- Browse by themes: tab row + 4-column link grid ---------- */
.theme-tabs { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 20px; }
.theme-tabs::-webkit-scrollbar { display: none; }
.theme-tab { flex: none; display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 4px 0; font-size: .88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; white-space: nowrap; }
.theme-tab svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.theme-tab.is-active { color: var(--blue); }
.theme-links { display: grid; gap: 12px 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .theme-links { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .theme-links { grid-template-columns: repeat(4, 1fr); } }
.theme-link-col { display: grid; gap: 10px; align-content: start; }
.theme-link { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-soft); }
.theme-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; flex: none; }
.theme-link:hover { color: var(--blue); text-decoration: underline; }
.theme-link.is-view-all { font-weight: 700; color: var(--blue); }

.review-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin:-4px 0 18px}.review-filter{border:1px solid var(--line);background:#fff;color:var(--ink-soft);border-radius:999px;padding:8px 13px;font-weight:750;font-size:.8rem;cursor:pointer}.review-filter:hover,.review-filter.is-active{border-color:var(--blue);background:var(--blue-tint);color:var(--blue)}
/* ---------- New review card: avatar + name + badge + photos ---------- */
.review-v2 { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.review-v2-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.review-v2-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-content: center; font-weight: 800; font-size: .95rem; flex: none; }
.review-v2-who { min-width: 0; }
.review-v2-name { font-weight: 700; font-size: .9rem; display: block; }
.review-v2-meta { font-size: .78rem; color: var(--muted); display: block; }
.review-v2-stars { color: var(--amber); font-size: .82rem; margin: 0 0 4px; }
.review-v2-date { font-size: .76rem; color: var(--muted); margin: 0 0 10px; }
.review-v2-text { font-size: .88rem; color: var(--ink-soft); line-height: 1.5; margin: 0 0 12px; }
.review-v2-photos { display: flex; gap: 6px; margin-bottom: 12px; }
.review-v2-photo { width: 56px; height: 56px; border-radius: 8px; overflow: hidden; background: var(--bg-soft); position: relative; flex: none; }
.review-v2-photo img { width: 100%; height: 100%; object-fit: cover; }
.review-v2-photo.is-more::after { content: attr(data-more); position: absolute; inset: 0; background: rgba(13,36,56,.6); color: #fff; font-size: .74rem; font-weight: 700; display: grid; place-content: center; }
.review-v2-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: .82rem; color: var(--ink-soft); }
.review-v2-foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.review-v2-foot .arrow { flex: none; color: var(--muted); }

/* ---------- Rails (reviews / similar) ---------- */
.rail { position: relative; }
.rail-nav { display: flex; gap: 8px; align-items: center; }
.rail-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--ink); }
.rail-arrow:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Activity rails ----------
   Every rail holds each activity exactly once - nothing is duplicated
   anywhere. By default a rail is a plain static row: nothing moves on its
   own, and it can be scrolled sideways by touch/mouse drag like any
   normal horizontal list. Only the "Top experiences in Dubai" rail
   (marked with the extra .marquee-animated class) gets the slow
   ping-pong drift and the hover-grows / neighbours-blur interaction from
   initHoverFocusRow() - see the rules below the base ones. */
.marquee {
  position: relative; margin: 0 -20px; padding: 10px 20px 22px;
  overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.marquee-track {
  display: flex; gap: clamp(16px, 2vw, 24px); width: max-content;
}
.marquee-track > * {
  flex: 0 0 auto; width: clamp(230px, 22vw, 280px);
  transition: transform .18s ease, box-shadow .18s ease;
}
.marquee-track > *:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -14px rgba(13,36,56,.28), 0 6px 12px -6px rgba(13,36,56,.18);
}
@media (max-width: 760px) {
  .marquee { padding: 8px 20px 18px; }
  .marquee-track > * { width: clamp(210px, 70vw, 260px); }
}

/* ---------- "Top experiences in Dubai" only: slow drift + hover-focus ---------- */
.marquee-animated {
  overflow: hidden; padding: 18px 20px 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.marquee-animated .marquee-track { will-change: transform; }
.marquee-animated .marquee-track > * {
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
  transform-origin: center center;
  filter: none;
}
.marquee-animated .marquee-track > *:hover { transform: none; box-shadow: none; } /* overridden by focus rules below */
@media (max-width: 760px) { .marquee-animated { padding: 14px 20px 22px; } }
/* One card focused: it grows and lifts above its neighbours; every other
   card in the row softens out of focus. */
.marquee-animated .marquee-track.is-focusing > *:not(.is-focused-card) {
  filter: blur(2.5px);
  transform: scale(0.97);
}
.marquee-animated .marquee-track > *.is-focused-card {
  filter: none;
  transform: scale(1.07);
  z-index: 3; position: relative;
  box-shadow: 0 24px 40px -14px rgba(13,36,56,.32), 0 10px 18px -8px rgba(13,36,56,.22);
}

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.review-stars { color: var(--amber); letter-spacing: 1px; margin: 0 0 8px; font-size: .95rem; }
.review blockquote { margin: 0 0 14px; font-size: .93rem; color: var(--ink); line-height: 1.6; }
.review figcaption { display: grid; gap: 2px; font-size: .82rem; margin-top: auto; }
.review-name { font-weight: 700; }
.review-from, .review-meta { color: var(--muted); }

/* ---------- Trusted by guests worldwide band ---------- */
.trustband-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .trustband-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trustband-grid { grid-template-columns: repeat(4, 1fr); } }
.trustband-card { text-align: left; }
.trustband-icon { display: block; width: 42px; height: 42px; margin-bottom: 14px; }
.trustband-icon svg { width: 100%; height: 100%; display: block; }
.trustband-card h3 { margin-bottom: 6px; font-size: .98rem; }
.trustband-card p { margin: 0; color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.trustband-know-more { display: inline-block; margin-top: 6px; font-size: .82rem; font-weight: 700; color: var(--blue); }
.trustband-know-more:hover { text-decoration: underline; }

.trustband-brandmark { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.trustband-brandmark-icon { width: 20px; height: 20px; border-radius: 5px; background: var(--blue); display: grid; place-content: center; }
.trustband-brandmark-icon svg { width: 12px; height: 12px; fill: #fff; }
.trustband-brandmark span { font-size: .78rem; font-weight: 700; color: var(--muted); }
.trustband-promise { font-size: 1.05rem; font-weight: 800; color: var(--ink); margin-bottom: 10px; }

.trustband-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.trustband-rating svg { width: 16px; height: 16px; fill: var(--green); }
.trustband-rating b { font-size: .84rem; color: var(--ink); }
.trustband-stars { display: flex; gap: 2px; margin-bottom: 6px; }
.trustband-star { width: 18px; height: 18px; background: var(--green); display: grid; place-content: center; }
.trustband-star svg { width: 12px; height: 12px; fill: #fff; }
.trustband-score { font-size: .78rem; color: var(--muted); margin-bottom: 10px; }
.trustband-score b { color: var(--ink); }

/* ---------- Activity detail page (GYG two-column layout) ---------- */
.activity-layout { display: grid; gap: 26px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .activity-layout { grid-template-columns: minmax(0,1.72fr) minmax(320px,.96fr); } }

.gallery { display: grid; gap: 8px; grid-template-columns: 1fr; margin: 16px 0 22px; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .gallery { grid-template-columns: 2fr 1fr; } }
.gallery-main { overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-side { display: grid; gap: 8px; }
.gallery-thumb { overflow: hidden; background: var(--bg-soft); aspect-ratio: 4/3.2; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.activity-meta { color: var(--ink-soft); font-size: .9rem; }
.detail-block { padding: 22px 0; border-top: 1px solid var(--line); }
.detail-block h2 { font-size: 1.2rem; }
.detail-block.two-col { display: grid; gap: 22px; }
@media (min-width: 700px) { .detail-block.two-col { grid-template-columns: 1fr 1fr; } }
.ticks, .crosses, .dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.ticks li, .crosses li, .dots li { padding-left: 26px; position: relative; color: var(--ink-soft); font-size: .92rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.crosses li::before { content: "✕"; position: absolute; left: 0; color: #c94a4a; font-weight: 800; }
.dots li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

.booking-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-hover); }
@media (min-width: 980px) { .booking-box { position: sticky; top: 78px; } }
.booking-box form { display: grid; gap: 12px; margin-top: 14px; }
.booking-box label, .form-card label { display: grid; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.booking-box input, .booking-box select, .booking-box textarea,
.form-card input, .form-card select, .form-card textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: .92rem; color: var(--ink); background: #fff;
}
.booking-box input:focus, .booking-box select:focus, .booking-box textarea:focus,
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blue); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-error { background: #fdecec; color: #a32626; padding: 10px 12px; border-radius: var(--radius-sm); font-size: .86rem; margin: 0; }
.form-note { font-size: .78rem; color: var(--muted); margin: 4px 0 0; text-align: center; }

/* ---------- Page headers ---------- */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 34px 0; }
.page-head h1 { margin-bottom: 6px; }
.page-head p { color: var(--ink-soft); max-width: 70ch; margin: 0; }
.lede { font-size: 1.08rem; color: var(--ink-soft); }

/* ---------- About / contact ---------- */
.prose { max-width: 68ch; }
.stat-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-card); }
.stat b { display: block; font-size: 1.4rem; color: var(--blue); }
.stat span { color: var(--muted); font-size: .86rem; }

.contact-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.2fr .9fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-card); }
.form-card form { display: grid; gap: 12px; }
.contact-details { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-details li { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.contact-details li > span:first-child { font-size: .76rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.contact-details a:hover { color: var(--blue); text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: #003b64; color: #cfe3f2; margin-top: 40px; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 40px 20px 24px; display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-logo { background: rgba(255,255,255,.12); }
.footer-brand-col p { margin-top: 14px; font-size: .9rem; }
.footer-col h3 { color: #fff; font-size: .92rem; margin-bottom: 12px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .9rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 20px; text-align: center; font-size: .82rem; color: #8fb3cc; }

/* ---------- Floating WhatsApp button ---------- */
.wa-fab { position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-content: center; box-shadow: var(--shadow-pop); }
.wa-fab:hover { background: var(--wa-dark); }
.wa-fab .wa-icon { width: 26px; height: 26px; }

/* ============================================================
   EDIT MODE (only rendered when ?admin=true)
   ============================================================ */
.edit-fab { position: fixed; right: 16px; bottom: 82px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; background: var(--blue); color: #fff; display: grid; place-content: center; box-shadow: var(--shadow-pop); }
.edit-fab svg { width: 21px; height: 21px; fill: currentColor; }
.edit-panel { position: fixed; right: 16px; bottom: 144px; z-index: 90; width: min(330px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-pop); padding: 16px; }
.edit-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.edit-panel-head button { background: none; border: 0; font-size: 1.4rem; cursor: pointer; line-height: 1; color: var(--muted); }
.edit-hint { font-size: .82rem; color: var(--muted); }
.edit-field { display: grid; gap: 5px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.edit-field input { padding: 9px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; }
.edit-actions { display: grid; gap: 8px; }
.ebtn { padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 700; cursor: pointer; text-align: left; }
.ebtn:hover { border-color: var(--blue); color: var(--blue); }
.ebtn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.ebtn-primary:hover { background: var(--blue-dark); color: #fff; }
.ebtn-danger { color: #a32626; }
.edit-status { font-size: .78rem; color: var(--muted); margin: 10px 0 0; }

body.edit-on [contenteditable="true"] { outline: 1px dashed var(--blue); outline-offset: 3px; border-radius: 4px; }
body.edit-on [contenteditable="true"]:focus { outline: 2px solid var(--blue); background: var(--blue-tint); }
body.edit-on .img-editable-target { outline: 2px dashed var(--green); outline-offset: -4px; cursor: pointer; }
body.edit-on .img-editable-target:hover { opacity: .85; }


/* CMS deployment corrections */
html,body,main{width:100%;max-width:none!important;margin-left:0;margin-right:0}
.hero-photo{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.uae-card-chip{display:none!important}

/* V8.6 hero cleanup */

/* ---------- V8.6 Premium footer ---------- */
.site-footer{
  background:linear-gradient(135deg,#12348f 0%,#173fb0 58%,#12348f 100%)!important;
  color:#fff!important;margin-top:40px!important;padding:0!important;
}
.footer-inner{
  max-width:1240px!important;margin:0 auto!important;padding:58px 28px 44px!important;
  display:grid!important;grid-template-columns:minmax(260px,1.35fr) repeat(2,minmax(150px,.8fr)) minmax(260px,1.1fr)!important;
  gap:48px!important;align-items:start!important;
}
.footer-brand-col p{color:rgba(255,255,255,.92)!important;font-size:.94rem!important;line-height:1.75!important;max-width:38ch!important;margin:18px 0 20px!important}
.footer-logo-wrap{display:flex;align-items:center;min-height:92px}
.footer-logo-img{max-width:330px;max-height:105px;width:auto;height:auto;object-fit:contain;display:block}
.footer-brand-fallback{display:flex;align-items:center;gap:12px;color:#fff;font-size:1.35rem;font-weight:800}
.footer-brand-fallback .brand-logo{width:52px;height:52px}
.site-footer .footer-col h3{
  color:#f5b33c!important;font-size:.82rem!important;letter-spacing:.18em!important;
  text-transform:uppercase!important;margin:4px 0 22px!important;font-weight:800!important;
}
.site-footer .footer-col ul{list-style:none!important;margin:0!important;padding:0!important;display:grid!important;gap:14px!important}
.site-footer .footer-col a,.site-footer .footer-col span{color:#fff!important;font-size:.93rem!important;line-height:1.45!important;text-decoration:none}
.site-footer .footer-col a:hover{text-decoration:underline!important}
.footer-socials{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.footer-social{
  width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.35);
  color:#fff!important;display:grid;place-items:center;font-weight:800;text-decoration:none!important;
  background:rgba(255,255,255,.04);transition:.16s ease;
}
.footer-social:hover{background:rgba(255,255,255,.16);transform:translateY(-1px);text-decoration:none!important}
.footer-social.is-wa{background:#20ce67;border-color:#20ce67}
.footer-contact-list li{display:flex;gap:10px;align-items:flex-start}
.footer-contact-icon{width:20px;flex:0 0 20px;color:#fff;font-weight:800}
.footer-payment-title{margin-top:24px!important}
.footer-payment-banner{display:block;max-width:100%;width:auto;max-height:86px;object-fit:contain;background:#fff;border-radius:12px;padding:5px}
.footer-payment-chips{display:flex;flex-wrap:wrap;gap:7px}
.footer-payment-chip{background:#fff!important;color:#17348c!important;border-radius:8px;padding:7px 10px;font-size:.75rem!important;font-weight:800;white-space:nowrap}
.footer-base{
  border-top:1px solid rgba(255,255,255,.22)!important;margin:0 auto!important;
  max-width:1240px!important;padding:20px 28px!important;text-align:center!important;
  color:rgba(255,255,255,.75)!important;font-size:.82rem!important;
}
.custom-common-section{padding:44px 20px;background:#fff}
.custom-common-section:nth-child(even){background:#f6f8fb}
.custom-common-inner{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1fr;gap:24px;align-items:center}
.custom-common-section.has-image .custom-common-inner{grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)}
.custom-common-section h2{font-size:clamp(1.5rem,2.6vw,2.2rem);margin:0 0 12px;color:var(--ink)}
.custom-common-section p{margin:0;color:var(--ink-soft);line-height:1.75;white-space:pre-line}
.custom-common-section img{width:100%;max-height:320px;object-fit:cover;border-radius:18px}
@media(max-width:980px){
  .footer-inner{grid-template-columns:1fr 1fr!important}
  .custom-common-section.has-image .custom-common-inner{grid-template-columns:1fr}
}
@media(max-width:620px){
  .footer-inner{grid-template-columns:1fr!important;padding:42px 22px 32px!important;gap:30px!important}
  .footer-logo-img{max-width:260px;max-height:90px}
}


/* Server-rendered latest blog section for internal linking + SEO */
.home-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.home-blog-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(13,36,56,.06)}.home-blog-media{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#eaf4ff,#dceaf6);overflow:hidden}.home-blog-media img{width:100%;height:100%;object-fit:cover}.home-blog-body{padding:18px}.home-blog-cat{display:inline-block;background:var(--blue-tint);color:var(--blue);font-weight:800;font-size:.75rem;border-radius:999px;padding:4px 9px;margin-bottom:8px}.home-blog-card h3{font-size:1.12rem;line-height:1.3;margin:0 0 8px}.home-blog-card p{color:var(--ink-soft);margin:0 0 12px}.home-blog-link{color:var(--blue);font-weight:800}.home-blog-all{display:inline-flex;margin-top:20px;color:var(--blue);font-weight:800}@media(max-width:900px){.home-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.home-blog-grid{grid-template-columns:1fr}}
.predictive-dropdown{position:absolute;left:20px;right:20px;top:calc(100% + 8px);z-index:90;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 48px rgba(13,36,56,.18);padding:10px;display:none;max-height:430px;overflow:auto}.predictive-dropdown.show{display:block}.predictive-group{padding:7px}.predictive-title{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:850;margin:2px 6px 6px}.predictive-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-radius:10px;color:var(--ink)}.predictive-item:hover{background:var(--bg-soft)}.predictive-item strong{font-size:.86rem}.predictive-item small{display:block;color:var(--muted);font-size:.72rem}.predictive-price{white-space:nowrap;color:var(--blue);font-weight:800;font-size:.78rem}@media(max-width:700px){.predictive-dropdown{left:10px;right:10px;top:calc(100% + 5px)}}

/* V9.4 optimization UI */
.predictive-dropdown{border:1px solid #e2e8ee;border-radius:12px;box-shadow:0 14px 38px rgba(13,36,56,.14);padding:7px;background:#fff;max-height:390px}.predictive-group{padding:5px}.predictive-title{font-size:.68rem;letter-spacing:.1em;color:#7a8794;margin:4px 7px 7px}.predictive-item{border-radius:9px;padding:10px 11px;transition:background .12s ease,transform .12s ease}.predictive-item:hover,.predictive-item.is-focus{background:#f6f7f9}.predictive-item strong{font-size:.88rem;color:#0d2438}.predictive-item small{font-size:.73rem;color:#7a8794;margin-top:2px}.predictive-price{color:#0071c2;font-size:.8rem}.predictive-status{padding:14px 12px;color:#7a8794;font-size:.8rem}.predictive-status b{display:block;color:#0d2438;margin-bottom:2px}
.environment-filter{display:inline-flex;gap:3px;align-items:center;padding:3px;border:1px solid #e1e7ed;background:#f7f9fb;border-radius:999px}.environment-filter span{padding:0 7px 0 5px;color:#6f8191;font-size:.73rem}.environment-btn{border:0;background:transparent;color:#526779;border-radius:999px;padding:7px 11px;font-weight:750;font-size:.76rem}.environment-btn:hover{background:#fff}.environment-btn.is-active{background:#fff;color:#0071c2;box-shadow:0 1px 4px rgba(13,36,56,.09)}
@media(max-width:700px){.predictive-dropdown{left:8px;right:8px}.environment-filter{width:100%;justify-content:center}.environment-filter span{display:none}.environment-btn{flex:1;text-align:center}}


/* V9.5 entity authority block */
.entity-authority{display:grid;grid-template-columns:1.5fr .85fr;gap:24px;align-items:stretch}.entity-authority-main,.entity-authority-side{border:1px solid var(--line);border-radius:18px;background:#fff;padding:24px;box-shadow:0 8px 24px rgba(13,36,56,.05)}.entity-authority-main h2{margin:0 0 10px}.entity-authority-main p,.entity-authority-side p{color:var(--ink-soft);line-height:1.7}.entity-authority-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.entity-authority-links a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--blue);color:var(--blue);font-weight:800;border-radius:10px;padding:9px 13px}.entity-authority-links a:hover{background:var(--blue-tint)}.entity-authority-list{margin:0;padding-left:18px;color:var(--ink-soft)}@media(max-width:760px){.entity-authority{grid-template-columns:1fr}}

/* V9.7 Headout-inspired predictive search: one focused search action, own site styling. */
.headout-search-wrap{max-width:920px;margin:-34px auto 0;position:relative;z-index:40;padding:0 20px}
.hero-search.headout-search{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;padding:8px!important;border:1px solid rgba(13,36,56,.10);border-radius:18px!important;background:#fff;box-shadow:0 16px 46px rgba(13,36,56,.16)}
.headout-search .headout-search-field{min-width:0;flex:1;display:flex;align-items:center;gap:13px;padding:5px 8px 5px 12px;border:0!important;border-radius:13px;background:#fff}
.headout-search-icon{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#f3f8fc;color:var(--blue)}
.headout-search-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.headout-search-copy{display:grid;gap:1px;min-width:0;flex:1}.headout-search-copy label{font-size:.69rem;font-weight:800;color:#536575;letter-spacing:.01em}.headout-search-copy input{border:0!important;outline:0!important;background:transparent!important;width:100%;padding:2px 0!important;font:inherit;font-size:1rem!important;font-weight:650;color:#0d2438}.headout-search-copy input::placeholder{color:#8b98a5;font-weight:500}
.headout-search-clear{display:none;width:32px;height:32px;border:0;border-radius:50%;background:#eef2f5;color:#536575;font-size:1.25rem;line-height:1;cursor:pointer}.headout-search-clear.show{display:grid;place-items:center}.headout-search-clear:hover{background:#e4ebf0;color:#0d2438}
.headout-search-submit{height:54px!important;min-width:126px;border-radius:13px!important;display:inline-flex!important;align-items:center;justify-content:center;gap:8px;padding:0 22px!important;font-weight:800}.headout-search-submit svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.headout-predictive{left:20px!important;right:20px!important;top:calc(100% + 10px)!important;padding:10px!important;border:1px solid #e1e7ec!important;border-radius:18px!important;box-shadow:0 24px 70px rgba(13,36,56,.20)!important;max-height:min(640px,72vh)!important;overflow:auto!important;background:#fff!important}
.search-panel-head{display:flex;align-items:flex-start;justify-content:space-between;padding:8px 10px 10px;border-bottom:1px solid #edf0f3;margin-bottom:3px}.search-panel-head b{display:block;font-size:.92rem;color:#0d2438}.search-panel-head span{display:block;margin-top:2px;font-size:.73rem;color:#7a8794}
.headout-predictive .predictive-group{padding:8px 5px}.headout-predictive .predictive-title{font-size:.69rem;letter-spacing:.08em;margin:2px 7px 8px}.search-result-row{display:grid!important;grid-template-columns:56px minmax(0,1fr) auto;align-items:center!important;gap:12px!important;padding:8px!important;border-radius:12px!important}.search-result-row:hover,.search-result-row.is-focus{background:#f5f8fa!important}.search-result-media{width:56px;height:48px;border-radius:10px;overflow:hidden;background:#edf3f7;display:grid;place-items:center;color:#0071c2;font-weight:900}.search-result-media img{width:100%;height:100%;object-fit:cover}.search-result-copy{min-width:0}.search-result-copy strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.88rem!important}.search-result-copy small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}.search-result-rating{display:block;font-size:.71rem;color:#f5a400;margin-top:3px;font-weight:800}.search-result-rating em{color:#7a8794;font-style:normal;font-weight:600}.search-result-price{text-align:right;white-space:nowrap;display:grid;justify-items:end;gap:0}.search-result-price small{font-size:.62rem;color:#7a8794}.search-result-price s{font-size:.65rem;color:#98a3ad}.search-result-price b{font-size:.82rem;color:#0d2438}
.search-compact-group{border-top:1px solid #f0f2f4}.search-chip-row{display:flex;flex-wrap:wrap;gap:7px;padding:0 5px}.search-mini-chip{border:1px solid #dde5eb;background:#fff;border-radius:999px;padding:7px 10px;color:#24384a;font-size:.74rem;font-weight:750;display:inline-flex;align-items:center;gap:7px;cursor:pointer;text-decoration:none}.search-mini-chip:hover,.search-mini-chip.is-focus{border-color:#0071c2;background:#f3f9fd;color:#0065aa}.search-mini-chip small{color:#8896a3;font-size:.66rem}.search-location-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:0 5px}.search-location-pill{border:1px solid #e5eaee;border-radius:11px;padding:9px 10px;display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:center;color:#263b4c}.search-location-pill>span{grid-row:1/3;color:#0071c2}.search-location-pill b{font-size:.78rem}.search-location-pill small{font-size:.66rem;color:#87939e}.search-location-pill:hover,.search-location-pill.is-focus{background:#f5f9fc;border-color:#bfd8e9}.search-see-all{margin:6px 5px 3px;padding:11px 12px;border-radius:11px;background:#eef7fd;color:#0069ad;font-size:.78rem;font-weight:750;display:flex;align-items:center;justify-content:space-between}.search-see-all:hover,.search-see-all.is-focus{background:#e1f1fb}.predictive-status{display:flex;flex-direction:column;gap:3px;padding:16px 12px!important}.predictive-status span{color:#7a8794}.predictive-status a{margin-top:6px;color:#0071c2;font-weight:800}.search-loading{flex-direction:row!important;align-items:center;gap:11px!important}.search-spinner{width:20px;height:20px;border:2px solid #d8e5ed;border-top-color:#0071c2;border-radius:50%;animation:searchSpin .8s linear infinite;flex:0 0 20px}@keyframes searchSpin{to{transform:rotate(360deg)}}
@media(max-width:700px){.headout-search-wrap{padding:0 12px;margin-top:-25px}.hero-search.headout-search{padding:7px!important;border-radius:15px!important}.headout-search .headout-search-field{padding-left:7px;gap:9px}.headout-search-icon{width:34px;height:34px;flex-basis:34px}.headout-search-copy label{display:none}.headout-search-copy input{font-size:.9rem!important}.headout-search-submit{min-width:54px;width:54px;height:48px!important;padding:0!important}.headout-search-submit span{display:none}.headout-predictive{left:12px!important;right:12px!important;top:calc(100% + 7px)!important;max-height:68vh!important}.search-result-row{grid-template-columns:50px minmax(0,1fr) auto}.search-result-media{width:50px;height:44px}.search-result-copy small{max-width:180px}.search-location-row{grid-template-columns:1fr}.search-result-price s{display:none}}


/* Homepage activity categories: reuse the same CMS footer links / live filters. */
.s6-category-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s6-category-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 17px 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 650; text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease, color .18s ease; }
.s6-category-link span { overflow-wrap: anywhere; }
.s6-category-link svg { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; color: var(--blue); }
.s6-category-link:hover, .s6-category-link:focus-visible { color: var(--blue); border-color: var(--blue); box-shadow: 0 3px 14px rgba(0, 113, 194, .09); }
.s6-category-link:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (max-width: 1023px) { .s6-category-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .s6-category-links { grid-template-columns: 1fr; gap: 10px; } .s6-category-link { padding: 14px 16px; } }
