/* Codex modern visual layer for Knopa home blocks. */
:root {
  --kn-bg: #f6f8fb;
  --kn-text: #131a2a;
  --kn-muted: #687386;
  --kn-line: #dfe6ef;
  --kn-line-soft: #edf1f6;
  --kn-primary: #f2054f;
  --kn-blue: #188ee3;
  --kn-blue-dark: #126fb4;
  --kn-shadow: 0 14px 34px rgba(19, 26, 42, .08);
  --kn-radius: 8px;
}

.banners {
  padding-top: 24px;
  padding-bottom: 12px !important;
}

.banners .main-slider__link.banner,
.banners .banner-medium,
.banners .banner-wholesale-panel {
  border-radius: var(--kn-radius) !important;
  border-color: var(--kn-line-soft) !important;
  box-shadow: var(--kn-shadow) !important;
}

.banners .main-slider__link.banner img,
.banners .banner-medium img {
  border-radius: var(--kn-radius) !important;
}

.banners .main-slider__link.banner:after,
.banners .banner-medium:after {
  content: none !important;
}

.banners .banner-wholesale-panel:after {
  pointer-events: none;
}

.banners .knopa-battery-banner {
  background: #050914;
}

.banners .knopa-battery-banner img {
  filter: saturate(1.08) contrast(1.05);
}

.knopa-discount-banner {
  background: linear-gradient(135deg, #182236 0%, #8f1449 58%, #f2054f 100%) !important;
}

.banners .banner-wholesale-panel {
  color: inherit;
}

@media only screen and (min-width: 993px) {
  .home-ads-intro {
    margin-top: -20px !important;
    padding-top: 10px !important;
    padding-bottom: 6px !important;
    margin-bottom: 0 !important;
  }

  .banners {
    padding-top: 14px !important;
  }
}

.home-all-cats {
  background: var(--kn-bg);
  padding: 8px 0 30px;
  scroll-margin-top: 154px;
}

.home-all-cats__content {
  padding: 20px;
  border: 1px solid var(--kn-line-soft);
  border-radius: var(--kn-radius);
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  box-shadow: 0 14px 34px rgba(19, 26, 42, .06);
}

.home-all-cats__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.home-all-cats__title-wrap {
  min-width: 0;
}

.home-all-cats__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 7px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #eef6fb;
  color: var(--kn-blue-dark);
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
}

.home-all-cats__title {
  color: var(--kn-text);
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.home-all-cats__text {
  margin-top: 7px;
  color: var(--kn-muted);
  font-size: 15px;
  line-height: 1.35;
}

.home-all-cats__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--kn-line);
  border-radius: var(--kn-radius);
  background: #fff;
  color: var(--kn-blue-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.home-all-cats__link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.home-all-cats__link:hover {
  border-color: rgba(24, 142, 227, .3);
  color: var(--kn-primary);
  box-shadow: 0 10px 24px rgba(19, 26, 42, .08);
  transform: translateY(-1px);
}

.home-all-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-all-cats__item {
  min-width: 0;
}

.home-all-cats__card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  height: 100%;
  padding: 13px;
  border: 1px solid var(--kn-line-soft);
  border-radius: var(--kn-radius);
  background: #fff;
  color: var(--kn-text);
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(19, 26, 42, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home-all-cats__card:before {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -34px;
  z-index: -1;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--cat-accent, var(--kn-blue));
  opacity: .08;
}

.home-all-cats__card:hover {
  border-color: rgba(24, 142, 227, .26);
  box-shadow: 0 16px 34px rgba(19, 26, 42, .09);
  transform: translateY(-2px);
}

.home-all-cats__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--kn-radius);
  background: #eef6fb;
  color: var(--cat-accent, var(--kn-blue-dark));
  box-shadow: inset 0 0 0 1px rgba(24, 142, 227, .09);
  font-weight: 900;
}

.home-all-cats__icon svg {
  width: 25px;
  height: 25px;
  max-width: 25px;
  max-height: 25px;
  filter: saturate(1.08);
}

