<style>
    @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
  
    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }
  
    html,
    body {
      width: 100%;
      margin: 0;
      padding: 0;
      overflow-x: hidden;
    }
  
    :root {
      --tpwl-font-family: "Inter";
      --tpwl-headline-text: #FFFFFF;
      --tpwl-links: #FF6325;
      --tpwl-main-text: #353333;
      --tpwl-search-form-background: #2B8BD5;
      --tpwl-search-result-background: #F6F7F8;
    }
  
    body {
      color: var(--tpwl-main-text);
      background-color: var(--tpwl-search-result-background);
      font-family: var(--tpwl-font-family), sans-serif;
      line-height: 1.6;
    }
  
    body a {
      color: var(--tpwl-links);
      text-decoration: none;
      cursor: pointer;
      transition: 0.1s linear;
    }
  
    body a:hover,
    body a:focus {
      text-decoration: underline;
    }
  
    /* Header – padding solo verticale */
    .tpwl-logo-header {
      position: relative;
      color: var(--tpwl-headline-text);
      font-weight: 600;
      background-color: var(--tpwl-search-form-background);
      padding: 32px 0 16px !important;
      margin-bottom: -20px;
      z-index: 101;
      background-size: cover;
      background-repeat: no-repeat;
      transform: translateZ(0);
      backface-visibility: hidden;
    }

    @media (min-width: 1176px) {
  .tpwl__content h2 {
    font-size: clamp(28px, 6vw, 30px);
    font-weight: 900;
    text-align: center;
    margin: 0 0 32px;
    color: var(--tpwl-main-text); /* oppure var(--tpwl-main-t) se definita */
  }
}
  
    /* h1 – desktop */
    .tpwl-logo-header h1 {
      font-size: 36px;
      margin: 0;
      text-align: center;
    }
  
    .tpwl-search-header {
      padding: 24px 100px;
      background-color: var(--tpwl-search-form-background);
      position: sticky;
      top: 0;
      z-index: 100;
      transition: all 0.3s linear;
      transform: translateZ(0);
      backface-visibility: hidden;
    }
  
    /* Wrapper esterno – centrato */
    .tpwl-logo__wrapper {
      max-width: 1240px;
      margin: 0 auto;
      margin-bottom: 24px;
    }
  
    /* Inner – padding identico al contenuto */
    .tpwl-logo__inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 20px;
      box-sizing: border-box;
    }
  
    /* Logo ridotto */
    .tpwl-logo__logo {
      width: 160px;
      height: 40px;
      background: no-repeat url('https://flycheap.app/logo.png');
      background-size: contain;
      background-position: left center;
    }
  
    /* Link desktop */
    .tpwl-top-links {
      display: flex;
      gap: 28px;
      font-size: 15px;
      font-weight: 500;
      flex-shrink: 0;
    }
  
    .tpwl-top-links a {
      color: white !important;
      text-decoration: none;
      transition: opacity 0.2s;
    }
  
    .tpwl-top-links a:hover {
      text-decoration: underline;
      opacity: 0.9;
    }
  
    /* Hamburger button mobile */
    .tpwl-mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 28px;                    /* ← MODIFICATO da 35px a 28px */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 999999999;
}

