/* ==========================================================================
   footer.css — подвал
   ========================================================================== */

.footer-main {
  position: relative;
  padding: 20px 0 20px 0;
  margin-top: 30px;
  background-color: #fff9e6;
  border-top: none;
}

.footer-main::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  height: 1px;
  background-color: rgba(59, 10, 96, 0.15);
  pointer-events: none;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-contacts-box {
  font-size: 16px;
  color: #1a1a1a;
}

.footer-link-item {
  display: flex;
  align-items: center;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 8px;
  font-weight: 500;
}

.icon-phone-vector,
.icon-email-vector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-right: 12px;
  flex: 0 0 auto;
  color: #3b0a60;
}

.icon-phone-vector svg,
.icon-email-vector svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Поиск */
.footer-search-form {
  position: relative;
  width: 380px;
  max-width: 100%;
}

.search-input-field {
  width: 100%;
  padding: 12px 45px 12px 18px;
  box-sizing: border-box;
  border: 1px solid #3b0a60;
  background-color: #fff;
  border-radius: 6px;
  font-size: 15px;
  color: #1a1a1a;
  outline: none;
}

.search-input-field::placeholder {
  color: #a69ebd;
}

.search-action-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.css-magnifier-lens {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 2px solid #3b0a60;
  border-radius: 50%;
  position: relative;
}

.css-magnifier-lens::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 6px;
  height: 2px;
  background-color: #3b0a60;
  transform: rotate(45deg);
}

/* Кнопка «Стать участником» */
.btn-membership-box {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #a37549;
  background-color: rgba(163, 117, 73, 0.12);
  color: #a37549;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.2s;
  text-align: center;
}

.btn-membership-box:hover {
  background-color: rgba(163, 117, 73, 0.22);
}

/* Нижняя строка */
.footer-bottom-line {
  border-top: 2px dashed rgba(59, 10, 96, 0.15);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 13px;
  color: #666;
  gap: 10px;
}

.footer-bottom-line a {
  color: #666;
  text-decoration: none;
}

.footer-bottom-line a:hover {
  text-decoration: underline;
}

/* Кнопка «Наверх» */
.btn-goto-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #3b0a60;
  color: #fff9e6;
  width: 45px;
  height: 45px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(59, 10, 96, 0.15);
  z-index: 999;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-goto-top:hover {
  background-color: #4a148c;
  transform: translateY(-3px);
}