/* =====================================================
   PREMIUM THEME — Surgical overrides only
   Targets precise selectors to avoid breaking
   existing components (Amadeus, etc.)
   ===================================================== */

/* ── Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap');

/* ── Design Tokens ──────────────────────────────────── */
:root {
  --brand:        #1a56db;
  --brand-dark:   #1e40af;
  --brand-light:  #eff6ff;
  --gold:         #c9a84c;
  --navy:         #0d1b3e;
  --surface:      #ffffff;
  --surface-2:    #f4f6fb;
  --border:       #e2e5ef;
  --text-primary: #0d1b3e;
  --text-muted:   #6b7280;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
  --shadow-sm:    0 2px 8px rgba(13,27,62,.07);
  --shadow-md:    0 8px 32px rgba(13,27,62,.11);
  --shadow-lg:    0 20px 60px rgba(13,27,62,.16);
  --transition:   all .25s cubic-bezier(.4,0,.2,1);
}

/* ── Base typography ────────────────────────────────── */
body {
  font-family: 'Inter', 'Roboto', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  background: var(--surface-2);
}

/* =====================================================
   HEADER — Top info bar
   ===================================================== */

.main_header_area {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(13,27,62,.12);
}

/* Dark top bar */
.header-content {
  background: var(--navy) !important;
  padding: 0 !important;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.header-content > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 6px;
  padding-bottom: 6px;
}

/* Greeting text */
.header-content .links-right ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.header-content .links-right ul > li {
  margin: 0;
}

/* Selects in top bar */
.header-content .links-right ul > li select.form-control {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 7px !important;
  height: 32px !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  padding: 0 28px 0 10px !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  transition: var(--transition);
  min-width: 105px;
}

.header-content .links-right ul > li select.form-control option {
  background: #1a2f5e;
  color: #fff;
}

.header-content .links-right ul > li select.form-control:focus {
  outline: none;
  border-color: rgba(232,25,60,.6) !important;
}

/* Greeting & logout spans */
.header-content .links-right ul > li > span {
  color: rgba(255,255,255,.82) !important;
  font-size: 12px !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 7px;
}

/* Logout button style */
.header-content .links-right ul > li > span[style*="cursor: pointer"] {
  background: rgba(232,25,60,.18);
  color: #ff8096 !important;
  transition: var(--transition);
  cursor: pointer;
}

.header-content .links-right ul > li > span[style*="cursor: pointer"]:hover {
  background: var(--brand);
  color: #fff !important;
}

/* ── Separator between greeting and selectors ── */
.header-content .links-right ul > li:has(span:not([style])):not(:first-child)::before {
  content: '|';
  color: rgba(255,255,255,.2);
  margin-right: 2px;
}

/* =====================================================
   HEADER — Navigation bar
   ===================================================== */

.header_menu {
  background: #fff !important;
  border-bottom: 1.5px solid var(--border) !important;
  box-shadow: none !important;
}

.header_menu .navbar,
.header_menu .navbar-default {
  background: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
  min-height: 60px;
}

/* Logo */
.header_menu .m-logo {
  display: flex;
  align-items: center;
}

.header_menu .m-logo a {
  display: flex;
  align-items: center;
}

.header_menu .m-logo img {
  height: 42px !important;
  width: auto !important;
  object-fit: contain;
}

/* Nav wrapper */
.header_menu .navbar-flex {
  display: flex !important;
  align-items: center !important;
  gap: 0;
}

/* Nav links */
.header_menu .nav.navbar-nav {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0 !important;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.header_menu .nav.navbar-nav::-webkit-scrollbar { display: none; }

.header_menu .nav.navbar-nav > li > a {
  color: #374151 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  padding: 20px 12px !important;
  letter-spacing: .2px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  display: block;
  text-decoration: none;
  background: transparent !important;
}

.header_menu .nav.navbar-nav > li > a:hover {
  color: var(--brand) !important;
  border-bottom-color: var(--brand) !important;
  background: transparent !important;
}

.header_menu .nav.navbar-nav > li.active > a,
.header_menu .nav.navbar-nav > li > a.router-link-active {
  color: var(--brand) !important;
  border-bottom-color: var(--brand) !important;
}

/* Shopping cart icon */
.header_menu .nav.navbar-nav > li mat-icon {
  color: #374151;
  font-size: 22px;
  vertical-align: middle;
}

/* =====================================================
   SEARCH FORM — Background & card only (safe overrides)
   ===================================================== */

/* Section background */
section.banner-form {
  background: linear-gradient(140deg, #0d1b3e 0%, #1c3370 60%, #2d4a8a 100%) !important;
  padding: 32px 0 36px !important;
}

/* White form card */
section.banner-form .form-content {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: 0 24px 64px rgba(13,27,62,.22);
}

/* Labels inside search */
section.banner-form .form-group > label {
  font-size: 10.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .9px !important;
  color: var(--text-muted) !important;
  margin-bottom: 7px !important;
  display: block;
}

/* Input box borders */
section.banner-form .input-box {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  background: var(--surface-2) !important;
  transition: border-color .2s, box-shadow .2s !important;
  overflow: hidden;
}

section.banner-form .input-box:focus-within {
  border-color: var(--brand) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(232,25,60,.08) !important;
}

/* inputs/selects inside input-box — transparent, no extra border */
section.banner-form .input-box input,
section.banner-form .input-box select {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-primary) !important;
}

/* element-full-width (TBO/Avoris autocomplete) */
section.banner-form .form-group.element-full-width {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  background: var(--surface-2) !important;
  transition: border-color .2s, box-shadow .2s !important;
}

section.banner-form .form-group.element-full-width:focus-within {
  border-color: var(--brand) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(232,25,60,.08) !important;
}

/* RECHERCHER button — only inside .banner-form */
section.banner-form .biz-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  letter-spacing: .4px;
  box-shadow: 0 4px 18px rgba(232,25,60,.30) !important;
  transition: var(--transition);
}

section.banner-form .biz-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,25,60,.42) !important;
  color: #fff !important;
}

/* =====================================================
   PRODUCT CARDS — Hotel listing cards
   ===================================================== */

.trend-item {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--border) !important;
  background: var(--surface) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: transform .28s ease, box-shadow .28s ease !important;
  cursor: pointer;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  margin-bottom: 24px;
}

.trend-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: transparent !important;
}

/* Image */
.trend-image {
  position: relative;
  overflow: hidden !important;
  height: 210px;
  flex-shrink: 0;
}

.trend-image img[mat-card-image] {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  transition: transform .5s ease !important;
  display: block;
}

.trend-item:hover .trend-image img[mat-card-image] {
  transform: scale(1.07) !important;
}

