.footer {
  background-color: var(--white);
  margin-top: 48px;
  padding: 48px 0;
}
.footer__container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.footer__search {
  flex: 1;
}
.footer__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.searchform {
  background-color: var(--grey-light);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.searchform__input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 50px;
}
.searchform__btn {
  background: var(--primary);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  position: absolute;
  right: 0;
  top: 0;
  transition: background-color 0.3s ease;
}

.searchform__btn:hover {
  background: var(--primary-hover);
}

.footer__age {
  font-size: 16px;
  color: var(--grey);
  padding: 10px 20px;
  background: var(--grey-light);
  border-radius: 10px;
}
.footer__bottom {
  display: flex;
  gap: 48px;
  justify-content: space-between;
}
.footer__text {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 750px;
  color: var(--grey);
}
.footer__menu a {
  font-size: 14px;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer__menu a:hover {
  color: var(--primary);
}
.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.circle-links__label {
  color: var(--grey);
  font-size: 14px;
  display: flex;
  margin-bottom: 12px;
}
.circle-links__list {
  display: flex;
  gap: 12px;
}
.circle-links__link {
  background-color: var(--grey-light);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.circle-links__link:hover {
  opacity: 0.6;
}
.circle-links__link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
@media (max-width: 1270px) {
  .footer__bottom {
    gap: 15px;
  }
  .footer__text {
    max-width: 500px;
  }
}
@media (max-width: 1000px) {
  .footer__bottom {
    flex-wrap: wrap;
  }
  .footer__text {
    flex: 1 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .footer__container {
    gap: 24px;
  }
  .footer {
    padding: 24px 0;
  }
}
@media (max-width: 480px) {
  .footer__links {
    flex-direction: row;
  }
  .footer {
    padding: 12px 0 24px;
  }
}
