/* QPrinty 13 — responsive, contained Arabic typography selection */
.qp-studio-route,.qprinty-studio,.qp-sidebar,.qp-panel,.qp-fields-two,.qp-fields-two>label{min-width:0;max-width:100%;box-sizing:border-box}
.qp-studio-route #qp-editor-font.qp13-native-font-select{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)}
.qp-studio-route .qp-font-search{width:100%!important;max-width:100%!important;box-sizing:border-box!important;min-height:42px!important}
.qp-studio-route .qp13-font-results{position:relative!important;inset:auto!important;display:flex;flex-direction:column;gap:3px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;min-width:0;max-width:100%;max-height:216px;border:1px solid #d5e3df;border-radius:12px;background:#fff;padding:5px;scrollbar-width:thin;z-index:1;contain:layout style}
.qp-studio-route .qp13-font-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-width:0;max-width:100%;font:inherit;text-align:right!important;border:1px solid transparent;background:#fff;color:#1d4246;cursor:pointer;border-radius:7px;padding:6px 8px;min-height:43px}
.qp-studio-route .qp13-font-option>span{font-size:10px;line-height:1.4;overflow-wrap:anywhere;max-width:54%;text-align:right}
.qp-studio-route .qp13-font-option>strong{font-size:19px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:48%;direction:rtl}
.qp-studio-route .qp13-font-option[aria-selected=true],.qp-studio-route .qp13-font-option:hover,.qp-studio-route .qp13-font-active{border-color:#8bbab1;background:#edf8f5}
.qp-studio-route .qp13-no-font,.qp-studio-route .qp13-font-more{font-size:11px;color:#5b716f;margin:4px 8px}
.qp13-checkout-feedback{display:block;line-height:1.5;font-size:12px;color:#9a4736;padding-top:4px}
.qp13-error{border:2px solid #b43a36!important;background:#fff6f4!important;padding:18px!important;margin:12px 0!important;border-radius:12px!important;color:#772f2b!important}
.qp13-error strong{display:block;font-size:16px}.qp13-error p{margin:4px 0 10px}.qp13-error a{color:#235c60;text-decoration:underline}
.qp-order-submit button:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:800px){.qp-studio-route .qp13-font-results{max-height:190px}.qp-studio-route .qp13-font-option>strong{font-size:16px}}

/* Distinct vector tools: logo, editorial quote, circular letterforms and material-colour contrast. */
.qp13-creative-tool{display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.25fr);gap:18px;align-items:start;min-width:0;grid-column:1/-1;width:100%}
.qp13-creative-controls{min-width:0;display:grid;gap:10px}.qp13-creative-controls>label{display:grid;gap:4px;font-weight:700;color:#203d44}
.qp13-creative-controls :is(input:not([type=color]):not([type=range]),select,textarea){width:100%;box-sizing:border-box;border:1px solid #d6e3e2;border-radius:8px;padding:8px;font-family:inherit}
.qp13-creative-controls input[type=color]{width:80px;height:39px;border:0;background:transparent;cursor:pointer}
.qp13-creative-actions{display:flex;gap:8px;flex-wrap:wrap}.qp13-creative-actions>button{border:1px solid #b2cfca;background:white;padding:9px 12px;border-radius:9px;color:#1a545c;cursor:pointer}
.qp13-creative-preview{min-width:0;overflow:hidden;border:1px solid #d9e6e0;background:repeating-linear-gradient(45deg,#f7faf9 0,#f7faf9 12px,#fff 12px,#fff 24px);border-radius:14px;display:grid;place-items:center;padding:14px}
#qp13-creative-svg{display:block;max-width:100%;height:auto;min-height:250px}
.qp13-color-report{border-radius:9px;background:#eaf2ee;color:#13434b;padding:9px;line-height:1.7}
@media(max-width:760px){.qp13-creative-tool{grid-template-columns:minmax(0,1fr)}}

/* Focused product detail, compact product views and realistic item context. */
.qp13-product-intro{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:clamp(15px,3vw,38px)!important;margin-top:14px!important}
.qp13-product-visual{min-width:0}.qp13-product-photo{display:grid;place-items:center;overflow:hidden;border-radius:15px;background:#f5f7f6;aspect-ratio:1.25;max-height:550px;padding:10px}
.qp13-product-photo>img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.qp13-product-angles{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.qp13-angle{display:flex;align-items:center;flex-direction:column;gap:3px;background:white;border:1px solid #dce5e1;border-radius:10px;padding:4px 6px;cursor:pointer;min-width:80px;color:#25494c;font-size:11px}
.qp13-angle img{height:52px;width:73px;object-fit:contain}.qp13-angle.is-current,.qp13-angle:hover{border:2px solid #247b78;background:#edf5f1}.qp13-product-visual>small{font-size:11px;color:#5e787a;line-height:1.7}
.qp13-product-steps{margin-top:15px;padding:12px 16px;background:#f4f7f5;border-radius:10px;color:#214f54}.qp13-product-steps strong{font-size:13px}.qp13-product-steps ol{display:flex;gap:18px;flex-wrap:wrap;padding:0 18px;margin:5px 0 0;list-style:decimal}.qp13-product-steps li{font-size:12px;line-height:1.8}
@media(max-width:790px){.qp13-product-intro{grid-template-columns:1fr!important}.qp13-product-photo{aspect-ratio:1.25;max-height:390px}}

/* Data-driven, editable type treatments for the design gallery. */
.qp-template-grid .qp13-gallery-art{padding:0!important;display:block!important;overflow:hidden!important;background:#f8f4ee;aspect-ratio:4/5!important;min-height:190px}
.qp13-art{height:100%;width:100%;min-height:225px;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:12px;isolation:isolate;padding:24px 16px;box-sizing:border-box;color:var(--qp13-ink);background:#f3eee4;font-family:'Amiri','Noto Naskh Arabic',serif}
.qp13-art strong{font-size:clamp(27px,3vw,48px);line-height:1.4;max-width:96%;overflow-wrap:normal;word-break:normal;z-index:1}
.qp13-art-motif{font-size:68px;line-height:1;opacity:.3;z-index:0}.qp13-art-footer{font:500 9px/1.4 sans-serif;letter-spacing:.06em;opacity:.7;margin-top:10px}
.qp13-art--seal{background:#f2e7d5}.qp13-art--seal:before{content:'';position:absolute;width:78%;aspect-ratio:1;border:5px double var(--qp13-ink);border-radius:50%;opacity:.6}
.qp13-art--poster{background:var(--qp13-ink);color:#fbefd4}.qp13-art--poster strong{font-size:clamp(34px,3.6vw,55px)}.qp13-art--poster:after{content:'';position:absolute;inset:15px;border:1px solid #fff8}
.qp13-art--geometry{background:#e2ebec}.qp13-art--geometry:before{content:'✳';position:absolute;font-size:280px;line-height:1;opacity:.065;color:var(--qp13-ink);transform:rotate(17deg)}
.qp13-art--banner{background:#f1d3b7}.qp13-art--banner:after{content:'';position:absolute;inset:auto -10px 26% -10px;height:27%;background:var(--qp13-ink);transform:rotate(-8deg);opacity:.08}
.qp13-art--frame{background:#fffaf3}.qp13-art--frame:before{content:'';position:absolute;inset:13px;border:3px solid var(--qp13-ink);opacity:.6}.qp13-art--frame:after{content:'';position:absolute;inset:23px;border:1px solid var(--qp13-ink);opacity:.45}
.qp13-art--minimal{background:#f1f6f4}.qp13-art--minimal .qp13-art-motif{font-size:42px}.qp13-art--minimal strong{font-family:'Noto Kufi Arabic',sans-serif;font-size:clamp(24px,2.9vw,44px)}
.qp-template-tile:hover .qp13-art{filter:saturate(1.1)}

/* Font previews preserve the font’s own OpenType weight and joining. */
.qp13-font-option strong{font-weight:400!important;letter-spacing:normal!important;font-feature-settings:"kern" 1!important}.qp13-font-results{overscroll-behavior:contain}
