.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(15, 20, 24, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(201, 168, 76, 0.3);
  padding: 20px 24px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cc-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cc-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cc-banner__text {
  flex: 1 1 400px;
  min-width: 0;
}

.cc-banner__text p {
  margin: 0;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #d0d5dd;
}

.cc-banner__link {
  color: #C9A84C;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-banner__link:hover {
  color: #e0c06a;
}

.cc-banner__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cc-btn {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.cc-btn:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

.cc-btn--accept {
  background: #C9A84C;
  color: #0B0F14;
  border: 1px solid #C9A84C;
}

.cc-btn--accept:hover {
  background: #e0c06a;
  border-color: #e0c06a;
}

.cc-btn--reject {
  background: transparent;
  color: #C9A84C;
  border: 1px solid #C9A84C;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
}

.cc-btn--reject:hover {
  background: rgba(201, 168, 76, 0.1);
}

.cc-banner__settings-link {
  background: none;
  border: none;
  color: #B8C4D0;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 4px 0;
}

.cc-banner__settings-link:hover {
  color: #C9A84C;
}

.cc-banner__settings-link:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}
.cc-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.cc-modal-overlay--visible {
  opacity: 1;
  visibility: visible;
}
.cc-modal {
  background: #0F1418;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 16px;
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.cc-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-modal__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.cc-modal__close {
  background: none;
  border: none;
  color: #B8C4D0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
}

.cc-modal__close:hover {
  color: #fff;
}

.cc-modal__close:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

.cc-modal__body {
  padding: 20px 28px;
}

.cc-modal__footer {
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
}
.cc-category {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cc-category:last-child {
  border-bottom: none;
}

.cc-category__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cc-category__info {
  flex: 1;
  min-width: 0;
}

.cc-category__label {
  display: block;
  color: #fff;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cc-category__desc {
  display: block;
  color: #8a94a0;
  font-family: Inter, -apple-system, sans-serif;
  font-size: 13px;
  line-height: 1.4;
}
.cc-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #3a3f47;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  padding: 0;
}

.cc-toggle:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

.cc-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  pointer-events: none;
}

.cc-toggle--on {
  background: #C9A84C;
}

.cc-toggle--on .cc-toggle__knob {
  transform: translateX(20px);
}

.cc-toggle--locked {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 768px) {
  .cc-banner {
    padding: 16px 16px;
  }

  .cc-banner__inner {
    flex-direction: column;
    gap: 16px;
  }

  .cc-banner__text {
    flex-basis: auto;
  }

  .cc-banner__actions {
    width: 100%;
    flex-direction: column;
    gap: 10px;
  }

  .cc-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  .cc-banner__settings-link {
    align-self: center;
  }

  .cc-modal {
    width: calc(100% - 16px);
    max-height: 90vh;
    border-radius: 12px;
  }

  .cc-modal__header {
    padding: 20px 20px 12px;
  }

  .cc-modal__body {
    padding: 16px 20px;
  }

  .cc-modal__footer {
    padding: 12px 20px 20px;
  }

  .cc-modal__footer .cc-btn {
    width: 100%;
  }
}
:root {
  --cc-ink: #1a1a1a;
  --cc-paper: #f5f3ef;
  --cc-white: #ffffff;
  --cc-gold: #c9a84c;
  --cc-gold-soft: #e8dcc0;
  --cc-stone: #6b6862;
  --cc-line: rgba(26, 26, 26, 0.14);
  --cc-shadow: 0 24px 70px rgba(13, 15, 18, 0.24);
}

.cc-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cc-trigger {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 9997;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(201, 168, 76, 0.78);
  border-radius: 2px;
  background: var(--cc-ink);
  color: var(--cc-white);
  box-shadow: 0 12px 34px rgba(13, 15, 18, 0.24);
  font-family: Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.cc-trigger[hidden] {
  display: none !important;
}

.cc-trigger:hover {
  transform: translateY(-2px);
  background: #242424;
  box-shadow: 0 16px 38px rgba(13, 15, 18, 0.3);
}

.cc-trigger:focus-visible,
.cc-header__close:focus-visible,
.cc-input:focus-visible,
.cc-send:focus-visible,
.cc-quick-reply:focus-visible,
.cc-cta:focus-visible {
  outline: 3px solid var(--cc-gold);
  outline-offset: 3px;
}

.cc-trigger__mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.72);
  color: var(--cc-gold);
  font-size: 17px;
}

.cc-trigger__copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cc-trigger__copy strong {
  color: var(--cc-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.15;
}

.cc-trigger__copy small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.055em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cc-window {
  position: fixed;
  inset: auto 22px 22px auto;
  z-index: 9998;
  width: min(430px, calc(100vw - 44px));
  height: min(650px, calc(100vh - 44px));
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.48);
  border-radius: 2px;
  background: var(--cc-paper);
  box-shadow: var(--cc-shadow);
  color: var(--cc-ink);
  font-family: Inter, Arial, sans-serif;
}

.cc-window:not([open]) {
  display: none;
}

.cc-window[open] {
  display: flex;
  flex-direction: column;
  animation: cc-enter 220ms ease-out both;
}

.cc-window::backdrop {
  background: rgba(13, 15, 18, 0.5);
  backdrop-filter: blur(2px);
}

@keyframes cc-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.cc-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 14px 14px 18px;
  background: var(--cc-ink);
  color: var(--cc-white);
}

.cc-brand {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 15px;
}

