/* Homepage mobile discovery layout. Desktop keeps the existing marketplace. */
.mobile-discovery{display:none}
button.search-icon{border:0;background:transparent;padding:6px;display:grid;place-items:center;max-width:none;cursor:pointer}
.search-icon svg{width:22px;height:22px}
@media(max-width:768px){
 body{background:#fbfefd!important;padding-bottom:calc(78px + env(safe-area-inset-bottom))}
 .header,.header.scrolled{height:60px;background:#00b348!important;color:#fff!important;border:0!important;box-shadow:none!important;position:relative;backdrop-filter:none}
 .header .nav{height:60px;min-height:60px;padding:0 18px!important;gap:10px}
 .header .logo{color:#fff!important;font-size:20px!important;letter-spacing:-.5px!important;max-width:none}
 .header .logo-mark{width:29px!important;height:29px!important;background:#fff!important;color:#00a746!important;border-radius:8px 8px 8px 2px!important}
 .header .logo span,.header .tagline{display:none!important}
 .header .actions .sell{display:block!important;padding:8px 10px!important;font-size:10px!important;color:#fff!important;background:#f7a934!important;border-radius:7px!important;text-decoration:none}
 .hero{min-height:172px!important;height:auto!important;padding:0 0 28px;background:#00b348!important;border-radius:0!important}
 .hero::before,.hero::after{display:none!important}
 .hero .hero-inner{padding:38px 18px 0!important;max-width:600px}
 .hero h1{font-size:20px!important;line-height:1.3!important;letter-spacing:0!important;font-weight:600;margin:0 0 18px}
 .hero-subtitle,.hero-note{display:none!important}
 .hero .searchbar{display:grid!important;grid-template-columns:minmax(105px,.75fr) minmax(0,1.25fr)!important;gap:10px!important;background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
 .hero .search-select,.hero .search-input{height:48px!important;min-width:0;border:0!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;font-size:16px!important;color:#718890}
 .hero .search-select{width:100%;padding:0 12px!important}
 .hero .searchbox{min-width:0}
 .hero .search-input{padding:0 40px 0 14px!important}
 .hero .search-icon{right:6px!important;color:#78929c!important;width:32px!important;height:40px!important}
 .discovery-wrap{display:none!important}
 .mobile-discovery{display:block;padding:26px 0 6px}
 .mobile-promos{display:flex;gap:16px;padding:0 18px 4px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:18px;scrollbar-width:none}
 .mobile-promos::-webkit-scrollbar,.recommendation-track::-webkit-scrollbar{display:none}
 .mobile-promos a{flex:0 0 145px;min-height:112px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:5px 8px 12px;border:1px solid #c3b7e6;border-radius:10px;background:#e7defb;color:#253238;font-size:14px;font-weight:500;text-align:center;text-decoration:none;scroll-snap-align:start}
 .mobile-promos a:nth-child(2){background:#deebff;border-color:#aac7e5}
 .mobile-promos a:nth-child(3){background:#fff3dc;border-color:#e8c587}
 .mobile-promos a:nth-child(4){background:#e2f5e9;border-color:#b1d9c0}
 .mobile-promos a>span{font-size:52px;line-height:1.3;filter:drop-shadow(0 4px 2px #00000012)}
 .mobile-recommendations{margin-top:20px}
 .mobile-recommendations h2{margin:0 18px 12px;font-size:18px;font-weight:600;letter-spacing:-.3px}
 .recommendation-track{display:flex;gap:10px;overflow-x:auto;padding:0 18px 4px;scroll-snap-type:x proximity;scroll-padding-inline:18px;scrollbar-width:none}
 .recommendation-track a{flex:0 0 112px;min-width:0;color:#263238;text-decoration:none;font-size:14px;line-height:1.3;scroll-snap-align:start}
 .recommendation-track img{display:block;width:112px;height:130px;border-radius:9px;object-fit:cover;background:#edf3f5;margin-bottom:10px}
 .recommendation-track span{display:block}
 .mobile-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 8px;padding:22px 14px 20px}
 .mobile-category-grid button{display:flex;align-items:center;flex-direction:column;gap:8px;border:0;background:none;padding:0;min-width:0;color:#33434a;font-size:12px;line-height:1.4}
 .mobile-category-grid button>span{display:grid;place-items:center;width:64px;height:64px;background:#edf4f6;border-radius:15px;font-size:36px}
 .market{display:block!important;padding:0 14px!important}
 .market .sidebar,.market-intro,.content>.shortcuts{display:none!important}
 .content .section-title{margin:12px 0}
 .content .view-toggle{display:none}
 .content .cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 .content .card{display:block;min-height:0;border-radius:10px!important}
 .content .photo{height:160px!important;min-height:0!important}
 .content .card-body{padding:10px!important}
 .content .price{font-size:14px!important;line-height:1.4}
 .content .title{font-size:12px!important;line-height:1.4}
 .content .location{font-size:10px!important}
 .content .badges .badge:not(.green){display:none}
 .content .badge{max-width:135px;font-size:8px}
 .content .specs{flex-wrap:wrap}
 .mobile-nav{display:flex!important;justify-content:space-around;align-items:center;position:fixed;bottom:0;left:0;right:0;height:calc(70px + env(safe-area-inset-bottom));padding:6px 8px calc(6px + env(safe-area-inset-bottom));background:#fff!important;border-top:1px solid #dde5e7;box-shadow:0 -2px 7px #233b4410;z-index:1100}
 .mobile-nav a,.mobile-nav .mobile-sell{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:#53676f!important;transform:none!important;font-size:11px!important;font-weight:500}
 .mobile-nav a span,.mobile-nav .mobile-sell span{display:grid;place-items:center;width:28px!important;height:28px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;color:inherit!important;margin:0!important}
 .mobile-nav .mobile-sell em{font-size:11px!important;font-weight:500;color:inherit!important;margin:0}
 .mobile-nav a.active{color:#00a746!important;font-weight:600}
 .mobile-nav a.active svg{fill:#00a746;stroke:#00a746}
 .mobile-nav svg{width:23px;height:23px}
 .mobile-discovery a:focus-visible,.mobile-discovery button:focus-visible,.mobile-nav a:focus-visible{outline:2px solid #07863f;outline-offset:3px}
}
@media(max-width:360px){
 .header .logo{font-size:17px!important}.header .actions .sell{font-size:9px!important}
 .hero h1{font-size:18px!important}.hero .search-select,.hero .search-input{font-size:14px!important}
 .mobile-category-grid button>span{width:56px;height:56px;font-size:32px}
 .mobile-category-grid button{font-size:11px}.content .photo{height:140px!important}
}