/* Destinations list — the Home "View all" screen (dark gold edition, reference u02/u03).
   480 design-px column. Cards follow the u02 "Popular destinations" photo cards. */

/* ===== Shared page chrome (u03 pattern) — the SAME block is repeated in every inner-page css
   (confirm, destinations, destination, rides, bookings, profile, prices, notifications, support).
   Edit all copies together, or move it into app.css. ===== */
.topbar { justify-content: space-between; gap: 12px; }
.tb-brand { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; color: #D9AD5C; }
.tb-brand-main { margin-top: 4px; font-family: "Libre Caslon Display", var(--serif); font-size: 21px; line-height: 1; font-weight: 400; letter-spacing: .2em; padding-left: .2em; color: #D9AD5C; text-transform: uppercase; white-space: nowrap; }
.tb-brand-sub { margin-top: 6px; font-size: 10px; line-height: 1; font-weight: 500; letter-spacing: .27em; padding-left: .27em; color: #D9AD5C; text-transform: uppercase; white-space: nowrap; }
.tb-crown { width: 26px; height: 17px; flex: none; }
.page-head { padding-top: 26px; }
.page-head .kicker { font-size: 15px; line-height: 20px; letter-spacing: .14em; font-weight: 500; }
.page-head .page-title { margin-top: 4px; font-size: 48px; line-height: 1.04; font-weight: 500; text-transform: uppercase; letter-spacing: .01em; overflow-wrap: break-word; }
.page-head .page-lead { margin-top: 14px; font-size: 16px; line-height: 23px; color: var(--muted); }
.ornament { display: block; position: relative; width: 172px; height: 10px; margin-top: 12px; opacity: .9;
  background:
    radial-gradient(circle, var(--gold) 1.3px, transparent 1.7px) 72px 50% / 10px 10px no-repeat,
    radial-gradient(circle, var(--gold) 1.3px, transparent 1.7px) 90px 50% / 10px 10px no-repeat,
    linear-gradient(90deg, var(--gold), var(--gold)) 0 50% / 72px 1px no-repeat,
    linear-gradient(90deg, var(--gold), rgba(216,161,81,.2)) 100px 50% / 72px 1px no-repeat; }
.ornament::after { content: ""; position: absolute; left: 86px; top: 50%; width: 6px; height: 6px; border: 1px solid var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.section-head { align-items: center; }
.sec-h { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; letter-spacing: .16em; }
.sec-h svg { width: 18px; height: 18px; flex: none; color: var(--gold); }
.link-more { font-size: 13px; padding: 14px 0; margin: -14px 0; }
.link-more[hidden] { display: none; }
.btn { border-radius: 12px; }
.btn-secondary, .btn-quiet, .btn-danger { font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.btn-primary { font-size: 15px; }
.btn-sm { border-radius: 10px; font-size: 12.5px; }

/* ---------- Search + category chips ---------- */
.ds-tools { padding: 24px var(--gutter) 0; }
.ds-search { display: flex; cursor: text; align-items: center; min-height: 58px; padding-top: 0; padding-bottom: 0; padding-right: 8px; border-radius: 12px; background: var(--surface); }
.ds-search input { flex: 1; min-width: 0; height: 56px; padding: 0; font-size: 16.5px; letter-spacing: 0; color: var(--ink); }
.ds-search input::placeholder { color: #807B72; }
.ds-search input::-webkit-search-cancel-button,
.ds-search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.ds-clear { flex: none; width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: background .15s, color .15s; }
.ds-clear:hover { background: var(--gold-soft); color: var(--gold); }
.ds-clear svg { width: 18px; height: 18px; }
.ds-clear[hidden] { display: none; }

.ds-chips { margin-top: 16px; padding-top: 4px; padding-bottom: 10px; }
.ds-chips .chip-btn { height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 500; letter-spacing: .02em; color: var(--text); transition: background .18s, color .18s, box-shadow .18s; }
.ds-chips .chip-btn svg { width: 19px; height: 19px; color: var(--gold); transition: color .18s; }
.ds-chips .chip-btn[aria-pressed="true"] { color: var(--gold-2); }
.ds-chips .chip-btn[aria-pressed="true"] svg { color: var(--gold-2); }

/* ---------- Results ---------- */
.ds-results { padding-top: 18px; }
.ds-head { margin-bottom: 14px; }
.ds-head .sec-h { font-size: 14.5px; letter-spacing: .16em; }
.ds-head .sec-h b { font-weight: 500; color: var(--ink); }

.ds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ds-grid[hidden] { display: none; }

/* Card: u02 photo card — full photo, dark bottom gradient, white name, gold round arrow */
.dcard { position: relative; display: block; min-width: 0; height: 262px; border-radius: 14px; background: #1A1917; box-shadow: inset 0 0 0 1px rgba(216,161,81,.30); overflow: hidden; color: #FFF; isolation: isolate; transition: transform .15s, box-shadow .2s; animation: dcard-in .38s cubic-bezier(.2,.7,.3,1) backwards; animation-delay: calc(var(--i, 0) * 35ms); }
.dcard::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(216,161,81,.30); pointer-events: none; transition: box-shadow .2s; }
.dcard:hover::after { box-shadow: inset 0 0 0 1px rgba(216,161,81,.7); }
.dcard:hover { box-shadow: 0 0 22px rgba(216,161,81,.14); }
.dcard:active { transform: scale(.98); }
.dcard:focus-visible { border-radius: 14px; }
@keyframes dcard-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.dcard-photo { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 80% at 50% 20%, #2A2216, #121212); }
.dcard-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.dcard-photo img.is-broken { visibility: hidden; }
.dcard:hover .dcard-photo img { transform: scale(1.04); }
.dcard-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 42%, rgba(4,4,5,.72) 70%, rgba(4,4,5,.94) 100%); }

.dcard .heart { position: absolute; right: 4px; top: 4px; z-index: 3; width: 44px; height: 44px; }
.dcard .heart svg { width: 25px; height: 25px; stroke-width: 1.9; }

.dcard-tag { position: absolute; z-index: 1; left: 10px; top: 12px; height: 26px; padding: 0 10px; border-radius: 13px; background: rgba(7,7,8,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--gold-line); color: var(--gold-2); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.dcard-tag i { font-style: normal; color: rgba(255,255,255,.55); font-weight: 400; }

.dcard-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 0 12px 13px 13px; }
.dcard-name { font-size: 18px; line-height: 22px; font-weight: 500; letter-spacing: .005em; color: #FFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.dcard-meta { display: flex; align-items: center; gap: 8px; margin-top: 7px; }
.dcard-line { flex: 1; min-width: 0; font-size: 13px; line-height: 18px; color: rgba(255,255,255,.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard-line b { font-weight: 400; color: var(--gold-2); margin: 0 5px; }
.dcard-go { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: #121212; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 0 12px rgba(216,161,81,.35); transition: transform .2s; }
.dcard-go svg { width: 16px; height: 16px; }
.dcard:hover .dcard-go { transform: translateX(2px); }

/* Empty state */
.ds-empty { padding: 26px 20px 10px; animation: dcard-in .3s ease both; }
.ds-empty-ico { width: 72px; height: 72px; margin: 0 auto 16px; box-shadow: inset 0 0 0 1.5px var(--gold-line), 0 0 24px rgba(216,161,81,.12); }
.ds-empty-ico svg { width: 32px; height: 32px; }
.ds-empty .empty-title { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--gold); }
.ds-reset { margin-top: 18px; border-radius: 12px; }

/* ---------- "Not on the list?" banner ---------- */
.ds-custom { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; background: radial-gradient(130% 120% at 100% 0%, rgba(216,161,81,.16), rgba(216,161,81,0) 60%), var(--surface); box-shadow: inset 0 0 0 1px rgba(216,161,81,.30); }
.ds-custom-ico { flex: none; width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--gold); box-shadow: inset 0 0 0 1.5px rgba(216,161,81,.75); background: rgba(216,161,81,.06); }
.ds-custom-ico svg { width: 28px; height: 28px; }
.ds-custom-body { flex: 1; min-width: 0; }
.ds-custom-kicker { font-size: 11.5px; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; color: var(--gold); }
.ds-custom-title { margin-top: 4px; font-family: var(--serif); font-size: 26px; line-height: 30px; font-weight: 500; color: var(--ink); }
.ds-custom-text { margin-top: 4px; font-size: 14.5px; line-height: 20px; color: var(--muted); }
.ds-custom-btn { height: 54px; border-radius: 12px; font-size: 15px; }
.ds-custom-btn svg { width: 18px; height: 18px; }

/* App: cards are server-rendered and filtered by hiding them */
.ds-grid .dcard[hidden] { display: none; }

/* ===================== Desktop (>= 1024 px) — full-width website version =====================
   Phones/tablets never see these rules. The phone top bar is hidden by .dk-hide (desktop header replaces it). */
@media (min-width: 1024px) {
  .destinations .page-head,
  .destinations .ds-tools,
  .destinations .section { width: min(1200px, calc(100% - 64px)); margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }

  /* Title block */
  .destinations .page-head { padding-top: 64px; }
  .destinations .page-head .kicker { font-size: 14px; letter-spacing: .26em; }
  .destinations .page-head .page-title { margin-top: 8px; font-size: 68px; line-height: 1.02; }
  .destinations .ornament { margin-top: 18px; }
  .destinations .page-head .page-lead { margin-top: 18px; font-size: 18px; line-height: 27px; max-width: 560px; }

  /* Search + chips on one row */
  .ds-tools { display: flex; align-items: center; gap: 28px; padding-top: 40px; padding-bottom: 22px; border-bottom: 1px solid rgba(216,161,81,.18); }
  .ds-search { flex: 0 0 420px; min-height: 56px; box-shadow: inset 0 0 0 1px rgba(216,161,81,.30); transition: box-shadow .18s; }
  .ds-search:focus-within { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 18px rgba(216,161,81,.14); }
  .ds-search input { height: 54px; font-size: 16px; }
  .ds-chips { flex: 1; min-width: 0; margin: 0; padding: 0; overflow: visible; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
  .ds-chips .chip-btn { cursor: pointer; }
  .ds-chips .chip-btn[aria-pressed="false"]:hover { color: var(--gold-2); box-shadow: inset 0 0 0 1px var(--gold); background: rgba(216,161,81,.06); }

  /* Results: 4 cards per row */
  .ds-results { padding-top: 36px; }
  .ds-head { margin-bottom: 20px; }
  .ds-head .sec-h { font-size: 14px; letter-spacing: .2em; }
  .ds-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .dcard { height: 330px; border-radius: 16px; }
  .dcard:focus-visible { border-radius: 16px; }
  .dcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 26px rgba(216,161,81,.16); }
  .dcard:active { transform: translateY(-2px) scale(.99); }
  .dcard-tag { left: 14px; top: 14px; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 13px; }
  .dcard-body { padding: 0 16px 18px 18px; }
  .dcard-name { font-family: var(--serif); font-size: 24px; line-height: 28px; font-weight: 400; letter-spacing: .01em; }
  .dcard-meta { margin-top: 9px; }
  .dcard-line { font-size: 14px; line-height: 19px; }
  .dcard-go { width: 34px; height: 34px; }
  .dcard-go svg { width: 17px; height: 17px; }

  .ds-empty { padding: 56px 20px 24px; }
  .ds-empty .empty-title { font-size: 30px; }

  /* "Not on the list?" banner as a wide horizontal strip */
  .destinations .section:last-child { padding-top: 56px; }
  .ds-custom { flex-wrap: nowrap; gap: 28px; padding: 34px 40px; border-radius: 18px; }
  .ds-custom-ico { width: 76px; height: 76px; }
  .ds-custom-ico svg { width: 34px; height: 34px; }
  .ds-custom-kicker { font-size: 12.5px; }
  .ds-custom-title { margin-top: 6px; font-size: 34px; line-height: 40px; }
  .ds-custom-text { margin-top: 6px; font-size: 16px; line-height: 24px; max-width: 560px; }
  .ds-custom-btn { flex: none; width: auto; height: 58px; padding: 0 30px; }
}