.home-all-cats__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-all-cats__name {
  color: var(--kn-text);
  font-size: 15px;
  line-height: 1.18;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.home-all-cats__action {
  margin-top: 6px;
  color: var(--kn-muted);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 750;
}

.home-all-cats__card:hover .home-all-cats__action {
  color: var(--kn-blue-dark);
}

@media only screen and (max-width: 992px) {
  html {
    max-width: 100%;
    overflow-x: hidden;
  }

  .banners {
    padding-top: 10px;
    padding-bottom: 8px !important;
  }

  .home-ads-intro {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .home-ads-intro__inner {
    box-sizing: border-box !important;
    width: calc(100% - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden;
  }

  .home-ads-intro__benefits,
  .home-ads-intro__item,
  .home-ads-intro__copy {
    min-width: 0;
  }

  .home-all-cats {
    padding: 6px 0 22px;
    scroll-margin-top: 74px;
  }

  .home-all-cats__content {
    padding: 14px;
  }

  .home-all-cats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .home-all-cats__card {
    min-height: 78px;
    padding: 11px;
  }
}

@media only screen and (max-width: 768px) {
  .home-ads-intro__copy b {
    white-space: normal !important;
  }

  .mob-header,
  .mob-header__container,
  .mob-header__content {
    max-width: 100vw;
    box-sizing: border-box;
  }

  .mob-header {
    overflow-x: clip;
  }

  .mob-header__content {
    width: 100%;
    min-width: 0;
  }

  .mob-menu-toggler,
  .search-toggler,
  .mob-header .feedback-toggler,
  .mob-header .header-account-login,
  .mob-header .wishlist-toggler,
  .mob-header .basket-toggler {
    flex: 0 0 34px;
    width: 34px;
    min-width: 34px;
    padding-left: 0;
    padding-right: 0;
  }

  .mob-header .logo {
    flex: 1 1 auto;
    min-width: 0;
  }

  .mob-header .logo svg {
    width: 120px;
    max-width: 100%;
  }

  .home-all-cats__container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home-all-cats__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
    margin-bottom: 12px;
  }

  .home-all-cats__eyebrow {
    min-height: 21px;
    margin-bottom: 5px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .home-all-cats__title {
    font-size: 23px;
    line-height: 1.05;
  }

  .home-all-cats__text {
    display: none;
  }

  .home-all-cats__link {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
  }

  .home-all-cats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .home-all-cats__card {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    min-height: 68px;
    padding: 9px;
  }

  .home-all-cats__icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
  }

  .home-all-cats__icon svg {
    width: 21px;
    height: 21px;
  }

  .home-all-cats__name {
    font-size: 13px;
    line-height: 1.16;
  }

  .home-all-cats__action {
    display: none;
  }
}

@media only screen and (max-width: 390px) {
  .home-all-cats {
    padding: 6px 0 18px;
  }

  .home-all-cats__content {
    padding: 12px;
  }

  .home-all-cats__title {
    font-size: 22px;
  }

  .home-all-cats__link {
    min-height: 32px;
    padding: 0 9px;
  }

  .home-all-cats__card {
    min-height: 64px;
    padding: 8px;
  }

  .home-all-cats__name {
    font-size: 12px;
    line-height: 1.14;
  }
}

.knopa-category-seo {
  margin-top: 2px;
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  color: #172033;
}

.knopa-category-seo h2 {
  margin: 0 0 14px;
  color: #0b1730;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.18;
}

.knopa-category-seo p {
  margin: 0 0 13px;
  color: #4b5565;
  font-size: 16px;
  line-height: 1.65;
}

.knopa-category-seo p:last-child {
  margin-bottom: 0;
}

.knopa-category-seo__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.knopa-category-seo__list li {
  padding: 7px 11px;
  border: 1px solid rgba(73, 144, 226, 0.16);
  border-radius: 999px;
  background: #eef6ff;
  color: #1266a8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-seo .knopa-seo-copy {
  color: #334155;
}

.footer-seo .knopa-seo-copy h2 {
  margin: 0 0 14px;
  color: #0b1730;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
}

.footer-seo .knopa-seo-copy h3 {
  margin: 24px 0 10px;
  color: #13233a;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.25;
}

.footer-seo .knopa-seo-copy p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 15px;
  line-height: 1.68;
}

.footer-seo .knopa-seo-copy p:last-child {
  margin-bottom: 0;
}

.footer-seo .knopa-seo-copy strong {
  color: #13233a;
  font-weight: 900;
}

.footer-seo .knopa-seo-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}

.footer-seo .knopa-seo-copy li {
  padding: 6px 10px;
  border: 1px solid rgba(73, 144, 226, 0.15);
  border-radius: 999px;
  background: #eef6ff;
  color: #1266a8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.footer-seo .knopa-seo-copy__faq {
  margin: 20px 0 6px;
}