.tpwl-mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 3px;
    background: white;
    margin: 2px 0;                   /* ← MODIFICATO da 3px a 2px */
    transition: 0.3s;
    border-radius: 2px;
}

  
    /* Menu mobile overlay */
    .tpwl-mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.9);
      z-index: 999999998;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      overflow-y: auto;
      pointer-events: none;
    }
  
    .tpwl-mobile-menu.open {
      display: block;
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
    }
  
    .tpwl-mobile-menu__content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: var(--tpwl-search-form-background);
      padding: 50px 40px;
      border-radius: 20px;
      text-align: center;
      min-width: 300px;
      max-width: 90%;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
      pointer-events: auto;
    }
  
    .tpwl-mobile-menu__content a {
      display: block;
      color: white !important;
      font-size: 20px;
      font-weight: 600;
      padding: 18px 0;
      text-decoration: none;
      transition: opacity 0.2s;
    }
  
    .tpwl-mobile-menu__content a:hover {
      opacity: 0.7;
    }
  
    /* Animazione hamburger → X */
    .tpwl-mobile-menu-btn.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
  
    .tpwl-mobile-menu-btn.active span:nth-child(2) {
      opacity: 0;
    }
  
    .tpwl-mobile-menu-btn.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }
  
    .tpwl-search__wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    .tpwl__content {
      flex: 1 0 auto;
      max-width: 1240px;
      min-width: 976px;
    }
  
    .tpwl-main {
      background-color: var(--tpwl-search-result-background);
    }
  
    .tpwl-tickets__wrapper #tpwl-tickets:not(:empty) {
      margin-bottom: 32px;
    }
  
    .tpwl-tickets__wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0px 100px;
    }
  
    .tpwl-widgets__wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 56px 100px 20px;
      margin-bottom: 0;
    }
  
    .tpwl-widgets__wrapper h3 {
      text-align: center;
      font-size: 36px;
      margin: 0 0 32px;
    }
  
    .tpwl-widget-weedles {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 20px;
    }
  
    .tpwl-widget-weedle {
      display: flex;
      justify-content: center;
    }
  
    .tpwl-footer__wrapper {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 56px 100px;
      text-align: center;
      font-size: 16px;
      font-weight: 600;
      background-color: var(--tpwl-search-result-background);
    }
  
    .tpwl-footer__copyright {
      margin-bottom: 12px;
    }
  
    .tpwl-footer__links {
      display: flex;
      justify-content: center;
      gap: 20px;
    }
  
    /* BEST DEALS MAP */
    .flycheap-map-section {
      width: 100%;
      max-width: 100%;
      margin: 1px auto 50px;
      padding: 0 20px;
      box-sizing: border-box;
      overflow: hidden;
    }
  
    .flycheap-map-inner {
      position: relative;
      width: 100%;
      max-width: 1400px;
      margin: 0 auto;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    }
  
    .flycheap-map-inner>div,
    .flycheap-map-inner iframe {
      width: 100% !important;
      height: 560px !important;
      max-width: none !important;
      border: none !important;
      display: block !important;
    }
  
    .flycheap-map-inner>div>div,
    .flycheap-map-inner>div>iframe {
      position: relative !important;
      left: auto !important;
      right: auto !important;
      transform: none !important;
    }
  
    /* CAR RENTAL */
    .flycheap-car-section {
      width: 100%;
      max-width: 100%;
      margin: 30px auto 60px;
      padding: 0 0px;
      box-sizing: border-box;
    }
  
    .flycheap-car-inner {
      max-width: 1240px;
      margin: 0 auto;
      background: #f8fbff;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    }
  
    .flycheap-car-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: stretch;
      min-height: 500px;
    }
  
    .flycheap-car-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
  
    .flycheap-car-content {
      padding: 50px 60px;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
  
    .flycheap-car-content h3 {
      font-size: 36px;
      margin: 0 0 12px;
      color: #1a1a1a;
    }
  
    .flycheap-car-btn {
      display: inline-block;
      margin-top: 24px;
      padding: 14px 32px;
      background: #2B8BD5;
      color: white;
      font-weight: 600;
      font-size: 18px;
      border-radius: 12px;
      text-decoration: none;
      transition: all 0.2s;
    }
  
    .flycheap-car-btn:hover {
      background: #0066FF;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 102, 255, 0.3);
    }
  
    /* SEO TEXT SECTION */
    .tpwl-widgets__custom {
      display: flex;
      justify-content: center;
      width: 100%;
      padding: 60px 100px 80px;
      box-sizing: border-box;
    }
  
    .tpwl-widgets__custom .tpwl__content {
      max-width: 1240px;
      width: 100%;
      margin: 0 auto;
    }
  
    .fc-section-title {
      font-size: clamp(28px, 6vw, 30px);
      font-weight: 900;
      text-align: center;
      margin: 0 0 32px;
      color: var(--tpwl-main-t);
    }
  
    .fc-section-subtitle {
      font-size: clamp(28px, 4vw, 21px);
      text-align: center;
      margin: 0 auto 50px;
      max-width: 900px;
      line-height: 1.7;
      color: var(--tpwl-main-t);
      opacity: 0.9;
    }
  
    .fc-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 40px;
      margin-top: 40px;
    }
  
    .fc-grid .big {
      font-size: clamp(18px, 10vw, 32px);
      margin-bottom: 16px;
    }
  
    .fc-grid h3 {
      font-size: clamp(18px, 4vw, 19px);
      margin: 0 0 12px;
      color: var(--tpwl-main-t);
    }
  
    .fc-grid p {
      color: var(--tpwl-main-t);
      opacity: 0.8;
      margin: 0;
      line-height: 1.6;
    }
  
    .fc-footer {
      text-align: center;
      margin-top: 60px;
      font-size: clamp(14px, 3.5vw, 20px);
      color: var(--tpwl-main-t);
      opacity: 0.9;
    }
  
    /* ==================== RESPONSIVE ==================== */
  
    @media (min-width: 1176px) {
      .tpwl-top-links {
        display: flex;
      }
  
      .tpwl-mobile-menu-btn {
        display: none !important;
      }
  
      .flycheap-map-section,
      .flycheap-car-section {
        scroll-margin-top: 220px;
      }
    }
  
    @media (max-width: 1175px) {
      .tpwl-logo-header {
        position: static;
        padding: 24px 0 8px !important;
      }
  
      .tpwl-logo-header h1 {
        font-size: 36px;
        max-width: 512px;
        display: none !important;
      }
  
      .tpwl__content {
        max-width: unset;
        min-width: unset;
      }
  
      .tpwl-search__wrapper {
        display: block;
      }
  
      .tpwl-search-header {
        padding: 24px 16px 24px;
        position: static;
      }
  
      .tpwl-logo__wrapper {
        margin-bottom: 12px !important;
      }
  
      .tpwl-logo__inner {
        padding: 0 16px;
      }
  
      .tpwl-logo__logo {
        width: 140px;
        height: 35px;
      }
  
      .tpwl-top-links {
        display: none !important;
      }
  
      .tpwl-mobile-menu-btn {
        display: flex;
      }
  
      .tpwl-tickets__wrapper {
        padding: 0px 16px;
      }
  
      .tpwl-widgets__wrapper {
        padding: 56px 16px 16px;
      }
  
      .tpwl-widgets__wrapper h3 {
        font-size: 32px;
      }
  
      .tpwl-widgets__wrapper .tpwl__content {
        flex: 1 0 100%;
      }
  
      .tpwl-widget-weedles {
        grid-template-columns: 1fr;
      }
  
      .tpwl-footer__wrapper {
        padding: 56px 16px;
      }
  
      .tpwl-widgets__custom {
        padding: 56px 16px 16px;
      }
  
      .tpwl-widget-weedle,
      .tpwl-widget-weedle>div,
      .tpwl-widget-weedle>div>div {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
      }
  
      .tpwl-widget-weedle>div>div>div {
        min-width: 0 !important;
      }
    }
  
    @media (max-width: 900px) {
      .flycheap-car-grid {
        grid-template-columns: 1fr;
      }
  
      .flycheap-car-image {
        order: 1;
        height: 300px;
      }
  
      .flycheap-car-content {
        order: 2;
        padding: 40px 30px;
      }
  
      .flycheap-car-content h3 {
        font-size: 30px;
      }
  
      .flycheap-car-section {
        margin: 20px auto 50px;
        padding: 0 12px;
      }
    }
  
    @media (min-width: 900px) {
      .fc-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }
  
    @media (max-width: 768px) {
      .flycheap-map-section {
        margin: 30px auto 40px;
        padding: 0 12px;
      }
  
      .flycheap-map-inner {
        border-radius: 12px;
      }
  
      .flycheap-map-inner>div,
      .flycheap-map-inner iframe {
        height: 420px !important;
      }
    }
  
    @media (max-width: 480px) {
  
      .flycheap-map-inner>div,
      .flycheap-map-inner iframe {
        height: 380px !important;
      }
  
      .tpwl-logo__logo {
        width: 130px;
        height: 32px;
      }
    }
  
    @media (max-width: 389px) {
      .tpwl-footer__copyright {
        margin-bottom: 20px;
      }
  
      .tpwl-footer__links {
        display: block;
      }
  
      .tpwl-footer__links a {
        display: block;
        margin-bottom: 16px;
      }
  
      .tpwl-footer__links a:last-child {
        margin-bottom: 0px;
      }
    }

