*,
*::before,
*::after {
  box-sizing: border-box;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid #c0d0e0;
  background: #ebf2f8;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
}

.button.button_primary {
  background: #8cc834;
  border-color: #8cc834;
  color: #ffffff;
}
.button.button_primary:hover:not(:disabled) {
  background: #659420;
  border-color: #659420;
}

.button_disabled,
.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.button_ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #ffffff;
}

.button_block {
  display: block;
  width: 100%;
}

.input {
  padding: 0.35rem 0.5rem;
  border: 1px solid #c0d0e0;
  border-radius: 4px;
  font-family: inherit;
}

.input_small {
  max-width: 8rem;
}

.breadcrumbs__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.35rem;
  opacity: 0.5;
}

.breadcrumbs__link {
  text-decoration: none;
  color: #3a7cb0;
}
.breadcrumbs__link:hover {
  text-decoration: underline;
}

.breadcrumbs__current {
  color: #5c6d82;
}

.not-set {
  color: #a32d26;
  font-style: italic;
}

a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #2a3d52;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #2a3d52;
  border-bottom-width: 0;
}

.grid-view th,
.grid-view td:last-child {
  white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
  min-width: 50px;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #5c6d82;
}

.error-summary {
  color: #a32d26;
  background: #fce8e6;
  border-left: 3px solid rgba(163, 45, 38, 0.32);
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

html {
  background: #ffffff;
}

.layout__main {
  padding: 1rem 0 3rem;
}

.layout__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.layout_site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: #2a3d52;
  background: #ffffff;
}

.header {
  margin-bottom: 1rem;
  position: relative;
  z-index: 300;
}

.header__mobile-only {
  display: none;
}

.header__desktop-only {
  display: block;
}

.header__backdrop {
  display: none;
}

.header__top {
  background: #ffffff;
  border-bottom: 1px solid #c0d0e0;
}

.header__top-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.header__top .header__logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.header__top .header__logo:hover .header__logo-img {
  opacity: 0.92;
}
.header__top .header__logo:focus-visible {
  outline: 2px solid #3a7cb0;
  outline-offset: 3px;
  border-radius: 4px;
}

.header__logo-img {
  display: block;
  height: 2.75rem;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
}

.header__top .header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  flex: 1;
  justify-content: flex-end;
}

.header__top .header__link {
  color: #5c6d82;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0;
}
.header__top .header__link:hover {
  color: #2a3d52;
}

.header__top .header__link_active {
  color: #3a7cb0;
  box-shadow: 0 2px 0 0 #3a7cb0;
}

.header__top .header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header__top .button_ghost {
  border-color: #c0d0e0;
  color: #2a3d52;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
}
.header__top .button_ghost:hover:not(:disabled) {
  color: #3a7cb0;
  border-color: #3a7cb0;
}

.header__top .header__user {
  font-size: 0.85rem;
  color: #5c6d82;
  text-decoration: none;
}
.header__top .header__user:hover {
  color: #1b3f5c;
  text-decoration: underline;
}

.header__cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2a3d52;
  text-decoration: none;
  padding: 0.25rem;
  line-height: 1;
}
.header__cart:hover {
  color: #1b3f5c;
}

.header__cart-icon {
  display: flex;
  width: 1.35rem;
  height: 1.35rem;
}
.header__cart-icon svg {
  width: 100%;
  height: 100%;
}

.header__cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.55rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: #8cc834;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.15rem;
  text-align: center;
  opacity: 0.45;
}

.header__cart-count_active {
  opacity: 1;
}

.header__drawer-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  color: #1b3f5c;
  font-weight: 600;
  text-decoration: none;
}
.header__drawer-cart .header__cart-count {
  position: static;
  opacity: 1;
}

.cart-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  max-width: 20rem;
  padding: 0.75rem 1rem;
  background: #1b3f5c;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(27, 63, 92, 0.28);
}

.cart-toast_error {
  background: #8a3a3a;
}

.header__bar {
  background: #1a6a8f;
  border-bottom: 1px solid rgba(191, 231, 255, 0.38);
}

.header__bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
}

