/* ============================================================
   RESPONSIVE STYLES
   Breakpoints: 1200, 992, 768, 576
   ============================================================ */

/* Large Desktop */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: var(--text-5xl);
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-6);
  }

  .trip-detail-content {
    grid-template-columns: 1fr 340px;
  }

  .trips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape */
@media (max-width: 992px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2.25rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px var(--space-8) var(--space-8);
    transition: right var(--transition);
    box-shadow: var(--shadow-2xl);
    z-index: 5;
    gap: var(--space-6);
  }

  body[dir="rtl"] .navbar-menu {
    right: auto;
    left: -100%;
    transition: left var(--transition);
  }

  .navbar-menu.active {
    right: 0;
  }

  body[dir="rtl"] .navbar-menu.active {
    right: auto;
    left: 0;
  }

  .navbar-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .navbar-links a {
    color: var(--gray-800);
    padding: var(--space-3) 0;
    width: 100%;
    font-size: var(--text-base);
    border-bottom: 1px solid var(--gray-100);
  }

  .navbar-links a:hover {
    color: var(--primary);
  }

  .navbar-actions {
    width: 100%;
    flex-direction: column;
    gap: var(--space-4);
  }

  .navbar-cta {
    width: 100%;
    justify-content: center;
  }

  .navbar-toggle {
    display: flex;
  }

  /* Hero */
  .hero-content {
    padding-top: 80px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    gap: var(--space-6);
  }

  /* Search box */
  .search-box {
    flex-direction: column;
    padding: var(--space-5);
  }

  .search-field {
    width: 100%;
  }

  .search-btn {
    width: 100%;
  }

  /* Grid */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Trip Detail */
  .trip-detail-content {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
    order: -1;
    margin-bottom: var(--space-6);
  }

  .trip-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 200px;
  }

  .trip-gallery-main {
    grid-column: span 2;
    grid-row: span 1;
  }

  /* Trips Layout */
  .trips-layout {
    grid-template-columns: 1fr;
  }

  .filters-sidebar {
    position: static;
    display: none;
  }

  .filters-sidebar.mobile-visible {
    display: block;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Transfer form */
  .transfer-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Reviews */
  .reviews-track .review-card {
    min-width: calc(50% - var(--space-3));
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  .section {
    padding: var(--space-12) 0;
  }

  .section-header h2 {
    font-size: var(--text-3xl);
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero h1 {
    font-size: var(--text-4xl);
  }

  .hero p {
    font-size: var(--text-base);
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .hero-stat {
    width: calc(50% - var(--space-3));
  }

  /* Search */
  .hero-search {
    margin-top: -30px;
  }

  /* Categories */
  .category-card {
    height: 220px;
  }

  /* Trips */
  .trips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Trip Gallery */
  .trip-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 300px;
  }

  .trip-gallery-main {
    grid-column: span 1;
  }

  .trip-gallery-item:nth-child(n+3) {
    display: none;
  }

  /* Feature Cards */
  .grid-4.features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  /* Confirmation */
  .confirmation-details {
    grid-template-columns: 1fr;
  }

  /* Contact CTA */
  .contact-cta {
    padding: var(--space-10);
  }

  .contact-cta h2 {
    font-size: var(--text-3xl);
  }

  .contact-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Newsletter */
  .newsletter-form {
    flex-direction: column;
  }

  /* Transfer form */
  .transfer-form-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Reviews */
  .reviews-track .review-card {
    min-width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  /* Offer banner */
  .offer-banner {
    min-height: 300px;
  }

  .offer-content {
    padding: var(--space-8);
  }

  .offer-content h2 {
    font-size: var(--text-3xl);
  }

  /* Trip tabs */
  .trip-tabs {
    gap: 0;
  }

  .trip-tab {
    padding: var(--space-3);
    font-size: var(--text-xs);
  }
}

/* Mobile */
@media (max-width: 576px) {
  :root {
    --text-6xl: 2rem;
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
    --text-3xl: 1.25rem;
  }

  .hero {
    min-height: 100vh;
  }

  .hero h1 {
    font-size: var(--text-3xl);
  }

  .hero p {
    font-size: var(--text-sm);
  }

  .hero-badge {
    font-size: var(--text-xs);
  }

  .hero-stats {
    gap: var(--space-4);
  }

  .hero-stat .stat-number {
    font-size: var(--text-2xl);
  }

  /* Grid overrides */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6 {
    grid-template-columns: 1fr;
  }

  /* Exception for trips — keep 2 columns */
  .trips-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
  }

  .trip-card-image {
    height: 160px;
  }

  .trip-card-body {
    padding: var(--space-3);
  }

  .trip-card h3 {
    font-size: var(--text-base);
  }

  .trip-card-desc {
    display: none;
  }

  .trip-card-meta {
    gap: var(--space-2);
  }

  .trip-card-actions {
    flex-direction: column;
  }

  /* Categories 2-col on mobile */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .category-card {
    height: 180px;
  }

  /* Features 1-col on mobile */
  .features-grid {
    grid-template-columns: 1fr !important;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  /* Booking sidebar */
  .booking-sidebar {
    padding: var(--space-4);
  }

  .booking-price .price-value {
    font-size: var(--text-2xl);
  }

  /* Page header */
  .page-header {
    padding: 120px 0 40px;
  }

  /* Confirmation */
  .confirmation-header {
    padding: var(--space-6);
  }

  .confirmation-body {
    padding: var(--space-5);
  }

  .booking-number {
    font-size: var(--text-xl);
  }

  /* WhatsApp float */
  .whatsapp-float {
    bottom: 20px;
    right: 15px;
    width: 52px;
    height: 52px;
  }

  .back-to-top {
    bottom: 80px;
    right: 15px;
    width: 38px;
    height: 38px;
  }

  /* Offer */
  .offer-banner {
    min-height: 250px;
  }

  .offer-content {
    padding: var(--space-6);
  }

  .offer-content h2 {
    font-size: var(--text-2xl);
  }

  .offer-discount-badge {
    font-size: var(--text-base);
  }

  /* Filter mobile button */
  .mobile-filter-btn {
    display: flex;
    width: 100%;
    margin-bottom: var(--space-4);
  }

  /* Transfer tabs */
  .transfer-type-tabs {
    gap: var(--space-1);
  }

  .transfer-tab {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
  }

  /* Vehicle cards */
  .vehicle-card-image {
    height: 120px;
  }

  /* Check booking */
  .check-booking-form {
    padding: var(--space-6);
  }

  /* Fix horizontal overflow globally on mobile */
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Guest counters & floating buttons on mobile */
  .guest-counter {
    flex-wrap: nowrap !important;
    gap: var(--space-2) !important;
    padding: var(--space-2) !important;
  }
  .guest-counter-label {
    flex: 1 1 auto !important;
    min-width: 0;
  }
  .guest-counter-label span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .guest-counter-controls {
    flex: 0 0 auto !important;
    justify-content: flex-end;
    gap: var(--space-2) !important;
  }
  .guest-counter-controls button {
    width: 32px !important;
    height: 32px !important;
  }
  
  /* Hide non-essential floating social buttons on mobile to prevent form overlap */
  .facebook-float, .instagram-float {
    display: none !important;
  }

  /* Keep WhatsApp float but position it safely */
  .whatsapp-float {
    bottom: 20px !important;
    right: 20px !important;
    width: 50px !important;
    height: 50px !important;
  }

  body[dir="rtl"] .whatsapp-float {
    right: auto !important;
    left: 20px !important;
  }

  body {
    padding-bottom: 50px;
  }
}

/* Very small mobile */
@media (max-width: 380px) {
  .trips-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat {
    width: 100%;
    text-align: left;
  }
}

/* --- Print Styles --- */
@media print {

  .navbar,
  .whatsapp-float,
  .back-to-top,
  .footer,
  .hero-search,
  .btn,
  .scroll-progress {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .section {
    padding: 20px 0;
  }

  .trip-card,
  .confirmation-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}


/* ============================================================
   Perfect Responsive Navigation & Mobile Layout
   ============================================================ */

/* Mobile & Tablet Responsive Nav Fixes */
@media (max-width: 992px) {
  /* Prevent wrapping of navbar */
  .navbar .container {
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }

  .header-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: nowrap !important;
  }

  /* Compact language selector for top nav */
  .lang-dropdown {
    width: auto !important;
    order: unset !important;
    margin-top: 0 !important;
    display: flex !important;
  }
  
  .lang-select {
    min-width: unset !important;
    max-width: 100px !important;
    padding: 6px 26px 6px 12px !important;
    font-size: 0.85rem !important;
    background-position: right 8px center !important;
    background-size: 14px !important;
    border-radius: var(--radius-full);
  }

  /* Hamburger Toggle */
  .navbar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    z-index: 1001;
    border: 1px solid rgba(255,255,255,0.2);
  }

  .navbar.scrolled .navbar-toggle {
    background: var(--gray-100);
    border-color: var(--gray-200);
  }

  .navbar-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
  }

  .navbar.scrolled .navbar-toggle span {
    background: var(--gray-800);
  }

  /* Horizontal Scroll Navigation (No Drawer) */
  .navbar-menu {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    padding: 10px 0 0 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    gap: 15px !important;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: none !important;
  }

  .navbar.scrolled .navbar-menu {
    border-top: 1px solid rgba(0,0,0,0.1);
  }

  /* Hide scrollbar */
  .navbar-menu::-webkit-scrollbar {
    display: none;
  }
  .navbar-menu {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .navbar-links {
    display: flex;
    flex-direction: row !important;
    gap: 10px;
    align-items: center;
    width: max-content;
    padding-bottom: 5px; /* for scroll area */
  }

  .navbar-links a {
    font-size: 0.9rem !important;
    padding: 6px 14px !important;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    color: var(--white);
    border-bottom: none !important;
    font-weight: 500;
  }

  .navbar.scrolled .navbar-links a {
    background: var(--gray-100);
    color: var(--gray-800);
  }

  .navbar-links a.active {
    background: var(--primary) !important;
    color: var(--white) !important;
  }

  /* Make navbar container allow wrapping */
  .navbar .container {
    flex-wrap: wrap !important;
    height: auto !important;
    padding-top: 10px;
    padding-bottom: 5px;
  }
  
  .navbar-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* Logo */
  .navbar-brand .logo {
    width: 42px;
    height: 42px;
  }
  
  .navbar-brand .brand-name {
    font-size: 1.15rem;
  }
  
  .navbar-brand .brand-tagline {
    display: none; /* Hide tagline on mobile */
  }

  /* Hide "Book Now" CTA from top header on small mobile screens to keep it clean */
  .header-right .navbar-cta {
    display: none;
  }

  /* Fix Hero Section Spacing */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }
  
  .hero-content {
    padding-top: 130px; 
    padding-bottom: 40px;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
    margin-bottom: 1.25rem;
    line-height: 1.4;
  }
  
  .hero h1 {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Make stats visually appealing and clear on mobile */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    padding: 16px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
  }
  
  .hero-stat {
    text-align: center;
    width: 100% !important;
  }
  
  .hero-stat .stat-number {
    font-size: 1.6rem;
    line-height: 1.2;
  }
  
  .hero-stat .stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.9);
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .navbar-brand .brand-name {
    font-size: 1.05rem;
  }
  
  .navbar-brand .logo {
    width: 38px;
    height: 38px;
  }
  
  .lang-select {
    padding: 6px 20px 6px 10px !important;
    font-size: 0.8rem !important;
    max-width: 90px !important;
  }
}