/* Control image height on desktop for both sections */
@media (min-width: 901px) {
  .flycheap-car-grid,
  .flycheap-transfer-grid {
    min-height: auto; /* Remove forced 500px height */
  }
  
  .flycheap-car-image,
  .flycheap-transfer-image {
    height: 700px; /* Nice balanced height – adjust to 450px or 500px if you prefer */
  }
  
  .flycheap-car-image img,
  .flycheap-transfer-image img {
    height: 100%;
    object-fit: cover;
  }

    .flycheap-map-inner {
    max-width: 1240px !important;  /* stessa larghezza del contenuto principale e car rental */
  }
  
  /* Opzionale: centra perfettamente e aggiungi un po' di ombra per un look premium */
  .flycheap-map-section {
    padding: 0 20px;
  }
  
  .flycheap-map-inner {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
}

 /* Forza il centramento completo del blocco Popular Destinations */
    .tpwl-widgets__wrapper {
      text-align: center !important;
    }
  
    .tpwl-widgets__wrapper .tpwl__content {
      text-align: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
  
    .tpwl-widgets__wrapper .fc-section-title {
      text-align: center !important;
      width: 100%;
    }
  
    /* Su mobile assicurati che il grid sia centrato */
    @media (max-width: 1175px) {
      .tpwl-widget-weedles {
        justify-items: center;
      }
    }

/* Hide web version when in app */
.in-flutter-app .web-only {
  display: none !important;
}

/* Hide app version when on normal website */
:not(.in-flutter-app) .app-only {
  display: none !important;
}

.flycheap-deals-section {
  padding: 40px 0;
  background: #f8fbff;
}

.flycheap-deals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .flycheap-deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.flycheap-deal-item {
  background: white;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.flycheap-deal-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.flycheap-deal-route {
  font-size: 18px;
  font-weight: 600;
  color: #2B8BD5;
  margin-bottom: 8px;
}

.flycheap-deal-date {
  font-size: 15px;
  color: #666;
  margin-bottom: 10px;
}

.flycheap-deal-price {
  font-size: 24px;
  font-weight: bold;
  color: #e91e63;
}

.flycheap-deals-loading {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 18px;
}

/* Nell'app: nascondi completamente la mappa originale */
.in-flutter-app #web-map-section {
  display: none !important;
}

/* Nell'app: mostra la sezione lista iniettata da Flutter */
.in-flutter-app #app-deals-section {
  display: block !important;
}

/* Sul sito web normale: nascondi la sezione app */
:not(.in-flutter-app) #app-deals-section {
  display: none !important;
}


</style>