.header__catalog {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.header__catalog:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.header__catalog_active {
  background: rgba(191, 231, 255, 0.22);
  border-color: rgba(191, 231, 255, 0.45);
}

.header__catalog-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-image: radial-gradient(circle, currentColor 1.5px, transparent 1.6px);
  background-size: 6px 6px;
  background-position: 0 0;
  opacity: 0.95;
}

.header__search {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  position: relative;
}

.header__search-input {
  width: 100%;
  margin: 0;
  padding: 0.5rem 2.75rem 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background: #ffffff;
  color: #2a3d52;
}
.header__search-input::placeholder {
  color: #5c6d82;
}
.header__search-input:focus {
  outline: 2px solid #bfe7ff;
  outline-offset: 0;
}

.header__search-submit {
  position: absolute;
  right: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: #5c6d82;
  cursor: pointer;
}
.header__search-submit:hover {
  color: #3a7cb0;
  background: rgba(58, 124, 176, 0.08);
}

.header__search-icon {
  display: block;
}

.header__logout-form {
  margin: 0;
}

.header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #2a3d52;
  flex-shrink: 0;
  border-radius: 4px;
}
.header__burger:focus-visible {
  outline: 2px solid #3a7cb0;
  outline-offset: 2px;
}

.header__burger-line {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  align-self: flex-start;
}
.header__burger-line_1 {
  width: 1.35rem;
}
.header__burger-line_2 {
  width: 1.1rem;
}
.header__burger-line_3 {
  width: 0.85rem;
}

.header__search_compact {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #c0d0e0;
  border-radius: 6px;
  overflow: hidden;
}

.header__search-input_compact {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 0.5rem 2.5rem 0.5rem 0.85rem;
  font-size: 0.95rem;
  color: #2a3d52;
}
.header__search-input_compact::placeholder {
  color: #5c6d82;
}
.header__search-input_compact:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(191, 231, 255, 0.85);
}

.header__search_drawer {
  flex: 1;
  min-width: 0;
  background: #ffffff;
  border: 1px solid #c0d0e0;
  border-radius: 4px;
  overflow: hidden;
}

.header__search-input_drawer {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 0.45rem 2.5rem 0.45rem 0.75rem;
  font-size: 0.95rem;
  color: #2a3d52;
}
.header__search-input_drawer::placeholder {
  color: #5c6d82;
}
.header__search-input_drawer:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(191, 231, 255, 0.85);
}

.header__drawer-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #c0d0e0;
  flex-shrink: 0;
  background: #ffffff;
}

.header__drawer-close {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
  color: #2a3d52;
  cursor: pointer;
  border-radius: 4px;
}
.header__drawer-close:hover {
  color: #3a7cb0;
}
.header__drawer-close:focus-visible {
  outline: 2px solid #3a7cb0;
  outline-offset: 2px;
}

.header__drawer-nav {
  flex: 1;
}

.header__drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__drawer-item {
  border-bottom: 1px solid #c0d0e0;
}

.header__drawer-item_active {
  box-shadow: inset 3px 0 0 #3a7cb0;
}

.header__drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1rem 1rem 1rem;
  text-decoration: none;
  color: #2a3d52;
  font-weight: 600;
  font-size: 1rem;
}
.header__drawer-link:hover {
  color: #3a7cb0;
}

.header__drawer-item_active .header__drawer-link {
  color: #3a7cb0;
}

.header__drawer-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #5c6d82;
}

.header__drawer-footer {
  margin-top: auto;
  padding: 1rem 1rem 1.25rem;
  border-top: 1px solid #c0d0e0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #ffffff;
}

.header__drawer-logo {
  line-height: 0;
}

