#st-cookie-consent { color: #2c2521; font: 400 14px/1.5 "DM Sans", Arial, sans-serif; }
#st-cookie-consent *, #st-cookie-consent *::before, #st-cookie-consent *::after { box-sizing: border-box; }
#st-cookie-consent [hidden] { display: none !important; }
#st-cookie-consent h2 { font: 400 27px/1.15 "Instrument Serif", Georgia, serif; margin: 0 0 8px; color: #2c2521; }
#st-cookie-consent h3 { font: 700 15px/1.4 "DM Sans", Arial, sans-serif; margin: 24px 0 6px; }
#st-cookie-consent p { margin: 0 0 14px; font-size: 14px; line-height: 1.5; }
#st-cookie-consent a { color: #8f1d2c; text-decoration: underline; text-underline-offset: 3px; }
#st-cookie-consent button { min-height: 44px; border: 1px solid #8f1d2c; border-radius: 4px; padding: 10px 14px; color: #8f1d2c; background: #fffdf8; cursor: pointer; font: 600 13px/1.4 "DM Sans", Arial, sans-serif; }
#st-cookie-consent button:hover { background: #f0e8de; }
#st-cookie-consent button:focus-visible, #st-cookie-consent a:focus-visible, #st-cookie-consent input:focus-visible { outline: 3px solid #8f1d2c; outline-offset: 3px; }
#st-cookie-consent .st-cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1301; display: flex; align-items: center; gap: 24px; padding: 20px max(24px, calc((100vw - 1280px)/2)); background: #fffdf8; border-top: 1px solid #d9cec2; box-shadow: 0 -4px 28px #2c25211a; }
#st-cookie-consent .st-cookie-banner > div:first-child { flex: 1; }
#st-cookie-consent .st-cookie-banner p { margin: 0; max-width: 720px; }
#st-cookie-consent .st-cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#st-cookie-consent .st-cookie-settings { position: fixed; bottom: 12px; left: 12px; min-height: 36px; padding: 6px 12px; z-index: 1300; box-shadow: 0 2px 8px #2c25211a; }
#st-cookie-consent .st-cookie-banner:not([hidden]) ~ .st-cookie-settings { display: none; }
#st-cookie-consent .st-cookie-overlay { position: fixed; inset: 0; z-index: 1400; background: #2c252180; display: flex; align-items: center; justify-content: center; padding: 20px; }
#st-cookie-consent .st-cookie-dialog { width: 100%; max-width: 580px; max-height: calc(100dvh - 40px); overflow-y: auto; background: #fffdf8; padding: 28px; border: 1px solid #d9cec2; border-radius: 8px; box-shadow: 0 12px 60px #2c252130; }
#st-cookie-consent .st-cookie-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
#st-cookie-consent .st-cookie-heading h2 { margin: 0; }
#st-cookie-consent label { display: flex; align-items: center; gap: 10px; margin: 22px 0 6px; cursor: pointer; font-size: 15px; }
#st-cookie-consent input { appearance: auto; width: 20px; height: 20px; margin: 0; accent-color: #8f1d2c; flex-shrink: 0; }
#st-cookie-consent .st-cookie-dialog > a { display: inline-block; margin-top: 18px; }
@media (max-width: 900px) {
  #st-cookie-consent .st-cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 20px; }
  #st-cookie-consent .st-cookie-actions > button { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  #st-cookie-consent .st-cookie-banner { max-height: 75dvh; overflow-y: auto; }
  #st-cookie-consent .st-cookie-dialog { padding: 20px; }
  #st-cookie-consent .st-cookie-overlay { padding: 12px; }
}

@media print { #st-cookie-consent { display: none !important; } }
