/* Cookie choice bar. The colors are fixed so that the bar looks the same on the storefront and on each calculator page. */
.ck{position:fixed;z-index:10000;left:50%;bottom:max(10px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(680px,calc(100% - 20px));box-sizing:border-box;background:#14171f;color:#fbfaf7;border:1px solid #3a4150;border-radius:14px;box-shadow:0 12px 36px rgba(0,0,0,.28);font:13px/1.5 system-ui,-apple-system,"Segoe UI",sans-serif;padding:12px 16px}
.ck[hidden]{display:none}
.ck-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ck-text{margin:0;flex:1;min-width:0;flex-basis:280px;color:#e5e7eb}
.ck-btns{display:flex;gap:8px;margin-left:auto}
.ck-btns button,.ck-more button{min-height:44px;border-radius:10px;padding:10px 16px;border:1px solid #4b5563;background:#262b36;color:#fbfaf7;font:700 13px system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.ck-btns button:first-child{background:#f59e0b;border-color:#f59e0b;color:#14171f}
.ck-btns button:hover,.ck-more button:hover{background:#fde68a;border-color:#fde68a;color:#14171f}
.ck button:focus-visible,.ck a:focus-visible,.ck input:focus-visible{outline:2px solid #fbbf24;outline-offset:2px}
.ck .ck-more-btn{display:inline-flex;background:transparent;color:#fbbf24;border:0;min-height:44px;padding:0 4px;text-decoration:underline;text-underline-offset:4px;font:700 13px system-ui,-apple-system,"Segoe UI",sans-serif;cursor:pointer}
.ck-more{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:8px;padding-top:10px;border-top:1px solid #3a4150}
.ck-more[hidden]{display:none}
.ck-more a{display:inline-flex;align-items:center;min-height:44px;color:#fbbf24;text-decoration:underline}
.ck-switch{display:inline-flex;align-items:center;gap:10px;min-height:44px;cursor:pointer}
.ck-switch input{appearance:none;-webkit-appearance:none;width:36px;height:22px;min-height:22px;margin:0;border:1px solid #4b5563;border-radius:999px;background:#374151;position:relative;cursor:pointer;transition:background .2s}
.ck-switch input:after{content:'';position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fbfaf7;transition:transform .2s}
.ck-switch input:checked{background:#f59e0b;border-color:#f59e0b}
.ck-switch input:checked:after{transform:translateX(14px);background:#14171f}
.ck-switch input:disabled{opacity:.45}
.ck-settings-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;background:transparent;border:0;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
@media(max-width:520px){.ck{padding:10px 12px;font-size:12px}.ck-text{flex-basis:150px}.ck-btns{gap:6px}.ck-btns button{padding-inline:12px}}
@media(max-width:360px){.ck-row{gap:4px}.ck .ck-text{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.ck-switch input,.ck-switch input:after{transition:none}}