/* Content area */
.trend-content {
  padding: 16px 18px 18px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.trend-content h2 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  line-height: 1.4;
  margin: 0 0 4px !important;
  /* Always occupy exactly 2 lines — aligns all cards */
  height: calc(15px * 1.4 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trend-content h2 a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Stars */
.trend-content .rating {
  display: flex;
  align-items: center;
  gap: 1px;
  margin-bottom: 4px !important;
}

.trend-content .rating mat-icon {
  font-size: 15px !important;
  width: 15px !important;
  height: 15px !important;
  line-height: 15px !important;
  color: #f59e0b !important;
}

/* Address / info lines */
.trend-content > p {
  font-size: 12.5px !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
  line-height: 1.5;
}

/* Price row */
.trend-content .price {
  margin-top: auto !important;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.trend-content .price span[style*="line-through"] {
  font-size: 12px !important;
  color: #9ca3af !important;
}

.trend-content .price span[style*="font-size:20px"],
.trend-content .price span[style*="font-size: 20px"] {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: var(--brand) !important;
  letter-spacing: -.3px;
}

/* Tags */
.my-badge {
  display: inline-flex;
  align-items: center;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 10px;
  margin-right: 4px;
  margin-top: 4px;
}

/* Discount ribbon */
.ribbon-top-left { top: 0 !important; left: 0 !important; }

.ribbon-top-left span {
  background: linear-gradient(135deg, #d4a017 0%, #a07020 100%) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 5px 12px !important;
  border-radius: 0 0 10px 0 !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: auto !important;
}

/* =====================================================
   BUTTONS — Global premium (non-breaking)
   ===================================================== */

.biz-btn {
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
  letter-spacing: .4px;
  transition: var(--transition);
}

/* =====================================================
   MAT DIALOG — Centered, premium
   ===================================================== */

.cdk-overlay-backdrop {
  background: rgba(13,27,62,.45) !important;
  backdrop-filter: blur(3px);
}

.mat-dialog-container {
  border-radius: var(--radius-lg) !important;
  padding: 32px !important;
  box-shadow: var(--shadow-lg) !important;
  font-family: 'Inter', sans-serif !important;
}

/* =====================================================
   MAT AUTOCOMPLETE — Premium dropdown
   ===================================================== */

.mat-autocomplete-panel {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border) !important;
  overflow: hidden !important;
}

.mat-option {
  font-size: 13px !important;
  color: var(--text-primary) !important;
}

.mat-option:hover,
.mat-option.mat-active {
  background: #fdf2f4 !important;
}

/* =====================================================
   ROOMS BOX — popup overlay (safe — just cosmetics)
   ===================================================== */

.roomsBox {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  border: 1px solid var(--border) !important;
  background: #fff !important;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 420px;
  max-width: 95vw;
  z-index: 50;
  padding: 18px 20px 20px;
}
section.banner-form .filter-box .form-group { position: relative; }

/* Row layout inside popover — label left, counter right */
.roomsBox > div[style*="display:flex"] {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 0 !important;
  margin-bottom: 14px;
  gap: 12px;
}
.roomsBox > div[style*="display:flex"]:first-child {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.roomsBox > div[style*="display:flex"] > div:first-child {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

/* Sub-room block label (Chambre 1: ... ) */
.roomsBox > div > div[style*="display:flex"] {
  display: flex !important;
  align-items: center !important;
  margin-top: 16px !important;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Adultes / Enfants header row */
.roomsBox .rooms-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.roomsBox .rooms-details .text-wrapper {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* +/- counter wrappers */
.roomsBox .wrapper,
.roomsBox .mini-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 6px;
  flex: 0 0 auto;
}
.roomsBox .mini-wrapper { flex: 1; justify-content: space-between; }

.roomsBox .plusminus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: all .15s ease;
}
.roomsBox .plusminus:hover:not([disabled]) {
  background: var(--primary);
  color: #fff;
}
.roomsBox .plusminus[disabled] {
  opacity: .35;
  cursor: not-allowed;
}
.roomsBox .num {
  width: 32px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  padding: 0;
}

/* Last row — the valider button */
.roomsBox > div[style*="display:flex"]:last-child {
  margin-top: 18px !important;
  margin-bottom: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  justify-content: flex-end !important;
}
.roomsBox > div[style*="display:flex"]:last-child .plusminus {
  width: auto !important;
  height: 40px !important;
  border-radius: 8px !important;
  padding: 0 22px !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(37,99,235,.25) !important;
}
.roomsBox > div[style*="display:flex"]:last-child .plusminus:hover {
  background: var(--primary-strong, #1D4ED8) !important;
}

/* =====================================================
   RESULTS SECTION — Background
   ===================================================== */

section:not(.banner-form) {
  background: var(--surface-2);
}

/* =====================================================
   MOBILE RESPONSIVE ≤ 768px
   ===================================================== */

@media (max-width: 768px) {

  /* Top bar — wrap and center */
  .header-content > .container {
    justify-content: center;
  }

  .header-content .links-right ul {
    justify-content: center;
    gap: 4px;
  }

  .header-content .links-right ul > li select.form-control {
    min-width: 90px;
    height: 28px !important;
    font-size: 11px !important;
  }

  .header-content .links-right ul > li > span {
    font-size: 11px !important;
    padding: 3px 6px;
  }

  /* Nav — horizontal scroll */
  .header_menu .navbar-flex {
    flex-wrap: wrap;
    padding: 6px 0;
  }

  .header_menu .m-logo {
    flex: 1;
    min-width: 0;
  }

  .header_menu .m-logo img {
    height: 34px !important;
  }

  .header_menu .collapse.navbar-collapse {
    width: 100%;
    order: 10;
    display: flex !important;
    overflow: hidden;
  }

  .header_menu .nav.navbar-nav {
    width: 100%;
    padding-bottom: 2px;
  }

  .header_menu .nav.navbar-nav > li > a {
    font-size: 12px !important;
    padding: 10px 9px !important;
  }

  /* Search form */
  section.banner-form {
    padding: 16px 0 20px !important;
  }

  section.banner-form .form-content {
    border-radius: var(--radius-md);
    padding: 18px 14px;
  }

  /* Each field full width on mobile */
  section.banner-form .filter-box > [class*="col-md-"],
  section.banner-form .filter-box > [class*="col-sm-"] {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 10px;
  }

  section.banner-form .biz-btn {
    width: 100% !important;
    justify-content: center;
    display: flex !important;
    text-align: center;
  }

  /* Product cards — 1 column */
  .trend-item {
    margin-bottom: 14px !important;
  }

  .trend-image {
    height: 190px !important;
  }

  /* Dialog */
  .mat-dialog-container {
    padding: 20px !important;
    border-radius: var(--radius-md) !important;
  }

  /* Cart box */
  .cartBox {
    right: 8px !important;
    width: 230px !important;
    top: 140px !important;
  }
}

@media (max-width: 480px) {

  .header-content .links-right ul {
    gap: 2px;
  }

  .header-content .links-right ul > li > span {
    font-size: 10px !important;
  }

  .header-content .links-right ul > li select.form-control {
    min-width: 80px;
    font-size: 10px !important;
  }

  .trend-image {
    height: 170px !important;
  }

  .trend-content {
    padding: 12px 14px 14px !important;
  }

  .trend-content .price span[style*="font-size:20px"],
  .trend-content .price span[style*="font-size: 20px"] {
    font-size: 18px !important;
  }
}

/* =====================================================
   SIDEBAR FILTERS — Compact spacing
   ===================================================== */

.list-sidebar .sidebar-item {
  padding: 12px 0 12px !important;
  margin-bottom: 0 !important;
  border-bottom: 1px solid var(--border) !important;
}

.list-sidebar .sidebar-item:last-child {
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.list-sidebar .sidebar-item h3 {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: .7px !important;
  color: var(--text-muted) !important;
  margin-bottom: 8px !important;
}

.list-sidebar .sidebar-item select {
  width: 100%;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 8px;
  font-size: 13px;
  color: var(--text-primary);
  background: #fff;
  cursor: pointer;
}

.list-sidebar .sidebar-item .input-box {
  height: 36px !important;
  border-radius: var(--radius-sm) !important;
}

/* Star rating rows */
.list-sidebar .star-rating {
  padding: 3px 0 !important;
  margin: 0 !important;
}

.list-sidebar .sidebar-item .form-group {
  margin-bottom: 0 !important;
}

/* =====================================================
   CARDS — Price always at bottom (safe, no grid)
   ===================================================== */

.trend-item {
  display: flex !important;
  flex-direction: column !important;
  min-height: 420px;
}

.trend-content {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.trend-content .price {
  margin-top: auto !important;
}

/* =====================================================
   PLACEHOLDER — No hotel photo
   ===================================================== */

.hotel-no-photo {
  width: 100%;
  height: 210px;
  background: linear-gradient(140deg, #0d1b3e 0%, #1e3a6e 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,.35);
}

.hotel-no-photo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: rgba(201,168,76,.6);
}

.hotel-no-photo span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* =====================================================
   LOADERS — Modern per-type
   ===================================================== */

.loader-overlay {
  padding: 60px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  background: var(--surface-2);
  min-height: 300px;
  justify-content: center;
}

.loader-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .3px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* ── Hotel skeleton cards ── */
.loader-hotel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 960px;
}

.sk-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sk-img {
  height: 190px;
  background: linear-gradient(90deg, #e8eaf0 25%, #f4f6fb 50%, #e8eaf0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.sk-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sk-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e8eaf0 25%, #f4f6fb 50%, #e8eaf0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.sk-long   { width: 85%; }
.sk-stars  { width: 50%; height: 10px; }
.sk-medium { width: 65%; }
.sk-short  { width: 45%; }

.sk-price {
  margin-top: 8px;
  height: 22px;
  width: 55%;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffe0e5 25%, #fff0f3 50%, #ffe0e5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 991px) {
  .loader-hotel { grid-template-columns: repeat(2, 1fr); }
  .sk-card:last-child { display: none; }
}
@media (max-width: 575px) {
  .loader-hotel { grid-template-columns: 1fr; }
}

/* ── Flight animated plane ── */
.loader-vol {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 400px;
}

/* Track container */
.vol-track {
  width: 100%;
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
}

/* Dashed runway line */
.vol-track-line {
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--brand) 0px, var(--brand) 10px,
    transparent 10px, transparent 20px
  );
  opacity: .35;
}

/* Plane wrapper slides left-to-right */
.vol-plane-wrap {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  animation: plane-fly 2.2s cubic-bezier(.4,0,.6,1) infinite;
}

.vol-plane-icon {
  font-size: 30px;
  color: var(--brand);
  filter: drop-shadow(0 2px 8px rgba(232,25,60,.45));
  display: block;
}

/* Exhaust trail puffs */
.vol-exhaust {
  display: flex;
  gap: 3px;
  flex-direction: row-reverse;
  align-items: center;
}

.vol-exhaust span {
  display: block;
  border-radius: 50%;
  background: rgba(232,25,60,.25);
  animation: puff 2.2s ease-in-out infinite;
}

.vol-exhaust span:nth-child(1) { width: 8px;  height: 8px;  animation-delay: 0s; }
.vol-exhaust span:nth-child(2) { width: 6px;  height: 6px;  animation-delay: .1s; }
.vol-exhaust span:nth-child(3) { width: 4px;  height: 4px;  animation-delay: .2s; }

@keyframes plane-fly {
  0%   { left: 0%;        transform: translateY(4px); opacity: 1; }
  45%  { transform: translateY(-6px); }
  80%  { left: calc(100% - 60px); transform: translateY(4px); opacity: 1; }
  85%  { opacity: 0; }
  86%  { left: 0%; opacity: 0; }
  100% { left: 0%; opacity: 1; }
}

@keyframes puff {
  0%, 86%, 100% { opacity: 0; transform: scale(.5); }
  20%  { opacity: 1; transform: scale(1); }
  60%  { opacity: .5; transform: scale(1.2); }
}

/* Cities row below */
.vol-cities {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  justify-content: space-between;
}

.vol-city {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: .5px;
}

.vol-dots {
  display: flex;
  gap: 6px;
  flex: 1;
  justify-content: center;
}

.vol-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  animation: bounce-dot .8s ease-in-out infinite;
}
.vol-dots span:nth-child(2) { animation-delay: .15s; opacity: .6; }
.vol-dots span:nth-child(3) { animation-delay: .30s; opacity: .35; }

@keyframes bounce-dot {
  0%, 80%, 100% { transform: translateY(0); }
  40%           { transform: translateY(-5px); }
}

/* ── Omra crescent ── */
.loader-omra {
  display: flex;
  align-items: center;
  justify-content: center;
}

.omra-svg {
  width: 90px;
  height: 90px;
  filter: drop-shadow(0 0 12px rgba(201,168,76,.4));
}

/* =====================================================
   DETAIL PAGE — Hotel premium styling
   ===================================================== */

/* Hero breadcrumb */
.breadcrumb-outer {
  background-size: cover !important;
  background-position: center !important;
  min-height: 280px;
  display: flex;
  align-items: center;
  position: relative;
}

.breadcrumb-outer .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,27,62,.5) 0%, rgba(13,27,62,.75) 100%);
  z-index: 0;
}

.breadcrumb-outer .container {
  position: relative;
  z-index: 1;
}

.breadcrumb-outer .breadcrumb-content h2 {
  font-family: 'Playfair Display', serif !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 12px !important;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}

.breadcrumb-outer .breadcrumb {
  background: transparent !important;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 !important;
  margin: 0 !important;
}

.breadcrumb-outer .breadcrumb li {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  font-weight: 500;
}

.breadcrumb-outer .breadcrumb li mat-icon {
  color: var(--gold) !important;
  font-size: 16px;
  vertical-align: middle;
}

/* Hotel content section */
section.hotel-single {
  background: var(--surface-2);
  padding: 36px 0 !important;
}

/* Description & equipements boxes */
section.hotel-single .sidebar-item,
section.hotel-single .desc-box {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px !important;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

section.hotel-single .desc-box h3 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 12px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-light);
}

section.hotel-single .desc-box p,
section.hotel-single .desc-box li {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Amenities grid */
section.hotel-single .desc-box ul {
  column-count: 3 !important;
  column-gap: 20px;
  padding: 0;
  list-style: none;
}

section.hotel-single .desc-box ul li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 0;
  break-inside: avoid;
  font-size: 13px;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  section.hotel-single .desc-box ul { column-count: 2 !important; }
}
@media (max-width: 480px) {
  section.hotel-single .desc-box ul { column-count: 1 !important; }
}

/* Room cards in detail */
section.hotel-single .room-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

section.hotel-single .room-item:hover {
  border-color: rgba(232,25,60,.25);
  box-shadow: 0 6px 24px rgba(232,25,60,.09);
}

section.hotel-single .room-item h4 {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin-bottom: 10px !important;
}

/* ── Re-search form inside hotel detail — dark navy box ── */
.container.desc-box,
section.hotel-single .desc-box.form-content-wrapper {
  background: linear-gradient(140deg, #0d1b3e 0%, #1c3370 100%) !important;
  border: none !important;
  padding: 28px 24px !important;
  border-radius: var(--radius-md) !important;
}

/* Labels white on dark */
.container.desc-box label,
.container.desc-box .form-group label,
.container.desc-box span {
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .5px !important;
  text-transform: uppercase !important;
}

/* Button aligned vertically */
.container.desc-box .form-group {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

/* Inputs transparent/white on dark */
.container.desc-box .input-box {
  background: rgba(255,255,255,.12) !important;
  border: 1px solid rgba(255,255,255,.2) !important;
  border-radius: 10px !important;
}

.container.desc-box .input-box input,
.container.desc-box .input-box .datePicker,
.container.desc-box .input-box .niceSelect {
  background: transparent !important;
  color: #fff !important;
  border: none !important;
  box-shadow: none !important;
}

.container.desc-box .input-box i,
.container.desc-box .input-box .flaticon-add-user::before,
.container.desc-box .input-box .flaticon-placeholder::before {
  color: rgba(255,255,255,.6) !important;
}

/* Date picker toggle icon */
.container.desc-box .mat-datepicker-toggle button {
  color: rgba(255,255,255,.7) !important;
}

/* ── Amenity dots (vert = gratuit, rouge = payant) ── */
.amenity-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
  vertical-align: middle;
}

.amenity-free  { background: #22c55e !important; box-shadow: 0 0 4px rgba(34,197,94,.4); }
.amenity-paid  { background: #ef4444 !important; box-shadow: 0 0 4px rgba(239,68,68,.4); }

.amenity-price-tag {
  color: #ef4444 !important;
  margin-left: 5px;
  font-size: 11px;
  font-weight: 700;
}

/* ── Room cards — premium redesign ── */
.room-item {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  box-shadow: var(--shadow-sm) !important;
  background: #fff !important;
  transition: var(--transition) !important;
}

.room-item:hover {
  border-color: rgba(26,86,219,.2) !important;
  box-shadow: 0 6px 28px rgba(26,86,219,.09) !important;
}

.room-item h4, .room-item h5 {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  margin-bottom: 4px !important;
}

.room-item h5 span {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--brand) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.room-item .price-amount {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--brand) !important;
  letter-spacing: -.5px !important;
}

/* ── Global: replace hardcoded red #ef2853 with brand blue ── */
/* Targets inline styles on room name, price, info icons */
[style*="color: #ef2853"],
[style*="color:#ef2853"] {
  color: var(--brand) !important;
}

/* Room pension name */
.room-item h5 span,
.room-item > div > h5 span {
  color: var(--brand) !important;
}

/* Room price */
.room-item .product-total,
td.product-total {
  color: var(--brand) !important;
}

/* CHOISIR button */
.room-item .biz-btn,
a.biz-btn,
button.biz-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%) !important;
  border-color: var(--brand) !important;
}

/* Info circle icons */
.fa-info-circle {
  color: var(--brand) !important;
}

/* Image slider area */
.single-slider {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* ── Hotel card address — always 2 lines height ── */
.trend-content .hotel-addr {
  font-size: 13px;
  line-height: 1.5;
  min-height: calc(13px * 1.5 * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px !important;
}

/* ── Excursion cards ── */
.excursion-card {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  align-items: flex-start;
}

.excursion-card:hover {
  border-color: rgba(26,86,219,.2);
  box-shadow: 0 6px 24px rgba(26,86,219,.1);
}

.excursion-photo {
  flex-shrink: 0;
  width: 180px;
  height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}

.excursion-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.excursion-no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #0d1b3e, #1e3a6e);
  color: rgba(255,255,255,.3);
  font-size: 28px;
}

.excursion-body {
  flex: 1;
  min-width: 0;
}

.excursion-theme-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.excursion-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  margin: 0 0 10px !important;
  line-height: 1.4 !important;
}

.excursion-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-height: 70px;
  overflow: hidden;
  position: relative;
  transition: max-height .4s ease;
}

.excursion-desc::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
  transition: opacity .3s;
}

