@import url('tokens.css');

.cookie-ui {font:400 15px/1.5 Inter,Arial,sans-serif;color:var(--text-olive);text-align:left}
.cookie-ui,.cookie-ui *,.cookie-ui *::before,.cookie-ui *::after {box-sizing:border-box}
.cookie-ui h2,.cookie-ui h3,.cookie-ui p {margin:0}.cookie-ui button,.cookie-ui input {font:inherit}
.cookie-ui [hidden],.cookie-ui[hidden] {display:none!important}
.cookie-ui :focus-visible,.cookie-settings-link:focus-visible {outline:2px solid var(--focus-ring);outline-offset:4px}
.cookie-banner {position:fixed;left:50%;bottom:24px;transform:translateX(-50%);width:var(--page-container-width);z-index:30;display:grid;grid-template-columns:624px 468px;gap:36px;padding:32px 36px 28px;border-radius:20px;background:var(--white);box-shadow:0 12px 40px var(--overlay)}
.cookie-banner__heading {display:flex;gap:12px;align-items:center;margin-bottom:12px}.cookie-banner__heading h2 {font-size:23px;line-height:30px;font-weight:700;color:var(--text-dark)}
.cookie-banner__symbol {display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--surface-lightest);color:var(--primary-dark);font-size:18px;font-weight:800}
.cookie-banner__copy>p {font-size:16px;line-height:24px}.cookie-banner__links {display:flex;align-items:center;gap:18px;margin-top:12px}
.cookie-banner__links a,.cookie-banner__links button {padding:0;border:0;background:var(--transparent);font-size:14px;line-height:21px;font-weight:600;color:var(--primary-dark);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cookie-banner__actions {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cookie-ui .cookie-button {display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:12px 16px;border:1.5px solid var(--border-default);border-radius:12px;background:var(--white);color:var(--text-dark);font-size:15px;line-height:22px;font-weight:700;cursor:pointer}
.cookie-ui .cookie-button--primary {background:var(--primary-bright);border-color:var(--primary-bright)}
.cookie-ui .cookie-button--settings {min-height:46px;margin-top:12px;border:1px solid var(--border-light);background:var(--surface-pale);color:var(--text-olive);font-weight:600}
.cookie-banner__hint {margin-top:12px!important;font-size:12px;line-height:18px;color:var(--text-light)}
.cookie-modal {position:fixed;inset:0;width:760px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);margin:auto;padding:0;border:0;border-radius:20px;background:var(--white);box-shadow:0 12px 40px var(--overlay);overflow:hidden}
.cookie-modal::backdrop {background:var(--cookie-backdrop)}
.cookie-modal__form {display:flex;flex-direction:column;max-height:calc(100dvh - 48px);margin:0}
.cookie-modal__header {position:relative;padding:26px 74px 22px 32px;border-bottom:1px solid var(--border-light);flex:none}
.cookie-modal__header h2 {font-size:23px;line-height:30px;font-weight:700;color:var(--text-dark)}.cookie-modal__header p {margin-top:5px;font-size:14px;line-height:21px;color:var(--text-light)}
.cookie-ui .cookie-modal__close {position:absolute;right:24px;top:36px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:var(--surface-pale);color:var(--text-olive);font-size:25px;line-height:1;font-weight:400;cursor:pointer}
.cookie-modal__body {display:grid;gap:12px;overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:22px 32px}
.cookie-category {padding:18px 19px;border:1px solid var(--border-light);border-radius:14px;background:var(--white)}.cookie-category--necessary {background:var(--surface-pale)}
.cookie-category__heading {display:flex;align-items:center;gap:10px;margin-bottom:5px;min-height:26px}.cookie-category h3 {font-size:18px;line-height:26px;color:var(--text-dark);font-weight:700}.cookie-category label {cursor:pointer}.cookie-category p {font-size:14px;line-height:21px}
.cookie-category__badge {padding:3px 10px;border-radius:20px;background:var(--surface-lightest);color:var(--primary-dark);font-size:10px;line-height:16px;font-weight:700}
.cookie-ui .cookie-switch {appearance:none;flex:none;margin:0 0 0 auto;width:46px;height:26px;border:0;border-radius:20px;background:var(--neutral-lighter);position:relative;cursor:pointer;box-shadow:none}
.cookie-switch::after {content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;background:var(--white);border-radius:50%}.cookie-ui .cookie-switch:checked {background:var(--primary-bright)}.cookie-switch:checked::after {left:23px}.cookie-ui .cookie-switch:disabled {background:var(--border-default);cursor:default}
.cookie-category__details {width:100%;border:1px solid var(--border-light);border-spacing:0;border-radius:10px;overflow:hidden;margin-top:14px;background:var(--surface-pale);font-size:12px;line-height:18px;text-align:left}
.cookie-category__details caption {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.cookie-category__details th,.cookie-category__details td {padding:8px 13px;vertical-align:top}.cookie-category__details th {width:156px;color:var(--text-light);font-weight:600}.cookie-category__details td {color:var(--text-dark)}.cookie-category__details tr+tr th,.cookie-category__details tr+tr td {border-top:1px solid var(--border-light)}
.cookie-modal__footer {display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 32px;border-top:1px solid var(--border-light);background:var(--surface-pale);flex:none}
.cookie-settings-link {padding:0;border:0;background:var(--transparent);color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cookie-status {position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:40;width:600px;max-width:calc(100vw - 48px);margin:0;padding:16px 24px;border:1px solid var(--border-light);border-radius:12px;background:var(--white);box-shadow:0 8px 24px var(--overlay)}
body.cookie-modal-open {overflow:hidden}
body.cookie-banner-open .whatsapp-widget {visibility:hidden;pointer-events:none}
