.cookie-consent-banner[hidden] { display: none !important; }
.cookie-consent-banner {
  position: fixed; z-index: 100000; inset-inline: max(18px, calc((100vw - 1180px) / 2)); bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 22px 24px;
  border: 1px solid rgba(255,215,0,.55); border-radius: 14px; background: rgba(10,10,10,.97); color: #f5f5f5;
  box-shadow: 0 18px 54px rgba(0,0,0,.6), 0 0 20px rgba(255,215,0,.08); backdrop-filter: blur(16px);
}
.cookie-consent-copy { max-width: 640px; }
.cookie-consent-copy h2 { margin: 0 0 7px; color: #ffd700; font: 700 1.15rem/1.25 "Tajawal", "Apotek Cond", Arial, sans-serif; }
.cookie-consent-copy p { margin: 0; color: rgba(245,245,245,.78); font: 400 .95rem/1.55 "Tajawal", "Apotek Cond", Arial, sans-serif; }
.cookie-consent-actions { display: flex; flex: 0 0 auto; gap: 9px; align-items: center; }
.cookie-button { min-height: 42px; padding: 9px 13px; border: 1px solid rgba(255,215,0,.7); border-radius: 8px; cursor: pointer; font: 600 .9rem/1.2 "Tajawal", "Apotek Cond", Arial, sans-serif; transition: background .18s ease, color .18s ease; }
.cookie-button-primary { color: #111; background: #ffd700; border-color: #ffd700; }
.cookie-button-primary:hover { background: #ffe65c; }
html[dir="rtl"] .cookie-consent-copy { text-align: right; }
@media (max-width: 720px) {
  .cookie-consent-banner { inset-inline: 12px; bottom: 12px; align-items: stretch; flex-direction: column; gap: 14px; padding: 18px; }
  .cookie-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cookie-button { width: 100%; }
  .cookie-button-primary { grid-column: 1 / -1; }
}
