

#cookie-banner :focus-visible,
.cb-panel :focus-visible {
  outline: 2px solid #7ed8dc;
  outline-offset: 3px;
}
#cookie-banner :focus:not(:focus-visible),
.cb-panel :focus:not(:focus-visible) { outline: none; }

.cb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(26,21,16,0.62);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cb-overlay.is-open { display: flex; }

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #1A1510;
  color: #F6F1EB;
  border-top: 2px solid #2E6B6F;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
  padding: 1.25rem 2rem;
}
#cookie-banner.is-hidden { display: none; }

.cb-banner__inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cb-banner__text {
  flex: 1 1 340px;
}
.cb-banner__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #F6F1EB;
  margin-bottom: 0.35rem;
}
.cb-banner__desc {
  font-size: 0.82rem;
  color: #b8a898;
  line-height: 1.6;
  margin: 0;
}
.cb-banner__desc a {
  color: #7ed8dc;
  text-decoration: underline;
}

.cb-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  flex-shrink: 0;
}

.cb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
}
.cb-btn--accept {
  background-color: #2E6B6F;
  color: #F6F1EB;
}
.cb-btn--accept:hover { background-color: #245759; }

.cb-btn--reject {
  background-color: transparent;
  color: #F6F1EB;
  border: 1.5px solid rgba(246,241,235,0.3);
}
.cb-btn--reject:hover { border-color: rgba(246,241,235,0.6); }

.cb-btn--customize {
  background-color: transparent;
  color: #a09080;
  border: 1.5px solid transparent;
  padding-inline: 0.75rem;
}
.cb-btn--customize:hover { color: #F6F1EB; }

.cb-panel {
  background-color: #F6F1EB;
  color: #1A1510;
  border-radius: 8px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.cb-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(26,21,16,0.1);
}
.cb-panel__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A1510;
  margin: 0;
}
.cb-panel__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  color: #7D6E5E;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cb-panel__close:hover { color: #1A1510; }
.cb-panel__close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; }

.cb-panel__body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cb-panel__intro {
  font-size: 0.83rem;
  color: #7D6E5E;
  line-height: 1.65;
  margin: 0 0 0.25rem;
}

.cb-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background-color: #f0ebe4;
  border-radius: 4px;
  border: 1px solid rgba(26,21,16,0.07);
}
.cb-category--locked { opacity: 0.65; }
.cb-category__info { flex: 1; }
.cb-category__name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1A1510;
  margin-bottom: 0.2rem;
}
.cb-category__desc {
  font-size: 0.75rem;
  color: #7D6E5E;
  line-height: 1.55;
  margin: 0;
}

.cb-toggle {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 22px;
}
.cb-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}
.cb-toggle__track {
  position: absolute;
  inset: 0;
  background-color: #c2b09a;
  border-radius: 11px;
  cursor: pointer;
}
.cb-toggle__track::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #F6F1EB;
  top: 3px;
  left: 3px;
  transition: transform 0.18s ease;
}
.cb-toggle input:checked + .cb-toggle__track {
  background-color: #2E6B6F;
}
.cb-toggle input:checked + .cb-toggle__track::after {
  transform: translateX(18px);
}
.cb-toggle input:disabled + .cb-toggle__track {
  cursor: not-allowed;
}
.cb-toggle input:focus-visible + .cb-toggle__track {
  outline: 2px solid #2E6B6F;
  outline-offset: 2px;
}

.cb-panel__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(26,21,16,0.1);
}

.cb-btn--panel-reject {
  background-color: transparent;
  color: #7D6E5E;
  border: 1.5px solid rgba(26,21,16,0.2);
}
.cb-btn--panel-reject:hover { border-color: rgba(26,21,16,0.45); color: #1A1510; }
.cb-btn--panel-save {
  background-color: #2E6B6F;
  color: #F6F1EB;
}
.cb-btn--panel-save:hover { background-color: #245759; }

@media (max-width: 640px) {
  #cookie-banner { padding: 0.75rem 1rem; }

  .cb-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .cb-banner__desc { display: none; }
  .cb-banner__title { font-size: 0.85rem; margin-bottom: 0; }
  .cb-banner__text { flex: unset; }

  .cb-banner__actions {
    flex-direction: row;       
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .cb-btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    padding: 0.55rem 0.6rem;
    font-size: 0.7rem;
  }
  
  .cb-btn--customize { flex: 0 0 100%; text-align: center; }

  .cb-panel { border-radius: 8px 8px 0 0; }
  .cb-overlay { align-items: flex-end; padding: 0; }
}

.cb-overlay { color: #ffffff !important; }
.cb-btn--accept:hover { color: #ffffff !important; }
.cb-toggle input:checked + .cb-toggle__track { color: #ffffff !important; }
.cb-btn--panel-save:hover { color: #ffffff !important; }


/* wh-contrast-fix */
/* Auto-injected: text color did not meet 4.5:1 against declared background. */
.cb-overlay { color: #ffffff !important; }
.cb-btn--accept:hover { color: #ffffff !important; }
.cb-toggle input:checked + .cb-toggle__track { color: #ffffff !important; }
.cb-btn--panel-save:hover { color: #ffffff !important; }
