/* CST medium-diameter responsive product list (sandbox) */
#cst-products{font-family:Arial,sans-serif;color:#000;box-sizing:border-box}
#cst-products *{box-sizing:border-box}
#cst-slot-d{position:absolute;left:0;top:814px;width:1000px;height:1060px;z-index:62}
#cst-slot-d #cst-products{padding:0 20px}
.cstp-group{border-top:1px solid #999;padding:8px 0 14px}
.cstp-group h3{margin:4px 0 10px;font-size:18px}
.cstp-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cstp-card{border:1px solid #c8c8c8;border-radius:6px;background:#fff;padding:12px;display:flex;flex-direction:column;justify-content:space-between;text-align:center;margin:0}
.cstp-coupler{grid-column:1/-1;flex-direction:row;align-items:center;text-align:left;gap:16px}
.cstp-coupler .cstp-buy{flex:0 0 auto}
.cstp-info{display:flex;flex-direction:column;gap:3px}
.cstp-title{font-size:15px}
.cstp-d{font-size:13px}
.cstp-price{font-size:19px;font-weight:bold;margin-top:4px}
.cstp-buy{display:flex;gap:8px;justify-content:center;align-items:center;margin-top:10px}
.cstp-buy input{width:56px;height:26px;font-size:14px}
.cstp-buy button,.cstp-viewcart{height:28px;padding:0 14px;font-weight:bold;cursor:pointer;background:#3370B7;color:#fff;border:1px solid #3370B7;border-radius:4px}
.cstp-foot{display:flex;flex-direction:column;align-items:center;gap:6px;padding:8px 0}
.cstp-foot small{color:#666;font-size:11px}
@media (max-width:799px){
 #cst-slot-m{padding:0 8px}
 .cstp-grid{grid-template-columns:1fr}
 .cstp-coupler{flex-direction:column;text-align:center}
 .cstp-buy input{width:70px;height:34px;font-size:16px}
 .cstp-buy button,.cstp-viewcart{height:36px;font-size:15px}
}

/* qty stepper */
.cstp-qty{display:inline-flex;align-items:center;border:1px solid #9aa7b4;border-radius:4px;overflow:hidden;background:#fff}
.cstp-qty input{border:0;text-align:center;-moz-appearance:textfield}
.cstp-qty input::-webkit-outer-spin-button,.cstp-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.cstp-buy .cstp-step{width:28px;height:28px;padding:0;border:0;border-radius:0;background:#e8edf2;color:#1f2d3d;font-size:18px;line-height:28px;font-weight:bold;cursor:pointer}
.cstp-buy .cstp-step:hover{background:#d3dce6}
.cstp-add[disabled]{opacity:.75;cursor:default}
@media (max-width:799px){.cstp-buy .cstp-step{width:36px;height:36px;line-height:36px}}

/* qty stepper v2: modern pill (sandbox) */
.cstp-buy .cstp-qty{display:inline-flex;align-items:center;height:32px;padding:0 2px;border:1px solid #c3ceda;border-radius:999px;background:#fff;overflow:visible;box-shadow:inset 0 1px 2px rgba(0,0,0,.06)}
.cstp-buy .cstp-qty:focus-within{border-color:#3370B7;box-shadow:0 0 0 3px rgba(51,112,183,.18)}
.cstp-buy .cstp-qty .cstp-step{width:28px;height:28px;padding:0;margin:0;border:0;border-radius:50%;background:transparent;color:#3370B7;font:bold 18px/28px Arial,sans-serif;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .15s,color .15s}
.cstp-buy .cstp-qty .cstp-step:hover{background:#eaf1fa;color:#24568f}
.cstp-buy .cstp-qty .cstp-step:active{background:#d6e4f5}
.cstp-buy .cstp-qty .cstp-step:focus-visible{outline:2px solid #3370B7;outline-offset:1px}
.cstp-buy .cstp-qty input{width:38px;height:28px;padding:0;border:0;background:transparent;color:#2b2f33;font:bold 15px Arial,sans-serif;text-align:center;outline:none}
.cstp-buy .cstp-add{height:32px;border-radius:999px;padding:0 18px}
@media (max-width:799px),(pointer:coarse){
 .cstp-buy{gap:10px}
 .cstp-buy .cstp-qty{height:46px;padding:0 1px}
 .cstp-buy .cstp-qty .cstp-step{width:44px;height:44px;font-size:22px;line-height:44px}
 .cstp-buy .cstp-qty input{width:44px;height:44px;font-size:17px}
 .cstp-buy .cstp-add,.cstp-viewcart{height:46px;font-size:16px;border-radius:999px;padding:0 22px}
}

/* desktop: shift coupler qty+ATC ~0.5in left (Frank) */
@media (min-width:800px){.cstp-card.cstp-coupler .cstp-buy{margin-right:31.7px}}

/* more breathing room around group divider lines (all widths) */
.cstp-group{padding:20px 0 24px}
.cstp-group+.cstp-group{margin-top:20px}

/* light tint behind each product group (all widths) */
.cstp-group{background:#f3f6f9}

/* extend group tint sideways to menu-bar width without moving content */
@media (min-width:800px){#cst-slot-d .cstp-group{box-shadow:-13px 0 0 #f3f6f9,19px 0 0 #f3f6f9}}
@media (max-width:799px){#cst-slot-m .cstp-group{box-shadow:-8px 0 0 #f3f6f9,8px 0 0 #f3f6f9}}

/* remove group divider lines (tint/padding stay) */
.cstp-group{border-top:0}

/* group panel: tint + rounded 1px ATC-blue frame drawn on a pseudo layer so it can bleed to menu width */
.cstp-group{position:relative;isolation:isolate;background:none;box-shadow:none!important}
.cstp-group::before{content:"";position:absolute;top:0;bottom:0;left:-8px;right:-8px;z-index:-1;background:#f3f6f9;border:1px solid #3370B7;border-radius:8px}
@media (min-width:800px){#cst-slot-d .cstp-group::before{left:-13px;right:-19px}}

/* modest gap between tinted group panels */
.cstp-group+.cstp-group{margin-top:16px}

/* raise group labels 9px (cards stay put) */
.cstp-group h3{position:relative;top:-9px}
