.navigation {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 9;
  width: 100%;
  min-height: 110px;
  overflow: auto;
  font-size: 10px;
  font-weight: 400;
  color: var(--navigation-txt-color);
  background: var(--navigation-bg-color);
  box-shadow: 0 10px 50px -2px rgba(0, 0, 0, 0.14);
}

.navigation .title {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.navigation h1 {
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 300;
  color: var(--navigation-txt-color);
}

.navigation2 {
  position: fixed;
  top: 0;
  display: block;
  width: 100%;
  height: 0;
  font-size: 10px;
}

.navigation2 .count {
  position: absolute;
  top: -7px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  background: var(--float-basket-count-color);
  color: #ffffff;
}

.navigation .count {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50%, -40%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  background-color: var(--main-basket-count-bg-color);
  color: var(--main-basket-count-color);
}

.nav-logo-link {
  display: block;
  text-decoration: none;
  border: none;
  outline: none;
}

.nav-logo-image {
  display: block;
  max-width: 100%;
  max-height: 90px;
  height: auto;
  object-fit: contain;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
}

.nav-cart-summary {
  transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.nav-cart-summary.cart-hidden {
  opacity: 0 !important;
  transform: scale(0.95);
  pointer-events: none;
  visibility: hidden;
}

.nav-cart-link {
  position: relative;
  display: block;
  cursor: pointer;
}

.nav-cart-icon {
  width: 42px;
  height: 45px;
  color: var(--main-basket-color);
  fill: var(--main-basket-color);
}

.nav-cart-icon path {
  fill: currentColor;
}

.nav-current-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 2px;
  line-height: 1.1;
  text-align: right;
}

.nav-current-date .nav-weekday {
  display: block;
  margin-bottom: 2px;
  font-size: 19px;
  font-weight: 400;
}

.nav-current-date .nav-date-full {
  display: block;
}

.nav-current-date .nav-day,
.nav-current-date .nav-date {
  font-size: 19px;
  font-weight: 400;
}

.language-switcher {
  display: flex;
  gap: 5px;
}

.language-select {
  display: block;
  min-width: 32px;
  padding: 4px 6px;
  border: solid 1px var(--lang-select-border-color);
  border-radius: var(--radius);
  float: right;
  font-size: 14px;
  color: var(--lang-select-txt-color);
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.language-select.active {
  background: var(--lang-select-active-bg-color);
  color: var(--lang-select-active-txt-color);
}

.language-select:hover,
.language-select:focus-visible {
  background: var(--lang-select-hover-bg-color);
  color: var(--lang-select-hover-txt-color);
  text-decoration: none;
}

.nav-cart-float {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(0);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, visibility 0.3s ease-out;
}

.nav-cart-float.cart-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.nav-cart-float.cart-hidden {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.nav-cart-float-icon {
  width: 42px;
  height: 45px;
  color: var(--float-basket-color);
  fill: var(--float-basket-color);
}

.nav-cart-float-icon path {
  fill: currentColor;
}

@keyframes slide-left {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-out-right {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.slide-left {
  animation: slide-left 0.3s ease-out forwards;
}

.slide-out-right {
  animation: slide-out-right 0.3s ease-out forwards;
}

@media (max-width: 767px) {
  .nav-current-date {
    display: none;
  }

  .nav-logo-image {
    max-height: 60px;
  }

  .nav-current-date .nav-day,
  .nav-current-date .nav-date {
    font-size: 16px;
  }

  .nav-logo-link {
    display: flex;
    justify-content: center;
    margin: 0;
  }

  .nav-actions {
    align-items: flex-end;
  }

  .navigation2.navigation-sticky .nav-cart-float {
    right: 15px;
  }

  .navigation {
    display: block;
    align-content: center;
    align-items: center;
    min-height: 75px;
    color: var(--navigation-txt-color);
    background: var(--navigation-bg-color);
  }

  .navigation .count {
    top: 0;
    right: 5px;
    width: 26px;
    height: 26px;
    font-size: 12px;
    line-height: 1;
  }

  .navigation2 {
    position: unset;
  }

  .nav-cart-float {
    top: 130px;
  }

  .nav-cart-icon {
    width: 41px;
    height: 45px;
  }

  .nav-cart-float-icon {
    width: 30px;
    height: 28px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .navigation {
    min-height: unset;
  }

  .navigation h1 {
    font-size: 28px;
  }

  .nav-logo-link {
    float: left;
    margin: 12px 0;
  }

  .nav-cart-link {
    margin-top: 15px;
  }

  .navigation2 {
    height: unset;
  }

  .navigation2 .count {
    top: 18px;
  }

  .navigation .count {
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    font-size: 13px;
    line-height: 1;
  }
}