/* ──────────────────────────────────────────────────────────────────────
   Travelmark — design system (DESIGN-airbnb.md)
   ──────────────────────────────────────────────────────────────────── */

:root {
  /* Color */
  --canvas: #ffffff;
  --surface-soft: #f7f7f7;
  --surface-strong: #f2f2f2;

  --ink: #222222;
  --body: #3f3f3f;
  --muted: #6a6a6a;
  --muted-soft: #929292;

  --hairline: #dddddd;
  --hairline-soft: #ebebeb;
  --border-strong: #c1c1c1;

  --primary: #ff385c;
  --primary-active: #e00b41;
  --primary-disabled: #ffd1da;

  --error: #c13515;
  --error-hover: #b32505;
  --legal-link: #428bff;

  --scrim: rgba(0, 0, 0, 0.5);

  /* Radius */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Spacing */
  --s-xxs: 2px;
  --s-xs: 4px;
  --s-sm: 8px;
  --s-md: 12px;
  --s-base: 16px;
  --s-lg: 24px;
  --s-xl: 32px;
  --s-xxl: 48px;
  --s-section: 64px;

  /* Single shadow tier */
  --shadow-1: rgba(0, 0, 0, 0.02) 0 0 0 1px,
              rgba(0, 0, 0, 0.04) 0 2px 6px 0,
              rgba(0, 0, 0, 0.10) 0 4px 8px 0;

  --font: 'Inter', -apple-system, system-ui, 'Helvetica Neue', sans-serif;
}

/* ──────────────────────────────────────────────────────────────────────
   Reset
   ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
input, select, textarea { font-family: inherit; font-size: 16px; }

/* ──────────────────────────────────────────────────────────────────────
   Typography tokens
   ──────────────────────────────────────────────────────────────────── */
.t-display-xl { font-size: 28px; font-weight: 700; line-height: 1.43; letter-spacing: 0; }
.t-display-lg { font-size: 22px; font-weight: 500; line-height: 1.18; letter-spacing: -0.44px; }
.t-display-md { font-size: 21px; font-weight: 700; line-height: 1.43; }
.t-display-sm { font-size: 20px; font-weight: 600; line-height: 1.20; letter-spacing: -0.18px; }
.t-title-md   { font-size: 16px; font-weight: 600; line-height: 1.25; }
.t-title-sm   { font-size: 16px; font-weight: 500; line-height: 1.25; }
.t-body-md    { font-size: 16px; font-weight: 400; line-height: 1.5; }
.t-body-sm    { font-size: 14px; font-weight: 400; line-height: 1.43; }
.t-caption    { font-size: 14px; font-weight: 500; line-height: 1.29; }
.t-caption-sm { font-size: 13px; font-weight: 400; line-height: 1.23; }
.t-badge      { font-size: 11px; font-weight: 600; line-height: 1.18; }
.t-micro      { font-size: 12px; font-weight: 700; line-height: 1.33; }
.t-upper      { font-size: 8px; font-weight: 700; line-height: 1.25; letter-spacing: 0.32px; text-transform: uppercase; }
.t-rating-lg  { font-size: 64px; font-weight: 700; line-height: 1.1; letter-spacing: -1px; }

.ink   { color: var(--ink); }
.body  { color: var(--body); }
.muted { color: var(--muted); }
.muted-soft { color: var(--muted-soft); }
.rausch { color: var(--primary); }

h1, h2, h3, h4 { margin: 0; color: var(--ink); }

/* ──────────────────────────────────────────────────────────────────────
   Layout
   ──────────────────────────────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-tight { padding: 48px 0; }

/* ──────────────────────────────────────────────────────────────────────
   Top navigation
   ──────────────────────────────────────────────────────────────────── */
.nav {
  height: 80px;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  position: sticky;
  top: 0;
  z-index: 80;
}
.nav-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
}

.nav-tabs {
  display: flex;
  gap: 32px;
  justify-content: center;
}
.nav-tab {
  position: relative;
  padding: 28px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-tab:hover { color: var(--ink); text-decoration: none; }
.nav-tab.is-active { color: var(--ink); }
.nav-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.nav-utils {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.nav-util-link {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--r-full);
}
.nav-util-link:hover { background: var(--surface-soft); text-decoration: none; }

.nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  background: var(--canvas);
}
.nav-menu-btn:hover { box-shadow: var(--shadow-1); }
.nav-menu-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-flex; align-items: center; justify-content: center;
  color: white;
  font-size: 13px;
}

