/* Vakantiehuis Toxopeus — cookiemelding (zie cookie.js). Witte kaart onderin, oranje hoofdknop, witte knoppen met rand;
   kleuren en lettertypen uit tokens.css. Eigen klassen (.ox-cc-*) en specifiek genoeg voor de algemene tekstkleuren. */
.ox-cc { position: fixed; z-index: 2500; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); margin: 0 auto; max-width: 560px; box-sizing: border-box; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px - env(safe-area-inset-bottom, 0px)); display: flex; flex-direction: column; border-radius: 16px; background: #fff; color: var(--c-plum, #3e3239); box-shadow: 0 10px 40px rgba(0, 0, 0, .45); font: 500 14.5px/1.5 var(--f-body, system-ui, sans-serif); text-align: left; animation: ox-cc-in .3s ease-out both; }
.ox-cc[hidden], .ox-cc [hidden] { display: none !important; }
.ox-cc *, .ox-cc *::before, .ox-cc *::after { box-sizing: border-box; }
.ox-cc-x { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--c-plum, #3e3239); font: 400 26px/1 var(--f-body, system-ui, sans-serif); cursor: pointer; opacity: .75; }
.ox-cc-x:hover { opacity: 1; background: var(--c-cream, #f7efe7); }
.ox-cc-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 18px 6px; }
.ox-cc .ox-cc-t { margin: 0 0 6px; padding-right: 32px; font: 700 1.2rem/1.25 var(--f-head, system-ui, sans-serif); letter-spacing: 0; text-transform: none; color: var(--c-plum, #3e3239); }
.ox-cc .ox-cc-p { margin: 0; color: var(--c-plum, #3e3239); font-size: 14.5px; line-height: 1.5; }
.ox-cc .ox-cc-p a { color: var(--c-rust-3, #9a4f12); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ox-cc-prefs { display: grid; gap: 8px; margin-top: 14px; outline: 0; }
.ox-cc-card { padding: 12px 14px; border-radius: 10px; background: var(--c-cream, #f7efe7); }
.ox-cc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; margin: 0; cursor: default; }
label.ox-cc-row { cursor: pointer; }
.ox-cc-name { font: 700 .98rem/1.3 var(--f-head, system-ui, sans-serif); color: var(--c-plum, #3e3239); }
.ox-cc-on { font: 700 .82rem/1.3 var(--f-head, system-ui, sans-serif); color: var(--c-rust-3, #9a4f12); white-space: nowrap; }
.ox-cc .ox-cc-d { margin: 4px 0 0; font-size: .85rem; line-height: 1.45; color: var(--c-taupe, #6b5560); }
/* schakelaar */
.ox-cc-sw { -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 46px; height: 26px; margin: 0; border: 0; border-radius: 13px; background: var(--c-mauve, #9e8189); cursor: pointer; transition: background .2s; }
.ox-cc-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transition: transform .2s; }
.ox-cc-sw:checked { background: linear-gradient(135deg, var(--c-rust, #b85a1f) 0%, var(--c-rust-2, #a24f1c) 100%); }
.ox-cc-sw:checked::after { transform: translateX(20px); }
/* knoppen */
.ox-cc-act { flex: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 18px; }
.ox-cc-btn { -webkit-appearance: none; appearance: none; min-height: 44px; margin: 0; padding: 0 18px; border: 1.5px solid transparent; border-radius: 999px; font: 600 14.5px/1.2 var(--f-body, system-ui, sans-serif); letter-spacing: 0; text-transform: none; text-align: center; cursor: pointer; box-shadow: none; }
.ox-cc-btn--h { flex: 1 1 calc(50% - 4px); }
.ox-cc-btn--w { flex: 1 1 100%; }
.ox-cc-btn--p { background: var(--ox-grad, linear-gradient(135deg, #b85a1f 0%, #a24f1c 100%)); color: #fff; }
.ox-cc-btn--p:hover { filter: brightness(1.07); }
.ox-cc-btn--s { background: #fff; color: var(--c-plum, #3e3239); border-color: var(--c-rose, #c7a9a3); }
.ox-cc-btn--s:hover { border-color: var(--c-taupe, #6b5560); }
.ox-cc button:focus-visible, .ox-cc a:focus-visible, .ox-cc-sw:focus-visible, .ox-cc-prefs:focus-visible { outline: 3px solid color-mix(in srgb, var(--c-orange, #d58432) 60%, transparent); outline-offset: 2px; }
@media (min-width: 480px) {
	.ox-cc-btn--h, .ox-cc-btn--w { flex: 1 1 auto; }
	.ox-cc.is-prefs .ox-cc-btn--w { flex: 1 1 100%; }
}
/* andere meldingen onderin wijken zolang de cookiemelding open staat */
html.ox-cc-open .ox-app { display: none; }
html.ox-cc-open .ox-float { visibility: hidden; }
@keyframes ox-cc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ox-cc { animation: none; } .ox-cc-sw, .ox-cc-sw::after { transition: none; } }