.footer-seo .knopa-seo-copy__faq details {
  margin: 8px 0;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.footer-seo .knopa-seo-copy__faq summary {
  position: relative;
  display: block;
  padding: 12px 38px 12px 14px;
  color: #13233a;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.footer-seo .knopa-seo-copy__faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #ff0b4f;
  font-size: 18px;
  line-height: 1;
}

.footer-seo .knopa-seo-copy__faq details[open] summary::after {
  content: "-";
}

.footer-seo .knopa-seo-copy__faq summary::-webkit-details-marker {
  display: none;
}

.footer-seo .knopa-seo-copy__faq details p {
  margin: 0;
  padding: 0 14px 13px;
}

@media only screen and (max-width: 768px) {
  .mob-header {
    position: sticky;
    top: 0;
    z-index: 90;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid #edf1f4;
    box-shadow: 0 8px 18px rgba(9, 24, 41, 0.08);
  }

  .mob-header-anchor {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
  }

  .mob-header__container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .mob-header__content {
    display: grid;
    grid-template-columns: minmax(104px, 30%) minmax(0, 1fr) 48px 48px;
    grid-template-areas:
      "logo logo account cart"
      "menu search search search";
    align-items: center;
    gap: 10px 8px;
    width: 100%;
    min-width: 0;
    padding: 12px 0 14px;
  }

  .mob-header .logo {
    grid-area: logo;
    display: flex;
    align-items: center;
    min-width: 0;
    width: auto;
    margin: 0 !important;
  }

  .mob-header .logo svg {
    width: clamp(128px, 43vw, 174px);
    height: clamp(44px, 13vw, 56px);
    max-width: 100%;
  }

  .mob-header .header-account-login,
  .mob-header .basket-toggler {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid #e7edf2;
    border-radius: 18px;
    background: #fff;
    color: #172333;
    box-shadow: 0 6px 14px rgba(20, 35, 50, 0.08);
  }

  .mob-header .header-account-login {
    grid-area: account;
  }

  .mob-header .basket-toggler {
    grid-area: cart;
    position: relative;
  }

  .mob-header .header-account-login svg,
  .mob-header .basket-toggler svg {
    width: 28px;
    height: 28px;
    margin: 0;
    fill: currentColor;
  }

  .mob-header .basket-toggler__count {
    top: -6px;
    right: -5px;
    min-width: 22px;
    height: 22px;
    padding: 0 5px;
    border: 2px solid #fff;
    border-radius: 99px;
    background: #ff0b4f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
  }

  .mob-header .search-toggler,
  .mob-header .feedback-toggler,
  .mob-header .wishlist-toggler {
    display: none !important;
  }

  .mob-menu-toggler {
    grid-area: menu;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 14px;
    border-radius: 18px;
    background: #6f8194;
    color: #fff;
    box-shadow: 0 8px 18px rgba(80, 98, 114, 0.18);
  }

  .mob-menu-toggler svg {
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    fill: currentColor;
  }

  .mob-menu-toggler__text {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: clamp(17px, 4.8vw, 22px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mob-header .search {
    grid-area: search;
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px minmax(74px, 23vw);
    align-items: center;
    width: 100%;
    max-width: none;
    height: 52px;
    margin: 0;
    overflow: hidden;
    border: 3px solid #ff174f;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(255, 23, 79, 0.1);
  }

  .mob-header .search__field {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0 8px 0 15px;
    border: 0;
    background: transparent;
    color: #172333;
    font-size: clamp(16px, 4.8vw, 22px);
    font-weight: 700;
    line-height: 1;
  }

  .mob-header .search__field::placeholder {
    color: #8e98a4;
    opacity: 1;
  }

  .mob-header .search__voice-button {
    position: relative;
    display: flex;
    width: 32px;
    height: 28px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 0;
    background: transparent;
    color: #5e6976;
    cursor: pointer;
  }

  .mob-header .search__voice-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 20px;
    transform: translateX(-50%);
    border: 3px solid #5e6976;
    border-radius: 99px;
    background: transparent;
  }

  .mob-header .search__voice-button::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 20px;
    height: 14px;
    transform: translateX(-50%);
    border: 3px solid #5e6976;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 8px 0 -5px #5e6976;
  }

  .mob-header .search__voice-button.is-listening::before,
  .mob-header .search__voice-button.is-listening::after {
    border-color: #ff1748;
  }

  .mob-header .search__voice-button.is-listening::after {
    box-shadow: 0 8px 0 -5px #ff1748;
  }

  .mob-header .search__submit {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: calc(100% - 8px);
    margin-right: 4px;
    padding: 0 10px;
    border-radius: 16px;
    background: #ff174f;
    color: #fff;
    font-size: clamp(15px, 4.1vw, 19px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .mob-header .search__submit svg {
    display: none;
  }

  .mob-header .search__submit-text {
    display: block;
  }

  .mob-header .search__close {
    display: none !important;
  }

  .knopa-category-seo {
    padding: 18px;
  }

  .knopa-category-seo h2 {
    font-size: 22px;
  }

  .knopa-category-seo p {
    font-size: 14px;
    line-height: 1.58;
  }

  .knopa-category-seo__list {
    gap: 6px;
    margin: 14px 0;
  }

  .knopa-category-seo__list li {
    padding: 6px 9px;
    font-size: 12px;
  }

  .footer-seo .knopa-seo-copy h2 {
    font-size: 22px;
  }

  .footer-seo .knopa-seo-copy h3 {
    margin-top: 19px;
    font-size: 17px;
  }

  .footer-seo .knopa-seo-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-seo .knopa-seo-copy ul {
    gap: 6px;
    margin: 13px 0;
  }

  .footer-seo .knopa-seo-copy li {
    padding: 6px 9px;
  }

  .footer-seo .knopa-seo-copy__faq summary {
    padding: 11px 34px 11px 12px;
    font-size: 13px;
  }

  .footer-seo .knopa-seo-copy__faq details p {
    padding: 0 12px 12px;
  }
}

@media only screen and (max-width: 992px) {
  .footer {
    background: #202d3a;
  }

  .footer__container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .footer__content {
    padding-top: 22px;
  }

  .footer__top-left {
    width: 100% !important;
    max-width: 360px;
    margin: 0 auto 30px;
    padding: 22px 16px 20px;
    border: 1px solid rgba(142, 165, 188, 0.22);
    border-radius: 24px;
    background:
      radial-gradient(circle at 50% -20%, rgba(79, 103, 126, 0.34), transparent 46%),
      rgba(16, 29, 43, 0.28);
    box-shadow: 0 18px 40px rgba(8, 18, 30, 0.18);
    text-align: center;
  }

  .footer-logo {
    display: block;
    width: 142px;
    margin: 0 auto 15px;
  }

  .footer-logo svg {
    width: 142px !important;
    height: 50px !important;
    max-height: 50px;
  }

  .footer-slogan {
    max-width: 260px;
    margin: 0 auto 17px;
    color: #ffffff;
    font-size: 21px !important;
    font-weight: 800;
    line-height: 1.18 !important;
    letter-spacing: 0;
  }

  .footer-time {
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 12px 13px;
    border: 1px solid rgba(142, 165, 188, 0.16);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.035);
    text-align: left;
  }

  .footer-time svg {
    position: static !important;
    grid-column: 1;
    width: 31px;
    height: 31px;
    margin: 0;
    justify-self: center;
    color: #8fa5bc;
    fill: currentColor;
    opacity: 0.88;
  }

  .footer-time span {
    grid-column: 2;
    justify-self: stretch;
    display: block;
    min-width: 0;
    width: auto !important;
    max-width: 100% !important;
    color: #aebdcb;
    font-size: 14px !important;
    line-height: 1.42 !important;
    letter-spacing: 0.01em;
  }

  .footer-phone {
    display: flex !important;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
    width: 100% !important;
    margin: 18px auto 8px;
    color: #ffffff;
    font-size: 33px !important;
    line-height: 1.1 !important;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }

  .footer-phone small,
  .footer-phone span {
    font-size: 16px !important;
    line-height: 1;
  }

  .footer-feedback {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 18px;
    border: 1px solid rgba(49, 156, 255, 0.35);
    border-radius: 999px;
    background: rgba(49, 156, 255, 0.08);
    color: #58b5ff !important;
    font-size: 15px !important;
    font-weight: 800;
    line-height: 1.1 !important;
    letter-spacing: 0.01em;
  }

  .footer__top-right {
    width: 100% !important;
    margin: 0;
  }

  .footer-menu {
    margin-bottom: 28px;
  }

  .footer-menu__title {
    margin-bottom: 14px;
    color: #8da2b7;
    font-size: 22px !important;
    font-weight: 800;
    line-height: 1.15 !important;
    letter-spacing: 0;
  }

  .footer-menu:first-child .footer-menu__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    width: 100%;
    column-count: initial !important;
  }

  .footer-menu:first-child .footer-menu__list li {
    margin: 0 !important;
    padding: 0 !important;
    break-inside: avoid;
  }

  .footer-menu:last-child .footer-menu__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }

  .footer-menu__col {
    width: auto !important;
  }

  .footer-menu__col > div {
    margin-bottom: 10px;
  }

  .footer-menu__list a {
    display: inline;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px !important;
    font-weight: 500;
    line-height: 1.28 !important;
    letter-spacing: 0;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .footer__bottom {
    padding-top: 6px;
  }
}

@media only screen and (max-width: 374px) {
  .footer__top-left {
    padding-left: 13px;
    padding-right: 13px;
  }

  .footer-time {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 11px;
  }

  .footer-time svg {
    width: 27px;
    height: 27px;
  }

  .footer-phone {
    font-size: 29px !important;
  }

  .footer-menu:first-child .footer-menu__list,
  .footer-menu:last-child .footer-menu__list {
    gap: 9px 12px;
  }

  .footer-menu__list a {
    font-size: 14px !important;
  }
}

/* Modern logged-in account dashboard */
.account-account .main-wrapper__content {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f7f9fc 100%);
}