.header__drawer-logo-img {
  display: block;
  height: 2rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.header__drawer-account {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3a7cb0;
  text-decoration: none;
}
.header__drawer-account:hover {
  text-decoration: underline;
}

.header__drawer-account-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.header__drawer-user {
  color: #5c6d82;
  text-decoration: none;
}
.header__drawer-user:hover {
  color: #1b3f5c;
  text-decoration: underline;
}

.header__drawer-logout {
  margin: 0;
}

.header__drawer-logout-btn {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #c0d0e0;
  border-radius: 4px;
  background: #ffffff;
  color: #2a3d52;
  cursor: pointer;
}
.header__drawer-logout-btn:hover {
  border-color: #3a7cb0;
  color: #3a7cb0;
}

@media (max-width: 767px) {
  .header {
    background: #1a6a8f;
  }
  .header__mobile-only {
    display: block;
    background: #1a6a8f;
    border-bottom: 1px solid rgba(191, 231, 255, 0.38);
  }
  .header__burger {
    color: #ffffff;
  }
  .header__burger:focus-visible {
    outline-color: #bfe7ff;
  }
  .header__search_compact {
    border-color: rgba(255, 255, 255, 0.42);
  }
  .header__desktop-only {
    display: none;
  }
  .header__mobile-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  .header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 400;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(27, 63, 92, 0.35);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s;
    pointer-events: none;
    cursor: pointer;
  }
  .header--drawer-open .header__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .header__drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(100%, 22rem);
    max-width: 100vw;
    z-index: 410;
    background: #ffffff;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }
  .header--drawer-open .header__drawer {
    transform: translateX(0);
  }
}
@media (min-width: 768px) {
  .header__backdrop,
  .header__drawer {
    display: none !important;
  }
}
@media (max-width: 767px) {
  body.header-drawer-open {
    overflow: hidden;
  }
}

.footer {
  background: #1a6a8f;
  border-top: 1px solid rgba(191, 231, 255, 0.38);
  font-size: 0.9em;
  margin-top: auto;
  padding: 1rem 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer__copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.site-hero {
  padding: 2rem 0;
}

.site-hero__title {
  margin: 0 0 0.5rem;
}

.site-hero__lead {
  margin: 0 0 1rem;
  color: #5c6d82;
}

.image-carousel {
  position: relative;
  margin: 0 0 var(--space-section, 2.5rem);
  overflow: hidden;
}

.image-carousel__viewport {
  position: relative;
  width: 100%;
}

.image-carousel__track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.image-carousel__slide {
  position: relative;
  margin: 0;
}

.image-carousel__slide[hidden] {
  display: none !important;
}

.image-carousel__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.image-carousel__image {
  display: block;
  width: 100%;
  max-height: min(70vh, 520px);
  object-fit: cover;
  vertical-align: middle;
}

.image-carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1rem 1.25rem 2.5rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.image-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.15s ease;
}

.image-carousel__btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.image-carousel__btn_prev {
  left: 0.75rem;
}

.image-carousel__btn_next {
  right: 0.75rem;
}

.image-carousel__dots {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.45rem;
  transform: translateX(-50%);
}

.image-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.image-carousel__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

@media (max-width: 640px) {
  .image-carousel__image {
    max-height: 42vh;
  }
  .image-carousel__caption {
    font-size: 0.875rem;
    padding: 0.75rem 1rem 2.25rem;
  }
  .image-carousel__btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }
  .image-carousel__btn_prev {
    left: 0.5rem;
  }
  .image-carousel__btn_next {
    right: 0.5rem;
  }
  .image-carousel__dots {
    bottom: 0.65rem;
  }
}
.site-featured {
  padding: 1rem 0 2rem;
}

.site-featured__title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.site-form {
  max-width: 28rem;
  margin-top: 0.5rem;
}

.site-form__field {
  margin-bottom: 1rem;
}

.input.input_invalid {
  border-color: #a32d26;
}

input.input_invalid[type=checkbox] {
  outline: 2px solid #a32d26;
  outline-offset: 1px;
}

.site-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: #2a3d52;
}

.site-form__error {
  color: #a32d26;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.site-form__field_checkbox {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.site-form__field_checkbox .site-form__checkbox-label {
  margin: 0;
  font-weight: normal;
  order: 1;
}

.site-form__field_checkbox input[type=checkbox] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  flex-shrink: 0;
}

.site-form__actions {
  margin-top: 1.25rem;
}

.site-form__links {
  color: #5c6d82;
  font-size: 0.9rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.site-form__link {
  color: #3a7cb0;
  text-decoration: none;
}
.site-form__link:hover {
  color: #1b3f5c;
  text-decoration: underline;
}

.site-form__captcha {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.site-form__captcha-image {
  flex: 0 0 auto;
}

.site-form__captcha-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  border: 1px solid #c0d0e0;
}

.site-form__captcha-field {
  flex: 1 1 12rem;
  min-width: 8rem;
}

textarea.input {
  width: 100%;
  min-height: 6rem;
  resize: vertical;
  box-sizing: border-box;
}

.account-page {
  max-width: 48rem;
}

.account-page__title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  color: #2a3d52;
}

