footer.footer {
  padding-top: 26px;
  padding-bottom: 40px;

  .site-title-logo-image {
    width: 200px;
    height: 32px;
  }

  .b-corp-logo-image {
    width: 42px;
    height: 60px;
  }

  .copyright,
  .footer-service-menu {
    color: #7a7a7a;
  }

  .open-klaviyo-form-button {
    padding-bottom: 28px;
  }

  .menu details {
    padding-bottom: 10px;
  }

  .menu-inner {
    padding: 8px 10px 0;
  }

  .footer-wrapper {
    gap: 34px;
  }
}

.footer-bottom {
  flex-direction: row-reverse;
  margin-top: 94px;
}

@media screen and (min-width: 990px) {
  footer.footer {
    padding-top: 80px;

    .b-corp-logo-image {
      width: 46px;
      height: 68px;
    }

    .open-klaviyo-form-button {
      padding-bottom: 0;
    }
  }

  .footer-menu-desktop {
    gap: 34px;
    width: fit-content;
    margin-left: auto;
    margin-top: 40px;
  }

  .footer-menu-desktop__item {
    word-break: break-word;
  }

  .footer-bottom {
    flex-direction: row;
    margin-top: 74px;
  }
}

@media screen and (min-width: 1200px) {
  footer.footer .footer-wrapper {
    gap: 80px;
  }

  .footer-menu-desktop {
    gap: 80px;
    padding-right: 40px;
  }
}

klaviyo-subscription-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin-bottom: 55px;

  .form-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .form-input-wrapper {
    position: relative;
  }

  .form-input {
    border: 0;
    outline: 0;
    border-bottom: 1px solid #070707;
    padding-left: 0;
    font-size: 11px;
    font-weight: 350;
    line-height: 1.2;
    letter-spacing: 0.1px;

    &.error {
      border-color: #ff0000;
    }

    &:focus,
    &:focus-visible {
      outline: 0;
    }
  }

  .form-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    border: 0;
    width: 30px;
    height: 30px;
    top: 0;
    right: -8px;
    z-index: 2;

    &::after {
      content: '';
      display: block;
      position: absolute;
      width: 40px;
      height: 40px;
      top: 50%;
      right: 0;
      transform: translateY(-50%);
    }
  }

  .form-error {
    align-items: center;
    gap: 6px;
    color: #ff0000;

    &:not(.hidden) {
      display: flex;
    }
  }

  .form-last:not(.form-last--title) {
    color: #7a7a7a;
  }

  .form-last--title:not(.hidden) {
    display: block;
    padding-bottom: 2px;
    margin-bottom: 8px;
    border-bottom: 1px solid #070707;
  }

  .form-privacy {
    font-size: 8px;
    font-weight: 350;
    line-height: 1.5;
    letter-spacing: 0.08px;
    color: #7a7a7a;
    text-transform: none;

    a {
      color: inherit;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
  }
}

@media screen and (min-width: 990px) {
  klaviyo-subscription-form,
  .klaviyo-form-WGZbPg,
  .klaviyo-form-SXkanZ,
  .klaviyo-form-TFWnsW,
  .klaviyo-form-TBMS7V {
    width: 100%;
    max-width: 330px;
    margin-bottom: 0;
  }

  .form-input {
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: 0.11px;
  }
}

.klaviyo-form-WGZbPg,
.klaviyo-form-SXkanZ,
.klaviyo-form-TFWnsW,
.klaviyo-form-TBMS7V {
  h2,
  h2 > span {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.12px !important;
    text-transform: uppercase !important;
    font-family: 'BuenosAires', sans-serif !important;
  }

  form > div {
    justify-content: start !important;
  }

  a {
    text-decoration: underline !important;
  }

  p > span {
    font-size: 10px !important;
    font-weight: 350 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.1px !important;
  }

  input {
    border: 0 !important;
    outline: 0 !important;
    font-size: 11px !important;
    font-weight: 350 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.1px !important;
    padding: var(--button-padding) !important;
    padding-left: 0 !important;
    height: auto !important;
  }

  [data-testid='form-row']:has([data-testid='form-component'] + [data-testid='form-component']) {
    border-bottom: 1px solid #070707 !important;
  }

  button:not([role='combobox']) {
    position: relative;
    display: flex !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 6px !important;
    height: 100% !important;

    &::before {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='8' viewBox='0 0 5 8' fill='none' %3E%3Cpath d='M0.282848 0.282841L3.81838 3.81837L0.282848 7.35391' stroke='black' stroke-width='0.8'/%3E%3C/svg%3E");
    }
  }

  button[role='combobox'] {
    width: auto !important;
    height: auto !important;
    padding-left: 0 !important;
  }
}

.needsclick[aria-label='POPUP Form'] {
  backdrop-filter: blur(5px);

  input {
    outline: none !important;
  }
}

@media screen and (max-width: 989px) {
  .klaviyo-form-WGZbPg,
  .klaviyo-form-SXkanZ,
  .klaviyo-form-TFWnsW,
  .klaviyo-form-TBMS7V {
    form {
      max-width: 100% !important;
    }
  }

  .needsclick[aria-label='POPUP Form'] form {
    max-width: 100vw !important;
  }
}
