/* Figma Footer 7802:4406 / 7862:6951. Values are scoped to Footer. */
.furpsy-footer {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-top: 96px;
  color: var(--furpsy-color-grey-60);
  font-family: var(--furpsy-font-body);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}
.furpsy-footer [hidden] { display: none; }
.furpsy-footer__background { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Five native rectangles from the mobile Figma frame, rotated into CSS coordinates. */
.furpsy-footer__background span { position: absolute; background: var(--furpsy-color-primary-50); border-radius: 330px 330px 0 0; }
.furpsy-footer__background span:nth-child(1),
.furpsy-footer__background span:nth-child(2) { top: 50px; bottom: 82px; width: 40.266667%; }
.furpsy-footer__background span:nth-child(1) { right: 105.866667%; }
.furpsy-footer__background span:nth-child(2) { left: 105.866667%; }
.furpsy-footer__background span:nth-child(3),
.furpsy-footer__background span:nth-child(4) { top: 25px; bottom: 0; }
.furpsy-footer__background span:nth-child(3) { width: 39.733333%; left: -12.533333%; }
.furpsy-footer__background span:nth-child(4) { width: 40%; right: -12.266667%; }
.furpsy-footer__background span:nth-child(5) { inset: 0 15.466667%; border-radius: 600px 600px 0 0; }
.furpsy-footer__top { position: relative; width: calc(100% - 48px); max-width: 1144px; margin: 0 auto 32px; }
.furpsy-footer__newsletter { max-width: 700px; margin-inline: auto; }
.furpsy-footer__intro { margin: 0; font-family: var(--furpsy-font-heading); font-size: 24px; font-weight: 400; line-height: 36px; text-align: center; color: var(--furpsy-color-opacity-white-100); }
.furpsy-footer__thanks { display: flex; flex-direction: column; gap: 8px; }
.furpsy-footer__description { margin: 0; font-size: 16px; line-height: 24px; color: var(--furpsy-color-opacity-white-80); text-align: center; }
.furpsy-footer__description strong { font-weight: 700; color: var(--furpsy-color-opacity-white-100); }
.furpsy-footer__form { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
.furpsy-footer__field { position: relative; min-width: 0; flex: 1; }
.furpsy-footer__field input { appearance: none; box-sizing: border-box; display: block; width: 100%; height: 48px; padding: 4px 8px 4px 20px; border: 0; border-radius: 51px; background: var(--furpsy-color-grey-5); color: var(--furpsy-color-grey-100); font-family: inherit; font-size: 14px; font-weight: 400; line-height: 24px; letter-spacing: 0; outline: none; transition: box-shadow 300ms ease; }
.furpsy-footer__field input::placeholder { color: var(--furpsy-color-grey-60); opacity: 1; }
.furpsy-footer__field input:hover:not(:disabled):not(:focus) { box-shadow: inset 0 0 0 1px var(--furpsy-color-grey-20); }
.furpsy-footer__field input:focus { box-shadow: inset 0 0 0 1px var(--furpsy-color-primary-50); }
.furpsy-footer__field input:focus-visible { box-shadow: inset 0 0 0 2px var(--furpsy-color-primary-30); }
.furpsy-footer__field input:disabled { background: var(--furpsy-color-grey-20); color: var(--furpsy-color-grey-50); }
.furpsy-footer__field input:disabled::placeholder { color: var(--furpsy-color-grey-50); }
.furpsy-footer__submit.furpsy-button { width: 100%; }
.furpsy-footer__check { display: none; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--furpsy-color-primary-50) url('../icons/footer/input-success.svg') center / 16px 16px no-repeat; }
.furpsy-footer__form.is-success input { box-shadow: inset 0 0 0 1px var(--furpsy-color-secondary-50); padding-right: 40px; }
.furpsy-footer__form.is-success .furpsy-footer__check { display: block; }
.furpsy-footer__message { margin: 0; }
.furpsy-footer__form.is-error input { position: relative; z-index: 1; box-shadow: inset 0 0 0 1px var(--furpsy-color-accent-1); }
.furpsy-footer__form.is-error .furpsy-footer__message { padding: 32px 8px 2px; margin-top: -32px; background: var(--furpsy-color-accent-1); border-radius: 0 0 16px 16px; color: white; font-size: 14px; line-height: 20px; }
.furpsy-footer__form:not(.is-error) .furpsy-footer__message { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.furpsy-footer__socials { display: none; }
.furpsy-footer__body { position: relative; box-sizing: border-box; width: calc(100% - 32px); max-width: 1240px; margin: auto; padding: 24px 24px 84px; border-radius: 24px 24px 0 0; background: var(--furpsy-color-grey-5); overflow: clip; }
.furpsy-footer__groups {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  row-gap: 32px;
  column-gap: 30px;
}
/* Bounded spare space preserves the Figma column starts without space-between.
   30px gap + at most 118px / 66px spare space = 148px / 96px visually.
   Flex wrapping uses the original content widths, not these maximums. */
.furpsy-footer__contacts { flex: 118 0 170px; max-width: min(288px, 100%); min-width: 0; }
.furpsy-footer__contacts > * { max-width: 170px; }
.furpsy-footer__menu { flex: 66 0 163px; max-width: min(229px, 100%); min-width: 0; }
.furpsy-footer__menu > * { width: 163px; max-width: 100%; }
.furpsy-footer__menu h2 { overflow-wrap: anywhere; }
.furpsy-footer__menu--shop { flex-basis: 308px; max-width: min(374px, 100%); }
.furpsy-footer__menu--shop > * { width: 308px; }
.furpsy-footer__groups > :last-child { flex-grow: 0; }
.furpsy-footer h2 { font-family: inherit; margin: 0 0 16px; color: var(--furpsy-color-grey-100); font-size: 16px; font-weight: 700; line-height: 24px; letter-spacing: 0; }
.furpsy-footer__contacts h2 { font-weight: 600; }
.furpsy-footer__contact { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--furpsy-color-primary-60); text-decoration: none; overflow-wrap: anywhere; }
.furpsy-footer__contact picture { flex: 0 0 20px; height: 20px; }
.furpsy-footer__contact img { display: block; width: 20px; height: 20px; }
.furpsy-footer__contact:focus-visible { outline: 2px solid var(--furpsy-color-primary-30); outline-offset: 2px; border-radius: 30px; }
.furpsy-footer__hours { margin: 0; }
.furpsy-footer__links { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.furpsy-footer__links a { display: inline; color: var(--furpsy-color-grey-60); text-decoration: underline; text-decoration-color: transparent; overflow-wrap: anywhere; transition: color 0.3s ease, text-decoration-color 0.3s ease; }
.furpsy-footer__links a:hover { color: var(--furpsy-color-grey-100); font-weight: 500; text-decoration-color: currentColor; }
.furpsy-footer__links a:focus-visible { outline: 2px solid var(--furpsy-color-primary-30); outline-offset: 2px; border-radius: 30px; }
.furpsy-footer__menu--shop .furpsy-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.furpsy-footer__bottom { display: flex; margin-top: 32px; gap: 16px; align-items: center; }
.furpsy-footer__copyright { margin: 0; font-size: 14px; line-height: 20px; }
.furpsy-footer__language { display: none; }
.furpsy-footer__logo { position: absolute; left: 16px; bottom: -23.628155px; pointer-events: none; }
.furpsy-footer__logo img { display: block; max-width: none; width: 311px; height: 92.1482px; }
@media (min-width: 501px) {
  .furpsy-footer__intro { font-size: 32px; line-height: 48px; font-weight: 300; }
  .furpsy-footer__field input { font-size: 16px; }
  .furpsy-footer__description { font-size: 18px; line-height: 28px; }
  .furpsy-footer__description strong { font-weight: 500; }
  .furpsy-footer__copyright { font-size: 16px; line-height: 24px; }
}
@media (min-width: 1025px) {
  .furpsy-footer { padding-top: 148px; }
  .furpsy-footer__background { background: url('../icons/footer/background-desktop.svg') top center / 128.055556% 1326px no-repeat; }
  .furpsy-footer__background span { display: none; }
  .furpsy-footer__top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: calc(100% - 128px); margin-bottom: 56px; }
  .furpsy-footer__newsletter { flex: 0 1 700px; min-width: 0; margin: 0; }
  .furpsy-footer__intro, .furpsy-footer__description { text-align: left; }
  .furpsy-footer__thanks { gap: 7px; }
  .furpsy-footer__form { flex-direction: row; margin-top: 32px; }
  .furpsy-footer__thanks:not([hidden]) + .furpsy-footer__form { margin-top: 24px; }
  .furpsy-footer__field { flex: 0 1 440px; }
  .furpsy-footer__field input { height: 56px; }
  .furpsy-footer__submit.furpsy-button { --furpsy-button-height: 56px; --furpsy-button-padding-x: 24px; width: max-content; }
  .furpsy-footer__socials { display: flex; flex: 0 0 auto; gap: 16px; margin-right: 47px; }
  .furpsy-footer__social { position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 51px; background: var(--furpsy-color-secondary-50); transition: background-color 0.3s ease; }
  .furpsy-footer__social:hover { background: var(--furpsy-color-opacity-white-100); }
  .furpsy-footer__social:active { background: var(--furpsy-color-secondary-60); }
  .furpsy-footer__social:focus-visible { background: var(--furpsy-color-secondary-50); outline: 2px solid var(--furpsy-color-primary-30); outline-offset: -2px; }
  .furpsy-footer__social-icon { position: absolute; display: block; transition: opacity 0.3s ease; }
  .furpsy-footer__social-icon--hover, .furpsy-footer__social-icon--active { opacity: 0; }
  .furpsy-footer__social:hover .furpsy-footer__social-icon--default,
  .furpsy-footer__social:active .furpsy-footer__social-icon--hover { opacity: 0; }
  .furpsy-footer__social:hover .furpsy-footer__social-icon--hover,
  .furpsy-footer__social:active .furpsy-footer__social-icon--active,
  .furpsy-footer__social--tiktok:hover .furpsy-footer__social-icon--default { opacity: 1; }
  .furpsy-footer__social:focus-visible .furpsy-footer__social-icon--default { opacity: 1; }
  .furpsy-footer__social:focus-visible .furpsy-footer__social-icon--hover,
  .furpsy-footer__social:focus-visible .furpsy-footer__social-icon--active { opacity: 0; }
  .furpsy-footer__social-disc { display: block; }
  .furpsy-footer__body { padding: 56px 48px 24px; }
  .furpsy-footer__bottom { justify-content: flex-end; margin-top: 126px; margin-left: 649px; gap: 24px; }
  .furpsy-footer__copyright { flex: 0 1 308px; min-width: 0; line-height: 24px; }
  .furpsy-footer__logo { left: 48px; bottom: -47px; }
  .furpsy-footer__logo img { width: 625px; height: 185px; }
  .furpsy-footer__language { display: inline-flex; --language-height: 24px; }
  .furpsy-footer__language .furpsy-language__arrow::before { mask-image: url('../icons/footer/language-arrow.svg'); }
  .furpsy-footer__language .furpsy-language__trigger { font-size: 16px; font-weight: 600; line-height: 24px; color: var(--furpsy-color-grey-100); }
  .furpsy-footer__language .furpsy-language__options { top: auto; bottom: calc(100% + 4px); }
}

@media (prefers-reduced-motion: reduce) {
  .furpsy-footer__field input, .furpsy-footer__links a, .furpsy-footer__social, .furpsy-footer__social-icon { transition: none; }
}
