
/* OZI final header fix V9 */

/* Desktop: preserve existing header */
@media (max-width:820px) {
  .ozi-one-header .ozi-header-inner {
    display:flex!important;
    flex-direction:row!important;
    direction:ltr!important;
    justify-content:space-between!important;
    align-items:center!important;
  }

  .ozi-one-header .ozi-mobile-menu {
    order:1!important;
    margin:0!important;
    display:block!important;
  }

  .ozi-one-header .ozi-logo {
    order:2!important;
    margin:0!important;
  }

  .ozi-one-header .ozi-unified-nav,
  .ozi-one-header .ozi-header-contact {
    display:none!important;
  }

  .ozi-one-header .ozi-mobile-links {
    direction:rtl!important;
    right:14px!important;
    left:auto!important;
    text-align:right!important;
  }
}

/* Floating WhatsApp on both mobile and desktop */
html body > a.ozi-floating-whatsapp-v6 {
  position:fixed!important;
  right:16px!important;
  left:auto!important;
  bottom:calc(16px + env(safe-area-inset-bottom, 0px))!important;
  top:auto!important;
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  padding:0!important;
  margin:0!important;
  border-radius:50%!important;
  background:#25d366!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  z-index:2147483000!important;
  box-shadow:0 4px 14px rgba(0,0,0,.20)!important;
  transform:none!important;
  visibility:visible!important;
  opacity:1!important;
}

html body > a.ozi-floating-whatsapp-v6 svg {
  width:25px!important;
  height:25px!important;
  fill:#fff!important;
  display:block!important;
}

@media (max-width:820px) {
  html body > a.ozi-floating-whatsapp-v6 {
    right:14px!important;
    bottom:calc(14px + env(safe-area-inset-bottom, 0px))!important;
    width:42px!important;
    height:42px!important;
  }
}

/* OZI Mobile Header Correction */
@media (max-width:820px) {

  .ozi-one-header .ozi-header-inner {
    direction:rtl!important;
    flex-direction:row!important;
    justify-content:space-between!important;
  }

  .ozi-one-header .ozi-mobile-menu {
    order:1!important;
    margin:0!important;
  }

  .ozi-one-header .ozi-logo {
    order:2!important;
    margin:0!important;
  }

  .ozi-one-header .ozi-mobile-links {
    width:205px!important;
    max-width:calc(100vw - 28px)!important;
    max-height:60dvh!important;
    overflow-y:auto!important;
    padding:6px!important;
    right:14px!important;
    left:auto!important;
  }

  .ozi-one-header .ozi-mobile-links > a,
  .ozi-one-header .ozi-mobile-links > .ozi-nav-soon {
    padding:7px 10px!important;
    font-size:12px!important;
    line-height:1.4!important;
  }
}


/* Mobile header direction */
@media(max-width:820px){
  .ozi-one-header .ozi-header-inner{
    direction:rtl!important;
    flex-direction:row!important;
    justify-content:space-between!important;
  }
  .ozi-one-header .ozi-mobile-menu{
    order:1!important;
  }
  .ozi-one-header .ozi-logo{
    order:2!important;
  }
}

/* OZI Mobile Header - Final Position */
@media (max-width:820px) {
  .ozi-one-header .ozi-header-inner {
    direction:ltr!important;
    flex-direction:row!important;
    justify-content:space-between!important;
  }

  .ozi-one-header .ozi-logo {
    order:1!important;
    margin:0!important;
  }

  .ozi-one-header .ozi-mobile-menu {
    order:2!important;
    margin:0!important;
  }

  .ozi-one-header .ozi-mobile-links {
    direction:rtl!important;
    text-align:right!important;
  }
}
