/* NutraPathfinder — GDPR cookie consent (v1.0_20260709_938ff936)
   Theme-matched, no third-party trackers. */
.np-cc, .np-cc * { box-sizing: border-box; }
.np-cc-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 2000;
  max-width: 720px; margin: 0 auto;
  background: #f6f1ea; color: #262b36;
  border: 1px solid #e2e5ec; border-radius: 14px;
  box-shadow: 0 18px 50px rgba(20,25,35,0.28);
  padding: 22px 24px;
  font-family: 'Montserrat', system-ui, sans-serif;
  transform: translateY(140%); transition: transform 0.4s ease;
}
.np-cc-banner.is-shown { transform: translateY(0); }
.np-cc-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; margin: 0 0 6px; }
.np-cc-text { font-size: 14px; line-height: 1.6; color: #55606f; margin: 0 0 16px; }
.np-cc-text a { color: #b6532b; text-decoration: underline; }
.np-cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.np-cc-btn {
  font-family: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  padding: 11px 20px; border-radius: 6px; border: 2px solid #b6532b; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.np-cc-btn--accept { background: #b6532b; color: #fff; }
.np-cc-btn--accept:hover { background: #8f3f20; border-color: #8f3f20; }
.np-cc-btn--reject { background: #fff; color: #b6532b; }
.np-cc-btn--reject:hover { background: #b6532b; color: #fff; }
.np-cc-btn--config { background: transparent; color: #55606f; border-color: #cfd4dd; }
.np-cc-btn--config:hover { border-color: #b6532b; color: #b6532b; }

.np-cc-overlay { position: fixed; inset: 0; background: rgba(20,25,35,0.55); z-index: 2100; display: none; }
.np-cc-overlay.is-shown { display: block; }
.np-cc-modal {
  position: fixed; z-index: 2200; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 560px; max-width: 92vw; max-height: 86vh; overflow-y: auto;
  background: #fff; border-radius: 16px; padding: 30px;
  font-family: 'Montserrat', system-ui, sans-serif; color: #262b36;
  box-shadow: 0 24px 60px rgba(20,25,35,0.4); display: none;
}
.np-cc-modal.is-shown { display: block; }
.np-cc-modal h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; margin: 0 0 6px; }
.np-cc-modal > p { font-size: 14px; color: #55606f; margin: 0 0 18px; }
.np-cc-cat { border: 1px solid #e2e5ec; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.np-cc-cat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.np-cc-cat-head strong { font-size: 15px; }
.np-cc-cat p { font-size: 13px; color: #6a7180; margin: 8px 0 0; line-height: 1.55; }
.np-cc-switch { position: relative; width: 44px; height: 24px; flex: none; }
.np-cc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.np-cc-slider { position: absolute; inset: 0; background: #cfd4dd; border-radius: 24px; transition: 0.25s; cursor: pointer; }
.np-cc-slider::before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: 0.25s; }
.np-cc-switch input:checked + .np-cc-slider { background: #b6532b; }
.np-cc-switch input:checked + .np-cc-slider::before { transform: translateX(20px); }
.np-cc-switch input:disabled + .np-cc-slider { background: #b6532b; opacity: 0.5; cursor: not-allowed; }
.np-cc-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.np-cc-modal-actions .np-cc-btn { flex: 1; min-width: 140px; text-align: center; }
@media (max-width: 560px) {
  .np-cc-actions { flex-direction: column; }
  .np-cc-btn { width: 100%; }
}
