.footer__menu {
  position: relative;
}

.footer__menu-title {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.footer__menu-title .icon__arrow,
.footer__menu-title .icon__minus {
  display: none;
}

@media (max-width: 959px) {
  .footer__menu-title {
    padding-block-start: 15px;
  }

  .footer__menu-title .icon__arrow {
    display: inline;
  }

  .footer__menu-title .icon__minus {
    display: none;
  }
}

/* KEMOVE footer visual system */
.footer {
  color: rgb(var(--kemove-text));
  background: rgb(var(--kemove-surface-subtle));
  border-block-start: 1px solid rgb(var(--kemove-border));
}

.footer .page-width {
  width: 100%;
}

.footer__inner {
  gap: 0 !important;
}

.footer__inner > .footer__group:first-child {
  padding-block: clamp(42px, 4.5vw, 68px);
}

.footer__menu-title,
.footer__custom-text-title,
.footer__email-subscribe-title,
.footer__social-media-title {
  margin: 0;
  color: rgb(var(--kemove-text));
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.footer__menu-content,
.footer__menu-item a,
.footer__custom-text-content,
.footer__icon-text-item,
.footer__localization-form {
  color: rgb(var(--kemove-muted));
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.footer__menu-item a {
  width: fit-content;
  text-decoration: none;
  text-underline-offset: 4px;
  transition:
    color 160ms ease,
    text-decoration-color 160ms ease;
}

.footer__menu-item a:hover,
.footer__copyright-menu a:hover {
  color: rgb(var(--kemove-text));
  text-decoration: underline;
  text-decoration-color: rgb(var(--kemove-text) / 34%);
  text-decoration-thickness: 1px;
}

.footer__email-subscribe .field,
.footer__email-subscribe .field__input {
  color: rgb(var(--kemove-text));
  background: rgb(var(--kemove-surface));
  border-color: rgb(var(--kemove-border));
  border-radius: var(--kemove-radius);
}

.footer__email-subscribe .field:focus-within {
  border-color: rgb(var(--kemove-text) / 44%);
  box-shadow: 0 0 0 3px rgb(var(--kemove-text) / 5%);
}

.footer__inner > .footer__group:nth-child(2) {
  min-height: 66px;
  padding-block: 16px;
  border-block: 1px solid rgb(var(--kemove-border));
}

.footer__inner > .footer__group:last-child {
  padding-block: 18px 4px;
}

.footer__social-media-content a {
  color: rgb(var(--kemove-muted));
}

.footer__social-media-content svg,
.footer__social-media-content img {
  opacity: 0.76;
}

@media (min-width: 960px) {
  .footer__social-media--small .footer__social-media-content {
    gap: 8px;
  }

  .footer__social-media--small .footer__social-media-content :is(svg, img) {
    width: 20px;
    height: 20px;
  }

  .footer__social-media--middle .footer__social-media-content {
    gap: 12px;
  }

  .footer__social-media--middle .footer__social-media-content :is(svg, img) {
    width: 24px;
    height: 24px;
  }

  .footer__social-media--large .footer__social-media-content {
    gap: 14px;
  }

  .footer__social-media--large .footer__social-media-content :is(svg, img) {
    width: 28px;
    height: 28px;
  }
}

.footer__copyright,
.footer__copyright-text,
.footer__copyright-menu,
.footer__copyright-menu a {
  color: rgb(var(--kemove-muted));
}

@media (hover: hover) and (pointer: fine) {
  .footer__menu-item a:hover {
    transform: translateX(2px);
  }

  .footer__social-media-content a:hover svg,
  .footer__social-media-content a:hover img {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@media (max-width: 959px) {
  .footer__inner > .footer__group:first-child {
    padding-block: 20px 28px;
  }

  .footer__menu::after,
  .footer__inner > .footer__group:nth-child(2) {
    border-color: rgb(var(--kemove-border));
  }

  .footer__menu::after {
    background: rgb(var(--kemove-border));
  }
}

/* KEMOVE 0.3.43: localization controls belong to the dark footer surface. */
.footer .footer__localization-form theme-select {
  --footer-locale-bg: #0f1724;
  --footer-locale-bg-hover: #152235;
  --footer-locale-border: rgb(255 255 255 / 18%);
  --footer-locale-text: #eef6ff;
  --footer-locale-accent: #35bfff;

  min-width: 96px;
  color: var(--footer-locale-text) !important;
  font-weight: 600;
  line-height: 1.35;
}

.footer .footer__localization-form theme-select::before {
  box-shadow: none !important;
}

.footer .footer__localization-form theme-select::after {
  inset: 0 !important;
  border: 1px solid var(--footer-locale-border);
  border-radius: 10px !important;
  box-shadow: none !important;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.footer .footer__localization-form theme-select > select,
.footer .footer__localization-form theme-select > .theme-select__placeholder {
  color: var(--footer-locale-text) !important;
  background: var(--footer-locale-bg) !important;
  border-radius: 10px !important;
  transition: background-color 160ms ease;
}

.footer .footer__localization-form theme-select:hover > select,
.footer .footer__localization-form theme-select:hover > .theme-select__placeholder,
.footer .footer__localization-form theme-select[open] > select,
.footer .footer__localization-form theme-select[open] > .theme-select__placeholder {
  background: var(--footer-locale-bg-hover) !important;
}

.footer .footer__localization-form theme-select:hover::after,
.footer .footer__localization-form theme-select:focus-within::after,
.footer .footer__localization-form theme-select[open]::after {
  border-color: rgb(53 191 255 / 72%) !important;
  box-shadow: 0 0 0 3px rgb(53 191 255 / 10%) !important;
}

.footer .footer__localization-form .theme-select__arrow {
  color: var(--footer-locale-accent) !important;
}

.footer .footer__localization-form .theme-select__content {
  color: var(--footer-locale-text) !important;
  background: #0b1320 !important;
  border-radius: 10px !important;
  box-shadow: 0 -14px 36px rgb(0 0 0 / 32%);
}

.footer .footer__localization-form .theme-select__content::after {
  border-color: rgb(255 255 255 / 16%) !important;
  border-radius: 10px !important;
}

.footer .footer__localization-form .theme-select__option {
  color: rgb(255 255 255 / 78%) !important;
  background: transparent !important;
}

.footer .footer__localization-form .theme-select__option:hover {
  color: #fff !important;
  background: rgb(53 191 255 / 11%) !important;
}

.footer .footer__localization-form .theme-select__option[selected] {
  color: #fff !important;
  background: rgb(53 191 255 / 16%) !important;
}

.footer .footer__localization-form .theme-select__check-icon {
  color: var(--footer-locale-accent) !important;
}

.footer .footer__localization-form select option {
  color: var(--footer-locale-text);
  background: #0b1320;
}

@media (max-width: 959px) {
  .footer .footer__localization-form theme-select {
    max-width: 100%;
  }

  .footer .footer__localization-form .theme-select__main {
    background-color: rgb(2 6 12 / 68%) !important;
    backdrop-filter: blur(6px);
  }

  .footer .footer__localization-form .theme-select__content {
    border-radius: 14px 14px 0 0 !important;
    box-shadow: 0 -18px 48px rgb(0 0 0 / 44%);
  }

  .footer .footer__localization-form .theme-select__head {
    border-block-end-color: rgb(255 255 255 / 12%) !important;
  }
}

.footer__menu-item {
  padding-block-start: 15px;
}

.footer__menu-item a {
  display: block;
}

.footer__menu-item--active a {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer__menu-item--active a:hover {
  text-decoration: underline;
}

@media (max-width: 959px) {
  .footer__menu-content {
    height: 0;
    padding-block-end: 15px;
    overflow: hidden;
    opacity: 0;
  }
}

.footer__menu::after {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  display: none;
  width: 100%;
  height: 1px;
  content: "";
  background-color: rgba(var(--color-text), 0.1);
}

@media (max-width: 959px) {
  .footer__menu::after {
    display: block;
  }
}

@media (max-width: 959px) {
  .footer__menu[open] .footer__menu-title .icon__arrow {
    display: none;
  }

  .footer__menu[open] .footer__menu-title .icon__minus {
    display: inline;
  }
}

.footer__menu[open] .footer__menu-content {
  height: auto;
  opacity: 1;
}
.footer__custom-text-title {
  padding-block-end: 15px;
}
@media (max-width: 959px) {
  .footer__custom-text-title {
    padding-block-start: 15px;
  }
}
.footer__email-subscribe-title {
  margin-block-end: 15px;
  font-weight: bold;
}
@media (min-width: 960px) {
  .footer__email-subscribe--small .field__input {
    padding-block-start: 16px;
  }
  .footer__email-subscribe--middle .field__input {
    padding-block: 20px 2px;
  }
  .footer__email-subscribe--large .field__input {
    padding-block: 30px 19px;
  }

  .footer__email-subscribe--large .field__input:focus ~ .field__label,
  .footer__email-subscribe--large
    .field__input:not(:placeholder-shown)
    ~ .field__label,
  .footer__email-subscribe--large
    .field__input:-webkit-autofill
    ~ .field__label {
    transform: scale(0.7) translate(0, -150%);
  }
}
.footer__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  vertical-align: bottom;
}
.footer__localization-form .localization__selector:nth-last-of-type(2) {
  margin-block-end: 10px;
  margin-inline-end: 15px;
}
.footer__localization-form form {
  display: contents;
}
@media (max-width: 959px) {
  .footer__localization-form .localization__selector {
    width: 100%;
  }

  .footer__localization-form .localization__selector:nth-last-of-type(2) {
    margin-block-end: 6px;
    margin-inline-end: 0;
  }
}
.footer__payment-icons > svg {
  width: auto;
  height: 22px;
}
.footer__social-media-title {
  padding-block-end: 20px;
  font-weight: bold;
}
.footer__social-media-content {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__social-media-content svg,
.footer__social-media-content img {
  width: 24px;
  height: 24px;
}
.footer__social-media-content img {
  border-radius: 100%;
}
@media (min-width: 960px) {
  .footer__social-media--small .footer__social-media-content {
    gap: 8px;
  }

  .footer__social-media--small .footer__social-media-content svg,
  .footer__social-media--small .footer__social-media-content img {
    width: 28px;
    height: 28px;
  }
  .footer__social-media--middle .footer__social-media-content {
    gap: 16px;
  }

  .footer__social-media--middle .footer__social-media-content svg,
  .footer__social-media--middle .footer__social-media-content img {
    width: 32px;
    height: 32px;
  }
  .footer__social-media--large .footer__social-media-content {
    gap: 16px;
  }

  .footer__social-media--large .footer__social-media-content svg,
  .footer__social-media--large .footer__social-media-content img {
    width: 64px;
    height: 64px;
  }
}
.footer__copyright-menu a {
  word-break: break-all;
}
.footer__copyright-menu span {
  padding: 0 10px;
}
.footer__copyright-menu span:last-child {
  display: none;
}
.footer {
  font-family: var(--kemove-font-stack, var(--sort-body-font));
  background-color: rgb(var(--color-background));
}

/* KEMOVE 2026 dark footer */
.footer {
  color: rgb(255 255 255 / 78%);
  background:
    radial-gradient(circle at 10% 0%, rgb(0 145 255 / 14%), transparent 28%),
    linear-gradient(180deg, #050b14 0%, #080a0f 100%) !important;
  border-block-start: 1px solid rgb(255 255 255 / 9%);
}

.footer .page-width {
  max-width: var(--kemove-home-width, 1320px);
}

.footer__menu-title,
.footer__custom-text-title,
.footer__email-subscribe-title,
.footer__social-media-title {
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
}

.footer__menu-content,
.footer__menu-item a,
.footer__custom-text-content,
.footer__icon-text-item,
.footer__localization-form {
  color: rgb(255 255 255 / 66%) !important;
  font-size: 13px;
}

.footer__menu-item a:hover,
.footer__copyright-menu a:hover {
  color: #35d8ff !important;
}

.footer__email-subscribe .field,
.footer__email-subscribe .field__input {
  color: #fff !important;
  background: rgb(255 255 255 / 6%) !important;
  border-color: rgb(255 255 255 / 16%) !important;
  border-radius: 10px !important;
}

.footer__copyright,
.footer__copyright-text,
.footer__copyright-menu,
.footer__copyright-menu a {
  color: rgb(255 255 255 / 50%) !important;
}

.footer__menu-title,
.footer__custom-text-title,
.footer__email-subscribe-title,
.footer__social-media-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}

.footer__menu-content,
.footer__menu-item a,
.footer__custom-text-content,
.footer__icon-text-item,
.footer__localization-form {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.footer__menu-item {
  padding-block-start: 10px;
}

.footer__copyright,
.footer__copyright-text,
.footer__copyright-menu {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
}

/* KEMOVE premium visual pass */
.footer {
  color: rgb(26 26 26);
  background-color: rgb(var(--kemove-surface-subtle));
  border-block-start: 1px solid rgb(26 26 26 / 8%);
}

.footer__menu-title,
.footer__custom-text-title,
.footer__email-subscribe-title,
.footer__social-media-title {
  color: rgb(26 26 26);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.footer__menu-content,
.footer__menu-item a,
.footer__custom-text-content,
.footer__icon-text-item,
.footer__localization-form {
  color: rgb(102 102 102);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.footer__menu-item a {
  transition: color 160ms ease;
}

.footer__menu-item a:hover,
.footer__copyright-menu a:hover {
  color: rgb(26 26 26);
}

.footer__menu-item--active a {
  color: rgb(26 26 26);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.footer__social-media-content svg,
.footer__social-media-content img {
  opacity: 0.82;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.footer__social-media-content a:hover svg,
.footer__social-media-content a:hover img {
  opacity: 1;
  transform: translateY(-1px) scale(1.02);
}

.footer__copyright,
.footer__copyright-text,
.footer__copyright-menu,
.footer__copyright-menu a {
  color: rgb(138 138 138);
}

@media (max-width: 959px) {
  .footer__menu-title {
    padding-block: 16px;
  }
}

/* KEMOVE footer placement pass */
.footer {
  --kemove-footer-column-gap: clamp(24px, 4vw, 64px);
}

.footer__inner > .footer__group:nth-child(2) .footer__social-media-title {
  display: none;
}

@media (min-width: 960px) {
  .footer__inner > .footer__group:first-child {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px var(--kemove-footer-column-gap);
    align-items: flex-start;
  }

  .footer__inner > .footer__group:first-child > * {
    width: 100%;
    min-width: 0;
    justify-self: stretch;
  }

  .footer__inner > .footer__group:first-child .footer__email-subscribe {
    max-width: 100%;
  }

  .footer__inner > .footer__group:first-child .footer__email-subscribe .email-subscription {
    width: 100%;
  }

  .footer__inner > .footer__group:nth-child(2) {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 12px 18px;
    padding-block: 18px;
    border-block-start: 1px solid rgb(26 26 26 / 8%);
  }

  .footer__inner > .footer__group:nth-child(2) .footer__payment-icons {
    margin-inline-start: auto;
  }

  .footer__inner > .footer__group:nth-child(2) .footer__payment-icons > svg {
    height: 20px;
  }
}

@media (max-width: 959px) {
  .footer__inner > .footer__group:first-child {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer__inner > .footer__group:first-child .footer__email-subscribe {
    width: 100%;
    max-width: 420px;
  }

  .footer__inner > .footer__group:nth-child(2) {
    width: 100%;
    padding-block-start: 16px;
    border-block-start: 1px solid rgb(26 26 26 / 8%);
  }
}
