/* Opti Plaza footer (own code, 2026-09-28). Loaded from sections/footer.liquid, after op-luxury.css. */

.footer {
  margin-top: 3.6rem;
  padding-top: 2.7rem;
  padding-bottom: 2.7rem;
  color: rgba(var(--color-foreground), 0.75);
  background-color: rgb(var(--color-background));
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

@media screen and (min-width: 750px) {
  .footer {
    margin-top: 4.8rem;
    padding-top: 3.6rem;
    padding-bottom: 3.6rem;
  }
}

.footer__content-top {
  display: block;
  padding-top: 4rem;
  padding-bottom: 3rem;
  padding-left: 4rem;
  padding-right: 4rem;
}

@media screen and (min-width: 750px) {
  .footer__content-top {
    padding-top: 6.4rem;
    padding-bottom: 5rem;
    padding-left: 5rem;
    padding-right: 5rem;
  }
}

/* phones: one column, blocks stacked */
.footer__blocks-wrapper {
  margin-bottom: 2rem;
}

@media screen and (max-width: 749px) {
  .footer__blocks-wrapper.grid {
    display: block;
  }

  .footer-block.grid__item {
    width: 100%;
    max-width: 100%;
    margin: 4rem 0;
  }

  .footer-block.grid__item:first-child {
    margin-top: 0;
  }
}

@media screen and (min-width: 750px) {
  .footer__blocks-wrapper {
    margin-bottom: 0;
    row-gap: 6rem;
  }

  .footer__blocks-wrapper .footer-block.grid__item {
    width: calc(25% - var(--grid-gap-x-desktop) * 3 / 4);
    max-width: 100%;
  }
}

.footer-block {
  flex-grow: 1;
}

.footer-block__heading {
  margin-top: 0;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  line-height: 1.14;
}

@media screen and (min-width: 990px) {
  .footer-block__heading {
    font-size: 1.8rem;
  }
}

.footer-block__details-content {
  margin-bottom: 4rem;
}

@media screen and (min-width: 750px) {
  .footer-block__details-content {
    margin-bottom: 0;
  }
}

.footer-block__details-content .list-menu__item--link {
  display: flex;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.3rem;
  line-height: 1.9;
  text-decoration: none;
  color: rgba(var(--color-foreground), 0.75);
}

@media screen and (min-width: 750px) {
  .footer-block__details-content > li:not(:last-child) {
    margin-right: 1.5rem;
  }

  .footer-block__details-content .list-menu__item--link {
    display: inline-block;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 1.4rem;
  }

  .footer-block__details-content > :first-child .list-menu__item--link,
  .footer-block__details-content > li:first-child .list-menu__item--link {
    padding-top: 0;
  }
}

.footer-block__details-content .list-menu__item--link:hover {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* newsletter field */
.newsletter-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

@media screen and (min-width: 750px) {
  .newsletter-form {
    align-items: flex-start;
    margin: 0 auto;
    max-width: 36rem;
  }
}

.newsletter-form__field-wrapper {
  width: 100%;
}

@media screen and (min-width: 750px) {
  .newsletter-form__field-wrapper {
    max-width: 32rem;
  }
}

.newsletter-form__field-wrapper .field {
  z-index: 0;
}

.newsletter-form__field-wrapper .field__input {
  padding-right: 5rem;
}

.newsletter-form__button {
  top: 0;
  right: 0;
  height: 100%;
  width: 4.4rem;
  z-index: 2;
}

.newsletter-form__button .icon {
  width: 1.5rem;
  height: 2.5rem;
}

.newsletter-form__message {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 1rem 0 0;
  font-size: 1.2rem;
}

/* social row */
.footer-block--newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
}

@media screen and (min-width: 750px) {
  .footer-block--newsletter {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
  }
}

.footer__list-social .list-social__link {
  padding: 1.3rem;
}

/* bottom row: pickers, copyright, policies */
.footer__content-bottom {
  display: block;
  padding-top: 0;
  border-top: 0.1rem solid rgba(var(--color-foreground), 0.08);
}

@media screen and (min-width: 750px) {
  .footer__content-bottom {
    padding-top: 3rem;
  }
}

.footer__content-bottom-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 1.5rem;
  width: 100%;
}

