.acr-cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1080;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--acr-surface-color, #fff);
  color: var(--acr-text-color, #232323);
  border: 1px solid var(--acr-border-color, #e9e4de);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.acr-cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .acr-cookie-banner {
    transition: none;
  }
}
.acr-cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}
@media (max-width: 991.98px) {
  .acr-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
  }
}
.acr-cookie-banner__text {
  flex: 1 1 auto;
  min-width: 0;
}
.acr-cookie-banner__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--acr-heading-color, #232323);
}
.acr-cookie-banner__body {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--acr-text-muted-color, #5c5c5c);
}
.acr-cookie-banner__body a {
  color: var(--acr-secondary-accent-text-color, #9a6320);
  text-decoration: underline;
}
.acr-cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}
@media (max-width: 576px) {
  .acr-cookie-banner__actions {
    flex-direction: column-reverse;
  }
}

.acr-cookie-btn {
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--acr-button-bg-color, #232323);
  color: var(--acr-button-text-color, #fff);
  border: 1px solid var(--acr-button-bg-color, #232323);
}
.acr-cookie-btn:hover, .acr-cookie-btn:focus-visible {
  background: var(--acr-button-hover-bg-color, #fff);
  color: var(--acr-button-hover-text-color, #232323);
  border-color: var(--acr-button-hover-border-color, #232323);
}
.acr-cookie-btn:focus-visible {
  outline: 3px solid var(--acr-secondary-accent-color, #e0a858);
  outline-offset: 2px;
}
.acr-cookie-btn--ghost {
  background: transparent;
  color: var(--acr-text-color, #232323);
  border-color: var(--acr-border-color, #e9e4de);
}
@media (max-width: 576px) {
  .acr-cookie-btn {
    width: 100%;
  }
}

.acr-cookie-panel {
  position: fixed;
  inset: 0;
  z-index: 1090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.acr-cookie-panel[hidden] {
  display: none;
}
.acr-cookie-panel__backdrop {
  position: absolute;
  inset: 0;
  background: var(--acr-overlay-color, rgba(35, 35, 35, 0.8));
}
.acr-cookie-panel__card {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: var(--acr-surface-color, #fff);
  color: var(--acr-text-color, #232323);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.acr-cookie-panel__card:focus {
  outline: none;
}
@media (max-width: 576px) {
  .acr-cookie-panel__card {
    padding: 18px;
  }
}
.acr-cookie-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.acr-cookie-panel__intro {
  font-size: 0.9rem;
  color: var(--acr-text-muted-color, #5c5c5c);
  margin-bottom: 16px;
}
.acr-cookie-panel__intro a {
  color: var(--acr-secondary-accent-text-color, #9a6320);
  text-decoration: underline;
}
.acr-cookie-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
@media (max-width: 576px) {
  .acr-cookie-panel__actions {
    flex-direction: column-reverse;
  }
}

.acr-cookie-cat {
  border: 1px solid var(--acr-border-color, #e9e4de);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.acr-cookie-cat__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.acr-cookie-cat__name {
  margin: 0 0 2px;
  font-size: 0.95rem;
}
.acr-cookie-cat__desc {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--acr-text-muted-color, #5c5c5c);
}
.acr-cookie-cat__always {
  margin: 8px 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--acr-secondary-accent-text-color, #9a6320);
}
.acr-cookie-cat .form-check-input {
  width: 2.6em;
  height: 1.4em;
  cursor: pointer;
}
.acr-cookie-cat .form-check-input:checked {
  background-color: var(--acr-button-bg-color, #232323);
  border-color: var(--acr-button-bg-color, #232323);
}
.acr-cookie-cat .form-check-input:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

body.acr-cookie-panel-open {
  overflow: hidden;
}