.cc-brand img {
  display: block;
  width: 104px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.cc-header__title {
  overflow: hidden;
  color: var(--cc-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-header__subtitle {
  margin-top: 5px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  letter-spacing: 0.025em;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-header__subtitle span {
  margin-right: 4px;
  padding: 2px 5px;
  border: 1px solid rgba(201, 168, 76, 0.65);
  color: var(--cc-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.cc-header__close {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  background: transparent;
  color: var(--cc-white);
  font-family: Arial, sans-serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}

.cc-header__close:hover {
  border-color: var(--cc-gold);
  color: var(--cc-gold);
}

.cc-context {
  padding: 10px 18px;
  border-bottom: 1px solid var(--cc-line);
  background: #ede9e1;
  color: var(--cc-stone);
  font-size: 11px;
  line-height: 1.45;
}

.cc-context span {
  margin-right: 5px;
  color: #96762d;
}

.cc-messages {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 12px;
  min-height: 130px;
  padding: 20px 18px 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(26, 26, 26, 0.25) transparent;
  scrollbar-width: thin;
}

.cc-messages::-webkit-scrollbar {
  width: 5px;
}

.cc-messages::-webkit-scrollbar-thumb {
  background: rgba(26, 26, 26, 0.25);
}

.cc-msg {
  max-width: 87%;
  padding: 11px 13px;
  border-radius: 2px;
  font-size: 13.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.cc-msg--bot {
  align-self: flex-start;
  border: 1px solid var(--cc-line);
  border-left: 2px solid var(--cc-gold);
  background: var(--cc-white);
  color: var(--cc-ink);
  box-shadow: 0 4px 14px rgba(13, 15, 18, 0.045);
}

.cc-msg--user {
  align-self: flex-end;
  background: var(--cc-ink);
  color: var(--cc-white);
}

.cc-msg--typing {
  display: flex;
  align-self: flex-start;
  gap: 5px;
  padding: 14px 16px;
  border: 1px solid var(--cc-line);
  border-left: 2px solid var(--cc-gold);
  background: var(--cc-white);
}

.cc-msg--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cc-gold);
  animation: cc-dot 1.25s infinite ease-in-out;
}

.cc-msg--typing span:nth-child(2) { animation-delay: 130ms; }
.cc-msg--typing span:nth-child(3) { animation-delay: 260ms; }

@keyframes cc-dot {
  0%, 70%, 100% { opacity: 0.35; transform: translateY(0); }
  35% { opacity: 1; transform: translateY(-3px); }
}

.cc-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 4px 18px 12px;
}

.cc-quick-replies[hidden] {
  display: none;
}

.cc-quick-reply {
  padding: 8px 10px;
  border: 1px solid rgba(26, 26, 26, 0.24);
  border-radius: 0;
  background: transparent;
  color: var(--cc-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 11.5px;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.cc-quick-reply:hover {
  border-color: var(--cc-gold);
  background: rgba(201, 168, 76, 0.09);
}

.cc-privacy {
  padding: 8px 18px 9px;
  border-top: 1px solid var(--cc-line);
  background: rgba(255, 255, 255, 0.42);
  color: var(--cc-stone);
  font-size: 9.5px;
  line-height: 1.42;
}

.cc-privacy a {
  color: var(--cc-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cc-input-area {
  display: flex;
  flex: 0 0 auto;
  align-items: flex-end;
  gap: 9px;
  padding: 12px 14px 14px 18px;
  border-top: 1px solid var(--cc-line);
  background: var(--cc-white);
}

.cc-input {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  max-height: 96px;
  resize: none;
  padding: 10px 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.32);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--cc-ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.cc-input::placeholder {
  color: #89857e;
}

.cc-input:focus {
  border-bottom-color: var(--cc-gold);
}

.cc-input:disabled {
  opacity: 0.65;
}

.cc-send {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--cc-gold);
  border-radius: 0;
  background: var(--cc-gold);
  color: var(--cc-ink);
  cursor: pointer;
  transition: background 160ms ease, opacity 160ms ease;
}

.cc-send:hover:not(:disabled) {
  background: #d7b957;
}

.cc-send:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.cc-send svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cc-cta {
  display: block;
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid var(--cc-gold);
  border-radius: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.cc-cta--primary {
  background: var(--cc-gold);
  color: var(--cc-ink);
}

.cc-cta--ghost {
  background: transparent;
  color: var(--cc-ink);
}

.cc-image-card {
  position: relative;
  margin: 12px 0 0;
  overflow: hidden;
  border: 1px solid var(--cc-line);
}

.cc-image-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.cc-image-card figcaption {
  padding: 7px 9px;
  background: var(--cc-ink);
  color: var(--cc-white);
  font-size: 10.5px;
  letter-spacing: 0.025em;
}

@media (max-width: 720px) {
  body.cc-chat-open {
    overflow: hidden;
  }

  .cc-trigger {
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    min-height: 52px;
    padding: 8px 11px 8px 9px;
  }

  .cc-trigger__mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .cc-trigger__copy small {
    display: none;
  }

  .cc-window {
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: 100vw;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .cc-header {
    min-height: 76px;
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .cc-brand {
    gap: 11px;
  }

  .cc-brand img {
    width: 86px;
  }

  .cc-header__title {
    font-size: 18px;
  }

  .cc-header__subtitle {
    font-size: 9px;
  }

  .cc-context {
    padding: 9px 15px;
  }

  .cc-messages {
    padding: 16px 15px 10px;
  }

  .cc-quick-replies {
    padding: 3px 15px 10px;
  }

  .cc-privacy {
    padding-right: 15px;
    padding-left: 15px;
  }

  .cc-input-area {
    padding: 10px 13px calc(12px + env(safe-area-inset-bottom)) 15px;
  }
}

@media (max-width: 380px) {
  .cc-header__subtitle {
    display: none;
  }

  .cc-brand img {
    width: 80px;
  }

  .cc-trigger__copy strong {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-window[open],
  .cc-msg--typing span,
  .cc-trigger {
    animation: none;
    transition: none;
  }
}
