.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;
  }
}

.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 {
  background-color: rgb(var(--color-background));
}

/* Rakuten conversion-enhanced footer overrides: visual only, layout untouched */
.footer {
  position: relative;
  color: #fff;
  background-color: #111;
  border-block-start: 3px solid #bf0000;
}

.footer::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(90deg, #bf0000, rgba(191, 0, 0, 0));
}

.footer__menu-title,
.footer__custom-text-title,
.footer__email-subscribe-title,
.footer__social-media-title {
  color: #fff;
  font-weight: 700;
}

.footer__menu-item a,
.footer__copyright-menu a,
.footer a:not(.button) {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.footer__menu-item a:hover,
.footer__copyright-menu a:hover,
.footer a:not(.button):hover {
  color: #bf0000;
}

.footer__menu-item--active a,
.footer__menu-item--active a:hover {
  color: #fff;
  text-decoration-color: #bf0000;
}

.footer__menu::after {
  background-color: rgba(255, 255, 255, 0.12);
}

.footer__email-subscribe .button,
.footer .block-subscription__inline-form .button {
  --color-button-background: 191, 0, 0;
  --color-button-text: 255, 255, 255;
  --color-button-secondary-background: 191, 0, 0;
  --color-button-secondary-text: 255, 255, 255;
  --color-button-secondary-border: 191, 0, 0;
}

.footer .field,
.footer .field__input {
  color: #111;
  background-color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.footer .field__label {
  color: #666;
}

.footer__social-media-content a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 180ms ease, transform 180ms ease;
}

.footer__social-media-content a:hover {
  color: #bf0000;
  transform: translateY(-1px);
}

.footer__social-media-content svg {
  color: currentcolor;
  fill: currentcolor;
}

.footer__payment-icons > svg {
  opacity: 0.86;
}

.footer__payment-icons > svg:hover {
  opacity: 1;
}


/* Tokyo Select footer trust refinements */
.footer .page-width {
  padding-block: 26px 18px;
}

.footer__inner {
  row-gap: 14px !important;
}

.footer__group {
  width: 100%;
}

.footer__menu-title {
  margin-block-end: 4px;
  letter-spacing: 0.02em;
}

.footer__menu-content {
  min-height: 120px;
}

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

.footer__menu-item a {
  line-height: 1.5;
}

.footer__email-subscribe-title {
  margin-block-end: 12px;
  color: rgba(255,255,255,0.92);
}

.footer__email-subscribe .field,
.footer__email-subscribe .field__input,
.footer .block-subscription__inline-form .field,
.footer .block-subscription__inline-form .field__input {
  min-height: 48px;
  border-radius: 0;
}

.footer .block-subscription__inline-form {
  gap: 8px;
  justify-content: flex-start;
}

.footer .block-subscription__inline-form .button {
  min-height: 48px;
  padding-inline: 20px;
  font-weight: 700;
  background: #bf0000;
  border-color: #bf0000;
}

.footer .block-subscription__inline-form .button:hover {
  background: #9f0000;
  border-color: #9f0000;
}

.footer__copyright {
  color: rgba(255,255,255,0.7);
}

.footer__copyright-menu:empty,
.footer__copyright-menu:not(:has(a)) {
  display: none;
}

@media (max-width: 959px) {
  .footer .page-width {
    padding-block: 20px 16px;
  }

  .footer__menu-content {
    min-height: 0;
  }
}
