/* CtrlOn 1.17: presentation improvements. Additive, preserving approved identity. */
:root{--ct-ease:cubic-bezier(.2,.7,.2,1)}
/* Keep the compact trade header readable on narrower phones. */
@media(max-width:800px){
  .ct113-header .ct113-tag,.site-header .ct113-tag{display:none!important}
  .ct113-header .header-inner,.site-header .header-inner{min-width:0;gap:10px!important}
  .ct113-header .brand,.site-header .brand{min-width:0;max-width:min(46vw,205px)}
  .ct113-header .brand img,.site-header .brand img{display:block;max-width:100%;height:auto;object-fit:contain}
  .header-actions{gap:clamp(4px,1.4vw,12px)}
  .premium-header .header-tool{min-width:40px;min-height:44px}
  .ct113-header .menu-btn{min-height:44px;min-width:44px}
}
/* Lightbox-style product presentation without falsifying engineering photographs. */
.product-page .gallery-main,.product-detail .gallery-main{background:#f1f4f3;border:1px solid #dce4e1;border-radius:16px;overflow:hidden;padding:clamp(12px,3.5vw,30px)}
.product-page .gallery-main>img,.product-detail .gallery-main>img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;border-radius:12px}
.product-page .gallery-thumbs,.product-page .ct116-gallery-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.product-page .gallery-thumb,.product-page .ct116-thumb{border:2px solid #cdd9d4;background:#fff;border-radius:12px;padding:5px;box-shadow:0 2px 10px rgba(0,0,0,.07);cursor:pointer;min-width:0;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.product-page .gallery-thumb:hover,.product-page .ct116-thumb:hover{transform:translateY(-2px);box-shadow:0 7px 14px rgba(0,0,0,.13)}
.product-page .gallery-thumb.active,.product-page .gallery-thumb[aria-pressed=true],.product-page .ct116-thumb.active{border-color:#a4e832;box-shadow:0 0 0 2px rgba(164,232,50,.18)}
.product-page .gallery-thumb:focus-visible,.product-page .ct116-thumb:focus-visible{outline:3px solid #a4e832;outline-offset:3px}
.product-page .gallery-thumb img,.product-page .ct116-thumb img{width:100%;height:100%;aspect-ratio:1;object-fit:contain}
/* Image-forward catalogue cards with readable prices and touch targets. */
.product-card,.ct116-card{overflow:hidden;transition:transform .18s var(--ct-ease),box-shadow .18s var(--ct-ease),border-color .18s ease}
@media(hover:hover){.product-card:hover,.ct116-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(0,0,0,.2)}}
.product-card img,.ct116-card img{object-fit:contain;object-position:center;image-rendering:auto}
.product-card a:focus-visible,.ct116-card a:focus-visible{outline:3px solid #a4e832;outline-offset:3px}
.product-page .pd h1{overflow-wrap:anywhere;line-height:1.22;letter-spacing:-.015em}
.product-page .spec-table{width:100%;max-width:100%;border-collapse:collapse}
.product-page .spec-table th,.product-page .spec-table td{overflow-wrap:anywhere;vertical-align:top}
.product-page .product-tech-notes{line-height:1.68}
@media(max-width:670px){
  .product-page .gallery-thumb,.product-page .ct116-thumb{width:68px;height:68px}
  .product-page .pd h1{font-size:clamp(1.55rem,5.7vw,2.15rem)}
  .product-page .product-detail{min-width:0;grid-template-columns:minmax(0,1fr)}
  .product-page .gallery-main{padding:12px}
  .product-page .spec-table th{width:36%}
  .product-page .spec-table th,.product-page .spec-table td{font-size:14px;padding:10px 8px}
}
@media(prefers-reduced-motion:reduce){.product-card,.ct116-card,.gallery-thumb,.ct116-thumb{transition:none!important;transform:none!important}}

/* Shop-front featured stock uses genuine photographed merchandise, not simulated product renderings. */
.ct117-available-now{display:grid;grid-template-columns:minmax(175px,.8fr) minmax(0,1.2fr);gap:clamp(18px,4vw,40px);align-items:center;margin:25px 0 34px;padding:clamp(14px,3vw,28px);background:#152027;border:1px solid #385044;border-radius:16px;color:#f7fbf8}
.ct117-available-image{background:#fff;border-radius:12px;overflow:hidden}
.ct117-available-image img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.ct117-available-info h2{font-size:clamp(1.25rem,2.1vw,1.9rem);line-height:1.24;color:#fff;margin:10px 0}
.ct117-available-info p{color:#d7e3df;line-height:1.65}
.ct117-eyebrow{font-weight:750;font-size:13px;letter-spacing:.05em;text-transform:uppercase;color:#b6f147}
.ct117-available-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:18px}
.ct117-available-actions strong{font-size:clamp(1.5rem,3vw,2.1rem);color:#c2f856}
@media(max-width:600px){.ct117-available-now{grid-template-columns:1fr}.ct117-available-image{max-width:260px;margin:auto}.ct117-available-actions .btn{min-height:46px}}
/* Zoom overlay supports precise checks of terminals and printed ratings. */
.ct117-zoom-control{position:absolute;bottom:13px;right:13px;border:1px solid #c9d5d2;background:rgba(255,255,255,.97);color:#172322;padding:9px 12px;border-radius:8px;font:600 13px/1.25 Arial,sans-serif;cursor:pointer;box-shadow:0 3px 14px rgba(0,0,0,.13)}
.product-page .gallery-main{position:relative}
.ct117-image-dialog{position:fixed;inset:0;z-index:100000;background:rgba(7,12,14,.96);display:none;padding:12px;align-items:center;justify-content:center}
.ct117-image-dialog[open]{display:flex}
.ct117-image-dialog img{display:block;object-fit:contain;max-width:min(94vw,1500px);max-height:88vh;width:auto;height:auto;background:#fff;border-radius:10px}
.ct117-image-dialog button{position:absolute;top:12px;right:12px;border:1px solid #fff;background:#fff;color:#101818;border-radius:9px;padding:10px 14px;font-size:16px;font-weight:750;cursor:pointer}
.ct117-image-dialog button:focus-visible{outline:3px solid #a4e832;outline-offset:3px}

/* v1.17.3: gallery includes image and controls in normal document flow. */
body.ct-trade-v112 .product-page .gallery-main, .revamp .product-page .gallery-main, .product-page .gallery-main {
  aspect-ratio:auto; height:auto; min-height:0; max-height:none; display:flex; flex-direction:column; align-items:stretch;
}
body.ct-trade-v112 .product-page .gallery-main > img[data-gallery-main], .revamp .product-page .gallery-main > img[data-gallery-main] {
  display:block; width:100%; height:auto; max-height:none; aspect-ratio:1; object-fit:contain;
}
.product-page .gallery-main .ct116-gallery-thumbs { flex:0 0 auto; width:100%; box-sizing:border-box; justify-content:center; }
.product-page .gallery-main .ct117-zoom-control { position:static; align-self:flex-end; margin-top:12px; min-height:44px; }
