:root {
  /* "midnight" palette */
  --bg: #0a0a0a;
  --surface: rgba(234, 244, 255, 0.04);
  --surface-hi: rgba(234, 244, 255, 0.08);
  --fg: #eaf4ff;
  --muted: rgba(234, 244, 255, 0.62);
  --dim: rgba(234, 244, 255, 0.38);
  --line: rgba(234, 244, 255, 0.10);
  --accent: #61b7f2;
  --accent2: #8fcdf7;
  --on-accent: #0a1628;
  --radius: 16px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* Winitrip pill button (blue gradient, dark text, uppercase) */
.btn {
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color: var(--on-accent); border: none; border-radius: 999px;
  padding: 12px 20px; font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase; transition: filter 160ms, transform 160ms;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

/* ── Header ─────────────────────────────────────────────── */
header.site {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px clamp(16px, 5vw, 56px);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color: var(--on-accent); display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 18px;
}
.brand .wordmark { font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.brand .sub { font-size: 11px; color: var(--dim); letter-spacing: 0.2em; text-transform: uppercase; margin-left: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--fg); }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface-hi); color: var(--fg); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 16px 9px 18px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cart-btn:hover { border-color: var(--accent); }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero { padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 56px) 40px; max-width: 940px; }
.hero .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
.hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(40px, 7vw, 84px); line-height: 0.95; margin: 18px 0 20px;
}
.hero p { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 640px; margin: 0; }

/* ── Filters ────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px clamp(16px, 5vw, 56px) 0; }
.chip {
  border: 1px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 9px 16px; font-size: 13px; font-weight: 600; transition: all 160ms;
}
.chip:hover { color: var(--fg); border-color: var(--muted); }
.chip.active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ── Catalogue grid ─────────────────────────────────────── */
.grid {
  display: grid; gap: 22px; padding: 28px clamp(16px, 5vw, 56px) 96px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms, border-color 220ms;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(234,244,255,0.18); }
.card .photo { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 16px; }
.card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card .photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0) 35%, rgba(10,10,10,0.72) 100%);
}
.card .photo .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(10,10,10,0.55); color: var(--fg); border: 1px solid rgba(234,244,255,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px;
}
.card .photo .place { position: relative; z-index: 2; color: #fff; }
.card .photo .place .city { font-family: var(--display); font-size: 27px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; text-shadow: 0 2px 20px rgba(0,0,0,0.5); }
.card .photo .place .country { font-size: 13px; opacity: 0.92; margin-top: 5px; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card .meta { color: var(--muted); font-size: 13px; }
.card .hotel { font-weight: 600; font-size: 15px; color: var(--fg); }
.card .stars { color: var(--accent); letter-spacing: 1px; font-size: 12px; }
.card .blurb { color: var(--muted); font-size: 13.5px; line-height: 1.55; flex: 1; }
.card .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 4px; }
.price .was { color: var(--dim); text-decoration: line-through; font-size: 13px; margin-right: 6px; }
.price .now { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); }
.price .live { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--fg); }
.price .per { color: var(--muted); font-size: 12px; }
.add.added { background: none; color: #6ee7b7; box-shadow: inset 0 0 0 1px rgba(110,231,183,0.5); filter: none; }

/* ── Cart drawer ────────────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity 220ms;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #0e0e10; z-index: 70; box-shadow: -30px 0 80px -30px rgba(0,0,0,0.9);
  border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 300ms cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer .dhead { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer .dhead h2 { font-family: var(--display); font-size: 22px; margin: 0; letter-spacing: -0.02em; }
.drawer .close { background: none; border: none; font-size: 26px; color: var(--muted); line-height: 1; }
.drawer .close:hover { color: var(--fg); }
.drawer .items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.line-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item .thumb { width: 66px; height: 66px; border-radius: 12px; flex: 0 0 auto; background-size: cover; background-position: center; }
.line-item .li-body { flex: 1; min-width: 0; }
.line-item .li-city { font-weight: 700; }
.line-item .li-meta { color: var(--muted); font-size: 12.5px; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty button { width: 27px; height: 27px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-hi); color: var(--fg); font-size: 15px; line-height: 1; }
.qty button:hover { border-color: var(--accent); }
.qty span { min-width: 18px; text-align: center; font-weight: 600; }
.li-price { font-weight: 700; white-space: nowrap; }
.li-remove { background: none; border: none; color: var(--dim); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 6px; }
.li-remove:hover { color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 64px 20px; }
.dfoot { border-top: 1px solid var(--line); padding: 20px 22px; }
.totrow { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.totrow.grand { color: var(--fg); font-weight: 800; font-size: 20px; font-family: var(--display); }
.checkout { width: 100%; margin-top: 14px; }
.securenote { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }
.securenote .d { color: var(--accent); }

footer.site { border-top: 1px solid var(--line); padding: 40px clamp(16px, 5vw, 56px); color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer.site a { color: var(--accent); }

/* ── Sections ───────────────────────────────────────────── */
#escapes { padding-top: clamp(20px, 4vw, 44px); }
#shop { padding-top: clamp(48px, 7vw, 84px); margin-top: 44px; border-top: 1px solid var(--line); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 0 clamp(16px, 5vw, 56px);
}
.section-head .eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.section-head h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(28px, 4vw, 46px); margin: 10px 0 0; line-height: 1; }
.section-note { color: var(--muted); font-size: 13px; max-width: 340px; margin: 0 0 4px; }

