/* ============================================
   DOMESTIC FLIGHTS PAGE
   All class names are prefixed with `dom-`
   so they cannot collide with deals.css / deals.js
   ============================================ */

/* ============ DOMESTIC HERO ============ */
.domestic-hero {
  background:
    linear-gradient(90deg, rgb(255 247 247 / 95%) 0%, rgb(246 246 246 / 88%) 40%, rgba(225, 238, 255, 0) 70%), 
    url(image/usa.webp) center / cover no-repeat;
  padding: 80px 0 80px;
}
.domestic-hero h1 {
  font-size: 45px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
  line-height: 1.1;
}
.domestic-hero .dom-hero-text {
  color: #1f2023;
  font-size: 15px;
  font-weight: 500;
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 35px;
}
.dom-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
}
.df-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.df-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;
}
.df-item h6 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text-dark);
}
.df-item p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* ============ DOM SECTION ============ */
.dom-section {
  padding: 30px 0 30px;
}

/* ============ DOM TABS (in-page filter) ============ */
.dom-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 18px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.dom-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;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
}
.dom-tab i {
  font-size: 14px;
  color: var(--primary-blue);
}
.dom-tab .flag-icon {
  font-size: 18px;
  line-height: 1;
}
.dom-tab:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.dom-tab.dom-tab-active,
.dom-tab.dom-tab-active:hover {
  background: var(--primary-blue);
  color: #fff;
  border-color: var(--primary-blue);
}
.dom-tab.dom-tab-active i {
  color: #fff;
}

/* ============ DOM HEAD ============ */
.dom-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.dom-head h3 {
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark);
  margin: 0;
}
.dom-price-note {
  color: var(--text-muted);
  font-size: 13px;
}

/* ============ DOM CARD ============ */
.dom-card-col {
  transition: opacity 0.3s ease;
}
.dom-card-col.dom-hidden {
  display: none;
}
.dom-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);
}
.dom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.dom-img-wrap {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.dom-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Badge Colors */
.dom-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;
}
.dom-bg-green { background: #10B981; }
.dom-bg-red { background: #EF4444; }
.dom-bg-orange { background: #F97316; }
.dom-bg-blue { background: #3B82F6; }
.dom-bg-purple { background: #A855F7; }
.dom-bg-pink { background: #EC4899; }

.dom-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dom-route {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.dom-route-arrow {
  color: var(--primary-blue);
  font-size: 12px;
}

/* Airline Logo & Name */
.dom-airline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.dom-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;
}
.dom-al-delta { background: #C8102E; }
.dom-al-united { background: #002244; }
.dom-al-american { background: #BB1F2A; }
.dom-al-jetblue { background: #0033A0; }
.dom-al-alaska { background: #00467F; }
.dom-al-southwest {
  background: linear-gradient(135deg, #304CB2 33%, #E51A3D 33%, #E51A3D 66%, #F8B921 66%);
  font-size: 10px;
}
.dom-al-airindia { background: #C8102E; }
.dom-al-british { background: #075AAA; }
.dom-al-aircanada { background: #D71921; }
.dom-al-emirates { background: #D71A21; }

.dom-airline-name {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

/* Meta Row */
.dom-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);
}
.dom-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dom-meta i {
  color: var(--text-muted);
  font-size: 11px;
}

/* Price Row */
.dom-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.dom-price-block {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.dom-price-now {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.dom-price-old {
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.dom-save-pill {
  background: #FEE2E2;
  color: #DC2626;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.dom-btn-view {
  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;
  font-family: inherit;
}
.dom-btn-view:hover {
  background: var(--primary-blue-dark);
}

/* No results */
.dom-no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.dom-no-results i {
  font-size: 50px;
  color: var(--border-light);
  margin-bottom: 16px;
}
.dom-no-results h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.dom-no-results p {
  font-size: 14px;
  margin: 0;
}

/* ============ INLINE CTA ============ */
.dom-inline-cta {
  padding: 10px 0 10px;
}
.dom-inline-card {
  background: #EEF3FB;
  border-radius: 14px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.dom-ic-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 250px;
}
.dom-ic-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}
.dom-ic-text h5 {
  margin: 0 0 5px;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-dark);
}
.dom-ic-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.dom-ic-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.dom-btn-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;
}
.dom-ic-right i.fab.fa-whatsapp {
    font-size: 22px;
}
.dom-btn-green:hover {
  background: var(--whatsapp-green-dark);
  color: #fff;
}
.dom-btn-outline-blue {
  background: transparent;
  color: var(--primary-blue);
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 500;
  border: 1.5px solid var(--primary-blue);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.2s;
}
.dom-btn-outline-blue:hover {
  background: var(--primary-blue);
  color: #fff;
}

/* ============ TRUST FEATURES ============ */
.dom-trust {
  padding: 20px 0 30px;
}
.dom-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);
}
.dom-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border-right: 1px solid #cfcfcf;
}
.dom-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;
}
.dom-trust-item h6 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 2px;
  color: var(--text-dark);
}
.dom-trust-item p {
  color: var(--text-muted);
  font-size: 12px;
  margin: 0;
  line-height: 1.4;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991px) {
  .domestic-hero h1 { font-size: 38px; }
  .dom-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .domestic-hero {
    padding: 40px 0 40px;
    background:
      linear-gradient(
        331deg, 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-1485871981521-5b1fd3805eee?w=1200&auto=format&fit=crop&q=80) center / cover no-repeat
  }
  .domestic-hero h1 { font-size: 28px; }
  .domestic-hero .dom-hero-text { font-size: 14px; }

  .dom-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: thin;
  }
  .dom-tabs::-webkit-scrollbar { height: 4px; }
  .dom-tabs::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 2px;
  }
  .dom-tab {
    flex-shrink: 0;
    padding: 9px 16px;
    font-size: 13px;
  }

  .dom-head h3 { font-size: 20px; }

  .dom-inline-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 22px 20px;
  }
  .dom-ic-left {
    flex-direction: column;
    text-align: center;
    min-width: 0;
  }
  .dom-ic-right {
    justify-content: center;
    width: 100%;
    flex-direction: column;
  }
  .dom-ic-right a {
    flex: 1;
    justify-content: center;
    min-width: 140px;
  }
}

@media (max-width: 576px) {
  .domestic-hero h1 { font-size: 24px; }
  .dom-features { grid-template-columns: repeat(2, 1fr); }
  .dom-img-wrap { height: 150px; }
  .dom-route { font-size: 13px; }
  .dom-price-now { font-size: 20px; }
}