/* Softaware Cookie Consent - Luma / blank based themes. Buttons use the theme's .action.primary styles. */
.sw-cc { font-family: var(--sw-cc-font, inherit); }
.sw-cc [hidden], .sw-cc[hidden] { display: none !important; }
.sw-cc-panel { background: var(--sw-cc-bg, #fff); color: var(--sw-cc-text, #333); box-sizing: border-box; }
.sw-cc-panel *, .sw-cc-panel *::before, .sw-cc-panel *::after { box-sizing: border-box; }
.sw-cc-title { font-size: 1.8rem; font-weight: 600; line-height: 1.3; margin: 0 0 .6rem; color: inherit; }
.sw-cc-message, .sw-cc-intro { margin: 0; font-size: 1.4rem; line-height: 1.6; }
.sw-cc-panel a, .sw-cc-link { color: var(--sw-cc-link, #1979c3); text-decoration: underline; }
.sw-cc-banner:focus, .sw-cc-dialog:focus { outline: none; }

.sw-cc-banner { position: fixed; z-index: 9990; box-shadow: 0 -2px 16px rgba(0, 0, 0, .15); }
.sw-cc--bar .sw-cc-banner { left: 0; right: 0; padding: 20px 88px 20px 20px; } /* right gutter keeps buttons clear of chat bubbles */
.sw-cc--bar.sw-cc--bottom .sw-cc-banner { bottom: 0; }
.sw-cc--bar.sw-cc--top .sw-cc-banner { top: 0; box-shadow: 0 2px 16px rgba(0, 0, 0, .15); }
.sw-cc--bar .sw-cc-banner__inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.sw-cc--bar .sw-cc-banner__text { flex: 1 1 auto; }
.sw-cc--box .sw-cc-banner { width: calc(100% - 32px); max-width: 440px; padding: 24px; border-radius: 6px; box-shadow: 0 4px 24px rgba(0, 0, 0, .2); }
.sw-cc--box.sw-cc--bottom-left .sw-cc-banner { left: 16px; bottom: 16px; }
.sw-cc--box.sw-cc--bottom-right .sw-cc-banner { right: 16px; bottom: 16px; }
.sw-cc--box.sw-cc--center .sw-cc-banner { left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9992; }
.sw-cc--box .sw-cc-actions { margin-top: 16px; }

.sw-cc-actions, .sw-cc-dialog__footer { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 0 auto; }
.sw-cc .sw-cc-btn { margin: 0; white-space: nowrap; }
.sw-cc--box .sw-cc-actions .sw-cc-btn { flex: 1 1 auto; }

.sw-cc-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 9991; }
.sw-cc-modal { position: fixed; inset: 0; z-index: 9995; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sw-cc-modal .sw-cc-backdrop { z-index: 0; }
.sw-cc-dialog { position: relative; z-index: 1; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 6px; box-shadow: 0 8px 40px rgba(0, 0, 0, .3); }
.sw-cc-dialog__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px 12px; }
.sw-cc-dialog__header .sw-cc-title { margin: 0; }
.sw-cc-dialog__body { padding: 0 24px 8px; overflow-y: auto; }
.sw-cc-dialog__footer { padding: 16px 24px 20px; border-top: 1px solid rgba(0, 0, 0, .1); justify-content: flex-end; }
.sw-cc .sw-cc-close { background: none; border: 0; box-shadow: none; padding: 6px; color: inherit; cursor: pointer; line-height: 0; border-radius: 4px; }
.sw-cc .sw-cc-close:hover { background: rgba(0, 0, 0, .06); border: 0; }

.sw-cc-categories { list-style: none; margin: 16px 0 0; padding: 0; }
.sw-cc-category { margin: 0; padding: 14px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.sw-cc-category__head { display: flex; align-items: center; gap: 12px; }
.sw-cc-category__label { flex: 1 1 auto; font-weight: 600; font-size: 1.5rem; cursor: pointer; }
.sw-cc-always { font-size: 1.3rem; opacity: .75; }
.sw-cc-category__desc { margin: 6px 0 0; font-size: 1.3rem; line-height: 1.5; opacity: .85; }

.sw-cc .sw-cc-switch { -webkit-appearance: none; appearance: none; position: relative; flex: 0 0 auto; width: 44px; height: 24px; margin: 0; border-radius: 12px; background: #c2c2c2; cursor: pointer; transition: background-color .15s; border: 0; }
.sw-cc .sw-cc-switch::before { content: ''; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.sw-cc .sw-cc-switch:checked { background: var(--sw-cc-link, #1979c3); }
.sw-cc .sw-cc-switch:checked::before { transform: translateX(20px); }
.sw-cc .sw-cc-switch:disabled { cursor: not-allowed; opacity: .6; }
.sw-cc .sw-cc-switch:focus-visible, .sw-cc .sw-cc-btn:focus-visible, .sw-cc .sw-cc-close:focus-visible, .sw-cc-float:focus-visible { outline: 2px solid var(--sw-cc-link, #1979c3); outline-offset: 2px; }

.sw-cc-float { position: fixed; left: 16px; bottom: 16px; z-index: 9980; width: 44px; height: 44px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--sw-cc-bg, #fff); color: var(--sw-cc-text, #333); border: 1px solid rgba(0, 0, 0, .15); box-shadow: 0 2px 10px rgba(0, 0, 0, .2); cursor: pointer; }
.sw-cc-float:hover { background: var(--sw-cc-bg, #f5f5f5); border-color: rgba(0, 0, 0, .3); }

.sw-cc--custom .sw-cc-btn, .sw-cc--custom .sw-cc-btn:hover, .sw-cc--custom .sw-cc-btn:focus, .sw-cc--custom .sw-cc-btn:active { background: var(--sw-cc-btn-bg); border-color: var(--sw-cc-btn-bg); color: var(--sw-cc-btn-text); }
.sw-cc--custom .sw-cc-btn--secondary, .sw-cc--custom .sw-cc-btn--secondary:hover, .sw-cc--custom .sw-cc-btn--secondary:focus { background: transparent; color: var(--sw-cc-text); border: 1px solid currentColor; }
.sw-cc--custom .sw-cc-btn:hover { filter: brightness(1.08); }

.sw-cc-footer-link { cursor: pointer; }
body.sw-cc-modal-open { overflow: hidden; }

@media (max-width: 767px) {
    .sw-cc--bar .sw-cc-banner { padding: 16px; max-height: 80vh; overflow-y: auto; }
    .sw-cc--bar .sw-cc-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .sw-cc-actions { flex-direction: column-reverse; }
    .sw-cc-actions .sw-cc-btn, .sw-cc-dialog__footer .sw-cc-btn { flex: 1 1 100%; }
    .sw-cc--box .sw-cc-banner { left: 8px !important; right: 8px; bottom: 8px; width: auto; max-width: none; padding: 18px; }
    .sw-cc--box.sw-cc--center .sw-cc-banner { transform: translateY(-50%); }
    .sw-cc-dialog__header { padding: 16px 16px 8px; }
    .sw-cc-dialog__body { padding: 0 16px 8px; }
    .sw-cc-dialog__footer { padding: 12px 16px 16px; }
    .sw-cc-title { font-size: 1.7rem; }
}
