.nav-sen-wybor {
  margin: 28px 0 18px;
  border: 1px solid #dfe6ef;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.nav-sen-wybor__bar {
  height: 4px;
  background: #ef4b1f;
}

.nav-sen-wybor__inner {
  padding: 18px 20px 20px;
}

.nav-sen-wybor__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.nav-sen-wybor__heading {
  min-width: 0;
}

.nav-sen-wybor__label {
  margin-bottom: 5px;
  color: #ef4b1f;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-sen-wybor__title {
  margin: 0;
  color: #071326;
  font-size: 24px;
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.nav-sen-wybor__subtitle {
  margin: 7px 0 0;
  color: #536176;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.nav-sen-wybor__clear {
  flex: 0 0 auto;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 7px 15px;
  border: 1px solid #d8e1ec;
  border-radius: 999px;
  background: #ffffff;
  color: #536176;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.nav-sen-wybor__clear:hover {
  border-color: #ef4b1f;
  background: #fff7f3;
  color: #ef4b1f;
  text-decoration: none;
}

.nav-sen-wybor__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.nav-sen-wybor__tile {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 112px;
  padding: 16px 16px 16px 20px;
  border: 1px solid #dfe6ef;
  border-radius: 16px;
  background: #ffffff;
  color: #071326;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035);
  transition:
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.16s ease,
    background 0.16s ease;
}

.nav-sen-wybor__tile:hover {
  border-color: #ef4b1f;
  background: #fffaf7;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
  text-decoration: none;
}

.nav-sen-wybor__tile--active {
  border-color: #ef4b1f;
  background: #fffaf7;
  box-shadow: 0 8px 22px rgba(239, 75, 31, 0.12);
}

.nav-sen-wybor__accent {
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: #8fa3bd;
}

.nav-sen-wybor__tile--sleep .nav-sen-wybor__accent {
  background: #4aaee8;
}

.nav-sen-wybor__tile--wake .nav-sen-wybor__accent {
  background: #1f4f8f;
}

.nav-sen-wybor__tile--rhythm .nav-sen-wybor__accent {
  background: #f0b22a;
}

.nav-sen-wybor__tile--calm .nav-sen-wybor__accent {
  background: #44b978;
}

.nav-sen-wybor__tile--kids .nav-sen-wybor__accent {
  background: #9b63e6;
}

.nav-sen-wybor__tile--active .nav-sen-wybor__accent {
  background: #ef4b1f;
}

.nav-sen-wybor__icon-wrap {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  margin-right: 15px;
  border: 1px solid #dfe6ef;
  border-radius: 16px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-sen-wybor__tile--active .nav-sen-wybor__icon-wrap {
  border-color: #ffc7b5;
  background: #fff3ed;
}

.nav-sen-wybor__icon {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.25);
  opacity: 0.92;
}

.nav-sen-wybor__content {
  display: block;
  min-width: 0;
}

.nav-sen-wybor__name {
  display: block;
  color: #071326;
  font-size: 14px;
  line-height: 1.22;
  font-weight: 900;
}

.nav-sen-wybor__desc {
  display: block;
  margin-top: 6px;
  color: #536176;
  font-size: 12px;
  line-height: 1.32;
  font-weight: 500;
}

.nav-sen-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 14px;
}

.nav-sen-products-head__left {
  min-width: 0;
}

.nav-sen-products-head__count {
  margin-bottom: 2px;
  color: #66758a;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.nav-sen-products-head__title {
  margin: 0;
  color: #071326;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.nav-sen-products-head__active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 13px;
  border: 1px solid #dfe6ef;
  border-radius: 999px;
  background: #ffffff;
  color: #66758a;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
}

.nav-sen-products-head__active strong {
  color: #ef4b1f;
  font-weight: 800;
}

@media (max-width: 1199px) {
  .nav-sen-wybor__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .nav-sen-wybor {
    margin: 22px 0 16px;
    border-radius: 18px;
  }

  .nav-sen-wybor__inner {
    padding: 16px;
  }

  .nav-sen-wybor__top {
    margin-bottom: 14px;
  }

  .nav-sen-wybor__title {
    font-size: 21px;
  }

  .nav-sen-wybor__clear {
    margin-top: 18px;
    padding-left: 12px;
    padding-right: 12px;
    font-size: 11px;
  }

  .nav-sen-wybor__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .nav-sen-wybor__tile {
    flex: 0 0 245px;
    min-height: 108px;
    padding: 14px 14px 14px 18px;
    scroll-snap-align: start;
  }

  .nav-sen-wybor__icon-wrap {
    width: 66px;
    height: 66px;
    margin-right: 13px;
    border-radius: 15px;
  }

  .nav-sen-wybor__icon {
    width: 52px;
    height: 52px;
  }

  .nav-sen-wybor__name {
    font-size: 13px;
  }

  .nav-sen-wybor__desc {
    font-size: 11px;
  }

  .nav-sen-products-head {
    align-items: flex-start;
    margin: 12px 0 12px;
  }

  .nav-sen-products-head__title {
    font-size: 22px;
  }

  .nav-sen-products-head__active {
    display: none;
  }
}

@media (max-width: 479px) {
  .nav-sen-wybor__top {
    display: block;
  }

  .nav-sen-wybor__clear {
    margin-top: 12px;
  }

  .nav-sen-wybor__tile {
    flex-basis: 230px;
  }

  .nav-sen-products-head__count {
    font-size: 12px;
  }

  .nav-sen-products-head__title {
    font-size: 21px;
  }
}