/* =========================================================
   W RENT – GLOBÁLNA HLAVIČKA PRE CELÝ WEB
========================================================= */

.wrGlobalHeader,
.wrGlobalHeader *,
.wrGlobalMenuOverlay,
.wrGlobalSideMenu,
.wrGlobalSideMenu * {
  box-sizing: border-box;
}

/* =========================================================
   SKRYTIE PÔVODNEJ SHOPTET HLAVIČKY
========================================================= */

.top-navigation-bar,
.header-top,
.header-middle,
.header-bottom,
#navigation,
.navigation-in,
.navigation-buttons {
  display: none !important;
}

#header,
.header {
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Na vnútorných stránkach vytvorí miesto pre pevnú hlavičku */
body:not(.in-index) {
  padding-top: 76px !important;
}

/* =========================================================
   HLAVNÁ GLOBÁLNA HLAVIČKA
========================================================= */

.wrGlobalHeader {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9990;

  width: 100%;
  height: 76px;

  color: #111111;
  background: rgba(255, 255, 255, 0.97);

  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.05);

  font-family: inherit !important;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;

  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Transparentná hlavička iba na hlavnej stránke */
.in-index .wrGlobalHeader:not(.is-scrolled) {
  position: absolute;

  color: #ffffff;
  background: transparent;

  border-bottom-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;

  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Jemný tmavý prechod nad bannerom */
.in-index .wrGlobalHeader:not(.is-scrolled)::before {
  content: "";

  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.49) 0%,
    rgba(0, 0, 0, 0.24) 55%,
    rgba(0, 0, 0, 0) 100%
  );

  pointer-events: none;
}

/* Hlavička po posunutí stránky */
.wrGlobalHeader.is-scrolled {
  position: fixed;

  color: #111111;
  background: rgba(255, 255, 255, 0.97);

  border-bottom-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* =========================================================
   VNÚTORNÉ ROZLOŽENIE HLAVIČKY
========================================================= */

.wrGlobalHeaderInner {
  position: relative;

  width: 100%;
  max-width: 1840px;
  height: 100%;

  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 72px);

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Ľavá časť */
.wrGlobalHeaderLeft {
  min-width: 0;
  max-width: calc(50vw - 135px);

  display: flex;
  align-items: center;
  justify-content: flex-start;

  gap: clamp(20px, 2vw, 36px);
  overflow: hidden;
}

/* =========================================================
   TLAČIDLO MENU
========================================================= */

.wrGlobalMenuButton {
  min-width: max-content;
  min-height: 42px;

  padding: 8px 4px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;

  gap: 10px;

  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 5px;

  font-family: inherit !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;

  cursor: pointer;
}

.wrGlobalMenuButton:hover,
.wrGlobalMenuButton:focus {
  color: inherit;
  background: transparent;
}

/* Ikona troch čiarok */
.wrGlobalMenuIcon {
  width: 23px;

  display: flex;
  flex-direction: column;

  gap: 5px;
}

.wrGlobalMenuIcon i {
  width: 100%;
  height: 1.5px;

  display: block;

  background: currentColor;
  border-radius: 999px;
}

.wrGlobalMenuText {
  color: inherit;
  white-space: nowrap;
}

/* =========================================================
   ODKAZY V HORNEJ HLAVIČKE
========================================================= */

.wrGlobalHeaderLinks {
  min-width: 0;

  display: flex;
  align-items: center;

  gap: clamp(18px, 1.8vw, 30px);
}

.wrGlobalHeaderLinks a {
  position: relative;

  padding: 29px 0;

  color: inherit !important;

  font-family: inherit !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;

  text-decoration: none !important;
  white-space: nowrap;
}

.wrGlobalHeaderLinks a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;

  height: 1px;

  background: currentColor;

  transform: scaleX(0);
  transform-origin: center;

  transition: transform 180ms ease;
}

.wrGlobalHeaderLinks a:hover::after,
.wrGlobalHeaderLinks a:focus::after {
  transform: scaleX(1);
}
/* =========================================================
   LOGO V STREDE HLAVIČKY
========================================================= */

.wrGlobalHeaderLogo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;

  transform: translate(-50%, -50%);
}

.wrGlobalHeaderLogo a {
  min-width: 150px;
  min-height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #111111 !important;
  text-decoration: none !important;
}

/* Biele logo na transparentnej hlavičke */
.in-index .wrGlobalHeader:not(.is-scrolled) .wrGlobalHeaderLogo a {
  color: #ffffff !important;
}

