/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --pink:       #f472b6;
  --pink-dark:  #db2777;
  --pink-light: #fce7f3;
  --rose:       #fdf2f8;
  --text:       #1e1b4b;
  --text-muted: #6b7280;
  --sidebar-w:  300px;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: var(--rose);
  color: var(--text);
}

/* ── Helpers ── */
.hidden { display: none !important; }

/* ════════════════════════════════════════════════════════════════════════════
   HOME PAGE
   ════════════════════════════════════════════════════════════════════════════ */
body.home-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 40px 24px;
}

.home-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.home-logo {
  font-size: 3rem;
  line-height: 1;
}

.home-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pink-dark);
  letter-spacing: -.02em;
}

.home-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.home-grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 48px;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
  width: 240px;
  border: 2px solid transparent;
}

.home-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(244,114,182,.25);
  border-color: var(--pink-light);
}

.home-card-icon {
  font-size: 3rem;
  line-height: 1;
}

.home-card-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pink-dark);
}

.home-card-desc {
  font-size: .9rem;
  color: var(--text-muted);
  text-align: center;
}

/* ════════════════════════════════════════════════════════════════════════════
   SHARED PAGE HEADER (roulette + voyages)
   ════════════════════════════════════════════════════════════════════════════ */
.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: #fff;
  border-bottom: 1px solid var(--pink-light);
  box-shadow: 0 2px 12px rgba(244,114,182,.08);
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 60px;
}

.page-header h1 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pink-dark);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.btn-home {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--pink-light);
  color: var(--pink-dark);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s;
  white-space: nowrap;
}

.btn-home:hover { background: var(--pink); color: #fff; }

/* ════════════════════════════════════════════════════════════════════════════
   ROULETTE PAGE
   ════════════════════════════════════════════════════════════════════════════ */
body.roulette-page { display: flex; overflow: hidden; }

#sidebar {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: #fff;
  border-right: 1px solid #fce7f3;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  box-shadow: 2px 0 12px rgba(244,114,182,.10);
  z-index: 10;
}

#right-panel {
  width: var(--sidebar-w);
  min-width: var(--sidebar-w);
  background: #fff;
  border-left: 1px solid #fce7f3;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -2px 0 12px rgba(244,114,182,.10);
  z-index: 10;
}

#sidebar-header {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--pink-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

#sidebar-header h1 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--pink-dark);
}

#main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ── Sidebar sections ── */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-title button {
  background: var(--pink-light);
  border: none;
  color: var(--pink-dark);
  font-size: 1.1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}

.section-title button:hover { background: var(--pink); color: #fff; }

/* Wheel list */
#wheel-list, #item-list {
  list-style: none;
  padding: 0 10px;
}

#wheel-list li, #item-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .12s;
  font-size: .95rem;
}

#wheel-list li:hover { background: var(--pink-light); }

#wheel-list li.active {
  background: var(--pink);
  color: #fff;
  font-weight: 600;
}

/* Item list */
#item-list li { cursor: default; gap: 6px; }

#item-list li .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

#item-list li .item-label {
  flex: 1;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#item-list li .btn-remove {
  background: none;
  border: none;
  color: #d1d5db;
  font-size: .85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color .12s;
  flex-shrink: 0;
}

#item-list li .btn-remove:hover { color: var(--pink-dark); }

#item-list li .btn-cross {
  background: none;
  border: none;
  color: #d1d5db;
  font-size: .85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color .12s;
  flex-shrink: 0;
}

#item-list li .btn-cross:hover { color: #6b7280; }
#item-list li .btn-cross.active { color: var(--pink); }
#item-list li .btn-cross.active:hover { color: var(--pink-dark); }

#item-list li.crossed .item-label {
  text-decoration: line-through;
  color: #9ca3af;
}

#item-list li.crossed { opacity: 0.7; }

/* Add item row */
#add-item-row {
  display: flex;
  gap: 6px;
  padding: 10px 10px 16px;
}

#new-item-input {
  flex: 1;
  border: 1px solid var(--pink-light);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: .9rem;
  outline: none;
  transition: border-color .15s;
}

#new-item-input:focus { border-color: var(--pink); }

#btn-add-item {
  background: var(--pink);
  border: none;
  color: #fff;
  font-size: 1.2rem;
  width: 34px;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}

#btn-add-item:hover { background: var(--pink-dark); }

/* ── Wheel area ── */
#wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

#wheel-wrapper {
  position: relative;
  width: 500px;
  height: 500px;
}

#wheel-canvas {
  border-radius: 50%;
  box-shadow: var(--shadow);
  display: block;
}

#pointer {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.2rem;
  color: var(--pink-dark);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
  z-index: 5;
  pointer-events: none;
  line-height: 1;
}

#btn-spin {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 14px 48px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(244,114,182,.45);
  transition: background .15s, transform .1s, box-shadow .15s;
  letter-spacing: .02em;
}

#btn-spin:hover:not(:disabled) {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(219,39,119,.4);
}

#btn-spin:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  box-shadow: none;
}

