/* pooq-consent 1.2.0. Colours are custom properties so the owner can retune here without touching JS. */
:root {
	--pooq-consent-accent: #0f131f;
	--pooq-consent-accent-text: #ffffff;
	--pooq-consent-bg: #ffffff;
	--pooq-consent-text: #0f131f;
	--pooq-consent-muted: #5b6270;
	--pooq-consent-line: #e3e6ea;
	--pooq-consent-z: 2147483000;
}

/* Phase 1: CookieYes still prints its markup server-side for preview browsers. Keep it invisible. */
.cky-consent-container, .cky-overlay, .cky-modal, .cky-btn-revisit-wrapper { display: none !important; }

/* Scroll lock on tablets and desktops only (1.2.0). On phones the sheet no longer blocks the page: a visitor who
   scrolls past it is an undecided visitor (everything non-essential stays off), exactly the state a backdrop tap
   produced before. The page is the store; the sheet is a question. */
@media (min-width: 601px) { body.pooq-consent-lock { overflow: hidden; } }

.pooq-consent[hidden] { display: none; }
.pooq-consent { position: fixed; inset: 0; z-index: var(--pooq-consent-z); display: flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1.5; color: var(--pooq-consent-text); }
.pooq-consent__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.pooq-consent__dialog { position: relative; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; background: var(--pooq-consent-bg); border-radius: 12px; padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); }
.pooq-consent__dialog:focus { outline: none; }

.pooq-consent__title { margin: 0 0 12px; padding-right: 36px; font-size: 20px; line-height: 1.3; font-weight: 700; }
.pooq-consent__close { position: absolute; top: 6px; right: 6px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--pooq-consent-muted); font-size: 28px; line-height: 1; cursor: pointer; }
.pooq-consent__close:hover { color: var(--pooq-consent-text); }
.pooq-consent__close:focus-visible { outline: 3px solid rgba(15, 19, 31, 0.55); outline-offset: -4px; }
.pooq-consent__body-short { display: none; }
.pooq-consent__title:focus { outline: none; }
.pooq-consent__body { margin: 0 0 12px; font-size: 15px; color: var(--pooq-consent-text); }
.pooq-consent__links { margin: 14px 0 0; font-size: 14px; text-align: center; }
.pooq-consent__links a, .pooq-consent__link { color: var(--pooq-consent-accent); text-decoration: underline; }
.pooq-consent__link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.pooq-consent__link:focus-visible { outline: 3px solid rgba(15, 19, 31, 0.55); outline-offset: 2px; }
.pooq-consent__links span { margin: 0 8px; color: var(--pooq-consent-muted); }

/* Two identical buttons: same class, same size, same colour. This is a legal requirement, not taste. */
.pooq-consent__buttons { display: flex; gap: 8px; margin-top: 20px; }
.pooq-consent__btn { flex: 1 1 0; min-height: 44px; padding: 10px 12px; border: 2px solid var(--pooq-consent-accent); border-radius: 8px; background: var(--pooq-consent-accent); color: var(--pooq-consent-accent-text); font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center; }
.pooq-consent__btn:hover, .pooq-consent__btn:focus-visible { filter: brightness(1.25); outline: 3px solid rgba(15, 19, 31, 0.55); outline-offset: 2px; }
.pooq-consent__btn--ghost { background: transparent; color: var(--pooq-consent-accent); }
@media (max-width: 359px) { .pooq-consent__buttons { flex-direction: column; } }

/* Layer 2 */
.pooq-consent__cats { list-style: none; margin: 0 0 20px; padding: 0; border-top: 1px solid var(--pooq-consent-line); }
.pooq-consent__cat { padding: 12px 0; border-bottom: 1px solid var(--pooq-consent-line); }
.pooq-consent__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pooq-consent__cat-label { font-weight: 600; }
.pooq-consent__always { font-size: 13px; color: var(--pooq-consent-muted); }
.pooq-consent__cat-desc { margin: 6px 0 0; font-size: 14px; color: var(--pooq-consent-muted); }

.pooq-consent__switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: 0 0 auto; }
.pooq-consent__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pooq-consent__slider { position: absolute; inset: 0; border-radius: 26px; background: #8c9199; transition: background 0.15s; }
.pooq-consent__slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform 0.15s; }
.pooq-consent__switch input:checked + .pooq-consent__slider { background: var(--pooq-consent-accent); }
.pooq-consent__switch input:checked + .pooq-consent__slider::before { transform: translateX(20px); }
.pooq-consent__switch input:focus-visible + .pooq-consent__slider { outline: 3px solid rgba(15, 19, 31, 0.55); outline-offset: 2px; }

/* Mobile: bottom sheet, no backdrop, no scroll lock, short copy (1.2.0) */
@media (max-width: 600px) {
	.pooq-consent { inset: auto 0 0 0; display: block; }
	.pooq-consent__backdrop { display: none; }
	.pooq-consent__dialog { width: 100%; max-height: 90vh; border-radius: 16px 16px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.28); border-top: 1px solid var(--pooq-consent-line); }
	.pooq-consent__title { margin-bottom: 8px; font-size: 18px; }
	.pooq-consent__body { margin-bottom: 4px; font-size: 14px; line-height: 1.45; }
	.pooq-consent__body-full { display: none; }
	.pooq-consent__body-short { display: inline; }
	.pooq-consent__buttons { margin-top: 14px; }
	.pooq-consent__links { margin-top: 10px; font-size: 13px; }
}

/* Withdrawal control: always present, discreet, bottom-left (fly-cart lives bottom-right). */
.pooq-consent__pill { position: fixed; left: 12px; bottom: 12px; z-index: 99998; padding: 6px 12px; border: 1px solid var(--pooq-consent-line); border-radius: 999px; background: var(--pooq-consent-bg); color: var(--pooq-consent-text); font-size: 13px; line-height: 1.2; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); }
.pooq-consent__pill:hover, .pooq-consent__pill:focus-visible { border-color: var(--pooq-consent-accent); }
body.pooq-consent-lock .pooq-consent__pill { display: none; }

.pooq-consent__inline-btn { padding: 8px 14px; border: 2px solid var(--pooq-consent-accent); border-radius: 8px; background: var(--pooq-consent-accent); color: var(--pooq-consent-accent-text); font-weight: 600; cursor: pointer; }

.pooq-cookie-table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 14px; }
.pooq-cookie-table th, .pooq-cookie-table td { padding: 8px; border-bottom: 1px solid var(--pooq-consent-line); text-align: left; vertical-align: top; }

@media (prefers-reduced-motion: reduce) { .pooq-consent__slider, .pooq-consent__slider::before { transition: none; } }