.excursion-desc.expanded {
  max-height: 2000px;
}

.excursion-desc.expanded::after {
  opacity: 0;
}

.excursion-expand-btn {
  background: none;
  border: none;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 6px 0;
  letter-spacing: .3px;
}

.excursion-pricing {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.excursion-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.excursion-table th {
  background: var(--navy);
  color: rgba(255,255,255,.9);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
  text-align: left;
}

.excursion-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.excursion-table tr:last-child td {
  border-bottom: none;
}

.excursion-table tr:hover td {
  background: var(--brand-light);
}

/* Excursion section wrapper */
.excursion-section-wrap {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 20px;
}

@media (max-width: 768px) {
  .excursion-card { flex-direction: column; }
  .excursion-photo { width: 100%; height: 200px; }
}

/* ── Hotel search results section ── */
section.list {
  padding-top: 16px !important;
  padding-bottom: 32px !important;
}

section.list .list-results {
  padding: 8px 0 12px !important;
}

/* ── Hotel photo placeholder — fix position ── */
.trend-image {
  position: relative;
  overflow: hidden;
}

.trend-image .hotel-no-photo {
  position: relative;
  z-index: 1;
}

/* ── Flight search tabs — active tab blue instead of red ── */
section.banner-form .nav-tabs > li.active > a,
section.banner-form .nav-tabs > li:hover > a,
section.banner-form .nav-tabs > li.active > a:focus,
section.banner-form .nav-tabs > li.active > a:hover {
  background: var(--brand) !important;
  color: #fff !important;
  border-color: var(--brand) !important;
}

section.banner-form .nav-tabs > li.active > a i,
section.banner-form .nav-tabs > li:hover > a i {
  color: #fff !important;
}

/* ── Dialog overrides: prevent dark banner-form inside modals ── */
.mat-dialog-container section.banner-form,
.cdk-overlay-container section.banner-form {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ── Footer "Powered by Fractalite" ── */
.footer-copyright {
  background: #05101f !important;
  padding: 14px 0 !important;
}

.footer-copyright .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-copyright .copyright-text p {
  color: rgba(255,255,255,.5) !important;
  font-size: 12px;
}

/* Mobile detail fixes */
@media (max-width: 768px) {
  .breadcrumb-outer {
    min-height: 200px;
  }

  .breadcrumb-outer .breadcrumb-content h2 {
    font-size: 24px !important;
  }

  section.hotel-single .desc-box ul {
    column-count: 1 !important;
  }

  section.hotel-single .room-item .row.display-flex {
    flex-direction: column;
  }

  .loader-hotel {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   VOL SEARCH RESULTS — PREMIUM REDESIGN
   ══════════════════════════════════════════════════════════ */

/* ── "Votre parcours" summary card ── */
.parcours-summary-box {
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  backdrop-filter: blur(8px);
}

.parcours-summary-box,
.parcours-summary-box * {
  color: #fff !important;
  border-color: rgba(255,255,255,.25) !important;
}

.parcours-summary-box .biz-btn {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  letter-spacing: .3px !important;
}

.parcours-summary-box [style*="border-left"] {
  border-left-color: rgba(255,255,255,.35) !important;
}

/* ── Airline logo strip ── */
.airline-logos-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0 16px;
}

.airline-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  min-width: 80px;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.airline-logo-card:hover,
.airline-logo-card.active {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(26,86,219,.18);
  transform: translateY(-2px);
}

.airline-logo-card img {
  width: 48px;
  height: 32px;
  object-fit: contain;
}

.airline-logo-card .airline-price {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  margin-top: 4px;
  white-space: nowrap;
}

/* Style the existing airline logo strip (old structure) */
.list-results .row.d-flex {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0 16px;
}

.list-results .row.d-flex > [class*="col-"] {
  flex: 0 0 auto !important;
  width: auto !important;
  padding: 0 !important;
}

.list-results .row.d-flex > [class*="col-"] a {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .15s;
  min-width: 80px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
}

.list-results .row.d-flex > [class*="col-"] a:hover {
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(26,86,219,.18);
  transform: translateY(-2px);
}

.list-results .row.d-flex > [class*="col-"] a img {
  width: 52px;
  height: 34px;
  object-fit: contain;
}

.list-results .row.d-flex > [class*="col-"] a p {
  font-size: 11px;
  font-weight: 700;
  color: var(--brand) !important;
  margin: 4px 0 0 !important;
  text-align: center;
}

/* ── Filter / Sort pill bar ── */
.vol-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0 18px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 16px;
}

.vol-results-count {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.vol-results-count .fa {
  color: var(--brand);
  margin-right: 5px;
}

.vol-filter-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.vol-filter-pill {
  display: flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  height: 38px;
  transition: border-color .2s;
}

.vol-filter-pill:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26,86,219,.1);
}

.vol-filter-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0 10px 0 14px;
  white-space: nowrap;
  border-right: 1.5px solid var(--border);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--surface-2);
}

