html {
  overflow-x: hidden;
}

.cookie-consent-split-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  display: flex;
  background: #faf9f7;
  border-top: 2px solid #c4501a;
  box-shadow: 0 -8px 40px rgba(15,14,13,0.18), 0 -2px 8px rgba(15,14,13,0.10);
  transform: translateY(100%);
  transition: transform 400ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cookie-consent-split-banner.cookie-consent-split-banner--visible {
  transform: translateY(0);
}

.cookie-consent-left-panel {
  flex: 1;
  padding: 28px 32px;
  border-right: 1px solid #e8e3db;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.cookie-consent-heading {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f0e0d;
  letter-spacing: -0.01em;
  margin: 0;
}

.cookie-consent-description {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8125rem;
  color: #6b6560;
  line-height: 1.6;
  margin: 0;
}

.cookie-consent-description a {
  color: #c4501a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent-right-panel {
  flex: 1;
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.cookie-consent-toggles-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-consent-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cookie-consent-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-consent-toggle-label {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #1c1a17;
}

.cookie-consent-toggle-description {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.6875rem;
  color: #a09890;
}

.cookie-consent-toggle-switch {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4a8c5c;
  background: #eaf2ec;
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

.cookie-consent-toggle-switch--locked {
  color: #4a8c5c;
}

.cookie-consent-toggle-switch-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-consent-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-consent-toggle-slider {
  width: 40px;
  height: 22px;
  background-color: #d4cdc4;
  border-radius: 9999px;
  transition: background-color 200ms ease;
  position: relative;
}

.cookie-consent-toggle-slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 200ms ease;
  box-shadow: 0 1px 4px rgba(15,14,13,0.2);
}

.cookie-consent-checkbox:checked + .cookie-consent-toggle-slider {
  background-color: #c4501a;
}

.cookie-consent-checkbox:checked + .cookie-consent-toggle-slider::after {
  transform: translateX(18px);
}

.cookie-consent-buttons-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-consent-reject-button,
.cookie-consent-accept-button,
.cookie-consent-accept-all-button {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background-color 150ms ease, transform 150ms ease;
  min-height: 36px;
  white-space: nowrap;
}

.cookie-consent-reject-button {
  background: #f4f1ec;
  color: #3a3630;
  border: 1.5px solid #d4cdc4;
}

.cookie-consent-reject-button:hover {
  background: #e8e3db;
  transform: translateY(-1px);
}

.cookie-consent-accept-button {
  background: #f4f1ec;
  color: #c4501a;
  border: 1.5px solid rgba(196, 80, 26, 0.3);
}

.cookie-consent-accept-button:hover {
  background: #fdf0ea;
  transform: translateY(-1px);
}

.cookie-consent-accept-all-button {
  background: #c4501a;
  color: white;
  border: 1.5px solid transparent;
}

.cookie-consent-accept-all-button:hover {
  background: #a03e12;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .cookie-consent-split-banner {
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
  }

  .cookie-consent-left-panel {
    border-right: none;
    border-bottom: 1px solid #e8e3db;
    padding: 20px 20px 16px;
  }

  .cookie-consent-right-panel {
    padding: 16px 20px 24px;
  }

  .cookie-consent-buttons-row {
    flex-direction: column;
  }

  .cookie-consent-reject-button,
  .cookie-consent-accept-button,
  .cookie-consent-accept-all-button {
    width: 100%;
    text-align: center;
    padding: 12px;
    min-height: 44px;
  }
}