/* Spring Machinery — conventional lathes, intentionally isolated from Elementor/site styles. */
.sm-ctl{width:min(100% - 36px,1320px);margin:48px auto 82px;color:#202020;font:inherit}
.sm-ctl *{box-sizing:border-box}
.sm-ctl .sm-ctl-banner{margin:0 0 26px;padding:13px 17px;background:#f7f7f7;border-left:3px solid #222;font-size:13px;line-height:1.6;color:#444}
.sm-ctl-header{margin:0 0 30px}
.sm-ctl-header h1{margin:0 0 14px;color:#202020;font-size:clamp(32px,4vw,50px);font-weight:600;line-height:1.12;letter-spacing:-.025em}
.sm-ctl-header p{max-width:860px;margin:0;color:#636363;font-size:16px;line-height:1.7;font-weight:400}
.sm-ctl-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 18px}
.sm-ctl-filter{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;min-height:64px;padding:15px 17px;background:#f7f7f7;border:1px solid #d1d1d1;border-radius:5px;color:#202020!important;text-decoration:none!important;font-size:14px;font-weight:600;line-height:1.35;transition:background .18s,border-color .18s}
.sm-ctl-filter:hover,.sm-ctl-filter:focus-visible{background:#ececec;border-color:#999}
.sm-ctl-filter.is-active{background:#202020;color:#fff!important;border-color:#202020}
.sm-ctl-filter small{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:28px;padding:5px 7px;border-radius:30px;background:rgba(0,0,0,.08);color:inherit;font-size:12px;line-height:1.1;font-weight:600}
.sm-ctl-filter.is-active small{background:#454545;color:#fff}
.sm-ctl-filter:focus-visible{outline:2px solid #202020;outline-offset:2px}
.sm-ctl-count{margin:0 0 20px;color:#777;font-size:13px;line-height:1.5}
.sm-ctl-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sm-ctl-card{display:flex;min-width:0;flex-direction:column;margin:0;border:1px solid #d1d1d1;border-radius:5px;overflow:hidden;background:#fff;transition:border-color .2s,box-shadow .2s}
.sm-ctl-card:hover{border-color:#999;box-shadow:0 10px 30px rgba(0,0,0,.055)}
.sm-ctl-card-link{display:flex;flex:1;min-width:0;min-height:100%;flex-direction:column;color:#202020!important;text-decoration:none!important}
.sm-ctl-card-link:focus-visible{outline:3px solid #222;outline-offset:-3px}
.sm-ctl-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;padding:24px;background:#fafafa;border-bottom:1px solid #e4e4e4;overflow:hidden}
.sm-ctl-photo img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center;max-height:100%;transition:transform .25s}
.sm-ctl-card:hover .sm-ctl-photo img{transform:scale(1.025)}
.sm-ctl-card-body{display:flex;flex:1;flex-direction:column;gap:11px;padding:22px}
.sm-ctl-category{display:block;color:#777;font-size:11px;line-height:1.4;font-weight:700;text-transform:uppercase;letter-spacing:.045em}
.sm-ctl-card-body h2{margin:0!important;color:#202020;font-size:18px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important}
.sm-ctl-table{margin:2px 0 12px;color:#555;font-size:14px;line-height:1.5}
.sm-ctl-table strong{color:#202020;font-weight:600}
.sm-ctl-details{display:flex;align-items:center;justify-content:space-between;gap:8px;align-self:stretch;margin-top:auto;padding-top:13px;border-top:1px solid #e3e3e3;color:#202020;font-size:13px;font-weight:600;line-height:1.4}
.sm-ctl-card-link:hover .sm-ctl-details{text-decoration:underline}
.sm-ctl-detail-back{display:inline-block;margin:0 0 26px;color:#202020!important;text-decoration:none!important;font-size:14px;font-weight:600}
.sm-ctl-detail-back:hover{text-decoration:underline!important}
.sm-ctl-detail{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}
.sm-ctl-detail-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid #d1d1d1;background:#fafafa;padding:32px}
.sm-ctl-detail-photo img{width:100%;height:100%;object-fit:contain;max-height:510px}
.sm-ctl-detail-copy .sm-ctl-category{margin:0 0 14px}
.sm-ctl-detail-copy h1{margin:0 0 24px;color:#202020;font-size:clamp(26px,3.2vw,42px);font-weight:600;line-height:1.22;letter-spacing:-.025em}
.sm-ctl-detail-copy .sm-ctl-table{font-size:18px}
.sm-ctl-detail-copy .sm-ctl-table strong{font-size:24px}
.sm-ctl-detail-callout{margin-top:26px;padding:18px;background:#f7f7f7;border-left:3px solid #202020;color:#555;font-size:13px;line-height:1.65}
.sm-ctl-detail-callout a{color:#202020!important;font-weight:600;text-decoration:underline!important}
@media(max-width:1020px){.sm-ctl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.sm-ctl-detail{gap:24px}}
@media(max-width:760px){.sm-ctl-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-ctl-filter-all{grid-column:1/-1}}
@media(max-width:680px){.sm-ctl{width:calc(100% - 28px);margin:27px auto 55px}.sm-ctl-header{margin-bottom:22px}.sm-ctl-header p{font-size:14px}.sm-ctl-filters{gap:8px}.sm-ctl-filter{min-height:66px;padding:12px;font-size:12px}.sm-ctl-filter small{min-width:23px;padding:4px 6px}.sm-ctl-filter-all{min-height:49px;font-size:14px}.sm-ctl-grid{grid-template-columns:1fr;gap:16px}.sm-ctl-photo{aspect-ratio:5/3;padding:22px}.sm-ctl-card-body{padding:18px}.sm-ctl-detail{grid-template-columns:1fr;gap:20px}.sm-ctl-detail-photo{aspect-ratio:5/3;padding:20px}.sm-ctl-detail-copy h1{font-size:28px}}
@media(max-width:360px){.sm-ctl-filter{font-size:11px;padding:10px}}

/* Dopasowania dla katalogu tokarek konwencjonalnych. */
.sm-ctl .sm-ctl-photo{position:relative; aspect-ratio:4/3; padding:14px;}
.sm-ctl .sm-ctl-photo img{max-height:100%;}
.sm-ctl .sm-ctl-image-note{position:absolute;right:12px;bottom:11px;display:inline-flex;font-size:11px;line-height:1.3;color:#5b5b5b;background:rgba(255,255,255,.94);padding:4px 6px;border:1px solid #e1e1e1;z-index:1}
.sm-ctl .sm-ctl-card-body{gap:6px;}
.sm-ctl .sm-ctl-card-body h2{font-size:18px!important;line-height:1.35!important;margin:0 0 9px!important;}
.sm-ctl .sm-ctl-param-label{font-size:12px;color:#767676;margin:0;line-height:1.4}
.sm-ctl .sm-ctl-param-value{font-size:21px;font-weight:700;color:#202020;margin:0 0 8px;line-height:1.3}
.sm-ctl .sm-ctl-muted{font-size:13px;line-height:1.6;color:#555;margin:0 0 2px}
.sm-ctl .sm-ctl-muted strong{font-weight:700;color:#202020}
.sm-ctl .sm-ctl-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid #e3e3e3;color:#202020;font-size:13px;font-weight:600}
.sm-ctl .sm-ctl-card-link:hover .sm-ctl-more{text-decoration:underline}
.sm-ctl .sm-ctl-count{font-size:13px}
.sm-ctl .sm-ctl-detail{align-items:start}
.sm-ctl .sm-ctl-detail-photo{position:relative;margin:0;aspect-ratio:1.25;}
.sm-ctl .sm-ctl-detail-photo img{max-height:480px;}
.sm-ctl .sm-ctl-facts{margin:0 0 22px;padding:0}
.sm-ctl .sm-ctl-facts>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #e3e3e3;align-items:baseline;flex-wrap:wrap}
.sm-ctl .sm-ctl-facts dt{color:#666;font-size:14px;line-height:1.5}
.sm-ctl .sm-ctl-facts dd{margin:0;color:#202020;text-align:right;font-size:16px;font-weight:700;line-height:1.5}
.sm-ctl .sm-ctl-picker{margin:24px 0 18px}
.sm-ctl .sm-ctl-picker label{display:block;color:#202020;font-size:14px;font-weight:600;margin:0 0 10px}
.sm-ctl .sm-ctl-picker select{display:block;width:100%;max-width:100%;padding:13px 16px;min-height:50px;border:1px solid #d1d1d1;background:#f7f7f7;color:#202020;border-radius:4px;font:inherit;font-size:14px;cursor:pointer}
.sm-ctl .sm-ctl-picker select:focus-visible{outline:2px solid #202020;outline-offset:2px}
.sm-ctl .sm-ctl-selection{margin:12px 0 0;font-size:13px;color:#626262;min-height:22px;line-height:1.5}
.sm-ctl .sm-ctl-info{background:#f7f7f7;border-left:3px solid #d1d1d1;margin:22px 0 18px;padding:14px 18px;color:#555;font-size:13px;line-height:1.6}
.sm-ctl .sm-ctl-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:48px;margin-top:16px;padding:12px 22px;background:#202020;color:#fff!important;font-size:14px;font-weight:600;text-decoration:none!important;border:1px solid #202020;border-radius:3px}
.sm-ctl .sm-ctl-cta:hover{background:#454545;color:#fff!important}
.sm-ctl .sm-ctl-cta:focus-visible{outline:2px solid #202020;outline-offset:3px}
.sm-ctl .sm-ctl-detail-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:46px 0 0}
.sm-ctl .sm-ctl-section{padding:23px;border:1px solid #d1d1d1;background:#fff;min-width:0}
.sm-ctl .sm-ctl-section h2{margin:0 0 12px;color:#202020;font-size:18px!important;line-height:1.35!important;font-weight:600}
.sm-ctl .sm-ctl-section p{margin:0;color:#666;font-size:14px;line-height:1.7}
@media(max-width:1020px){.sm-ctl .sm-ctl-detail-sections{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.sm-ctl .sm-ctl-filters{grid-template-columns:1fr 1fr}.sm-ctl .sm-ctl-filter-all{grid-column:1/-1}}
@media(max-width:680px){.sm-ctl .sm-ctl-photo{aspect-ratio:5/3}.sm-ctl .sm-ctl-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sm-ctl .sm-ctl-filter-all{grid-column:1/-1}.sm-ctl .sm-ctl-detail-sections{grid-template-columns:1fr;gap:12px;margin-top:26px}.sm-ctl .sm-ctl-section{padding:19px}.sm-ctl .sm-ctl-detail-photo{aspect-ratio:5/3}}
@media(max-width:410px){.sm-ctl .sm-ctl-filter{font-size:12px;min-height:76px}.sm-ctl .sm-ctl-facts>div{display:block}.sm-ctl .sm-ctl-facts dd{display:block;text-align:left;margin-top:3px}}

.sm-ctl .sm-ctl-detail-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sm-ctl .sm-ctl-section-tech{grid-column:1/-1}
.sm-ctl .sm-ctl-table-wrap{overflow-x:auto;width:100%}
.sm-ctl .sm-ctl-table-wrap table{width:100%;border-collapse:collapse;font-size:14px;line-height:1.6;text-align:left}
.sm-ctl .sm-ctl-table-wrap th,.sm-ctl .sm-ctl-table-wrap td{padding:12px 14px;border-bottom:1px solid #e4e4e4}
.sm-ctl .sm-ctl-table-wrap thead th{background:#f7f7f7;color:#202020;font-weight:700}
.sm-ctl .sm-ctl-table-wrap tbody th{color:#555;font-weight:500;width:48%}
.sm-ctl .sm-ctl-table-wrap tbody td{color:#202020;font-weight:600}
.sm-ctl .sm-ctl-table-note{margin-top:13px!important;font-size:12px!important}
@media(max-width:680px){.sm-ctl .sm-ctl-detail-sections{grid-template-columns:1fr}.sm-ctl .sm-ctl-section-tech{grid-column:auto}.sm-ctl .sm-ctl-table-wrap th,.sm-ctl .sm-ctl-table-wrap td{padding:10px 8px}}