.knopa-account-dashboard {
  padding: 24px 0 58px;
  color: #151b24;
}

.knopa-account-dashboard__container {
  max-width: 1400px !important;
}

.knopa-account-alert {
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(12, 162, 92, 0.2);
  border-radius: 16px;
  background: rgba(12, 162, 92, 0.08);
  color: #0b7d49;
  font-size: 15px;
  font-weight: 600;
}

.knopa-account-hero,
.knopa-account-card,
.knopa-account-trust {
  border: 1px solid #dde5ef;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(21, 35, 52, 0.08);
}

.knopa-account-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 36px;
  align-items: center;
  min-height: 360px;
  padding: 54px 56px;
  border-radius: 22px;
  overflow: hidden;
}

.knopa-account-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.knopa-account-hero h1 {
  margin: 0 0 20px;
  color: #101720;
  font-size: 40px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.knopa-account-hero p {
  max-width: 610px;
  margin: 0 0 28px;
  color: #4e5865;
  font-size: 21px;
  line-height: 1.65;
}

.knopa-account-greeting {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: #152133;
  font-size: 20px;
  line-height: 1.25;
}

.knopa-account-greeting svg,
.knopa-account-logout svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
  flex: 0 0 auto;
}

.knopa-account-greeting strong {
  font-weight: 800;
}

.knopa-account-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 38px;
}

.knopa-account-btn,
.knopa-account-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 11px;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.knopa-account-btn--primary {
  min-width: 320px;
  padding: 0 34px;
  background: linear-gradient(135deg, #fb174d 0%, #ee003d 100%);
  box-shadow: 0 14px 28px rgba(238, 0, 61, 0.18);
  color: #ffffff !important;
}

.knopa-account-btn:hover,
.knopa-account-card__button:hover {
  transform: translateY(-1px);
}

.knopa-account-logout {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #53647b !important;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none !important;
}

.knopa-account-logout:hover {
  color: #ec1049 !important;
}

.knopa-account-hero__art {
  position: relative;
  width: 420px;
  height: 286px;
  justify-self: center;
}

.knopa-account-art__halo {
  position: absolute;
  right: 38px;
  top: 0;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 34, 86, 0.15), rgba(255, 210, 218, 0.58));
}

.knopa-account-art__avatar {
  position: absolute;
  left: 10px;
  top: 50px;
  width: 166px;
  height: 166px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  box-shadow: 0 18px 45px rgba(47, 63, 80, 0.17);
}

.knopa-account-art__avatar span {
  position: absolute;
  left: 57px;
  top: 35px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, #a4adb7, #536170);
}

.knopa-account-art__avatar b {
  position: absolute;
  left: 36px;
  bottom: 35px;
  width: 94px;
  height: 54px;
  border-radius: 54px 54px 28px 28px;
  background: linear-gradient(145deg, #a4adb7, #536170);
}

.knopa-account-art__bag {
  position: absolute;
  right: 22px;
  top: 78px;
  width: 152px;
  height: 170px;
  border: 2px solid #dce3ec;
  border-radius: 4px 4px 14px 14px;
  background: linear-gradient(145deg, #ffffff, #f2f5f9);
  box-shadow: 0 16px 32px rgba(21, 35, 52, 0.12);
  transform: perspective(320px) rotateY(-6deg);
}

.knopa-account-art__bag i {
  position: absolute;
  left: 38px;
  top: -55px;
  width: 76px;
  height: 70px;
  border: 7px solid #d8e0e9;
  border-bottom: 0;
  border-radius: 46px 46px 0 0;
}

.knopa-account-art__bag strong {
  position: absolute;
  left: 22px;
  top: 73px;
  color: #101720;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.knopa-account-art__bag strong span {
  color: #f40d46;
}

.knopa-account-art__plant {
  position: absolute;
  left: 164px;
  bottom: 20px;
  width: 78px;
  height: 78px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(145deg, #ffffff, #e5ebf2);
  box-shadow: 0 12px 24px rgba(21, 35, 52, 0.12);
}

.knopa-account-art__plant em {
  position: absolute;
  bottom: 56px;
  width: 24px;
  height: 78px;
  border-radius: 22px 22px 4px 4px;
  background: linear-gradient(145deg, #42d86b, #05943a);
  transform-origin: bottom center;
}

.knopa-account-art__plant em:nth-child(1) {
  left: 13px;
  transform: rotate(-25deg);
}

.knopa-account-art__plant em:nth-child(2) {
  left: 29px;
}

.knopa-account-art__plant em:nth-child(3) {
  right: 13px;
  transform: rotate(25deg);
}

.knopa-account-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 32px;
}

.knopa-account-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0 26px;
  min-height: 230px;
  padding: 28px 34px 32px;
  border-radius: 18px;
}

.knopa-account-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  grid-row: 1 / 3;
}

.knopa-account-card__icon svg {
  width: 39px;
  height: 39px;
  fill: currentColor;
}

.knopa-account-card__icon--red {
  background: #ffe8ee;
  color: #f20744;
}

.knopa-account-card__icon--blue {
  background: #e9f0ff;
  color: #1769ff;
}

.knopa-account-card__body h2 {
  margin: 8px 0 12px;
  color: #111821;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.knopa-account-card__body p {
  margin: 0;
  color: #4e5865;
  font-size: 17px;
  line-height: 1.45;
}

.knopa-account-card__button {
  grid-column: 1 / -1;
  margin-top: 30px;
  min-height: 54px;
  border: 2px solid #f20744;
  color: #f20744 !important;
  background: #ffffff;
  font-size: 18px;
}

.knopa-account-card__button--blue {
  border-color: #1769ff;
  color: #1769ff !important;
}

.knopa-account-card__button svg {
  display: none;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.knopa-account-card__button:hover {
  box-shadow: 0 12px 24px rgba(242, 7, 68, 0.12);
}

.knopa-account-card__button--blue:hover {
  box-shadow: 0 12px 24px rgba(23, 105, 255, 0.12);
}

.knopa-account-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: 18px;
}

.knopa-account-trust > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: center;
  padding: 0 34px;
  border-right: 1px solid #d9e2ec;
}

