
.sg-commerce-ready .card{display:flex;flex-direction:column;gap:9px;min-width:0;padding:15px}
.sg-commerce-ready .card .variants,.sg-commerce-ready .card .config-stack,.sg-commerce-ready .card .add-config,.sg-commerce-ready .card .card-variant-label{display:none!important}
.sg-commerce-ready .card .product-photo{display:block;width:100%;max-width:100%;height:220px;object-fit:contain;object-position:center;margin:0;flex:none}
.sg-commerce-ready .card h3{font-size:22px;line-height:1.2;margin:0;overflow-wrap:anywhere}
.sg-commerce-ready .card small{margin:0}
.sg-commerce-ready .sg-card-purpose{font-size:13px;line-height:1.4;color:#52575c;min-height:18px;margin:0}
.sg-commerce-ready .sg-card-summary{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap}
.sg-commerce-ready .sg-card-price{font-size:23px;font-weight:850;line-height:1.2}
.sg-commerce-ready .sg-card-stock{color:#336745;font-size:13px;font-weight:700}
.sg-commerce-ready .sg-card-stock[data-status="unknown"]{color:#777}
.sg-commerce-ready .sg-card-option{display:grid;gap:5px;font-size:12px;font-weight:800}
.sg-commerce-ready .sg-card-option select{width:100%;min-width:0;min-height:44px;border:1px solid #aaa;background:#fff;padding:7px 10px;font-size:14px}
.sg-commerce-ready .sg-card-sku{font-size:12px;line-height:1.2;min-height:16px;color:#555;margin:0}
.sg-commerce-ready .sg-card-amount{display:flex;align-items:center;justify-content:space-between;gap:8px}
.sg-commerce-ready .sg-card-amount>span{font-size:13px;font-weight:700}
.sg-commerce-ready .card .actions-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
.sg-commerce-ready .card .actions-row a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 5px;text-align:center;font-size:13px;line-height:1.25}
.sg-commerce-ready .sg-card-details{font-size:13px;color:#1683A5;font-weight:750;text-decoration:underline}
.sg-commerce-ready .card .qty{margin:0}
@media(max-width:700px){.sg-commerce-ready .card{padding:13px}.sg-commerce-ready .card .product-photo{height:210px}.sg-commerce-ready .card h3{font-size:21px}}

/* Purchase-first model pages — applies only to spray guns */
.sg-product-ux .dp{max-width:1200px;margin:auto}
.sg-product-ux .dp-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(300px,.95fr);gap:24px;align-items:start}
.sg-product-ux .dp-media,.sg-product-ux .dp-purchase{min-width:0}
.sg-product-ux .dp-media{display:grid;gap:10px}
.sg-product-ux .dp-media small{font-size:12px;font-weight:700;color:#777;letter-spacing:.06em}
.sg-product-ux .dp h1{margin:0;font-size:clamp(26px,3vw,38px);line-height:1.2}
.sg-product-ux .dp-photo{width:100%;max-width:none;height:390px;max-height:50vh;object-fit:contain;object-position:center;border:1px solid #ddd;padding:15px;cursor:zoom-in;margin:0}
.sg-product-ux .dp-purchase .commercial{margin:0 0 8px}
.sg-product-ux .dp-purchase .commercial strong{font-size:17px}
.sg-product-ux .dp-purchase .dp-configs{margin:8px 0}
.sg-product-ux .dp-config-row{grid-template-columns:minmax(120px,1fr) auto auto;gap:8px;padding:7px 0}
.sg-product-ux .dp-config-row select{min-height:44px}
.sg-product-ux .dp .actions{display:grid;grid-template-columns:1fr 1fr}
.sg-product-ux .dp .actions a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;padding:8px}
.sg-product-ux .dp .lead{margin-top:14px;font-size:14px;color:#555}
.sg-product-ux .dp-box{margin-top:18px}
.sg-product-ux .sg-product-mobile-actions{display:none}
.sg-photo-dialog{position:fixed;inset:0;z-index:260;display:grid;place-items:center;background:rgba(0,0,0,.87);padding:18px}
.sg-photo-dialog[hidden]{display:none}
.sg-photo-dialog img{max-width:min(94vw,1000px);max-height:82vh;width:auto;height:auto;object-fit:contain;background:#fff}
.sg-photo-dialog button{position:absolute;top:14px;right:14px;min-width:44px;min-height:44px;background:#fff;border:0;font-size:28px;cursor:pointer}
.sg-photo-dialog p{position:absolute;bottom:12px;color:#fff;font-size:13px}
@media(max-width:760px){
.sg-product-ux .dp{padding:12px 14px 100px}
.sg-product-ux .dp-hero{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
.sg-product-ux .dp-photo{height:300px;max-height:none;padding:12px}
.sg-product-ux .dp h1{font-size:26px}
.sg-product-ux .dp .actions{display:none}
.sg-product-ux .dp-config-row{grid-template-columns:minmax(108px,1fr) auto auto;gap:5px}
.sg-product-ux .dp-config-row .qty{gap:4px}
.sg-product-ux .dp-config-row .qty input{width:42px}
.sg-product-ux .sg-product-mobile-actions{position:fixed;z-index:85;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ccc;box-shadow:0 -4px 15px rgba(0,0,0,.08)}
.sg-product-ux .sg-product-mobile-actions a,.sg-product-ux .sg-product-mobile-actions button{display:flex;align-items:center;justify-content:center;min-height:46px;text-align:center;font:inherit;font-weight:800;text-decoration:none;padding:6px}
.sg-product-ux .sg-product-mobile-actions a{background:#fff;border:1px solid #222;color:#222}
.sg-product-ux .sg-product-mobile-actions button{background:#3F66D5;border:1px solid #3F66D5;color:#fff}
}

.sg-order-ux .order-shell{max-width:800px}
.sg-order-ux .order-product{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:start}
.sg-order-ux .sg-order-image{width:110px;height:130px;object-fit:contain;background:#fff;border:1px solid #ddd}
.sg-order-ux .order-form{grid-template-columns:1fr}
.sg-order-ux .order-form .full{grid-column:1}
.sg-order-ux .order-form input{min-height:44px}
.sg-order-ux .sg-order-extra{border:1px solid #ddd;padding:10px;margin:0}
.sg-order-ux .sg-order-extra summary{cursor:pointer;font-size:14px;font-weight:800}
.sg-order-ux .sg-order-extra label{margin-top:12px}
.sg-order-ux .sg-order-note{font-size:13px;color:#555;margin:0}
.sg-order-ux .sg-order-error{padding:12px;color:#a0070d;border:1px solid #bc171d;background:#fff3f3}
.sg-order-ux .order-submit:disabled{opacity:.65;cursor:not-allowed}
@media(max-width:700px){.sg-order-ux .order-wrap{padding:12px 12px 55px}.sg-order-ux .order-shell{padding:14px}.sg-order-ux .order-product{grid-template-columns:86px minmax(0,1fr);gap:8px;padding:10px}.sg-order-ux .sg-order-image{width:86px;height:110px}.sg-order-ux .order-head{grid-template-columns:1fr}.sg-order-ux .order-head span{font-size:11px}}

/* Audit 2026-10-08: comfortable mobile touch targets without changing desktop layout. */
@media(max-width:700px){
 .sg-brand-chips button,.sg-help-button,.sg-select-button,.sg-filter-toggle,
 .sg-finder-option,.sg-finder-nav button,.sg-finder-result button,
 .sg-finder-result select,.sg-active-chip button{min-height:44px!important}
 .sg-search,.sg-filters select,.sg-finder-result select,.sg-card-option select{font-size:16px!important}
 .sg-filter-shell>.sg-filters{overscroll-behavior:contain}
 .sg-picker-panel{max-height:calc(100dvh - 24px)}
 .sg-picker-options{overscroll-behavior:contain}
}

/* Mobile order: persistent call and submit, with safe-area and content clearance. */
.sg-order-mobile-actions{display:none}
@media(max-width:700px){
 .sg-order-ux body{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}
 .sg-order-ux .order-wrap{padding-bottom:calc(120px + env(safe-area-inset-bottom,0px))}
 .sg-order-mobile-actions{position:fixed;z-index:155;bottom:0;left:0;right:0;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #ddd;box-shadow:0 -3px 12px #0002}
 .sg-order-mobile-actions a,.sg-order-mobile-actions button{display:flex;justify-content:center;align-items:center;min-height:48px;padding:8px;border:1px solid #222;background:#fff;color:#222;font-family:inherit;font-weight:700;font-size:14px;line-height:1.2;text-align:center;text-decoration:none}
 .sg-order-mobile-actions button{background:#3F66D5;border-color:#3F66D5;color:#fff}
}

/* Empty search: accessible direct assistance and short RFQ. */
.sg-empty-contact{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.sg-empty-contact a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;background:#3F66D5;color:#fff;text-decoration:none;font-weight:700;border-radius:4px}
.sg-empty-contact a+ a{background:#fff;color:#3F66D5;border:1px solid #3F66D5}
.sg-return-highlight{outline:3px solid #3F66D5;outline-offset:4px;transition:outline-color .5s}

/* Editable short-order configuration: no backend changes. */
.sg-order-edit{border:1px solid #ddd;padding:12px;margin:0 0 18px;background:#fff}
.sg-order-edit>summary{cursor:pointer;font-weight:800;min-height:44px;display:flex;align-items:center}
.sg-order-edit-rows{display:grid;gap:10px;margin:12px 0}
.sg-order-edit-row{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;gap:8px;align-items:center}
.sg-order-edit-row select,.sg-order-edit-row input{min-width:0;min-height:44px;padding:8px;font:inherit;font-size:16px}
.sg-order-edit-row button,.sg-order-edit-add{min-height:44px;padding:8px 12px;border:1px solid #aaa;background:#fff;color:#222;font:inherit;cursor:pointer}
@media(max-width:700px){.sg-order-edit-row{grid-template-columns:minmax(0,1fr) 76px}.sg-order-edit-row button{grid-column:1/-1}}

.sg-product-facts{margin:24px 0;padding:20px;border:1px solid #ddd;background:#fff}
.sg-product-facts h2{margin:0 0 14px;font-size:22px}
.sg-product-facts h3{margin:18px 0 8px;font-size:18px}
.sg-product-facts-list{display:grid;grid-template-columns:minmax(110px,190px) minmax(0,1fr);gap:10px;margin:0}
.sg-product-facts-list dt{font-weight:700;color:#555}
.sg-product-facts-list dd{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.sg-product-facts{padding:14px}.sg-product-facts-list{grid-template-columns:1fr;gap:4px}.sg-product-facts-list dd{margin-bottom:10px}}

.sg-finder-options a.sg-finder-option{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none;min-height:44px;color:inherit}

/* EMT CTA hierarchy: spray gun model pages and cards, mobile + desktop. */
.sg-product-ux .sg-product-mobile-actions a[href^="tel:"],.sg-product-ux .dp .actions a[href^="tel:"],.sg-commerce-ready .card .actions-row a[href^="tel:"]{background:#3F66D5!important;border:1px solid #3F66D5!important;color:#fff!important}
.sg-product-ux .sg-product-mobile-actions a[href^="tel:"]:hover,.sg-product-ux .dp .actions a[href^="tel:"]:hover{background:#527DDD!important;border-color:#527DDD!important}
.sg-product-ux .sg-product-mobile-actions button,.sg-product-ux .sg-product-mobile-actions a:not([href^="tel:"]),.sg-product-ux .dp .actions a:not([href^="tel:"]),.sg-commerce-ready .card .actions-row a:not([href^="tel:"]){background:#fff!important;border:1px solid #3F66D5!important;color:#3F66D5!important}
.sg-product-ux .sg-product-mobile-actions button:hover,.sg-product-ux .sg-product-mobile-actions a:not([href^="tel:"]):hover,.sg-product-ux .dp .actions a:not([href^="tel:"]):hover{background:#ECF2FE!important}