.account-page__lead {
  margin: 0 0 1.25rem;
  color: #5c6d82;
  line-height: 1.5;
}

.account-page__empty {
  margin: 1rem 0 0;
  color: #5c6d82;
}

.account-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
  padding: 0;
}

.account-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid #c0d0e0;
  background: #ffffff;
  color: #2a3d52;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.3;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.account-nav__link:hover {
  border-color: #3a7cb0;
  color: #1b3f5c;
}

.account-nav__link_active {
  border-color: #3a7cb0;
  background: #ebf2f8;
  color: #1b3f5c;
  font-weight: 600;
}

.account-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 767px) {
  .account-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.account-cards__link {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #c0d0e0;
  background: #ebf2f8;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.account-cards__link:hover {
  border-color: #3a7cb0;
  background: #ffffff;
}

.account-cards__title {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: #1b3f5c;
}

.account-cards__text {
  display: block;
  font-size: 0.9rem;
  color: #5c6d82;
  line-height: 1.4;
}

.purchase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.purchase-list__link {
  display: block;
  padding: 0.9rem 1rem;
  border: 1px solid #c0d0e0;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.purchase-list__link:hover {
  border-color: #3a7cb0;
  background: #ebf2f8;
}

.purchase-list__row,
.purchase-list__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.purchase-list__row {
  margin-bottom: 0.4rem;
}

.purchase-list__number {
  font-weight: 700;
  color: #2a3d52;
}

.purchase-list__meta {
  font-size: 0.9rem;
  color: #5c6d82;
}

.purchase-list__total {
  font-weight: 700;
  color: #659420;
}

.purchase-list__status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  background: #e4edf5;
  color: #2a3d52;
}

.purchase-list__status_paid,
.purchase-list__status_shipped {
  background: #dfeaf3;
  color: #1b3f5c;
}

.purchase-list__status_completed {
  background: #daedb0;
  color: #659420;
}

.purchase-list__status_cancelled {
  background: #f5e4e4;
  color: #8a3a3a;
}

.purchase-detail__summary {
  margin: 0 0 1.5rem;
  padding: 1rem;
  background: #ebf2f8;
  border: 1px solid #c0d0e0;
}

.purchase-detail__row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 0.5rem 1rem;
  margin: 0 0 0.55rem;
}
.purchase-detail__row:last-child {
  margin-bottom: 0;
}
.purchase-detail__row dt {
  margin: 0;
  color: #5c6d82;
  font-weight: 600;
}
.purchase-detail__row dd {
  margin: 0;
}

.purchase-detail__total {
  font-weight: 700;
  color: #659420;
}

.purchase-detail__heading {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.purchase-detail__table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.purchase-detail__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.purchase-detail__table th,
.purchase-detail__table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid #c0d0e0;
  text-align: left;
  vertical-align: top;
}
.purchase-detail__table th {
  background: #e4edf5;
  color: #2a3d52;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .purchase-detail__table thead {
    display: none;
  }
  .purchase-detail__table tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid #c0d0e0;
    background: #ffffff;
  }
  .purchase-detail__table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #c0d0e0;
  }
  .purchase-detail__table td:last-child {
    border-bottom: 0;
  }
  .purchase-detail__table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #5c6d82;
  }
}

.purchase-detail__back {
  margin: 0;
}

.account-pager {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
}

.cart-page {
  max-width: 56rem;
}

.cart-page__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.cart-page__empty {
  margin: 0 0 1rem;
  color: #5c6d82;
}

.cart-page__table-wrap {
  overflow-x: auto;
  margin-bottom: 1.25rem;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.cart-table th,
.cart-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid #c0d0e0;
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  background: #e4edf5;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .cart-table thead {
    display: none;
  }
  .cart-table tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid #c0d0e0;
    background: #ffffff;
  }
  .cart-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #c0d0e0;
  }
  .cart-table td:last-child {
    border-bottom: 0;
  }
  .cart-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #5c6d82;
  }
}

