.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10080;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
  padding: 16px 0;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 260px;
}
.cookie-banner__text i { font-size: 28px; color: #ff6b35; flex-shrink: 0; }
.cookie-banner__text p { margin: 0; font-size: 13px; line-height: 1.55; color: #475569; font-weight: 600; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-btn {
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.cookie-btn--primary { background: #ff6b35; color: #fff; }
.cookie-btn--primary:hover { background: #e0531b; }
.cookie-btn--outline { background: #fff; color: #0f172a; border: 1.5px solid #e2e8f0; }
.cookie-btn--outline:hover { border-color: #ff6b35; color: #ff6b35; }
.cookie-btn--ghost { background: #f1f5f9; color: #475569; }
.cookie-btn--ghost:hover { background: #e2e8f0; }
.cookie-link { color: #ff6b35; font-weight: 800; text-decoration: underline; }

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10090;
  background: rgba(15, 23, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.cookie-modal.is-visible { opacity: 1; visibility: visible; }
.cookie-modal__panel {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 28px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #94a3b8;
}
.cookie-modal__title { font-size: 20px; font-weight: 900; color: #0f172a; margin: 0 0 8px; }
.cookie-modal__intro { font-size: 13px; color: #64748b; line-height: 1.5; margin-bottom: 20px; }
.cookie-pref {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
.cookie-pref__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.cookie-pref__head strong { font-size: 14px; color: #0f172a; }
.cookie-pref p { margin: 0; font-size: 12px; color: #64748b; line-height: 1.45; }
.cookie-pref__badge { font-size: 10px; font-weight: 800; text-transform: uppercase; color: #1e877e; background: rgba(46, 196, 182, 0.12); padding: 4px 8px; border-radius: 6px; }
.cookie-modal__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.cookie-switch { position: relative; display: inline-block; width: 44px; height: 24px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch span {
  position: absolute; inset: 0; background: #cbd5e1; border-radius: 24px; cursor: pointer; transition: 0.2s;
}
.cookie-switch span:before {
  content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: 0.2s;
}
.cookie-switch input:checked + span { background: #ff6b35; }
.cookie-switch input:checked + span:before { transform: translateX(20px); }

@media (max-width: 640px) {
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .cookie-btn { flex: 1; min-width: calc(50% - 4px); }
}
