.saq-store-categories,.saq-model-store{--shop-text:#f1efeb;--shop-muted:#aaa9a4;--shop-accent:#e9c37e;box-sizing:border-box;width:min(100%,1440px);margin-inline:auto;padding-inline:clamp(12px,2.2vw,28px);color:var(--shop-text)}
.saq-store-categories{display:flex;gap:24px;margin-block:19px 28px}
.saq-store-categories .saq-store-category{position:relative;padding:11px 0;color:#bbb9b4;text-decoration:none;font-weight:650;font-size:15px;transition:color .16s}
.saq-store-categories .saq-store-category:hover,.saq-store-categories .saq-store-category[aria-current=page]{color:#fff}
.saq-store-category[aria-current=page]::after{content:"";position:absolute;inset:auto 0 1px;height:2px;background:var(--shop-accent);border-radius:2px}
.saq-model-store{padding-bottom:48px}
.saq-model-heading h1{font-size:clamp(28px,3.4vw,47px);letter-spacing:-.04em;line-height:1.06;margin:0 0 7px;color:var(--shop-text)}
.saq-model-heading p{margin:0;color:var(--shop-muted);font-size:14px}
.saq-model-toolbar{margin:21px 0 17px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.saq-model-tabs{display:flex;gap:4px;padding:3px;background:#1d1e20;border-radius:8px}
html body .saq-model-store .saq-model-tabs button{background:transparent;border:0;border-radius:6px;padding:8px 11px;color:#b9b8b5;font:inherit;cursor:pointer}
html body .saq-model-store .saq-model-tabs button[aria-pressed=true]{background:#333436;color:#fff}
#saqModelSearch{box-sizing:border-box;width:min(100%,215px);background:#1d1e20;color:#f7f6f4;border:1px solid transparent;border-radius:8px;padding:9px 11px;font:inherit}
#saqModelSearch::placeholder{color:#aaa9a6}
#saqModelBalance{margin-left:auto;color:var(--shop-muted);font-variant-numeric:tabular-nums}
#saqModelStatus:empty,#saqModelDialogError:empty{display:none}
.saq-model-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,218px),1fr));gap:15px}
.saq-model-card{min-width:0;background:#202123;border-radius:10px;overflow:hidden}
.saq-model-card .saq-model-art{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;background:#2b2c2f}
.saq-model-card .saq-model-art>img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover;transition:transform .22s}
.saq-model-card:hover .saq-model-art>img{transform:scale(1.025)}
.saq-model-card .saq-model-art .saq-model-preview{position:absolute;inset:0;width:100%;height:100%;border:0;box-shadow:none;background:transparent;color:transparent;cursor:zoom-in;padding:0}
.saq-model-card .saq-model-art .saq-model-preview:focus-visible{outline-offset:-4px}
.saq-model-caption{display:flex;justify-content:space-between;align-items:center;gap:7px;min-height:69px;padding:10px 12px}
.saq-model-card-info{min-width:0}
.saq-model-title{margin:0 0 2px;font-size:clamp(14px,1.23vw,19px);line-height:1.2;color:var(--shop-text);overflow-wrap:anywhere}
.saq-model-terms{color:#c8c7c3;font-size:13px;font-variant-numeric:tabular-nums}
html body .saq-model-store button.saq-model-action,.saq-model-primary{border:0;border-radius:7px;background:var(--shop-accent);color:#251c13;font:inherit;font-weight:750;cursor:pointer;transition:background .16s,transform .16s}
html body .saq-model-store button.saq-model-action{padding:8px 10px;white-space:nowrap}
html body .saq-model-store button.saq-model-action:hover,.saq-model-primary:not(:disabled):hover{background:#f5d59b}
html body .saq-model-store button.saq-model-action:active,.saq-model-primary:active{transform:scale(.98)}
.saq-model-store :focus-visible,.saq-store-categories :focus-visible{outline:2px solid #f3d18d;outline-offset:2px}
html body dialog#saqModelDialog[open]{position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;box-sizing:border-box;width:min(92vw,680px)!important;height:max-content!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 28px)!important;overflow:auto;padding:0;border:0;border-radius:13px;background:#202123;color:var(--shop-text);outline:none;box-shadow:0 20px 70px #0008}
#saqModelDialog::backdrop{background:#08090bc9}
.saq-model-dialog-frame{position:relative}
html body #saqModelDialog .saq-model-close{position:absolute;z-index:1;top:10px;right:10px;display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:7px;color:#fff;background:#202123d9;font-size:23px;line-height:1;cursor:pointer}
html body #saqModelDialog .saq-model-close:hover{background:#393a3d}
.saq-model-dialog-content{display:grid;grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);align-items:stretch}
.saq-model-dialog-content .saq-model-dialog-art{min-height:370px;max-height:min(62dvh,475px);display:grid;background:#28292c}
.saq-model-dialog-art img{display:block;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;min-height:0;object-fit:contain}
.saq-model-dialog-body{align-self:center;padding:30px 21px 22px;min-width:0}
.saq-model-dialog-body h2{margin:0 0 6px;color:var(--shop-text);font-size:30px;line-height:1.1;letter-spacing:-.025em}
.saq-model-dialog-body p{font-size:14px;margin:0 0 12px;color:#c2c1bc;line-height:1.45}
.saq-model-dialog-body .saq-model-dialog-price{color:#fff;font-size:23px;font-weight:750;margin-bottom:10px}
.saq-model-summary{margin:12px 0;padding:10px;background:#28292b;border-radius:7px;font-size:13px}
.saq-model-summary[hidden],.saq-model-primary[hidden]{display:none!important}
.saq-model-summary>div{display:flex;justify-content:space-between;gap:10px}
.saq-model-summary>div+div{margin-top:7px}
.saq-model-summary dt{color:#c2c1bc}
.saq-model-summary dd{margin:0;color:#f8f6ec;text-align:right}
.saq-model-primary{display:block;box-sizing:border-box;width:100%;padding:10px;text-decoration:none;text-align:center}
.saq-model-primary:disabled{background:#454649;color:#d0cfca;cursor:default}
.saq-model-checkout-link:not([hidden])+#saqModelBuy{margin-top:7px}
@media(max-width:610px){
 .saq-store-categories{margin-block:12px 20px}
 .saq-model-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .saq-model-caption{padding:7px;flex-wrap:wrap;min-height:81px}
 .saq-model-toolbar{gap:8px}
 #saqModelSearch{width:min(100%,160px)}
 #saqModelBalance{margin-left:0}
 .saq-model-dialog-content{grid-template-columns:1fr}
 .saq-model-dialog-content .saq-model-dialog-art{height:min(42dvh,360px);min-height:0}
 .saq-model-dialog-body{padding:14px}
 .saq-model-dialog-body h2{font-size:24px}
}
@media(prefers-reduced-motion:reduce){.saq-model-store *,.saq-store-categories *{transition:none!important}}