.wrGlobalLogoImage {
  width: auto;
  max-width: 160px;
  height: 34px;

  display: none;
  object-fit: contain;

  filter: none !important;

  transition: none;
}

.wrGlobalLogoImage.is-ready {
  display: block;
}

/* Na homepage sa čierne logo zmení na biele */

/* Náhradný text, ak sa logo nenačíta */
.wrGlobalLogoFallback {
  color: inherit;

  font-family: inherit !important;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: 0.12em;
  white-space: nowrap;
}

.wrGlobalHeaderRight {
  min-width: 0;
}

/* =========================================================
   TMAVÉ PREKRYTIE PRI OTVORENOM MENU
========================================================= */

.wrGlobalMenuOverlay {
  position: fixed;
  inset: 0;
  z-index: 9997;

  visibility: hidden;

  background: rgba(0, 0, 0, 0.45);

  opacity: 0;

  transition:
    opacity 250ms ease,
    visibility 250ms ease;
}

.wrGlobalMenuOverlay.is-open {
  visibility: visible;
  opacity: 1;
}

/* =========================================================
   BOČNÉ MENU
========================================================= */

.wrGlobalSideMenu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 9998;

  width: min(450px, 92vw);

  display: flex;
  flex-direction: column;

  color: #111111;
  background: #ffffff;

  box-shadow: 20px 0 65px rgba(0, 0, 0, 0.18);

  overflow-x: hidden;
  overflow-y: auto;

  overscroll-behavior: contain;

  transform: translateX(-105%);

  transition:
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);

  font-family: inherit !important;
}

.wrGlobalSideMenu.is-open {
  transform: translateX(0);
}

/* =========================================================
   HORNÁ ČASŤ BOČNÉHO MENU
========================================================= */

.wrGlobalSideMenuHeader {
  min-height: 82px;

  padding: 18px 28px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-bottom: 1px solid #e5e5e5;
}

.wrGlobalMobileLogo {
  display: inline-flex;
  align-items: center;

  color: #111111 !important;
  text-decoration: none !important;
}

.wrGlobalMobileLogoImage {
  width: auto;
  max-width: 150px;
  height: 32px;

  display: none;
  object-fit: contain;

  filter: none !important;
}

.wrGlobalMobileLogoImage.is-ready {
  display: block;
}

.wrGlobalMobileLogoFallback {
  font-family: inherit !important;
  font-size: 22px;
  line-height: 1;
  font-weight: 800;

  letter-spacing: 0.12em;
}

/* =========================================================
   TLAČIDLO ZATVORENIA MENU
========================================================= */

.wrGlobalMenuClose {
  position: relative;

  width: 44px;
  height: 44px;

  padding: 0;

  background: #f2f2f2;
  border: 0;
  border-radius: 50%;

  cursor: pointer;
}

.wrGlobalMenuClose:hover,
.wrGlobalMenuClose:focus {
  background: #e9e9e9;
}

.wrGlobalMenuClose span {
  position: absolute;
  top: 21px;
  left: 12px;

  width: 20px;
  height: 1.5px;

  display: block;

  background: #111111;
}

.wrGlobalMenuClose span:first-child {
  transform: rotate(45deg);
}

.wrGlobalMenuClose span:last-child {
  transform: rotate(-45deg);
}

/* =========================================================
   ODKAZY V BOČNOM MENU
========================================================= */

.wrGlobalSideNavigation {
  padding: 16px 28px 34px;
}

.wrGlobalSideNavigation a {
  min-height: 70px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: #111111 !important;

  border-bottom: 1px solid #e5e5e5;

  font-family: inherit !important;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.2;
  font-weight: 500;

  text-decoration: none !important;
}

.wrGlobalSideNavigation a b {
  color: #777777;

  font-size: 22px;
  line-height: 1;
  font-weight: 400;

  transition: transform 180ms ease;
}

.wrGlobalSideNavigation a:hover b,
.wrGlobalSideNavigation a:focus b {
  transform: translateX(4px);
}
/* =========================================================
   SPODNÁ ČASŤ BOČNÉHO MENU
========================================================= */

.wrGlobalSideBottom{
    margin-top:auto;
    padding:28px;

    display:flex;
    flex-direction:column;
    gap:10px;

    background:#f5f5f5;
    border-top:1px solid #e6e6e6;
}

.wrGlobalSideBottom span{
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
    color:#888;
    text-transform:uppercase;
}

