/* Approved UX changes; prices still come from customizer-core / Shopify variants. */
.back-products{display:inline-flex;align-items:center;min-height:44px;font-size:13px;line-height:1.2;color:var(--ink);text-decoration:none;white-space:nowrap}
.back-products:hover{text-decoration:underline}.back-products:focus-visible{outline:2px solid #667c56;outline-offset:3px}.back-products-mobile{display:none}
body[data-step=sizes] .sheet-heading{padding-block:16px 10px;flex:none}
body[data-step=sizes] .sheet-heading>div{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-width:0}
body[data-step=sizes] #panel-eyebrow{display:none}
body[data-step=sizes] #panel-title{font-size:25px;line-height:1.2;margin:0}
body[data-step=sizes] #size-guide{white-space:nowrap;flex:none;font-size:13px}
body[data-step=sizes] #panel-sizes>.row-between{margin:0 0 14px}
body[data-step=sizes] #panel-sizes>.row-between p{margin:0}
#quantity-summary{flex:none;padding:8px 20px;border-top:1px solid var(--line)}
#quantity-summary .quantity-total{display:none}
#quantity-benefit{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin:0}
#quantity-benefit .discount-tier{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:6px 3px;position:relative;border-radius:6px}
#quantity-benefit .discount-tier small,#quantity-benefit .discount-tier strong{font-size:12px;line-height:1.2;white-space:nowrap}
#quantity-benefit .discount-tier small::after{content:' ·'}
#quantity-benefit .discount-applied{display:none}
.panel-body{min-height:0;overflow-y:auto;scroll-padding-block:12px 28px;padding-bottom:28px}
.controls-wrap,.tool-sheet{min-height:0}
body[data-step=sizes] .panel-body{flex:1 1 0;min-height:0;overscroll-behavior:contain}
body[data-step=sizes] .studio-object,body[data-step=review] .studio-object{cursor:pointer}
body[data-step=sizes] .studio-object:hover,body[data-step=review] .studio-object:hover{outline:1px dashed #61764f;outline-offset:4px}
body[data-step=sizes] .studio-object:focus-visible,body[data-step=review] .studio-object:focus-visible{outline:2px solid #61764f;outline-offset:4px}
@media(max-width:900px){
 .back-products-mobile{display:inline-flex;min-height:44px;font-size:12px;margin-right:8px;flex:none}
 .studio-header{gap:5px}.mobile-identity{min-width:0}.mobile-brand-logo{max-width:100px;height:auto}.mobile-product-summary{max-width:100%;overflow:hidden}
 .header-actions{flex:none;gap:1px}
 body[data-step=sizes] .sheet-heading{padding:14px 16px 10px}
 body[data-step=sizes] #panel-title{font-size:23px}
 #quantity-summary{padding:7px 12px}#quantity-benefit{gap:5px}
 #quantity-benefit .discount-tier small,#quantity-benefit .discount-tier strong{font-size:11px}
 body[data-step=sizes] .tool-sheet{overflow:hidden;min-height:0}
}
@media(min-width:901px) and (max-height:720px){body[data-step=sizes] .product-summary{padding-block:12px}body[data-step=sizes] .sheet-heading{padding-block:12px 8px}body[data-step=sizes] .panel-body{padding-bottom:24px}}

/* Sizes: each label and quantity input share one row; eight sizes use two rows. */
body[data-step=sizes] #panel-sizes>.row-between{display:none}
body[data-step=sizes] .quantity-card{padding:12px;margin-bottom:10px}
body[data-step=sizes] .quantity-card .row-between{margin-bottom:10px;align-items:center}
body[data-step=sizes] .sizes-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:0}
body[data-step=sizes] .sizes-grid label{display:flex;align-items:center;gap:5px;min-width:0;white-space:nowrap;font-size:12px}
body[data-step=sizes] .sizes-grid input{flex:1;min-width:0;width:0;height:44px;min-height:44px;margin:0;padding:6px 1px;font-size:16px}
body[data-step=sizes] .quantity-card>small{margin-top:7px;font-size:11px}
body[data-step=sizes] #quantity-error:empty{display:none}
body[data-step=sizes] #add-order-color{margin-top:0;min-height:44px}
#quantity-benefit{padding:0}
#quantity-benefit .discount-tier{background:#edf2e5;border:1px solid #a7b68e;min-height:42px;gap:5px}
#quantity-benefit .discount-tier small{font-size:12px;color:#415333;margin:0}
#quantity-benefit .discount-tier strong{font-size:16px;color:#29471d;font-weight:800}
#quantity-benefit .discount-tier.is-applied{background:#dbe9cb;border-color:#4c6b35;box-shadow:inset 0 0 0 1px #4c6b35}
@media(max-width:900px){
 body[data-step=sizes] .tool-sheet{height:284px;max-height:none;display:flex;flex-direction:column}
 body[data-step=sizes] .sheet-heading{min-height:45px;padding:10px 16px 7px}
 body[data-step=sizes] #panel-title{font-size:21px}
 body[data-step=sizes] .panel-body{padding:0 12px 12px}
 body[data-step=sizes] .quantity-card{padding:10px}
 body[data-step=sizes] .quantity-card .row-between{margin-bottom:8px}
 body[data-step=sizes] .sizes-grid{gap:7px 5px}
 body[data-step=sizes] .sizes-grid label{gap:3px;font-size:11px}
 #quantity-benefit .discount-tier{gap:3px}
 #quantity-benefit .discount-tier small{font-size:10px}
 #quantity-benefit .discount-tier strong{font-size:14px}
}
body[data-step=sizes] .sizes-grid{padding:0}
body[data-step=sizes] .quantity-card>small{display:none}
@media(min-width:901px) and (max-height:720px){
 body[data-step=sizes] .product-summary{padding:10px 20px}
 body[data-step=sizes] .product-summary-top{margin-bottom:6px}
 body[data-step=sizes] .product-summary p{margin:4px 0}
}
@media(min-width:901px) and (max-height:720px){
 body[data-step=sizes] .product-bar{padding-block:8px}
 body[data-step=sizes] .product-bottomline{margin-top:2px}
}
@media(min-width:901px) and (max-width:1300px){
 #quantity-benefit .discount-tier{gap:3px}
 #quantity-benefit .discount-tier small{font-size:10px}
 #quantity-benefit .discount-tier strong{font-size:14px}
}
