/* C'est Bon – NKOSI palette (forest green + orange) */
:root {
  --cb-green: #0A3D2A;
  --cb-green-dark: #072E20;
  --cb-green-light: #E8F5E9;
  --cb-orange: #E67E22;
  --cb-orange-dark: #D35400;
  --cb-text: #111111;
  --cb-muted: #6B7280;
  --cb-border: #E5E7EB;
  --cb-bg: #FAFAF7;
  --cb-white: #FFFFFF;
  --cb-blue: #0A3D2A; /* remap old blue var to green */
  --cb-blue-dark: #072E20;
  --cb-blue-light: #E8F5E9;
  --cb-forest: #0A3D2A;
  --cb-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { font-family: var(--cb-font-sans); color: var(--cb-text); background: var(--cb-bg); line-height: 1.5; }

/* Announcement */
.cb-announcement { position: sticky; top: 0; z-index: 1001; background: var(--cb-green) !important; color: #fff !important; font-size: 13px; font-weight: 500; width: 100%; border: none !important; }
.cb-announcement__inner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 48px 10px 16px; max-width: 1200px; margin: 0 auto; position: relative; box-sizing: border-box; }
.cb-announcement__text { text-align: center; color: #fff; flex: 1; }
.cb-announcement__close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.cb-announcement.is-hidden { display: none !important; }

/* Side padding */
.cb-hero__inner, .cb-rayons__inner, .cb-section__inner { padding-left: 16px; padding-right: 16px; box-sizing: border-box; max-width: 1100px; margin: 0 auto; }

/* Buttons */
.cb-btn, .wp-element-button, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.cb-btn--primary, .wp-element-button, .wp-block-button__link { background: var(--cb-orange) !important; color: #fff !important; border-color: var(--cb-orange) !important; }
.cb-btn--secondary { background: transparent !important; color: var(--cb-green) !important; border-color: var(--cb-green) !important; }

/* Hero */
.cb-hero { padding: 40px 0 32px; background: #FAFAF7; text-align: center; }
.cb-hero__eyebrow { font-size: 15px; color: var(--cb-green); margin: 0 0 12px; font-weight: 500; }
.cb-hero__title { font-size: clamp(28px, 7vw, 40px); font-weight: 800; line-height: 1.15; margin: 0 0 16px; }
.cb-hero__sub { font-size: 16px; color: #444; margin: 0 auto 24px; line-height: 1.5; max-width: 520px; }
.cb-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 20px; }
.cb-hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 12px; }
.cb-hero__badge { display: inline-block; background: #fff; border: 1px solid #E5E7EB; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 500; }
.cb-hero__delivery { color: #C0392B; font-size: 15px; font-weight: 600; margin: 8px 0 0; }

/* Rayons */
.cb-rayons { padding: 40px 0; background: #fff; }
.cb-rayons__title { font-size: 24px; font-weight: 800; margin: 0 0 4px; color: var(--cb-green); }
.cb-rayons__link { margin: 0 0 20px; }
.cb-rayons__link a { color: var(--cb-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cb-rayons__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb-rayons__item { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 14px; border: 1px solid #E5E7EB; border-radius: 12px; background: #fff; text-decoration: none; color: #111; font-size: 13px; font-weight: 500; }
.cb-rayons__item:hover { border-color: var(--cb-green); }
.cb-rayons__icon { font-size: 20px; }
@media (min-width: 782px) { .cb-rayons__grid { grid-template-columns: repeat(4, 1fr); } }

/* Shared section */
.cb-section { padding: 40px 0; }
.cb-section__title { font-size: 24px; font-weight: 800; margin: 0 0 8px; color: var(--cb-green); }
.cb-section__sub { font-size: 15px; color: #555; margin: 0 0 20px; }
.cb-section__link { color: var(--cb-orange); font-weight: 600; }

/* Product cards */
.cb-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cb-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.cb-card__img { aspect-ratio: 1; background: #F3F4F6; display: flex; align-items: center; justify-content: center; font-size: 40px; }
.cb-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.cb-card__title { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.3; }
.cb-card__desc { font-size: 12px; color: #6B7280; margin: 0; }
.cb-card__price { font-size: 16px; font-weight: 800; margin: 4px 0; }
.cb-card__btn { display: block; text-align: center; background: var(--cb-orange); color: #fff; font-weight: 700; font-size: 14px; padding: 10px; border-radius: 8px; text-decoration: none; margin-top: auto; }
@media (min-width: 782px) { .cb-cards { grid-template-columns: repeat(4, 1fr); } }

/* Pills */
.cb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-pill { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--cb-green); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--cb-green); text-decoration: none; background: #fff; }
.cb-pill:hover { background: var(--cb-green); color: #fff; }

/* Features */
.cb-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cb-feature { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 16px; }
.cb-feature h3 { font-size: 15px; font-weight: 700; margin: 0 0 6px; color: var(--cb-green); }
.cb-feature p { font-size: 13px; color: #555; margin: 0; line-height: 1.4; }

/* FAQ */
.cb-faq details { border-bottom: 1px solid #E5E7EB; padding: 14px 0; }
.cb-faq summary { font-weight: 700; font-size: 15px; cursor: pointer; list-style: none; }
.cb-faq details p { font-size: 14px; color: #555; margin: 8px 0 0; line-height: 1.5; }

/* Lang */
.cb-lang { display: flex; gap: 2px; margin-right: 8px; }
.cb-lang__btn { background: transparent; border: 1px solid transparent; border-radius: 6px; padding: 4px 8px; font-size: 12px; font-weight: 700; color: #6B7280; cursor: pointer; }
.cb-lang__btn.is-active { color: var(--cb-green); border-color: var(--cb-green); background: var(--cb-green-light); }

/* Header scallop */
.cb-header { position: relative; background: #fff; border-bottom: none !important; }
.cb-header::after { content: ""; display: block; height: 10px; background-image: radial-gradient(circle at 10px -2px, transparent 8px, var(--cb-green) 8.5px); background-size: 20px 12px; background-repeat: repeat-x; }

/* Newsletter */
.cb-newsletter { background: var(--cb-green); color: #fff; padding: 48px 16px; text-align: center; }
.cb-newsletter h2 { font-size: 28px; font-weight: 800; margin: 0 0 12px; color: #fff; }
.cb-newsletter p { font-size: 15px; margin: 0 0 20px; opacity: 0.9; }
.cb-newsletter__form { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; }
.cb-newsletter input[type="email"] { height: 48px; border-radius: 12px; border: 0; padding: 0 16px; font-size: 15px; }
.cb-newsletter button { height: 48px; border-radius: 12px; border: 0; background: var(--cb-orange); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