.cart-table__product {
  min-width: 12rem;
}

.cart-table__name {
  display: block;
  color: #1b3f5c;
  font-weight: 600;
  text-decoration: none;
}
.cart-table__name:hover {
  text-decoration: underline;
}

.cart-table__article {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: #5c6d82;
}

.cart-table__qty-form {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
}

.cart-table__qty-input {
  width: 4.5rem;
  padding: 0.3rem 0.4rem;
}

.cart-table__line-total {
  font-weight: 700;
  color: #659420;
  white-space: nowrap;
}

.cart-page__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-page__total {
  margin: 0;
  font-size: 1.1rem;
}
.cart-page__total strong {
  color: #659420;
}

.cart-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.cart-page__clear {
  margin: 0;
}

.cart-add-form {
  display: inline-block;
  margin: 0;
}

.product-page__cart-form.cart-add-form {
  display: flex;
}

.account-page_wide {
  max-width: 56rem;
}

.purchase-table-wrap {
  overflow-x: auto;
}

.purchase-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.purchase-table th,
.purchase-table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid #c0d0e0;
  text-align: left;
  vertical-align: middle;
}
.purchase-table th {
  background: #e4edf5;
  font-weight: 600;
  white-space: nowrap;
}
.purchase-table a {
  color: #1b3f5c;
  font-weight: 600;
  text-decoration: none;
}
.purchase-table a:hover {
  text-decoration: underline;
}
@media (max-width: 767px) {
  .purchase-table thead {
    display: none;
  }
  .purchase-table tr {
    display: block;
    margin-bottom: 0.75rem;
    border: 1px solid #c0d0e0;
    background: #ffffff;
  }
  .purchase-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid #c0d0e0;
  }
  .purchase-table td:last-child {
    border-bottom: 0;
  }
  .purchase-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #5c6d82;
  }
}

.purchase-table__total {
  font-weight: 700;
  color: #659420;
  white-space: nowrap;
}

.catalog-page__title {
  margin: 0 0 1rem;
}

.catalog-page__layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
  align-items: start;
  overflow: visible;
}
@media (max-width: 767px) {
  .catalog-page__layout {
    grid-template-columns: 1fr;
  }
}

.catalog-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.catalog-page__filter-form {
  margin: 0;
}

.catalog-page__empty {
  margin: 0;
  color: #5c6d82;
}

.site-login {
  max-width: 28rem;
}
.site-login__title {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}
.site-login__lead {
  margin: 0 0 1.25rem;
  color: #5c6d82;
  line-height: 1.5;
}
.site-login__demo {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  background: #dfeaf3;
  border: 1px solid #c0d0e0;
  border-radius: 6px;
}
.site-login__demo-title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1b3f5c;
}
.site-login__demo-text {
  margin: 0;
  color: #5c6d82;
  font-size: 0.9rem;
  line-height: 1.45;
}
.site-login__panel {
  padding: 1.25rem 1.5rem;
  background: #ebf2f8;
  border: 1px solid #c0d0e0;
  border-radius: 6px;
}
.site-login .site-form {
  max-width: none;
  margin-top: 0;
}

.site-contact,
.site-signup,
.site-request-password-reset,
.site-reset-password,
.site-resend-verification-email {
  max-width: 40rem;
}
.site-contact > h1,
.site-signup > h1,
.site-request-password-reset > h1,
.site-reset-password > h1,
.site-resend-verification-email > h1 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}
.site-contact > p,
.site-signup > p,
.site-request-password-reset > p,
.site-reset-password > p,
.site-resend-verification-email > p {
  margin: 0 0 1rem;
  color: #5c6d82;
}

.site-about {
  max-width: 40rem;
}
.site-about__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}
.site-about__text {
  margin: 0 0 1rem;
  color: #5c6d82;
}
.site-about__subtitle {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.25rem;
}
.site-about__path {
  display: block;
  padding: 0.75rem 1rem;
  background: #e4edf5;
  border-radius: 4px;
  font-size: 0.85rem;
  overflow-x: auto;
  border: 1px solid #c0d0e0;
}

