.qms-flow-illustration .qms-ticket{position:static;transform:none;width:100%;right:auto;bottom:auto}

/* Scalable platform icons shared by home and POS pages. */
.pos-device-grid .device-symbol{display:block;width:48px;height:48px;font-size:0;line-height:0;background-position:center;background-size:contain;background-repeat:no-repeat}
.pos-device-grid article:nth-child(1) .device-symbol{background-image:url("/assets/platforms/windows.svg")}
.pos-device-grid article:nth-child(2) .device-symbol{background-image:url("/assets/platforms/android.svg")}
.pos-device-grid article:nth-child(3) .device-symbol{background-image:url("/assets/platforms/ipad.svg")}

.enquiry-preview .enquiry-action{margin:0 12px 12px 0}.contact-card strong{overflow-wrap:anywhere}

.email-enquiry{display:inline-block;border-radius:9px;padding:14px 20px;background:#1764cf;color:#fff;font:600 16px system-ui;text-decoration:none}.email-enquiry:focus-visible{outline:3px solid #90bfff;outline-offset:3px}

.product-body>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* QMS homepage: isolate the section from the legacy product-page grid. */
#qms-showcase.qms-showcase{display:block;grid-template-columns:none;padding:72px 0;border-radius:0;background:#f0f8fa;color:#142c40}
#qms-showcase>.showcase-grid{display:grid;width:calc(100% - 48px);max-width:1180px;margin:0 auto;padding:0;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:48px;align-items:center}
#qms-showcase .showcase-copy{min-width:0}
#qms-showcase .eyebrow{color:#087080;font-size:14px;font-weight:700;letter-spacing:.12em}
#qms-showcase h2{color:#142c40;font-size:clamp(32px,3.3vw,46px);line-height:1.12;letter-spacing:-.03em;margin:14px 0 20px}
#qms-showcase .showcase-copy>p{color:#40596b;font-size:18px;line-height:1.65;margin:0 0 24px}
#qms-showcase .qms-home-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;width:100%;min-width:0}
#qms-showcase .qms-home-photos figure{min-width:0;margin:0;padding:12px;background:#fff;border:1px solid #cfdee5;border-radius:16px;overflow:hidden}
#qms-showcase .qms-home-photos figure:first-child{grid-column:1/-1}
#qms-showcase .qms-home-photos img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:auto;object-fit:contain;border-radius:8px}
#qms-showcase .qms-home-photos figcaption{color:#233f50;font-size:16px;font-weight:600;line-height:1.5;margin:12px 0 2px}
@media(max-width:900px){
 #qms-showcase.qms-showcase{padding:48px 0}
 #qms-showcase>.showcase-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 #qms-showcase .showcase-copy{max-width:680px}
}
@media(max-width:540px){
 #qms-showcase>.showcase-grid{width:calc(100% - 32px)}
 #qms-showcase .qms-home-photos{grid-template-columns:minmax(0,1fr);gap:16px}
 #qms-showcase .showcase-copy>p{font-size:17px}
}

/* Compact homepage slider; preserve complete artwork without cropping. */
.visual-hero.module-slider{padding:14px 0 20px}
.module-slider .slider-family-nav{margin-bottom:12px;gap:10px}
.module-slider .slider-family-nav button{padding:8px 16px}
.module-slider .artwork-slide figure img{width:100%;height:clamp(220px,33svh,340px);max-height:340px;aspect-ratio:auto;object-fit:contain}
.module-slider .artwork-slide-footer{padding-top:14px;gap:16px}
.module-slider .artwork-slide-footer h1{font-size:22px}
.module-slider .module-slider-bottom{margin-top:14px}
.module-slider .visual-slider-controls{margin-bottom:8px}
.module-slider .module-slide-picker{padding-bottom:4px;gap:8px}
.module-slider .module-slide-picker button{flex-basis:124px;padding:6px}
.module-slider .module-slide-picker img{height:32px}
.module-slider .module-slide-picker span{margin-top:4px;min-height:35px}
@media(max-width:700px){
 .module-slider .slider-family-nav{flex-direction:row;align-items:center;flex-wrap:wrap}
 .module-slider .slider-family-nav>.eyebrow{display:none}
 .module-slider .artwork-slide figure img{height:auto;max-height:230px;aspect-ratio:1672/941}
 .module-slider .artwork-slide-footer{gap:10px}
 .module-slider .artwork-slide-footer h1{font-size:20px}
 .module-slider .artwork-slide-footer .actions .btn{padding:10px 14px}
 .module-slider .module-slide-picker img{display:none}
 .module-slider .module-slide-picker button{flex-basis:118px;min-height:44px}
 .module-slider .module-slide-picker span{margin:0;min-height:0}
}

/* Keep desktop controls on one compact row. */
@media(min-width:901px){
 .module-slider .artwork-slide figure img{height:clamp(300px,40svh,420px);max-height:420px}
 .module-slider .module-slider-bottom{display:flex;align-items:center;gap:20px}
 .module-slider .visual-slider-controls{flex:0 0 auto;margin:0}
 .module-slider .module-slide-picker{flex:1;min-width:0}
 .module-slider .module-slide-picker img{display:none}
 .module-slider .module-slide-picker button{min-height:48px}
 .module-slider .module-slide-picker span{min-height:0;margin:0}
}