/* ── Result banner ── */
#result-banner {
  background: #fff;
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  padding: 14px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  animation: pop .25s ease;
}

@keyframes pop {
  from { transform: scale(.85); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

#result-banner span {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pink-dark);
}

/* ── Empty state ── */
#empty-state {
  display: none;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

#empty-state.show { display: block; }
#wheel-container.hidden { display: none !important; }

/* ── Modal (roulette, scoped) ── */
body.roulette-page #modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

body.roulette-page #modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 32px;
  width: 320px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.roulette-page #modal h2 { font-size: 1.15rem; color: var(--pink-dark); }

body.roulette-page #modal-input {
  border: 1px solid var(--pink-light);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: .95rem;
  outline: none;
  width: 100%;
  transition: border-color .15s;
}

body.roulette-page #modal-input:focus { border-color: var(--pink); }

body.roulette-page #modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

body.roulette-page #modal-actions button {
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  transition: background .12s;
}

body.roulette-page #modal-cancel { background: #f3f4f6; color: var(--text-muted); }
body.roulette-page #modal-cancel:hover { background: #e5e7eb; }
body.roulette-page #modal-confirm { background: var(--pink); color: #fff; }
body.roulette-page #modal-confirm:hover { background: var(--pink-dark); }

/* ── Confetti ── */
#confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.confetti-particle {
  position: absolute;
  top: -60px;
  animation: confettiFall linear forwards;
  will-change: transform;
}

@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg);      opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(110vh) rotate(600deg); opacity: 0; }
}

/* ── Roulette responsive ── */
@media (max-width: 900px) {
  body.roulette-page { flex-direction: column; overflow: auto; }

  #sidebar, #right-panel {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--pink-light);
    box-shadow: none;
  }

  #right-panel { border-top: 1px solid var(--pink-light); border-bottom: none; }

  #wheel-wrapper { width: 90vw; height: 90vw; }
  #wheel-canvas  { width: 100%; height: 100%; }
  #main { padding: 24px 0 32px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   VOYAGES PAGE
   ════════════════════════════════════════════════════════════════════════════ */
body.voyages-page {
  display: block;
  min-height: 100%;
  overflow-y: auto;
}

.voyages-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Voyages section */
.v-section {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.v-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--pink-light);
}

.v-section-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-dark);
  flex: 1;
}

.v-badge {
  font-size: .72rem;
  font-weight: 600;
  background: var(--pink-light);
  color: var(--pink-dark);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: .04em;
}

/* Shared pill button */
.btn-pill {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}

.btn-pill:hover { background: var(--pink-dark); transform: translateY(-1px); }
.btn-pill--wide { padding: 10px 32px; font-size: 1rem; }

/* Empty / error / loading states */
.v-empty {
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: .95rem;
}

.v-loading {
  padding: 24px;
  color: var(--text-muted);
  font-size: .95rem;
}

.v-error {
  padding: 16px 24px;
  color: #dc2626;
  font-size: .9rem;
  background: #fef2f2;
  border-top: 1px solid #fecaca;
}

/* ── Toast ── */
.v-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: .92rem;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  animation: toast-in .2s ease;
  white-space: nowrap;
}
.v-toast--error { background: #dc2626; }
@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Plans grid ── */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 24px;
}

.plan-card {
  background: var(--rose);
  border: 1px solid var(--pink-light);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s, transform .15s;
}

.plan-card:hover {
  box-shadow: 0 6px 24px rgba(244,114,182,.18);
  transform: translateY(-2px);
}

