.cookie-popup {
    position: fixed;
    z-index: 1000;
    right: 20px;
    bottom: 20px;
    left: 20px;
    display: grid;
    pointer-events: none;
}

.cookie-popup__panel {
    width: min(100%, 620px);
    justify-self: center;
    padding: 25px;
    border: 1px solid rgba(113, 171, 58, .35);
    border-radius: 20px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 22px 70px rgba(0, 66, 48, .24), 0 8px 22px rgba(113, 171, 58, .12);
    color: #17362d;
    font-family: Montserrat, Arial, sans-serif;
    pointer-events: auto;
}

.cookie-popup__eyebrow {
    margin: 0 0 8px;
    color: #fea66b;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cookie-popup h2 {
    margin: 0;
    color: #004230;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    letter-spacing: -.04em;
    line-height: 1.2;
}

.cookie-popup__panel > p:not(.cookie-popup__eyebrow) {
    margin: 12px 0 0;
    color: #667872;
    font-size: .76rem;
    font-weight: 500;
    line-height: 1.6;
}

.cookie-popup__details { margin-top: 16px; }
.cookie-popup__details summary { color: #004230; cursor: pointer; font-size: .74rem; font-weight: 800; }
.cookie-popup__details ul { display: grid; gap: 9px; margin: 13px 0 0; padding: 0; list-style: none; }
.cookie-popup__details li { display: grid; gap: 3px; padding: 10px 12px; border-radius: 10px; background: #f1f7e9; }
.cookie-popup__details strong { color: #004230; font-size: .72rem; }
.cookie-popup__details span { color: #667872; font-size: .68rem; font-weight: 500; line-height: 1.45; }

.cookie-popup__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cookie-popup__button { min-height: 43px; padding: 0 16px; border-radius: 10px; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 800; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.cookie-popup__button--secondary { flex: 1 1 150px; border: 1px solid #c8dfb3; background: #fff; color: #004230; }
.cookie-popup__button--primary { flex: 1 1 150px; border: 1px solid #fea66b; background: #fea66b; color: #003626; }
.cookie-popup__button:hover { box-shadow: 0 7px 15px rgba(0, 66, 48, .12); transform: translateY(-1px); }
.cookie-popup__button--secondary:hover { border-color: #71ab3a; background: #f1f7e9; }
.cookie-popup__button--primary:hover { background: #ffb57f; }
.cookie-popup__button:focus-visible, .cookie-popup__details summary:focus-visible { outline: 3px solid rgba(113, 171, 58, .5); outline-offset: 3px; }

@media (max-width: 500px) {
    .cookie-popup { right: 12px; bottom: 12px; left: 12px; }
    .cookie-popup__panel { padding: 21px; border-radius: 17px; }
    .cookie-popup__actions { flex-direction: column-reverse; }
}

@media (max-width: 600px) {
    .cookie-popup__eyebrow { font-size: .78rem; }
    .cookie-popup h2 { font-size: 1.35rem; }
    .cookie-popup__panel > p:not(.cookie-popup__eyebrow) { font-size: .9rem; }
    .cookie-popup__details summary { min-height: 38px; display: flex; align-items: center; font-size: .86rem; }
    .cookie-popup__details strong { font-size: .84rem; }
    .cookie-popup__details span { font-size: .8rem; }
    .cookie-popup__button { min-height: 48px; font-size: .9rem; }
}
