html footer .container.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  white-space: normal;
}

.footer-cookie-settings {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.82rem;
  color: #b8a06a;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
  min-height: 1.5em;
}

.footer-cookie-settings:hover {
  color: #e1bf72;
}

.cc-banner {
  position: fixed;
  z-index: 130;
  left: 20px;
  bottom: 20px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  width: min(400px, calc(100vw - 40px));
  padding: 18px 18px 16px;
  background: #111111;
  border: 1px solid rgba(201, 162, 74, 0.42);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.cc-banner.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cc-banner__title {
  margin: 0 0 8px;
  font-size: 0.98rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--font-letter-spacing);
  color: #f7f7f7;
}

.cc-banner__text {
  margin: 0 0 16px;
  font-size: 0.84rem;
  line-height: var(--font-line-height);
  letter-spacing: var(--font-letter-spacing);
  color: #b5b5b5;
}

.cc-banner__actions {
  display: flex;
  gap: 10px;
}

.cc-btn {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.cc-btn:hover {
  transform: translateY(-1px);
}

.cc-btn--primary {
  position: relative;
  overflow: hidden;
  font-weight: var(--font-weight-semibold);
  border: 1px solid rgba(78, 52, 12, 0.92);
  background: linear-gradient(145deg, #f0daa4 0%, #d29b2f 22%, #9f6a14 46%, #d9a63e 68%, #78400e 100%);
  color: #171108;
  box-shadow:
    0 8px 16px rgba(95, 72, 22, 0.3),
    inset 0 1px 0 rgba(240, 222, 168, 0.4);
}

.cc-btn--secondary {
  font-weight: var(--font-weight-soft);
  background: transparent;
  color: #f1dba9;
  border: 1px solid rgba(201, 162, 74, 0.55);
}

.cc-btn--secondary:hover {
  background: rgba(201, 162, 74, 0.08);
  border-color: #d6b15e;
}

.cc-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.cc-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.cc-modal {
  width: min(400px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 20px 18px 18px;
  background: #111111;
  border: 1px solid rgba(201, 162, 74, 0.42);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.25s ease;
}

.cc-overlay.is-visible .cc-modal {
  transform: translateY(0) scale(1);
}

.cc-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cc-modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--font-letter-spacing);
  color: #f7f7f7;
}

.cc-modal__close {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(201, 162, 74, 0.3);
  border-radius: 8px;
  background: transparent;
  color: #c9c9c9;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cc-modal__close:hover {
  color: #f7f7f7;
  border-color: rgba(201, 162, 74, 0.55);
}

.cc-category {
  padding: 12px 0;
  border-top: 1px solid rgba(201, 162, 74, 0.14);
}

.cc-category:first-of-type {
  border-top: none;
  padding-top: 0;
}

.cc-category__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cc-category__name {
  font-size: 0.88rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--font-letter-spacing);
  color: #ececec;
}

.cc-category__badge {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--font-letter-spacing);
  text-transform: uppercase;
  color: #d4b76a;
  background: rgba(201, 162, 74, 0.12);
  border: 1px solid rgba(201, 162, 74, 0.28);
}

.cc-toggle {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
}

.cc-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cc-toggle__track {
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.cc-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f0f0f0;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.cc-toggle input:checked + .cc-toggle__track {
  background: rgba(201, 162, 74, 0.35);
  border-color: rgba(201, 162, 74, 0.55);
}

.cc-toggle input:checked + .cc-toggle__track::after {
  transform: translateX(18px);
  background: #f0daa4;
}

.cc-toggle input:focus-visible + .cc-toggle__track {
  outline: 2px solid rgba(201, 162, 74, 0.65);
  outline-offset: 2px;
}

.cc-modal__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

@media (max-width: 768px) {
  html.cc-banner-active body {
    padding-bottom: var(--cc-banner-height, 0px);
  }

  .cc-banner {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    border-radius: 14px 14px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .cc-banner__text {
    margin-bottom: 14px;
  }

  .cc-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .cc-modal {
    width: 100%;
    max-height: 85vh;
    border-radius: 14px 14px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}