.vol-filter-pill select {
  border: none !important;
  background: transparent !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy) !important;
  padding: 0 14px 0 10px !important;
  height: 100%;
  cursor: pointer;
  outline: none;
  appearance: auto;
}

/* ── Escale / Stop info column ── */
.vol-stop-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vol-stop-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 8px 4px;
}

.vol-stop-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: #fee2e2;
  color: #b91c1c;
}

.vol-stop-badge.direct {
  background: #dcfce7;
  color: #15803d;
}

.vol-stop-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.vol-stop-via {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.via-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  flex-shrink: 0;
}

.via-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.vol-stop-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  color: var(--text-muted);
}

.vol-stop-meta .fa {
  margin-right: 4px;
  color: var(--brand);
}

.vol-operated-by {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

.vol-details-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand) !important;
  cursor: pointer;
  margin-top: 4px;
  text-decoration: none !important;
  letter-spacing: .2px;
}

.vol-details-link:hover {
  text-decoration: underline !important;
}

/* ── Vol search checkboxes — add breathing room ── */
section.banner-form .filter-box .form-group > label:last-child,
section.banner-form .row[style*="display: flex"] .form-group > label:last-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

section.banner-form .row[style*="display: flex"] .form-group {
  margin-right: 18px;
}

section.banner-form .row[style*="display: flex"] .form-group:last-child {
  margin-right: 0;
}

section.banner-form .row[style*="display: flex"] .form-group input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--brand);
  cursor: pointer;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   VOL DETAILS DIALOG — PREMIUM REDESIGN
   ══════════════════════════════════════════════════════════ */

.vd-dialog {
  display: flex;
  flex-direction: column;
  min-width: 560px;
  max-width: 700px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}

/* Header */
.vd-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 24px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, #1c3370 100%);
  color: #fff;
}

.vd-header-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.vd-airline-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
}

.vd-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 0 8px !important;
  letter-spacing: .3px;
}

.vd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vd-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .3px;
}

.vd-chip-flight {
  background: rgba(255,255,255,.22);
}

.vd-chip-cabin {
  background: var(--brand);
  border-color: var(--brand-dark);
}

.vd-price {
  text-align: right;
  flex-shrink: 0;
}

.vd-price-value {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

.vd-price-value sup {
  font-size: 13px;
  font-weight: 600;
  opacity: .8;
}

.vd-close {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s;
}

.vd-close:hover {
  background: rgba(255,255,255,.28);
}

/* Body */
.vd-body {
  padding: 20px 24px !important;
  max-height: 60vh;
  overflow-y: auto;
}

/* Leg label */
.vd-leg-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.vd-leg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .3px;
}

.vd-leg-stops {
  font-size: 12px;
  color: #b91c1c;
  font-weight: 600;
  background: #fee2e2;
  padding: 3px 10px;
  border-radius: 12px;
}

.vd-leg-direct {
  font-size: 12px;
  color: #15803d;
  font-weight: 600;
  background: #dcfce7;
  padding: 3px 10px;
  border-radius: 12px;
}

/* Segments */
.vd-segments {
  background: var(--surface-2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.vd-segment {
  display: flex;
  gap: 16px;
}

/* Timeline column */
.vd-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
  width: 20px;
}

.vd-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid var(--brand);
  background: #fff;
  flex-shrink: 0;
}

.vd-tl-dot.vd-tl-arrive {
  background: var(--brand);
}

.vd-tl-line {
  width: 2px;
  flex: 1;
  background: repeating-linear-gradient(
    to bottom,
    var(--brand) 0,
    var(--brand) 5px,
    transparent 5px,
    transparent 10px
  );
  margin: 4px 0;
  min-height: 40px;
}

/* Segment info */
.vd-seg-info {
  flex: 1;
}

.vd-seg-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.vd-seg-depart {
  margin-bottom: 6px;
}

.vd-seg-arrive {
  margin-top: 6px;
}

.vd-time {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  min-width: 52px;
}

.vd-airport strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.vd-airport-full {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 4px;
}

.vd-date-sm {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
}

.vd-duration-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 10px;
  border-radius: 20px;
  margin: 8px 0;
}

.vd-flight-num {
  color: var(--text-muted);
  font-weight: 500;
}

.vd-operated {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

.vd-operated .fa {
  color: var(--brand);
}

/* Layover bar */
.vd-layover {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  padding: 10px 16px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #92400e;
}

.vd-layover .fa {
  color: #d97706;
}

/* Leg divider */
.vd-leg-divider {
  border: none;
  border-top: 1.5px dashed var(--border);
  margin: 20px 0;
}

/* Footer */
.vd-footer {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1.5px solid var(--border);
  background: var(--surface-2);
}

.vd-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  transition: opacity .2s;
}

.vd-close-btn:hover {
  opacity: .88;
}


/* ══════════════════════════════════════════════════════════
   FLIGHT DETAIL DIALOG (DetailComponent) — PREMIUM
   ══════════════════════════════════════════════════════════ */

.fd-dialog {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
}

/* Header */
.fd-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 18px;
  background: linear-gradient(135deg, var(--navy) 0%, #1c3370 100%);
}

.fd-header-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
}

.fd-logo-wrap {
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
}

.fd-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.fd-header-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fd-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin: 0 !important;
  letter-spacing: .3px;
}

.fd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fd-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.95);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}

.fd-chip-num {
  background: rgba(255,255,255,.22);
}

.fd-chip-stops {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fca5a5;
}

.fd-chip-stops.direct {
  background: #dcfce7;
  color: #15803d;
  border-color: #86efac;
}

.fd-chip-cabin {
  background: var(--brand);
  border-color: var(--brand-dark);
  color: #fff;
}

.fd-close-x {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: #fff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 14px;
  transition: background .2s;
}

.fd-close-x:hover { background: rgba(255,255,255,.28); }

/* Body */
.fd-body {
  padding: 20px !important;
  max-height: 55vh;
  overflow-y: auto;
}

.fd-segments { display: flex; flex-direction: column; gap: 0; }

/* Segment card */
.fd-segment-card {
  display: flex;
  gap: 14px;
  background: var(--surface-2);
  border-radius: 12px;
  padding: 16px;
}

/* Timeline */
.fd-tl {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding-top: 4px;
  width: 18px;
}

.fd-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2.5px solid var(--brand);
  background: #fff;
  flex-shrink: 0;
}

.fd-tl-dot.fd-tl-bot { background: var(--brand); }

.fd-tl-line {
  width: 2px;
  flex: 1;
  min-height: 36px;
  margin: 4px 0;
  background: repeating-linear-gradient(
    to bottom,
    var(--brand) 0, var(--brand) 5px,
    transparent 5px, transparent 10px
  );
}

/* Segment details */
.fd-seg-detail { flex: 1; }

.fd-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.fd-row-depart { margin-bottom: 8px; }
.fd-row-arrive { margin-top: 8px; }

.fd-time {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  min-width: 55px;
  line-height: 1;
}

.fd-city strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.fd-city-name {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 4px;
}

.fd-date-tag {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.fd-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
}

.fd-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
}

.fd-flight-ref {
  font-size: 11px;
  color: var(--text-muted);
}

.fd-operated {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.fd-operated .fa { color: var(--brand); }

/* Layover */
.fd-layover {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}

.fd-layover-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(
    to right,
    #cbd5e1 0, #cbd5e1 6px,
    transparent 6px, transparent 12px
  );
}

.fd-layover-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #92400e;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.fd-layover-pill .fa { color: #d97706; }

/* Footer */
.fd-footer {
  display: flex;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1.5px solid var(--border);
  background: var(--surface-2);
}

.fd-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .2s;
}

.fd-close-btn:hover { opacity: .88; }

/* ══════════════════════════════════════════════════════════
   CALENDAR PRICE MATRIX — PREMIUM REDESIGN
   ══════════════════════════════════════════════════════════ */