.knopa-account-trust > div:last-child {
  border-right: 0;
}

.knopa-account-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  grid-row: 1 / 3;
  background: #edf3fb;
  color: #0d438f;
}

.knopa-account-trust svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.knopa-account-trust b {
  color: #111821;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.knopa-account-trust small {
  color: #4e5865;
  font-size: 16px;
  line-height: 1.35;
}

@media only screen and (max-width: 1180px) {
  .knopa-account-hero {
    grid-template-columns: minmax(0, 1fr) 340px;
    padding: 44px 40px;
  }

  .knopa-account-hero__art {
    width: 340px;
    transform: scale(0.88);
    transform-origin: center;
  }

  .knopa-account-card {
    padding: 26px 24px 30px;
  }
}

@media only screen and (max-width: 992px) {
  .account-account .breadcrumbs {
    display: none;
  }

  .knopa-account-dashboard {
    padding: 16px 0 38px;
  }

  .knopa-account-dashboard__container {
    max-width: 100vw !important;
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
  }

  .knopa-account-hero {
    grid-template-columns: minmax(0, 1fr) 42%;
    gap: 10px;
    min-height: 0;
    padding: 28px 26px 28px;
    border-radius: 18px;
    align-items: center;
  }

  .knopa-account-hero__copy {
    max-width: none;
  }

  .knopa-account-hero h1 {
    max-width: 260px;
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.18;
  }

  .knopa-account-hero p {
    max-width: 250px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
  }

  .knopa-account-greeting {
    margin-bottom: 22px;
    gap: 10px;
    font-size: 17px;
  }

  .knopa-account-greeting svg {
    width: 20px;
    height: 20px;
  }

  .knopa-account-hero__actions {
    display: block;
  }

  .knopa-account-btn--primary {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 0 18px;
    font-size: 18px;
  }

  .knopa-account-logout {
    margin-top: 18px;
    font-size: 18px;
  }

  .knopa-account-hero__art {
    width: 180px;
    height: 210px;
    transform: none;
    justify-self: end;
  }

  .knopa-account-art__halo {
    right: 8px;
    top: 6px;
    width: 132px;
    height: 132px;
  }

  .knopa-account-art__avatar {
    left: 0;
    top: 58px;
    width: 104px;
    height: 104px;
  }

  .knopa-account-art__avatar span {
    left: 36px;
    top: 22px;
    width: 32px;
    height: 32px;
  }

  .knopa-account-art__avatar b {
    left: 22px;
    bottom: 21px;
    width: 60px;
    height: 34px;
  }

  .knopa-account-art__bag {
    right: 0;
    top: 78px;
    width: 86px;
    height: 108px;
    border-radius: 4px 4px 10px 10px;
  }

  .knopa-account-art__bag i {
    left: 22px;
    top: -34px;
    width: 42px;
    height: 42px;
    border-width: 4px;
  }

  .knopa-account-art__bag strong {
    left: 12px;
    top: 48px;
    font-size: 18px;
  }

  .knopa-account-art__plant {
    left: 67px;
    bottom: 16px;
    width: 54px;
    height: 52px;
    border-radius: 0 0 16px 16px;
  }

  .knopa-account-art__plant em {
    bottom: 36px;
    width: 16px;
    height: 46px;
  }

  .knopa-account-art__plant em:nth-child(1) {
    left: 9px;
  }

  .knopa-account-art__plant em:nth-child(2) {
    left: 20px;
  }

  .knopa-account-art__plant em:nth-child(3) {
    right: 9px;
  }

  .knopa-account-cards {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 18px;
  }

  .knopa-account-card {
    grid-template-columns: 70px minmax(0, 1fr) 148px;
    gap: 0 18px;
    align-items: center;
    min-height: 150px;
    padding: 22px 24px;
    border-radius: 18px;
  }

  .knopa-account-card__icon {
    width: 62px;
    height: 62px;
    grid-row: 1 / 3;
  }

  .knopa-account-card__icon svg {
    width: 34px;
    height: 34px;
  }

  .knopa-account-card__body h2 {
    margin: 0 0 8px;
    font-size: 22px;
  }

  .knopa-account-card__body p {
    font-size: 16px;
  }

  .knopa-account-card__button {
    grid-column: 3;
    grid-row: 1 / 3;
    margin-top: 0;
    min-height: 54px;
    padding: 0 14px;
    justify-content: space-between;
    font-size: 16px;
  }

  .knopa-account-card__button svg {
    display: block;
    margin-left: 8px;
  }

  .knopa-account-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    padding: 20px 14px;
    border-radius: 18px;
  }

  .knopa-account-trust > div {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
    text-align: center;
  }

  .knopa-account-trust span {
    width: 58px;
    height: 58px;
  }

  .knopa-account-trust b {
    font-size: 15px;
  }

  .knopa-account-trust small {
    font-size: 14px;
    line-height: 1.4;
  }
}