.plan-card-top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-card-title {
  flex: 1;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.btn-del-plan {
  background: none;
  border: none;
  color: #d1d5db;
  font-size: .85rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: color .12s;
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-del-plan:hover { color: #dc2626; }

.plan-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plan-tag {
  font-size: .78rem;
  background: #fff;
  border: 1px solid var(--pink-light);
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: 50px;
  white-space: nowrap;
}

.plan-tag--price {
  background: var(--pink-light);
  color: var(--pink-dark);
  border-color: var(--pink);
  font-weight: 600;
}

.plan-card-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plan-link {
  display: inline-flex;
  align-items: center;
  color: var(--pink-dark);
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .12s;
  margin-top: 4px;
}

.plan-link:hover { color: var(--pink); text-decoration: underline; }

/* ── Search form ── */
.search-form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 130px;
}

.field-group--sm { flex: 0 0 90px; min-width: 80px; }

.field-group label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
}

.field-group input,
.field-group textarea {
  border: 1px solid var(--pink-light);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
  background: #fff;
  color: var(--text);
  width: 100%;
}

.field-group input:focus,
.field-group textarea:focus { border-color: var(--pink); }

.field-hint {
  font-size: .72rem;
  color: var(--text-muted);
}

.iata-input { text-transform: uppercase; }

/* ── Flight results ── */
.flight-results {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.results-count {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 4px;
}

.flight-card {
  background: var(--rose);
  border: 1px solid var(--pink-light);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.flight-itin {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fi-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
}

.fi-airline {
  font-weight: 600;
  font-size: .9rem;
  min-width: 80px;
}

.fi-times {
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fi-dur { font-size: .85rem; color: var(--text-muted); }

.fi-stops {
  font-size: .8rem;
  background: #f3f4f6;
  color: var(--text-muted);
  padding: 2px 10px;
  border-radius: 50px;
}

.fi-stops--direct {
  background: #dcfce7;
  color: #166534;
}

.flight-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pink-dark);
  text-align: right;
  padding-top: 4px;
  border-top: 1px solid var(--pink-light);
}

/* ── Detail modal (deal / bon plan) ── */
#detail-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#detail-overlay.hidden { display: none; }

.detail-modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px 28px;
  max-width: 460px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}

.detail-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  transition: background .12s;
}
.detail-close:hover { background: #f3f4f6; color: var(--text); }

.detail-dest-name {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.detail-route {
  font-size: .88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: .02em;
}

.detail-plan-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.2;
}

.detail-desc {
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.6;
  margin: 14px 0;
}

.detail-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.detail-actions .btn-pill { text-align: center; display: block; }

.detail-sep {
  border: none;
  border-top: 1px solid var(--pink-light);
  margin: 18px 0 14px;
}

.btn-del-detail {
  background: none;
  border: none;
  color: #dc2626;
  cursor: pointer;
  font-size: .85rem;
  padding: 0;
}
.btn-del-detail:hover { text-decoration: underline; }

.deal-card { cursor: pointer; }
.plan-card { cursor: pointer; }

/* ── Voyages modal ── */
body.voyages-page #modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  overflow-y: auto;
  padding: 24px;
}

.plan-modal {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.plan-modal h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pink-dark);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

#modal-cancel {
  padding: 8px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  background: #f3f4f6;
  color: var(--text-muted);
  transition: background .12s;
}

#modal-cancel:hover { background: #e5e7eb; }

/* ── Idées de voyages ── */
.v-section-header--tabs {
  border-bottom: none;
}

.deals-tabs {
  display: flex;
  border-bottom: 1px solid var(--pink-light);
  padding: 0 24px;
}

.deals-tab {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 12px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color .15s, border-color .15s;
  margin-bottom: -1px;
}

.deals-tab:hover { color: var(--text); }

.deals-tab.active {
  color: var(--pink-dark);
  border-bottom-color: var(--pink-dark);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  padding: 20px 24px;
}

.deal-card {
  background: var(--rose);
  border: 1px solid var(--pink-light);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow .15s, transform .15s;
}

.deal-card:hover {
  box-shadow: 0 6px 20px rgba(244,114,182,.18);
  transform: translateY(-2px);
}

.deal-dest {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.deal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.deal-date {
  font-size: .8rem;
  color: var(--text-muted);
}

.btn-save-deal {
  padding: 6px 14px !important;
  font-size: .8rem !important;
}

/* ── Autocomplete ── */
.ac-wrapper {
  position: relative;
  width: 100%;
}

.ac-wrapper input {
  width: 100%;
}

.ac-dropdown {
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  right: auto;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--pink-light);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.13);
  z-index: 200;
  list-style: none;
  padding: 4px 0;
  max-height: 260px;
  overflow-y: auto;
}

.ac-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: .87rem;
  transition: background .1s;
  overflow: hidden;
}

.ac-item:hover,
.ac-item--active {
  background: var(--pink-light);
}

.ac-code {
  font-weight: 700;
  color: var(--pink-dark);
  font-size: .78rem;
  background: var(--pink-light);
  padding: 2px 7px;
  border-radius: 5px;
  flex-shrink: 0;
}

.ac-name {
  flex: 1;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-country {
  color: var(--text-muted);
  font-size: .75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ── Deals budget filter bar ── */
.deals-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 10px 24px;
  background: #fdf6fb;
  border-bottom: 1px solid var(--pink-light);
}

.deals-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.deals-filter-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.deals-filter-hint {
  font-size: .78rem;
  color: var(--text-muted);
}

.budget-input {
  border: 1px solid var(--pink-light);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: .9rem;
  width: 90px;
  outline: none;
  background: #fff;
  color: var(--text);
  transition: border-color .15s;
}

.budget-input:focus { border-color: var(--pink); }

/* ── Deal card (inspiration) ── */
.deal-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.deal-price-tag {
  font-size: .88rem;
  font-weight: 800;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-fly-deal {
  background: #fff;
  color: var(--pink-dark);
  border: 1px solid var(--pink-light);
  padding: 5px 11px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}

.btn-fly-deal:hover { background: var(--pink-light); border-color: var(--pink); }

/* ── Voyages responsive ── */
@media (max-width: 700px) {
  .search-row { flex-direction: column; }
  .field-group--sm { flex: 1; min-width: unset; }
  .plans-grid { grid-template-columns: 1fr; }
  .plan-modal { padding: 24px 20px; }
  .modal-dates { grid-template-columns: 1fr; }
}
