/* Phone-only, genuine transparent overlay. Desktop and original artwork are unchanged. */
@media (max-width: 767px) {
  html.os-transparent-header-layout .os-topbar {
    margin-bottom: calc(0px - var(--osh-header-height, 56px)) !important;
    padding-top: calc(6px + env(safe-area-inset-top, 0px)) !important;
  }
  html.os-transparent-header-layout .os-home-hero__viewport {
    aspect-ratio: auto;
    height: calc(50vw + max(15vw, var(--osh-header-height, 56px)));
  }
  html.os-transparent-header-layout .os-home-hero__slide::before {
    content: ""; position: absolute; inset: 0 0 auto;
    height: max(15vw, var(--osh-header-height, 56px));
    background: var(--osh-photo-extension, #111) center / 100% 100% no-repeat;
    pointer-events: none;
  }
  html.os-transparent-header-layout .os-home-hero__slide img {
    position: absolute; inset: auto 0 0; width: 100%; height: 50vw;
    object-fit: contain;
  }
  html.os-transparent-header-active { background-color: var(--osh-header-solid); }
  html.os-transparent-header-active .os-topbar {
    background: transparent !important; color: var(--osh-header-ink) !important;
    border: 0 !important; box-shadow: none !important;
  }
  html.os-transparent-header-active .os-topbar .os-location,
  html.os-transparent-header-active .os-topbar .os-icon-btn,
  html.os-transparent-header-active .os-topbar .lang-switch,
  html.os-transparent-header-active .os-topbar .os-account {
    color: var(--osh-header-ink) !important; background: transparent !important;
    border-color: transparent !important; box-shadow: none !important;
    text-shadow: var(--osh-header-shadow);
  }
  html.os-transparent-header-active .os-topbar #osLangBtn,
  html.os-transparent-header-active .os-topbar #osAccountBtn,
  html.os-transparent-header-active .os-topbar #osLoginBtn {
    color: var(--osh-header-ink) !important;
  }
  html.os-transparent-header-active .os-topbar .os-location { border-radius: 0 !important; }
  html.os-transparent-header-active .os-topbar svg { filter: drop-shadow(var(--osh-header-shadow)); }
  html.os-transparent-header-active .os-topbar button:hover,
  html.os-transparent-header-active .os-topbar a.os-icon-btn:hover {
    background: color-mix(in srgb, var(--osh-header-ink) 10%, transparent) !important;
  }
  html.os-transparent-header-active .os-topbar button:focus-visible,
  html.os-transparent-header-active .os-topbar a:focus-visible {
    outline: 2px solid var(--osh-header-ink) !important; outline-offset: -3px !important;
  }
}
