.cc-root {
  position: fixed;
  z-index: 1000;
  inset: auto 0 0 0;
  font-family: Barlow, Arial, sans-serif;
  color: #f5f0f0;
}

.cc-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 48px;
  background: #0e0304;
  border-top: 1px solid #2a1010;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.55);
}

.cc-title,
.cc-panel-title,
.cc-category-title {
  font-family: "Barlow Condensed", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cc-title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
}

.cc-copy {
  margin: 0;
  max-width: 760px;
  color: #b9aaaa;
  font-size: 14px;
  line-height: 1.55;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.cc-button {
  min-height: 42px;
  border: 1px solid #3a2020;
  padding: 10px 18px;
  background: transparent;
  color: #d5caca;
  cursor: pointer;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cc-button:hover,
.cc-button:focus-visible {
  border-color: #c04060;
  color: #fff;
  outline: none;
}

.cc-button-primary {
  border-color: #7a1020;
  background: #7a1020;
  color: #fff;
}

.cc-button-primary:hover,
.cc-button-primary:focus-visible {
  background: #560b16;
}

.cc-backdrop {
  position: fixed;
  z-index: 1001;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(8, 2, 3, 0.86);
}

.cc-backdrop.is-open {
  display: flex;
}

.cc-panel {
  width: min(620px, 100%);
  max-height: min(820px, calc(100vh - 36px));
  overflow: auto;
  background: #140406;
  border: 1px solid #2a1010;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.65);
}

.cc-panel-header,
.cc-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 28px;
  border-bottom: 1px solid #1e0a0a;
}

.cc-panel-footer {
  border-top: 1px solid #1e0a0a;
  border-bottom: 0;
  flex-wrap: wrap;
}

.cc-panel-title {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.05;
}

.cc-panel-kicker {
  margin: 0 0 5px;
  color: #c04060;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cc-close {
  width: 38px;
  height: 38px;
  border: 1px solid #2a1010;
  background: transparent;
  color: #d5caca;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.cc-body {
  padding: 10px 28px;
}

.cc-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #1e0a0a;
}

.cc-category:last-child {
  border-bottom: 0;
}

.cc-category-title {
  margin: 0 0 5px;
  font-size: 16px;
  font-weight: 800;
}

.cc-category-copy {
  margin: 0;
  color: #a99a9a;
  font-size: 13px;
  line-height: 1.5;
}

.cc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  background: #1c0608;
  color: #796d6d;
  font-family: "Barlow Condensed", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cc-toggle {
  position: relative;
  width: 48px;
  height: 28px;
}

.cc-toggle input {
  position: absolute;
  opacity: 0;
}

.cc-slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #2a1010;
  border: 1px solid #3a1818;
  border-radius: 999px;
}

.cc-slider::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #6a5555;
  transition: transform 0.18s ease, background 0.18s ease;
}

.cc-toggle input:checked + .cc-slider {
  background: #7a1020;
  border-color: #9a2030;
}

.cc-toggle input:checked + .cc-slider::after {
  transform: translateX(20px);
  background: #f5f0f0;
}

.cc-footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 720px) {
  .cc-banner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .cc-actions {
    justify-content: stretch;
  }

  .cc-button {
    flex: 1 1 150px;
  }

  .cc-panel-header,
  .cc-panel-footer,
  .cc-body {
    padding-left: 18px;
    padding-right: 18px;
  }
}
