/* Spring Machinery — isolated lathe preview. Based on live Spring CNC card sizing. */
.spring-lathe-catalog{width:min(100% - 36px,1320px);margin:48px auto 72px;color:#202020;font:inherit}
.spring-lathe-catalog *{box-sizing:border-box}
.spring-lathe-catalog [hidden]{display:none!important}
.spring-lathe-catalog .spring-lathe-preview-banner{margin:0 0 28px;padding:12px 17px;background:#f7f7f7;border-left:3px solid #222;font-size:13px;line-height:1.55;color:#444}
.spring-lathe-header{margin:0 0 34px}
.spring-lathe-header h1{font-size:clamp(32px,4vw,50px);line-height:1.1;margin:0 0 14px;font-weight:600;letter-spacing:-.025em;color:#202020}
.spring-lathe-header p{max-width:760px;font-size:16px;line-height:1.65;opacity:.75;margin:0}
.spring-lathe-filters{display:grid;grid-template-columns:0.8fr 1.3fr 1.3fr;gap:10px;margin:0 0 16px}
.spring-lathe-filter{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:65px;padding:15px 17px;background:#f7f7f7;border:1px solid #e3e3e3;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}
.spring-lathe-filter:hover,.spring-lathe-filter:focus-visible{background:#ededed;border-color:#b1b1b1}
.spring-lathe-filter.is-active{background:#222;color:#fff!important;border-color:#222}
.spring-lathe-filter small{display:inline-flex;min-width:28px;align-items:center;justify-content:center;border-radius:20px;padding:4px 7px;background:rgba(128,128,128,.13);font-size:12px;line-height:1;font-weight:600;flex-shrink:0}
.spring-lathe-filter.is-active small{background:#444;color:#fff}
.spring-lathe-filter:focus-visible{outline:2px solid #222;outline-offset:2px}
.spring-lathe-controls{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px;font-size:13px;opacity:.8}
.spring-lathe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.spring-lathe-card{display:flex;min-width:0;flex-direction:column;border:1px solid #ededed;background:#fff;border-radius:5px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.spring-lathe-card:hover{border-color:#d6d6d6;box-shadow:0 12px 28px rgba(0,0,0,.06)}
.spring-lathe-card-link{display:flex;flex-direction:column;flex:1;min-width:0;height:100%;color:#202020!important;text-decoration:none!important}
.spring-lathe-card-link:focus-visible{outline:3px solid #222;outline-offset:-3px}
.spring-lathe-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;padding:22px;background:#fafafa;overflow:hidden}
.spring-lathe-card-image img{width:100%!important;height:100%!important;max-width:100%;object-fit:contain!important;object-position:center;transition:transform .3s}
.spring-lathe-card:hover .spring-lathe-card-image img{transform:scale(1.025)}
.spring-lathe-card-body{display:flex;flex:1;flex-direction:column;padding:22px;gap:12px}
.spring-lathe-eyebrow{display:block;font-size:11px;letter-spacing:.055em;font-weight:700;text-transform:uppercase;opacity:.6;line-height:1.5}
.spring-lathe-card h2{font-size:18px;line-height:1.4;font-weight:600;letter-spacing:0;margin:0;color:#202020}
.spring-lathe-diameter{margin:0;color:#333}
.spring-lathe-diameter span{display:block;font-size:12px;font-weight:400;color:#686868}
.spring-lathe-diameter strong{display:block;font-weight:600;font-size:17px;line-height:1.45;color:#202020}
.spring-lathe-description{color:#676767;font-size:13px;line-height:1.5;margin:0}
.spring-lathe-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 4px}
.spring-lathe-tags span{display:inline-block;padding:7px 10px;background:#f5f5f5;font-size:12px;line-height:1.3;border-radius:3px;color:#555}
.spring-lathe-details{display:flex;align-items:center;justify-content:space-between;gap:10px;align-self:stretch;margin-top:auto;padding-top:11px;border-top:1px solid #ededed;font-weight:600;font-size:13px;color:#222}
.spring-lathe-card-link:hover .spring-lathe-details{text-decoration:underline}
.spring-lathe-contact{padding:38px 0;margin:52px 0 0;border-top:1px solid #ddd}
.spring-lathe-contact h2{font-size:clamp(24px,2.5vw,32px);margin:0 0 10px;color:#202020;font-weight:600}
.spring-lathe-contact p{margin:0;line-height:1.6;max-width:720px}
.spring-lathe-contact a{color:#222!important;text-decoration:underline}
.spring-lathe-back{display:inline-block;margin:0 0 26px;font-size:14px;font-weight:600;color:#222!important;text-decoration:none!important}
.spring-lathe-back:hover{text-decoration:underline!important}
.spring-lathe-detail-hero{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;margin-bottom:30px}
.spring-lathe-detail-photo{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:#fff;border:1px solid #e8e8e8;padding:25px}
.spring-lathe-detail-photo img{width:100%;height:100%;max-width:100%;max-height:520px;object-fit:contain}
.spring-lathe-detail-copy h1{font-size:clamp(26px,3.3vw,42px);line-height:1.2;font-weight:600;letter-spacing:-.025em;margin:10px 0 28px;color:#202020}
.spring-lathe-detail-copy .spring-lathe-diameter{margin:0 0 26px}
.spring-lathe-detail-copy .spring-lathe-diameter span{font-size:14px}
.spring-lathe-detail-copy .spring-lathe-diameter strong{font-size:26px}
.spring-lathe-variant-label{display:block;margin:20px 0 12px;font-weight:500;font-size:14px;color:#444}
.spring-lathe-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:16px}
.spring-lathe-variant{min-width:0;min-height:47px;padding:9px 10px;border:1px solid #dedede;border-radius:3px;background:#fff;color:#333;font:inherit;font-size:12px;line-height:1.3;cursor:pointer;text-align:center}
.spring-lathe-variant[aria-pressed=true]{background:#222;border-color:#222;color:#fff}
.spring-lathe-variant:focus-visible{outline:2px solid #222;outline-offset:2px}
.spring-lathe-config{background:#fff;border:1px solid #e4e4e4;padding:20px 22px;min-height:128px}
.spring-lathe-config h2{font-size:19px;font-weight:600;line-height:1.3;margin:0 0 12px;color:#222}
.spring-lathe-config p{margin:7px 0;color:#666;font-size:14px;line-height:1.5}
.spring-lathe-config p:first-of-type{color:#222}
.spring-lathe-public-link{display:flex;align-items:flex-start;flex-direction:column;gap:5px;margin:21px 0 0}
.spring-lathe-public-link a{font-weight:600;font-size:14px;color:#202020!important;text-decoration:underline}
.spring-lathe-public-link small{font-size:11px;color:#777}
@media(max-width:1000px){.spring-lathe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.spring-lathe-detail-hero{gap:24px}}
@media(max-width:680px){.spring-lathe-catalog{width:calc(100% - 28px);margin:25px auto 45px}.spring-lathe-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.spring-lathe-filter{min-width:0;min-height:70px;padding:11px 12px;font-size:12px;gap:5px}.spring-lathe-filter-all{grid-column:1/-1;min-height:49px;font-size:14px}.spring-lathe-filter small{min-width:23px;padding:4px 6px}.spring-lathe-grid{grid-template-columns:1fr;gap:16px}.spring-lathe-card-body{padding:18px}.spring-lathe-card-image{aspect-ratio:5/3}.spring-lathe-detail-hero{grid-template-columns:1fr;gap:22px}.spring-lathe-detail-photo{aspect-ratio:5/3;padding:18px}.spring-lathe-detail-copy h1{font-size:29px}.spring-lathe-variants{grid-template-columns:1fr;gap:6px}.spring-lathe-variant{min-height:42px}.spring-lathe-contact{margin-top:34px;padding-top:28px}}
@media(max-width:380px){.spring-lathe-filter{font-size:11px;padding:10px 8px;gap:4px}.spring-lathe-filter small{font-size:11px;padding:4px 5px}}
@media(prefers-reduced-motion:reduce){.spring-lathe-card,.spring-lathe-card-image img,.spring-lathe-filter{transition:none}}
