/* Banner come quello di Agriforest: card bianca in basso a destra, azioni equivalenti. */
.pesc-cookie-banner[hidden], .pesc-cookie-buttons[hidden], .pesc-cookie-custom[hidden],
[data-cookie-placeholder][hidden], iframe[data-cookie-category][hidden] { display: none !important; }
.pesc-cookie-banner {
    box-sizing: border-box; position: fixed; z-index: 2147483000; bottom: 24px; right: 24px;
    width: min(387px, calc(100vw - 32px)); max-height: min(85vh, 650px); overflow-y: auto;
    padding: 20px 28px 30px; background: #fff; color: #34495e; border-radius: 6px;
    box-shadow: 0 8px 32px rgba(0,0,0,.26); font-family: Arial, Helvetica, sans-serif;
    font-size: 13px; line-height: 1.55; text-align: left;
}
.pesc-cookie-title { font-size: 16px; font-weight: 700; margin-bottom: 10px; padding-right: 22px; }
.pesc-cookie-close { position: absolute; top: 13px; right: 15px; appearance: none; background: transparent;
    border: none; color: #34495e; font: 21px/1 Arial,sans-serif; cursor: pointer; padding: 5px; }
.pesc-cookie-close:hover { color: #172c45; }
.pesc-cookie-intro { margin: 0 0 19px; line-height: 1.6; }
.pesc-cookie-intro a { color: #34495e; text-decoration: underline; text-underline-offset: 2px; }
.pesc-cookie-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; }
.pesc-cookie-btn { min-height: 33px; padding: 7px 11px; border: 0; border-radius: 3px;
    cursor: pointer; font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1.3; }
.pesc-cookie-btn-primary { background: #30455a; color: #fff; }
.pesc-cookie-btn-primary:hover { background: #263b50; color: #fff; }
.pesc-cookie-btn-muted { grid-column: 1 / -1; background: #cfd4d8; color: #30455a; }
.pesc-cookie-btn-muted:hover { background: #bbc4cb; }
.pesc-cookie-btn:focus-visible, .pesc-cookie-close:focus-visible, .pesc-cookie-footer-btn:focus-visible,
.pesc-map-cookie-button:focus-visible { outline: 3px solid #0b65c5; outline-offset: 2px; }
.pesc-cookie-custom { margin-top: 9px; }
.pesc-cookie-option { display: flex; gap: 12px; align-items: center; justify-content: space-between;
    border-bottom: 1px solid #e3e6ea; padding: 12px 0; color: #34495e; }
.pesc-cookie-option > div { flex: 1; }
.pesc-cookie-option strong { display: block; font-size: 13px; }
.pesc-cookie-option small { display: block; font-size: 11px; opacity: .85; }
.pesc-cookie-option input { width: 20px; height: 20px; accent-color: #30455a; cursor: pointer; }
.pesc-cookie-required { font-size: 11px; font-weight: 600; white-space: nowrap; }
.pesc-cookie-btn-full { width: 100%; margin-top: 10px; }
.pesc-cookie-footer-btn { appearance: none; background: none; border: 0; padding: 0; font: inherit;
    color: white; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.pesc-map-cookie-placeholder { min-height: 520px; display: flex; flex-direction: column; justify-content: center;
    align-items: center; padding: 35px; text-align: center; background: #eef3f9; color: #283d53; border-radius: 8px; }
.pesc-map-cookie-placeholder p { margin: 4px auto 10px; max-width: 390px; }
.pesc-map-cookie-button { border: 0; background: #30455a; color: white; border-radius: 4px;
    padding: 10px 18px; font-size: 14px; cursor: pointer; }
.pesc-map-cookie-button:hover { background: #24384d; }
@media (max-width: 500px) {
    .pesc-cookie-banner { bottom: 12px; right: 12px; width: calc(100vw - 24px); padding: 19px 20px 23px; }
    .pesc-cookie-buttons { gap: 7px; }
    .pesc-map-cookie-placeholder { min-height: 400px; }
}
