/* BalkanTravelers — cookie banner, affiliate, shared legal & form blocks */
.bt-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  animation: bt-cookie-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes bt-cookie-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.bt-cookie-banner.is-closing {
  animation: bt-cookie-out 0.28s ease forwards;
}
@keyframes bt-cookie-out {
  to { opacity: 0; transform: translateY(12px); }
}
.bt-cookie-inner {
  pointer-events: auto;
  width: min(520px, 100%);
  background: #fff;
  color: #2a241a;
  border: 1px solid rgba(201, 151, 58, 0.35);
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow:
    0 4px 6px rgba(26, 18, 8, 0.04),
    0 20px 48px rgba(26, 18, 8, 0.14);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  align-items: start;
}
.bt-cookie-icon {
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(145deg, #faf6ee, #f3e8d1);
  border: 1px solid rgba(201, 151, 58, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}
.bt-cookie-title {
  margin: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 900;
  color: #1a1208;
  line-height: 1.2;
}
.bt-cookie-text {
  margin: 0;
  grid-column: 2;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(42, 36, 26, 0.78);
}
.bt-cookie-inner a {
  color: #a97d2f;
  font-weight: 700;
  text-decoration: none;
}
.bt-cookie-inner a:hover { text-decoration: underline; }
.bt-cookie-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(26, 18, 8, 0.08);
}
.bt-cookie-accept {
  flex: 1;
  border: none;
  border-radius: 11px;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(180deg, #d4a84a 0%, #c9973a 100%);
  color: #1a1208;
  box-shadow: 0 2px 8px rgba(201, 151, 58, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bt-cookie-accept:hover {
  background: linear-gradient(180deg, #c9973a 0%, #a97d2f 100%);
  box-shadow: 0 4px 12px rgba(201, 151, 58, 0.4);
}
.bt-cookie-accept:active { transform: scale(0.98); }

.bt-affiliate-notice {
  margin: 16px 0 0;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #6d6252;
  background: #faf8f3;
  border: 1px solid #eadab7;
  border-radius: 10px;
}
.bt-affiliate-notice a { color: #a97d2f; font-weight: 700; }

footer .bt-affiliate-notice {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(201, 151, 58, 0.28);
  color: rgba(255, 255, 255, 0.58);
  text-align: left;
}
footer .bt-affiliate-notice a { color: #e8c57a; }

.bt-price-disclaimer {
  margin: 0 0 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: #6d6252;
  background: #fffaf0;
  border: 1px solid #ddc28a;
  border-radius: 10px;
}
.bt-price-disclaimer strong { color: #2a241a; }

.bt-offer-form {
  display: grid;
  gap: 12px;
}
.bt-offer-form .bt-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.bt-offer-form label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #6d6252;
}
.bt-offer-form input,
.bt-offer-form select,
.bt-offer-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 9px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}
.bt-offer-form textarea { min-height: 100px; resize: vertical; }
.bt-offer-form input:focus,
.bt-offer-form select:focus,
.bt-offer-form textarea:focus {
  outline: none;
  border-color: #c9973a;
}
.bt-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.bt-offer-form .bt-submit {
  border: none;
  border-radius: 9px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: #c9973a;
  color: #1a1208;
}
.bt-offer-form .bt-submit:hover { background: #a97d2f; }
.bt-form-status {
  font-size: 14px;
  font-weight: 600;
  display: none;
}
.bt-form-status.is-ok { display: block; color: #1e6b3a; }
.bt-form-status.is-err { display: block; color: #c0392b; }

@media (max-width: 560px) {
  .bt-form-grid-2 { grid-template-columns: 1fr; }
  .bt-cookie-inner {
    grid-template-columns: 1fr;
    padding: 16px;
    border-radius: 16px 16px 0 0;
    width: 100%;
  }
  .bt-cookie-icon { display: none; }
  .bt-cookie-title,
  .bt-cookie-text { grid-column: 1; }
}
