/* Scoped layout: header and launch notice take their actual height. */
.randomMode .ticker,.discoverMode .ticker{display:none!important}
.discoverMode .siteTop{position:sticky!important;top:0!important}
.discoverMode main{padding-top:20px!important}
.discoverMode .pageHero{padding:16px 0!important}
.discoverMode .pageHero h1{font-size:clamp(30px,5vw,56px);margin:0}
.discoverMode .darkKicker{color:#fff!important;background:#111!important}
body.randomMode{display:flex!important;flex-direction:column!important;height:100vh!important;height:100dvh!important;min-height:0!important;max-height:none!important;overflow-y:auto!important}
.randomMode .siteTop{position:relative!important;flex:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.randomMode .nav{height:auto!important;min-height:62px!important;max-height:none!important}
.randomMode .launchReviewBanner{flex:none;font-size:12px;padding:6px 12px}
.randomMode .randomPage{flex:1 0 360px!important;width:min(1440px,calc(100% - 24px))!important;height:auto!important;min-height:360px!important;max-height:none!important;padding:8px 0 max(8px,env(safe-area-inset-bottom))!important;overflow:visible!important;display:flex!important;box-sizing:border-box!important}
.randomMode .randomStage{flex:1!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;gap:8px!important;overflow:visible!important}
.randomMode .randomMiniNav{height:auto!important;min-height:0!important;max-height:none!important;flex-wrap:wrap!important;overflow:visible!important;margin:0!important}
.randomMode .randomProduct{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;align-items:stretch!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:visible!important}
.randomMode .randomPhoto{display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;padding:12px!important;aspect-ratio:auto!important;box-sizing:border-box!important;overflow:hidden!important}
.randomMode .randomPhoto img{position:absolute!important;inset:12px!important;width:calc(100% - 24px)!important;height:calc(100% - 24px)!important;min-height:0!important;max-height:none!important;object-fit:contain!important;transform:none!important}
.randomMode .randomInfo{position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:10px!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;max-height:none!important;padding:18px!important;overflow:visible!important;box-sizing:border-box!important}
.randomMode .randomInfo h1{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;overflow:hidden!important;max-height:none!important;margin:0!important;font-size:clamp(20px,2.5vw,36px)!important;line-height:1.12!important;overflow-wrap:anywhere!important}
.randomMode #randomName{display:inline!important}
.randomMode .randomInfo .cardCat{align-self:flex-start;max-width:100%;white-space:normal!important;font-size:11px!important}
.randomMode .randomPrice{font-size:clamp(24px,3vw,36px)!important;line-height:1.1!important;margin:0!important}
.randomMode .randomSummary{display:none!important}
.randomMode .randomDetailsLink{font-size:13px!important;line-height:1.3!important;margin:0!important;padding:0!important}
.randomMode .randomActions{position:static!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto!important;gap:8px!important;width:100%!important;height:auto!important;min-height:0!important;margin:4px 0 0!important;inset:auto!important}
.randomMode .randomCartForm{margin:0!important;min-width:0!important;display:flex!important}
.randomMode .randomActions .randomNext,.randomMode .randomActions .randomPrimary{grid-column:auto!important;grid-row:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:auto!important;min-height:48px!important;max-height:none!important;white-space:normal!important;overflow-wrap:anywhere!important;padding:10px!important;font-size:14px!important;line-height:1.2!important;box-sizing:border-box!important}
@media(max-width:1100px){.randomMode .nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important}.randomMode .topSearch{flex:1;min-width:180px}.randomMode .navLinks{flex-wrap:wrap}}
@media(max-width:800px){
 .randomMode .topSearch,.randomMode .navLinks{display:none!important}
 .randomMode .randomPage{flex-basis:360px!important}
 .randomMode .randomProduct{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(70px,1fr) auto!important}
 .randomMode .randomInfo{padding:10px!important;gap:6px!important}
 .randomMode .randomInfo h1{font-size:20px!important;-webkit-line-clamp:2!important;line-height:1.12!important}
 .randomMode .randomActions .randomNext,.randomMode .randomActions .randomPrimary{font-size:12px!important;padding:8px!important}
}
@media(max-height:500px) and (min-width:600px){
 .randomMode .randomProduct{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:1fr!important}
 .randomMode .randomPage{flex-basis:260px!important;min-height:260px!important}
}
@media(max-height:500px){
 .randomMode .topSearch,.randomMode .navLinks{display:none!important}
 .randomMode .randomInfo{padding:10px!important;gap:5px!important}
 .randomMode .randomInfo h1{font-size:18px!important;-webkit-line-clamp:2!important}
 .randomMode .randomPrice{font-size:24px!important}
 .randomMode .randomActions .randomNext,.randomMode .randomActions .randomPrimary{font-size:12px!important}
}
