
/* =========================================================
   Tick Away v1.6.4 mobile sticky header repair
   ========================================================= */

@media (max-width: 760px) {
  :root {
    --ta-mobile-header-height: 92px;
  }

  html {
    scroll-padding-top: calc(var(--ta-mobile-header-height, 92px) + 10px) !important;
  }

  body {
    padding-top: var(--ta-mobile-header-height, 92px) !important;
  }

  body.admin-bar {
    padding-top: calc(var(--ta-mobile-header-height, 92px) + 46px) !important;
  }

  body .site-header,
  body.single-product .site-header,
  body.woocommerce-page .site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 10050 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e4ebef !important;
    box-shadow: 0 8px 26px rgba(6, 43, 73, 0.08) !important;
    overflow: visible !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
    will-change: transform !important;
  }

  body.admin-bar .site-header {
    top: 46px !important;
  }

  body .topbar {
    height: 30px !important;
    min-height: 30px !important;
  }

  body .topbar-inner {
    min-height: 30px !important;
    height: 30px !important;
  }

  body .topbar-inner span {
    line-height: 30px !important;
  }

  body .nav-wrap {
    width: calc(100% - 24px) !important;
    min-height: 60px !important;
    height: 60px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
  }

  body .site-branding {
    flex: 0 1 auto !important;
    min-width: 0 !important;
  }

  body .site-branding img,
  body .custom-logo-link img,
  body img.custom-logo {
    width: auto !important;
    max-width: 160px !important;
    max-height: 44px !important;
    object-fit: contain !important;
  }

  body .menu-toggle {
    margin-left: auto !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    background: #008c45 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
  }

  body .main-navigation {
    position: absolute !important;
    top: 100% !important;
    right: 12px !important;
    left: 12px !important;
    z-index: 10060 !important;
  }

  body .main-navigation.is-open,
  body .main-navigation.toggled {
    z-index: 10060 !important;
  }

  body .ta-header-search-panel,
  body .ta-mini-cart-panel {
    z-index: 10070 !important;
  }
}

@media (max-width: 560px) {
  :root {
    --ta-mobile-header-height: 90px;
  }

  body .nav-wrap {
    min-height: 58px !important;
    height: 58px !important;
  }

  body .site-branding img,
  body .custom-logo-link img,
  body img.custom-logo {
    max-width: 150px !important;
    max-height: 42px !important;
  }
}
