.shopping-app{--ink:#171717;--forest:#171717;--muted:#777;--line:#ececec;--canvas:#fff;--paper:#f5f5f5;--app-header-extra:0px;--app-nav-extra:0px;--app-nav-height:0px;background:#fff}
.shopping-app .site-header{height:64px;background:#fff;border-color:#eee;z-index:40}
.shopping-app .header-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;height:64px;gap:24px;max-width:1540px;align-items:center}
.shopping-app .header-inner .wordmark{font-size:25px;font-weight:700;letter-spacing:1px;color:#111;flex-shrink:0}
.app-header-actions{display:flex;align-items:center;justify-self:end;gap:16px;min-width:0}
.app-header-search{width:min(31vw,430px);height:42px;display:flex;align-items:center;gap:12px;background:#f5f5f5;border:0;border-radius:8px;padding:0 16px;font-size:14px;color:#777}
.app-header-search svg,.app-icon-button svg{width:23px;height:23px;flex-shrink:0}
.app-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:0;color:#171717;background:transparent}
.app-saved-count{position:absolute;right:0;top:0;min-width:16px;height:16px;padding:0 4px;border-radius:20px;background:#171717;color:#fff;display:grid;place-items:center;font-size:10px;line-height:1;font-weight:700}
.app-saved-count[hidden]{display:none}
.shopping-app .app-top-tabs{width:100%;height:64px;min-width:0;margin:0;display:flex;justify-content:center;gap:28px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;padding:0}
.app-top-tabs::-webkit-scrollbar{display:none}
.app-top-tabs>span,.app-top-tabs>button{position:relative;display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 2px;font:inherit;font-size:14px;font-weight:700;color:#777;border:0;background:transparent;white-space:nowrap;flex-shrink:0;opacity:1}
.app-top-tabs [aria-current=page]{color:#111;font-weight:700}
.app-top-tabs [aria-current=page]::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:#171717}
.shopping-app .campaign-carousel{height:calc(100svh - 200px - var(--app-header-extra) - var(--app-nav-extra))}
.shopping-app .campaign-controls{background:#fff}
.shopping-app .campaign-dots button[aria-current=true]::before{background:#171717}
.shopping-app .brand-section{background:#fff}
.shopping-app .home-search-main h2{font-size:28px;font-weight:700;letter-spacing:-1px}
.shopping-app .home-search-main .keyword-search{border:1px solid #e7e7e7;border-radius:8px;padding:5px 6px 5px 16px;background:#f8f8f8}
.shopping-app .home-search-main .keyword-search button{border:0;border-radius:5px;background:#171717;color:#fff;font-weight:700}
.shopping-app .result-tabs button[aria-selected=true]{color:#171717;font-weight:700;border-color:#171717}
.shopping-app .search-results-panel .result-grid{gap:36px 22px}
.shopping-app .listing-photo{background:#f5f5f5;border-radius:4px}
.shopping-app .listing-status{background:#ffffffed;color:#444;border:1px solid #eee;border-radius:3px;font-weight:700}
.shopping-app .listing-body-compact{padding-top:12px;gap:5px}
.shopping-app .listing-title-2line{font-weight:700;color:#222}
.shopping-app .listing-body-compact .price{color:#111;font-size:23px;letter-spacing:-.5px;font-weight:700}
.shopping-app .listing-facts,.shopping-app .listing-price-note{color:#777}
.shopping-app .listing-save{color:#171717;text-shadow:none;background:#ffffffed;border-radius:50%;width:44px;height:44px;top:7px;right:7px}
.app-filter-toggle{display:flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;background:#fff;border:1px solid #e5e5e5;border-radius:7px;font-size:13px;font-weight:700;color:#222}
.app-filter-toggle svg{width:18px;height:18px}
.app-dialog{width:min(760px,calc(100% - 40px));max-width:760px;max-height:calc(100svh - 80px);margin:auto;padding:28px;border:0;border-radius:16px;background:#fff;color:#171717;overscroll-behavior:contain}
.app-dialog::backdrop{background:#1118;backdrop-filter:blur(3px)}
.app-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.app-dialog-heading h2{font-size:24px;letter-spacing:-.8px;font-weight:700;margin:0}
body:has(.app-dialog[open]){overflow:hidden}
.app-search-form{display:flex;gap:10px;margin:0 0 32px}
.app-search-field{display:flex;flex-direction:row;align-items:center;gap:12px;margin:0;min-width:0;flex:1;background:#f5f5f5;border-radius:8px;padding:0 14px}
.app-search-field svg{width:22px;height:22px;flex-shrink:0}
.app-search-field input{min-width:0;width:100%;min-height:52px;border:0;background:transparent;padding:8px 0;font-size:16px;outline-offset:1px;color:#171717}
.app-search-field:focus-within{outline:2px solid #171717;outline-offset:2px}
.app-search-submit{min-width:72px;min-height:52px;border:0;border-radius:8px;background:#171717;color:#fff;font-weight:700;font-size:14px;padding:10px}
.app-search-history,.app-search-shortcuts{margin:0 0 28px}
.app-search-history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.app-search-history h3,.app-search-shortcuts h3{font-size:15px;font-weight:700;margin:0 0 14px}
.app-text-button{min-height:44px;padding:5px 0;border:0;background:none;color:#888;font-size:12px}
.app-search-terms{display:flex;flex-wrap:wrap;gap:8px}
.app-query-chip{min-height:44px;border:1px solid #e8e8e8;border-radius:8px;padding:9px 14px;color:#333;background:#fff;font-size:13px}
.app-query-chip:hover{border-color:#171717}
.app-empty-hint,.app-local-note{color:#888;font-size:12px;line-height:1.7;margin:0}
.app-dialog button:focus-visible,.app-dialog input:focus-visible{outline:2px solid #171717;outline-offset:2px}
.app-dialog .app-search-field input:focus-visible{outline:none}
body:has(.detail-app-actions){--bm-ink:#171717;--bm-muted:#777;--bm-line:#ececec;--bm-paper:#f5f5f5;background:#fff}
body:has(.detail-app-actions) .bm-header{background:#fff}
@media(min-width:701px){.shopping-app .mobile-navigation{display:none}.app-filter-toggle[hidden]{display:none}}
@media(max-width:1100px) and (min-width:701px){.shopping-app .header-inner{padding-left:30px;padding-right:30px}.shopping-app .app-top-tabs{justify-content:flex-start;gap:18px}}
@media(max-width:700px){
 .shopping-app{--app-nav-height:64px;--app-nav-extra:13px;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
 .shopping-app .site-header{height:56px}
 .shopping-app .header-inner{height:56px;padding:0 18px;gap:12px}
 .shopping-app .header-inner .wordmark{font-size:23px;letter-spacing:.6px}
 .app-header-actions{gap:4px}.app-header-search{width:44px;height:44px;min-width:44px;background:none;border-radius:0;padding:10px;color:#171717}.app-header-search span{display:none}
 .app-header-actions .app-saved-count{right:1px;top:2px}
 .shopping-app .app-top-tabs{justify-content:flex-start;gap:18px;height:56px;padding:0}.app-top-tabs>span,.app-top-tabs>button{font-size:12px}
 .shopping-app .campaign-carousel{height:clamp(248px,76vw,340px)}
 .shopping-app .mobile-navigation{position:fixed;bottom:0;left:0;right:0;z-index:35;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;height:calc(64px + env(safe-area-inset-bottom));padding:0 8px env(safe-area-inset-bottom);border-top:1px solid #ededed;background:#fff}
 .shopping-app .mobile-navigation a{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:63px;padding:5px 0;color:#888;font-size:10px;font-weight:700;line-height:1.3}
 .shopping-app .mobile-navigation svg{width:22px;height:22px}.shopping-app .mobile-navigation a[aria-current=page]{color:#111;font-weight:700}
 .shopping-app .mobile-navigation a[aria-current=page] svg{stroke-width:2.2}.shopping-app .mobile-navigation [data-app-nav=register] svg{border:1px solid #aaa;border-radius:7px;padding:2px}
 .shopping-app .mobile-navigation .app-saved-count{right:calc(50% - 23px);top:6px;font-size:9px}
 .shopping-app section[id]{scroll-margin-top:116px}
 .shopping-app .market-section{padding:26px 16px 36px}
 .shopping-app .home-search-main h2{font-size:23px;margin-bottom:6px}.shopping-app .market-intro{font-size:11px;margin-bottom:18px;color:#888}
 .shopping-app .home-search-main .keyword-search{padding-left:12px;margin:0 0 14px;gap:6px}.shopping-app .home-search-main .keyword-search input{font-size:16px}.shopping-app .home-search-main .keyword-search button{font-size:12px;padding:10px 14px}
 .app-filter-toggle{width:100%;justify-content:center}.shopping-app .home-search-main .filter-panel{margin-top:16px}
 .shopping-app .search-results-panel{margin-top:16px;scroll-margin-top:112px;padding-top:10px}.shopping-app .search-results-panel>summary{font-size:11px;color:#888}
 .shopping-app .result-toolbar{gap:8px;min-height:48px}.shopping-app .result-tabs{gap:18px}.shopping-app .result-tabs button{font-size:14px}
 .shopping-app .result-toolbar>select{width:132px;border:0;font-size:16px}.shopping-app .result-meta{min-height:44px;padding:0}.shopping-app .result-meta p{font-size:11px;flex:1;line-height:1.5}.shopping-app .result-meta .text-button{font-size:10px}
 .shopping-app .search-results-panel .result-grid{gap:26px 10px}.shopping-app .listing-photo{aspect-ratio:5/4;border-radius:3px}
 .shopping-app .listing-body-compact{gap:4px;padding-top:9px}.shopping-app .listing-title-2line{font-size:13px;line-height:1.45;letter-spacing:-.2px}.shopping-app .listing-body-compact .price{font-size:19px;line-height:1.4;letter-spacing:-.4px}
 .shopping-app .listing-facts{font-size:10px;line-height:1.5}.shopping-app .listing-price-note{font-size:9px;line-height:1.6}
 .shopping-app .listing-status{font-size:9px;left:5px;top:5px;padding:4px 5px;max-width:calc(100% - 51px)}.shopping-app .listing-save{top:1px;right:1px;width:44px;height:44px;background:#ffffffd9}
 .shopping-app .wizard-actions{bottom:calc(var(--app-nav-height) + 12px + env(safe-area-inset-bottom));background:#fff}
 .shopping-app .wizard-heading{scroll-margin-top:116px}
 .app-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;padding:20px 18px calc(24px + env(safe-area-inset-bottom));border-radius:0}
 .app-dialog-heading{margin-bottom:22px}.app-dialog-heading h2{font-size:22px}.app-search-form{gap:8px;margin-bottom:28px}.app-search-field{gap:8px;padding:0 12px}.app-search-submit{min-width:64px}
 .bm-header .bm-shell:has(.detail-app-actions){display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;height:56px;min-height:56px;padding:0 16px}
 .bm-header .bm-shell:has(.detail-app-actions) nav{display:none}.bm-header .bm-shell:has(.detail-app-actions) .bm-wordmark{justify-self:center}
 .bm-header .detail-app-actions{margin:0;justify-content:flex-end}.bm-header .detail-app-actions .listing-save{font-size:22px}
}
@media(max-width:700px) and (max-height:620px){.shopping-app .campaign-carousel{height:clamp(248px,76vw,340px)}}
@media(max-width:700px) and (max-height:450px){.shopping-app .campaign-carousel{height:calc(100svh - 180px)}}
@media(max-width:700px) and (max-height:450px){.shopping-app{--app-header-extra:0px}.shopping-app .site-header{height:56px}.shopping-app .header-inner{grid-template-columns:auto minmax(0,1fr)}.shopping-app .app-top-tabs{display:none}.shopping-app section[id]{scroll-margin-top:70px}}
@media(min-width:701px) and (max-height:500px){.shopping-app{--app-header-extra:0px}.shopping-app .site-header,.shopping-app .header-inner{height:48px}.shopping-app .header-inner{grid-template-columns:auto minmax(0,1fr)}.shopping-app .app-top-tabs{display:none}.shopping-app .campaign-carousel{height:calc(100svh - 125px)}}
