/* A compact catalogue over the walkable room, with the existing illustrated frame. */
#pet-shop{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(740px,calc(100vw - 24px));height:fit-content;max-height:calc(var(--view-height,100dvh) - 24px);padding:24px 30px;border:14px solid transparent;border-radius:5px;border-image:url('assets/steder/lyslund/hjem-og-butikk/alva-shop-frame-v1.webp') 90 fill / 26px / 0 stretch;background:#f6e6bf;color:#382711;overflow:auto;text-align:left;}
#pet-shop::backdrop{background:#07191b66;}
#pet-shop-catalogue{position:relative;}
#pet-shop h2{font:600 clamp(22px,3vw,32px)/1.1 Georgia,serif;color:#382711;margin:0;}
#pet-shop button{font:650 15px/1.25 system-ui,sans-serif;min-height:44px;padding:10px 16px;color:#382711;border:1px solid #99703b;border-radius:9px;background:linear-gradient(#fff1ce,#ddbf88);box-shadow:inset 0 0 0 2px #fff1cd88,0 3px 0 #69471e;cursor:pointer;text-shadow:none;}
#pet-shop button:disabled{opacity:.65;cursor:default;}
#pet-shop button:hover:not(:disabled){filter:brightness(1.08);}
#pet-shop button:focus-visible{outline:3px solid #fff2be;outline-offset:3px;box-shadow:0 0 0 6px #755126;}
#pet-shop .pet-shop-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;}
#pet-shop h3{font:600 clamp(20px,2vw,29px)/1.1 Georgia,serif;margin:0 0 6px;color:#382711;}
#pet-shop-hide{font-size:23px;padding:5px 12px;}
#pet-shop-wallet{display:flex;align-items:center;gap:6px;margin:2px 0 12px;color:#65451e;font-weight:650;}
#pet-shop-wallet img{width:24px;height:24px;object-fit:contain;}
#pet-shop .pet-shop-body{display:grid;grid-template-columns:39% 1fr;gap:18px;}
#pet-shop-wares{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:start;}
#pet-shop-wares button{display:grid;justify-items:center;gap:3px;padding:7px;min-width:0;}
#pet-shop-wares button[aria-pressed=true]{background:linear-gradient(#ffedc3,#d5ab60);outline:2px solid #885717;outline-offset:2px;}
#pet-shop-wares img{width:100%;height:clamp(65px,11vh,90px);object-fit:contain;}
#pet-shop-wares strong{font:600 18px Georgia,serif;}
#pet-shop-wares span{font-size:13px;}
#pet-shop-detail{display:flex;flex-direction:column;gap:9px;min-width:0;}
#pet-shop-detail p,#pet-shop-status{font:14px/1.5 system-ui,sans-serif;margin:0;color:#4a361d;}
#pet-shop-detail .pet-shop-kind{font-size:13px;color:#795527;}
#pet-shop-detail small{font:12px/1.4 system-ui,sans-serif;color:#65451e;}
#pet-shop-buy{margin-top:auto;background:linear-gradient(#f7d98f,#cba258)!important;}
#pet-shop-status{margin-top:10px;min-height:20px;font-weight:600;}
#pet-shop [hidden]{display:none!important;}
#pet-shop .pet-shop-pages{display:flex;align-items:center;gap:7px;margin-left:auto;white-space:nowrap;}
#pet-shop .pet-shop-pages button{padding:5px 10px;min-width:44px;font-size:21px;}
#pet-shop-page{font:600 13px system-ui,sans-serif;color:#65451e;}

@media(max-height:430px){
 #pet-shop{padding:14px 22px;max-height:calc(var(--view-height,100dvh) - 12px);}
 #pet-shop .pet-shop-body{grid-template-columns:40% 1fr;gap:14px;}
 #pet-shop-wares{grid-template-columns:1fr 1fr;gap:8px;}
 #pet-shop-wares img{height:55px;}#pet-shop-wares strong{font-size:16px;}
 #pet-shop-detail{gap:5px;}#pet-shop-detail p{font-size:12px;}
 #pet-shop-wallet{margin-bottom:6px;}
}
@media(max-width:500px){#pet-shop{padding:18px 20px;}#pet-shop .pet-shop-body{grid-template-columns:1fr;}#pet-shop-wares{grid-template-columns:1fr 1fr;}#pet-shop-wares img{height:70px;}#pet-shop .pet-shop-heading{flex-wrap:wrap;}#pet-shop-title{flex-basis:100%;}#pet-shop .pet-shop-pages{margin-left:0;margin-right:auto;}}
