.cookie-settings { background: none; border: 0; color: inherit; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; text-underline-offset: 2px; }
.cookie-settings-footer { font: 14px/1.5 system-ui; margin: 0 auto 24px; padding-inline: 16px; text-align: center; }
.cookie-settings:focus-visible, .cookie-consent :focus-visible { outline: 2px solid var(--ink, #1A1A1A); outline-offset: 3px; }
.cookie-consent {
  background: var(--linen, #F2EDE3); border: 1px solid var(--border-2, #C7B8A2);
  border-radius: 10px; bottom: 20px; box-shadow: 0 16px 36px rgba(26,26,26,.16);
  color: var(--ink); left: 20px; max-width: 580px; padding: 18px 20px; position: fixed;
  right: 20px; z-index: 200;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent h2 { font: 800 24px/1 var(--display, "Barlow Condensed", system-ui); letter-spacing: -.01em; margin: 0 0 7px; text-transform: uppercase; }
.cookie-consent p { color: #46513B; font-size: 14px; line-height: 1.45; margin: 0; max-width: 62ch; }
.cookie-consent p a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.cookie-button { border: 1px solid var(--ink); border-radius: 6px; cursor: pointer; font: 600 14px/1 var(--body, system-ui); padding: 10px 13px; }
.cookie-accept { background: var(--ink); color: var(--paper, #FAF8F4); }
.cookie-accept:hover { background: #46513B; border-color: #46513B; }
.cookie-decline { background: transparent; color: var(--ink); }
.cookie-decline:hover { background: var(--paper, #FAF8F4); }
.cookie-preferences { border-top: 1px solid var(--border, #D8CDBC); margin-top: 15px; padding-top: 14px; }
.cookie-preferences[hidden] { display: none; }
.cookie-preferences label { align-items: flex-start; display: flex; gap: 10px; font-size: 14px; font-weight: 600; }
.cookie-preferences input { accent-color: #E8590C; height: 17px; margin: 2px 0 0; width: 17px; }
.cookie-preferences small { color: #46513B; display: block; font-size: 13px; font-weight: 400; line-height: 1.4; margin-top: 3px; }
.cookie-preferences .cookie-button { margin-top: 14px; }

@media (max-width: 600px) {
  .cookie-consent {
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    right: 10px;
    max-height: calc(100dvh - max(10px, env(safe-area-inset-bottom)) - 10px);
    overflow-y: auto;
    padding: 10px 12px;
  }
  .cookie-consent-inline { position: static; margin: 10px auto; width: calc(100% - 20px); box-sizing: border-box; }
  .cookie-consent h2 { font-size: 18px; line-height: 1.15; margin-bottom: 4px; }
  .cookie-consent p { font-size: 13px; line-height: 1.35; }
  .cookie-actions {
    display: grid;
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 8px;
  }
  .cookie-actions[hidden] { display: none; }
  .cookie-button { font-size: 13px; min-height: 44px; overflow-wrap: anywhere; padding: 6px; }
  .cookie-preferences { margin-top: 8px; padding-top: 8px; }
  .cookie-preferences .cookie-button { margin-top: 8px; }
}