.nav-hamburger { display: none; }

/* ──────────────────────────────────────────────────────────────────────
   Hero search pill
   ──────────────────────────────────────────────────────────────────── */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.hero p {
  font-size: 16px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 36px;
}

.search-pill {
  display: grid;
  grid-template-columns: 1.4fr 1px 1fr 1px 1fr 1px 1fr auto;
  align-items: stretch;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-1);
  max-width: 920px;
  margin: 0 auto;
  padding: 8px;
  text-align: left;
}
.search-pill form {
  display: contents;
}
.search-seg {
  padding: 10px 24px;
  border-radius: var(--r-full);
  cursor: text;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.search-seg:hover { background: var(--surface-strong); }
.search-seg label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.search-seg input,
.search-seg select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  font-size: 14px;
  color: var(--ink);
  appearance: none;
  -webkit-appearance: none;
}
.search-seg input::placeholder { color: var(--muted); }
.search-divider { width: 1px; background: var(--hairline-soft); margin: 12px 0; }
.search-orb {
  background: var(--primary);
  color: white;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin-right: 4px;
  transition: background 0.15s, width 0.2s;
}
.search-orb:hover { background: var(--primary-active); }
.search-orb-text { display: none; margin-left: 8px; font-weight: 500; font-size: 14px; }

/* ── Custom dropdown (replaces native <select> where it matters) ── */
.dd { position: relative; }
.dd-trigger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  outline: 0;
  cursor: pointer;
  padding: 10px 24px;
  border-radius: var(--r-full);
  min-width: 0;
  color: var(--ink);
  font-family: inherit;
}
.dd-trigger:hover { background: var(--surface-strong); }
.dd-trigger > .dd-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
  line-height: 1.2;
}
.dd-trigger > .dd-value {
  font-size: 14px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dd-trigger > .dd-value.is-placeholder { color: var(--muted); }

.dd-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  max-width: 320px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 8px;
  max-height: 320px;
  overflow-y: auto;
  display: none;
}
.dd.is-open .dd-panel { display: block; }
.dd-option {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--r-sm);
  font-family: inherit;
  line-height: 1.3;
}
.dd-option:hover { background: var(--surface-soft); }
.dd-option.is-selected { background: var(--ink); color: white; font-weight: 500; }
.dd-option.is-selected:hover { background: var(--ink); }

/* Anchor the rightmost dropdown so its panel doesn't overflow off-screen */
.dd.dd-right .dd-panel,
.dp.dp-right .dp-panel { left: auto; right: 0; }

/* ── Input-styled trigger (used in checkout forms) ── */
.dd--input .dd-trigger,
.dp-trigger {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  height: 56px;
  padding: 0 36px 0 14px;
  font-size: 16px;
  color: var(--ink);
  position: relative;
  width: 100%;
}
.dd--input .dd-trigger:hover,
.dp-trigger:hover { background: white; }
.dd--input .dd-trigger > .dd-label { display: none; }
.dd--input .dd-trigger > .dd-value { font-size: 16px; }
.dd--input .dd-trigger::after,
.dp-trigger::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 12px;
  height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23222' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 7 11 1'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%);
  pointer-events: none;
}
.dd--input.is-open .dd-trigger,
.dp.is-open .dp-trigger {
  border: 2px solid var(--ink);
  padding: 0 35px 0 13px;
}
.dd--input .dd-panel,
.dp .dp-panel { top: calc(100% + 6px); }

/* ── Bare trigger (used inside the reservation card) ── */
.dd--bare .dd-trigger,
.dp--bare .dp-trigger {
  background: transparent;
  border: 0;
  height: auto;
  padding: 0;
  font-size: 14px;
  width: 100%;
  position: relative;
}
.dd--bare .dd-trigger:hover,
.dp--bare .dp-trigger:hover { background: transparent; }
.dd--bare .dd-trigger > .dd-label { display: none; }
.dd--bare .dd-trigger > .dd-value,
.dp--bare .dp-trigger > .dp-value { font-size: 14px; }
.dd--bare .dd-trigger::after,
.dp--bare .dp-trigger::after {
  right: 0;
  width: 10px;
  height: 6px;
}
.dd--bare.is-open .dd-trigger,
.dp--bare.is-open .dp-trigger { border: 0; padding: 0; }

