.lesnye-shop{font-family:system-ui,sans-serif;color:#e9eef0;background:#101b20;padding:24px;border-radius:12px}.lesnye-shop button,.lesnye-shop input,.lesnye-shop select{font:inherit;padding:10px;margin:4px;border-radius:5px}.lesnye-shop button{cursor:pointer;background:#ffa347;color:#172027;border:0}.shop-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.shop-card{border:1px solid #3a484f;padding:14px;border-radius:8px}.shop-photo{position:relative;aspect-ratio:4/3;background:#091217;display:grid;place-items:center;overflow:hidden}.shop-photo img{width:100%;height:100%;object-fit:contain}.shop-photo strong{position:absolute;top:8px;left:8px;background:#091217e8;padding:5px 9px;color:#fff}.shop-card h3{font-size:18px}.shop-card a,.lesnye-shop a{color:#ffbd75}.shop-cart{border:1px solid #52646b;padding:16px;margin:24px 0}.cart-line{display:flex;gap:8px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #52646b;padding:12px 0}.cart-line input{width:65px}.shop-error{color:#ffc78f}.shop-status{padding:12px}#shop-order label{display:block}#shop-order input:not([type=checkbox]){max-width:100%;box-sizing:border-box}details summary{cursor:pointer}body{margin:0}a{overflow-wrap:anywhere}

.lesnye-shop h2{font-size:28px}.shop-photo img{padding:40px 10px 12px;box-sizing:border-box}.shop-card h3{overflow-wrap:anywhere}.shop-card p{margin:10px 0}.shop-card>p:nth-last-of-type(1){font-size:21px;font-weight:700}.shop-grid{align-items:stretch}.shop-card{display:flex;flex-direction:column;gap:5px}.shop-card>button{margin-top:auto}.shop-cart input{color:#172027;background:#fff}.shop-status{position:sticky;bottom:0;background:#172a32}.shop-status:empty{display:none}@media(max-width:500px){.lesnye-shop{padding:12px}.shop-grid{grid-template-columns:1fr}.lesnye-shop h2{font-size:24px}}
/* Keep the image inside the fixed 4:3 frame, including intrinsic tall sources. */
.shop-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
