/* ============================================
   DEALS PAGE - SPECIFIC STYLES
   ============================================ */

/* ============ DEALS HERO ============ */
.deals-hero {
  background:
    linear-gradient(90deg, rgba(225, 238, 255, 0.92) 0%, rgb(225 238 255 / 89%) 45%, rgba(225, 238, 255, 0.1) 75%), 
    url(image/dels.webp) center / cover no-repeat;
  padding: 60px 0 50px;
}
.deals-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.22;
  margin-bottom: 18px;
}
.deals-hero h1 .hero-blue { color: var(--primary-blue); }
.deals-hero .hero-text {
  color: #1b1b1b;
  font-size: 16px;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 35px;
}

/* Hero Features Row */
.deals-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
}
.dh-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #a0a0a0;
}
.dh-item:last-child {
  border-right: none;
}
.dh-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.dh-item h6 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text-dark);
}
.dh-item p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* ============ DEALS TABS ============ */
.deals-section {
  padding: 30px 0 30px;
}
.deals-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.deal-tab {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.deal-tab i { font-size: 14px; color: var(--primary-blue); }
.deal-tab .flag-icon { font-size: 18px; line-height: 1; }
.deal-tab:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.deal-tab.active {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}
.deal-tab.active i { color: #fff; }

/* ============ DEALS HEAD ============ */
.deals-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.deals-head h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark);
  margin: 0;
}
.price-note {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ DEAL CARD ============ */
.deal-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.deal-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.deal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge Colors */
.deal-badge {
  position: absolute;
  top: 0px;
  left: 0px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}
.deal-badge.bg-green { background: #10B981; }
.deal-badge.bg-red { background: #EF4444; }
.deal-badge.bg-orange { background: #F97316; }
.deal-badge.bg-blue { background: #3B82F6; }
.deal-badge.bg-purple { background: #A855F7; }

.deal-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.deal-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  line-height: 12px;
}
.deal-route .route-arrow {
  color: var(--primary-blue);
  font-size: 12px;
}

/* Airline Logo & Name */
.deal-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.airline-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}
.airline-delta { background: #C8102E; }
.airline-united { background: #002244; }
.airline-american { background: #BB1F2A; color: #fff; }
.airline-jetblue { background: #0033A0; }
.airline-airindia { background: #C8102E; }
.airline-british { background: #075AAA; }
.airline-aircanada { background: #D71921; }
.airline-emirates { background: #D71A21; }

.airline-name {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

/* Meta Row */
.deal-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}
.deal-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.deal-meta i { color: var(--text-muted); font-size: 11px; }

/* Price Row */
.deal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-now {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.save-pill {
  background: #FEE2E2;
  color: #DC2626;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.btn-view-deal {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
  transition: background 0.2s;
}
.btn-view-deal:hover { background: var(--primary-blue-dark); }

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.no-results i {
  font-size: 50px;
  color: var(--border-light);
  margin-bottom: 16px;
}
.no-results h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.no-results p { font-size: 14px; margin: 0; }

/* Hidden Animation */
.deal-col {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.deal-col.hidden {
  display: none;
}

/* ============ INLINE CTA ============ */
.inline-cta {
  padding: 30px 0 20px;
}
.inline-cta-card {
  background: #EEF3FB;
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.ic-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 250px;
}
.ic-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ic-text h5 {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-dark);
}
.ic-text p {
    margin: 0;
    color: #202020;
    font-size: 14px;
    font-weight: 500;
}
.ic-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-ic-green {
  background: var(--whatsapp-green);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-ic-green i.fab.fa-whatsapp {
    font-size: 22px;
}
.btn-ic-green:hover { background: var(--whatsapp-green-dark); color: #fff; }
.btn-ic-blue {
  background: var(--primary-blue);
  color: #fff;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 500;
  border: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.btn-ic-blue:hover { background: var(--primary-blue-dark); color: #fff; }

/* ============ TRUST FEATURES ============ */
.trust-features {
  padding: 20px 0 60px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 28px 22px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trust-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.trust-item h6 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text-dark);
}
.trust-item p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .deals-hero h1 { font-size: 38px; }
  .deals-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .deals-hero {
    padding: 40px 0 40px;
    background:
      linear-gradient(180deg, rgba(225,238,255,0.95) 0%, rgba(225,238,255,0.7) 60%, rgba(225,238,255,0.4) 100%),
      url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1200&auto=format&fit=crop&q=80') center/cover no-repeat;
  }
  .deals-hero h1 { font-size: 28px; }
  .deals-hero .hero-text { font-size: 14px; }

  .deals-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 18px;
    scrollbar-width: thin;
  }
  .deals-tabs::-webkit-scrollbar { height: 4px; }
  .deals-tabs::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 2px;
  }
  .deal-tab {
    flex-shrink: 0;
    padding: 9px 16px;
    font-size: 13px;
  }

  .deals-head h3 { font-size: 20px; }

  /* Inline CTA stacks */
  .inline-cta-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 10px 10px;
  }
  .ic-left {
    flex-direction: column;
    text-align: center;
    min-width: 0;
  }
  .ic-right {
    justify-content: center;
    width: 100%;
    flex-direction: column-reverse;
  }
  .ic-right a {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }
  .dh-item {
    border-right: none;
    }
}

@media (max-width: 576px) {
  .deals-hero h1 { font-size: 24px; }
  .deals-features {
    grid-template-columns: repeat(2, 1fr);
  }
  .deal-img-wrap { height: 150px; }
  .deal-route { font-size: 13px; }
  .price-now { font-size: 20px; }
}