/* Cookie banner + footer legal links + legal pages. Legal baseline 2026-10-02 */
.glp[hidden], .glp-panel[hidden] { display: none; }
.glp { position: fixed; left: 16px; bottom: 16px; z-index: 90; width: min(560px, calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); }
.glp-inner { padding: 22px 22px 18px; }
.glp-text { font-size: 14px; line-height: 1.55; margin-bottom: 8px; }
.glp-links { font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.glp-links a { text-decoration: underline; text-underline-offset: 3px; }
.glp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.glp-actions button, .glp-save { min-height: 44px; }
.glp .icon-btn { border-color: rgba(20, 17, 15, .28); color: var(--ink); }
.glp button:focus-visible, .glp a:focus-visible, .glp input:focus-visible, .foot-legal a:focus-visible, .foot-legal button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.glp-panel { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0 0 14px; }
.glp-title { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 24px; margin-bottom: 6px; }
.glp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.glp-row + .glp-row { border-top: 1px solid var(--line); }
.glp-row label { cursor: pointer; }
.glp-row strong { display: block; font-weight: 500; font-size: 14px; }
.glp-row small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.glp-row input[role="switch"] { appearance: none; -webkit-appearance: none; flex: none; width: 44px; height: 24px; border-radius: 12px; background: #cfc6ba; position: relative; cursor: pointer; transition: background .2s; }
.glp-row input[role="switch"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform .2s; }
.glp-row input[role="switch"]:checked { background: var(--ink); }
.glp-row input[role="switch"]:checked::after { transform: translateX(20px); }
.glp-row input[role="switch"]:disabled { opacity: .55; cursor: not-allowed; }
.glp-save { margin-top: 10px; }
@media (max-width: 640px) {
  .glp { left: 0; right: 0; bottom: 0; width: 100%; max-height: 75vh; border-left: 0; border-right: 0; border-bottom: 0; }
  .glp-inner { padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); }
  .glp-actions button { flex: 1 1 auto; padding: 10px 12px; }
}

/* Footer legal links (appended under the existing footer columns) */
.foot-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; }
.foot-legal a, .foot-legal button { display: inline; margin: 0; }
.foot-legal button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; letter-spacing: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot-legal a:hover, .foot-legal button:hover { color: var(--ink); }

/* Legal pages */
.legal { max-width: 760px; padding: 64px 0 80px; }
.legal-back { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.legal h1 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: clamp(38px, 5vw, 56px); line-height: 1; margin-bottom: 14px; }
.legal .updated { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.legal h2 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 28px; margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal a.inline, .legal dd a { text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 20px; margin-top: 8px; }
.legal dt { color: var(--muted); }
.legal .cta { margin-top: 14px; }
@media (max-width: 640px) { .legal { padding: 40px 0 64px; } .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 12px; } }

/* Awin banner images stay hidden (space reserved) until affiliate consent loads them */
img[data-consent-img][data-src] { visibility: hidden; }