/* Container sits inside section.banner-form (dark navy) — give it a white card */
section.banner-form > .container > .tab-content {
  background: #fff;
  border-radius: 14px;
  padding: 0 !important;
  overflow: hidden;
}

/* Full-width compact table */
section.banner-form table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', 'Roboto', sans-serif;
  table-layout: fixed;
}

/* Column headers — departure dates */
section.banner-form table tr:first-child th {
  background: var(--navy) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: center;
  padding: 8px 4px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* Top-left corner */
section.banner-form table tr:first-child th:first-child {
  background: transparent !important;
  border: none !important;
}

/* Selected departure column header — gold highlight so it stands out */
section.banner-form table tr:first-child th[style*="dotted"] {
  background: #c9a84c !important;
  color: #fff !important;
  border: 1px solid #b8972a !important;
}

/* Row headers — return dates */
section.banner-form table th[scope="row"] {
  background: var(--brand) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-align: center;
  padding: 6px 8px !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  white-space: nowrap;
  width: 64px;
}

/* Selected return row header */
section.banner-form table tr th[scope="row"][style*="dotted"] {
  background: #c9a84c !important;
}

/* Override inline dashed red → clean blue border on selected column cells */
section.banner-form table td[style*="dotted"] {
  border: 1.5px solid var(--brand) !important;
  background: #eff6ff !important;
}

/* Table data cells — compact */
section.banner-form table td {
  padding: 0 !important;
  border: 1px solid var(--border) !important;
  vertical-align: middle;
  text-align: center;
  background: #fff;
}

/* Cell clickable area */
section.banner-form table td > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 4px 8px;
  gap: 2px;
  cursor: pointer;
  transition: background .15s;
  min-height: 64px;
}

section.banner-form table td > div > div:hover {
  background: var(--brand-light);
}

/* Airline logo — small */
section.banner-form table td img[src*="airline_logos"] {
  width: 28px !important;
  height: 19px !important;
  object-fit: contain !important;
  margin: 0 0 1px !important;
}

