.cookie-consent-root {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  top: auto !important;
  z-index: 100000 !important;
  pointer-events: none;
  display: block;
}
.cookie-consent-root.is-visible,
.cookie-consent-root:not([hidden]) {
  pointer-events: auto;
}
.cookie-consent-root[hidden] {
  display: none !important;
}

.cookie-consent {
  width: 100%;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -10px 36px rgba(15, 23, 42, 0.16);
}
.cookie-consent__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom, 0px));
}
.cookie-consent__text {
  flex: 1 1 280px;
  min-width: 0;
}
.cookie-consent__icon {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  margin-right: 4px;
  vertical-align: -0.1em;
}
.cookie-consent__text strong {
  display: block;
  font-size: 0.95rem;
  color: #0f172a;
}
.cookie-consent__text p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.45;
}
.cookie-consent__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-consent__btn {
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.cookie-consent__btn--primary {
  background: #f97316;
  color: #fff;
  border-color: #ea580c;
}
.cookie-consent__btn--primary:hover {
  background: #ea580c;
  border-color: #c2410c;
}
.cookie-consent__btn--outline {
  background: #fff;
  color: #334155;
  border-color: #cbd5e1;
}
.cookie-consent__btn--ghost {
  background: transparent;
  color: #64748b;
  border-color: transparent;
}

.cookie-consent-prefs {
  width: 100%;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.06);
}
.cookie-consent-prefs[hidden] {
  display: none !important;
}
.cookie-consent-prefs__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 18px 10px;
}
.cookie-consent-prefs__title {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: #0f172a;
}
.cookie-consent-pref {
  margin-bottom: 8px;
}
.cookie-consent-pref label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #334155;
  line-height: 1.4;
}
.cookie-consent-prefs__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  padding-bottom: 4px;
}

@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .cookie-consent__actions {
    width: 100%;
    justify-content: stretch;
  }
  .cookie-consent__actions .cookie-consent__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}
