/**
 * LaMilka Tour 0.4.90 — Samsung Internet logo hardening and simplified
 * homepage airport-transfer icon.
 *
 * Scope:
 * - guarantee that only one logo image can render in the mobile header/menu,
 *   including browsers that mishandle the previous dual-image logo cascade;
 * - preserve the white mobile homepage logo by filtering the single dark SVG;
 * - replace the earlier detailed aircraft mark with a compact, simple outline
 *   airplane on both mobile homepage airport-transfer buttons.
 */

/* --------------------------------------------------------------------------
   One-logo contract. This also protects cached markup that still contains the
   older white-logo image: it is always suppressed by the final cascade.
   -------------------------------------------------------------------------- */
.lamilka-site-logo {
  position: relative !important;
  overflow: hidden !important;
}

.lamilka-site-logo .lamilka-site-logo__dark {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.lamilka-site-logo .lamilka-site-logo__white {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

@media (max-width: 767px) {
  /* White logo over the initial mobile homepage hero, using one physical SVG. */
  body.lamilka-home .lamilka-site-header:not(.is-mobile-sticky):not(.is-mobile-menu-open) .lamilka-site-logo__dark {
    display: block !important;
    filter: brightness(0) invert(1) !important;
  }

  /* Dark logo once the header is sticky or the mobile menu is open. */
  body.lamilka-home .lamilka-site-header.is-mobile-sticky .lamilka-site-logo__dark,
  body.lamilka-home .lamilka-site-header.is-mobile-menu-open .lamilka-site-logo__dark,
  body:not(.lamilka-home) .lamilka-site-logo__dark {
    display: block !important;
    filter: none !important;
  }
}

/* --------------------------------------------------------------------------
   Simple mobile homepage airplane. Override the larger v0.4.89 geometry.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action:first-child .lamilka-home-action__icon,
  .lamilka-home .lamilka-home-mobile-cta > a:first-child .lamilka-home-action__icon {
    flex: 0 0 28px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    overflow: visible !important;
  }

  .lamilka-home .lamilka-home-mobile-actions .lamilka-home-action:first-child .lamilka-home-action__plane-simple,
  .lamilka-home .lamilka-home-mobile-cta > a:first-child .lamilka-home-action__plane-simple {
    display: block !important;
    width: 28px !important;
    height: 28px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    vector-effect: non-scaling-stroke !important;
    shape-rendering: geometricPrecision !important;
  }
}