@media screen and (min-width: 750px) {
  .footer__content-bottom-wrapper {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

.footer__localization {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 1rem 0;
}

.footer__localization:empty {
  display: none;
}

@media screen and (min-width: 750px) {
  .footer__localization {
    justify-content: flex-start;
    padding: 0.4rem 0;
  }
}

.footer__column--info:empty {
  display: none;
}

.localization-form {
  display: inline-flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 1rem 0;
}

@media screen and (min-width: 750px) {
  .localization-form {
    justify-content: start;
    margin-right: 1rem;
    padding: 1rem 0;
  }
}

.op-localization h2.caption-large {
  margin: 1rem 1rem 0.5rem;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04rem;
  font-family: var(--font-body-family);
  text-transform: none;
  color: rgba(var(--color-foreground), 0.75);
}

@media screen and (min-width: 750px) {
  .op-localization h2.caption-large {
    margin: 1rem 0 0;
  }
}

.disclosure {
  position: relative;
}

.disclosure__button {
  display: flex;
  align-items: center;
  position: relative;
  flex-grow: 1;
  width: 100%;
  min-width: 7.2rem;
  height: 4.2rem;
  min-height: 4.2rem;
  margin: 1rem 1rem 0.5rem;
  padding: 1.5rem 4rem 1.5rem 2.1rem;
  border: 0;
  font-size: 1.3rem;
  line-height: 1.5;
  letter-spacing: 0.04rem;
  text-align: left;
  text-decoration: none;
  color: rgb(var(--color-foreground));
  background-color: rgb(var(--color-background));
  box-shadow: 0 0 0 0.1rem rgba(var(--color-foreground), 0.55);
  cursor: pointer;
}

@media screen and (min-width: 750px) {
  .disclosure__button {
    margin: 1rem 0;
  }
}

.disclosure__button .icon-caret {
  position: absolute;
  right: 1.6rem;
  top: calc(50% - 0.2rem);
  height: 0.6rem;
  width: 1rem;
}

.disclosure__button[aria-expanded='true'] .icon-caret {
  transform: rotate(180deg);
}

.disclosure__list-wrapper {
  position: absolute;
  bottom: 100%;
  left: 0;
  z-index: 2;
  min-width: 100%;
  max-height: 27.5rem;
  overflow-y: auto;
  background-color: rgb(var(--color-background));
  border: 0.1rem solid rgba(var(--color-foreground), 0.2);
  box-shadow: 0 0.4rem 0.8rem rgba(var(--color-foreground), 0.1);
}

.disclosure__list {
  position: relative;
  padding: 0.5rem 0;
  margin: 0;
  list-style: none;
}

.disclosure__item {
  position: relative;
}

.disclosure__link {
  display: block;
  padding: 0.5rem 2.2rem 0.5rem 1.5rem;
  font-size: 1.3rem;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  color: rgba(var(--color-foreground), 0.75);
}

.disclosure__link:hover,
.disclosure__link--active {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.localization-form__currency {
  opacity: 0.7;
}

.footer__copyright {
  margin-top: 1.5rem;
  font-size: 1rem;
  text-align: center;
}

@media screen and (min-width: 750px) {
  .footer__copyright {
    font-size: 1.2rem;
    text-align: right;
  }
}

.copyright__content {
  font-size: 1.1rem;
}

.copyright__content a {
  color: currentColor;
  text-decoration: none;
}

.copyright__content a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.policies {
  display: inline;
}

.policies li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.policies li::before {
  content: '\00B7';
  padding: 0 0.8rem;
}

.policies li a {
  padding: 0.6rem 0;
  display: block;
}

@media screen and (min-width: 750px) {
  .policies li a {
    padding: 0;
  }
}

/* payment marks */
.list-payment {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: -0.5rem 0;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.list-payment__item {
  display: flex;
  align-items: center;
  padding: 0.5rem;
}