/* Airline name */
section.banner-form table td span[style*="font-size: 12px"] {
  font-size: 9px !important;
  color: var(--text-muted) !important;
  line-height: 1.1;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Price — cheapest green */
section.banner-form table td span[style*="1dd1a1"] {
  color: #15803d !important;
  font-weight: 800 !important;
  font-size: 12px !important;
}

/* Price — regular */
section.banner-form table td span[style*="635e5e"] {
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}

/* Low-price crown icon */
section.banner-form table td img.pp {
  width: 14px !important;
  height: 14px !important;
  margin: 0 !important;
}

/* Cheapest cell — green tint */
section.banner-form table td > div > div:has(img.pp) {
  background: #f0fdf4;
}

/* Alternate rows subtle tint */
section.banner-form table tr:nth-child(even) td {
  background: #f9fafc;
}

/* Responsive — scroll horizontally on small screens */
section.banner-form > .container > .tab-content {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  section.banner-form table {
    font-size: 10px;
  }
  section.banner-form table td > div > div {
    min-height: 52px;
    padding: 4px 2px 6px;
  }
  section.banner-form table td img[src*="airline_logos"] {
    width: 22px !important;
    height: 15px !important;
  }
}

/* ── Source badges (NDC / AQC / Amadeus) — subtle chip ── */
.vol-source-badge {
  display: inline-block;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Fare boxes — premium cabin cards ── */
.cabinEco,
.cabinBus,
.cabinPre,
.cabinFir {
  border-radius: 10px !important;
  border: 2px solid transparent;
  padding: 12px 8px !important;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s, border-color .2s;
  text-align: center;
}

.cabinEco {
  background: linear-gradient(140deg, #eff6ff, #dbeafe) !important;
  border-color: #bfdbfe !important;
  color: #1e3a8a !important;
}

.cabinBus {
  background: linear-gradient(140deg, #0d1b3e, #1c3370) !important;
  border-color: #2d4a8a !important;
  color: #fff !important;
}

.cabinPre {
  background: linear-gradient(140deg, #1e3a8a, #1a56db) !important;
  border-color: #3b82f6 !important;
  color: #fff !important;
}

.cabinFir {
  background: linear-gradient(140deg, #7c3aed, #4338ca) !important;
  border-color: #8b5cf6 !important;
  color: #fff !important;
}

.cabinEco:hover,
.cabinBus:hover,
.cabinPre:hover,
.cabinFir:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,86,219,.2) !important;
}

/* Fare box headings */
.cabinEco h3,
.cabinBus h3,
.cabinPre h3,
.cabinFir h3 {
  font-size: 15px !important;
  font-weight: 800 !important;
  margin-bottom: 4px !important;
}

.cabinEco h3 {
  color: var(--brand) !important;
}

.cabinBus h3,
.cabinPre h3,
.cabinFir h3 {
  color: #fff !important;
}

/* Fare tag labels (TO, VFR, etc.) */
.cabinBus [style*="color: #f22a54"],
.cabinPre [style*="color: #f22a54"],
.cabinFir [style*="color: #f22a54"] {
  color: #fca5a5 !important;
}

.cabinBus [style*="color: #2af234"],
.cabinPre [style*="color: #2af234"],
.cabinFir [style*="color: #2af234"] {
  color: #86efac !important;
}

.cabinBus [style*="color: #f2ef2a"],
.cabinPre [style*="color: #f2ef2a"],
.cabinFir [style*="color: #f2ef2a"] {
  color: #fde68a !important;
}

/* Cabin label text inside dark boxes */
.cabinBus div,
.cabinPre div,
.cabinFir div {
  color: rgba(255,255,255,.85) !important;
}

/* Flight time highlights inside parcours cards — keep white */
.parcours-summary-box [style*="color: #ef2853"],
.parcours-summary-box [style*="color:#ef2853"] {
  color: #fff !important;
}


/* ── Hotel search: Liste / Carte toggle ── */
.lodge-view-toggle {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--brand);
  border-radius: 8px;
  overflow: hidden;
}

.lodge-view-btn {
  background: #fff;
  color: var(--brand);
  border: none;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, color .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lodge-view-btn:first-child {
  border-right: 1.5px solid var(--brand);
}

.lodge-view-btn.active,
.lodge-view-btn:hover {
  background: var(--brand);
  color: #fff;
}

/* Map section full-width container */
section.list app-map-show {
  display: block;
  width: 100%;
}

/* =====================================================
   PREMIUM HOTELS — Escales du Monde design system
   Modeled on the "escales-du-monde 2.html" reference
   ===================================================== */

:root {
  --edm-navy: #1A3A6C;
  --edm-navy-dark: #0F2347;
  --edm-accent: #2563EB;
  --edm-accent-pale: #EFF6FF;
  --edm-gold: #F59E0B;
  --edm-border: #E2E8F0;
  --edm-border-light: #F1F5F9;
  --edm-text: #0F172A;
  --edm-text-secondary: #475569;
  --edm-text-muted: #94A3B8;
  --edm-bg: #F8FAFC;
  --edm-shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --edm-shadow-md: 0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  --edm-radius-sm: 8px;
  --edm-radius-md: 12px;
  --edm-radius-lg: 16px;
}

/* ── Lodge search form (top "banner-form") ───────────── */
app-search section.banner-form {
  background: var(--edm-navy);
  background: linear-gradient(135deg, var(--edm-navy-dark) 0%, var(--edm-navy) 100%);
  padding: 20px 0 !important;
}
app-search section.banner-form .filter-box {
  background: #fff;
  border-radius: var(--edm-radius-lg);
  box-shadow: var(--edm-shadow-md);
  padding: 16px 20px;
  margin: 0 8px;
}
app-search section.banner-form label {
  font-size: 12px;
  font-weight: 600;
  color: var(--edm-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
app-search section.banner-form .form-group .input-box,
app-search section.banner-form .datePicker {
  border: 1.5px solid var(--edm-border) !important;
  border-radius: var(--edm-radius-sm) !important;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
app-search section.banner-form .form-group .input-box:focus-within {
  border-color: var(--edm-accent) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
/* When .datePicker (mat-date-range-input / passenger input) sits INSIDE an
   .input-box, the wrapper already draws the border. Drop the inner border so
   we don't get a nested "box-in-a-box" date field. */
app-search section.banner-form .input-box .datePicker {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
app-search section.banner-form .biz-btn {
  background: var(--edm-accent) !important;
  border-radius: var(--edm-radius-sm) !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
  transition: all .2s;
}
app-search section.banner-form .biz-btn:hover {
  background: #1D4ED8 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,99,235,.35);
}

/* ── Loader overlay (skeleton hotel cards) ──────────── */
.loader-overlay {
  background: var(--edm-bg);
  padding: 32px 0;
}
.loader-hotel {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  gap: 14px;
}
.sk-card {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
}
.sk-img {
  background: linear-gradient(90deg, #eef2f7 0%, #f7f9fc 50%, #eef2f7 100%);
  background-size: 200% 100%;
  animation: skshimmer 1.4s ease-in-out infinite;
  min-height: 160px;
}
.sk-body { padding: 16px 20px; }
.sk-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #eef2f7 0%, #f7f9fc 50%, #eef2f7 100%);
  background-size: 200% 100%;
  animation: skshimmer 1.4s ease-in-out infinite;
  margin-bottom: 10px;
}
.sk-long { width: 70%; }
.sk-medium { width: 50%; }
.sk-short { width: 30%; }
.sk-stars { width: 35%; height: 10px; }
.sk-price { width: 25%; height: 22px; margin-top: 16px; border-radius: 6px;
  background: linear-gradient(90deg, #eef2f7 0%, #f7f9fc 50%, #eef2f7 100%);
  background-size: 200% 100%;
  animation: skshimmer 1.4s ease-in-out infinite;
}
@keyframes skshimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.loader-label {
  text-align: center;
  color: var(--edm-text-secondary);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
}
.loader-label i { color: var(--edm-accent); margin-right: 6px; }

/* ── Results section wrapper (full viewport width) ──── */
section.list {
  background: var(--edm-bg) !important;
  padding: 24px 0 !important;
}
section.list > .container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
}
/* Petite marge latérale sur grand écran — via padding (la carte garde sa
   largeur interne, donc le bloc prix ne déborde jamais). Aucun effet sous 1500px. */
@media (min-width: 1500px) {
  section.list > .container { padding-left: 48px !important; padding-right: 48px !important; }
}
@media (min-width: 1900px) {
  section.list > .container { padding-left: 90px !important; padding-right: 90px !important; }
}
section.list > .container > .row {
  margin-left: -8px !important;
  margin-right: -8px !important;
}

/* ── Filter sidebar cards ───────────────────────────── */
section.list .list-sidebar {
  position: sticky;
  top: 88px;
}
.list-sidebar .sidebar-item {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--edm-shadow-sm);
}
.list-sidebar .sidebar-item h3 {
  font-size: 12px;
  font-weight: 700;
  color: var(--edm-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  padding: 0;
}
.list-sidebar .sidebar-item select,
.list-sidebar .sidebar-item input[type="text"] {
  width: 100%;
  border: 1.5px solid var(--edm-border);
  border-radius: var(--edm-radius-sm);
  padding: 9px 12px;
  font-size: 14px;
  color: var(--edm-text);
  background: #fff;
  transition: border-color .15s;
}
.list-sidebar .sidebar-item select:focus,
.list-sidebar .sidebar-item input[type="text"]:focus {
  outline: none;
  border-color: var(--edm-accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,.10);
}
.list-sidebar .sidebar-item .star-rating {
  display: flex;
  align-items: center;
  padding: 5px 0;
}
.list-sidebar .sidebar-item .star-rating mat-radio-button { margin-right: 4px; }
.list-sidebar .sidebar-item .star-rating .fa-star.checked { color: var(--edm-gold); margin-right: 1px; }
.list-sidebar .sidebar-item mat-radio-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* ── Results header (count + sort + view toggle) ─────── */
.col-md-9 .trend-box > .list-results.display-flex {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  padding: 14px 20px;
  margin-bottom: 16px;
  box-shadow: var(--edm-shadow-sm);
}
.col-md-9 .list-results-sort p {
  font-size: 14px;
  font-weight: 600;
  color: var(--edm-navy) !important;
  margin: 0;
}
.col-md-9 .list-results-sort p::first-line { color: var(--edm-navy); }

/* Override lodge-view-toggle to match premium */
.lodge-view-toggle {
  border: 1.5px solid var(--edm-border) !important;
  border-radius: var(--edm-radius-sm) !important;
}
.lodge-view-btn {
  color: var(--edm-text-secondary) !important;
  background: #fff !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
}
.lodge-view-btn:first-child {
  border-right: 1.5px solid var(--edm-border) !important;
}
.lodge-view-btn.active,
.lodge-view-btn:hover {
  background: var(--edm-accent) !important;
  color: #fff !important;
}

/* ── HOTEL CARD (product-card) ──────────────────────── */
app-product-card {
  display: block;
  height: 100%;
}
app-product-card .trend-item {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  overflow: hidden;
  box-shadow: var(--edm-shadow-sm);
  transition: all .2s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
}
app-product-card .trend-item:hover {
  border-color: var(--edm-accent);
  box-shadow: var(--edm-shadow-md);
  transform: translateY(-2px);
}
app-product-card .trend-image {
  position: relative;
  overflow: hidden;
  background: var(--edm-border-light);
}
app-product-card .trend-image img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
app-product-card .trend-item:hover .trend-image img {
  transform: scale(1.05);
}
app-product-card .hotel-no-photo {
  background: linear-gradient(135deg, var(--edm-navy-dark), var(--edm-navy));
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  gap: 8px;
}
app-product-card .hotel-no-photo-icon i {
  font-size: 36px;
  color: rgba(255,255,255,.3);
}
app-product-card .hotel-no-photo span {
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
app-product-card .ribbon {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  background: var(--edm-accent);
  color: #fff;
  border-radius: 6px;
  padding: 5px 10px !important;
  z-index: 3;
  height: auto !important;
  width: auto !important;
}
app-product-card .ribbon span {
  position: static !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  color: #fff !important;
  width: auto !important;
  padding: 0 !important;
  left: auto !important;
  top: auto !important;
  display: block;
  line-height: 1.3;
}
app-product-card .recommended-image {
  top: 12px;
  left: 12px;
  background: var(--edm-gold);
  border-radius: 6px;
  padding: 4px 8px !important;
  z-index: 3;
}
app-product-card .recommended-image img {
  height: 28px !important;
  width: auto !important;
}
app-product-card .trend-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
app-product-card .trend-content h2 {
  font-size: 16px;
  font-weight: 700;
  color: var(--edm-navy);
  margin: 0;
  line-height: 1.3;
  min-height: 42px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
app-product-card .trend-content h2 a {
  color: inherit;
  font-weight: 700;
}
app-product-card .trend-content .rating {
  display: flex;
  align-items: center;
  margin: 0 !important;
  min-height: 18px;
}
app-product-card .trend-content .rating mat-icon {
  color: var(--edm-gold);
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 16px;
}
app-product-card .trend-content .hotel-addr {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--edm-text-secondary);
  margin: 0;
  min-height: 18px;
}
app-product-card .trend-content .hotel-addr i {
  color: var(--edm-text-muted);
  font-size: 13px;
}
app-product-card .trend-content > p.mar-0 {
  font-size: 12px;
  color: var(--edm-text-muted);
  margin: 0;
}
app-product-card .trend-content > p.mar-0 i {
  color: var(--edm-accent);
  margin-right: 4px;
}
app-product-card .trend-content .my-badge {
  display: inline-block;
  padding: 3px 9px;
  background: var(--edm-bg);
  border: 1px solid var(--edm-border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  color: var(--edm-text-secondary);
  margin: 0 4px 4px 0;
}
app-product-card .trend-content .price {
  margin: auto 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--edm-border-light);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
app-product-card .trend-content .price > span {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
app-product-card .trend-content .price span[style*="line-through"] {
  font-size: 14px !important;
  color: var(--edm-text-muted) !important;
  font-weight: 500;
}
app-product-card .trend-content .price span[style*="font-size:20px"]:not([style*="line-through"]) {
  font-size: 22px !important;
  font-weight: 800;
  color: var(--edm-navy);
}
app-product-card .trend-content .price sup {
  font-size: 12px;
  font-weight: 600;
  color: var(--edm-text-secondary);
  top: -.6em;
}

/* ── Map (results map column) ───────────────────────── */
section.list app-map-show {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  overflow: hidden;
  box-shadow: var(--edm-shadow-sm);
}

/* ── Empty state ────────────────────────────────────── */
.trend-box .list-results.display-flex.space-between:only-child {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  padding: 48px 24px;
  text-align: center;
  font-size: 16px;
  color: var(--edm-text-secondary);
  font-weight: 500;
  justify-content: center !important;
}

/* ── Responsive: tablet (≤ 992px) ────────────────────── */
@media (max-width: 992px) {
  app-search section.banner-form .filter-box { padding: 14px; }
  .list-sidebar { position: static; top: auto; }
}

/* ── Responsive: mobile (≤ 768px) ────────────────────── */
@media (max-width: 768px) {
  app-search section.banner-form {
    padding: 12px 0 !important;
  }
  app-search section.banner-form .filter-box {
    padding: 12px;
    margin: 0;
    border-radius: var(--edm-radius-md);
  }
  app-search section.banner-form .col-md-3,
  app-search section.banner-form .col-sm-6 {
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 10px;
  }
  app-search section.banner-form .biz-btn {
    width: 100%;
    padding: 14px !important;
    text-align: center;
  }

  section.list {
    padding: 16px 0 !important;
  }
  section.list > .container { padding: 0 12px; }

  /* On mobile, sidebar moves to top as a collapsible block */
  .list-sidebar {
    position: static;
    margin-bottom: 16px;
  }
  .list-sidebar .sidebar-item {
    padding: 14px 16px;
    margin-bottom: 10px;
  }

  /* Results header stacks */
  .col-md-9 .trend-box > .list-results.display-flex {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 10px;
    padding: 12px 14px;
  }
  .lodge-view-toggle {
    width: 100%;
    justify-content: center;
  }
  .lodge-view-btn {
    flex: 1;
    justify-content: center;
  }

  /* Cards: 1 per row */
  .col-md-9 .col-lg-4,
  .col-md-9 .col-md-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  app-product-card .trend-image img,
  app-product-card .hotel-no-photo { height: 200px !important; }

  /* Hide loader skeleton 2nd/3rd cards on mobile */
  .loader-hotel .sk-card { grid-template-columns: 1fr; }
  .loader-hotel .sk-img { height: 160px; min-height: 160px; }
}

/* ── Mobile sticky bottom filter button (UX boost) ──── */
@media (max-width: 640px) {
  .list-sidebar {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--edm-bg);
    padding: 16px;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
  }
  .list-sidebar.is-open {
    transform: translateY(0);
  }
  .list-sidebar-close {
    position: sticky;
    top: 0;
    background: var(--edm-bg);
    padding: 8px 0 12px;
    text-align: right;
    font-size: 24px;
    color: var(--edm-text);
    cursor: pointer;
    z-index: 1;
  }
  .mobile-filter-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background: var(--edm-accent);
    color: #fff;
    border: none;
    border-radius: 100px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(37,99,235,.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .mobile-filter-fab i { font-size: 14px; }
}
@media (min-width: 641px) {
  .mobile-filter-fab,
  .list-sidebar-close { display: none !important; }
}

/* =====================================================
   PREMIUM HOTELS v2 — Maquette-accurate layout
   ===================================================== */

/* ── Compact navy strip (when results present) ──────── */
.banner-compact {
  background: var(--edm-navy);
  padding: 18px 0;
}
.banner-compact .container {
  max-width: 1280px;
}
.mini-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.mini-chip i {
  color: rgba(255,255,255,.6);
  font-size: 13px;
}
.mini-edit {
  margin-left: auto;
  background: var(--edm-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.mini-edit:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

/* Hide full form when collapsed */
section.banner-form.is-collapsed { display: none; }

/* ── 3-column hotels layout ─────────────────────────── */
section.list > .container > .row {
  margin: 0 -10px;
}
section.list .col-md-3.col-xs-12 { padding: 0 10px; }
section.list .results-mid-col { padding: 0 10px; }
section.list .results-map-col { padding: 0 10px; }

/* Wrap cards as vertical list */
.hotels-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Sticky map column */
.results-map-col {
  position: relative;
}
.mini-map {
  position: sticky;
  top: 88px;
  height: 580px;
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  overflow: hidden;
  box-shadow: var(--edm-shadow-sm);
}
.mini-map app-map-show {
  display: block;
  width: 100%;
  height: 100%;
}
.mini-map app-map-show > * { height: 100%; }

/* ── Results header tweaks ──────────────────────────── */
.col-md-6.results-mid-col .trend-box > .list-results.display-flex {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0 4px 16px;
  margin-bottom: 0;
}
.col-md-6.results-mid-col .list-results-sort p {
  font-size: 18px;
  font-weight: 700;
  color: var(--edm-navy) !important;
}
.col-md-6.results-mid-col .list-results-sort p strong {
  color: var(--edm-navy);
}
.col-md-6.results-mid-col .results-sub {
  font-weight: 400;
  font-size: 14px;
  color: var(--edm-text-secondary);
}

/* ── Hide top form when results showing, keep visible on init ── */
@media (min-width: 769px) {
  section.banner-form { padding: 28px 0 !important; }
}

/* ── Responsive: ≤ 992 (collapse map) ────────────────── */
@media (max-width: 992px) {
  .results-map-col { display: none; }
  .col-md-6.results-mid-col {
    width: 75%;
    flex: 0 0 75%;
    max-width: 75%;
  }
}

@media (max-width: 768px) {
  .banner-compact { padding: 12px 0; }
  .mini-search-row { gap: 6px; }
  .mini-chip {
    font-size: 12px;
    padding: 7px 11px;
    gap: 5px;
  }
  .mini-edit {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    margin-top: 6px;
  }
  .col-md-6.results-mid-col {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .col-md-6.results-mid-col .list-results-sort p { font-size: 15px; }
}

/* ── Sticky sidebar/map: row must allow item-level stickiness ── */
section.list .results-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
section.list .results-row > [class*="col-"] { align-self: flex-start; }
section.list .list-sidebar {
  position: sticky;
  top: 88px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
}
.list-sidebar::-webkit-scrollbar { width: 6px; }
.list-sidebar::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }

/* ── New filter cards (Image #4 style) ───────────────── */
.filter-card {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.filter-title {
  font-size: 11px;
  font-weight: 700;
  color: #1A3A6C;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  padding: 0;
}
.filter-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.filter-search-wrap i {
  position: absolute;
  left: 12px;
  color: #94A3B8;
  font-size: 13px;
}
.filter-search {
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px 10px 34px;
  font-size: 14px;
  background: #F8FAFC;
  transition: border-color .15s, background .15s;
}
.filter-search:focus {
  outline: none;
  border-color: #2563EB;
  background: #fff;
}
.filter-range {
  width: 100%;
  appearance: none;
  height: 4px;
  background: #E2E8F0;
  border-radius: 4px;
  outline: none;
  margin: 8px 0 4px;
}
.filter-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: #2563EB;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(37,99,235,.4);
}
.filter-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: #2563EB;
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
}
.filter-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
  margin-top: 8px;
}
.filter-range-labels strong { color: #1A3A6C; font-size: 13px; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  user-select: none;
  font-size: 13px;
  color: #1A3A6C;
}
.filter-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.filter-check-box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #CBD5E1;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
}
.filter-check input[type="checkbox"]:checked + .filter-check-box {
  background: #2563EB;
  border-color: #2563EB;
}
.filter-check input[type="checkbox"]:checked + .filter-check-box::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.filter-check-stars {
  color: #F59E0B;
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 1;
}
.filter-check-stars .fa-star-o { color: #E2E8F0; }
.filter-check-icon {
  color: #2563EB;
  font-size: 14px;
  width: 18px;
  text-align: center;
}
.filter-check-text { flex: 1; }
.filter-select {
  width: 100%;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  color: #1A3A6C;
  cursor: pointer;
}
.filter-select:focus { outline: none; border-color: #2563EB; }

/* ── "Afficher tous les résultats" button ─────────────── */
.show-all-btn {
  background: #fff;
  border: 1.5px solid #2563EB;
  color: #2563EB;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .15s;
}
.show-all-btn:hover {
  background: #2563EB;
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

/* Hide legacy lodge view toggle if any leftover */
.lodge-view-toggle { display: none !important; }

/* ── Inline TRI dropdown at top of results ─────────────── */
.results-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.results-sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 10px 4px 12px;
}
.results-sort-label {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.results-sort-select {
  border: none;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: #1A3A6C;
  cursor: pointer;
  padding: 6px 4px;
  outline: none;
  min-width: 140px;
}

/* ── Single-line search form (match EDM ref) ─────────── */
section.banner-form .filter-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  margin: 0 !important;
}
section.banner-form .filter-box > [class*="col-md-"] {
  flex: 1 1 0;
  min-width: 180px;
  padding: 0 !important;
  width: auto !important;
  max-width: none !important;
}
/* Forms (e.g. Amadeus vols) wrap their fields in nested bootstrap .row blocks.
   Once .filter-box becomes flex, those nested rows collapse to their content
   width — squeezing the fields and clipping the "RECHERCHER" button ("REC").
   Force each direct .row child back to full width so the inner grid behaves. */
section.banner-form .filter-box > .row {
  flex: 0 0 100%;
  width: 100%;
  margin: 0 !important;
}
section.banner-form .filter-box .form-group { margin-bottom: 0; }

.search-btn-col {
  flex: 0 0 auto !important;
  align-self: flex-end;
}
.biz-btn.search-btn-lg {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px !important;
  font-size: 14px !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase;
  height: 44px;
  white-space: nowrap;
}

/* ── Uniformize compact banner with form (single line) ─ */
.banner-compact {
  background: linear-gradient(140deg, #0d1b3e 0%, #1c3370 60%, #2d4a8a 100%);
  padding: 16px 0;
}
.banner-compact .container { max-width: 1280px; }
.mini-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.mini-search-row::-webkit-scrollbar { height: 4px; }
.mini-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.mini-edit {
  margin-left: auto;
  background: var(--edm-accent, #2563EB);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 992px) {
  section.banner-form .filter-box { gap: 10px; }
  section.banner-form .filter-box > [class*="col-md-"] { flex: 1 1 45%; min-width: 200px; }
}
@media (max-width: 768px) {
  section.banner-form .filter-box > [class*="col-md-"] { flex: 1 1 100%; }
  .search-btn-col { width: 100%; }
  .biz-btn.search-btn-lg { width: 100%; min-width: 0; }
  .mini-search-row { flex-wrap: wrap; }
  .mini-edit { margin-left: 0; width: 100%; justify-content: center; }
}

@media (max-width: 992px) {
  .list-sidebar { max-height: none; overflow: visible; }
}

/* ── Full-bleed results layout + bullet-proof stickiness ── */
section.list { overflow: visible !important; }
section.list > .container { overflow: visible !important; }
section.list .results-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-left: -8px;
  margin-right: -8px;
}
section.list .results-row > [class*="col-"] {
  align-self: flex-start;
  padding-left: 8px;
  padding-right: 8px;
}
section.list .list-sidebar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 12px !important;
  max-height: calc(100vh - 24px);
  overflow-y: auto;
  overflow-x: hidden;
}
section.list .mini-map {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 12px !important;
  height: calc(100vh - 24px) !important;
  max-height: calc(100vh - 24px);
}

/* Detail page reuses .list-sidebar as a plain wrapper — never sticky there */
section.hotel-single .list-sidebar {
  position: static !important;
  top: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Widen middle results column on large screens (sidebar+map are sticky) */
@media (min-width: 1200px) {
  section.list .col-md-3.col-xs-12:first-of-type { flex: 0 0 22%; max-width: 22%; }
  section.list .col-md-6.results-mid-col { flex: 0 0 52%; max-width: 52%; }
  section.list .col-md-3.results-map-col { flex: 0 0 26%; max-width: 26%; }
}

/* ═══════════════════════════════════════════════════════════════
   Checkout (app-stay) — premium EDM look (inspiré edmtestv1)
   Scopé à app-stay : aucun impact sur les autres écrans.
   ═══════════════════════════════════════════════════════════════ */
app-stay section.booking { background: var(--edm-bg); padding: 28px 0 60px; }
app-stay section.booking > .container { max-width: 1300px; width: auto !important; margin: 0 auto; }

/* ── Cards ─────────────────────────────────────────────── */
app-stay .price-tabmain,
app-stay .booking-sidebar .sidebar-booking,
app-stay .booking-sidebar .sidebar-payment {
  background: #fff;
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-lg);
  box-shadow: var(--edm-shadow-sm);
}
app-stay .booking-box { padding: 26px 30px; }
app-stay .booking-sidebar { position: sticky; top: 90px; }
app-stay .booking-sidebar .sidebar-booking,
app-stay .booking-sidebar .sidebar-payment { padding: 20px 22px; margin-bottom: 18px; position: relative; }

/* ── Section headings ──────────────────────────────────── */
app-stay .customer-information > h3,
app-stay .customer-information h3 {
  font-size: 18px; font-weight: 700; color: var(--edm-text);
  margin: 0 0 20px; padding: 0 0 14px 14px;
  border-bottom: 1px solid var(--edm-border);
  text-transform: none; position: relative;
}
app-stay .customer-information h3::before {
  content: ""; position: absolute; left: 0; top: 2px; bottom: 16px;
  width: 4px; border-radius: 4px; background: var(--edm-accent);
}
app-stay .sidebar-booking > h4,
app-stay .sidebar-payment h4,
app-stay .customer-information h4 {
  font-size: 15px; font-weight: 700; color: var(--edm-text);
  text-transform: none; margin: 0 0 14px;
}

/* ── Labels & required asterisk ────────────────────────── */
app-stay .form-group > label,
app-stay .customer-information label,
app-stay .sidebar-booking label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; color: var(--edm-text-secondary);
  margin-bottom: 6px; display: inline-block;
}
app-stay .form-group > label + span,
app-stay .customer-information label + span { color: #ef4444; margin-left: 3px; font-weight: 700; }

/* ── Inputs / selects ──────────────────────────────────── */
app-stay input[type=text],
app-stay input[type=email],
app-stay input[type=tel],
app-stay input[type=number],
app-stay input[type=search],
app-stay input[type=password],
app-stay select,
app-stay textarea,
app-stay .form-control {
  border: 1.5px solid var(--edm-border) !important;
  border-radius: var(--edm-radius-sm) !important;
  height: 44px; padding: 10px 14px !important; font-size: 14px;
  color: var(--edm-text); background: #fff;
  transition: border-color .15s, box-shadow .15s;
  margin-bottom: 16px; box-shadow: none;
}
app-stay textarea { height: auto; min-height: 80px; }
app-stay input:focus,
app-stay select:focus,
app-stay textarea:focus,
app-stay .form-control:focus {
  border-color: var(--edm-accent) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important; outline: none;
}
app-stay input::placeholder { color: var(--edm-text-muted); }
app-stay input:disabled,
app-stay select:disabled { background: var(--edm-border-light); color: var(--edm-text-secondary); }

/* Mat-checkboxes (société / passager principal) align nicely */
app-stay mat-checkbox { font-size: 14px; color: var(--edm-text); }

/* ── Floating "add item" FAB → brand blue, not red ─────── */
app-stay .example-button-container button[mat-fab] {
  background: var(--edm-accent) !important;
  box-shadow: 0 6px 16px rgba(37,99,235,.35) !important;
}

/* ── Vertical stepper passenger icon → brand blue ──────── */
app-stay .mat-step-header .mat-step-icon-selected,
app-stay .mat-step-header .mat-step-icon-state-edit {
  background-color: var(--edm-accent) !important; color: #fff !important;
}
app-stay .mat-step-header .mat-step-icon-state-done { background-color: #16a34a !important; }
app-stay .mat-step-label { font-weight: 600; color: var(--edm-text); }

/* ── Panier / passengers tables ────────────────────────── */
app-stay .sidebar-booking table { width: 100%; border-collapse: collapse; }
app-stay .sidebar-booking table td {
  padding: 10px 8px; font-size: 13px; color: var(--edm-text);
  border-bottom: 1px solid var(--edm-border-light); vertical-align: top;
}
app-stay .sidebar-booking table td:first-child { color: var(--edm-text-secondary); font-weight: 600; }
app-stay .sidebar-booking table tr:last-child td { border-bottom: none; }
app-stay .sidebar-booking table p { margin: 0; line-height: 1.5; }
app-stay .sidebar-booking mat-icon { color: var(--edm-text-muted); }
app-stay .sidebar-booking mat-icon:hover { color: #ef4444; }

/* Total row emphasis (the standalone total table) */
app-stay .sidebar-booking table:last-of-type td {
  font-size: 16px; font-weight: 800; color: var(--edm-text); border-top: 2px solid var(--edm-border);
}
app-stay .sidebar-booking table sup { font-size: 11px; color: var(--edm-text-secondary); }

/* ── Coupon row ────────────────────────────────────────── */
app-stay .sidebar-booking input + .cpbtn,
app-stay .cpbtn {
  height: 44px; border-radius: var(--edm-radius-sm); white-space: nowrap;
  margin-left: 8px; margin-bottom: 16px; padding: 0 18px;
  background: var(--edm-accent); text-transform: uppercase; font-weight: 700;
}

/* ── Buttons consistency (Afficher prix détail / submit) ─ */
app-stay .booking-sidebar .biz-btn { width: 100%; text-align: center; border-radius: var(--edm-radius-sm); }

/* ── Panier : puce type de produit + responsive ────────── */
app-stay .item-type-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 6px; border-radius: 999px;
  background: var(--edm-accent-pale); color: var(--edm-accent);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
app-stay .item-type-chip mat-icon {
  font-size: 16px; width: 16px; height: 16px; line-height: 16px; color: var(--edm-accent);
}
/* Chaque item = mini-carte au lieu d'une table nue */
app-stay .sidebar-booking > table {
  background: var(--edm-border-light);
  border: 1px solid var(--edm-border);
  border-radius: var(--edm-radius-md);
  padding: 6px 12px; margin-bottom: 12px;
}
app-stay .sidebar-booking > table td { border-bottom-color: rgba(15,23,42,.06); }

/* ── Responsive checkout (≤ 992px) ─────────────────────── */
@media (max-width: 992px) {
  app-stay .booking-sidebar { position: static; top: auto; }
  app-stay .col-md-8, app-stay .col-md-4 { width: 100%; max-width: 100%; flex: 0 0 100%; }
  app-stay .booking-sidebar { margin-top: 18px; }
}
@media (max-width: 768px) {
  app-stay section.booking { padding: 14px 0 40px; }
  app-stay .booking-box { padding: 18px 16px; }
  app-stay section.booking > .container { padding: 0 10px; }
  /* champs pleine largeur, plus de colonnes serrées */
  app-stay .customer-information .col-md-2,
  app-stay .customer-information .col-md-3,
  app-stay .customer-information .col-md-4,
  app-stay .customer-information .col-md-5,
  app-stay .customer-information .col-md-7,
  app-stay .customer-information .col-md-8 { width: 100%; max-width: 100%; flex: 0 0 100%; }
}

/* ── Informations client : grille flex prévisible ────────
   Les champs (recherche/checkbox/civilité/nom/prénom/email/tél) sont tous
   enfants directs d'un même .row. En grille flottante, la Civilité (col-md-2)
   remontait se loger sous la checkbox plus courte. On force le wrap gauche→droite.
   Cible UNIQUEMENT le .row direct → le .form-group.row du téléphone reste intact. */
app-stay .customer-information > .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  row-gap: 6px;
}
app-stay .customer-information > .row > [class*="col-md-"] {
  float: none !important;
}

/* ── Bloc Solde + Valider la commande (checkout) ───────── */
app-stay .solde-box { display: flex; flex-direction: column; gap: 14px; }
app-stay .solde-box .solde-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: var(--edm-radius-sm);
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid #A7F3D0;
}
app-stay .solde-box .solde-label {
  font-size: 13px; font-weight: 600; color: #047857; text-transform: uppercase; letter-spacing: .03em;
}
app-stay .solde-box .solde-value { font-size: 20px; font-weight: 800; color: #065F46; }
app-stay .solde-box .solde-value sup { font-size: 11px; font-weight: 700; }
app-stay .biz-btn.valider-cmd {
  width: 100%; text-align: center; border-radius: var(--edm-radius-sm);
  background: var(--edm-accent) !important; color: #fff !important;
  padding: 14px 20px !important; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}
app-stay .biz-btn.valider-cmd:hover { background: #1D4ED8 !important; }
app-stay .biz-btn.valider-cmd:disabled { opacity: .6; cursor: not-allowed; }

/* ═══════════════════════════════════════════════════════════════
   Filet de sécurité responsive GLOBAL (tous modules)
   Règles non-scopées → atteignent même le CSS encapsulé des composants.
   ═══════════════════════════════════════════════════════════════ */

/* 1. Jamais de scroll horizontal parasite sur mobile/tablette */
@media (max-width: 992px) {
  html, body { max-width: 100%; overflow-x: hidden; }
}

/* 2. Médias fluides partout */
img { max-width: 100%; }

/* 3. Conteneurs : padding confortable sur petit écran */
@media (max-width: 768px) {
  .container, .container-fluid { padding-left: 14px !important; padding-right: 14px !important; }
}

/* 4. Tableaux de données larges → scroll horizontal interne
      (au lieu de casser la mise en page). On épargne les petits
      tableaux déjà mis en forme du panier checkout. */
@media (max-width: 768px) {
  table:not(.no-mobile-scroll) {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  app-stay .sidebar-booking table { display: table; overflow: visible; }
}
