/* Confine the shop to the desktop's shared app window. */
.siteBox:has(#shoppingApp:not([hidden])) { width: min(1000px, 96vw); height: min(600px, calc(100dvh - 140px)); }
.siteBox:has(#shoppingApp:not([hidden])) .siteView { height: calc(100% - 30px); }
#shoppingApp { height: 100%; overflow: auto; background: white; color: #111820; font: 15px/1.4 Arial, sans-serif; }
.shop-header { display: flex; align-items: center; gap: 30px; padding: 12px 20px; background: #131921; color: white; }
.shop-header h2 { margin: 0; font-size: 21px; letter-spacing: -.6px; }
.shop-search { flex: 1; display: flex; max-width: 660px; }
.shop-search input, .shop-search button { border: 0; padding: 9px 12px; font: inherit; }
.shop-search input { min-width: 0; flex: 1; border-radius: 3px 0 0 3px; }
.shop-search button { background: #febd69; color: #171717; border-radius: 0 3px 3px 0; cursor: pointer; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); gap: 12px; padding: 18px; align-items: start; }
.shop-card { border: 1px solid #d5d9d9; border-radius: 3px; overflow: hidden; }
.shop-photo { height: 168px; display: grid; place-items: center; background: #f7f8f8; padding: 14px; }
.shop-photo img { width: 100%; height: 168px; object-fit: contain; mix-blend-mode: multiply; }
.shop-info { padding: 14px; }
.shop-info h3 { min-height: 2.5em; font-size: 18px; font-weight: 500; line-height: 1.25; margin: 0; }
.shop-rating { margin: 6px 0; font-size: 14px; }
.shop-rating span, .shop-stars { color: #a75207; }
.shop-price { margin: 2px 0 10px; font-size: 28px; line-height: 1.2; }
.shop-price sup { font-size: 13px; vertical-align: top; position: relative; top: .25em; }
.shop-info summary { cursor: pointer; list-style-position: inside; background: #ffd814; padding: 6px 12px; width: fit-content; border-radius: 3px; font-size: 14px; }
.shop-info summary:hover { background: #f4c900; }
#shoppingApp :focus-visible { outline: 3px solid #007185; outline-offset: 2px; }
/* Every reviewer shows the same fields so the case clue blends into the list. */
.shop-reviews { padding: 0; margin: 10px 0 0; list-style: none; }
.shop-reviews li { border-top: 1px solid #ddd; padding: 10px 0; }
.shop-reviews small, .shop-stars { display: block; font-size: 12px; }
.shop-reviews small { color: #565959; }
.shop-reviews p { margin: 4px 0 0; font-size: 14px; }
.shop-empty { margin: 0 18px; }
@media (max-width: 580px) {
    .shop-header { flex-wrap: wrap; gap: 8px; }
    .shop-search { flex-basis: 100%; }
}
