/* Quiet charcoal, warm wood and ivory. Equal accept/reject controls. */
.piazzetta-consent{position:fixed;inset:auto 28px 28px auto;margin:0;width:530px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 56px);padding:32px;border:1px solid #a57c5560;border-radius:16px;background:#fffcf7;color:#27231f;box-shadow:0 24px 100px #0005;overflow:auto;z-index:1000;font-family:'DM Sans',sans-serif}
.piazzetta-consent::backdrop{background:#17130f50;backdrop-filter:blur(3px)}
.piazzetta-consent .consent-close{position:absolute;right:14px;top:10px;border:0;background:none;color:#50463c;font-size:28px;width:40px;height:40px;line-height:1}
.consent-brand{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:2px;font-weight:600;padding-right:35px}
.consent-brand>span{display:grid;place-items:center;width:36px;height:36px;background:#1c1c1a;color:#f3eee6;border-radius:50%;font:italic 28px Georgia,serif;letter-spacing:0}
.consent-brand i{height:3px;width:32px;background:linear-gradient(90deg,#008c45 0 33%,#eee 33% 66%,#c9252c 66%)}
.piazzetta-consent .consent-intro{margin:23px 0 7px;font-size:11px;color:#786958}
.piazzetta-consent h2{font-family:'Instrument Serif',Georgia,serif;font-size:37px;line-height:1.1;letter-spacing:-.6px;margin:0 0 17px}
.piazzetta-consent #piazzetta-consent-description{font-size:12px;line-height:1.8;color:#665d53;margin:0}
.consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:24px}
.consent-decision{background:#27231f;color:#fffcf7;border:1px solid #27231f;border-radius:6px;min-height:48px;font-size:12px;padding:10px 12px;font-weight:500}
.consent-decision:hover{background:#71573f;border-color:#71573f}
.consent-custom{display:block;width:100%;padding:12px;border:1px solid #c9b9a6;background:transparent;border-radius:6px;min-height:44px;color:#40382f;font-size:12px;margin-top:10px}
.consent-custom:hover{background:#eee4d6}
.consent-bottom{border-top:1px solid #dfd3c3;padding-top:17px;margin-top:22px;display:flex;gap:17px;align-items:start;justify-content:space-between}
.consent-bottom small{font-size:10px;color:#71675b;line-height:1.65;max-width:300px}
.consent-bottom button{padding:0;border:0;background:none;color:#504332;font-size:10px;text-decoration:underline;white-space:nowrap}
.consent-options{margin:20px 0 0}
.consent-option{position:relative;display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e5dacc;padding:15px 0;font-size:12px;margin:0}
.consent-option strong{font-size:12px;font-weight:600}.consent-option p,.consent-option-text{display:block;font-size:11px;color:#71675b;line-height:1.6;margin-top:4px}
.consent-always{color:#5b674b;white-space:nowrap;font-size:9px}
.consent-option input{position:absolute;right:0;opacity:0;width:44px;min-height:26px;height:26px;margin:0;cursor:pointer}
.consent-switch{display:block;flex-shrink:0;width:44px;height:26px;background:#b6aea3;border-radius:20px;padding:3px;pointer-events:none}
.consent-switch::after{content:'';display:block;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .15s}
.consent-option input:checked+.consent-switch{background:#71573f}.consent-option input:checked+.consent-switch::after{transform:translateX(18px)}
.consent-option input:focus-visible+.consent-switch{outline:3px solid #98704c;outline-offset:4px}
.consent-blocked{position:relative;min-height:210px;background:#e8dfd2;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:30px 20px;gap:12px}
.consent-blocked [data-show-external]{position:static;transform:none;inset:auto;z-index:1;max-width:100%;text-align:center}
.consent-external-note{display:none;font-size:11px;color:#70685d;text-align:center}.consent-blocked .consent-external-note{display:block}
iframe[data-external][hidden],[data-show-external][hidden]{display:none!important}
.visit-map.consent-blocked{padding-bottom:110px}.visit-map.consent-blocked .map-button{bottom:20px}
@media(max-width:600px){.piazzetta-consent{inset:auto 12px 12px;width:calc(100vw - 24px);max-width:none;max-height:calc(100dvh - 24px);padding:25px 22px;border-radius:14px}.piazzetta-consent h2{font-size:32px}.consent-actions{gap:9px}.consent-bottom{flex-direction:column;gap:9px}.consent-bottom small{max-width:none}.consent-option{gap:12px}.consent-always{max-width:65px;white-space:normal}}
@media(prefers-reduced-motion:reduce){.consent-switch::after{transition:none}}
