/* Simple Cookie Consent – card style */
.scc-wrap{position:fixed;z-index:99999;box-sizing:border-box;font-family:inherit}
.scc-wrap[hidden],.scc-float[hidden]{display:none!important}
.scc-wrap *,.scc-wrap *::before,.scc-wrap *::after{box-sizing:border-box}
.scc-wrap--bottom-left{left:24px;bottom:24px}
.scc-wrap--bottom-right{right:24px;bottom:24px}
.scc-wrap--center{inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(0,0,0,.45)}
.scc-wrap--center:not(.scc-wrap--overlay){background:rgba(0,0,0,.35)}

.scc-card{position:relative;width:100%;max-width:564px;max-height:calc(100vh - 48px);overflow-y:auto;padding:32px 30px 26px;background:var(--scc-bg);color:var(--scc-text);border-radius:22px;box-shadow:0 12px 40px rgba(0,0,0,.25)}
.scc-wrap--bottom-left .scc-card,.scc-wrap--bottom-right .scc-card{width:564px;max-width:calc(100vw - 48px)}
.scc-card--prefs{max-width:600px}

.scc-close{position:absolute;top:30px;right:30px;display:flex;align-items:center;justify-content:center;width:54px;height:54px;padding:0;border:0;border-radius:50%;background:#1d4ed8;color:#ffffff;cursor:pointer;transition:background .15s}
.scc-close:hover{background:#e2e2e2}

.scc-title{margin:21px 72px 7px 0;font-family:inherit;font-size:33px;font-weight:700;line-height:1.1;letter-spacing:-.03em;color:var(--scc-text);text-transform:none}
.scc-title--small{margin:8px 72px 16px 0;font-size:34px}
.scc-text{margin:0 0 0px;font-size:19px;line-height:1.6;color:var(--scc-text)}
.scc-policy{margin:0 0 24px;font-size:19px;line-height:1.5;color:var(--scc-text)}
.scc-policy a{color:inherit;text-decoration:underline;text-underline-offset:3px}

.scc-actions{display:flex;flex-direction:column;align-items:stretch;gap:10px}
.scc-btn{display:block;width:100%;min-height:60px;padding:14px 24px;border:0;border-radius:999px;background:#1d4ed8;color:var(--scc-btn-text);font-family:inherit;font-size:19px;font-weight:700;line-height:1.2;letter-spacing:0;text-transform:none;cursor:pointer;transition:opacity .15s}
.scc-btn:hover{opacity:.82}
.scc-link{align-self:center;margin-top:12px;padding:6px;border:0;background:none;color:var(--scc-text);font-family:inherit;font-size:19px;font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.scc-link:hover{text-decoration-thickness:2px}

.scc-btn:focus-visible,.scc-link:focus-visible,.scc-close:focus-visible,.scc-float:focus-visible{outline:3px solid var(--scc-btn);outline-offset:3px}

/* Preferences panel */
.scc-cat{padding:16px 0;border-top:1px solid rgba(0,0,0,.12)}
.scc-cat:last-of-type{margin-bottom:18px;border-bottom:1px solid rgba(0,0,0,.12)}
.scc-cat p{margin:6px 0 0;font-size:15px;line-height:1.55;color:var(--scc-text)}
.scc-cat__head{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:17px;cursor:pointer}
.scc-cat__note{font-size:13px!important;font-weight:600;opacity:.75}
.scc-switch input:disabled{cursor:not-allowed}
.scc-switch input:disabled+span{opacity:.5}
.scc-cat__always{font-size:14px;font-weight:600;opacity:.65}
.scc-switch{position:relative;width:48px;height:28px;flex-shrink:0}
.scc-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.scc-switch span{position:absolute;inset:0;border-radius:28px;background:#c8c8c8;transition:background .2s;pointer-events:none}
.scc-switch span::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .2s}
.scc-switch input:checked+span{background:var(--scc-btn)}
.scc-switch input:checked+span::after{transform:translateX(20px)}
.scc-switch input:focus-visible+span{outline:3px solid var(--scc-btn);outline-offset:2px}

/* Optional floating icon */
.scc-float{position:fixed;bottom:20px;z-index:99998;display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#1d4ed8;color:var(--scc-btn-text);box-shadow:0 4px 14px rgba(0,0,0,.25);cursor:pointer}
.scc-float--left{left:20px}
.scc-float--right{right:20px}

/* Tablet & mobile */
@media (max-width:640px){
  .scc-wrap--bottom-left,.scc-wrap--bottom-right{left:10px;right:10px;bottom:10px}
  .scc-wrap--bottom-left .scc-card,.scc-wrap--bottom-right .scc-card{width:100%;max-width:100%}
  .scc-card{padding:22px 20px 18px;border-radius:18px;max-height:calc(100vh - 20px)}
  .scc-close{top:16px;right:16px;width:42px;height:42px}
  .scc-title{margin:10px 52px 18px 0;font-size:30px}
  .scc-title--small{font-size:26px}
  .scc-text,.scc-policy{font-size:15px;margin-bottom:16px}
  .scc-btn{min-height:50px;font-size:16px}
  .scc-link{font-size:16px;margin-top:6px}
}
@media (prefers-reduced-motion:reduce){.scc-btn,.scc-close,.scc-switch span,.scc-switch span::after{transition:none}}