.site-error {
  max-width: 40rem;
}
.site-error__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}
.site-error__message {
  padding: 1rem 1.25rem;
  margin: 0 0 1rem;
  border-radius: 6px;
  color: #a32d26;
  background: #fce8e6;
  border: 1px solid rgba(163, 45, 38, 0.32);
}
.site-error__text {
  margin: 0 0 0.75rem;
  color: #5c6d82;
}

.product-main-image {
  display: block;
}
.product-main-image__img {
  display: block;
  width: 100%;
}
.product-main-image_layout_card {
  width: 100%;
  height: 100%;
}
.product-main-image_layout_card .product-main-image__img {
  height: 100%;
  object-fit: cover;
}
.product-main-image_layout_page .product-main-image__img {
  height: auto;
  border-radius: 6px;
}

.product-card {
  border: 1px solid #c0d0e0;
  border-radius: 6px;
  overflow: hidden;
  background: #ebf2f8;
}

.product-card_hit {
  border-color: #bfe7ff;
}

.product-card_new {
  border-color: #daedb0;
}

.product-card_out-of-stock {
  opacity: 0.65;
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  background: #e4edf5;
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 0;
  padding: 2px 8px;
  font-size: 0.85rem;
}

.product-card__badge_discount {
  background: #8cc834;
  color: #ffffff;
}

.product-card__content {
  padding: 0.75rem 1rem 1rem;
}

.product-card__title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.product-card__link {
  color: inherit;
  text-decoration: none;
}
.product-card__link:hover {
  color: #3a7cb0;
}

.product-card__actions {
  margin-top: 0.75rem;
}
.product-card__actions .button {
  width: 100%;
}

.product-page {
  max-width: 72rem;
  margin: 0 auto;
}

.product-page__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem;
  align-items: start;
}
@media (max-width: 767px) {
  .product-page__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.product-page__media-card {
  position: relative;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #c0d0e0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(27, 63, 92, 0.06);
}

.product-page__badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  z-index: 1;
}

.product-page__badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-page__badge_hit {
  background: #1b3f5c;
  color: #ffffff;
}

.product-page__badge_new {
  background: #659420;
  color: #ffffff;
}

.product-page__badge_discount {
  background: #8cc834;
  color: #ffffff;
}

.product-page__header {
  margin-bottom: 1.25rem;
}

.product-page__article {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: #5c6d82;
}

.product-page__title {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: #1b3f5c;
}

.product-page__buy-box {
  padding: 1.25rem 1.35rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #f4fae6 0%, #ffffff 100%);
  border: 1px solid rgba(140, 200, 52, 0.35);
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(101, 148, 32, 0.08);
}

.product-page__actions {
  margin-top: 1.15rem;
}

.product-page__cart-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.product-page__qty {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-page__qty-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2a3d52;
}

.product-page__qty-control {
  display: inline-flex;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  border: 1px solid #c0d0e0;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.product-page__qty-btn {
  width: 2.5rem;
  border: 0;
  background: #e4edf5;
  color: #1b3f5c;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}
.product-page__qty-btn:hover {
  background: #dfeaf3;
}
.product-page__qty-btn:focus-visible {
  outline: 2px solid #3a7cb0;
  outline-offset: -2px;
}

.product-page__qty-input {
  width: 4.5rem;
  min-width: 0;
  margin: 0;
  padding: 0.55rem 0.35rem;
  border: 0;
  border-left: 1px solid #c0d0e0;
  border-right: 1px solid #c0d0e0;
  border-radius: 0;
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  appearance: textfield;
}
.product-page__qty-input::-webkit-outer-spin-button, .product-page__qty-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.product-page__qty-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(58, 124, 176, 0.35);
}

.product-page__submit.button {
  width: 100%;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
}

.product-page__out-note {
  margin: 0 0 0.75rem;
  color: #a32d26;
  font-size: 0.95rem;
}

.product-page__description-card {
  padding: 1.25rem 1.35rem;
  background: #ebf2f8;
  border: 1px solid #c0d0e0;
  border-radius: 6px;
}

.product-page__description-title {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: #1b3f5c;
}

.product-page__description {
  margin: 0;
  color: #2a3d52;
  line-height: 1.65;
}
.product-page__description p {
  margin: 0 0 0.75rem;
}
.product-page__description p:last-child {
  margin-bottom: 0;
}