@media (max-width: 576px) {
  .facebook-float {
    bottom: 90px;
    right: 15px;
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================
   FORCE MOBILE NAVBAR LAYOUT
   ========================================================== */
@media (max-width: 992px) {
  .navbar {
    padding: 10px 0 0 0 !important;
  }

  .navbar .container {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    padding: 0 15px !important;
    gap: 15px 0 !important;
  }
  
  .navbar-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
    justify-self: start !important;
    margin: 0 !important;
  }
  
  .header-right {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
  }
  
  .navbar-menu {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    padding: 5px 0 10px 0 !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 10px !important;
    margin: 5px 0 0 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    transition: none !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
  }
  
  .navbar.scrolled .navbar-menu {
    border-top: 1px solid rgba(0,0,0,0.1) !important;
  }

  .navbar-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    align-items: center !important;
    width: max-content !important;
    padding-bottom: 2px !important; 
    margin: 0 !important;
  }

  .navbar-links a {
    font-size: 0.85rem !important;
    padding: 4px 12px !important;
    background: rgba(255,255,255,0.15) !important;
    border-radius: 20px !important;
    color: var(--white) !important;
    border-bottom: none !important;
    font-weight: 500 !important;
    display: inline-block !important;
  }

  .navbar.scrolled .navbar-links a {
    background: var(--gray-100) !important;
    color: var(--gray-800) !important;
  }

  .navbar-links a.active {
    background: var(--primary) !important;
    color: var(--white) !important;
  }
}


