.google-consent{display:block;width:min(640px,calc(100vw - 32px));padding:24px}
.google-consent-actions{display:flex;flex-wrap:wrap;margin-top:18px}
.google-consent-actions button{flex:1;min-width:130px}
.cookie-preferences{width:min(720px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #e7d4bd;border-radius:22px;color:#39271e;background:#fffdf9;box-shadow:0 24px 100px #21150d55}
.cookie-preferences::backdrop{background:#211a16a8;backdrop-filter:blur(3px)}
.cookie-preferences[open]{display:flex;flex-direction:column}
.cookie-preferences header{display:flex;align-items:center;justify-content:space-between;padding:26px 28px 20px;border-bottom:1px solid #ebdfd1}
.cookie-preferences h2{font-size:30px;letter-spacing:-1px;margin:4px 0 0}
.cookie-preferences header button{width:42px;height:42px;border:1px solid #e4d4c1;border-radius:50%;background:white;font-size:24px;color:#573c29;cursor:pointer}
.cookie-preferences-body{overflow:auto;overscroll-behavior:contain;padding:8px 28px 22px}
.cookie-preferences-body>p{font-size:14px;line-height:1.8;color:#6d5b4c}
.cookie-category{border:1px solid #e8dccd;border-radius:14px;background:white;padding:20px;margin-top:14px}
.cookie-category>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cookie-category h3{font-size:16px;margin:0;line-height:1.5}
.cookie-category p{font-size:13px;line-height:1.8;color:#6d5b4c;margin:12px 0 0}
.cookie-category summary{font-size:12px;font-weight:650;cursor:pointer;margin-top:12px;color:#7d5028}
.cookie-required{font-size:11px;white-space:nowrap;background:#edf4e9;color:#37613c;padding:6px 10px;border-radius:20px}
.cookie-category input[role=switch]{appearance:none;width:44px;height:26px;flex-shrink:0;background:#d3ccc3;border-radius:20px;position:relative;cursor:pointer;margin:0}
.cookie-category input[role=switch]::after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002}
.cookie-category input[role=switch]:checked{background:#3e6847}
.cookie-category input[role=switch]:checked::after{left:21px}
.cookie-preferences :focus-visible{outline:3px solid #ad793c;outline-offset:3px}
.cookie-preferences footer{display:flex;flex-wrap:wrap;gap:10px;padding:18px 28px;background:#faf4eb;border-top:1px solid #ebdfd1}
.cookie-preferences footer button{flex:1;padding:13px 12px;min-height:46px;border:1px solid #b9956e;border-radius:10px;background:white;color:#422d20;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.cookie-preferences footer button[data-cookie-accept]{background:#3a241b;color:white;border-color:#3a241b}
.cookie-policy-links{display:flex;flex-wrap:wrap;gap:12px}
.cookie-policy-links a{color:#704927;text-decoration:underline;text-underline-offset:3px;font-size:12px}
.cookie-storage-note{min-height:1em}
@media(max-width:520px){.cookie-preferences header{padding:20px}.cookie-preferences-body{padding:8px 16px 18px}.cookie-preferences footer{padding:14px 16px;gap:8px}.cookie-preferences footer button{flex-basis:100%}.cookie-category{padding:16px}.google-consent{left:12px;bottom:12px;width:calc(100vw - 24px);max-height:75dvh;overflow:auto;padding:18px}.google-consent-actions{gap:8px}.google-consent-actions button{min-width:100px}.cookie-preferences h2{font-size:26px}}
