/* Small, in-flow app links; discovery remains the main action. */
.app-bridge { margin: 20px auto 0; padding: 0 22px; max-width: 740px; color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center; }
.app-bridge a, .quiet-brand a { color: inherit; }
.quiet-brand { font-size: 15px; font-weight: 650; color: var(--muted); margin: 0 0 16px; }
.quiet-brand a, a.quiet-brand { text-decoration: none; }
header.site-header .guide-title { font-size: clamp(25px,5vw,36px); }
.guide-notes { max-width: 760px; margin: 44px auto 0; padding: 0 22px; line-height: 1.7; }
.guide-notes h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.guide-notes p { color: var(--muted); }
.app-story { max-width: 920px; margin: 50px auto 24px; padding: 0 28px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .15em; color: var(--brand); }
.app-story h1 { font-size: clamp(36px,7vw,64px); line-height: 1.06; letter-spacing: -.05em; margin: 18px 0 24px; }
.app-lead { max-width: 590px; font-size: 19px; line-height: 1.65; color: var(--muted); }
.app-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin: 28px 0 14px; font-size: 14px; }
.store-link { background: var(--text); color: white; border-radius: 9px; padding: 14px 18px; text-decoration: none; font-weight: 600; }
.app-meta { font-size: 12px; color: var(--muted); }
.app-features { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; padding: 42px 0; margin-top: 36px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.app-features h2 { font-size: 17px; }
.app-features p, .app-explainer p { font-size: 15px; line-height: 1.75; color: var(--muted); }
.app-explainer { max-width: 650px; padding-top: 28px; }
.app-explainer h2 { font-size: 22px; letter-spacing: -.025em; }
.store-link:focus-visible, [data-app-link]:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
@media (max-width: 620px) {
    .app-story { margin-top: 28px; padding: 0 24px; }
    .app-features { grid-template-columns: 1fr; gap: 14px; padding: 24px 0; }
    .app-features h2 { margin-bottom: 6px; }
    .app-features p { margin-top: 6px; }
}
@media (max-width: 620px) {
    .app-shell .stage { position: relative; }
    .app-shell .toolbar { position: static; flex: 0 0 auto; align-self: flex-end; margin: 4px 0; }
    .app-shell .panel { top: 62px; right: 16px; }
}
.fetch-bar > button:not(#fetchButton) { font: inherit; font-size: 14px; font-weight: 600; color: var(--brand); background: none; border: 0; min-height: 44px; padding: 8px 14px; cursor: pointer; }
.fetch-bar > button:not(#fetchButton):hover { text-decoration: underline; }
.product-card .thumb { height: auto; }
.buy-now-btn:disabled { opacity: .45; cursor: default; }

/* Quiet controls and a predictable product reading order. */
.control-icon { width: 18px; height: 18px; flex: 0 0 auto; }
.app-shell .stage { position: relative; padding-top: 4px; }
.app-shell .toolbar { position: static; flex: 0 0 auto; width: min(480px,100%); justify-content: flex-end; align-self: center; margin: 4px 0 8px; gap: 8px; }
.app-shell .tool-btn { width: auto; min-width: 44px; min-height: 44px; height: auto; padding: 0 12px; gap: 7px; border-radius: 10px; box-shadow: none; font-size: 13px; font-weight: 550; }
.app-shell .panel { top: 54px; right: max(16px,calc((100% - 480px)/2)); }
.app-shell .panel input { font-size: 16px; min-width: 0; }
.app-shell .card { flex: 0 0 auto; max-width: 480px; align-items: stretch; padding: 16px; margin-top: 0; box-shadow: 0 4px 16px rgba(20,30,50,.04); }
.app-shell .image-container { flex: 0 0 auto; height: clamp(150px,28dvh,290px); margin-bottom: 14px; background: #fafafa; }
.app-shell #randomItem { text-align: left; font-size: 17px; line-height: 1.4; margin-bottom: 10px; }
.app-shell .badges { justify-content: flex-start; }
.app-shell .badge { border-radius: 5px; font-size: 10px; font-weight: 600; }
.app-shell #price { font-size: 25px; letter-spacing: -.03em; }
.app-shell #shipping { font-size: 12px; margin-top: 5px; }
.app-shell .meta-line { font-size: 12px; text-align: left; margin: 4px 0 14px; }
.app-shell .seller-info { font-size: 11px; margin-top: 12px; padding-top: 10px; }
.app-shell .active-filters { width: min(480px,100%); justify-content: flex-start; }
.app-shell .active-filters:empty { display: none; }
.app-shell .filter-pill { background: #eceff4; color: #475569; min-height: 36px; }
#fetchButton { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; box-shadow: none; border-radius: 12px; }
.button-spinner { width: 16px; height: 16px; border: 2px solid #ffffff50; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.more-categories { margin-top: 16px; }
.more-categories summary { cursor: pointer; padding: 12px 0; color: var(--text); font-size: 14px; }
.more-categories .category-grid { margin-top: 8px; }
.all-categories-link { font-size: 14px; }
button:focus-visible, summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    .app-shell *, #fetchButton { animation: none !important; transition: none !important; }
}
.price-inputs label { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.price-inputs label input { width: 100%; box-sizing: border-box; }
.price-inputs > span { align-self: flex-end; padding-bottom: 12px; }
.price-validation { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #b42318; }
.price-validation:empty { display: none; }
.apply-price { margin-top: 12px; width: 100%; min-height: 44px; background: var(--text); color: white; border-color: var(--text); border-radius: 10px; }
.apply-price:hover { color: white; border-color: var(--text); }
.apply-price:disabled { opacity: .45; cursor: default; }
