/* V80.179 — transparent hero header, original desktop navigation geometry preserved.
   Scope: Tetovo + Skopje homepages only.
   - Desktop keeps the established V80.171/V80.175 tab/CTA/city-selector layout exactly as defined by production CSS.
   - Only the header surface/text treatment becomes transparent over the hero at page top.
   - Mobile keeps the compact right-side city selector + hamburger and lowers the hero status line slightly.
   - Scrolled/open states return to the established light readable header. */

/* Shared: the existing fixed header simply becomes transparent over the hero. */
body.v57-minimal-home .t2-nav {
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease,
              backdrop-filter .22s ease, -webkit-backdrop-filter .22s ease !important;
}
body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-brand__wordmark {
  color: #fff !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.34) !important;
}

/* MOBILE / TABLET -------------------------------------------------------- */
@media (max-width: 820px) {
  body.v57-minimal-home .t2-nav__inner {
    position: relative !important;
  }

  /* Keep the club selector beside the hamburger so the center status line has room. */
  body.v57-minimal-home .t2-mobile-city-switcher {
    display: block !important;
    position: absolute !important;
    z-index: 90 !important;
    left: auto !important;
    right: 58px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }
  body.v57-minimal-home .t2-mobile-city-switcher summary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-width: 78px !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    list-style: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
  }
  body.v57-minimal-home .t2-mobile-city-switcher summary::-webkit-details-marker {
    display: none !important;
  }
  body.v57-minimal-home .t2-mobile-city-switcher summary span {
    display: inline-block !important;
    font-size: 9px !important;
    transition: transform .18s ease !important;
  }
  body.v57-minimal-home .t2-mobile-city-switcher[open] summary span {
    transform: rotate(180deg) !important;
  }
  body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-mobile-city-switcher summary {
    color: #fff !important;
    background: rgba(0,0,0,.12) !important;
    border: 1px solid rgba(255,255,255,.34) !important;
    box-shadow: none !important;
    text-shadow: 0 1px 7px rgba(0,0,0,.30) !important;
    backdrop-filter: blur(12px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%) !important;
  }
  body.v57-minimal-home .t2-mobile-city-menu {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
  }

  /* Hamburger stays icon-only and transparent. */
  body.v57-minimal-home .t2-menu {
    display: inline-flex !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 44px !important;
    margin-left: auto !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
  }
  body.v57-minimal-home .t2-menu::after {
    content: none !important;
    display: none !important;
  }
  body.v57-minimal-home .t2-menu__icon {
    position: relative !important;
    display: block !important;
    width: 24px !important;
    height: 18px !important;
    flex: 0 0 24px !important;
  }
  body.v57-minimal-home .t2-menu__icon i {
    position: absolute !important;
    left: 0 !important;
    display: block !important;
    width: 24px !important;
    height: 2px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 2px !important;
    background: currentColor !important;
    transform-origin: 50% 50% !important;
    transition: top .22s ease, transform .22s ease, opacity .18s ease !important;
  }
  body.v57-minimal-home .t2-menu__icon i:nth-child(1) { top: 1px !important; }
  body.v57-minimal-home .t2-menu__icon i:nth-child(2) { top: 8px !important; }
  body.v57-minimal-home .t2-menu__icon i:nth-child(3) { top: 15px !important; }
  body.v57-minimal-home .t2-nav.is-open .t2-menu__icon i:nth-child(1) {
    top: 8px !important;
    transform: rotate(45deg) !important;
  }
  body.v57-minimal-home .t2-nav.is-open .t2-menu__icon i:nth-child(2) {
    top: 8px !important;
    opacity: 0 !important;
  }
  body.v57-minimal-home .t2-nav.is-open .t2-menu__icon i:nth-child(3) {
    top: 8px !important;
    transform: rotate(-45deg) !important;
  }
  body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-menu {
    color: #fff !important;
    text-shadow: 0 1px 7px rgba(0,0,0,.34) !important;
  }

  /* Requested polish: move OXYGEN O₂ · CITY · STATUS a little lower while keeping it centered. */
  body.v57-minimal-home .t2-hero--product .t2-hero__meta--single {
    transform: translateY(16px) !important;
  }

  /* The mobile menu already has the CTA; keep the duplicate city selector out of it. */
  body.v57-minimal-home .t2-nav__links .t2-city-cta-switcher {
    display: none !important;
  }

  /* Open/scrolled state returns to the established readable light header. */
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled,
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-open {
    background: rgba(255,255,255,.92) !important;
    border-bottom-color: rgba(0,0,0,.08) !important;
    box-shadow: none !important;
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  }
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-brand__wordmark,
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-open .t2-brand__wordmark,
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-menu,
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-open .t2-menu {
    color: #1d1d1f !important;
    text-shadow: none !important;
  }
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-mobile-city-switcher summary,
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-open .t2-mobile-city-switcher summary {
    color: #1d1d1f !important;
    background: rgba(245,245,247,.94) !important;
    border-color: rgba(0,0,0,.10) !important;
    text-shadow: none !important;
    backdrop-filter: blur(16px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(160%) !important;
  }
}

