/**
 * ==============================================================================
 * ENJOY HOLIDAY HUB - MASTER RESPONSIVE STYLESHEET
 * Version: 2.0 (Mobile, Tablet, Laptop, Desktop & Large Desktop)
 * Covers: 320px, 360px, 375px, 390px, 430px, 768px, 1024px, 1366px, 1440px, 1920px
 * Designed to guarantee ZERO horizontal scrolling, touch-first ergonomics (44px+),
 * fluid clamp() typography, mobile off-canvas drawers, responsive booking widgets,
 * and adaptive dashboards/tables across all routes and devices.
 * ==============================================================================
 */

/* ==============================================================================
   1. GLOBAL RESET & VIEWPORT SAFETY
   ============================================================================== */
:root {
  --ehh-primary: #14213d;
  --ehh-secondary: #e72e2e;
  --ehh-secondary-hover: #c81e1e;
  --ehh-bg-light: #f8fafc;
  --ehh-border: #e2e8f0;
  --ehh-text: #172033;
  --ehh-muted: #64748b;
  --ehh-touch-target: 44px;
}

html,
body {
  max-width: 100vw !important;
  overflow-x: clip !important;
  position: relative;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure no child container causes horizontal page scroll */
*,
*::before,
*::after {
  box-sizing: border-box !important;
}

img,
video,
canvas,
svg,
iframe {
  max-width: 100% !important;
  height: auto;
}

/* Normalize bootstrap container on mobile */
@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .row {
    margin-left: -8px !important;
    margin-right: -8px !important;
  }

  .row > [class*="col-"] {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* Eliminate iOS Safari automatic zoom on inputs */
@media (max-width: 991.98px) {
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="date"],
  input[type="search"],
  select,
  textarea,
  .form-control,
  .form-select {
    font-size: 16px !important; /* Critical: 16px prevents iOS Safari auto-zoom */
    min-height: 48px !important;
  }
}

/* Touch target minimums for interactive elements */
a,
button,
.btn,
.nav-link,
.dropdown-item,
.page-link,
.form-check-label {
  touch-action: manipulation;
}

/* ==============================================================================
   2. MOBILE HEADER & NAVIGATION DRAWER
   ============================================================================== */
@media (max-width: 1199.98px) {
  /* Compact Header */
  .ehh-navbar-header {
    height: 64px !important;
    padding: 0 !important;
  }

  .ehh-header-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    height: 100% !important;
  }

  .ehh-navbar-row {
    height: 100% !important;
  }

  .ehh-brand-logo {
    height: 38px !important;
    max-height: 40px !important;
  }

  .ehh-brand-name {
    font-size: 16px !important;
  }

  /* Hamburger Button */
  .ehh-hamburger-btn {
    width: 44px !important;
    height: 44px !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: var(--ehh-primary) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .ehh-hamburger-btn:active {
    background: var(--ehh-secondary) !important;
    color: #ffffff !important;
  }

  /* Desktop Menu Hidden */
  .ehh-nav-center {
    display: none !important;
  }

  /* Hide Desktop Buttons in Navbar (< 1200px) - They are inside Offcanvas Drawer */
  .ehh-btn-property {
    display: none !important;
  }

  @media (max-width: 991.98px) {
    .ehh-btn-b2b {
      display: none !important;
    }
  }

  @media (max-width: 767.98px) {
    .ehh-btn-signin {
      display: none !important;
    }
    .ehh-navbar-row {
      height: 58px !important;
      gap: 8px !important;
    }
    .ehh-brand-logo {
      height: 36px !important;
      max-height: 38px !important;
      max-width: 150px !important;
    }
  }

  @media (max-width: 480px) {
    .ehh-settings-dropdown {
      display: none !important;
    }
    .ehh-brand-logo {
      height: 32px !important;
      max-height: 34px !important;
      max-width: 130px !important;
    }
  }

  /* Off-canvas Drawer */
  .ehh-mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    visibility: hidden;
    transition: visibility 0.3s ease;
  }

  .ehh-mobile-drawer.active {
    visibility: visible !important;
  }

  .ehh-drawer-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .ehh-mobile-drawer.active .ehh-drawer-overlay {
    opacity: 1 !important;
  }

  .ehh-drawer-content {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 320px !important;
    max-width: 86vw !important;
    height: 100% !important;
    background: #ffffff !important;
    box-shadow: -8px 0 32px rgba(20, 33, 61, 0.2) !important;
    transform: translateX(100%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 2 !important;
  }

  .ehh-mobile-drawer.active .ehh-drawer-content {
    transform: translateX(0) !important;
  }

  .drawer-nav-item {
    display: flex !important;
    align-items: center !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .drawer-nav-item.active,
  .drawer-nav-item:active {
    background: rgba(231, 46, 46, 0.08) !important;
    color: #e72e2e !important;
  }
}

/* Very Small Mobile Header (<= 360px) */
@media (max-width: 360px) {
  .ehh-brand-name {
    font-size: 14px !important;
    margin-left: 4px !important;
  }

  .ehh-brand-logo {
    height: 32px !important;
  }

  .ehh-hamburger-btn {
    width: 40px !important;
    height: 40px !important;
    font-size: 18px !important;
  }
}

/* ==============================================================================
   3. HERO SECTION & BOOKING SEARCH WIDGET
   ============================================================================== */
.ehh-hero-title {
  font-size: clamp(24px, 5.5vw, 48px) !important;
  line-height: 1.2 !important;
  margin-bottom: 12px !important;
}

.ehh-hero-subtitle {
  font-size: clamp(13.5px, 2.5vw, 17px) !important;
  line-height: 1.5 !important;
}

/* Tabs Bar Horizontal Touch Scroll on Mobile */
.ehh-booking-tabs-nav {
  display: flex !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  padding: 8px 12px !important;
  gap: 8px !important;
}

.ehh-booking-tabs-nav::-webkit-scrollbar {
  display: none !important;
}

.ehh-booking-tab-btn {
  flex-shrink: 0 !important;
  min-height: 44px !important;
  padding: 8px 16px !important;
  font-size: 13.5px !important;
  white-space: nowrap !important;
  border-radius: 50px !important;
}

/* Booking Widget Form Fields Responsive Layout */
@media (max-width: 991.98px) {
  .hero-section.ehh-hero-section {
    padding: 35px 0 45px !important;
    min-height: auto !important;
  }

  .ehh-fields-row {
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .ehh-field-box {
    flex: 1 1 calc(50% - 8px) !important;
    min-width: 140px !important;
    padding: 10px 14px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
  }

  /* Maintain swap button visible on tablets unless on small phone screens */
  .ehh-swap-btn {
    display: flex !important;
  }

  .ehh-search-btn-wrap {
    flex: 1 1 100% !important;
    width: 100% !important;
    margin-top: 6px !important;
  }

  .ehh-search-submit-btn {
    width: 100% !important;
    min-height: 52px !important;
    border-radius: 12px !important;
    font-size: 15.5px !important;
  }
}

@media (max-width: 575.98px) {
  .ehh-booking-widget {
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  }

  .ehh-booking-form-body {
    padding: 16px 14px !important;
  }

  .ehh-field-box {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-height: 54px !important;
  }

  .ehh-field-label {
    font-size: 11px !important;
  }

  .ehh-field-input,
  .ehh-field-select {
    font-size: 16px !important; /* Prevents iOS auto-zoom */
  }

  .ehh-trust-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding-left: 8px !important;
  }

  .ehh-trust-item {
    font-size: 12.5px !important;
  }
}

/* ==============================================================================
   4. DESTINATION DISCOVERY SECTION
   ============================================================================== */
.ehh-dest-title {
  font-size: clamp(22px, 4.5vw, 36px) !important;
}

@media (max-width: 1199.98px) {
  .ehh-dest-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 767.98px) {
  .ehh-destinations-section {
    padding: 45px 0 50px !important;
  }

  .ehh-dest-filter-tabs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    flex-wrap: nowrap !important;
    scrollbar-width: none !important;
    padding-bottom: 6px !important;
  }

  .ehh-dest-filter-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .ehh-dest-filter-btn {
    flex-shrink: 0 !important;
    min-height: 42px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  .ehh-dest-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .ehh-dest-discovery-card {
    height: 340px !important;
  }
}

@media (max-width: 430px) {
  .ehh-dest-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ehh-dest-discovery-card {
    height: 300px !important;
  }
}

/* ==============================================================================
   5. TRENDING PLACES SECTION
   ============================================================================== */
.trending-header h2 {
  font-size: clamp(22px, 4.5vw, 36px) !important;
}

.trending-nav-pills {
  display: flex !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex-wrap: nowrap !important;
  scrollbar-width: none !important;
  padding: 6px 4px !important;
  gap: 8px !important;
}

.trending-nav-pills::-webkit-scrollbar {
  display: none !important;
}

.trending-nav-btn {
  flex-shrink: 0 !important;
  min-height: 42px !important;
  padding: 8px 18px !important;
  font-size: 13.5px !important;
}

@media (max-width: 991.98px) {
  .trending-carousel-track {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

@media (max-width: 575.98px) {
  .trending-section-custom {
    padding: 45px 0 50px !important;
  }

  .trending-carousel-track {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .trending-card-img-wrap {
    height: 190px !important;
  }
}

/* ==============================================================================
   6. ABOUT ENJOY HOLIDAY HUB SECTION
   ============================================================================== */
.about-main-title {
  font-size: clamp(22px, 4.5vw, 38px) !important;
}

@media (max-width: 991.98px) {
  .about-section-custom {
    padding: 50px 0 45px !important;
  }

  .about-visual-container {
    max-width: 100% !important;
    margin: 0 auto 36px auto !important;
    padding: 10px 6px 20px 6px !important;
  }

  .about-main-img-box {
    width: 100% !important;
    height: 320px !important;
    max-width: 100% !important;
  }

  .about-accent-img-box {
    display: none !important;
  }

  /* Keep floating badge cards securely inside bounds */
  .about-float-card-1 {
    top: 12px !important;
    right: 12px !important;
    max-width: 75% !important;
  }

  .about-float-card-2 {
    bottom: 12px !important;
    left: 12px !important;
    max-width: 75% !important;
  }

  .about-float-card-3 {
    display: none !important;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 575.98px) {
  .about-features-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .about-action-strip {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .about-story-btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 48px !important;
  }

  .about-trust-rating {
    justify-content: center !important;
  }

  .about-stats-strip {
    padding: 24px 18px !important;
    border-radius: 16px !important;
  }

  .about-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==============================================================================
   7. TRAVEL PARTNERS SECTION
   ============================================================================== */
.partners-header h2 {
  font-size: clamp(22px, 4.5vw, 36px) !important;
}

.partner-tabs-nav {
  display: flex !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex-wrap: nowrap !important;
  scrollbar-width: none !important;
  padding: 6px 4px !important;
  gap: 8px !important;
}

.partner-tabs-nav::-webkit-scrollbar {
  display: none !important;
}

.partner-tab-btn {
  flex-shrink: 0 !important;
  min-height: 42px !important;
  padding: 8px 16px !important;
  font-size: 13.5px !important;
}

@media (max-width: 767.98px) {
  .partners-section-custom {
    padding: 45px 0 !important;
  }

  .partners-nav-arrow {
    display: none !important;
  }

  .partner-logo-card {
    flex: 0 0 calc((100% - 16px) / 2) !important;
    min-width: 120px !important;
    height: 68px !important;
    padding: 8px 12px !important;
  }

  .partner-logo-img {
    max-height: 30px !important;
  }
}

/* ==============================================================================
   8. CUSTOMER TESTIMONIALS SECTION
   ============================================================================== */
.testimonials-header h2 {
  font-size: clamp(22px, 4.5vw, 36px) !important;
}

@media (max-width: 767.98px) {
  .testimonials-section-custom {
    padding: 45px 0 !important;
  }

  .testimonial-nav-arrow {
    display: none !important;
  }

  .testimonial-card-item {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    padding: 20px 16px !important;
  }

  .testimonials-summary-bar {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
  }

  .summary-divider {
    display: none !important;
  }
}

/* ==============================================================================
   9. RECENT ARTICLES (TRAVEL STORIES & INSPIRATION)
   ============================================================================== */
.blog-header h2 {
  font-size: clamp(22px, 4.5vw, 36px) !important;
}

.blog-category-tabs {
  display: flex !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  flex-wrap: nowrap !important;
  scrollbar-width: none !important;
  padding: 6px 4px !important;
  gap: 8px !important;
}

.blog-category-tabs::-webkit-scrollbar {
  display: none !important;
}

.blog-cat-btn {
  flex-shrink: 0 !important;
  min-height: 42px !important;
  padding: 8px 16px !important;
  font-size: 13.5px !important;
}

@media (max-width: 991.98px) {
  .blog-featured-hero .row {
    flex-direction: column !important;
  }

  .blog-featured-img-box {
    height: 240px !important;
    width: 100% !important;
  }

  .blog-featured-body {
    padding: 22px 18px !important;
  }
}

@media (max-width: 767.98px) {
  .blog-section-custom {
    padding: 45px 0 !important;
  }

  .blog-nav-arrow {
    display: none !important;
  }

  .blog-card-custom {
    flex: 0 0 92% !important;
    min-width: 250px !important;
  }

  .blog-img-box {
    height: 180px !important;
  }
}

/* ==============================================================================
   10. NEWSLETTER & STAY UPDATED SECTION
   ============================================================================== */
@media (max-width: 767.98px) {
  .update-section {
    padding: 40px 0 !important;
  }

  .update-sec {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .update-sec form,
  .update-sec .input-group {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .update-sec .form-control {
    width: 100% !important;
    border-radius: 12px !important;
    min-height: 48px !important;
  }

  .update-sec .btn {
    width: 100% !important;
    border-radius: 12px !important;
    min-height: 48px !important;
    justify-content: center !important;
  }
}

/* ==============================================================================
   11. FOOTER RESPONSIVENESS
   ============================================================================== */
@media (max-width: 991.98px) {
  footer {
    padding-top: 40px !important;
  }

  .footer-widget {
    margin-bottom: 28px !important;
  }

  .footer-widget h5 {
    font-size: 16px !important;
    margin-bottom: 14px !important;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.4);
  }

  .footer-menu li {
    margin-bottom: 10px !important;
  }

  .footer-menu li a {
    display: inline-block !important;
    padding: 4px 0 !important;
    font-size: 14px !important;
  }

  .footer-wrap {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 575.98px) {
  .footer-top .row > [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .footer-bottom {
    padding: 20px 0 !important;
    text-align: center !important;
  }

  .footer-bottom .d-flex {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .footer-social-links {
    justify-content: center !important;
  }

  .footer-social-links a {
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

/* ==============================================================================
   12. SEARCH RESULTS PAGES (FLIGHTS, HOTELS, TOURS, CABS, BUS)
   ============================================================================== */
/* Floating / Collapsible Mobile Filter Trigger */
.ehh-mobile-filter-trigger {
  display: none;
}

@media (max-width: 991.98px) {
  .ehh-mobile-filter-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 48px !important;
    background: #ffffff !important;
    border: 1.5px solid var(--ehh-primary) !important;
    color: var(--ehh-primary) !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 4px 12px rgba(20, 33, 61, 0.08) !important;
    cursor: pointer !important;
  }

  .ehh-mobile-filter-trigger:active {
    background: var(--ehh-primary) !important;
    color: #ffffff !important;
  }

  /* Make filters collapsible on mobile */
  .ehh-filter-sidebar-wrapper {
    display: none;
    margin-bottom: 20px !important;
  }

  .ehh-filter-sidebar-wrapper.show {
    display: block !important;
    animation: ehhSlideDown 0.25s ease-out;
  }

  /* Result Cards Stacked Mobile View */
  .flight-card,
  .hotel-card,
  .tour-card,
  .cab-card,
  .bus-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }

  .flight-card .row,
  .hotel-card .row {
    flex-direction: column !important;
  }

  .flight-time {
    font-size: 19px !important;
  }

  .border-start-md {
    border-left: none !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 14px !important;
    margin-top: 14px !important;
  }

  /* Full Width Book Now Buttons */
  .btn-book-now,
  .btn-view-deal,
  .flight-card .btn-primary,
  .hotel-card .btn-primary {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@keyframes ehhSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================================================================
   13. BOOKING DETAILS & CHECKOUT FLOW
   ============================================================================== */
@media (max-width: 991.98px) {
  .booking-summary-sidebar,
  .price-breakup-card {
    margin-top: 24px !important;
  }

  .payment-method-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
  }

  .payment-method-tabs::-webkit-scrollbar {
    display: none !important;
  }

  .payment-method-item {
    flex-shrink: 0 !important;
    min-height: 48px !important;
  }

  .booking-card {
    padding: 20px 16px !important;
    border-radius: 16px !important;
  }
}

/* ==============================================================================
   14. DASHBOARDS (CUSTOMER, B2B AGENT, VENDOR)
   ============================================================================== */
/* Responsive Table Wrappers */
.table-responsive {
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  border-radius: 12px !important;
  margin-bottom: 20px !important;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: #f1f5f9;
}

table {
  min-width: 600px; /* Guarantees table columns do not collapse into illegible slivers */
}

@media (max-width: 991.98px) {
  /* Dashboard Sidebar Toggle Trigger */
  .dashboard-mobile-sidebar-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 46px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--ehh-primary) !important;
    margin-bottom: 18px !important;
    cursor: pointer !important;
  }

  /* Make user sidebar off-canvas / collapsible on mobile */
  .theiaStickySidebar {
    display: none;
    margin-bottom: 24px !important;
  }

  .theiaStickySidebar.active {
    display: block !important;
    animation: ehhSlideDown 0.25s ease-out;
  }

  /* Dashboard Stats Cards */
  .user-sidebar-body ul li a {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
  }

  .card-body {
    padding: 18px 14px !important;
  }
}

/* ==============================================================================
   15. DATEPICKERS, DROPDOWNS & AUTOCOMPLETE SAFE BOUNDS
   ============================================================================== */
.bootstrap-datetimepicker-widget {
  max-width: calc(100vw - 32px) !important;
  width: 320px !important;
  left: 16px !important;
  z-index: 99999 !important;
}

.autocomplete-dropdown {
  max-width: 100% !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  z-index: 99999 !important;
}

.select2-container--default .select2-selection--single {
  min-height: 48px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 10px !important;
}

/* ==============================================================================
   16. ACCESSIBILITY & CONTRAST ENHANCEMENTS
   ============================================================================== */
.btn:focus-visible,
input:not(.ehh-field-input):not(.fsr-search-input):focus-visible,
select:not(.ehh-field-input):focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--ehh-secondary) !important;
  box-shadow: 0 0 0 4px rgba(231, 46, 46, 0.15) !important;
}

/* Safe Area Inset Support for Notch / Home Indicator on iPhone X/11/12/13/14/15/16 */
@supports (padding: env(safe-area-inset-bottom)) {
  .ehh-drawer-content,
  .mobile-bottom-nav,
  footer {
    padding-bottom: env(safe-area-inset-bottom) !important;
  }

  .ehh-navbar-header {
    padding-top: env(safe-area-inset-top) !important;
  }
}
