.analytics-consent[hidden], .analytics-settings[hidden] { display: none !important; }
.analytics-consent {
  position: fixed; z-index: 10000; left: 20px; bottom: 20px; width: min(610px, calc(100vw - 40px));
  display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px 22px;
  color: #39291e; background: #fffdf9; border: 1px solid #d8c5a5; border-radius: 14px;
  box-shadow: 0 16px 55px #2a1c1540; font-family: inherit; font-size: 15px; line-height: 1.55;
}
.analytics-consent__copy { flex: 1; }
.analytics-consent__copy strong { display: block; margin-bottom: 5px; color: #39291e; font-size: 16px; }
.analytics-consent__copy p { margin: 0; color: #685849; font-size: 13px; }
.analytics-consent__copy a { color: #76531f; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.analytics-consent__actions { display: flex; flex-direction: column; gap: 8px; min-width: 176px; }
.analytics-consent__actions button, .analytics-settings {
  min-height: 42px; border: 1px solid #927044; border-radius: 7px; padding: 9px 13px; cursor: pointer;
  font-family: inherit; font-size: 13px; line-height: 1.25; font-weight: 700; transition: background .18s ease, color .18s ease, transform .18s ease;
}
.analytics-consent__actions button:hover, .analytics-settings:hover { transform: translateY(-1px); }
.analytics-consent__accept { color: #fff; background: #493523; border-color: #493523 !important; }
.analytics-consent__accept:hover { background: #654d36; }
.analytics-consent__reject { color: #493523; background: transparent; }
.analytics-consent__reject:hover { background: #f3ece3; }
.analytics-settings { position: fixed; z-index: 9999; left: 16px; bottom: 16px; color: #fff; background: #493523; box-shadow: 0 5px 20px #2a1c1530; }
.analytics-consent button:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #bd965a; outline-offset: 3px; }
@media (max-width: 620px) {
  .analytics-consent { left: 12px; bottom: 12px; width: calc(100vw - 24px); display: block; padding: 18px; }
  .analytics-consent__actions { margin-top: 14px; flex-direction: row; }
  .analytics-consent__actions button { flex: 1; }
}
@media (max-width: 380px) { .analytics-consent__actions { flex-direction: column; } }
