/* Merchant catalogue with the original card artwork. */
#shop-view{
 display:none;flex-direction:column;min-height:0;padding:24px 20px 20px;gap:14px;
 overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;
 background:transparent;color:var(--atelier-deep,#392a26);
}
#shop-view.active{display:flex}
#shop-view::-webkit-scrollbar{display:none}
#shop-view button{font:inherit;box-shadow:none;text-shadow:none;border:0;touch-action:manipulation}
#shop-view button:focus-visible{outline:2px solid var(--atelier-coral,#ef8875);outline-offset:3px}
#shop-view .shop-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;min-width:0}
#shop-view .shop-title{margin:0;font:700 29px/1.12 Arial,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;letter-spacing:-.8px;color:var(--atelier-deep,#392a26)}
#shop-view .shop-wallet{display:inline-flex;align-items:center;gap:6px;font-size:16px;line-height:24px;color:var(--atelier-deep,#392a26);font-variant-numeric:tabular-nums}
#shop-view .shop-wallet strong{font-weight:600}
#shop-view .shop-wallet img{display:block;width:24px;height:24px;object-fit:contain}
#shop-view .shop-intro{flex:none;margin:-3px 0 4px;font-size:13px;line-height:18px;color:#817771}
#shop-view .shop-merchants{display:flex;flex:none;flex-direction:column;gap:13px;min-width:0}
#shop-view .shop-merchant-banner{
 position:relative;display:grid;grid-template-columns:minmax(0,1fr) 44%;align-items:center;
 width:100%;height:clamp(118px,19.7vh,173px);min-height:118px;gap:10px;padding:20px;
 border:0;border-radius:8px;overflow:hidden;text-align:left;
 background:#eeeae6;color:#392a26;transition:transform .22s cubic-bezier(.2,.8,.2,1),filter .18s;
}
#shop-view .shop-merchant-banner:active{transform:scale(.985);filter:brightness(.97)}
#shop-view .shop-merchant-banner:disabled{cursor:default;opacity:.6}
#shop-view .shop-merchant-copy{position:relative;display:flex;flex-direction:column;min-width:0;gap:9px;z-index:2}
#shop-view .shop-merchant-name{font-size:23px;line-height:1.08;font-weight:700;letter-spacing:-.65px;overflow-wrap:normal}
#shop-view .shop-merchant-nominals{font-size:11px;line-height:16px;font-weight:450;color:#726961;white-space:nowrap}
#shop-view .shop-merchant-footer{display:flex;align-items:center;gap:9px;margin-top:17px;font-size:12px;line-height:17px;font-weight:600;white-space:nowrap}
#shop-view .shop-merchant-arrow{font-size:24px;line-height:17px;font-weight:400}
#shop-view .shop-merchant-art{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:279/175;min-width:0;max-height:117px;pointer-events:none;user-select:none}
#shop-view .shop-merchant-image,#shop-view .shop-merchant-overlay{display:block;width:100%;height:100%;object-fit:contain;pointer-events:none;-webkit-user-drag:none}
#shop-view .shop-merchant-overlay{position:absolute;inset:0}
#shop-view [data-market="wb"]{background:#f0e8f1;color:#4b2857}
#shop-view [data-market="wb"] .shop-merchant-nominals{color:#856d88}
#shop-view .shop-merchant-wordmark{font:650 clamp(44px,10vw,70px)/1 Arial,sans-serif;letter-spacing:-6px;color:#b315b2}
#shop-view [data-market="ozon"]{background:#e4edf7;color:#173351}
#shop-view [data-market="ozon"] .shop-merchant-nominals{color:#6f7c8c}
#shop-view [data-market="goldapple"]{background:#f1f1f1;color:#392a26}
#shop-view .shop-merchant-art--photo{aspect-ratio:1.58;overflow:hidden;border-radius:0}
#shop-view .shop-merchant-art--photo .shop-merchant-image{position:absolute;left:50%;top:50%;width:232%;height:232%;max-width:none;transform:translate(-50%,-50%);object-fit:contain}
@media(max-width:350px){
 #shop-view{padding-inline:16px}
 #shop-view .shop-merchant-banner{padding-inline:16px;gap:9px;grid-template-columns:minmax(0,1fr) 42%}
 #shop-view .shop-merchant-name{font-size:20px;letter-spacing:-.5px}
 #shop-view .shop-merchant-nominals{font-size:10px;line-height:14px}
 #shop-view .shop-merchant-footer{font-size:11px;gap:6px;margin-top:13px}
 #shop-view .shop-merchant-wordmark{font-size:47px;letter-spacing:-4px}
}
@media(max-height:650px){
 #shop-view{padding-top:17px;padding-bottom:14px;gap:12px}
 #shop-view .shop-title{font-size:26px;line-height:29px}
 #shop-view .shop-intro{font-size:12px;line-height:17px;margin-bottom:1px}
 #shop-view .shop-merchants{gap:10px}
 #shop-view .shop-merchant-banner{height:118px;min-height:118px;padding-block:15px}
 #shop-view .shop-merchant-copy{gap:6px}
 #shop-view .shop-merchant-name{font-size:20px}
 #shop-view .shop-merchant-footer{margin-top:11px}
}
@media(prefers-reduced-motion:reduce){#shop-view .shop-merchant-banner{transition:none}}
