.ec-terms{box-sizing:border-box;width:min(760px,calc(100% - 32px));max-width:none;max-height:85vh;max-height:85dvh;margin:auto;padding:0;border:0;border-radius:12px;background:#fffaf3;color:#30251f;box-shadow:0 20px 80px #0005;font-family:var(--ec-body),sans-serif;overflow:auto;overscroll-behavior:contain;text-align:left}
.ec-terms::backdrop{background:rgb(0 0 0 / 65%)}
html.ec-terms-open{overflow:hidden}
.ec-terms .ec-terms-header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 28px;background:#fffaf3;border-bottom:1px solid #30251f26}
.ec-terms #ec-terms-title{margin:0;font-family:var(--ec-heading),sans-serif;font-size:clamp(20px,3vw,28px);font-weight:600;line-height:1.2;letter-spacing:normal;text-transform:none}
.ec-terms .ec-terms-close{flex-shrink:0;min-height:44px;padding:8px 12px;border:1px solid #30251f55;border-radius:6px;background:transparent;color:inherit;font:inherit;cursor:pointer}
.ec-terms .ec-terms-content{padding:8px 28px 28px;font-size:16px;line-height:1.65}
.ec-terms .ec-terms-content h3{margin:24px 0 8px;font-family:var(--ec-heading),sans-serif;font-size:20px;font-weight:600;line-height:1.3;letter-spacing:normal;text-transform:none}
.ec-terms .ec-terms-content p{margin:12px 0;font-size:inherit;line-height:inherit;color:inherit}
.ec-terms .ec-terms-content ul{list-style:disc;padding-left:24px;margin:12px 0}
.ec-terms .ec-terms-content li{margin:6px 0}
.ec-terms .ec-terms-content a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.ec-terms :focus-visible{outline:3px solid #8f3228;outline-offset:3px}
@media(max-width:600px){.ec-terms{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:8px}.ec-terms .ec-terms-header{padding:16px;gap:8px}.ec-terms .ec-terms-content{padding:4px 20px 24px}.ec-terms #ec-terms-title{font-size:20px}.ec-terms .ec-terms-close{padding:8px}}