@media (max-width: 480px) {
  body.v57-minimal-home .t2-mobile-city-switcher {
    right: 54px !important;
  }
  body.v57-minimal-home .t2-mobile-city-switcher summary {
    min-width: 72px !important;
    height: 34px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }
  body.v57-minimal-home .t2-hero--product .t2-hero__meta--single {
    transform: translateY(18px) !important;
  }
}

@media (max-width: 360px) {
  body.v57-minimal-home .t2-mobile-city-switcher {
    right: 52px !important;
  }
  body.v57-minimal-home .t2-mobile-city-switcher summary {
    min-width: 67px !important;
    padding: 0 8px !important;
    font-size: 9px !important;
  }
  body.v57-minimal-home .t2-brand__wordmark {
    font-size: 18px !important;
  }
}

/* DESKTOP ----------------------------------------------------------------
   Important: do NOT redefine flex layout, gaps, max-widths, padding, tab sizing,
   CTA sizing, or selector placement here. The production stylesheet keeps the
   exact established desktop navigation geometry. */
@media (min-width: 821px) {
  body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-nav__links > a:not(.t2-join) {
    color: rgba(255,255,255,.94) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,.34) !important;
  }
  body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-nav__links > a:not(.t2-join):hover,
  body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-nav__links > a[aria-current="page"]:not(.t2-join) {
    color: #fff !important;
  }
  body.v57-minimal-home .t2-nav:not(.is-scrolled):not(.is-open) .t2-city-cta-switcher summary {
    color: #fff !important;
    background: rgba(0,0,0,.12) !important;
    border-color: rgba(255,255,255,.34) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,.30) !important;
    backdrop-filter: blur(12px) saturate(135%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(135%) !important;
  }

  /* Keep the status line clear beneath the transparent navigation without moving
     the centered brand artwork, CTA row, stats, or the video frame. */
  body.v57-minimal-home .t2-hero--product .t2-product-hero__inner {
    padding-top: 92px !important;
  }

  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled {
    background: rgba(255,255,255,.94) !important;
    border-bottom-color: rgba(0,0,0,.08) !important;
    box-shadow: none !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
  }
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-brand__wordmark {
    color: #1d1d1f !important;
    text-shadow: none !important;
  }
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-nav__links > a:not(.t2-join) {
    color: #6e6e73 !important;
    text-shadow: none !important;
  }
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-nav__links > a:not(.t2-join):hover,
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-nav__links > a[aria-current="page"]:not(.t2-join) {
    color: #1d1d1f !important;
  }
  html[data-theme="light"] body.v57-minimal-home .t2-nav.is-scrolled .t2-city-cta-switcher summary {
    color: #1d1d1f !important;
    background: #f5f5f7 !important;
    border-color: #d2d2d7 !important;
    text-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.v57-minimal-home .t2-nav {
    transition: none !important;
  }
}

/* V80.180 mobile transparency correction.
   The production mobile hero carries 64px top padding from the legacy white-header layout.
   With a fixed transparent header that padding exposes the page background above the video.
   Remove only that outer hero offset so the existing hero video runs behind the header.
   Inner hero padding remains unchanged, preserving status/logo/CTA positioning. */
@media (max-width: 820px) {
  body.v57-minimal-home .t2-hero--product {
    padding-top: 0 !important;
  }
}
