/* Shop and category pages: filters on the left, title and sort above the products. Offers list. Both storefronts. */
.sc-shop{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.sc-shop-side{min-width:0;display:grid;gap:8px;align-content:start}
.sc-shop-main{min-width:0}
.sc-fbox{border:1px solid var(--br);border-radius:10px;background:var(--cd);overflow:hidden}
.sc-fbox summary{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;background:var(--rd);color:#fff;font-size:15px;font-weight:800;cursor:pointer;list-style:none}
.sc-fbox summary::-webkit-details-marker{display:none}
.sc-fbox summary::after{content:"";width:8px;height:8px;margin-right:2px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg) translate(-2px,-2px);transition:transform .15s}
.sc-fbox[open] summary::after{transform:rotate(-135deg) translate(-2px,-2px)}
.sc-ftree{padding:6px;display:flex;flex-direction:column;gap:1px}
.sc-ftree a{display:flex;align-items:center;gap:6px;padding:8px;border-radius:7px;color:var(--tx);font-size:14px;font-weight:600;text-decoration:none;min-width:0}
.sc-ftree a em{margin-left:auto;color:var(--mu);font-size:12px;font-style:normal;font-weight:500}
.sc-ftree a i{flex:none;width:14px;color:var(--mu);font-style:normal;text-align:center}
.sc-ftree a:hover,.sc-ftree a.on{background:var(--bg);color:var(--rd)}
.sc-fsub{margin:0 0 2px 10px;padding-left:8px;border-left:2px solid var(--br);display:flex;flex-direction:column;gap:1px}
.sc-fsub a{font-size:13.5px;font-weight:500;padding:6px 8px}
.sc-fchild a{font-size:13px;color:var(--mu)}
.sc-fprice{padding:12px}
.sc-frow{display:flex;gap:8px}
.sc-frow label{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:4px;padding:0 8px;border:1px solid var(--br);border-radius:7px;color:var(--mu);font-size:13px}
.sc-frow input{width:100%;min-width:0;padding:7px 0;border:0;outline:0;background:transparent;color:var(--tx);font:inherit;font-size:14px;-moz-appearance:textfield}
.sc-frow input::-webkit-outer-spin-button,.sc-frow input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.sc-frange{position:relative;height:28px;margin-top:8px}
.sc-frange-track{position:absolute;left:0;right:0;top:12px;height:4px;border-radius:2px;background:var(--br)}
.sc-frange-track i{position:absolute;top:0;bottom:0;background:var(--rd);border-radius:2px}
.sc-frange input{position:absolute;left:0;top:0;width:100%;height:28px;margin:0;background:transparent;pointer-events:none;-webkit-appearance:none;appearance:none}
.sc-frange input::-webkit-slider-thumb{pointer-events:auto;-webkit-appearance:none;width:18px;height:18px;border:2px solid #fff;border-radius:50%;background:var(--rd);box-shadow:0 1px 4px rgba(0,0,0,.35);cursor:pointer}
.sc-frange input::-moz-range-thumb{pointer-events:auto;width:14px;height:14px;border:2px solid #fff;border-radius:50%;background:var(--rd);cursor:pointer}
.sc-shop-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
html body .sc-shop-head h1.sc-list-title,html body .sc-shop-head h2{margin:0;min-width:0;font-size:20px;font-weight:800}
html body .sc-shop-head select.sc-shop-sort{flex:none;margin:0;max-width:170px}
.sc-shop-levels{display:none}
.sc-offers{display:grid;gap:12px;grid-template-columns:minmax(0,1fr)}
.sc-offer-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--br);border-radius:12px;background:var(--cd);color:var(--tx);text-decoration:none}
.sc-offer-card:hover{border-color:var(--rd)}
.sc-offer-art{display:flex;flex-direction:column;justify-content:center;gap:2px;aspect-ratio:2/1;padding:16px;color:#fff;box-sizing:border-box}
.sc-offer-art b{font-size:20px;line-height:1.25}
.sc-offer-card img{display:block;width:100%;aspect-ratio:2/1;object-fit:contain;background:var(--bg)}
.sc-offer-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:10px 14px;font-size:13px;color:var(--mu)}
.sc-offer-info b{padding:2px 8px;border:1px dashed var(--rd);border-radius:6px;color:var(--rd)}
@media (min-width:700px){.sc-offers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1000px){
  .sc-shop{grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}
  .sc-shop-side{position:sticky;top:12px}
  .sc-offers{grid-template-columns:repeat(3,minmax(0,1fr))}
  .sc-shop-chips{display:none!important}
}
/* Shop and category: four products across from tablets up (two on phones), photos are square so a product picture fills its box. */
html body .sc-shop-main .pc .pi{box-sizing:border-box!important;width:100%;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1/1!important;padding-bottom:0!important}
@media (min-width:700px){html body .sc-shop-main .g{grid-template-columns:repeat(4,minmax(0,1fr))}}