/* ── Date picker ── */
.dp { position: relative; }
.dp-trigger {
  display: flex;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  outline: 0;
}
.dp-value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-value.is-placeholder { color: var(--muted); }
.dp-panel {
  position: absolute;
  z-index: 100;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-width: calc(100vw - 32px);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 16px;
  display: none;
}
.dp.is-open .dp-panel { display: block; }
.dp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.dp-title { font-weight: 600; font-size: 14px; color: var(--ink); }
.dp-nav {
  width: 32px; height: 32px;
  border: 0; background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; color: var(--ink);
  font-family: inherit;
}
.dp-nav:hover:not(:disabled) { background: var(--surface-strong); }
.dp-nav:disabled { color: var(--muted); cursor: not-allowed; opacity: 0.35; }
.dp-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 4px; }
.dp-weekday {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 6px 0;
  font-weight: 600;
}
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.dp-cell {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}
.dp-empty { }
.dp-day {
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  color: var(--ink);
  font-family: inherit;
  display: flex; align-items: center; justify-content: center;
}
.dp-day:hover:not(:disabled) { background: var(--surface-strong); }
.dp-day:disabled {
  color: var(--muted); cursor: not-allowed; opacity: 0.35;
  text-decoration: line-through;
}
.dp-day.is-today { font-weight: 700; }
.dp-day.is-selected, .dp-day.is-selected:hover {
  background: var(--ink); color: white; font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────
   Section heads
   ──────────────────────────────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.section-head a {
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
}
.section-head a:hover { text-decoration: none; color: var(--muted); border-color: var(--muted); }
.section-head .section-sub,
.section-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 640px;
  line-height: 1.5;
  margin-top: 8px;
}
.section-head { flex-wrap: wrap; }

/* ──────────────────────────────────────────────────────────────────────
   Editorial guide article (guide.php)
   ──────────────────────────────────────────────────────────────────── */
.guide-article {
  max-width: 720px;
  margin: 0 auto;
}
.guide-hero {
  margin: 24px 0;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #f2f2f2;
}
.guide-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-head { margin-bottom: 32px; }
.guide-head h1 {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.guide-meta {
  font-size: 14px;
  color: var(--muted);
}
.guide-body { color: var(--body); }
.guide-body p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.guide-body h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
  margin: 36px 0 14px;
}
.guide-body ul {
  margin: 0 0 22px 22px;
  padding: 0;
}
.guide-body li {
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 8px;
}
.guide-body strong { color: var(--ink); font-weight: 600; }
.guide-body em { font-style: italic; }
@media (max-width: 744px) {
  .guide-head h1 { font-size: 28px; }
  .guide-body p, .guide-body li { font-size: 16px; }
}

/* ──────────────────────────────────────────────────────────────────────
   Property cards (deal cards)
   ──────────────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 16px;
}
@media (max-width: 1128px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .cards-grid { grid-template-columns: 1fr; } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--canvas);
  color: var(--ink);
  transition: transform 0.15s;
}
.card:hover { text-decoration: none; }
.card:hover .card-photo { box-shadow: var(--shadow-1); }
.card-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-strong);
}
.card-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card-photo img { transform: scale(1.02); }

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-1);
}
.card-heart {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: white;
  border: 0;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
}
.card-heart:hover { background: rgba(0,0,0,0.55); }
.card-heart.is-saved { color: var(--primary); background: rgba(255,255,255,0.85); }

.card-meta {
  padding: 12px 4px 0;
}
.card-row {
  display: flex; align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: calc(15px * 1.3 * 2);
}
.card-rating {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.card-location {
  font-size: 14px;
  color: var(--muted);
  margin: 2px 0 0;
}
.card-duration {
  font-size: 14px;
  color: var(--muted);
  margin: 2px 0 0;
}
.card-price-row {
  margin-top: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.card-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.card-price strong { font-weight: 700; }
.card-original {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}
.card-save {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

/* ──────────────────────────────────────────────────────────────────────
   Category strip
   ──────────────────────────────────────────────────────────────────── */
.category-strip {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  padding: 16px 0;
  scrollbar-width: none;
  border-bottom: 1px solid var(--hairline);
}
.category-strip::-webkit-scrollbar { display: none; }
.category-strip.is-sticky {
  position: sticky;
  top: 80px;
  background: var(--canvas);
  z-index: 70;
}
.category-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
  min-width: 64px;
}
.category-tab:hover { color: var(--ink); text-decoration: none; }
.category-tab.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.category-tab svg { width: 28px; height: 28px; stroke-width: 1.4; }