.wrGlobalSideBottom a{
    color:#111 !important;
    text-decoration:none !important;
    font-size:15px;
    font-weight:500;
    transition:.25s;
}

.wrGlobalSideBottom a:hover{
    opacity:.7;
}

.wrGlobalContactButton{
    margin-top:12px;

    display:flex;
    justify-content:center;
    align-items:center;

    height:52px;

    background:#111;
    color:#fff !important;

    border-radius:999px;

    font-size:14px;
    font-weight:600;

    transition:.25s;
}

.wrGlobalContactButton:hover{
    background:#222;
}
.wrGlobalContactButton,
.wrGlobalContactButton:link,
.wrGlobalContactButton:visited,
.wrGlobalContactButton:hover,
.wrGlobalContactButton:active{
    color:#fff !important;
    text-decoration:none !important;
}

.wrGlobalContactButton *{
    color:#fff !important;
}
/* =========================================================
   OTVORENÉ MENU
========================================================= */

body.wrGlobalMenuOpen{
    overflow:hidden;
}

/* =========================================================
   ANIMÁCIE
========================================================= */

.wrGlobalHeader,
.wrGlobalSideMenu,
.wrGlobalMenuOverlay,
.wrGlobalHeaderLinks a,
.wrGlobalMenuButton,
.wrGlobalContactButton{
    transition:all .25s ease;
}

/* =========================================================
   HOVER EFEKTY
========================================================= */

.wrGlobalHeaderLinks a:hover{
    opacity:.85;
}

.wrGlobalMenuButton:hover{
    opacity:.8;
}

.wrGlobalSideNavigation a:hover{
    padding-left:8px;
}

.wrGlobalSideNavigation a:hover b{
    transform:translateX(8px);
}

/* =========================================================
   FIXY PRE SHOPTET
========================================================= */

body{
    overflow-x:hidden;
}

.wrapper,
.content-wrapper,
.content-in{
    position:relative;
    z-index:1;
}

.wrGlobalHeader{
    z-index:99990;
}

.wrGlobalSideMenu{
    z-index:99999;
}

.wrGlobalMenuOverlay{
    z-index:99998;
}

/* =========================================================
   VZHĽAD SCROLLBARU
========================================================= */

.wrGlobalSideMenu::-webkit-scrollbar{
    width:8px;
}

.wrGlobalSideMenu::-webkit-scrollbar-thumb{
    background:#d0d0d0;
    border-radius:999px;
}

.wrGlobalSideMenu::-webkit-scrollbar-track{
    background:#f5f5f5;
}
/* =========================================================
   TABLET
========================================================= */

@media (max-width:1180px){

    .wrGlobalHeaderLinks{
        display:none;
    }

    .wrGlobalHeaderLeft{
        max-width:none;
        overflow:visible;
    }

    .wrGlobalHeaderInner{
        padding-left:28px;
        padding-right:28px;
    }
}

/* =========================================================
   MOBIL
========================================================= */

@media (max-width:700px){

    body:not(.in-index){
        padding-top:66px !important;
    }

    .wrGlobalHeader{
        height:66px;
    }

    .wrGlobalHeaderInner{
        padding-left:17px;
        padding-right:17px;
    }

    .wrGlobalMenuButton{
        min-width:42px;
        min-height:42px;
        padding:8px;
    }

    .wrGlobalMenuText{
        display:none;
    }

    .wrGlobalMenuIcon{
        width:22px;
    }

    .wrGlobalHeaderLogo a{
        min-width:110px;
        min-height:40px;
    }

    .wrGlobalLogoImage{
        max-width:125px;
        height:27px;
    }

    .wrGlobalLogoFallback{
        font-size:18px;
        letter-spacing:.1em;
    }

    .wrGlobalSideMenu{
        width:min(390px, 92vw);
    }

    .wrGlobalSideMenuHeader{
        min-height:72px;
        padding-left:19px;
        padding-right:19px;
    }

    .wrGlobalMobileLogoImage{
        max-width:125px;
        height:28px;
    }

    .wrGlobalMobileLogoFallback{
        font-size:19px;
        letter-spacing:.1em;
    }

    .wrGlobalMenuClose{
        width:42px;
        height:42px;
    }

    .wrGlobalMenuClose span{
        top:20px;
        left:11px;
    }

    .wrGlobalSideNavigation{
        padding:10px 19px 28px;
    }

    .wrGlobalSideNavigation a{
        min-height:64px;
        gap:14px;
        font-size:18px;
    }

    .wrGlobalSideNavigation a b{
        font-size:20px;
    }

    .wrGlobalSideBottom{
        padding:24px 19px;
    }

    .wrGlobalContactButton{
        min-height:50px;
    }
}

