* { box-sizing: border-box; }
:root { color-scheme: light; --green: #176348; --ink: #182f27; --muted: #596b63; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: #eef3ef; color: var(--ink); font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--green); text-underline-offset: .2em; }
:where(a, button):focus-visible { outline: 3px solid #176348; outline-offset: 4px; }
.cookie-preferences-root { height: 100%; }
.prostamen-backdrop { position: fixed; inset: 0; overflow: hidden; pointer-events: none; background: #e9f3f0 url('/assets/img/desktop.webp') center top / cover no-repeat; }
.cookie-modal { position: relative; display: grid; place-items: end center; min-height: 100vh; min-height: 100svh; min-height: 100dvh; padding: max(1rem, env(safe-area-inset-top)) 1rem max(1.5rem, 6svh, env(safe-area-inset-bottom)); background: #132c2580; }
.cookie-modal__dialog { position: relative; width: min(100%, 320px); padding: .875rem .875rem .25rem; border: 1px solid #fff; border-radius: 14px; background: #fffefa; text-align: center; box-shadow: 0 24px 80px #0b271b33; }
.cookie-modal__dialog:focus { outline: none; }
.cookie-modal__eyebrow { margin: 0 2rem .5rem; color: var(--green); font-size: .85rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.market-label { display: inline-block; margin-left: .5rem; padding: .15rem .5rem; border: 1px solid #d8e3da; border-radius: 5px; color: #607267; font-size: .7rem; letter-spacing: .06em; vertical-align: middle; }
h1 { margin: 0 0 1rem; font-size: clamp(1.7rem, 5vw, 2rem); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
#cookie-description { margin: 0 0 .75rem; color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.cookie-modal__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .875rem; }
.cookie-modal__option { display: grid; place-items: center; min-height: 44px; padding: .65rem .5rem; border: 1px solid #ccd8d0; border-radius: 10px; background: #f3f6f2; color: #294a3c; font: inherit; font-size: .82rem; font-weight: 700; line-height: 1.35; cursor: pointer; transition: background .15s ease; }
.cookie-modal__option:hover { background: #e3ebe5; }
.cookie-modal__option[value="accepted"] { position: relative; overflow: hidden; background: var(--green); border-color: var(--green); color: #fff; }
.cookie-modal__option[value="accepted"]:hover { background: #124c38; }
.cookie-modal__close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: #627268; font: inherit; font-size: 30px; cursor: pointer; }
.cookie-modal__close:hover { background: #edf1eb; }
.cookie-modal__option:disabled, .cookie-modal__close:disabled { opacity: .6; cursor: wait; }
.cookie-note { margin: .75rem 0 .25rem; color: var(--muted); font-size: .76rem; line-height: 1.55; }
.information-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1rem; margin: 1rem 0 0; font-size: .78rem; }
.information-links a { display: inline-flex; align-items: center; min-height: 44px; }
.affiliate-note { margin: .35rem 0 0; color: #657269; font-size: .72rem; }
.cookie-modal__loading { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; border-radius: inherit; background: #fffefaf5; cursor: wait; }
.cookie-modal__loading[hidden] { display: none; }
.cookie-modal__loading p { font-size: 1.1rem; font-weight: 700; }
.cookie-modal__loading span { font-size: .9rem; font-weight: 400; color: var(--muted); }
.cookie-modal__loading p::before { content: ""; display: block; width: 2rem; height: 2rem; margin: 0 auto 1rem; border: 3px solid #d8e3da; border-top-color: var(--green); border-radius: 50%; animation: loading-spin .8s linear infinite; }
.information-page { padding: clamp(1rem, 4vw, 3rem); }
.information-card { width: min(100%, 800px); margin: 0 auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: 1px solid #d8e3da; border-radius: 20px; background: #fffefa; overflow-wrap: anywhere; }
.information-card > .information-links { justify-content: flex-start; margin: 0 0 1.5rem; }
.information-card h2 { margin: 1.5rem 0 .5rem; font-size: 1.15rem; }
.information-card p { color: var(--muted); }
#cookie-title { margin: 0 1.5rem .5rem; font-size: 1.125rem; line-height: 1.3; }
.cookie-modal__dialog .information-links { gap: 0 .75rem; margin-top: .25rem; font-size: .72rem; }
@keyframes cookie-accept-pulse {
  0%, 60%, 100% { transform: scale(1); box-shadow: 0 0 0 0 #17634800; }
  18%, 42% { transform: scale(1.06); box-shadow: 0 0 0 9px #17634838; }
  30% { transform: scale(1); box-shadow: 0 0 0 13px #17634800; }
}
@keyframes cookie-accept-shine {
  0%, 55% { transform: translateX(-160%) skewX(-20deg); }
  85%, 100% { transform: translateX(420%) skewX(-20deg); }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-modal__option[value="accepted"]:not(:disabled) { animation: cookie-accept-pulse 1.8s ease-in-out infinite; }
  .cookie-modal__option[value="accepted"]:not(:disabled)::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 35%; background: linear-gradient(90deg, transparent, #ffffff70, transparent); pointer-events: none; animation: cookie-accept-shine 2.8s ease-in-out infinite; }
  .cookie-modal__option[value="accepted"]:hover, .cookie-modal__option[value="accepted"]:focus-visible,
  .cookie-modal__option[value="accepted"]:hover::after, .cookie-modal__option[value="accepted"]:focus-visible::after { animation-play-state: paused; }
}
@keyframes loading-spin { to { transform: rotate(360deg); } }
@media (max-width: 1024px) {
  .prostamen-backdrop { background-image: url('/assets/img/tablet.webp'); }
}
@media (max-width: 560px) {
  .prostamen-backdrop { background-image: url('/assets/img/mobile.webp'); }
  .cookie-modal { padding: max(.75rem, env(safe-area-inset-top)) .75rem max(1.5rem, 6svh, env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .cookie-modal__option { transition: none; } .cookie-modal__loading p::before { animation: none; } }
