@import url("https://fonts.googleapis.com/css2?family=Ms+Madi&display=swap");

.orders-footer {
  box-sizing: border-box;
  margin-top: auto;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: linear-gradient(110deg, #edf7f8 0%, #f5f5f8 54%, #f8f3f6 100%);
  border: 0;
  box-shadow: none;
  padding: 34px 0 0;
}

.orders-footer *,
.orders-footer *::before,
.orders-footer *::after {
  box-sizing: border-box;
}

.orders-footer__inner {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 38px 26px;
}

.orders-footer__brand {
  text-align: center;
}

.orders-footer__logo {
  display: block;
  width: 176px;
  height: 106px;
  margin: 0 auto;
  object-fit: contain;
}

.orders-footer__tagline {
  margin: 12px 0 24px;
  color: #000;
  font-family: "Ms Madi", cursive;
  font-size: clamp(31px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.15;
}

.orders-footer__columns {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.35fr 0.75fr;
  gap: 42px;
  align-items: start;
  width: min(1104px, 100%);
  margin: 0 auto;
}

.orders-footer__column,
.orders-footer__stack {
  display: grid;
  align-content: start;
}

.orders-footer__stack {
  gap: 22px;
}

.orders-footer .h6-presentation {
  margin: 0 0 10px;
  color: black;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.2;
}

.orders-footer .h6-presentation button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  width: 100%;
  cursor: inherit;
}

.orders-footer__column-links {
  display: grid;
  align-content: start;
}

.orders-footer__column a,
.orders-footer__column .cookie-footer-button {
  width: fit-content;
  color: #331c26;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.orders-footer__column a:hover,
.orders-footer__column a:focus-visible,
.orders-footer__column .cookie-footer-button:hover,
.orders-footer__column .cookie-footer-button:focus-visible {
  color: #7a1e3b;
  text-decoration: underline;
}

.orders-footer__social .h6-presentation {
  text-align: center;
}

.orders-footer__social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 16px;
}

.orders-footer__social-links a {
  display: grid;
  width: 90px;
  height: 86px;
  place-items: center;
  overflow: hidden;
  border-radius: 21px;
  background: #dedede;
}

.orders-footer__social-links img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orders-footer__payments {
  width: min(814px, calc(100% - 44px));
  margin: -2px auto 0;
  text-align: center;
}

.orders-footer__payments p {
  margin: 0 0 1px;
  color: #8d0017;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.orders-footer__payments picture,
.orders-footer__payments img {
  display: block;
  width: 100%;
}

.orders-footer__payments img {
  height: 90px;
  object-fit: fill;
}

.orders-footer__bottom {
  border: 0;
  padding: 4px 16px 13px;
  text-align: center;
}

.orders-footer__bottom p {
  margin: 0;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

@media (max-width: 960px) {
  .orders-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .orders-footer__social .h6-presentation,
  .orders-footer__social-links {
    justify-content: flex-start;
    text-align: left;
  }
}

@media (max-width: 600px) {
  .catalog-page .orders-footer,
  .product-detail-page .orders-footer {
    /* Leave the footer fully scrollable above each page's fixed mobile actions. */
    margin-bottom: calc(112px + env(safe-area-inset-bottom));
  }

  .orders-footer {
    padding-top: 26px;
  }

  .orders-footer__inner {
    padding: 0 22px 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 24px;
  }

  .orders-footer__brand,
  .orders-footer__columns,
  .orders-footer__stack {
    display: contents;
  }

  .orders-footer__logo {
    width: 145px;
    height: 86px;
    margin: 0;
    justify-self: start;
  }

  .orders-footer__tagline {
    margin: 10px auto 28px;
    font-size: 30px;
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .orders-footer__social {
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
  }

  .orders-footer__column {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 20px;
  }

  .orders-footer .h6-presentation {
    margin: 0;
    font-size: 24px;
  }

  .orders-footer .h6-presentation button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    cursor: pointer;
  }

  .orders-footer .h6-presentation button::after {
    content: "+";
    font-size: 25px;
    font-weight: 300;
    transition: transform 0.2s ease;
  }

  .orders-footer .h6-presentation button[aria-expanded="true"]::after {
    transform: rotate(45deg);
  }

  .orders-footer__column-links {
    display: none;
    padding-top: 7px;
  }

  .orders-footer__column-links.is-open {
    display: grid;
  }

  .orders-footer__social .h6-presentation {
    font-size: 22px;
    text-align: center;
  }

  .orders-footer__social-links {
    margin-top: 8px;
  }

  .orders-footer__social-links a {
    width: 70px;
    height: 68px;
    border-radius: 17px;
  }

  .orders-footer__payments {
    width: calc(100% - 44px);
    margin-top: 0;
  }

  .orders-footer__payments p {
    margin-bottom: 5px;
    font-size: 19px;
  }

  .orders-footer__payments img {
    height: auto;
  }

  .orders-footer__bottom p {
    font-size: 10px;
    line-height: 1.5;
  }
}