@media only screen and (max-width: 560px) {
  .knopa-account-dashboard__container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .knopa-account-hero {
    grid-template-columns: minmax(0, 1fr) 39%;
    padding: 22px 18px 22px;
  }

  .knopa-account-hero h1 {
    max-width: 230px;
    font-size: 26px;
  }

  .knopa-account-hero p {
    max-width: 215px;
    font-size: 15px;
  }

  .knopa-account-hero__art {
    width: 148px;
    height: 198px;
  }

  .knopa-account-card {
    grid-template-columns: 58px minmax(0, 1fr) 118px;
    gap: 0 14px;
    padding: 18px 16px;
  }

  .knopa-account-card__icon {
    width: 52px;
    height: 52px;
  }

  .knopa-account-card__icon svg {
    width: 30px;
    height: 30px;
  }

  .knopa-account-card__body h2 {
    font-size: 19px;
  }

  .knopa-account-card__body p {
    font-size: 14px;
  }

  .knopa-account-card__button {
    min-height: 50px;
    padding: 0 11px;
    font-size: 15px;
  }

  .knopa-account-trust {
    padding: 18px 8px;
  }

  .knopa-account-trust > div {
    padding: 0 8px;
  }
}

@media only screen and (max-width: 390px) {
  .knopa-account-hero {
    padding-left: 16px;
    padding-right: 14px;
  }

  .knopa-account-hero h1 {
    max-width: 205px;
    font-size: 24px;
  }

  .knopa-account-hero p {
    max-width: 190px;
    font-size: 14px;
  }

  .knopa-account-btn--primary {
    font-size: 16px;
  }

  .knopa-account-card {
    grid-template-columns: 50px minmax(0, 1fr) 104px;
    gap: 0 12px;
    padding: 16px 14px;
  }

  .knopa-account-card__button {
    grid-column: 3;
    grid-row: 1 / 3;
    margin-top: 0;
    font-size: 14px;
  }

  .knopa-account-trust {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .knopa-account-trust > div {
    border-right: 0;
  }
}

/* Modern account login page */
.account-login .main-wrapper__content {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 0, 72, 0.07), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(34, 147, 219, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f9fb 0%, #ffffff 62%, #f6f9fc 100%);
}

.breadcrumbs--auth {
  background: transparent;
}

.knopa-auth {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  padding: 30px 0 72px;
  background: transparent;
}

.knopa-auth__content {
  width: 100% !important;
  max-width: 1320px;
  margin: 0 auto;
}

.knopa-auth__container {
  width: 100% !important;
  max-width: 1360px !important;
}

.knopa-auth__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 34px;
  align-items: start;
}

.knopa-auth__grid .login-section-login,
.knopa-auth__grid .login-section-register {
  width: auto !important;
  min-width: 0;
  margin-bottom: 0 !important;
}

.knopa-auth__card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(137, 151, 168, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    #ffffff;
  box-shadow: 0 22px 56px rgba(20, 34, 48, 0.09);
}

.knopa-auth__grid .knopa-auth__card--login {
  padding: 44px 52px 54px !important;
}

.knopa-auth__grid .knopa-auth__card--register {
  padding: 34px 46px 50px !important;
}

.knopa-auth__intro {
  max-width: 580px;
  margin: 0 auto 26px;
  text-align: center;
}

.knopa-auth__title {
  margin: 0 0 10px !important;
  color: #111820;
  font-size: 38px !important;
  font-weight: 800;
  line-height: 1.12 !important;
  letter-spacing: 0;
}

.knopa-auth__subtitle {
  max-width: 520px;
  margin: 0 auto 24px;
  color: #6d7480;
  font-size: 18px;
  line-height: 1.42;
  letter-spacing: 0;
}

.knopa-auth__tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 430px;
  margin: 0 auto;
  padding-bottom: 26px;
  border-bottom: 1px solid #e3e9ef;
}

.knopa-auth__tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid #d6dee7;
  border-radius: 999px;
  background: #ffffff;
  color: #687380;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.knopa-auth__tab svg {
  width: 23px;
  height: 23px;
  margin-right: 10px;
  fill: currentColor;
}

.knopa-auth__tab:hover,
.knopa-auth__tab:focus {
  border-color: rgba(255, 0, 72, 0.35);
  color: #ff0048;
}

.knopa-auth__tab--active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff174d 0%, #e80046 100%);
  color: #ffffff;
  box-shadow: 0 13px 24px rgba(255, 0, 72, 0.23);
}

.knopa-auth__form {
  width: 100%;
}

.knopa-auth__row {
  margin-bottom: 18px !important;
}

.knopa-auth__field {
  display: block;
  margin: 0;
}

.knopa-auth__label {
  display: block !important;
  clip: auto;
  position: static !important;
  width: auto;
  height: auto;
  margin: 0 0 8px;
  overflow: visible;
  color: #161923;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}

.knopa-auth__input {
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid #ccd5de;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.knopa-auth__input:focus-within {
  border-color: #ff1f59;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 0, 72, 0.08);
}

.knopa-auth__input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  min-width: 56px;
  color: #17212b;
}

