/* Search копче во навигацијата */

.nav-search-button {
  position: relative;
  padding: 9px 0;

  color: #fff8eb;
  background: transparent;
  border: none;

  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.7px;
  white-space: nowrap;
  cursor: pointer;

  transition: color 0.3s ease;
}

.nav-search-button:hover {
  color: #e1b94d;
}

/* Search прозорец */

.header-search-panel {
  position: fixed;
  top: 55px;
  left: 50%;
  z-index: 2000;

  width: min(620px, calc(100% - 32px));
  padding: 12px;

  background:
    linear-gradient(
      135deg,
      rgba(38, 12, 10, 0.99),
      rgba(17, 6, 5, 0.99)
    );

  border: 1px solid rgba(225, 185, 77, 0.7);
  border-radius: 12px;

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.65),
    inset 0 0 25px rgba(225, 185, 77, 0.04);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translate(-50%, -18px);

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.header-search-panel.search-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translate(-50%, 0);
}

.header-search-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 54px;
  padding: 0 13px;

  background-color: #140706;
  border: 1px solid rgba(225, 185, 77, 0.48);
  border-radius: 8px;
}

.header-search-form > span {
  font-size: 17px;
}

.header-search-form input {
  width: 100%;
  height: 50px;
  padding: 0 6px;

  color: #fff8eb;
  background: transparent;
  border: none;
  outline: none;

  font-family: Arial, sans-serif;
  font-size: 16px;
}

.header-search-form input::placeholder {
  color: #bba895;
  opacity: 1;
}

.header-search-form input:focus {
  color: #fff8eb;
}

.header-search-form button {
  width: 38px;
  height: 38px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #e8c45b;
  background-color: rgba(225, 185, 77, 0.08);
  border: 1px solid rgba(225, 185, 77, 0.3);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.header-search-form button:hover {
  color: #160806;
  background-color: #e1b94d;
  border-color: #e1b94d;
}

/* Поддршка за стара Search структура */

.header-search-inner {
  width: min(700px, 90%);
  margin: 0 auto;
  padding: 18px 0;
}

.header-search-inner label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;

  clip-path: inset(50%);
  white-space: nowrap;
}

.header-search-inner input {
  width: 100%;
  height: 52px;
  padding: 0 18px;

  color: #fff8eb;
  background-color: #160907;
  border: 1px solid #dcb747;
  border-radius: 7px;
  outline: none;

  font-family: Arial, sans-serif;
  font-size: 16px;
}

.header-search-inner input::placeholder {
  color: #bba895;
}

/* Икони во footer на сите страници */

.global-footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.global-footer-socials a {
  width: 34px;
  height: 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #e1b94d;
  background-color: rgba(225, 185, 77, 0.04);
  border: 1px solid rgba(225, 185, 77, 0.43);
  border-radius: 50%;

  text-decoration: none;

  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.global-footer-socials a:hover {
  color: #1b0907;
  background-color: #e1b94d;
  border-color: #f0ce68;
  transform: translateY(-3px);
}

.global-footer-socials svg {
  width: 18px;
  height: 18px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.global-footer-socials .global-footer-icon-fill {
  fill: currentColor;
  stroke: none;
}

/* Нежна промена на горната порака */

.announcement-message {
  opacity: 1;

  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.announcement-message.changing {
  opacity: 0;
  transform: translateY(-4px);
}

/* Таблет */

@media (max-width: 950px) {
  .nav-search-button {
    font-size: 12px;
  }
}

/* Телефон */

@media (max-width: 700px) {
  .nav-search-button {
    flex-shrink: 0;
    font-size: 12px;
  }

  .header-search-panel {
    top: 48px;
    width: calc(100% - 24px);
    padding: 9px;
  }

  .header-search-form {
    min-height: 49px;
    padding: 0 9px;
    gap: 7px;
  }

  .header-search-form input {
    height: 45px;
    font-size: 15px;
  }

  .header-search-form button {
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .global-footer-socials {
    width: 100%;
    margin-top: 10px;
  }

  .global-footer-socials a {
    width: 38px;
    height: 38px;
  }

  .global-footer-socials svg {
    width: 20px;
    height: 20px;
  }
}
/* Политика за приватност во footer */

.footer {
  position: relative;
  padding-bottom: 82px;
}

.footer > a[href="privacy.html"] {
  position: absolute;
  left: 50%;
  bottom: 24px;

  transform: translateX(-50%);

  color: #d9b35b;
  border-bottom: 1px solid rgba(217, 179, 91, 0.45);

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.footer > a[href="privacy.html"]:hover {
  color: #f4d578;
  border-color: #f4d578;
}

@media (max-width: 700px) {
  .footer {
    padding-bottom: 88px;
  }

  .footer > a[href="privacy.html"] {
    bottom: 20px;
    font-size: 12px;
  }
}
/* Политика за приватност — контакт страница */

.contact-footer {
  position: relative;
  padding-bottom: 82px;
}

.contact-footer > a[href="privacy.html"] {
  position: absolute;
  left: 50%;
  bottom: 24px;

  transform: translateX(-50%);

  color: #d9b35b;
  border-bottom: 1px solid rgba(217, 179, 91, 0.45);

  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;

  transition:
    color 0.25s ease,
    border-color 0.25s ease;
}

.contact-footer > a[href="privacy.html"]:hover {
  color: #f4d578;
  border-color: #f4d578;
}

@media (max-width: 700px) {
  .contact-footer {
    padding-bottom: 88px;
  }

  .contact-footer > a[href="privacy.html"] {
    bottom: 20px;
    font-size: 12px;
  }
}