/* ==========================================================
   TRANSFER WIDGET MOBILE RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
  .hero-container-redesign {
    padding-top: 140px; /* clear the new navbar */
  }

  .transfer-widget-container {
    padding: 15px;
    margin-top: 15px;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .details-grid .input-group:last-child {
    grid-column: 1 / -1; /* Flight number full width */
  }

  .return-grid {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .locations-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }
  
  .details-grid .input-group:last-child {
    grid-column: auto;
  }

  .transfer-type-selector {
    grid-template-columns: 1fr;
  }
  
  .transfer-type-selector .card-content {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 15px;
  }
  
  .transfer-type-selector .card-content .emoji {
    font-size: 1.4rem;
  }

  .direction-selector, .trip-type-selector {
    flex-direction: column;
    gap: 10px;
  }
  
  .widget-footer {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/* Production fix: restore Facebook and Instagram floating buttons on mobile */
@media (max-width: 768px) {
  .facebook-float,
  .instagram-float {
    display: flex !important;
  }
}

/* Production fix: keep guest minus, count and plus visible on mobile */
@media (max-width: 768px) {
  .guest-counter {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .guest-counter-label {
    min-width: 0 !important;
  }

  .guest-counter-label span {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }

  .guest-counter-controls {
    display: grid !important;
    grid-template-columns: 32px 32px 32px !important;
    align-items: center !important;
    justify-content: end !important;
    gap: 8px !important;
    width: 112px !important;
    min-width: 112px !important;
    direction: ltr !important;
    overflow: visible !important;
    flex: none !important;
  }

  .guest-counter-controls button {
    display: flex !important;
    position: static !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
  }

  .guest-counter-controls .count {
    display: flex !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    color: var(--gray-900, #111827) !important;
    font-weight: 700 !important;
  }

  .guest-counter-controls button:disabled {
    opacity: 0.35 !important;
  }

  html[dir="rtl"] .guest-counter-label {
    direction: rtl !important;
    text-align: right !important;
  }

  html[dir="ltr"] .guest-counter-label {
    direction: ltr !important;
    text-align: left !important;
  }
}

/* Production fix: prevent trip booking sidebar overflow on small mobile screens */
@media (max-width: 768px) {
  .section,
  .section > .container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .section > .container {
    padding-inline: 12px !important;
  }

  .trip-detail-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .trip-detail-content > *,
  .trip-detail-main,
  .booking-sidebar,
  .booking-sidebar form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .booking-sidebar {
    position: static !important;
    margin-inline: 0 !important;
    padding: 14px !important;
    transform: none !important;
  }

  .guest-counter {
    grid-template-columns: minmax(0, 1fr) 108px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-inline: 0 !important;
    padding: 10px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .guest-counter-controls {
    grid-template-columns: 30px 32px 30px !important;
    width: 108px !important;
    min-width: 108px !important;
    max-width: 108px !important;
    gap: 8px !important;
    justify-self: center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .guest-counter-controls button {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    flex: none !important;
  }

  .guest-counter-controls .count {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    height: 30px !important;
    flex: none !important;
  }
}

@media (max-width: 380px) {
  .section > .container {
    padding-inline: 8px !important;
  }

  .booking-sidebar {
    padding: 10px !important;
  }

  .guest-counter {
    grid-template-columns: minmax(0, 1fr) 100px !important;
    gap: 6px !important;
    padding: 8px !important;
  }

  .guest-counter-controls {
    grid-template-columns: 28px 32px 28px !important;
    width: 100px !important;
    min-width: 100px !important;
    max-width: 100px !important;
    gap: 6px !important;
  }

  .guest-counter-controls button {
    width: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    height: 28px !important;
  }
}

/* MOBILE TRIP GALLERY SWIPE START */

@media (max-width: 768px) {
  .trip-gallery,
  .trip-gallery.trip-gallery-single,
  .trip-gallery.trip-gallery-two {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 12px;
    padding-bottom: 10px;
    border-radius: 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .trip-gallery-item,
  .trip-gallery-item:nth-child(n+3),
  .trip-gallery.trip-gallery-single .trip-gallery-item,
  .trip-gallery.trip-gallery-two .trip-gallery-item {
    display: block !important;
    flex: 0 0 88%;
    width: 88%;
    height: 320px;
    min-height: 320px;
    border-radius: 20px;
    scroll-snap-align: start;
  }

  .trip-gallery-main,
  .trip-gallery.trip-gallery-single .trip-gallery-main,
  .trip-gallery.trip-gallery-two .trip-gallery-main {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

@media (max-width: 480px) {
  .trip-gallery-item,
  .trip-gallery-item:nth-child(n+3) {
    flex-basis: 92%;
    width: 92%;
    height: 270px;
    min-height: 270px;
  }
}

/* MOBILE TRIP GALLERY SWIPE END */
