:root {
  --kt-nav-offset: 0px;
}

.kt-nav-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  z-index: 2147483000;
  background: rgba(243, 244, 246, 0.98);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
}

html.kt-nav-loading::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  background: rgba(243, 244, 246, 0.98);
  backdrop-filter: blur(6px);
  z-index: 2147483500;
}

html.kt-nav-loading::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  border: 2px solid #c9d2cc;
  border-top-color: #1f5a49;
  border-radius: 50%;
  animation: ktNavSpin 0.9s linear infinite;
  z-index: 2147483501;
}

html.kt-nav-loading .kt-mobile-nav {
  z-index: 2147483650 !important;
}

.kt-app-overlay {
  z-index: 2147483700 !important;
}

body.kt-app-overlay-open .kt-mobile-nav {
  z-index: 1 !important;
  pointer-events: none;
}

.kt-nav-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid #c9d2cc;
  border-top-color: #1f5a49;
  border-radius: 50%;
  animation: ktNavSpin 0.9s linear infinite;
}

@keyframes ktNavSpin {
  to {
    transform: rotate(360deg);
  }
}

html.kt-nav-loading .kt-nav-overlay {
  display: flex;
}

html.kt-nav-loading body {
  overflow: hidden;
}

html.kt-pwa body {
  padding-bottom: calc(56px + env(safe-area-inset-bottom) + var(--kt-nav-offset, 0px));
}

.kt-mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--kt-nav-offset, 0px);
  z-index: 2147483600;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  display: none;
}

html.kt-pwa .kt-mobile-nav {
  display: flex;
}

.kt-mobile-nav--ssr {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translate3d(0, 0, 0) !important;
}

.kt-mobile-nav__track {
  position: relative;
  z-index: 1;
  height: 56px;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-right: var(--kt-settings-width, 56px);
}

.kt-mobile-nav.is-scrollable .kt-mobile-nav__track {
  overflow-x: auto;
}

.kt-mobile-nav.is-scrollable::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 16px;
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0));
}

.kt-mobile-nav__track::-webkit-scrollbar {
  display: none;
}

.kt-mobile-nav__list {
  display: flex;
  gap: 4px;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 6px 8px;
  list-style: none;
  height: 56px;
  min-width: max-content;
}

.kt-mobile-nav__item {
  flex: 0 0 var(--kt-nav-item-width, 72px);
}

.kt-mobile-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  line-height: 1;
  text-decoration: none;
  color: #1f2a24;
  width: 100%;
  height: 56px;
}

.kt-mobile-nav__label {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.kt-mobile-nav__fixed {
  position: absolute;
  right: 0;
  top: 0;
  width: var(--kt-settings-width, 56px);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  z-index: 4;
}

.kt-mobile-nav.is-scrollable .kt-mobile-nav__fixed {
  box-shadow: -8px 0 12px rgba(0, 0, 0, 0.12);
}

.kt-mobile-nav__fixed .kt-mobile-nav__link {
  width: var(--kt-settings-width, 56px);
  height: 56px;
}

.kt-mobile-nav__fixed .kt-mobile-nav__label {
  font-size: 9px;
  line-height: 1.1;
  white-space: normal;
}

.kt-mobile-nav__link.is-active {
  color: #0a3d2e;
  font-weight: 600;
}

.kt-mobile-nav__icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.kt-mobile-nav .ktfc-open-cart-button {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  bottom: auto;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  display: flex;
  opacity: 1;
  transform: none;
}

.kt-mobile-nav .ktfc-open-cart-button,
.kt-mobile-nav .ktfc-open-cart-button * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

.kt-mobile-nav .ktfc-open-cart-button:focus,
.kt-mobile-nav .ktfc-open-cart-button:focus-visible,
.kt-mobile-nav .ktfc-open-cart-button:active {
  outline: none !important;
  box-shadow: none !important;
}

.kt-mobile-nav .ktfc-open-cart-button:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

.kt-mobile-nav .ktfc-open-cart-button {
  border: 0 !important;
  background: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}

.kt-mobile-nav .ktfc-open-cart-button::before,
.kt-mobile-nav .ktfc-open-cart-button::after {
  content: none !important;
}

.kt-mobile-nav .ktfc-open-cart-button .kt-mobile-nav__icon {
  width: 22px !important;
  height: 22px !important;
}

html.kt-pwa body.ktfc-checkout .kt-mobile-nav,
html.kt-pwa body[class*="ktfc-"] .kt-mobile-nav {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 2147483655 !important;
}

html.kt-pwa body.ktfc-checkout .kt-mobile-nav .ktfc-open-cart-button,
html.kt-pwa body[class*="ktfc-"] .kt-mobile-nav .ktfc-open-cart-button {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

html.kt-pwa #toTop,
html.kt-pwa .calculator-button,
html.kt-pwa .doctor-button,
html.kt-pwa .ktfc-open-cart-button {
  display: none !important;
}
