:root{--navy:#173659;--blue:#2185c7;--ink:#142941;--muted:#6a7e96;--line:#dce6f0;--paper:#f5f8fc;font-family:'Plus Jakarta Sans',Arial,sans-serif;color:var(--ink);font-size:14px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:#0e2744;min-height:100vh}body:before{content:'';position:fixed;inset:0;z-index:-1;background:linear-gradient(110deg,#0c2440e0,#102d4b9e),url(https://www.queenmats.com/img/background-studio.png) center/cover}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #64b9f3;outline-offset:3px}button{transition:background .15s,box-shadow .15s}img{max-width:100%;display:block}a{color:inherit}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip{position:fixed;top:-100px;left:20px;background:white;padding:14px;z-index:100}.skip:focus{top:10px}
.masthead{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:20px;min-height:85px;padding:12px max(28px,calc((100% - 1380px)/2));background:#173659f5;border-bottom:1px solid #ffffff24;color:white;backdrop-filter:blur(15px)}.brand{flex-shrink:0}.brand img{object-fit:contain}.brand-divider{width:1px;height:30px;background:#ffffff26}.masthead-title{font-size:17px;font-weight:750;letter-spacing:-.4px;white-space:nowrap}.masthead-title small{font-size:9px;margin-left:5px;padding:3px 5px;border:1px solid #ffffff30;border-radius:4px;color:#a6d8fa}.market{margin-left:auto;display:flex;align-items:center;gap:12px}.market label{display:flex;flex-direction:column;gap:4px}.market label>span{font-size:8px;text-transform:uppercase;letter-spacing:.09em;color:#9fbdd8}.market select{background:#ffffff0d;color:white;border:1px solid #ffffff30;border-radius:7px;padding:9px 28px 9px 11px;font-size:11px;max-width:230px}.market option{color:#173659;background:white}.cart-button{background:white;color:var(--navy);border:0;border-radius:8px;padding:11px 15px;font-size:11px;font-weight:700;white-space:nowrap}.cart-button b{background:#e8f3ff;margin-left:8px;padding:3px 6px;border-radius:5px}
.workspace-banner{width:min(1320px,calc(100% - 56px));margin:26px auto 20px;display:flex;justify-content:space-between;align-items:center;color:white;gap:20px}.workspace-banner p{font-size:9px;text-transform:uppercase;letter-spacing:.16em;color:#a8c9e6;margin:0 0 6px}.workspace-banner h1{font-size:25px;letter-spacing:-1px;margin:0;font-weight:750}.catalogue-switch{color:#d9edff;background:#ffffff0a;border:1px solid #ffffff40;border-radius:7px;font-size:11px;padding:10px 15px}.notice{max-width:1320px;width:calc(100% - 56px);margin:0 auto 16px;border:1px solid #a1d3fa;background:#e8f5ff;color:#1a6293;border-radius:9px;padding:13px 18px;font-size:12px}.notice.error{background:#fff2ef;border-color:#f0c0b8;color:#963c30}
.workspace{width:min(1320px,calc(100% - 56px));margin:0 auto 40px;display:grid;grid-template-columns:minmax(0,1fr) 400px;align-items:start;gap:23px;scroll-margin-top:100px}.editor{min-width:0;background:#f4f8fdf5;border:1px solid #ffffffa0;border-radius:17px;box-shadow:0 20px 50px #06172e40;overflow:hidden}.editor-title{display:flex;justify-content:space-between;align-items:center;padding:23px 26px 19px;background:white}.editor-title strong{font-size:22px;letter-spacing:-.8px}.editor-title>span{background:#edf6ff;border:1px solid #d4eaff;border-radius:7px;padding:6px 10px;color:#2185c7;font-size:10px;font-weight:750}#steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;background:white;padding:0 22px 18px}#steps button{display:flex;align-items:center;flex-direction:column;gap:8px;min-width:0;padding:8px 3px 12px;border:0;border-bottom:3px solid #e3ebf4;background:none;color:#7b8da4;border-radius:7px 7px 0 0}#steps span{display:grid;place-items:center;width:28px;height:28px;background:#edf3f9;border:1px solid #dce6f0;border-radius:8px;font-size:11px;font-weight:750}#steps b{font-size:9px;line-height:1.5;font-weight:600;overflow-wrap:anywhere}#steps .active{border-bottom-color:#2185c7;color:#197bbd;background:#f0f8ff}#steps .active span{color:white;background:#2185c7;border-color:#2185c7}#steps .complete{border-bottom-color:#9ecdec;color:#457da6}#steps .complete span{background:#e6f4ff;color:#2185c7}#steps button:disabled{opacity:1;cursor:default}#screen{padding:28px;min-height:360px;border-top:1px solid #e0e9f3}#screen h2{font-size:26px;letter-spacing:-1px;line-height:1.2;margin:0 0 8px}#screen h2:focus{outline:none}.intro{font-size:12px;line-height:1.8;color:var(--muted);margin:0 0 23px}.materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.material{display:flex;flex-direction:column;min-width:0;text-align:left;padding:0;border:1px solid #d7e2ef;border-radius:12px;overflow:hidden;color:var(--ink);background:white;box-shadow:0 3px 7px #17365906;transition:transform .2s,border-color .2s}.material:hover{transform:translateY(-3px);border-color:#69b2e2;box-shadow:0 10px 20px #17365914}.material.selected{border-color:#2185c7;box-shadow:0 0 0 1px #2185c7}.photo{width:100%;height:155px;display:grid;place-items:center;position:relative;background:radial-gradient(ellipse,#fff,#e5edf6)}.photo b{position:absolute;top:11px;left:10px;padding:2px 5px;border:1px solid #d7e2ef;background:#ffffffaf;color:#8094ad;border-radius:4px;font-size:8px}.photo img{width:110px;height:110px;object-fit:cover;border-radius:8px;box-shadow:6px 10px 13px #17365924}.material>strong{font-size:11px;font-weight:800;padding:15px 13px 9px;line-height:1.6}.material>small{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;margin-top:auto;padding:0 13px 14px;font-size:9px;color:#2185c7}.material>small span{display:grid;place-items:center;background:#edf7ff;width:22px;height:22px;border-radius:50%;font-size:13px}.empty{padding:30px 20px;background:white;border:1px dashed #c4d4e6;color:#6a809a;font-size:12px;line-height:1.8;border-radius:10px;grid-column:1/-1;text-align:center}
.preview{position:sticky;top:105px;border-radius:17px;background:#f6fafff5;border:1px solid #ffffffb0;box-shadow:0 20px 50px #06172e40;padding:23px;min-width:0}.preview-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.preview-heading small{font-size:8px;letter-spacing:.13em;text-transform:uppercase;color:#8196ad}.preview-heading h2{font-size:17px;letter-spacing:-.4px;margin:4px 0 0}.preview-heading button{border:1px solid #d7e4f0;background:white;color:#4e759b;font-size:20px;border-radius:7px;width:32px;height:32px;display:grid;place-items:center}.preview-controls{display:flex;gap:4px;background:white;border:1px solid #d8e3ef;border-bottom:0;padding:8px;border-radius:10px 10px 0 0;margin-top:21px}.preview-controls button{font-size:9px;font-weight:650;border:0;background:none;color:#758ba4;border-radius:5px;padding:6px 12px}.preview-controls [aria-pressed=true]{background:#edf6ff;color:#2185c7}#stage{height:290px;display:grid;place-items:center;overflow:hidden;border:1px solid #d8e3ef;border-radius:0 0 10px 10px;background-color:#e6edf5;background-image:radial-gradient(ellipse at 50% 30%,#ffffffa0,transparent 80%),linear-gradient(25deg,transparent 49.8%,#ccd8e755 50%,transparent 50.2%);background-size:auto,110px 55px}#stage.plain{background:white}#mat{position:relative;overflow:hidden;border:6px solid #27374a;border-radius:2px;box-shadow:8px 19px 20px -6px #17365950;background-size:90px auto}#mat.recessed{border:0;box-shadow:0 0 0 7px #9bacc0,0 10px 20px #17365920}#logo,#art-text,#placeholder{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}#logo{touch-action:none;cursor:grab;user-select:none;height:auto}#art-text{font-weight:800;max-width:90%;text-align:center;overflow-wrap:anywhere;line-height:1.15;cursor:grab;touch-action:none}#logo:active,#art-text:active{cursor:grabbing}#placeholder{text-align:center;color:#8192a5;width:90%;pointer-events:none}#placeholder span{display:block;font-size:38px;line-height:1;margin-bottom:8px}#placeholder strong{font-size:18px;letter-spacing:.06em}.preview-help{font-size:9px;line-height:1.7;color:#7b91a9;text-align:center;margin:13px 0 17px}#facts{margin:0 0 16px}#facts>div{display:flex;justify-content:space-between;gap:12px;font-size:10px;padding:8px 0;border-bottom:1px solid #e0e8f3}#facts dt{color:#7086a0}#facts dd{margin:0;text-align:right;max-width:65%;font-weight:700;overflow-wrap:anywhere}.estimate{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:18px 16px;border:1px solid #d1e7fa;background:linear-gradient(120deg,#eaf5ff,#fff);border-radius:10px}.estimate>span{font-size:11px;font-weight:700;color:#466b90}.estimate strong{font-size:27px;letter-spacing:-1px;color:#2185c7}.text-button{border:0;background:none;color:#7a91aa;display:block;margin:12px auto 0;text-decoration:underline;text-underline-offset:3px;font-size:9px}.artwork-promise{display:flex;gap:11px;margin-top:18px;padding-top:16px;border-top:1px solid #dfe8f2}.artwork-promise>span{display:grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#e4f2ff;color:#2185c7;border-radius:8px;font-size:22px}.artwork-promise p{font-size:9px;color:#7189a3;line-height:1.8;margin:0}.artwork-promise strong{display:block;color:#426788;font-size:10px;margin-bottom:3px}
.field{display:flex;flex-direction:column;gap:7px;margin:0 0 18px;min-width:0}.field>span,.field-heading,.size-heading>span,legend{font-size:9px;font-weight:750;color:#597491;text-transform:uppercase;letter-spacing:.07em}.field input,.field select,.field textarea{width:100%;min-width:0;border:1px solid #d0deec;border-radius:8px;padding:12px 13px;background:white;color:#173659;font-size:13px}.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:#2185c7;box-shadow:0 0 0 3px #2185c714}.field input:disabled{background:#e9eff6}.field input[type=range]{accent-color:#2185c7;background:none;border:0;padding:12px 0;box-shadow:none}.field textarea{resize:vertical}.two-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.two-cols>*{min-width:0}fieldset{border:1px solid #dce6f1;border-radius:9px;padding:13px 12px 0;margin:0 0 15px}legend{padding:0 5px}.size-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 13px;flex-wrap:wrap}.unit-control{display:inline-flex;align-items:stretch;gap:3px;border:1px solid #cedfee;border-radius:9px;background:#e7f0f9;padding:4px}.unit-control button{min-width:65px;min-height:36px;padding:8px 13px;border:1px solid transparent;border-radius:6px;background:transparent;color:#64809d;white-space:nowrap;font-size:11px;font-weight:750;line-height:1.3}.unit-control [aria-pressed=true]{background:#fff;color:#187bbd;border-color:#c4dff3;box-shadow:0 2px 5px #1736590e}.field-heading{margin:17px 0 10px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.choices button{display:flex;align-items:center;justify-content:center;gap:13px;min-height:50px;background:white;border:1px solid #d4e1ef;border-radius:9px;color:#627e9a;font-size:11px;font-weight:650;padding:13px}.choices [aria-pressed=true]{border-color:#2185c7;box-shadow:inset 0 0 0 1px #2185c7;background:#edf7ff;color:#173659}.shape{width:28px;height:37px;border:2px solid currentColor;border-radius:3px;opacity:.6}.shape.Landscape{width:37px;height:28px}.colors{display:flex;flex-wrap:wrap;gap:14px;padding:10px 4px}.colors button{width:38px;height:38px;background:var(--swatch);border:2px solid white;border-radius:9px;box-shadow:0 0 0 1px #bdcede}.colors [aria-pressed=true]{box-shadow:0 0 0 3px #2185c7}.color-name{padding:13px 16px;background:#e8f3fd;border-radius:8px;font-size:12px;color:#6483a1}.color-name strong{color:#234d71}.actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:21px;margin-top:24px;border-top:1px solid #dce6f1}.actions>.button:last-child{margin-left:auto}.button{display:inline-flex;justify-content:center;align-items:center;border:1px solid transparent;border-radius:8px;min-height:43px;padding:12px 18px;color:white;background:linear-gradient(120deg,#2799dd,#1978b8);box-shadow:0 4px 9px #2185c71a;font-size:11px;font-weight:750}.button:hover:not(:disabled){background:#176ba6}.button.secondary{background:white;border-color:#d1dfed;color:#527393;box-shadow:none}.button.secondary:hover:not(:disabled){background:#eaf6ff}.button.paypal{background:#ffc439;color:#073267;box-shadow:none}.alignment{display:flex;gap:8px;margin:0 0 17px}.alignment .button{font-size:10px;padding:8px 12px;min-height:33px}.upload{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;position:relative;border:1px dashed #89bae0;border-radius:11px;background:#edf7ff;min-height:140px;margin:22px 0 22px;color:#2185c7}.upload>span{font-size:32px;line-height:1}.upload strong{font-size:12px}.upload small{font-size:9px;color:#7b97b0}.upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload:focus-within{outline:3px solid #64b9f3;outline-offset:3px}.checkbox{display:flex;align-items:center;gap:8px;font-size:11px;color:#597895;margin:0 0 20px}.checkbox input{accent-color:#2185c7}.cart-items{display:flex;flex-direction:column;gap:12px;margin:8px 0 24px}.cart-item{display:grid;grid-template-columns:84px minmax(0,1fr) 78px 128px 36px;gap:16px;align-items:center;border:1px solid #d5e3f0;border-radius:14px;padding:16px 18px;background:white;box-shadow:0 8px 24px #1736590c}.mini-mat{width:84px;height:84px;border-radius:10px;display:grid;place-items:center;overflow:hidden;background:#f3f7fb}.mini-mat img{width:100%;height:100%;object-fit:cover}.cart-copy{min-width:0;display:flex;flex-direction:column;gap:3px}.cart-copy strong{font-size:16px;letter-spacing:-.3px;color:#173659}.cart-size{font-size:15px;font-weight:750;color:#2185c7}.cart-meta,.cart-each{font-size:12px;line-height:1.45;color:#5d7690}.cart-line{font-size:18px;letter-spacing:-.4px;text-align:right;color:#173659}.cart-qty input{width:72px;border:1px solid #ceddec;border-radius:8px;padding:10px;font-size:15px;text-align:center;color:#173659}.cart-remove{border:1px solid #edccd0;background:#fff2f4;color:#bb5c6b;width:36px;height:36px;border-radius:8px;font-size:18px}.totals{background:#eaf4fe;border:1px solid #d1e5f8;border-radius:10px;padding:14px 18px;font-size:11px;margin-top:20px}.totals p{display:flex;justify-content:space-between;gap:12px;margin:9px 0}.totals p:nth-last-child(-n+2){padding-top:10px;border-top:1px solid #d7e5f4}.totals strong{color:#275c86}.payment-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.payment-actions>*{flex:1 1 140px}.payment-note{padding:12px 14px;background:#fff5dc;color:#8d6b2e;border:1px solid #f0dfb6;border-radius:8px;font-size:11px;line-height:1.7}.pending{display:flex;align-items:center;justify-content:space-between;margin-top:16px;font-size:11px}.success-mark{display:grid;place-items:center;width:60px;height:60px;background:#e4f4ff;border:1px solid #b4defa;color:#2185c7;font-size:29px;border-radius:50%;margin:10px 0 22px}#screen>p{line-height:1.8}.muted{color:#6d86a0;font-size:11px}
footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:26px max(28px,calc((100% - 1320px)/2));background:#0d2037e8;border-top:1px solid #ffffff18;color:#9bb7d1;font-size:10px}footer>span:first-child{color:white;font-size:14px;font-weight:750}footer a{text-decoration:none}.mobile-bar{display:none}.preview-expanded{overflow:hidden}.preview-expanded:after{content:'';position:fixed;inset:0;background:#071a32cb;backdrop-filter:blur(8px);z-index:49}.preview.expanded{position:fixed;inset:20px;max-width:900px;margin:auto;z-index:50;background:#f7fbff;overflow:auto}.expanded #stage{height:min(48vh,490px)}.expanded #facts{display:flex;gap:20px;margin-top:15px}.expanded #facts>div{flex:1}.expanded .estimate{max-width:400px;margin:auto}.expanded .artwork-promise{display:none}dialog{border:1px solid #d7e5f3;border-radius:18px;padding:30px 35px;max-width:350px;text-align:center;color:#173659;box-shadow:0 30px 80px #0004}dialog::backdrop{background:#09213c99;backdrop-filter:blur(6px)}dialog p{font-size:13px;line-height:1.7}dialog button{background:#eef5fc;border:1px solid #cddfed;color:#416d93;border-radius:8px;padding:9px 20px;font-size:11px}.spinner{margin:auto;width:30px;height:30px;border:3px solid #dbeaf7;border-top-color:#2185c7;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.workspace,.workspace-banner{max-width:1440px;width:calc(100% - 90px)}.workspace{grid-template-columns:minmax(0,1fr) 440px;gap:28px}.photo{height:175px}.photo img{width:128px;height:128px}.material>strong{font-size:12px}#stage{height:335px}.preview{padding:26px}}
@media(max-width:1150px){.workspace{grid-template-columns:minmax(0,1fr) 340px;gap:18px}.workspace,.workspace-banner{width:calc(100% - 36px)}.masthead{padding-left:20px;padding-right:20px;gap:14px}.market select{max-width:180px}.masthead-title{font-size:14px}.brand img{width:125px;height:43px}#screen{padding:23px}.photo{height:125px}.photo img{width:90px;height:90px}.material>strong{font-size:10px}.material>small{font-size:8px}.materials{gap:10px}.preview{padding:18px}#stage{height:265px}.preview-heading h2{font-size:15px}.estimate strong{font-size:23px}}
@media(max-width:900px){.workspace{grid-template-columns:1fr;max-width:710px}.workspace-banner{max-width:710px}.preview{position:static}.masthead-title,.brand-divider{display:none}.market{margin-left:auto}.photo{height:155px}.photo img{width:110px;height:110px}.material>strong{font-size:12px}.material>small{font-size:9px}.materials{gap:14px}.preview-heading h2{font-size:18px}#stage{height:310px}.mobile-bar{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffffff2;z-index:40;border-top:1px solid #d3e3ef;align-items:center;gap:10px;justify-content:space-between;padding:12px 16px calc(12px + env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.mobile-bar>span{color:#2185c7;font-weight:800;font-size:16px;margin-right:auto}.mobile-bar button{background:#2185c7;border:0;color:white;font-size:11px;font-weight:700;border-radius:7px;padding:11px 13px}.mobile-bar #mobile-preview{color:#426e96;background:#edf5fc}body{padding-bottom:75px}.preview.expanded{inset:12px}.expanded #facts{display:block}.expanded .preview-help{margin:10px 0}.expanded #stage{height:38vh}}
@media(max-width:550px){.masthead{gap:9px;padding:10px 14px;flex-wrap:wrap;min-height:0}.brand img{width:125px;height:40px}.market{order:3;width:100%;gap:9px}.market label{flex:1;min-width:0}.market label>span{font-size:7px}.market select{font-size:10px;padding:8px;max-width:100%;width:100%}.cart-button{margin-left:auto;font-size:10px;padding:9px 13px}.workspace,.workspace-banner{width:calc(100% - 22px)}.workspace-banner{margin:20px auto 15px;align-items:center;gap:10px}.workspace-banner h1{font-size:19px;letter-spacing:-.6px}.workspace-banner p{font-size:7px}.catalogue-switch{font-size:9px;padding:8px 10px}.workspace{gap:14px;scroll-margin-top:136px}.editor{border-radius:13px}.editor-title{padding:18px 16px}.editor-title strong{font-size:20px}.editor-title>span{font-size:9px}#steps{padding:0 9px 13px;gap:4px}#steps b{font-size:7px}#steps span{width:25px;height:25px;font-size:10px}#steps button{gap:7px;padding:7px 2px 10px}#screen{padding:23px 16px}#screen h2{font-size:23px}.intro{font-size:11px}.materials{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.photo{height:135px}.photo img{width:100px;height:100px}.material>strong{font-size:11px;padding:13px 11px 8px}.material>small{padding:0 11px 12px}.field input,.field select,.field textarea{font-size:16px;padding:11px 10px}.field>span,.field-heading,legend{font-size:8px}.two-cols{gap:10px}.customer{grid-template-columns:1fr}.size-heading{gap:9px}.size-heading>span{font-size:8px}.unit-control button{font-size:10px;padding:8px 10px;min-width:57px;min-height:35px}.unit-control{max-width:100%}fieldset{padding:10px 8px 0}.choices button{font-size:10px;gap:8px;padding:12px 8px}.shape{width:22px;height:30px}.shape.Landscape{width:30px;height:22px}.button{font-size:10px;padding:12px 14px}.cart-item{grid-template-columns:40px minmax(0,1fr) 49px 23px;gap:8px;padding:11px 9px}.mini-mat{height:35px}.cart-item strong{font-size:10px}.cart-item input{width:49px}.cart-item>button{width:23px;height:27px}.cart-item small{font-size:8px}.notice{width:calc(100% - 22px);font-size:11px}.preview{border-radius:13px}.preview.expanded{inset:9px;padding:16px}.expanded #stage{height:32vh}.expanded .preview-controls{margin-top:13px}.expanded #facts>div{padding:6px 0}.mobile-bar>span{font-size:13px}.mobile-bar{gap:6px;padding-left:12px;padding-right:12px}.mobile-bar button{font-size:9px;padding:11px}.totals{padding:12px;font-size:10px}.actions{gap:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.workspace.order-view{grid-template-columns:minmax(0,1fr)}
@media(max-width:700px){.cart-item{grid-template-columns:72px minmax(0,1fr) 36px;grid-template-areas:"img copy remove" "img qty price";gap:8px 12px;padding:14px}.mini-mat{grid-area:img;width:72px;height:72px}.cart-copy{grid-area:copy}.cart-qty{grid-area:qty}.cart-line{grid-area:price;font-size:16px}.cart-remove{grid-area:remove}.cart-qty input{width:64px;padding:8px}}
