/* Cookie modal (unique + highly clickable) */
.cookie-overlay{
  position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:99999;padding:16px;
  background:rgba(15,23,42,.60);
  backdrop-filter: blur(10px);
}
.cookie-overlay[hidden]{display:none !important}

.cookie-card{
  width:100%;max-width:820px;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.92);
  color:#0f172a;box-shadow:0 30px 100px rgba(0,0,0,.40);
  transform:translateY(10px) scale(.98);opacity:0;transition:transform .22s ease, opacity .22s ease;
  position:relative;
  font-family: inherit;
}
.cookie-overlay:not([hidden]) .cookie-card{transform:translateY(0) scale(1);opacity:1;}

/* close button */
.cookie-x{
  appearance:none;border:0;background:rgba(15,23,42,.06);
  width:44px;height:44px;border-radius:999px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  position:absolute;top:14px;right:14px;z-index:2;
  transition:transform .15s ease, background .15s ease;
}
.cookie-x:hover{background:rgba(15,23,42,.10);transform:scale(1.04)}
.cookie-x:active{transform:scale(.98)}
.cookie-x:focus-visible{outline:3px solid rgba(211,47,47,.35);outline-offset:2px}

.cookie-grid{
  display:grid;
  grid-template-columns: 310px 1fr;
  gap:0;
}

.cookie-side{
  padding:26px 24px;
  background:
    radial-gradient(1200px 300px at -10% -10%, rgba(211,47,47,.30), rgba(255,255,255,0) 55%),
    radial-gradient(900px 260px at 120% 10%, rgba(211,47,47,.14), rgba(255,255,255,0) 55%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.70));
  border-right:1px solid rgba(15,23,42,.08);
}

.cookie-mark{
  width:52px;height:52px;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg, rgba(211,47,47,.16), rgba(211,47,47,.10));
  color:#D32F2F;
}
.cookie-side-title{margin-top:14px;font-weight:900;font-size:20px;letter-spacing:.2px}
.cookie-side-sub{margin-top:4px;font-size:12px;color:rgba(15,23,42,.65)}

.cookie-points{margin-top:18px;display:grid;gap:10px;padding:0;list-style:none}
.cookie-points li{display:flex;align-items:center;gap:10px;font-weight:700;font-size:13px;color:rgba(15,23,42,.80)}
.cookie-points .material-symbols-outlined{font-size:20px;color:rgba(34,197,94,.85)}

.cookie-main{padding:24px 22px 18px 22px}
.cookie-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-right:54px}
.cookie-title{display:flex;align-items:center;gap:12px}
.cookie-badge{
  width:40px;height:40px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;
  background:rgba(211,47,47,.14);color:#D32F2F
}
.cookie-body{margin-top:10px}
.cookie-body p{margin:0}

.cookie-actions{
  display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;
}

.cookie-btn{
  appearance:none;border:1px solid rgba(15,23,42,.12);
  border-radius:14px;
  padding:12px 16px;
  font-weight:900;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  min-width:180px;
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  user-select:none;
}
.cookie-btn .material-symbols-outlined{font-size:20px}
.cookie-btn:hover{transform:translateY(-1px)}
.cookie-btn:active{transform:translateY(0) scale(.99)}
.cookie-btn:focus-visible{outline:3px solid rgba(211,47,47,.35);outline-offset:2px}

.cookie-btn-primary{
  background:linear-gradient(135deg, #D32F2F, #FF5252);
  border-color:transparent;
  color:#fff;
  box-shadow:0 16px 36px rgba(211,47,47,.34);
}
.cookie-btn-primary:hover{box-shadow:0 22px 46px rgba(211,47,47,.40)}

.cookie-btn-ghost{background:#fff}
.cookie-btn-ghost:hover{box-shadow:0 10px 26px rgba(15,23,42,.12)}

.cookie-foot{
  margin-top:14px;
  display:flex;align-items:center;gap:8px;
  font-size:12px;color:rgba(15,23,42,.60)
}
.cookie-foot .material-symbols-outlined{font-size:18px}

/* responsive */
@media (max-width: 820px){
  .cookie-grid{grid-template-columns:1fr}
  .cookie-side{border-right:0;border-bottom:1px solid rgba(15,23,42,.08)}
  .cookie-top{padding-right:0}
  .cookie-btn{min-width: 1px;flex:1}
}

body.cookie-locked{overflow:hidden !important}

/* Mobile menu */
#mobileMenuOverlay{position:fixed;inset:0;background:rgba(15,23,42,.55);backdrop-filter: blur(6px);z-index:99998;
  display:flex;align-items:flex-start;justify-content:flex-end;padding:16px}
#mobileMenuOverlay[hidden]{display:none !important}
#mobileMenuPanel{width:100%;max-width:340px;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.35);overflow:hidden}
#mobileMenuPanel .top{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px 14px;border-bottom:1px solid rgba(15,23,42,.10)}
#mobileMenuPanel a{display:block;padding:12px 14px;font-weight:700}
#mobileMenuPanel a:hover{background:rgba(15,23,42,.04)}