.knopa-auth__input-icon svg,
.knopa-auth__password-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.knopa-auth .field-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 56px !important;
  padding: 0 16px 0 0 !important;
  border: 0 !important;
  border-radius: 15px;
  background: transparent !important;
  color: #17212b;
  font-size: 17px !important;
  font-weight: 600;
  line-height: 56px !important;
  letter-spacing: 0;
  box-shadow: none !important;
}

.knopa-auth .field-input::placeholder {
  color: #8f98a5;
  opacity: 1;
}

.knopa-auth__password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-width: 54px;
  height: 56px;
  border: 0;
  background: transparent;
  color: #7b8590;
  cursor: pointer;
  transition: color 0.18s ease;
}

.knopa-auth__password-toggle:hover,
.knopa-auth__password-toggle.is-visible {
  color: #ff0048;
}

.knopa-auth__link-row {
  margin: -2px 0 18px !important;
}

.knopa-auth__link-row .link {
  color: #1683ee;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.knopa-auth__remember-row {
  margin: -6px 0 18px !important;
}

.knopa-auth__remember {
  display: inline-flex;
  align-items: center;
  margin: 0;
}

.knopa-auth__remember .checkbox__content {
  display: inline-flex !important;
  align-items: center;
  min-height: 28px;
  padding-left: 36px;
  color: #17212b;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  cursor: pointer;
}

.knopa-auth__remember .checkbox__content::before {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border-color: #cfd7df;
  background: #ffffff;
}

.knopa-auth__remember .checkbox__content .arrow {
  width: 12px;
  height: 8px;
  left: 5px;
  top: 6px;
}

.knopa-auth__footer {
  margin-top: 4px !important;
}

.knopa-auth__submit {
  width: 100%;
  min-height: 60px;
  border: 1px solid transparent !important;
  border-radius: 13px !important;
  background: linear-gradient(135deg, #ff174d 0%, #e80046 100%) !important;
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  letter-spacing: 0;
  box-shadow: 0 15px 26px rgba(255, 0, 72, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.knopa-auth__submit:hover,
.knopa-auth__submit:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 30px rgba(255, 0, 72, 0.26);
}

.knopa-auth__submit--outline {
  background: #ffffff !important;
  color: #ff0048 !important;
  border-color: #ff0048 !important;
  box-shadow: none;
}

.knopa-auth__submit--outline:hover,
.knopa-auth__submit--outline:focus {
  background: rgba(255, 0, 72, 0.04) !important;
  box-shadow: 0 14px 24px rgba(255, 0, 72, 0.11);
}

.knopa-auth__or {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 24px 0 16px;
  color: #8792a0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
}

.knopa-auth__or::before,
.knopa-auth__or::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: #d7dfe7;
}

.knopa-auth__guest {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid #cfd7df;
  border-radius: 13px;
  background: #ffffff;
  color: #17212b;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.knopa-auth__guest svg {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  fill: currentColor;
}

.knopa-auth__guest:hover,
.knopa-auth__guest:focus {
  border-color: rgba(255, 0, 72, 0.36);
  color: #ff0048;
  box-shadow: 0 10px 22px rgba(20, 34, 48, 0.07);
}

.knopa-auth__register-hero {
  position: relative;
  width: 245px;
  height: 178px;
  margin: -4px auto 6px;
}

.knopa-auth__hero-circle {
  position: absolute;
  inset: 2px 36px 0 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.9), transparent 27%),
    linear-gradient(135deg, rgba(255, 0, 72, 0.14), rgba(255, 0, 72, 0.04));
}

.knopa-auth__hero-user {
  position: absolute;
  top: 28px;
  left: 82px;
  width: 82px;
  height: 104px;
  border: 2px solid rgba(255, 0, 72, 0.72);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 0, 72, 0.12);
}

.knopa-auth__hero-user svg {
  width: 54px;
  height: 54px;
  margin: 17px auto 0;
  fill: #ff5c75;
}

.knopa-auth__hero-user::before,
.knopa-auth__hero-user::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 92, 117, 0.38);
}

.knopa-auth__hero-user::before {
  bottom: 21px;
}

.knopa-auth__hero-user::after {
  bottom: 10px;
}

.knopa-auth__hero-bag,
.knopa-auth__hero-gift {
  position: absolute;
  bottom: 22px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff4869, #ff8fa2);
  box-shadow: 0 14px 26px rgba(255, 0, 72, 0.16);
}

.knopa-auth__hero-bag {
  left: 26px;
  width: 54px;
  height: 58px;
}

.knopa-auth__hero-bag::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -16px;
  width: 30px;
  height: 25px;
  border: 3px solid #17212b;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
}

.knopa-auth__hero-gift {
  right: 16px;
  bottom: 34px;
  width: 58px;
  height: 48px;
  background: #ffffff;
  border: 1px solid rgba(137, 151, 168, 0.2);
}

.knopa-auth__hero-gift::before,
.knopa-auth__hero-gift::after {
  content: "";
  position: absolute;
  background: #ff174d;
}

.knopa-auth__hero-gift::before {
  left: 25px;
  top: 0;
  bottom: 0;
  width: 9px;
}

.knopa-auth__hero-gift::after {
  left: 0;
  right: 0;
  top: 18px;
  height: 9px;
}

.knopa-auth__register-head {
  max-width: 500px;
  margin: 0 auto 22px;
  text-align: center;
}

.knopa-auth__register-title {
  margin-bottom: 8px !important;
  color: #111820;
  font-size: 32px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: 0;
}

.knopa-auth__register-head p {
  margin: 0;
  color: #6d7480;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0;
}

.knopa-auth__benefits {
  display: grid;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 22px;
}

.knopa-auth__benefits li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 58px;
}

.knopa-auth__benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 0, 72, 0.08);
  color: #ff0048;
}

