/* TaksimTransfer V7.4.0 - site wide mobile/UIX repair */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,iframe{max-width:100%}
*,*:before,*:after{box-sizing:border-box}

/* Homepage booking: 2 modes only + no luggage card */
.booking-uix-v730 .booking-tabs-v730{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.booking-uix-v730 .booking-meta-v730{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* General inner page safety */
.inner-shell,.about-section,.contact-premium,.service-detail-main,.vehicle-detail-main,
.airport-v725-section,.airport-v725-features,.airport-v725-process,.airport-v725-cta,
.home-section{overflow:hidden}
.container{min-width:0}

@media(max-width:980px){
  /* Header/topbar */
  .site-topbar .topbar-inner{gap:8px!important;flex-wrap:wrap!important}
  .site-topbar .topbar-left,.site-topbar .topbar-right{min-width:0!important}
  .nav-shell{position:relative!important;display:flex!important;align-items:center!important;gap:10px!important}
  .brand{min-width:0!important;flex:1 1 auto!important}
  .brand-logo-img{max-width:190px!important;height:auto!important}
  .brand-copy b{font-size:18px!important}.brand-copy small{font-size:8px!important}
  .mobile-menu-btn{display:flex!important;flex:0 0 42px!important;width:42px!important;height:42px!important;align-items:center!important;justify-content:center!important}
  .nav-actions{gap:7px!important}.nav-actions .search-btn{display:none!important}.header-cta{padding:10px 12px!important;font-size:9px!important}
  .main-nav{position:absolute!important;z-index:9999!important;left:0!important;right:0!important;top:calc(100% + 8px)!important;display:none!important;flex-direction:column!important;align-items:stretch!important;padding:10px!important;background:#fff!important;border:1px solid #dfe7f0!important;border-radius:14px!important;box-shadow:0 18px 40px rgba(11,49,90,.16)!important}
  .main-nav.active,.main-nav.open,.main-nav.show,[data-main-menu].active,[data-main-menu].open{display:flex!important}
  .main-nav a{width:100%!important;padding:12px!important;border-radius:9px!important;font-size:12px!important}

  /* Homepage hero/form */
  .hero-v6 .hero-layout{grid-template-columns:1fr!important;gap:24px!important}
  .hero-copy{max-width:none!important}
  .transfer-search-card,.booking-uix-v730{width:100%!important;max-width:none!important}
  .booking-route-v730{grid-template-columns:minmax(0,1fr) 48px minmax(0,1fr)!important}
  .booking-uix-v730 .booking-meta-v730{grid-template-columns:repeat(3,minmax(0,1fr))!important}

  /* Shared grids */
  .vehicle-uix-grid,.service-pro-grid,.region-pro-grid,.about-values,.airport-process-grid,
  .vehicle-why-grid,.vehicle-related-grid,.service-benefit-grid,.service-process-grid,.service-related-grid,
  .airport-v725-route-grid,.airport-v725-feature-grid,.airport-v725-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .contact-layout,.about-two,.vehicle-detail-layout,.service-detail-layout,.airport-v725-hero-grid{grid-template-columns:1fr!important}
  .contact-top-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .all-city-grid-v720{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}

@media(max-width:700px){
  body{font-size:14px}
  .container{width:100%!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important}

  /* top bar: stop horizontal overflow */
  .site-topbar{height:auto!important;min-height:0!important}
  .site-topbar .topbar-inner{padding-top:7px!important;padding-bottom:7px!important;justify-content:center!important}
  .site-topbar .topbar-left{width:100%!important;display:flex!important;justify-content:center!important;gap:7px!important;flex-wrap:wrap!important}
  .site-topbar .topbar-left a{font-size:8px!important;white-space:normal!important;text-align:center!important}
  .site-topbar .topbar-right{width:100%!important;justify-content:center!important;gap:6px!important;flex-wrap:wrap!important;font-size:8px!important}
  .site-header{height:auto!important}
  .nav-shell{min-height:64px!important;padding-top:7px!important;padding-bottom:7px!important}
  .header-cta{display:none!important}
  .brand-logo-img{max-width:155px!important}

  /* hero */
  .hero-v6{padding:28px 0!important;min-height:0!important}
  .hero-copy h1{font-size:32px!important;line-height:1.05!important}
  .hero-copy p{font-size:12px!important;line-height:1.6!important}
  .hero-benefits{grid-template-columns:repeat(2,1fr)!important;gap:9px!important}
  .booking-uix-v730{padding:16px!important;border-radius:18px!important}
  .booking-head-v730{display:block!important}
  .booking-head-v730 strong{font-size:20px!important;line-height:1.15!important}
  .booking-secure-v730{display:inline-flex!important;margin-top:10px!important}
  .booking-uix-v730 .booking-tabs-v730{grid-template-columns:1fr 1fr!important}
  .booking-uix-v730 .booking-tabs-v730 button{min-height:58px!important;padding:9px 7px!important;font-size:10px!important}
  .booking-route-v730{grid-template-columns:1fr!important;gap:10px!important}
  .booking-location-v730{min-height:76px!important}
  .booking-swap-v730{width:42px!important;height:42px!important;justify-self:center!important;transform:rotate(90deg)}
  .booking-uix-v730 .booking-meta-v730{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .booking-uix-v730 .booking-meta-v730>label:nth-of-type(3){grid-column:1/-1!important}
  .booking-uix-v730 .booking-meta-v730 label{min-width:0!important}
  .booking-submit-v730{min-height:52px!important}
  .booking-trust-v730{display:grid!important;grid-template-columns:1fr!important;gap:7px!important;text-align:left!important}

  /* Ticker */
  .transfer-ticker-v739 .container{padding-left:10px!important;padding-right:10px!important}

  /* Standard page headers */
  .inner-hero,.vehicle-uix-hero,.about-premium-hero,.contact-premium-hero,
  .vehicle-detail-hero,.service-detail-hero,.city-page-hero-v720,.airport-v725-hero{padding:34px 0!important;border-radius:0!important}
  .inner-hero h1,.vehicle-uix-hero h1,.about-premium-hero h1,.contact-premium-hero h1,
  .vehicle-detail-hero h1,.service-detail-hero h1,.city-page-hero-v720 h1,.airport-v725-hero h1{font-size:29px!important;line-height:1.12!important;word-break:normal!important}
  .inner-hero p,.about-premium-hero p,.contact-premium-hero p,.city-page-hero-v720 p,.airport-v725-hero p{font-size:12px!important;line-height:1.65!important}
  .inner-shell,.about-section,.contact-premium{padding:34px 0 42px!important}
  .section-title-center h2,.airport-section-title h2,.section-heading h2,.airport-v725-heading h2{font-size:24px!important;line-height:1.18!important}

  /* All card grids one column */
  .vehicle-uix-grid,.service-pro-grid,.region-pro-grid,.about-values,.airport-process-grid,
  .vehicle-why-grid,.vehicle-related-grid,.service-benefit-grid,.service-process-grid,.service-related-grid,
  .airport-v725-route-grid,.airport-v725-feature-grid,.airport-v725-step-grid,.contact-top-cards,
  .all-city-grid-v720{grid-template-columns:1fr!important}

  /* Vehicles */
  .vehicle-uix-media{aspect-ratio:16/10!important}
  .vehicle-uix-body{padding:16px!important}
  .vehicle-uix-head{flex-direction:column!important}
  .vehicle-uix-specs{grid-template-columns:1fr!important}
  .vehicle-uix-footer{flex-direction:column!important;align-items:stretch!important}
  .vehicle-uix-footer a{text-align:center!important;justify-content:center!important}
  .vehicle-uix-guide{grid-template-columns:1fr!important;padding:18px!important}
  .vehicle-uix-guide>a{width:100%!important;text-align:center!important;justify-content:center!important}
  .vehicle-uix-trust{grid-template-columns:1fr!important}

  /* About / contact */
  .about-premium-stats{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .about-premium-visual{margin-top:20px!important}
  .contact-panel,.contact-side,.contact-info-card{padding:16px!important}
  .contact-form-grid{grid-template-columns:1fr!important}
  .contact-form-grid .full{grid-column:auto!important}
  .contact-quick-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
  .contact-map iframe{width:100%!important;min-height:300px!important}

  /* Airport page */
  .airport-v725-quick{padding:18px!important}
  .airport-v725-tabs .container{display:flex!important;overflow-x:auto!important;gap:8px!important;scrollbar-width:none}
  .airport-v725-tabs .container::-webkit-scrollbar{display:none}
  .airport-v725-tabs a{flex:0 0 auto!important;white-space:nowrap!important}
  .airport-v725-route-card{padding:16px!important}
  .airport-v725-route-line{grid-template-columns:1fr!important;gap:8px!important;text-align:left!important}
  .airport-v725-route-line>b{transform:rotate(90deg);justify-self:start!important}
  .airport-v725-route-meta{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
  .airport-v725-route-footer{flex-direction:column!important;align-items:stretch!important;gap:10px!important}
  .airport-v725-route-footer a{text-align:center!important}
  .airport-v725-cta>.container{flex-direction:column!important;align-items:flex-start!important;gap:15px!important}

  /* City page */
  .city-page-hero-v720 a{display:inline-flex!important;width:100%!important;justify-content:center!important}
  .all-city-item-v720{min-width:0!important}

  /* Detail pages */
  .vehicle-detail-layout,.service-detail-layout{display:grid!important;grid-template-columns:1fr!important;gap:18px!important}
  .vehicle-main-card,.vehicle-info-block,.vehicle-book-card,.service-content-card,.service-book-card{padding:16px!important;min-width:0!important}
  .vehicle-quick-specs,.vehicle-feature-grid,.service-benefit-grid{grid-template-columns:1fr!important}
  .vehicle-main-image img{width:100%!important;height:auto!important}

  /* Legal / FAQ */
  .legal-modern{padding:17px!important;border-radius:14px!important}
  .legal-modern h2{font-size:22px!important}.legal-modern h3{font-size:18px!important}
  .legal-modern p,.legal-modern li{overflow-wrap:anywhere}
  .faq-modern summary{padding:14px 15px!important;font-size:13px!important}

  /* Footer: generic safety for existing footer implementation */
  footer .container{max-width:100%!important}
  footer [class*="grid"],footer [class*="columns"],footer [class*="inner"]{min-width:0}
  .site-footer .footer-grid,.footer-main .container,.footer-top .container{grid-template-columns:1fr!important}
  .site-footer a,.site-footer p,.site-footer li{overflow-wrap:anywhere}
}

@media(max-width:420px){
  .container{padding-left:12px!important;padding-right:12px!important}
  .hero-copy h1{font-size:28px!important}
  .booking-uix-v730{padding:13px!important}
  .booking-uix-v730 .booking-meta-v730{grid-template-columns:1fr!important}
  .booking-uix-v730 .booking-meta-v730>label:nth-of-type(3){grid-column:auto!important}
  .about-premium-stats{grid-template-columns:1fr!important}
  .airport-v725-route-meta{grid-template-columns:1fr!important}
}
