/* Standalone, scoped cookie interface; no dependency on the main stylesheet. */
.bg-cookie, .bg-cookie-dialog, .bg-cookie-reopen { box-sizing: border-box; font-family: inherit; color: #041c3d; }
.bg-cookie[hidden], .bg-cookie-reopen[hidden] { display: none !important; }
.bg-cookie { position: fixed; z-index: 99990; left: 22px; bottom: 22px; width: min(440px, calc(100vw - 44px)); padding: 22px; border: 1px solid #e1e6ec; border-radius: 16px; background: #fff; box-shadow: 0 12px 50px #041c3d2b; }
.bg-cookie__brand { display: flex; align-items: center; gap: 9px; color: #b18537; font-weight: 900; font-size: 15px; letter-spacing: -.5px; }
.bg-cookie__brand span, .bg-cookie__eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 1.8px; color: #9a742c; }
.bg-cookie h2, .bg-cookie-dialog h2 { margin: 10px 0 9px; color: #041c3d; font-size: 21px; line-height: 1.2; font-weight: 850; text-transform: none; letter-spacing: -.4px; }
.bg-cookie p, .bg-cookie-dialog p { margin: 0 0 17px; color: #56657a; font-size: 13px; line-height: 1.6; font-weight: 400; }
.bg-cookie a, .bg-cookie-dialog a { color: #041c3d; text-decoration: underline; text-underline-offset: 3px; }
.bg-cookie__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.bg-cookie__actions button { appearance: none; min-height: 40px; margin: 0; padding: 9px 16px; border: 1px solid #041c3d; border-radius: 24px; background: #041c3d; color: #fff; font: inherit; font-size: 12px; font-weight: 750; line-height: 1.3; cursor: pointer; box-shadow: none; text-transform: none; }
.bg-cookie__actions button:hover { background: #173a63; border-color: #173a63; }
.bg-cookie__actions .bg-cookie__text-button { padding-inline: 8px; background: transparent; color: #041c3d; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.bg-cookie__actions .bg-cookie__text-button:hover, .bg-cookie__actions .bg-cookie__text-button:focus-visible { background: #edf2f7; border-color: transparent; color: #041c3d; }
.bg-cookie button:focus-visible, .bg-cookie-dialog button:focus-visible, .bg-cookie-dialog input:focus-visible, .bg-cookie-reopen:focus-visible { outline: 3px solid #c89b3c; outline-offset: 3px; }
.bg-cookie-reopen { position: fixed; z-index: 99980; bottom: 12px; left: 12px; border: 1px solid #e1e6ec; border-radius: 20px; background: #fff; padding: 9px 13px; box-shadow: 0 3px 14px #041c3d15; font-size: 11px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.bg-cookie-dialog { position: fixed; inset: 0; width: min(500px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 40px); overflow: auto; margin: auto; padding: 26px; border: 1px solid #e1e6ec; border-radius: 20px; background: #fff; box-shadow: 0 25px 90px #041c3d4d; }
.bg-cookie-dialog::backdrop { background: #041c3d99; backdrop-filter: blur(3px); }
.bg-cookie-dialog form { margin: 0; }
.bg-cookie-dialog__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bg-cookie-dialog__heading button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; background: #f2f5f8; border: 0; border-radius: 50%; color: #041c3d; font-size: 24px; line-height: 1; cursor: pointer; }
.bg-cookie-choice { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 0; border-top: 1px solid #e8ecf1; font-size: 14px; cursor: pointer; }
.bg-cookie-choice strong { display: block; font-size: 14px; color: #041c3d; }
.bg-cookie-choice small { display: block; margin-top: 4px; color: #64748b; font-size: 12px; line-height: 1.5; }
.bg-cookie-always { flex-shrink: 0; font-size: 11px; font-weight: 700; color: #55725c; }
.bg-cookie-choice input[type=checkbox] { appearance: none; flex: 0 0 40px; width: 40px; height: 24px; margin: 0; border: 1px solid #cbd3de; border-radius: 30px; background: #e7ebf0; position: relative; cursor: pointer; }
.bg-cookie-choice input[type=checkbox]::before { content: ''; position: absolute; width: 18px; height: 18px; left: 2px; top: 2px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px #041c3d30; transition: transform .15s ease; }
.bg-cookie-choice input[type=checkbox]:checked { background: #041c3d; border-color: #041c3d; }
.bg-cookie-choice input[type=checkbox]:checked::before { transform: translateX(16px); }
.bg-cookie-dialog .bg-cookie__actions { margin-top: 12px; }
.bg-cookie-dialog__privacy { display: inline-block; margin-top: 16px; font-size: 12px; }
@media (max-width: 480px) { .bg-cookie { left: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 18px; max-height: calc(100dvh - 24px); overflow: auto; } .bg-cookie h2 { font-size: 19px; } .bg-cookie-dialog { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { .bg-cookie-choice input[type=checkbox]::before { transition: none; } }
