/* แบนเนอร์และกล่องตั้งค่าคุกกี้ — ใช้ฟอนต์ Prompt, ปุ่มทรงแคปซูลสูง 44px, สีตาม Design Brief */
.acc-consent[hidden],.acc-consent-overlay[hidden]{display:none!important}
.acc-consent{position:fixed;left:16px;right:16px;bottom:16px;z-index:10001;max-width:880px;margin:0 auto;display:flex;flex-wrap:wrap;gap:14px 24px;align-items:center;justify-content:space-between;
  background:#fff;color:var(--ink,#30323A);border:1.25px solid var(--border,#CCCCCC);border-radius:20px;padding:18px 22px;box-shadow:rgba(0,0,0,.18) 0 12px 30px 0;font-family:'Prompt',system-ui,sans-serif}
.acc-consent-text{flex:1 1 360px;min-width:0}
.acc-consent-text strong{display:block;font-size:16px;font-weight:600;margin-bottom:4px}
.acc-consent-text p{margin:0;font-size:14px;line-height:1.65;color:var(--muted,#555);text-wrap:balance}
.acc-consent-text a{color:var(--primary,#337AB7);text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
.acc-consent-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.acc-consent-actions.end{justify-content:flex-end;margin-top:20px}
.acc-btn{min-height:44px;padding:0 22px;border-radius:50px;border:1.25px solid var(--ink,#30323A);background:var(--ink,#30323A);color:#fff;font:500 14px/1 'Prompt',system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.acc-btn:hover{background:#44464f;border-color:#44464f}
.acc-btn.ghost{background:#fff;color:var(--ink,#30323A)}
.acc-btn.ghost:hover{background:var(--alt,#EEEEEE)}
.acc-btn:focus-visible,.acc-switch:focus-visible,.acc-x:focus-visible,.acc-consent a:focus-visible{outline:2px solid var(--primary,#337AB7);outline-offset:2px}
@media (max-width:560px){
  .acc-consent{left:10px;right:10px;bottom:10px;padding:16px}
  .acc-consent-actions{width:100%}
  .acc-consent-actions .acc-btn{flex:1 1 100%}
}

.acc-consent-overlay{position:fixed;inset:0;z-index:10002;background:rgba(48,50,58,.55);display:flex;align-items:center;justify-content:center;padding:16px;font-family:'Prompt',system-ui,sans-serif}
.acc-consent-dlg{width:100%;max-width:520px;max-height:100%;overflow:auto;background:#fff;color:var(--ink,#30323A);border-radius:20px;padding:22px 24px;box-shadow:rgba(0,0,0,.25) 0 20px 50px 0}
.acc-dlg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.acc-dlg-head h2{margin:0;font-size:20px;font-weight:700}
.acc-x{width:44px;height:44px;border-radius:50%;border:1.25px solid var(--border,#CCCCCC);background:#fff;color:var(--ink,#30323A);font-size:24px;line-height:1;cursor:pointer}
.acc-x:hover{background:var(--alt,#EEEEEE)}
.acc-row{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;padding:16px 0;border-top:1px solid var(--border,#CCCCCC)}
.acc-row b{font-size:15px;font-weight:600}
.acc-row p{margin:4px 0 0;font-size:13.5px;line-height:1.6;color:var(--muted,#555)}
.acc-always{flex:none;font-size:13px;padding:6px 14px;border-radius:50px;background:var(--input,#ECEEF1);color:var(--muted,#555);white-space:nowrap}
.acc-switch{flex:none;position:relative;width:56px;height:44px;border:0;background:none;cursor:pointer;padding:0}
.acc-switch::before{content:"";position:absolute;left:0;top:7px;width:56px;height:30px;border-radius:50px;background:var(--border,#CCCCCC);transition:background .15s}
.acc-switch::after{content:"";position:absolute;left:4px;top:11px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .15s}
.acc-switch[aria-checked="true"]::before{background:var(--primary,#337AB7)}
.acc-switch[aria-checked="true"]::after{transform:translateX(26px)}
@media (prefers-reduced-motion:reduce){.acc-switch::before,.acc-switch::after{transition:none}}
