@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-regular.woff2") format("woff2");
}

#footer.footer {
  padding: 0;
  color: #2f292b;
  background: #f7dadf;
  font-family: "Poppins", sans-serif;
}

.beautys-footer,
.beautys-footer * {
  box-sizing: border-box;
}

.beautys-footer {
  width: 100%;
  color: #2f292b;
  background: #F9EFF0;
  border-top: 1px solid #e8bcc5;
}

.beautys-footer__top {
  padding: 72px 0 54px;
}

.beautys-footer__container {
  width: 100%;
  max-width: 1416px;
  margin: 0 auto;
}

.beautys-footer__columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.beautys-footer__brand,
.beautys-footer__nav {
  min-width: 0;
}

.beautys-footer__nav {
  padding-left: 92px;
}

.beautys-footer__nav:nth-child(3) {
  padding-left: 98px;
}

.beautys-footer__nav:nth-child(4) {
  padding-left: 104px;
}

.beautys-footer__logo {
  display: block;
  width: 148px;
  margin-bottom: 26px;
  line-height: 0;
}

.beautys-footer__logo img {
  display: block;
  width: 148px;
  height: auto;
}

.beautys-footer__brand p {
  width: 250px;
  margin: 0 0 8px;
  color: #62575a;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.beautys-footer__social,
.beautys-footer__nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.beautys-footer__social {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: -11px;
}

.beautys-footer__social--mobile {
  display: none;
}

.beautys-footer__social a {
  display: grid;
  width: 42px;
  height: 42px;
  color: #2f292b;
  place-items: center;
}

.beautys-footer__social img {
  display: block;
  width: 20px;
  height: 20px;
  opacity: 0.66;
  transition: transform 0.2s ease;
}

.beautys-footer__social a:hover img {
  transform: scale(1.07);
}

.beautys-footer__nav h2 {
  margin: 2px 0 21px;
  color: #2f292b;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.beautys-footer__accordion summary {
  list-style: none;
}

.beautys-footer__accordion summary::-webkit-details-marker,
.beautys-footer__accordion summary .material-icons {
  display: none;
}

.beautys-footer__accordion > ul {
  display: block !important;
}

.beautys-footer__nav li {
  margin: 0;
}

.beautys-footer__nav a {
  display: inline-block;
  padding: 0;
  color: #62575a;
  font-size: 15.5px;
  font-weight: 400;
  line-height: 2.45;
  letter-spacing: 0.15px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.beautys-footer__nav a:hover {
  color: #c86477;
}

.beautys-footer__newsletter {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.beautys-newsletter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.beautys-newsletter h2 {
  flex: 0 0 auto;
  margin: 0 20px 0 0;
  color: #2f292b;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.beautys-newsletter form {
  position: relative;
  width: 100%;
  max-width: 392px;
  margin: 0;
}

.beautys-newsletter__field {
  position: relative;
  width: 100%;
}

.beautys-newsletter__field input[type="email"] {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 54px 0 21px;
  color: #2f292b;
  background: transparent;
  border: 1px solid rgb(93 89 88 / 30%);
  border-radius: 999px;
  box-shadow: none;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 1px;
  outline: 0;
}

.beautys-newsletter__field input[type="email"]::placeholder {
  color: #62575a;
  opacity: 1;
}

.beautys-newsletter__field input[type="email"]:focus {
  border-color: #c86477;
  box-shadow: 0 0 0 1px rgb(200 100 119 / 20%);
}

.beautys-newsletter__field button {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 52px;
  height: 52px;
  padding: 0;
  color: #2f292b;
  background: transparent;
  border: 0;
  place-items: center;
}

.beautys-newsletter__field button img {
  display: block;
  width: 15px;
  height: auto;
}

.beautys-newsletter__message {
  position: absolute;
  margin: 70px 0 0;
  font-size: 13px;
}

.beautys-newsletter__message.is-error {
  color: #a73c3c;
}

.beautys-newsletter__message.is-success {
  color: #a73c3c;
}

.beautys-footer__bottom {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 135px;
  padding: 38px 20px 28px;
  border-top: 1px solid #e8bcc5;
}

.beautys-footer__payments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 24px;
}

.beautys-footer__payments img {
  display: block;
  width: 38px;
  height: 24px;
}

.beautys-footer__copyright {
  margin: 21px 0 0;
  color: #62575a;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.5px;
  text-align: center;
}

.beautys-footer__copyright a {
  color: inherit;
  text-decoration: none;
}

.beautys-footer__copyright a:hover {
  color: #c86477;
}

@media (max-width: 1499.98px) and (min-width: 992px) {
  .beautys-footer__container {
    padding: 0 50px;
  }

  .beautys-footer__nav,
  .beautys-footer__nav:nth-child(3),
  .beautys-footer__nav:nth-child(4) {
    padding-left: 6%;
  }
}

@media (max-width: 991.98px) {
  .beautys-footer__top {
    padding: 48px 0;
  }

  .beautys-footer__container {
    padding: 0 32px;
  }

  .beautys-footer__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 28px;
  }

  .beautys-footer__nav,
  .beautys-footer__nav:nth-child(3),
  .beautys-footer__nav:nth-child(4) {
    padding-left: 0;
  }

  .beautys-footer__newsletter {
    margin-top: 44px;
  }
}

@media (max-width: 575.98px) {
  .beautys-footer__top {
    padding: 36px 0 28px;
  }

  .beautys-footer__container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .beautys-footer__columns {
    display: contents;
  }

  .beautys-footer__brand {
    order: 1;
    text-align: center;
  }

  .beautys-footer__logo {
    margin: 0 auto 28px;
  }

  .beautys-footer__brand p,
  .beautys-footer__social--desktop {
    display: none;
  }

  .beautys-footer__newsletter {
    order: 2;
  }

  .beautys-footer__newsletter,
  .beautys-newsletter {
    align-items: stretch;
    flex-direction: column;
  }

  .beautys-footer__newsletter {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  .beautys-newsletter h2 {
    margin: 0 0 20px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
  }

  .beautys-newsletter form {
    order: 2;
    min-width: 0;
    max-width: none;
  }

  .beautys-newsletter__message {
    position: static;
    order: 3;
    margin: 8px 0 0;
    line-height: 1.4;
    text-align: left;
  }

  .beautys-newsletter__field,
  .beautys-newsletter__field input[type="email"] {
    min-width: 0;
    max-width: 100%;
  }

  .beautys-footer__social--mobile {
    display: flex;
    order: 3;
    justify-content: center;
    gap: 14px;
    margin: 22px 0 28px;
  }

  .beautys-footer__social--mobile a {
    width: 36px;
    height: 36px;
  }

  .beautys-footer__social--mobile img {
    width: 21px;
    height: 21px;
    opacity: 1;
  }

  .beautys-footer__nav,
  .beautys-footer__nav:nth-child(3),
  .beautys-footer__nav:nth-child(4) {
    order: 4;
    padding: 0;

  }

  .beautys-footer__nav:first-of-type {
    border-top:none;
  }

  .beautys-footer__accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    cursor: pointer;
  }

  .beautys-footer__accordion summary .material-icons {
    display: block;
    font-size: 20px;
    transition: transform 180ms ease;
  }

  .beautys-footer__accordion[open] summary .material-icons {
    transform: rotate(180deg);
  }

  .beautys-footer__accordion:not([open]) > ul {
    display: none !important;
  }

  .beautys-footer__accordion[open] > ul {
    display: block !important;
    padding: 0 0 14px;
  }

  .beautys-footer__nav h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
  }

  .beautys-footer__nav a {
    line-height: 2.2;
  }

  .beautys-footer__bottom {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 26px 16px 22px;
  }

  .beautys-footer__payments {
    flex-wrap: wrap;
    gap: 10px;
  }

  .beautys-footer__copyright {
    max-width: 320px;
  }
}