.price-widget_layout_page .price-widget__price {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.1;
}
.price-widget_layout_page .price-widget__old {
  font-size: 1rem;
}
.price-widget_layout_page .price-widget__stock_in,
.price-widget_layout_page .price-widget__stock_out {
  margin-top: 0.65rem;
  font-size: 0.95rem;
}

.product-main-image_layout_page .product-main-image__img {
  border-radius: 4px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.product-grid__cell {
  min-width: 0;
}

.category-nav {
  position: relative;
  margin-bottom: 1.5rem;
  z-index: 20;
}

.category-nav__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
}

.category-nav__body {
  display: flex;
  align-items: flex-start;
  position: relative;
  overflow: visible;
}

.category-nav__sidebar {
  flex: 0 0 15.5rem;
  width: 15.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  overflow: visible;
}

.category-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-nav__list_root > .category-nav__item {
  border-bottom: 1px solid #e5e7eb;
}
.category-nav__list_root > .category-nav__item:last-child {
  border-bottom: none;
}

.category-nav__item {
  position: relative;
  margin: 0;
}
.category-nav__item_has-panel:hover, .category-nav__item_has-panel:focus-within {
  z-index: 40;
}

.category-nav__row {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  text-decoration: none;
  color: #1f2937;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.category-nav__row:hover {
  background: #e8f3ea;
  color: #2e5c3e;
  text-decoration: none;
}

.category-nav__item_active > .category-nav__row,
.category-nav__item_expanded > .category-nav__row {
  background: #e8f3ea;
  color: #2e5c3e;
  font-weight: 600;
}

.category-nav__icon {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
}

.category-nav__label {
  flex: 1;
  min-width: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.category-nav__flyout {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  margin-left: -1px;
  min-width: 42rem;
  max-width: min(42rem, 100vw - 15.5rem - 3rem);
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
  z-index: 50;
}

.category-nav__item_has-panel:hover .category-nav__flyout,
.category-nav__item_has-panel:focus-within .category-nav__flyout {
  display: block;
}

.category-nav__columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  align-items: start;
}

.category-nav__column {
  min-width: 0;
}

.category-nav__column-title {
  display: block;
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: #2e5c3e;
  text-decoration: none;
}
.category-nav__column-title:hover {
  color: #2e5c3e;
  text-decoration: none;
}

.category-nav__group {
  margin-bottom: 0.875rem;
}
.category-nav__group:last-child {
  margin-bottom: 0;
}

.category-nav__group-title {
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #374151;
}

.category-nav__group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-nav__group-link {
  display: block;
  padding: 0.2rem 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: #6b7280;
  text-decoration: none;
}
.category-nav__group-link:hover {
  color: #2e5c3e;
  text-decoration: none;
}
.category-nav__group-link_active {
  color: #2e5c3e;
  font-weight: 600;
}

