/* Standalone public pages reuse the homepage privacy controls without importing
   homepage layout rules. Existing homepage markup and visual styles are retained. */
.bb-consent-standalone { box-sizing: border-box; font-family: 'DM Sans', Arial, sans-serif; color: #111; }
.bb-consent-standalone *, .bb-consent-standalone *::before, .bb-consent-standalone *::after { box-sizing: border-box; }
.bb-consent-standalone[hidden] { display: none !important; }
.cookie.bb-consent-standalone { position: fixed; z-index: 170; inset: auto 18px 18px; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-height: calc(100dvh - 36px); overflow-y: auto; padding: 20px; border: 1px solid #c8c7c1; border-radius: 10px; background: #efeee9; box-shadow: 0 22px 80px #0009; transform: translateY(calc(100% + 42px)); transition: transform 240ms ease; }
.cookie.bb-consent-standalone.show { transform: none; }
.bb-consent-standalone .cookie-copy { display: flex; align-items: center; gap: 18px; min-width: 0; }
.bb-consent-standalone .privacy-badge { flex: 0 0 auto; padding: 8px 10px; border: 1px solid #aaa; border-radius: 999px; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.bb-consent-standalone .cookie-copy b { font-size: 15px; }
.bb-consent-standalone .cookie-copy p { max-width: 740px; margin: 7px 0 0; font-size: 13px; line-height: 1.55; color: #444; }
.bb-consent-standalone a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bb-consent-standalone .cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 0 0 min(460px, 38%); }
.bb-consent-standalone button { min-height: 44px; padding: 11px 14px; border: 1px solid #777; border-radius: 6px; background: transparent; color: #111; font: 600 12px/1.3 'DM Sans', Arial, sans-serif; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.bb-consent-standalone .cookie-actions button { flex: 1 1 125px; }
.bb-consent-standalone button:hover { background: #deddd7; border-color: #111; }
.bb-consent-standalone .accept, .bb-consent-standalone .save-preferences { background: #111; color: #fff; border-color: #111; }
.bb-consent-standalone .accept:hover, .bb-consent-standalone .save-preferences:hover { background: #303030; }
.bb-consent-standalone button:disabled { opacity: .55; cursor: not-allowed; }
.bb-consent-standalone :focus-visible, .bb-consent-manage:focus-visible { outline: 3px solid #777; outline-offset: 4px; }
.cookie-settings-panel.bb-consent-standalone { width: min(660px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); margin: auto; padding: 0; overflow: auto; border: 1px solid #bbb; border-radius: 8px; background: #eeede8; box-shadow: 0 25px 100px #000b; overscroll-behavior: contain; }
.cookie-settings-panel.bb-consent-standalone::backdrop { background: #000b; }
.cookie-settings-panel.bb-consent-standalone form { display: block; padding: 28px; }
.cookie-settings-panel.bb-consent-standalone header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #bbb; }
.cookie-settings-panel.bb-consent-standalone .kicker { margin: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #555; }
.cookie-settings-panel.bb-consent-standalone h2 { margin: 10px 0 0; font: 500 clamp(23px, 5vw, 32px)/1.15 Manrope, Arial, sans-serif; letter-spacing: -.03em; }
.cookie-settings-panel.bb-consent-standalone .close-cookie-settings { flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border-radius: 50%; font-size: 24px; }
.cookie-settings-panel.bb-consent-standalone form > p { font-size: 13px; line-height: 1.6; color: #444; }
.cookie-settings-panel.bb-consent-standalone .privacy-signal { padding: 10px 12px; border-left: 3px solid #333; background: #deddd8; }
.cookie-settings-panel.bb-consent-standalone label { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-top: 1px solid #ccc; }
.cookie-settings-panel.bb-consent-standalone label > span { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cookie-settings-panel.bb-consent-standalone label b { font-size: 13px; line-height: 1.45; }
.cookie-settings-panel.bb-consent-standalone label small { font-size: 12px; line-height: 1.6; color: #555; }
.cookie-settings-panel.bb-consent-standalone input[type=checkbox] { flex: 0 0 22px; width: 22px; height: 22px; margin: 0; accent-color: #111; }
.bb-consent-standalone .cookie-option-badge { display: inline-block; margin-left: 5px; padding: 2px 6px; border: 1px solid #999; border-radius: 999px; font-size: 9px; font-weight: 600; font-style: normal; white-space: nowrap; }
.cookie-settings-panel.bb-consent-standalone footer { display: flex; flex-wrap: wrap; gap: 8px; padding: 20px 0 0; border-top: 1px solid #bbb; }
.cookie-settings-panel.bb-consent-standalone footer button { flex: 1 1 150px; margin: 0; }
.bb-consent-manage { min-height: 44px; padding: 8px 0; color: inherit; border: 0; background: transparent; font: inherit; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.bb-consent-footer { padding: 20px max(20px, 5vw); color: inherit; }
@media (max-width: 820px) {
  .cookie.bb-consent-standalone { align-items: stretch; flex-direction: column; gap: 16px; inset: auto 12px 12px; padding: 18px; max-height: calc(100dvh - 24px); }
  .bb-consent-standalone .cookie-actions { flex-basis: auto; }
  .bb-consent-standalone .privacy-badge { display: none; }
}
@media (max-width: 430px) {
  .bb-consent-standalone .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .bb-consent-standalone .cookie-actions .settings { grid-column: 1 / -1; }
  .cookie-settings-panel.bb-consent-standalone form { padding: 20px; }
  .cookie-settings-panel.bb-consent-standalone footer { flex-direction: column; }
  .cookie-settings-panel.bb-consent-standalone footer button { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) { .bb-consent-standalone, .bb-consent-standalone button { transition: none !important; animation: none !important; } }
