@font-face {
  font-family: "Kendamil Serif";
  src: url("../fonts/Kendamil_Serif-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elza";
  src: url("../fonts/Elza-Condensed.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Elza";
  src: url("../fonts/Elza-CondensedBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --footer-mobile-shell-max: 430px;
  --footer-mobile-side-pad: clamp(15px, 4vw, 18px);
}

.footer {
  display: block;
  background: #07225d;
  color: #fff;
  font-family: "Elza", Arial, Helvetica, sans-serif;
  padding: 71px 0 44px;
}

.mobile-footer {
  display: none;
}

.footer-inner {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.footer a,
.mobile-footer a {
  color: inherit;
  text-decoration: none;
}

.footer-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  height: 259px;
  padding: 0 50px;
}

.footer-brand {
  display: flex;
  flex: 0 1 333px;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand img {
  display: block;
  width: 195px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-newsletter p,
.footer-whatsapp {
  font-size: 14px;
  font-weight: 300;
}

.footer-brand p {
  max-width: 355px;
  margin: 0;
  line-height: 1.6;
}

.footer-socials,
.footer-customer-list,
.footer-menu-list,
.list-payment,
.mobile-footer__socials,
.mobile-footer-menu ul,
.mobile-footer__payments {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 16px;
}

.footer-socials a {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.footer-socials svg,
.mobile-footer__socials svg {
  display: block;
  width: 22px;
  height: 22px;
}

.footer-socials a[aria-label="Instagram"] svg,
.footer-whatsapp svg,
.mobile-footer__socials a[aria-label="Instagram"] svg,
.mobile-footer__whatsapp svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.footer-whatsapp {
  margin-top: 27px;
}

.footer-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-whatsapp svg {
  width: 21px;
  height: 21px;
  opacity: 0.28;
}

.footer-center {
  display: flex;
  flex: 0 1 346px;
  min-width: 0;
  height: 259px;
  align-items: flex-start;
  gap: 30px;
}

.footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.footer-customer-care h3,
.footer-main-menu h3 {
  width: 158px;
  height: 22px;
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0;
  transform: translateY(-4px);
}

.footer-left,
.footer-right {
  flex: 0 0 158px;
  min-width: 158px;
  align-self: flex-start;
}

.footer-customer-care,
.footer-right {
  height: 259px;
}

.footer-customer-list,
.footer-menu-list {
  display: grid;
  gap: 0;
  margin: 15px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
}

.footer-menu-list {
  height: 222px;
}

.footer-customer-list li:not(:last-child),
.footer-menu-list li:not(:last-child) {
  margin-bottom: 15px;
}

.footer-newsletter {
  display: flex;
  flex: 0 1 380px;
  min-width: 0;
  max-width: 380px;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-5px);
}

.footer-newsletter p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.footer-email-form,
.mobile-footer__email-form {
  display: flex;
  width: 100%;
  height: 44px;
  background: #fff;
}

.footer-email-form {
  margin-top: 51px;
}

.footer-email-form input,
.mobile-footer__email-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  outline: 0;
}

.footer-email-form input {
  padding: 0 18px;
  color: #000;
  font: 400 18px "Elza", Arial, Helvetica, sans-serif;
}

.footer-email-form input::placeholder {
  color: #000;
  opacity: 1;
}

.footer-email-form button,
.mobile-footer__email-form button {
  width: 52px;
  border: 0;
  background: transparent;
  color: #276f9d;
  cursor: pointer;
}

.footer-email-form button {
  font-size: 17px;
}

.footer-legal {
  margin: 49px 0 30px;
  text-align: center;
}

.footer-legal > span {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 300;
}

.footer-copyright {
  font-size: 16px;
  font-weight: 350;
}

.list-payment {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.list-payment li {
  display: flex;
}

.list-payment .icon {
  display: block;
  width: 38px;
  height: 24px;
}

.mobile-footer {
  width: 100%;
  max-width: var(--footer-mobile-shell-max);
  margin: 0 auto;
  padding: 41px 0 44px;
  background: #071f60;
  color: #f8f3ec;
  font-family: "Elza", Arial, Helvetica, sans-serif;
}

.mobile-footer__inner {
  width: 100%;
  padding: 0 var(--footer-mobile-side-pad);
}

.mobile-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mobile-footer__logo-link img {
  display: block;
  width: 195px;
  height: auto;
  filter: brightness(0) invert(1);
}

.mobile-footer__brand p {
  margin: 20px 0 25px;
  color: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.mobile-footer__socials {
  display: flex;
  align-items: center;
  gap: 25px;
}

.mobile-footer__socials a {
  display: flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
}

.mobile-footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 30px;
  font-size: 12px;
  line-height: 1;
}

.mobile-footer__whatsapp svg {
  width: 18px;
  height: 18px;
}

.mobile-footer__menus {
  margin-bottom: 20px;
}

.mobile-footer-menu {
  padding: 20px 0;
  border-bottom: 1px solid rgba(248, 243, 236, 0.3);
}

.mobile-footer-menu:first-child {
  border-top: 1px solid rgba(248, 243, 236, 0.3);
}

.mobile-footer-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: inherit;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  list-style: none;
}

.mobile-footer-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-footer-menu summary::after {
  content: "+";
  font-family: "Elza", Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1;
}

.mobile-footer-menu[open] summary::after {
  content: "-";
}

.mobile-footer-menu ul {
  display: grid;
  gap: 15px;
  padding-top: 15px;
}

.mobile-footer-menu a {
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
}

.mobile-footer__newsletter h2 {
  margin: 0 0 15px;
  color: inherit;
  font-family: "Kendamil Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.mobile-footer__newsletter p {
  margin: 0 0 25px;
  color: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
}

.mobile-footer__email-form input {
  padding: 0 15px;
  color: #071f60;
  font: 400 16px "Elza", Arial, Helvetica, sans-serif;
}

.mobile-footer__email-form input::placeholder {
  color: #071f60;
  opacity: 1;
}

.mobile-footer__email-form button {
  font-size: 18px;
  line-height: 1;
}

.mobile-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 7px;
  margin: 30px 0;
  color: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
}

.mobile-footer__payments {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 7px;
}

.mobile-footer__payments li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-footer__payments svg,
.mobile-footer__payments img {
  display: block;
  width: 38px;
  height: 24px;
}

@media (max-width: 1180px) {
  .footer {
    display: none;
  }

  .mobile-footer {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1180px) {
  :root {
    --footer-mobile-shell-max: min(100vw, 834px);
    --footer-mobile-side-pad: clamp(28px, 5vw, 48px);
  }

  .mobile-footer {
    padding: 52px 0 46px;
  }

  .mobile-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(230px, 0.9fr);
    gap: 34px 46px;
  }

  .mobile-footer__brand {
    grid-column: 1;
  }

  .mobile-footer__menus {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .mobile-footer__newsletter {
    grid-column: 1;
  }

  .mobile-footer__legal,
  .mobile-footer__payments {
    grid-column: 1 / -1;
  }

  .mobile-footer__brand p,
  .mobile-footer__newsletter p {
    font-size: 15px;
  }

  .mobile-footer__newsletter h2 {
    font-size: 30px;
  }

  .mobile-footer__legal {
    margin: 8px 0 0;
  }
}

@media (min-width: 1024px) and (max-width: 1180px) {
  :root {
    --footer-mobile-shell-max: min(100vw, 1024px);
    --footer-mobile-side-pad: 48px;
  }

  .mobile-footer__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 0.8fr) minmax(260px, 0.9fr);
    align-items: start;
  }

  .mobile-footer__brand,
  .mobile-footer__menus,
  .mobile-footer__newsletter {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 767px) {
  .mobile-footer__inner {
    display: block;
  }
}

.product-page .mobile-footer {
  padding-bottom: 120px;
}
