.account-popup{width:min(880px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);overflow:auto;box-shadow:0 20px 70px #17324733}
.account-popup::backdrop{background:#17324766;backdrop-filter:blur(5px)}
.account-popup-head{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--line);background:var(--paper)}
.account-popup-head h2{font-size:22px;margin:0;overflow-wrap:anywhere}
.account-popup-head button{flex-shrink:0}
.account-popup-tools{display:flex;flex-wrap:wrap;gap:8px;padding:12px 20px 0}
.account-popup-body{padding:0 20px 20px;overflow-wrap:anywhere}
.account-popup-body .order-row{gap:12px;flex-wrap:wrap}
.account-popup-body .order-row>div{min-width:0;flex:1 1 240px}
.account-popup-body .form{max-width:none}
body:has(.account-popup[open]){overflow:hidden}
.etr-order-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--line)}
.etr-order-heading p{overflow-wrap:anywhere}
.etr-order-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:28px;padding-top:20px}
.etr-order-layout h3{font-size:18px;margin:0 0 12px}
.etr-order-products,.etr-order-info{min-width:0}
.etr-order-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);align-items:start}
.etr-order-item h3{font-size:15px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 6px}
.etr-order-item p,.etr-order-item small{font-size:13px;color:var(--muted);line-height:1.6;margin:0;overflow-wrap:anywhere}
.etr-order-item>strong{font-size:14px;padding-top:3px}
.etr-order-info{border-left:1px solid var(--line);padding-left:24px}
.etr-order-info section{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid var(--line)}
.etr-order-info p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.etr-order-info dl{margin:0 0 16px;font-size:14px}
.etr-order-info dl>div{display:flex;justify-content:space-between;gap:16px;padding:7px 0}
.etr-order-info dd{margin:0;text-align:right}
.etr-order-info .etr-order-total{font-weight:700;font-size:17px;border-top:1px solid var(--line);margin-top:8px;padding-top:12px}
.etr-order-info .etr-order-note{font-size:12px;color:var(--muted)}
.etr-order-info .primary{width:100%}
@media(max-width:700px){.etr-order-layout{grid-template-columns:minmax(0,1fr);gap:24px}.etr-order-info{border-left:0;padding-left:0}.etr-order-item{gap:10px}}
@media(max-width:600px){.account-popup{width:calc(100% - 20px);max-height:calc(100dvh - 24px)}.account-popup-head,.account-popup-body{padding:14px}.account-popup-tools{padding:12px 14px 0}.account-popup-head h2{font-size:20px}.account-popup-body .order-row>div{flex-basis:100%}}
.checkout-address{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);min-width:0}
.checkout-address p{margin:6px 0;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.checkout-address>div{min-width:0}.checkout-address button{flex-shrink:0}
@media(max-width:400px){.checkout-address{align-items:flex-start;flex-direction:column}}
.checkout-submit-actions{margin-top:18px}.checkout-submit-actions button{width:100%}
.checkout-submit-actions button:disabled{background:#d5dde3!important;border-color:#d5dde3!important;color:#6a7782!important;box-shadow:none!important;opacity:1;cursor:not-allowed}