@media (max-width: 767px) {
  .category-nav__body {
    flex-direction: column;
  }
  .category-nav__sidebar {
    width: 100%;
    flex: 1 1 auto;
  }
  .category-nav__flyout {
    position: static;
    left: auto;
    top: auto;
    min-width: 0;
    max-width: none;
    margin-top: 0;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0.75rem 1rem 1rem;
  }
  .category-nav__item_has-panel .category-nav__flyout {
    display: none;
  }
  .category-nav__item_active.category-nav__item_has-panel .category-nav__flyout,
  .category-nav__item_expanded.category-nav__item_has-panel .category-nav__flyout {
    display: block;
  }
  .category-nav__columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.filter-panel {
  border: 1px solid #c0d0e0;
  border-radius: 6px;
  padding: 1rem;
}

.filter-panel__title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group__title {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-group__title_active {
  color: #3a7cb0;
}

.filter-group__body {
  margin-top: 0.35rem;
}

.filter-group__item_checkbox {
  display: block;
  margin-bottom: 0.35rem;
}

.filter-group__range {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.price-widget__row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-widget__price {
  font-weight: 700;
  font-size: 1.1rem;
  color: #8cc834;
}

.price-widget__old {
  text-decoration: line-through;
  color: #5c6d82;
  font-size: 0.9rem;
}

.price-widget__stock {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}

.price-widget__stock_in {
  margin-top: 0.5rem;
  padding: 0.2rem 0 0.2rem 0.5rem;
  border-left: 3px solid #3a7cb0;
  color: #1b3f5c;
  font-weight: 600;
}

.price-widget__stock_out {
  color: #a32d26;
}

.article-page {
  max-width: 48rem;
  padding: 0 0 2rem;
}

.article-page__title {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  color: #1b3f5c;
}

.article-page__intro {
  margin: -0.25rem 0 1.5rem;
  color: #5c6d82;
  line-height: 1.5;
}

.article-page__lead {
  margin: 0.75rem 0 0;
  color: #5c6d82;
  font-size: 1.05rem;
  line-height: 1.5;
}

.article-page__date,
.article-page__card-date {
  display: block;
  margin: 0 0 0.5rem;
  color: #5c6d82;
  font-size: 0.875rem;
}

.article-page__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #c0d0e0;
}

.article-page__back {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #c0d0e0;
}

.article-page__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-page__empty {
  margin: 0;
  color: #5c6d82;
}

.article-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.article-page__item + .article-page__item {
  margin-top: 0;
}

.article-page__card {
  padding: 1.25rem 0;
  border-bottom: 1px solid #c0d0e0;
}

.article-page__card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.article-page__card-link {
  color: inherit;
  text-decoration: none;
}
.article-page__card-link:hover {
  color: #3a7cb0;
}

.article-page__card-announce {
  margin: 0 0 0.75rem;
  color: #5c6d82;
  line-height: 1.5;
}

.article-page__card-more {
  color: #3a7cb0;
  text-decoration: none;
  font-size: 0.95rem;
}
.article-page__card-more:hover {
  color: #1b3f5c;
  text-decoration: underline;
}

.article-page__pagination {
  margin-top: 1.5rem;
}
.article-page__pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.article-page__pagination .page-item .page-link {
  display: block;
  padding: 0.35rem 0.65rem;
  border: 1px solid #c0d0e0;
  background: #ffffff;
  color: #2a3d52;
  text-decoration: none;
  border-radius: 4px;
}
.article-page__pagination .page-item.active .page-link {
  background: #dfeaf3;
  border-color: #3a7cb0;
  color: #1b3f5c;
}
.article-page__pagination .page-item.disabled .page-link {
  color: #5c6d82;
  pointer-events: none;
  opacity: 0.6;
}

.article-text {
  color: #2a3d52;
  line-height: 1.6;
}

.article-text__body > :first-child {
  margin-top: 0;
}
.article-text__body > :last-child {
  margin-bottom: 0;
}
.article-text__body p {
  margin: 0 0 1rem;
}
.article-text__body h2,
.article-text__body h3,
.article-text__body h4 {
  margin: 1.5rem 0 0.75rem;
  color: #1b3f5c;
}
.article-text__body ul,
.article-text__body ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.article-text__body a {
  color: #3a7cb0;
}
.article-text__body a:hover {
  color: #1b3f5c;
}
.article-text__body img {
  max-width: 100%;
  height: auto;
}
.article-text__body blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 3px solid #bfe7ff;
  background: #e4edf5;
  color: #5c6d82;
}

.article-image {
  margin: 0;
}

.article-image__img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c0d0e0;
  background: #e4edf5;
}

.article-image__caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #5c6d82;
  text-align: center;
}

.article-carousel {
  position: relative;
}

.article-carousel__viewport {
  overflow: hidden;
  border: 1px solid #c0d0e0;
  background: #e4edf5;
}

.article-carousel__track {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
}

.article-carousel__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.article-carousel__img {
  display: block;
  width: 100%;
  height: auto;
}

.article-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #c0d0e0;
  background: rgba(255, 255, 255, 0.92);
  color: #1b3f5c;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.article-carousel__btn:hover:not(:disabled) {
  background: #dfeaf3;
  border-color: #3a7cb0;
  color: #1b3f5c;
}
.article-carousel__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.article-carousel__btn_prev {
  left: 0.5rem;
}

.article-carousel__btn_next {
  right: 0.5rem;
}

/*# sourceMappingURL=app.css.map */