/* stays grid sits under a section head now → lighter top padding */
.grid { padding-top: 22px; padding-bottom: 8px; }

/* affiliate CTA button (anchor) */
.deal { display: inline-flex; align-items: center; text-decoration: none; }

/* ── Own-product cards (Stripe) ─────────────────────────── */
.pgrid {
  display: grid; gap: 16px; padding: 22px clamp(16px, 5vw, 56px) 40px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.pcard {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; display: flex; gap: 16px;
  transition: border-color 180ms, transform 180ms;
}
.pcard:hover { border-color: rgba(234, 244, 255, 0.18); transform: translateY(-2px); }
.picon { font-size: 34px; line-height: 1; flex: 0 0 auto; }
.pbody { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pkind { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pname { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-top: 5px; }
.pblurb { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 8px 0 0; flex: 1; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.pprice { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -0.02em; }
.pcard .add { padding: 9px 15px; font-size: 12px; }
.ptag {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: var(--on-accent);
  font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
}
.thumb.emoji { display: grid; place-items: center; font-size: 30px; background: var(--surface-hi); }

/* ── Hero search (destination + dates + guests) ─────────── */
.bsearch {
  display: flex; align-items: flex-end; gap: 10px; margin-top: 30px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px; max-width: 780px;
}
.bfield { display: flex; flex-direction: column; gap: 5px; position: relative; }
.bfield.dest { flex: 1 1 220px; min-width: 180px; }
.bfield label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-left: 2px; }
.bfield input, .bfield select {
  background: var(--surface-hi); border: 1px solid var(--line); border-radius: 10px;
  color: var(--fg); font-family: inherit; font-size: 14px; padding: 11px 12px;
  outline: none; color-scheme: dark;
}
.bfield.dest input { width: 100%; }
.bfield input:focus, .bfield select:focus { border-color: var(--accent); }
.bfield input::placeholder { color: var(--dim); }
.bsearch-go { flex: 0 0 auto; padding: 13px 22px; align-self: stretch; }

/* autocomplete dropdown */
.ac {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  background: #14141a; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden; display: none;
}
.ac.open { display: block; }
.ac-item {
  display: flex; flex-direction: column; gap: 2px; width: 100%; text-align: left;
  background: transparent; border: none; padding: 11px 14px; cursor: pointer;
}
.ac-item:hover { background: var(--surface-hi); }
.ac-name { color: var(--fg); font-size: 14px; font-weight: 600; }
.ac-sub { color: var(--muted); font-size: 12px; }

/* no-results / Booking fallback */
.no-results {
  grid-column: 1 / -1; text-align: center; padding: 56px 24px;
  border: 1px dashed var(--line); border-radius: var(--radius);
}
.no-results .nr-title { font-family: var(--display); font-size: 22px; font-weight: 700; }
.no-results p { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.no-results .btn { text-decoration: none; }

/* ── Footer ─────────────────────────────────────────────── */
footer.site { flex-direction: column; align-items: stretch; gap: 20px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: var(--fg); font-family: var(--display); font-size: 16px; }
.foot-brand .logo {
  width: 26px; height: 26px; border-radius: 7px; flex: 0 0 auto;
  background: linear-gradient(180deg, var(--accent2), var(--accent));
  color: var(--on-accent); display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 15px;
}
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--fg); }
.disclosure { color: var(--dim); font-size: 12px; line-height: 1.6; max-width: 780px; margin: 0; }
.foot-bottom { color: var(--dim); font-size: 12px; }

@media (max-width: 560px) {
  .nav { gap: 14px; }
  .nav a { display: none; }
  .hero h1 { font-size: clamp(36px, 12vw, 52px); }
  .section-note { display: none; }
  .bsearch { flex-direction: column; align-items: stretch; }
  .bfield { width: 100%; }
  .bfield input, .bfield select { width: 100%; }
}