/* Filter chips */
.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-full);
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.chip:hover { border-color: var(--ink); text-decoration: none; }
.chip.is-active { background: var(--ink); color: white; border-color: var(--ink); }
.chip-count { font-size: 13px; color: var(--muted); margin-left: 2px; }
.chip.is-active .chip-count { color: rgba(255,255,255,.7); }

/* ──────────────────────────────────────────────────────────────────────
   City link grid (top destinations)
   ──────────────────────────────────────────────────────────────────── */
.city-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px 16px;
}
@media (max-width: 1128px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 744px)  { .city-grid { grid-template-columns: repeat(2, 1fr); } }
.city-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
}
.city-link-photo {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  background: var(--surface-strong);
  object-fit: cover;
  flex-shrink: 0;
}
.city-link-name { font-size: 16px; font-weight: 600; color: var(--ink); margin: 0; }
.city-link-sub  { font-size: 14px; color: var(--muted); margin: 0; }

/* ──────────────────────────────────────────────────────────────────────
   Why-book / value props
   ──────────────────────────────────────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}
@media (max-width: 900px) { .value-grid { grid-template-columns: 1fr; gap: 32px; } }
.value-item h3 { font-size: 18px; font-weight: 600; margin: 12px 0 6px; }
.value-item p  { font-size: 15px; color: var(--muted); margin: 0; line-height: 1.55; }
.value-item svg { width: 36px; height: 36px; color: var(--ink); stroke-width: 1.2; }

/* Trust strip */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid var(--hairline-soft);
  border-bottom: 1px solid var(--hairline-soft);
}
.trust-strip .trust-mark {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────────────────────
   FAQ accordion
   ──────────────────────────────────────────────────────────────────── */
.faq {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--hairline);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px; height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item-body {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────────────────
   Final CTA band
   ──────────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 56px 48px;
  text-align: center;
}
.cta-band h2 { font-size: 26px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
.cta-band p  { font-size: 16px; color: var(--muted); margin: 0 auto 24px; max-width: 520px; }

/* ──────────────────────────────────────────────────────────────────────
   Buttons
   ──────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--r-sm);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.25;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover { background: var(--primary-active); }
.btn-primary:disabled { background: var(--primary-disabled); cursor: not-allowed; }
.btn-secondary {
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 13px 23px;
}
.btn-secondary:hover { background: var(--surface-soft); }
.btn-tertiary {
  background: transparent;
  color: var(--ink);
  padding: 12px 16px;
}
.btn-tertiary:hover { text-decoration: underline; }
.btn-pill {
  background: var(--primary);
  color: white;
  border-radius: var(--r-full);
  padding: 12px 22px;
  font-size: 14px;
}
.btn-pill:hover { background: var(--primary-active); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 17px; }

/* ──────────────────────────────────────────────────────────────────────
   Deal detail
   ──────────────────────────────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 24px;
  aspect-ratio: 16 / 9;
}
.gallery img { width: 100%; height: 100%; object-fit: cover; background: #f2f2f2; }
.gallery .g-main { grid-row: 1 / -1; }
@media (max-width: 744px) {
  .gallery { grid-template-columns: 1fr; grid-template-rows: auto; aspect-ratio: 1; }
  .gallery .g-main { grid-row: auto; }
  .gallery img:not(.g-main) { display: none; }
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  margin-top: 32px;
}
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; gap: 32px; }
}
.detail-head h1 {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.44px;
}
.detail-head .sub { color: var(--muted); margin-top: 6px; font-size: 15px; }

.detail-block {
  padding: 32px 0;
  border-top: 1px solid var(--hairline);
}
.detail-block:first-child { border-top: 0; padding-top: 16px; }
.detail-block h2 { font-size: 20px; font-weight: 600; margin-bottom: 16px; letter-spacing: -0.18px; }

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (max-width: 600px) { .amenity-list { grid-template-columns: 1fr; } }
.amenity-row {
  display: flex; gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--hairline-soft);
  font-size: 15px;
}
.amenity-row svg {
  width: 22px; height: 22px;
  color: var(--ink);
  flex-shrink: 0;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.highlights-list li {
  padding: 10px 0;
  font-size: 15px;
  display: flex;
  gap: 12px;
}
.highlights-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 9px;
  flex-shrink: 0;
}

.reservation-card {
  position: sticky;
  top: 100px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 24px;
}
.rc-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.rc-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}
.rc-price small {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
.rc-strike {
  font-size: 15px;
  color: var(--muted);
  text-decoration: line-through;
}
.rc-savings-pill {
  display: inline-block;
  background: var(--primary);
  color: white;
  border-radius: var(--r-full);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.rc-fields {
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  margin-bottom: 16px;
  position: relative;
}
.rc-field {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hairline);
}
.rc-field:last-child { border-bottom: 0; }
.rc-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 2px;
}
.rc-field input,
.rc-field select {
  width: 100%;
  border: 0; outline: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
}
.rc-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 12 8' fill='none' stroke='%23222' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 7 11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 18px;
  cursor: pointer;
}
.rc-fees {
  border-top: 1px solid var(--hairline);
  margin-top: 16px;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rc-fees-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink);
}
.rc-fees-row.total {
  font-weight: 700;
  font-size: 16px;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
  margin-top: 4px;
}
.rc-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ──────────────────────────────────────────────────────────────────────
   Forms (Airbnb text-input)
   ──────────────────────────────────────────────────────────────────── */
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.input,
.select,
.textarea {
  display: block;
  width: 100%;
  height: 56px;
  padding: 14px 12px;
  background: var(--canvas);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  font-size: 16px;
  outline: 0;
  transition: border 0.1s, box-shadow 0.1s;
}
.textarea { height: auto; min-height: 120px; resize: vertical; padding-top: 12px; }
.select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23222' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1 6 7 11 1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.input:focus,
.select:focus,
.textarea:focus {
  border: 2px solid var(--ink);
  padding: 13px 11px;
}
.select:focus { padding-right: 35px; }
.textarea:focus { padding-top: 11px; }
.input.is-error { border-color: var(--error); }
.field-hint { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ──────────────────────────────────────────────────────────────────────
   Checkout layout
   ──────────────────────────────────────────────────────────────────── */
.checkout-page { padding: 32px 0 80px; }
.crumbs { font-size: 13px; color: var(--muted); padding: 16px 0 24px; }
.crumbs a { color: var(--ink); }
.crumbs a:hover { text-decoration: underline; }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: start;
}
@media (max-width: 1024px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 32px; }
}

.co-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 24px;
}
.co-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}

