/* ============================================================
   Innermost Labs Cookie Consent — banner + preferences modal.
   Uses the theme's --ino-* tokens so it follows light/dark.
   ============================================================ */
.ino-cc[hidden], .ino-cc-modal[hidden] { display: none; }
.ino-cc { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9998; pointer-events: none; }
.ino-cc-banner { max-width: 430px; background: var(--ino-surface); border: 1px solid var(--ino-border); border-radius: 12px; padding: 1.2rem 1.3rem; box-shadow: 0 16px 40px var(--ino-shadow); pointer-events: auto; }
.ino-cc-title { margin: 0 0 .5rem; font-size: 18px; font-weight: 700; color: var(--ino-text); }
.ino-cc-desc { margin: 0 0 1rem; font-size: 13.5px; line-height: 1.5; color: var(--ino-muted); }
.ino-cc-desc a { color: var(--wp--preset--color--primary); }
.ino-cc-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.ino-cc-btn { border-radius: 8px; padding: .6rem 1.1rem; font-weight: 700; font-size: 13.5px; cursor: pointer; border: 1px solid transparent; flex: 1 1 auto; }
.ino-cc-ghost { background: transparent; color: var(--ino-text); border-color: var(--ino-border); }
.ino-cc-ghost:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.ino-cc-primary { background: var(--wp--preset--color--primary); color: #fff; }
.ino-cc-primary:hover { background: #a81212; }
.ino-cc-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.ino-cc-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.ino-cc-dialog { position: relative; width: 100%; max-width: 560px; max-height: 85vh; display: flex; flex-direction: column; background: var(--ino-surface); border: 1px solid var(--ino-border); border-radius: 12px; box-shadow: 0 20px 60px var(--ino-shadow); }
.ino-cc-dhead { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--ino-border-soft); }
.ino-cc-dhead h2 { margin: 0; font-size: 18px; font-weight: 700; color: var(--ino-text); }
.ino-cc-close { background: none; border: 0; color: var(--ino-muted); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ino-cc-close:hover { color: var(--ino-text); }
.ino-cc-cbody { overflow: auto; padding: 1.1rem 1.3rem; font-size: 13.5px; line-height: 1.5; color: var(--ino-muted); }
.ino-cc-cbody > p { margin: 0 0 .8rem; }
.ino-cc-cat { border: 1px solid var(--ino-border-soft); border-radius: 8px; margin: .6rem 0; }
.ino-cc-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem; }
.ino-cc-cat-toggle { background: none; border: 0; color: var(--ino-text); font-weight: 700; font-size: 14px; cursor: pointer; text-align: left; flex: 1; display: flex; align-items: center; gap: .5rem; }
.ino-cc-cat-toggle::before { content: "\25B8"; color: var(--wp--preset--color--primary); display: inline-block; transition: transform .15s; }
.ino-cc-cat.open .ino-cc-cat-toggle::before { transform: rotate(90deg); }
.ino-cc-always { font-size: 12.5px; font-weight: 700; color: #1f9d57; white-space: nowrap; }
.ino-cc-cat-desc { display: none; padding: 0 .9rem .8rem; font-size: 13px; color: var(--ino-muted); }
.ino-cc-cat.open .ino-cc-cat-desc { display: block; }
.ino-cc-switch { position: relative; display: inline-block; width: 40px; height: 22px; flex: 0 0 auto; }
.ino-cc-switch input { opacity: 0; width: 0; height: 0; }
.ino-cc-switch span { position: absolute; inset: 0; background: var(--ino-track); border-radius: 999px; transition: .15s; cursor: pointer; }
.ino-cc-switch span::before { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; background: #fff; border-radius: 50%; transition: .15s; }
.ino-cc-switch input:checked + span { background: var(--wp--preset--color--primary); }
.ino-cc-switch input:checked + span::before { transform: translateX(18px); }
.ino-cc-foot { display: flex; gap: .6rem; flex-wrap: wrap; padding: 1rem 1.3rem; border-top: 1px solid var(--ino-border-soft); }
@media (max-width: 560px) { .ino-cc-banner { max-width: none; } }