.knopa-auth__benefits svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.knopa-auth__benefits b,
.knopa-auth__trust b {
  display: block;
  color: #111820;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

.knopa-auth__benefits small,
.knopa-auth__trust small {
  display: block;
  margin-top: 4px;
  color: #6d7480;
  font-size: 13px;
  line-height: 1.32;
  letter-spacing: 0;
}

.knopa-auth__register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 14px;
  max-width: 500px;
  margin: 0 auto;
}

.knopa-auth__register-form .knopa-auth__row {
  margin-bottom: 0 !important;
}

.knopa-auth__register-form .knopa-auth__row:nth-of-type(n+3),
.knopa-auth__row--wide {
  grid-column: 1 / -1;
}

.knopa-auth__register-form .knopa-auth__input {
  min-height: 52px;
}

.knopa-auth__register-form .field-input {
  height: 50px !important;
  padding-left: 15px !important;
  line-height: 50px !important;
}

.knopa-auth__checkbox {
  display: block;
  margin: 2px 0 0;
}

.knopa-auth__checkbox .checkbox__content {
  display: flex !important;
  align-items: center;
  min-height: 22px;
  padding-left: 34px;
  color: #3d4752;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
}

.knopa-auth__checkbox .checkbox__content::before {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border-color: #cfd7df;
}

.knopa-auth__checkbox .checkbox__content .arrow {
  width: 12px;
  height: 8px;
  left: 5px;
  top: 6px;
}

.knopa-auth__checkbox a {
  margin-left: 4px;
  color: #ff0048;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.knopa-auth__field .field-wrapper__error {
  display: none;
  margin-top: 7px;
  color: #ff0048;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0;
}

.knopa-auth__alert {
  margin: 0 0 20px;
  border-radius: 13px;
  font-size: 15px;
  letter-spacing: 0;
}

.knopa-auth__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid rgba(137, 151, 168, 0.2);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 15px 36px rgba(20, 34, 48, 0.06);
}

.knopa-auth__trust > div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 0 26px;
}

.knopa-auth__trust > div:not(:last-child) {
  border-right: 1px solid #dfe6ee;
}

.knopa-auth__trust span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #f1f5f8;
  color: #17212b;
}

.knopa-auth__trust span {
  grid-row: 1 / 3;
}

.knopa-auth__trust b,
.knopa-auth__trust small {
  grid-column: 2;
}

.knopa-auth__trust svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

@media only screen and (max-width: 992px) {
  .breadcrumbs--auth {
    display: none;
  }

  .knopa-auth {
    padding: 18px 0 42px;
  }

  .knopa-auth__container {
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100vw !important;
    overflow-x: hidden;
  }

  .knopa-auth__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }

  .knopa-auth__card {
    border-radius: 22px;
    box-shadow: 0 15px 36px rgba(20, 34, 48, 0.08);
    max-width: 100%;
    min-width: 0;
  }

  .knopa-auth__grid .knopa-auth__card--login,
  .knopa-auth__grid .knopa-auth__card--register {
    padding: 24px 16px 28px !important;
  }

  .knopa-auth__intro {
    margin-bottom: 18px;
  }

  .knopa-auth__title {
    font-size: 30px !important;
  }

  .knopa-auth__subtitle {
    margin-bottom: 18px;
    font-size: 16px;
    overflow-wrap: anywhere;
  }

  .knopa-auth__tabs {
    gap: 8px;
    padding-bottom: 18px;
    max-width: 100%;
    min-width: 0;
  }

  .knopa-auth__tab {
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    font-size: 16px;
  }

  .knopa-auth__tab svg {
    width: 21px;
    height: 21px;
    margin-right: 7px;
    flex: 0 0 auto;
  }

  .knopa-auth__tab span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .knopa-auth__row {
    margin-bottom: 15px !important;
  }

  .knopa-auth__label {
    font-size: 14px;
  }

  .knopa-auth__input {
    min-height: 54px;
    border-radius: 14px;
    max-width: 100%;
    min-width: 0;
  }

  .knopa-auth__input-icon {
    width: 50px;
    min-width: 50px;
  }

  .knopa-auth .field-input {
    height: 52px !important;
    font-size: 16px !important;
    line-height: 52px !important;
  }

  .knopa-auth__password-toggle {
    width: 48px;
    min-width: 48px;
    height: 52px;
  }

  .knopa-auth__submit {
    min-height: 56px;
    font-size: 18px !important;
  }

  .knopa-auth__register-hero {
    width: 210px;
    height: 135px;
    margin-top: -8px;
    transform: scale(0.86);
    transform-origin: center top;
  }

  .knopa-auth__register-title {
    font-size: 27px !important;
  }

  .knopa-auth__register-head {
    margin-top: -18px;
    margin-bottom: 17px;
    min-width: 0;
  }

  .knopa-auth__register-head p,
  .knopa-auth__benefits small,
  .knopa-auth__guest span {
    overflow-wrap: anywhere;
  }

  .knopa-auth__benefits {
    gap: 8px;
    margin-bottom: 18px;
  }

  .knopa-auth__benefits li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    min-height: 50px;
  }

  .knopa-auth__benefits span {
    width: 40px;
    height: 40px;
  }

  .knopa-auth__register-form {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .knopa-auth__register-form .knopa-auth__row:nth-of-type(n+3),
  .knopa-auth__row--wide {
    grid-column: auto;
  }

  .knopa-auth__trust {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
    padding: 14px;
  }

  .knopa-auth__trust > div {
    padding: 0;
    border-right: 0 !important;
  }
}

@media only screen and (max-width: 374px) {
  .knopa-auth__card--login,
  .knopa-auth__card--register {
    padding-left: 13px;
    padding-right: 13px;
  }

  .knopa-auth__title {
    font-size: 27px !important;
  }

  .knopa-auth__tab {
    font-size: 14px;
  }
}
