.tapo-sd-dialog{width:min(500px,calc(100% - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:28px 30px 20px;border:0;border-radius:var(--rounded-sm,8px);color:rgb(var(--text-primary));background:rgb(var(--dialog-background));font-family:var(--text-font-family);overflow:auto;overscroll-behavior:contain}
.tapo-sd-dialog::backdrop{background:#0006}
.tapo-sd-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tapo-sd-heading h2{margin:0;font-family:var(--heading-font-family);font-weight:var(--heading-font-weight);font-size:21px;line-height:1.5;letter-spacing:-.5px}
.tapo-sd-close{display:grid;place-items:center;width:44px;height:44px;flex:none;margin-right:-10px}
#tapo-sd-description{font-size:13px;line-height:1.8;margin:8px 0 22px}
.tapo-sd-item{display:flex;align-items:center;gap:18px;padding:20px 0;border-block:1px solid rgb(var(--border-color))}
.tapo-sd-item>div{min-width:0;font-size:14px;line-height:1.7}
.tapo-sd-image{width:88px;height:88px;object-fit:contain;flex:none;background:#fff;border-radius:var(--rounded-xs)}
.tapo-sd-price{margin-top:8px;font-size:16px;font-variant-numeric:tabular-nums}
.tapo-sd-options{border:0;padding:0;margin:21px 0 25px;min-width:0}
.tapo-sd-options legend{margin-bottom:11px}
.tapo-sd-choices{display:flex;gap:8px;flex-wrap:wrap}
.tapo-sd-choice{position:relative;flex:1;min-width:65px;cursor:pointer}
.tapo-sd-choice input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:inherit}
.tapo-sd-choice span{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid rgb(var(--border-color));border-radius:var(--rounded-button);padding:9px 10px;font-size:13px}
.tapo-sd-choice input:checked+span{border:2px solid currentColor;padding:8px 9px}
.tapo-sd-choice input:focus-visible+span{outline:2px solid currentColor;outline-offset:3px}
.tapo-sd-choice input:disabled+span{text-decoration:line-through;cursor:not-allowed;opacity:.5}
.tapo-sd-choice[hidden]{display:none}
.tapo-sd-footer .button{min-height:52px}
.tapo-sd-skip{display:block;min-height:44px;width:100%;padding:10px;margin-top:7px;text-decoration:underline;text-underline-offset:4px;font-size:13px}
.tapo-sd-error{color:rgb(var(--error-text));font-size:13px;margin-bottom:16px}
html:has(.tapo-sd-dialog[open]){overflow:hidden}
html:has(.tapo-sd-dialog[open]) #bon-loyalty-btn{visibility:hidden}
@media(max-width:480px){.tapo-sd-dialog{padding:20px 20px 15px}.tapo-sd-heading h2{font-size:18px}.tapo-sd-item{gap:12px}.tapo-sd-image{width:70px;height:76px}.tapo-sd-choice{min-width:52px}.tapo-sd-choices{gap:6px}.tapo-sd-choice span{font-size:12px;padding:10px 5px}}