/* =========================================================
   VEĽMI MALÉ MOBILY
========================================================= */

@media (max-width:380px){

    .wrGlobalHeaderInner{
        padding-left:13px;
        padding-right:13px;
    }

    .wrGlobalLogoFallback{
        font-size:16px;
    }

    .wrGlobalLogoImage{
        max-width:108px;
    }

    .wrGlobalSideNavigation a{
        font-size:17px;
    }
}

/* =========================================================
   ZLEPŠENIE PRÍSTUPNOSTI
========================================================= */

.wrGlobalMenuButton:focus-visible,
.wrGlobalMenuClose:focus-visible,
.wrGlobalHeaderLinks a:focus-visible,
.wrGlobalSideNavigation a:focus-visible,
.wrGlobalContactButton:focus-visible{
    outline:2px solid currentColor;
    outline-offset:3px;
}

/* =========================================================
   OBMEDZENIE ANIMÁCIÍ
========================================================= */

@media (prefers-reduced-motion:reduce){

    .wrGlobalHeader,
    .wrGlobalSideMenu,
    .wrGlobalMenuOverlay,
    .wrGlobalHeaderLinks a,
    .wrGlobalMenuButton,
    .wrGlobalContactButton,
    .wrGlobalSideNavigation a,
    .wrGlobalSideNavigation a b{
        transition:none !important;
    }
}
/* =========================================================
   OPRAVA KLIKANIA NA ADMINISTRAČNÚ LIŠTU SHOPTETU
========================================================= */

/* Prázdna plocha hlavičky nebude blokovať kliknutia */
.wrGlobalHeader {
    pointer-events: none;
}

/* Klikateľné zostanú iba skutočné prvky hlavičky */
.wrGlobalHeader a,
.wrGlobalHeader button,
.wrGlobalHeader nav {
    pointer-events: auto;
}

/* Neviditeľné prekrytie nesmie blokovať stránku */
.wrGlobalMenuOverlay {
    pointer-events: none;
}

.wrGlobalMenuOverlay.is-open {
    pointer-events: auto;
}
/* =========================================================
   OPRAVA VEĽKOSTI BIELEHO LOGA NA HOMEPAGE
========================================================= */

/* Čierne logo po scrollovaní zostáva tak, ako je */
.wrGlobalLogoImage {
    transform: scale(1);
    transform-origin: center center;
}

/* IBA biele logo hore na homepage zväčšíme */
.in-index .wrGlobalHeader:not(.is-scrolled) .wrGlobalLogoImage {
    transform: scale(2) !important;
    transform-origin: center center !important;
}

/* Wrapper musí dovoliť logu presah */
.wrGlobalHeaderLogo,
.wrGlobalHeaderLogo a {
    overflow: visible !important;
}


/* TABLET */
@media (max-width: 1180px) {

    .in-index .wrGlobalHeader:not(.is-scrolled) .wrGlobalLogoImage {
        transform: scale(1.65) !important;
    }

}


/* MOBIL */
@media (max-width: 700px) {

    .in-index .wrGlobalHeader:not(.is-scrolled) .wrGlobalLogoImage {
        transform: scale(1.45) !important;
    }

}
/* FINÁLNA VEĽKOSŤ LOGA – PREBIJE VŠETKY STARÉ PRAVIDLÁ */

#wrGlobalLogoImage.wrGlobalLogoImage {
    width: 150px !important;
    max-width: 150px !important;

    height: 32px !important;
    max-height: 32px !important;

    object-fit: contain !important;

    transform: none !important;
    scale: 1 !important;

    margin: 0 !important;
    padding: 0 !important;
}

.in-index .wrGlobalHeader:not(.is-scrolled) #wrGlobalLogoImage {
    width: 150px !important;
    max-width: 150px !important;

    height: 32px !important;
    max-height: 32px !important;

    transform: none !important;
    scale: 1 !important;
}

.wrGlobalHeader.is-scrolled #wrGlobalLogoImage {
    width: 150px !important;
    max-width: 150px !important;

    height: 32px !important;
    max-height: 32px !important;

    transform: none !important;
    scale: 1 !important;
}