.cookie-consent-root {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.cookie-consent-root.show { display: flex; }
.cookie-consent-root[hidden], .cookie-consent-root [hidden] { display: none !important; }
.cookie-consent-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24,24,27,.50);
  backdrop-filter: blur(3px);
}
.cookie-banner-center {
  position: relative;
  width: min(92vw, 560px);
  border: 1px solid rgba(255,241,220,.28);
  border-radius: 24px;
  padding: 0;
  background: linear-gradient(135deg, #14532D, #18181B 58%, #B45309);
  color: #FFF1DC;
  box-shadow: 0 30px 90px rgba(24,24,27,.42);
  opacity: 0;
  transform: translateY(18px) scale(.98);
  transition: opacity .3s ease, transform .3s ease;
  overflow: hidden;
}
.cookie-consent-root.show .cookie-banner-center { opacity: 1; transform: translateY(0) scale(1); }
.cookie-main, .cookie-settings-panel { padding: 28px; }
.cookie-header-row { display: flex; align-items: center; gap: 8px; }
.cookie-title { color: #FFF1DC; margin: 0 0 10px; font-size: 24px; font-weight: 800; line-height: 1.2; }
.cookie-header-row .cookie-title { margin-bottom: 0; }
.cookie-text { color: rgba(255,241,220,.88); font-size: 16px; line-height: 1.55; margin: 0 0 18px; }
.cookie-text a { color: #FFF1DC; text-decoration: underline; }
.cookie-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn { border: 0; border-radius: 999px; padding: 11px 17px; font-weight: 800; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
.cookie-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.cookie-btn.accept { background: #FFF1DC; color: #14532D; }
.cookie-btn.reject { background: rgba(255,255,255,.10); color: #FFF1DC; border: 1px solid rgba(255,241,220,.28); }
.cookie-btn.manage { background: #B45309; color: #FFF1DC; }
.cookie-save { width: 100%; margin-top: 18px; }
.cookie-back-btn, .cookie-close { border: 0; background: transparent; color: #FFF1DC; cursor: pointer; }
.cookie-back-btn { font-size: 22px; line-height: 1; padding: 4px 8px 4px 0; }
.cookie-close { position: absolute; top: 12px; right: 16px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; font-size: 26px; line-height: 28px; }
.cookie-close:hover { background: rgba(255,241,220,.12); }
.cookie-toggle-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(255,241,220,.16); }
.toggle-title { color: #FFF1DC; font-weight: 800; }
.toggle-desc { color: rgba(255,241,220,.72); font-size: 13px; line-height: 1.35; }
.toggle-switch { display: inline-flex; align-items: center; flex: 0 0 auto; }
.toggle-switch input { position: absolute; opacity: 0; pointer-events: none; }
.slider { width: 48px; height: 26px; border-radius: 999px; display: inline-block; background: rgba(255,255,255,.18); position: relative; transition: .2s; }
.slider:before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: #FFF1DC; position: absolute; left: 3px; top: 3px; transition: .2s; }
.toggle-switch input:checked + .slider { background: #B45309; }
.toggle-switch input:checked + .slider:before { transform: translateX(22px); }
.cookie-icon { position: fixed; left: 24px; bottom: 24px; width: 52px; height: 52px; border: 0; border-radius: 50%; background: linear-gradient(135deg, #14532D, #B45309); color: #FFF1DC; display: none; align-items: center; justify-content: center; font-size: 24px; z-index: 99999; box-shadow: 0 16px 40px rgba(24,24,27,.28); cursor: pointer; }
.cookie-icon.show { display: flex; }
@media (max-width: 575px) {
  .cookie-main, .cookie-settings-panel { padding: 24px 18px; }
  .cookie-buttons { flex-direction: column; }
  .cookie-btn { width: 100%; }
  .cookie-toggle-item { align-items: flex-start; }
}