.co-summary {
  position: sticky;
  top: 100px;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 24px;
}
.co-summary-photo {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 16px;
}
.co-summary-photo img {
  width: 80px; height: 80px;
  object-fit: cover;
  border-radius: var(--r-sm);
}
.co-summary-photo strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; line-height: 1.3; }
.co-summary-photo span  { font-size: 13px; color: var(--muted); }

.co-summary-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.co-summary-row span:first-child { color: var(--muted); }
.co-summary-row span:last-child  { color: var(--ink); font-weight: 500; }
.co-summary-row.savings span:last-child { color: var(--primary); }
.co-summary-total {
  display: flex; justify-content: space-between;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--hairline);
  font-size: 16px;
  font-weight: 700;
}

.co-step { display: none; }
.co-step.is-active { display: block; }

.co-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--error);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}

.promo-wrap {
  display: flex;
  gap: 8px;
}
.promo-wrap .input { flex: 1; height: 48px; }
.promo-result { font-size: 13px; margin: 8px 0 0; min-height: 18px; }
.promo-result.success { color: #15803d; }
.promo-result.fail    { color: var(--error); }

/* Card icons row */
.card-net-row {
  display: flex; gap: 8px; align-items: center;
  padding: 4px 0 12px;
}
.card-net-row svg { height: 22px; opacity: 0.85; }
.card-net-label { font-size: 13px; color: var(--muted); margin-left: 6px; }

.card-num-wrap { position: relative; }
.card-num-wrap .card-brand-icon {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────────────
   3DS / bank screens (kept intentionally distinct from site)
   ──────────────────────────────────────────────────────────────────── */
.ds3-card {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.ds3-header {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  padding: 20px 24px 18px;
  display: flex; align-items: center; gap: 14px;
}
.ds3-header-logo {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0; color: white;
}
.ds3-header-text strong { display: block; color: white; font-size: .95rem; font-weight: 700; }
.ds3-header-text span   { color: rgba(255,255,255,.55); font-size: .75rem; }
.ds3-issuer-bar {
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  padding: 10px 24px;
  display: flex; align-items: center; gap: 12px;
}
.ds3-issuer-bar span { font-size: .75rem; color: #64748b; }
.ds3-card-networks { display: flex; gap: 8px; align-items: center; }
.ds3-body { padding: 28px 24px; }
.ds3-amount-row {
  display: flex; justify-content: space-between; align-items: center;
  background: #f1f5f9; border-radius: 10px;
  padding: 12px 16px; margin-bottom: 20px;
}
.ds3-amount-row .ds3-merchant { font-size: .78rem; color: #64748b; }
.ds3-amount-row .ds3-amount   { font-size: 1.15rem; font-weight: 800; color: #0f172a; }
.ds3-otp-icon {
  width: 60px; height: 60px; margin: 0 auto 16px;
  background: #eff6ff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.otp-title { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; text-align: center; }
.otp-sub   { font-size: .83rem; color: #64748b; margin-bottom: 20px; line-height: 1.55; text-align: center; }
.otp-input-wrap { max-width: 260px; margin: 0 auto 18px; }
.otp-input {
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: .25em;
  padding: 14px 20px;
  border: 2px solid #cbd5e1;
  border-radius: 10px;
  outline: none;
  font-family: 'Courier New', monospace;
  color: #0f172a;
  background: #f8fafc;
}
.otp-input:focus { border-color: #1e40af; background: white; box-shadow: 0 0 0 3px rgba(30,64,175,.14); }
.ds3-verify-btn {
  width: 100%;
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 12px;
}
.ds3-verify-btn:hover    { background: #1d4ed8; }
.ds3-verify-btn:disabled { background: #94a3b8; cursor: not-allowed; }
.ds3-security-line { text-align: center; font-size: .72rem; color: #94a3b8; margin-top: 12px; }
.ds3-footer {
  background: #f8fafc; border-top: 1px solid #e2e8f0;
  padding: 10px 24px;
  font-size: .7rem; color: #94a3b8;
  text-align: center;
}

.push-phone-anim {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 18px;
}
.push-phone-anim .push-icon {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.push-phone-anim::before,
.push-phone-anim::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid #3b82f6; opacity: 0;
  animation: pushPing 2s ease-out infinite;
}
.push-phone-anim::after { animation-delay: .75s; }
@keyframes pushPing {
  0%   { transform: scale(.9); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}
.push-title { font-size: 1.05rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; text-align: center; }
.push-sub   { font-size: .83rem; color: #64748b; margin-bottom: 20px; line-height: 1.55; text-align: center; }
.push-steps {
  display: flex; flex-direction: column; gap: 10px;
  background: #f8fafc; border-radius: 10px; border: 1px solid #e2e8f0;
  padding: 14px 16px; margin-bottom: 20px;
}
.push-step-item { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: #374151; }
.push-step-num {
  width: 22px; height: 22px; min-width: 22px;
  background: #1e40af; color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800;
}

.processing-screen { text-align: center; padding: 48px 24px; }
.processing-spinner {
  width: 64px; height: 64px;
  border: 5px solid #dbeafe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: coSpin .9s linear infinite;
  margin: 0 auto 24px;
}
@keyframes coSpin { to { transform: rotate(360deg); } }
.processing-title { font-size: 1.2rem; font-weight: 700; color: #111827; margin-bottom: 8px; }
.processing-sub { font-size: .9rem; color: #6b7280; }

/* ──────────────────────────────────────────────────────────────────────
   Footer
   ──────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 48px 0 0;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 32px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer h4 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--ink);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer ul a {
  font-size: 14px;
  color: var(--ink);
}
.footer ul a:hover { text-decoration: underline; }
.footer-desc {
  font-size: 14px;
  color: var(--muted);
  max-width: 320px;
  margin: 0 0 16px;
  line-height: 1.55;
}
.legal-band {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.legal-band a { color: var(--muted); }
.legal-band a:hover { color: var(--ink); text-decoration: underline; }

/* ──────────────────────────────────────────────────────────────────────
   Prose / long-form (about, privacy, terms)
   ──────────────────────────────────────────────────────────────────── */
.prose { padding: 48px 0 80px; }
.prose h1 { font-size: 28px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.4px; }
.prose .lede { font-size: 17px; color: var(--muted); margin: 0 0 32px; }
.prose h2 { font-size: 20px; font-weight: 600; margin: 40px 0 12px; letter-spacing: -0.18px; }
.prose p  { font-size: 16px; color: var(--ink); line-height: 1.65; margin: 0 0 16px; }
.prose ul, .prose ol { font-size: 16px; line-height: 1.7; color: var(--ink); padding-left: 22px; margin: 0 0 16px; }
.prose a { color: var(--legal-link); }
.prose a:hover { color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }

/* ──────────────────────────────────────────────────────────────────────
   Success / Failed pages
   ──────────────────────────────────────────────────────────────────── */
.result-page { padding: 64px 0 96px; }
.result-card {
  max-width: 580px;
  margin: 0 auto;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 40px;
  text-align: center;
}
.result-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.result-icon.ok   { background: #f0fdf4; color: #166534; }
.result-icon.fail { background: #fef2f2; color: var(--error); }
.result-card h1 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.result-card p  { font-size: 15px; color: var(--muted); margin-bottom: 24px; }
.result-mini {
  background: var(--surface-soft);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}
.result-mini-row {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 14px;
}
.result-mini-row span:first-child { color: var(--muted); }
.result-mini-row span:last-child { color: var(--ink); font-weight: 500; }
.result-mini-row.total span { font-weight: 700; font-size: 16px; }

/* ──────────────────────────────────────────────────────────────────────
   Mobile menu sheet
   ──────────────────────────────────────────────────────────────────── */
.menu-sheet {
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  padding: 24px;
  display: none;
  flex-direction: column;
}
.menu-sheet.is-open { display: flex; }
.menu-sheet-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.menu-sheet-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 0;
  font-size: 18px;
}
.menu-sheet-links {
  display: flex; flex-direction: column;
}
.menu-sheet-links a {
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-soft);
}

/* ──────────────────────────────────────────────────────────────────────
   Responsive nav
   ──────────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-tabs { display: none; }
  .nav-utils { display: none; }
  .nav-hamburger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 6px 6px 14px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-full);
    background: var(--canvas);
  }
  .nav-hamburger:hover { box-shadow: var(--shadow-1); }
  .hero { padding: 32px 0 32px; }
  .hero h1 { font-size: 24px; }
  .search-pill {
    grid-template-columns: 1fr;
    border-radius: var(--r-md);
    padding: 16px;
  }
  .search-pill .search-divider { display: none; }
  .search-pill .search-orb { width: 100%; height: 48px; border-radius: var(--r-sm); margin: 8px 0 0; }
  .search-orb-text { display: inline; }
  .dd-panel { left: 0; right: 0; min-width: 0; max-width: none; }
}

/* ──────────────────────────────────────────────────────────────────────
   Trust strip + payment icons (above footer on every page)
   ──────────────────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  padding: 28px 0 24px;
}
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ink); }

.payment-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
}
.payment-label {
  font-size: 13px;
  color: var(--muted);
  margin-right: 6px;
  font-weight: 500;
}
.pay-logo {
  display: inline-flex;
  width: 40px;
  height: 24px;
  flex-shrink: 0;
}
.pay-logo svg { display: block; width: 100%; height: 100%; }

@media (max-width: 744px) {
  .trust-strip-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .trust-item { font-size: 13px; }
  .trust-item svg { width: 20px; height: 20px; }
}

/* ──────────────────────────────────────────────────────────────────────
   Exit-intent popup
   ──────────────────────────────────────────────────────────────────── */
.exit-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 16px;
  animation: exit-fade-in 0.2s ease-out;
}
.exit-popup[hidden] { display: none; }
@keyframes exit-fade-in { from { opacity: 0; } to { opacity: 1; } }

.exit-popup-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--canvas);
  border-radius: var(--r-md);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  padding: 40px 32px 28px;
  text-align: center;
}
.exit-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.exit-popup-close:hover { background: var(--surface-strong); }

.exit-popup-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.exit-popup-card h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--ink);
}
.exit-popup-card p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 18px;
  line-height: 1.5;
}
.exit-popup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.exit-popup-form .input { width: 100%; text-align: left; }
.exit-popup-note { font-size: 12px; color: var(--muted); margin: 0; }

.exit-popup-success .exit-popup-badge { background: #1f9d55; }
.exit-popup-success h3 strong {
  display: inline-block;
  background: var(--surface-soft);
  padding: 2px 10px;
  border-radius: var(--r-sm);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 18px;
  letter-spacing: 0.5px;
}

@media (max-width: 480px) {
  .exit-popup-card { padding: 32px 20px 24px; }
  .exit-popup-card h3 { font-size: 19px; }
}
