.footer {
  background-color: #070230; }
  .footer__top {
    display: flex;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 24px; }
    @media (max-width: 1099px) {
      .footer__top {
        flex-direction: column;
        padding: 36px 0px; } }
    @media (max-width: 767px) {
      .footer__top {
        flex-direction: column-reverse;
        padding: 24px 0px;
        gap: 24px; } }
  .footer__mid {
    display: flex;
    justify-content: space-between;
    padding: 16px 0px;
    gap: 24px;
    border-top: 1px solid rgba(222, 223, 232, 0.2); }
    @media (max-width: 1099px) {
      .footer__mid {
        flex-direction: column-reverse;
        padding: 16px 0;
        gap: 16px; } }
  .footer__bottom {
    padding: 16px 0;
    border-top: 1px solid rgba(222, 223, 232, 0.2); }
    @media (max-width: 1099px) {
      .footer__bottom {
        flex-direction: column;
        padding: 16px 0; } }
    @media (max-width: 767px) {
      .footer__bottom .footer-grid {
        gap: 8px; } }
  .footer__left {
    flex: 0 0 auto; }
    @media (max-width: 1099px) {
      .footer__left {
        width: auto;
        display: grid;
        justify-content: space-between;
        padding: 0; } }
    @media (max-width: 767px) {
      .footer__left {
        margin-bottom: 0px;
        gap: 24px;
        grid-template-columns: 1fr; } }
  .footer__right {
    display: flex; }
    @media (max-width: 1099px) {
      .footer__right {
        width: auto;
        padding: 0;
        padding-top: 24px;
        border-top: 1px solid rgba(222, 223, 232, 0.2); } }
    @media (max-width: 767px) {
      .footer__right {
        padding-top: 0;
        border-top: none; } }
  .footer__payment {
    width: 42%;
    display: flex;
    align-items: center;
    gap: 24px; }
    @media (max-width: 1249px) {
      .footer__payment {
        width: 100%;
        justify-content: space-between;
        gap: 16px; } }
    @media (max-width: 1099px) {
      .footer__payment {
        gap: 10px; } }
    @media (max-width: 575px) {
      .footer__payment {
        gap: 8px; } }
  .footer__payment-item {
    max-height: 32px;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    justify-content: center; }
  .footer__description {
    max-width: 50%;
    color: #9A9CA1;
    line-height: 1.25; }
    @media (max-width: 1099px) {
      .footer__description {
        max-width: 100%; } }
  .footer__copy {
    color: #9A9CA1; }

.footer-grid {
  width: 75%;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr); }
  @media (max-width: 1559px) {
    .footer-grid {
      gap: 12px; } }
  @media (max-width: 1249px) {
    .footer-grid {
      gap: 16px; } }
  @media (max-width: 1099px) {
    .footer-grid {
      width: 100%; } }
  @media (max-width: 767px) {
    .footer-grid {
      gap: 4px;
      grid-template-columns: 1fr; } }

@media (max-width: 1249px) {
  .footer-nav {
    width: 100%; } }

@media (max-width: 767px) {
  .footer-nav {
    padding: 12px;
    border-radius: 8px;
    background-color: #333333; }
    .footer-nav.active .footer-nav__title .icon {
      transform: rotate(180deg); } }

.footer-nav__title {
  margin-top: -1px;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff; }
  @media (max-width: 767px) {
    .footer-nav__title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 0;
      padding: 0; } }
  @media (min-width: 768px) {
    .footer-nav__title .icon {
      display: none; } }
  @media (max-width: 767px) {
    .footer-nav__title .icon {
      display: flex;
      fill: #fff; } }

.back-to-top {
  position: fixed;
  z-index: 10;
  bottom: 80px;
  right: 4rem;
  width: 56px;
  height: 56px;
  display: flex;
  visibility: hidden;
  opacity: 0;
  align-items: center;
  justify-content: center;
  transition: opacity .3s ease, box-shadow .3s ease, visibility .3s ease;
  transform: rotate(180deg);
  fill: var(--theme-base-color);
  border-radius: 50%;
  background-color: #333333; }
  @media (max-width: 1099px) {
    .back-to-top {
      bottom: 75px;
      right: 20px;
      width: 48px;
      height: 48px; } }
  @media (max-width: 767px) {
    .back-to-top {
      right: 10px; } }
  .back-to-top .icon {
    max-width: 40px;
    max-height: 40px; }
    @media (max-width: 1099px) {
      .back-to-top .icon {
        max-width: 32px;
        max-height: 32px; } }
  .back-to-top.active {
    visibility: visible;
    opacity: 1; }
  @media (hover: hover) {
    .back-to-top {
      cursor: pointer; }
      .back-to-top:hover {
        box-shadow: 6px 8px 10px 0px rgba(48, 64, 113, 0.15); } }
  .back-to-top:active {
    background-color: var(--theme-base-color-dark); }
