/* v577: compact mobile shopping, consistent category colour and touch states. */
#materials .section-heading{align-items:flex-start!important;text-align:left!important}
#materials .section-heading>div,#materials .section-heading .section-intro{margin-left:0!important;text-align:left!important;align-self:flex-start!important}
#materials #materialsTitle{margin-left:0!important;text-align:left!important}
#categories .category-tile513{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#categories .category-icon520{background:linear-gradient(145deg,#ffda70,#ffb923)!important;color:#142b50!important;border:1px solid #efb443;box-shadow:0 3px 8px #a66b0014}
#categories .category-icon520 svg{stroke:#142b50!important;stroke-width:1.8!important;fill:#fff2c155}
#categories .category-icon520 img{position:static!important;width:76%!important;height:76%!important;opacity:1!important;object-fit:contain!important}
#categories .category-action520>span{width:30px!important;height:30px!important;flex:0 0 30px;border-radius:9px!important;background:#fff0c4!important;color:#142b50!important;border:1px solid #f0cf79}
#categories .category-action520>span svg{width:18px;height:18px;stroke:#142b50;fill:none}
#categories .category-tile513:is(:hover,:active,[aria-expanded=true]) .category-action520>span{background:#ffbe2d!important;color:#142b50!important;border-color:#e9a721}
#categories .category-tile513:is(:active,[aria-expanded=true]){border-color:#e9a721!important;background:#fffbef!important;transform:none!important}
#categories .category-tile513:focus-visible{outline:3px solid #d98e00!important;outline-offset:3px}
.purchase577>summary{cursor:pointer;list-style:none;color:#142b50;font-weight:600}
.purchase577>summary::-webkit-details-marker{display:none}
.purchase577>summary::after{content:'+';font-size:18px;line-height:1}
.purchase577[open]>summary::after{content:'−'}
@media(min-width:601px){.purchase577>summary{display:none}.purchase577{display:contents}.purchase577>.buy538{display:flex}}
@media(max-width:600px){
 #materials .section-heading{gap:12px!important}
 #materials .section-heading .eyebrow{margin-bottom:10px!important}
 #materials .section-heading .section-intro{margin-block:0!important}
 #materials .section-heading h2::after{margin-top:12px!important}
 #catalog #products.product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:start}
 #catalog #products .bmk-product{min-width:0;border-radius:12px!important;overflow:hidden;background:#fff}
 #catalog #products .bmk-product-photo{height:118px!important;min-height:0!important;aspect-ratio:auto!important}
 #catalog #products .bmk-product-photo img{height:100%!important;width:100%!important;object-fit:contain!important;padding:7px!important}
 #catalog #products .bmk-product-body{padding:8px!important;min-width:0}
 #catalog #products .bmk-product-body>small{display:flex!important;align-items:center;min-height:26px;font-size:0!important;line-height:1}
 #catalog #products .brand-badge{width:64px!important;height:26px!important;max-width:100%;margin:0!important;padding:2px 4px!important;border-radius:5px;flex:none}
 #catalog #products .brand-badge b{font-size:12px!important}
 #catalog #products h3{font-size:13px!important;line-height:1.5!important;margin:6px 0 4px!important;min-height:39px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
 #catalog #products .bmk-product-body>p{display:none!important}
 #catalog #products .bmk-price{font-size:11px!important;line-height:1.5;margin:0 0 3px;min-height:17px}
 #catalog #products .bmk-product-footer{padding:0!important;border:0!important;display:block}
 #catalog #products .bmk-product-footer button{display:block;width:100%;min-height:32px;padding:4px 0!important;font-size:12px!important;text-align:left}
 #catalog #products .purchase577{margin-top:4px;border-top:1px solid #e7ecf4}
 #catalog #products .purchase577>summary{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:36px;padding:6px 0;font-size:12px}
 #catalog #products .purchase577:not([open])>.buy538{display:none!important}
 #catalog #products .purchase577[open]>.buy538{display:flex!important;flex-direction:column;gap:8px;padding-top:4px}
 #catalog #products .pack539{width:100%;min-width:0;gap:4px}
 #catalog #products .pack539 select{width:100%;min-width:0;font-size:16px!important;min-height:40px;padding:5px}
 #catalog #products .pack539>span,#catalog #products .pack539>small{font-size:11px!important;line-height:1.5}
 #catalog #products .quantity538{width:100%;min-width:0;display:flex;justify-content:space-between}
 #catalog #products .quantity538 input{min-width:0;width:40px;flex:1;font-size:16px!important}
 #catalog #products .quantity538 button{min-width:32px;width:32px;min-height:40px}
 #catalog #products .add538{width:100%;font-size:12px!important;min-height:40px;padding:7px!important}
 #catalog #products .bmk-feature{font-size:10px;padding:2px 6px}
 #bmkFeaturedPaint .featured-paint-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 #bmkFeaturedPaint .featured-image{height:125px!important;padding:8px!important}
 #bmkFeaturedPaint .featured-paint-body{padding:10px!important;gap:5px!important}
 #bmkFeaturedPaint .featured-paint-body .eyebrow{font-size:10px!important;margin:0!important;letter-spacing:1px}
 #bmkFeaturedPaint .featured-paint-body h3{font-size:13px!important;line-height:1.5!important;min-height:39px;margin:4px 0!important}
 #bmkFeaturedPaint .featured-paint-body button{font-size:12px!important;min-height:34px;padding:6px!important}
}

/* Compact, dismissible location prompt. */
#location545{padding:18px!important;border-radius:16px!important}
#location545>strong{display:block;padding-right:35px;font-size:16px!important}
#location545>p{font-size:12px!important;line-height:1.65!important;margin:8px 0!important}
#location545>div{display:block!important}
#location545 [data-location-enable]{width:100%;min-height:42px!important;font-size:14px!important;padding:9px 14px!important}
#location545 .location-close577{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:0!important;background:#edf2f8!important;color:#142b50!important;border-radius:50%!important;font-size:24px!important;line-height:1!important}
#location545 .location-close577:hover{background:#ffbe2d!important}
#location545 [role=status]:empty{display:none}

.product-brand577{display:none}
@media(max-width:600px){#catalog #products .product-brand577{display:inline;font-size:11px!important;color:#142b50;font-weight:600;margin-left:5px;overflow-wrap:anywhere}#catalog #products .bmk-product-photo{height:128px!important}}
