/* NNomadic — public marketplace and destination guides.
 *
 * This file adds ONLY what css/site.css does not already provide. Everything that the
 * static site already styles — .btn-*, .card, .chip, .chips, .pill, .split, .grid,
 * .form-grid, .field, .table, .stat-card, .feature, .tick, .trust, .price-block,
 * .section-head, .hero, .band, .wrap, .pkg-includes — is reused as-is, which is why the
 * marketplace pages inherit the site's type scale, colours and breakpoints for free.
 *
 * Brand tokens come from css/site.css (:root). Nothing here redefines one.
 * Breakpoints match the site exactly: 1180 / 1080 / 900 / 720, plus a 420 tightening
 * so that nothing overflows horizontally at 400px.
 */

/* ── shared utilities ─────────────────────────────────────────────────────────── */

/* Visually hidden, still read by assistive technology. */
.mk-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link — the static pages have none; these pages carry a long header and sub-nav. */
.mk-skip {
  position: absolute; left: 12px; top: -60px; z-index: 60;
  padding: 12px 18px; border-radius: 0 0 11px 11px;
  background: var(--navy); color: #fff; font-family: Sora, serif;
  font-size: 13.5px; font-weight: 600; transition: top .15s ease;
}
.mk-skip:focus { top: 0; color: #fff; }

/* The placeholder used wherever css/photos.css has no photo for a destination.
 * We do not hotlink new external imagery, and the page CSP would block it anyway. */
.mk-photo-blank {
  background-image:
    linear-gradient(135deg, rgba(43,179,170,0.30), rgba(27,33,89,0.04) 58%),
    linear-gradient(200deg, var(--navy) 0%, var(--navy-mid) 52%, #2E3A7A 100%);
  background-size: cover;
}

/* Visible focus everywhere on these pages, including inside dark bands. */
.mk-subnav a:focus-visible, .mk-chip:focus-visible, .mk-rail:focus-visible,
.mk-card-link:focus-visible, .mk-desttile:focus-visible, .mk-cat:focus-visible,
.mk-pager-num:focus-visible, .mk-pager-step:focus-visible, .mk-faq summary:focus-visible,
.mk-agent-cta:focus-visible, .mk-result-photo:focus-visible, .mk-clear:focus-visible,
.mk-onthispage a:focus-visible, .mk-citylist a:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px;
}

/* ── secondary navigation and breadcrumbs ─────────────────────────────────────── */

/* The site header has `margin-bottom: -var(--bar-h)` and overlaps whatever follows it.
 * On the static pages that is the hero, which reclaims the space with
 * `main > section.hero:first-of-type { padding-top: var(--bar-h) }`. Here the sub-nav
 * comes first, so it takes the offset and the hero must give it back. */
.mk-subnav { background: #fff; border-bottom: 1px solid var(--line); padding-top: var(--bar-h); }
.mk-subnav ~ main > section.hero:first-of-type { padding-top: 0; }
.mk-subnav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding-top: 14px; padding-bottom: 12px;
}
.mk-subnav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.mk-subnav-links a {
  font-family: Sora, serif; font-size: 13.5px; font-weight: 500; color: var(--navy);
  padding: 5px 0 3px; border-bottom: 2px solid transparent;
}
.mk-subnav-links a:hover { color: var(--ember); }
.mk-subnav-links a.is-on { color: var(--ember); font-weight: 600; border-bottom-color: var(--ember); }
.mk-subnav-agent {
  font-family: Sora, serif; font-size: 12.5px; font-weight: 600; color: var(--teal-ink);
  white-space: nowrap;
}
.mk-subnav-agent:hover { color: var(--navy); }

.mk-crumbs {
  display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none;
  margin: 0; padding: 0 0 12px; font-size: 12px; color: var(--muted);
}
.mk-crumbs li + li::before { content: "›"; margin-right: 6px; color: #B9C7DA; }
.mk-crumbs a { color: var(--muted); font-weight: 600; }
.mk-crumbs a:hover { color: var(--ember); }
.mk-crumbs [aria-current] { color: var(--navy); font-weight: 700; }

/* ── the agent-rate call to action ────────────────────────────────────────────────
 * Stands in for the agent net rate, which public pages never show. See the pricing
 * rule in marketplace/lib/Catalogue.php. */

.mk-agent-cta {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: 12px; font-weight: 700; color: var(--teal-ink); letter-spacing: 0.01em;
}
.mk-agent-cta:hover { color: var(--ember); }
.mk-agent-cta.is-block {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  margin: 14px 0; padding: 14px 16px; border-radius: 12px;
  background: rgba(43,179,170,0.10); border: 1px solid rgba(43,179,170,0.34);
}
.mk-agent-cta.is-block b { font-family: Sora, serif; font-size: 14.5px; color: var(--navy); }
.mk-agent-cta.is-block > span { font-size: 12px; font-weight: 500; line-height: 1.5; color: var(--body); }
.mk-agent-cta-alt { color: var(--ember); font-weight: 700; }

/* ── rating, availability and price fragments ─────────────────────────────────── */

.mk-rating { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 0; }
.mk-stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }

.mk-avail { display: inline-flex; align-items: center; gap: 7px; margin: 0; font-size: 12px; font-weight: 700; }
.mk-avail-dot { width: 8px; height: 8px; border-radius: 99px; background: currentColor; flex: none; }
.mk-avail.is-ok { color: var(--teal-ink); }
.mk-avail.is-warn { color: #A8631A; }
.mk-avail.is-off { color: #9AA4B6; }
.mk-avail-detail { font-size: 11.5px; color: var(--muted); }

.mk-price-note { font-size: 11.5px; line-height: 1.45; color: var(--muted); margin: 4px 0 0; }

/* ── product card and horizontal rail ─────────────────────────────────────────── */

.mk-rail {
  display: flex; gap: 14px; list-style: none; margin: 0; padding: 2px 2px 14px;
  overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.mk-rail > li { flex: 0 0 300px; max-width: 300px; scroll-snap-align: start; display: flex; }
.mk-rail > li > .mk-card { width: 100%; }
.mk-rail-note { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

/* Injected by marketplace.js. The rail is scrollable with keyboard and touch without
   these; they exist for pointer users on devices with no horizontal scroll gesture. */
.mk-railnav { display: flex; justify-content: flex-end; gap: 7px; margin: -12px 0 10px; }
.mk-railbtn {
  width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: 15px; cursor: pointer; line-height: 1;
}
.mk-railbtn:hover:not(:disabled) { border-color: var(--navy); }
.mk-railbtn:disabled { color: #C3CEDE; cursor: default; }
.on-navy .mk-railbtn { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); color: #fff; }

.mk-card { background: #fff; }
.mk-card-photo { display: block; height: 152px; position: relative; background-position: center; background-size: cover; }
.mk-card-pin {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 7px;
  background: rgba(19,26,74,0.82); color: #fff; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.mk-card h3 { font-size: 15.5px; line-height: 1.32; }
.mk-card-link { color: var(--navy); }
.mk-card-link:hover { color: var(--ember); }
.mk-card p { font-size: 12.5px; }
.mk-card .foot { align-items: center; }

/* ── landing hero and search ──────────────────────────────────────────────────── */

.mk-hero .hero-inner { padding-bottom: 52px; }
.mk-search { margin: 30px 0 0; max-width: 1180px; }
.mk-search-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
  padding: 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 26px 60px rgba(9,14,45,0.40);
}
.mk-field-wide { grid-column: span 2; }
.mk-search .field > span { color: var(--faint); }
.mk-search-go { grid-column: span 2; align-self: end; padding: 15px 22px; }
.mk-search .form-note { display: block; margin-top: 12px; color: #B9C2E4; font-size: 12px; }
.mk-search .form-note a { color: var(--teal-light); font-weight: 700; }

/* ── search results layout ────────────────────────────────────────────────────── */

.mk-results-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }

.mk-filters { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.mk-filters-shell { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px 18px; }
.mk-filters-shell > summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 14px 0; cursor: pointer; list-style: none;
}
.mk-filters-shell > summary::-webkit-details-marker { display: none; }
.mk-filters-shell > summary h2 { font-size: 17px; margin: 0; }
.mk-filters-count { font-size: 11.5px; font-weight: 700; color: var(--teal-ink); }

.mk-fs { border: 0; border-top: 1px solid var(--line-soft); margin: 0; padding: 14px 0 4px; min-width: 0; }
.mk-fs legend { padding: 0; margin-bottom: 9px; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.mk-opts { display: flex; flex-direction: column; gap: 2px; }
.mk-opt {
  display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 8px;
  font-size: 13px; color: var(--ink); cursor: pointer;
}
.mk-opt:hover { background: #F4F7FB; }
.mk-opt input { accent-color: var(--teal-ink); flex: none; margin: 0; width: 15px; height: 15px; }
.mk-opt > span { flex: 1; min-width: 0; }
.mk-opt > b { font-size: 11px; font-weight: 700; color: var(--faint); }
.mk-opt:has(input:checked) { background: rgba(43,179,170,0.12); color: var(--navy); font-weight: 600; }

.mk-filter-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.mk-clear { font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.mk-clear:hover { color: var(--ember); }
.mk-aside-note { padding: 18px; font-size: 12.5px; }
.mk-aside-note div { font-size: 12.5px; }

.mk-results { min-width: 0; }
.mk-results-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; margin-bottom: 14px;
}
.mk-results-count { font-size: 13.5px; color: var(--muted); margin: 0; }
.mk-results-count b { color: var(--navy); }
.mk-sort { display: flex; align-items: flex-end; gap: 8px; }
.mk-sort .field { min-width: 190px; }
.mk-sort-go { white-space: nowrap; }
/* marketplace.js submits on change, so the button becomes a fallback rather than the
   primary control. It stays visible and operable — it is the no-JS path. */
.mk-sort-go-quiet { opacity: 0.7; }
.mk-sort-go-quiet:hover { opacity: 1; }

.mk-chiprow { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0 0 18px; padding: 0; }
.mk-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 99px;
  background: var(--navy); color: #fff; font-size: 12px; font-weight: 700;
}
.mk-chip:hover { background: var(--ember); color: #fff; }
.mk-chip.is-clear { background: transparent; border: 1px solid #C3CEDE; color: var(--muted); }
.mk-chip.is-clear:hover { background: transparent; border-color: var(--ember); color: var(--ember); }

.mk-empty { align-items: flex-start; gap: 14px; }
.mk-empty h1, .mk-empty h3 { margin: 0; font-size: 21px; }

.mk-resultlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mk-result {
  display: grid; grid-template-columns: 240px minmax(0, 1fr) 230px; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.mk-result-photo { display: block; position: relative; min-height: 210px; background-position: center; background-size: cover; }
.mk-result-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.mk-result-cat { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.mk-result-body h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.mk-result-body h3 a { color: var(--navy); }
.mk-result-body h3 a:hover { color: var(--ember); }
.mk-result-desc { font-size: 13px; line-height: 1.6; color: var(--muted); margin: 0; }
.mk-result-hi { margin-top: 2px; }
.mk-result-buy {
  padding: 20px 22px; border-left: 1px solid var(--line-soft); background: #FBFCFE;
  display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
}
.mk-price { margin-top: 8px; }
.mk-result-buy .btn { margin-top: auto; }

/* ── pagination ───────────────────────────────────────────────────────────────── */

.mk-pager { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.mk-pager-nums { display: flex; gap: 5px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.mk-pager-num, .mk-pager-step {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line); background: #fff;
  font-family: Sora, serif; font-size: 13px; font-weight: 600; color: var(--navy);
}
.mk-pager-num:hover, .mk-pager-step:hover { border-color: var(--navy); color: var(--navy); }
.mk-pager-num.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.mk-pager-step.is-off { color: #B2BCCC; border-color: var(--line-soft); }

/* ── destination tiles, country blocks, category row ──────────────────────────── */

.mk-destgrid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  list-style: none; margin: 0; padding: 0;
}
.mk-destgrid > li { display: flex; }
.mk-desttile {
  position: relative; display: flex; align-items: flex-end; width: 100%; min-height: 200px;
  padding: 18px; border-radius: 16px; overflow: hidden; color: #fff;
  background-position: center; background-size: cover;
}
.mk-desttile.is-tall { min-height: 250px; }
.mk-desttile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,26,74,0.10) 20%, rgba(19,26,74,0.86) 100%);
}
.mk-desttile:hover::before { background: linear-gradient(180deg, rgba(19,26,74,0.24) 10%, rgba(19,26,74,0.92) 100%); }
.mk-desttile-body { position: relative; display: flex; flex-direction: column; gap: 3px; }
.mk-desttile b { font-family: Sora, serif; font-size: 19px; font-weight: 600; color: #fff; }
.mk-desttile-body > span { font-size: 12px; color: #C3D4E6; }
.mk-desttile-tag { font-size: 11.5px; font-style: italic; color: var(--teal-light); }
.mk-desttile em { margin-top: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--teal-light); }
.mk-desttile:hover em { color: #fff; }

.mk-country {
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.mk-country-photo { position: relative; min-height: 220px; background-position: center; background-size: cover; }
.mk-country-flagname {
  position: absolute; left: 16px; top: 16px; padding: 6px 11px; border-radius: 8px;
  background: rgba(19,26,74,0.82); color: #fff; font-family: Sora, serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em;
}
.mk-country-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mk-country-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mk-country-head h3 { font-size: 22px; margin: 0; }
.mk-country-head h3 a { color: var(--navy); }
.mk-country-head h3 a:hover { color: var(--ember); }
.mk-country-meta { font-size: 11.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--teal-ink); }
.mk-country-lede { font-size: 13.5px; line-height: 1.62; color: var(--muted); margin: 0; }
.mk-country-actions { margin-top: auto; }

.mk-citylist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.mk-citylist li { display: flex; flex-direction: column; gap: 2px; }
.mk-citylist a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 9px 12px; border-radius: 10px; background: #F4F7FB;
}
.mk-citylist a:hover { background: var(--navy); }
.mk-citylist a:hover b, .mk-citylist a:hover span { color: #fff; }
.mk-citylist b { font-family: Sora, serif; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.mk-citylist a > span { font-size: 11px; font-weight: 700; color: var(--faint); }
.mk-citylist-tag { font-size: 11px; line-height: 1.4; color: var(--muted); padding: 0 12px; }

.mk-catrow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.mk-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 15px 17px; border-radius: 12px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18);
}
.mk-cat:hover { background: rgba(255,255,255,0.15); }
.mk-cat b { font-family: Sora, serif; font-size: 14px; font-weight: 600; color: #fff; }
.mk-cat span { font-size: 11.5px; font-weight: 700; color: var(--teal-light); }

/* ── product detail ───────────────────────────────────────────────────────────── */

.mk-pgallery { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 3px; background: var(--bg); }
.mk-pgallery-main { position: relative; min-height: 380px; background-position: center; background-size: cover; }
.mk-pgallery-tag {
  position: absolute; left: 22px; bottom: 22px; padding: 8px 14px; border-radius: 9px;
  background: rgba(19,26,74,0.84); color: #fff; font-family: Sora, serif;
  font-size: 13px; font-weight: 600;
}
.mk-pgallery-side { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 3px; list-style: none; margin: 0; padding: 0; }
.mk-pgallery-side li { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 20px; background: #fff; }
.mk-tile-k { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.mk-pgallery-side b { font-family: Sora, serif; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.mk-pgallery-note { grid-column: 1 / -1; margin: 0; padding: 10px 0 0; font-size: 11.5px; color: var(--muted); }

.mk-pbody { padding-top: 46px; }
.mk-plan { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.mk-pmain { min-width: 0; }

.mk-phead { margin-bottom: 32px; }
.mk-pcat { margin: 0 0 8px; }
.mk-phead h1 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; margin: 0 0 14px; text-wrap: pretty; }
.mk-pmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 0 14px; font-size: 13px; color: var(--muted); }
.mk-pmeta > span { display: inline-flex; align-items: center; gap: 7px; }

.mk-sect { padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line-soft); }
.mk-sect:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.mk-sect h2 { font-size: clamp(20px, 2.2vw, 26px); margin: 0 0 16px; }
.mk-sect p { font-size: 14.5px; line-height: 1.72; color: var(--body); margin: 0 0 14px; }
.mk-lede { font-size: 16px !important; line-height: 1.66 !important; color: var(--ink) !important; font-weight: 500; }
.mk-hi li { font-size: 13.5px; padding-left: 22px; }

.mk-itin { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mk-itin li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 16px; padding: 0 0 20px; position: relative; }
.mk-itin li::before {
  content: ""; position: absolute; left: 6px; top: 20px; bottom: -4px; width: 2px; background: var(--line);
}
.mk-itin li:last-child::before { display: none; }
.mk-itin-time {
  position: relative; padding-left: 22px; font-family: Sora, serif; font-size: 12.5px;
  font-weight: 700; color: var(--teal-ink); padding-top: 2px;
}
.mk-itin-time::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px;
  border-radius: 99px; background: #fff; border: 3px solid var(--teal);
}
.mk-itin-body b { font-family: Sora, serif; font-size: 15.5px; font-weight: 600; display: block; margin-bottom: 4px; }
.mk-itin-body p { font-size: 13.5px !important; line-height: 1.62 !important; margin: 0 !important; }

.mk-inex .card h3 { font-size: 15px; margin-bottom: 4px; }
.mk-exclusions { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 6px; }
.mk-exclusions li { position: relative; padding-left: 20px; font-size: 12.5px; line-height: 1.45; color: var(--body); }
.mk-exclusions li::before { content: "✕"; position: absolute; left: 0; top: 0; color: #C08A2E; font-weight: 700; }

.mk-where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 26px; align-items: start; }
.mk-where-text h3 { font-size: 15px; margin: 0 0 8px; }
.mk-where-note { font-size: 12.5px !important; color: var(--muted) !important; }
.mk-schematic { margin: 0; }
.mk-schematic-svg { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 14px; background: #F7F9FC; }
.mk-schematic figcaption { margin-top: 9px; font-size: 11.5px; line-height: 1.5; color: var(--muted); }

.mk-cxtable { min-width: 520px; }
.mk-cxtable .thead, .mk-cxtable .trow { grid-template-columns: 1.1fr 0.7fr 1.9fr; }
.mk-cxnote { font-size: 13px !important; color: var(--muted) !important; margin-top: 14px !important; }

.mk-reviews { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 26px; align-items: start; }
.mk-review-score {
  display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 15px;
  background: var(--card); border: 1px solid var(--line); text-align: center; align-items: center;
}
.mk-review-score b { font-family: Sora, serif; font-size: 40px; font-weight: 600; color: var(--navy); line-height: 1; }
.mk-review-score .mk-stars { font-size: 16px; }
.mk-review-score > span { font-size: 12px; color: var(--muted); }
.mk-review-book { font-size: 11px !important; color: var(--faint) !important; }
.mk-review-bars { display: flex; flex-direction: column; gap: 8px; }
.mk-review-row { display: grid; grid-template-columns: 62px minmax(0, 1fr) 42px; gap: 12px; align-items: center; }
.mk-review-band { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.mk-review-track { height: 9px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.mk-review-fill { display: block; height: 100%; border-radius: 99px; background: var(--gold); }
.mk-review-pct { font-size: 11.5px; font-weight: 700; color: var(--navy); text-align: right; }
.mk-review-policy { font-size: 12.5px !important; line-height: 1.6 !important; color: var(--muted) !important; margin: 10px 0 0 !important; }

.mk-provider { gap: 14px; }
.mk-provider-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.mk-provider-head h3 { font-size: 18px; margin: 0; }
.mk-provider-legal { font-size: 12.5px !important; color: var(--muted) !important; margin: 4px 0 0 !important; }
.mk-verified {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 99px;
  background: rgba(43,179,170,0.14); border: 1px solid rgba(43,179,170,0.4);
  font-size: 11.5px; font-weight: 700; color: var(--teal-ink); white-space: nowrap;
}
.mk-verified.is-pending { background: rgba(192,138,46,0.12); border-color: rgba(192,138,46,0.4); color: #8A6218; }
.mk-provider-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 4px 0 0; }
.mk-provider-facts dt { font-size: 10px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.mk-provider-facts dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.mk-provider-note { font-size: 12.5px !important; line-height: 1.62 !important; color: var(--muted) !important; margin: 4px 0 0 !important; }

.mk-pbuy { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 96px; }
.mk-buycard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.mk-buyprice b { font-size: 34px; }
.mk-buyfacts { display: flex; flex-direction: column; gap: 0; margin: 4px 0 0; }
.mk-buyfacts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.mk-buyfacts dt { font-size: 12px; color: var(--muted); }
.mk-buyfacts dd { margin: 0; font-size: 13px; font-weight: 700; color: var(--navy); text-align: right; }
.mk-buyactions { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.mk-wishnote { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin: 2px 0 0; }
.mk-buyops { font-size: 11.5px; line-height: 1.55; color: var(--muted); margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.mk-destcard h3 { font-size: 18px; margin: 6px 0 0; }
.mk-destcard p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 0 0 6px; }

/* ── destination guide ────────────────────────────────────────────────────────── */

.mk-guide-tagline { font-family: Sora, serif; font-size: clamp(16px, 1.8vw, 20px); font-weight: 500; color: var(--teal-light); margin: -6px 0 14px; }
.mk-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px;
  list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid rgba(255,255,255,0.14);
}
.mk-facts li { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mk-facts span { font-size: 10.5px; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.mk-facts b { font-family: Sora, serif; font-size: 14px; font-weight: 500; color: #fff; line-height: 1.4; }

.mk-onthispage { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--bar-h); z-index: 20; }
.mk-onthispage-inner { display: flex; align-items: center; gap: 18px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
.mk-onthispage span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.mk-onthispage a { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.mk-onthispage a:hover { color: var(--ember); }
.mk-onthispage a.is-on, .mk-onthispage a[aria-current] { color: var(--ember); border-bottom: 2px solid var(--ember); }

.mk-prose h2 { font-size: clamp(24px, 2.8vw, 34px); margin: 12px 0 18px; line-height: 1.14; }
.mk-prose p { font-size: 15.5px; line-height: 1.75; color: var(--body); margin: 0 0 16px; text-wrap: pretty; }
.mk-aside-h { font-size: 15px; margin: 0 0 12px; }
.mk-areas { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mk-areas li { padding: 15px 17px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.mk-areas b { font-family: Sora, serif; font-size: 14.5px; font-weight: 600; display: block; margin-bottom: 4px; }
.mk-areas span { font-size: 12.5px; line-height: 1.58; color: var(--muted); }

.mk-when-summary { font-size: 15.5px; line-height: 1.72; color: var(--body); max-width: 860px; margin: -8px 0 26px; text-wrap: pretty; }
.mk-season h3 { font-size: 15px; color: var(--teal-ink); }
.mk-season p { font-size: 13px; line-height: 1.62; }

.mk-weather-note {
  font-size: 13.5px; line-height: 1.66; color: var(--body); max-width: 900px;
  margin: -8px 0 24px; padding: 16px 18px; border-radius: 13px;
  background: rgba(43,179,170,0.08); border: 1px solid rgba(43,179,170,0.3);
}
.mk-weather-note b { color: var(--navy); }

.mk-months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.mk-month {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px; border-radius: 13px; background: var(--card); border: 1px solid var(--line);
  text-align: center; min-width: 0;
}
.mk-month-name { font-family: Sora, serif; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.mk-month-bar { position: relative; width: 9px; height: 74px; border-radius: 99px; background: var(--line-soft); }
.mk-month-fill { position: absolute; left: 0; right: 0; border-radius: 99px; background: linear-gradient(180deg, var(--ember), var(--teal)); }
.mk-month-temps { display: flex; align-items: baseline; gap: 5px; }
.mk-month-temps b { font-family: Sora, serif; font-size: 14px; font-weight: 600; color: var(--navy); }
.mk-month-temps span { font-size: 11.5px; color: var(--muted); }
.mk-month-note { font-size: 10.5px; line-height: 1.4; color: var(--muted); }

.mk-todo { position: relative; padding-top: 26px; }
.mk-todo-n {
  position: absolute; top: -14px; left: 22px; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 99px; background: var(--navy); color: #fff;
  font-family: Sora, serif; font-size: 13px; font-weight: 600;
}
.mk-todo h3 { font-size: 16px; line-height: 1.3; }
.mk-todo p { font-size: 13px; line-height: 1.64; }

.mk-faqs { display: flex; flex-direction: column; gap: 10px; }
.mk-faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.mk-faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-family: Sora, serif; font-size: 15.5px; font-weight: 600; color: var(--navy);
}
.mk-faq summary::-webkit-details-marker { display: none; }
.mk-faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--teal-ink); flex: none; line-height: 1; }
.mk-faq[open] summary::after { content: "–"; }
.mk-faq p { margin: 0; padding: 0 22px 20px; font-size: 14px; line-height: 1.7; color: var(--body); }

/* ── responsive · matches the site's 1180 / 1080 / 900 / 720 breakpoints ───────── */

@media (max-width: 1180px) {
  .mk-subnav, .mk-onthispage { top: var(--bar-h); }
  .mk-results-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 20px; }
  .mk-result { grid-template-columns: 200px minmax(0, 1fr) 210px; }
  .mk-plan { grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; }
  .mk-destgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  .mk-results-layout { grid-template-columns: minmax(0, 1fr); }
  .mk-filters { position: static; }
  /* The filter panel collapses on small screens; <details> does this without script. */
  .mk-filters-shell:not([open]) { padding-bottom: 4px; }
  .mk-filter-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .mk-filter-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px; }
  .mk-filter-actions .btn { width: auto; display: inline-block; }
  .mk-plan { grid-template-columns: minmax(0, 1fr); }
  .mk-pbuy { position: static; }
  .mk-pgallery { grid-template-columns: minmax(0, 1fr); }
  .mk-pgallery-main { min-height: 300px; }
  .mk-pgallery-side { grid-template-rows: none; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mk-where { grid-template-columns: minmax(0, 1fr); }
  .mk-country { grid-template-columns: 200px minmax(0, 1fr); }
  .mk-catrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .mk-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-field-wide, .mk-search-go { grid-column: span 2; }
  .mk-result { grid-template-columns: 170px minmax(0, 1fr); }
  .mk-result-buy {
    grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line-soft);
    flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  }
  .mk-result-buy .btn { margin-top: 0; margin-left: auto; }
  .mk-destgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-reviews { grid-template-columns: minmax(0, 1fr); }
  .mk-citylist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-provider-facts { grid-template-columns: minmax(0, 1fr); }
  .mk-months { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .mk-search-grid { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .mk-field-wide, .mk-search-go { grid-column: auto; }
  .mk-filter-form { grid-template-columns: minmax(0, 1fr); }
  .mk-filter-actions { flex-direction: column; align-items: stretch; }
  .mk-filter-actions .btn { width: 100%; display: block; }
  .mk-result { grid-template-columns: minmax(0, 1fr); }
  .mk-result-photo { min-height: 170px; }
  .mk-result-body { padding: 18px; }
  .mk-result-buy { padding: 16px 18px; }
  .mk-result-buy .btn { margin-left: 0; width: 100%; }
  .mk-country { grid-template-columns: minmax(0, 1fr); }
  .mk-country-photo { min-height: 150px; }
  .mk-catrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-pgallery-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-facts { grid-template-columns: minmax(0, 1fr); }
  .mk-inex { gap: 12px; }
  .mk-sort { width: 100%; }
  .mk-sort .field { flex: 1; min-width: 0; }
  .mk-months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-month-bar { height: 56px; }
  .mk-itin li { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }
  .mk-pgallery-main { min-height: 230px; }
  .mk-onthispage-inner { gap: 14px; }
}

/* Below 420px the rail cards and the month grid are the only things that could push
   the page wider than the viewport. Both are constrained here. */
@media (max-width: 420px) {
  .mk-rail > li { flex-basis: min(260px, 82vw); max-width: min(260px, 82vw); }
  .mk-months { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-destgrid { grid-template-columns: minmax(0, 1fr); }
  .mk-citylist { grid-template-columns: minmax(0, 1fr); }
  .mk-catrow { grid-template-columns: minmax(0, 1fr); }
  .mk-cxtable { min-width: 380px; }
  .mk-review-row { grid-template-columns: 52px minmax(0, 1fr) 36px; gap: 8px; }
  .mk-itin li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mk-itin li::before { display: none; }
  .mk-buyprice b { font-size: 28px; }
  .mk-pmeta { gap: 6px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .mk-rail { scroll-behavior: auto; }
}
