/* Brand overrides for vanilla-cookieconsent — Réductions Privées */

:root {
  --cc-bg: #fff;
  --cc-text: #283934;
  --cc-btn-primary-bg: #283934;
  --cc-btn-primary-text: #F0ECE2;
  --cc-btn-primary-hover-bg: #1a2622;
  --cc-btn-primary-hover-text: #F0ECE2;
  --cc-btn-secondary-bg: transparent;
  --cc-btn-secondary-text: #283934;
  --cc-btn-secondary-hover-bg: #F0ECE2;
  --cc-btn-secondary-hover-text: #283934;
  --cc-btn-secondary-border-color: #283934;
  --cc-toggle-bg-off: #CDC1A1;
  --cc-toggle-bg-on: #283934;
  --cc-toggle-bg-readonly: #B69B57;
  --cc-toggle-knob-bg: #fff;
  --cc-cookie-category-block-bg: #F0ECE2;
  --cc-cookie-category-block-bg-hover: #e8e2d4;
  --cc-overlay-bg: rgba(40, 57, 52, 0.65);
  --cc-link-color: #B69B57;
  --cc-separator-border-color: #CDC1A1;
}

/* Font */
#cc-main {
  font-family: 'Poppins', sans-serif;
}

/* Bar layout — full width bottom */
#cc-main .cm {
  border-radius: 0;
  box-shadow: 0 -2px 16px rgba(40, 57, 52, 0.1);
  max-width: 100%;
}

#cc-main .cm__body {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
}

#cc-main .cm__texts {
  flex: 1;
}

#cc-main .cm__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

#cc-main .cm__desc {
  font-size: 14px;
  line-height: 1.5;
}

#cc-main .cm__btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
#cc-main .cm__btn,
#cc-main .pm__btn {
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 10px 20px;
  white-space: nowrap;
}

#cc-main .cm__btn--secondary,
#cc-main .pm__btn--secondary {
  border: 1.5px solid #283934;
}

/* Preferences link — gold accent */
#cc-main .cm__link {
  color: #B69B57;
  font-weight: 500;
}

#cc-main .cm__link:hover {
  color: #9a8349;
}

/* Preferences modal */
#cc-main .pm {
  border-radius: 8px;
}

#cc-main .pm__title {
  font-weight: 600;
}

#cc-main .pm__section {
  border-bottom-color: #CDC1A1;
}

/* Links */
#cc-main a {
  color: #B69B57;
  text-decoration: underline;
}

#cc-main a:hover {
  color: #9a8349;
}

/* Mobile — stack vertically */
@media (max-width: 640px) {
  #cc-main .cm__body {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  #cc-main .cm__btns {
    flex-wrap: wrap;
  }

  #cc-main .cm__btn {
    flex: 1;
    min-width: 0;
    text-align: center;
  }
}
