:root{--bg:#f5f7f5;--surface:#fff;--ink:#10211e;--muted:#7a8b8b;--line:#e9efeb;--green:#0b6246;--green2:#e4f3e9;--orange:#f9a340;--shadow:0 10px 38px rgba(16,42,34,.055);font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,select,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:default}.app-shell{max-width:1100px;margin:auto;min-height:100vh;padding:20px 22px 110px}.mast{display:flex;justify-content:space-between;align-items:center;padding:8px 2px 28px}.wordmark{font-size:39px;line-height:1;font-weight:950;letter-spacing:-2.9px}.wordmark span{color:var(--orange)}.top-caption{font-size:12px;letter-spacing:.2px;margin:9px 0 0;color:#667773}.brand-emblem{width:52px;height:52px;background:#0b1713;color:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center;flex-direction:column;box-shadow:0 0 0 3px #dceee3}.brand-emblem .mark{font-size:29px;font-weight:1000;line-height:25px;letter-spacing:-3px}.brand-emblem .mark span{font-size:14px;color:#a2e56c;vertical-align:top}.brand-emblem small{font-weight:900;font-size:10px;letter-spacing:1px}.view{display:none}.view.active{display:block;animation:fade .2s ease}@keyframes fade{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:none}}.intro{padding:6px 0 14px}.intro h1,.view-heading h1{font-size:clamp(28px,5vw,42px);letter-spacing:-1.5px;line-height:1.12;margin:0 0 10px;font-weight:850}.intro p,.view-heading p{font-size:14px;line-height:1.55;color:var(--muted);margin:0}.view-heading{margin:0 0 22px}.search-trigger,.searchbox{background:#fff;border:1px solid #f0f4ef;border-radius:20px;min-height:59px;box-shadow:var(--shadow);display:flex;align-items:center;gap:12px;color:#8b9898;width:100%;padding:0 16px;font-size:14px;text-align:left}.search-trigger span:first-child,.searchbox>span{font-size:28px;line-height:1;color:#617271}.search-trigger b{margin-left:auto;font-size:18px;color:var(--green)}.searchbox input{outline:0;border:0;min-width:0;width:100%;color:var(--ink);background:transparent}.quick,.categorystrip{display:flex;gap:9px;overflow:auto;scrollbar-width:none;padding:15px 0 3px}.quick::-webkit-scrollbar,.categorystrip::-webkit-scrollbar,.hotstrip::-webkit-scrollbar,.brandrow::-webkit-scrollbar{display:none}.quick button,.categorystrip button{white-space:nowrap;padding:12px 14px;border:1px solid #edf0ec;color:#263631;background:#fff;border-radius:18px;font-size:13px;font-weight:650}.categorystrip button.selected{background:var(--green);color:white;border-color:var(--green)}.section-title{display:flex;align-items:baseline;justify-content:space-between;margin:29px 0 7px;gap:10px}.section-title h2{font-weight:830;letter-spacing:-.7px;font-size:23px;margin:0}.section-title button{background:none;border:0;color:#6f7e7b;padding:0;font-size:12px;white-space:nowrap}.section-caption{color:var(--muted);font-size:12px;margin:0 0 13px}.hotstrip{display:flex;gap:14px;overflow:auto;padding:4px 2px 12px;scroll-snap-type:x mandatory}.hotstrip .itemcard{flex:0 0 min(270px,79vw);scroll-snap-align:start}.cards{display:grid;gap:13px}.cards.two{grid-template-columns:repeat(2,minmax(0,1fr))}.itemcard{border:1px solid #eef2ee;background:#fff;border-radius:19px;overflow:hidden;box-shadow:var(--shadow);position:relative;cursor:pointer;transition:transform .15s}.itemcard:hover{transform:translateY(-2px)}.itemcard .photo{height:150px;position:relative;overflow:hidden;background:linear-gradient(140deg,#e1e9e2,#f3f5ed 60%,#d1dfd8)}.itemcard .photo img,.hero-img img{width:100%;height:100%;object-fit:cover;display:block}.photo.fallback{display:flex;justify-content:center;align-items:center}.placeholder{font-size:52px;opacity:.65;filter:saturate(.5)}.heart{position:absolute;right:9px;top:9px;background:rgba(255,255,255,.94);border:0;width:33px;height:33px;border-radius:100%;font-size:22px;line-height:33px;color:#243f34}.heart.isfav{color:#d94b60}.pin{position:absolute;top:10px;left:10px;border-radius:10px;background:#fddeaa;color:#865319;font-weight:800;font-size:10px;padding:7px 9px}.pin.hot{background:#ef5243;color:white}.itemcard .inner{padding:13px 12px 16px}.itemcard h3{font-size:14px;font-weight:780;letter-spacing:-.4px;margin:0 0 4px;line-height:1.3;min-height:35px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.itemcard .kind{color:#7d8985;font-size:11px;min-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.itemcard .price{font-size:21px;font-weight:900;letter-spacing:-.9px;margin:6px 0 7px;white-space:nowrap}.itemcard .meta{font-size:10px;color:#7f908b;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brandrow{display:flex;gap:9px;overflow:auto;padding:10px 0 3px}.brandrow button,.brandtile{border-radius:15px;background:white;box-shadow:var(--shadow);border:1px solid #edf1ef;padding:15px 17px;font-weight:850;font-size:13px;white-space:nowrap;color:#25332e}.brandrow button:hover,.brandtile:hover{border-color:#a5d8bc}.filter-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0 20px}.filter-bar select,.results-bar select{width:100%;border:1px solid var(--line);background:white;border-radius:14px;padding:12px 8px;font-size:13px;color:#2b3835;outline:0;min-width:0}.results-bar{display:flex;align-items:center;justify-content:space-between;margin:14px 0;gap:10px}.results-bar span{font-size:18px;font-weight:790;letter-spacing:-.5px}.results-bar select{max-width:180px;font-size:12px}.pagination{display:flex;justify-content:center;align-items:center;gap:13px;padding:23px 0}.pagination button{border:1px solid #dce8dd;background:#fff;border-radius:14px;padding:12px 18px;color:#224237}.loading-card,.empty{border-radius:18px;background:white;border:1px solid var(--line);padding:35px 17px;text-align:center;color:var(--muted);grid-column:1/-1}.hot-info{background:#fff2df;border-radius:16px;padding:17px 18px;margin-bottom:17px;font-size:13px;color:#76624a;line-height:1.5}.brands-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.brandtile{min-height:90px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:9px;white-space:normal;word-break:break-word;text-align:center}.brandtile small{color:var(--muted);font-weight:400}.backrow{display:flex;justify-content:space-between;margin:0 0 16px}.backrow button{padding:9px 13px;background:white;border:1px solid var(--line);border-radius:12px;color:var(--green);font-weight:650}.detail-wrap{max-width:830px;margin:auto}.hero-img{height:min(56vw,430px);min-height:240px;background:linear-gradient(140deg,#dce6db,#f2f4ec);border-radius:21px;display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.hero-img .placeholder{font-size:100px}.detail-title{font-size:29px;font-weight:860;line-height:1.18;letter-spacing:-1px;margin:22px 0 7px}.detail-sub{color:var(--muted);font-size:14px}.detail-price{font-size:33px;font-weight:920;letter-spacing:-1.3px;margin:15px 0}.specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden}.specs>div{padding:16px;border-bottom:1px solid var(--line)}.specs>div:nth-child(odd){border-right:1px solid var(--line)}.specs>div small{display:block;color:var(--muted);font-size:11px;margin-bottom:6px}.specs>div strong{font-size:14px;font-weight:700}.note{font-size:12px;color:var(--muted);margin:20px 0;line-height:1.6}.primary{background:var(--green);border:0;color:white;border-radius:16px;font-weight:760;padding:17px 22px;font-size:15px;text-decoration:none;display:flex;justify-content:center;align-items:center}.detail-actions{display:grid;grid-template-columns:2fr 1fr;gap:10px;margin-top:21px}.detail-actions button{border-radius:16px;border:1px solid #dce8dd;background:white;font-weight:730;color:#28503f}.info-panel{background:white;border:1px solid var(--line);padding:26px;border-radius:20px;line-height:1.6}.info-panel h2{margin:0 0 10px}.info-panel p{color:var(--muted);margin:0 0 20px}.bottomnav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1140px);z-index:20;background:rgba(255,255,255,.97);border:1px solid #f2f3f1;border-radius:24px 24px 0 0;display:grid;grid-template-columns:repeat(5,1fr);padding:9px 8px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -7px 30px rgba(14,34,23,.075);backdrop-filter:blur(15px)}.bottomnav button{background:none;border:0;border-radius:16px;font-size:10px;color:#60756b;font-weight:650;padding:7px 0;display:flex;flex-direction:column;align-items:center;gap:4px}.bottomnav button i{font-size:25px;font-style:normal;line-height:1.1}.bottomnav button.active{color:#075b3e;background:#e6f4e9}#toast{position:fixed;bottom:88px;left:50%;transform:translateX(-50%);background:#163d2f;color:white;padding:10px 15px;border-radius:13px;z-index:40;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:85vw}#toast.visible{opacity:1}@media(min-width:850px){.app-shell{padding:30px 45px 130px}.cards.two{grid-template-columns:repeat(4,minmax(0,1fr))}.itemcard .photo{height:190px}.itemcard .price{font-size:23px}.hotstrip .itemcard{flex-basis:280px}.filter-bar{grid-template-columns:repeat(4,1fr)}}@media(max-width:600px){.app-shell{padding:15px 14px 100px}.mast{padding-bottom:25px}.wordmark{font-size:36px}.intro h1,.view-heading h1{font-size:29px}.intro p{max-width:300px}.section-title h2{font-size:20px}.itemcard .photo{height:128px}.itemcard h3{font-size:13px}.itemcard .price{font-size:18px}.itemcard .inner{padding:10px}.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.brands-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.results-bar span{font-size:15px}.detail-price{font-size:29px}.hotstrip .itemcard .photo{height:160px}}@media(max-width:345px){.cards.two{gap:8px}.itemcard .price{font-size:16px}.brands-grid{grid-template-columns:repeat(2,1fr)}}

/* RELOT lead form */
.lead-dialog{width:min(100% - 24px,460px);max-height:min(90dvh,780px);overflow-y:auto;border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--ink);padding:24px;box-shadow:0 28px 100px rgba(0,0,0,.23);overscroll-behavior:contain}
.lead-dialog::backdrop{background:rgba(7,20,17,.66);backdrop-filter:blur(5px)}
.lead-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}
.lead-header h2{font-size:25px;line-height:1.15;letter-spacing:-.8px;margin:5px 0 0}
.lead-header .eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:850;color:var(--green);margin:0}
.lead-close{width:36px;height:36px;border-radius:50%;background:var(--bg);border:0;color:var(--ink);font-size:26px;line-height:1}
.lead-lot{font-size:13px;color:var(--muted);line-height:1.5;margin:8px 0 20px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.lead-label{display:flex;gap:5px;align-items:baseline;margin:13px 0 7px;font-size:13px;font-weight:750}
.lead-label span{color:#be553c}
.lead-label small{font-size:11px;font-weight:400;color:var(--muted)}
.lead-dialog input:not([type="checkbox"]){display:block;width:100%;border:1px solid #dae5dd;background:#f9fbf9;border-radius:13px;padding:13px 14px;color:var(--ink);font-size:16px;outline:none}
.lead-dialog input:focus-visible{border-color:var(--green);box-shadow:0 0 0 3px #dcefe3}
.lead-consent{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.5;color:#53655c;margin:21px 0 14px}
.lead-consent input{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin-top:1px}
.lead-submit{width:100%}
.lead-feedback{font-size:13px;line-height:1.5;margin-bottom:10px}
.lead-feedback:empty{display:none}
.lead-feedback.error{color:#a92b24}
.lead-feedback.success{color:#136447;font-weight:700}
.lead-footnote{font-size:11px;color:var(--muted);line-height:1.5;margin:14px 0}
.lead-alternative{font-size:13px;color:var(--green);text-decoration:none;font-weight:750;display:block;text-align:center}
.honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}
@media(max-width:600px){.lead-dialog{padding:22px 18px;border-radius:21px}.lead-header h2{font-size:23px}}

.gallery{margin-bottom:12px;width:100%}
.gallery-stage{height:min(56vw,430px);min-height:240px;position:relative;border-radius:21px;overflow:hidden;background:#e6ede7;display:flex;align-items:center;justify-content:center}
.gallery-image{width:100%;height:100%;object-fit:contain;display:block}
.gallery-image-failed{opacity:0}
.gallery-counter{position:absolute;right:12px;bottom:12px;border-radius:12px;background:#1b322acc;color:white;font-weight:700;font-size:12px;padding:8px 12px}
.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:44px;border:0;border-radius:12px;background:#ffffffd9;color:#193c2f;font-size:28px}
.gallery-prev{left:12px}.gallery-next{right:12px}
.gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px 0 6px}
.gallery-thumb{width:74px;height:64px;flex:0 0 74px;border:2px solid transparent;background:#e6ede7;border-radius:12px;overflow:hidden;padding:0}
.gallery-thumb.selected{border-color:var(--green)}
.gallery-thumb img{display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:600px){.gallery-stage{height:260px;min-height:260px}.gallery-thumb{width:64px;height:58px;flex-basis:64px}}

/* RELOT product gallery: detail pages have their own navigation, not fixed tabs */
body.detail-mode .bottomnav{display:none}
body.detail-mode .app-shell{padding-bottom:calc(28px + env(safe-area-inset-bottom))}
.gallery-stage .gallery-open{width:100%;height:100%;padding:0;border:0;background:transparent;display:block;min-width:0;cursor:zoom-in}
.gallery-stage .gallery-open img{width:100%;height:100%;object-fit:contain}
.gallery-thumbs{position:relative;scrollbar-width:thin;scroll-snap-type:x proximity}
.gallery-thumb{scroll-snap-align:center}
.photo-viewer{margin:0;padding:0;inset:0;position:fixed;width:100%;height:100dvh;max-width:none;max-height:none;border:0;background:#111a18;color:white}
.photo-viewer::backdrop{background:#0c1312}
.viewer-layout{height:100%;display:flex;flex-direction:column;padding:calc(14px + env(safe-area-inset-top)) 12px calc(16px + env(safe-area-inset-bottom))}
.viewer-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4px 12px;min-height:48px}
.viewer-header span{font-size:14px;font-weight:700;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.viewer-header button{background:#293834;color:#fff;border:0;border-radius:14px;padding:12px 14px;white-space:nowrap}
.viewer-stage{display:flex;align-items:center;justify-content:space-between;flex:1;min-height:0;gap:4px}
.viewer-stage img{width:calc(100% - 96px);height:100%;object-fit:contain;min-width:0;touch-action:pinch-zoom}
.viewer-arrow{flex:0 0 44px;height:64px;border:0;border-radius:14px;background:#293834;color:white;font-size:30px;line-height:1}
.viewer-counter{text-align:center;padding:14px 0;font-size:13px;color:#d5ded9;font-variant-numeric:tabular-nums}
@media(max-width:600px){
 .gallery{margin-bottom:20px}
 .gallery-thumbs{padding-bottom:11px}
 .gallery-stage{height:clamp(260px,67vw,400px);min-height:260px}
 .viewer-stage img{width:calc(100% - 76px)}
 .viewer-arrow{flex-basis:35px;width:35px;height:48px}
 .photo-viewer{border-radius:0}
}
@media(prefers-reduced-motion:reduce){.gallery-thumbs{scroll-behavior:auto}}

/* Context-aware category, make, model, region, year and budget facets */
.categorystrip button small{font-size:10px;font-weight:750;opacity:.72;margin-left:3px;font-variant-numeric:tabular-nums}
.filter-bar select[hidden],.filters-foot button[hidden]{display:none}
.filters-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-10px 0 20px}
.filters-foot span{font-size:11px;line-height:1.45;color:var(--muted)}
.filters-foot button{flex-shrink:0;background:transparent;border:none;padding:6px 0;color:var(--green);font-size:12px;font-weight:750}
.filter-bar select{min-height:43px;text-overflow:ellipsis}
@media(min-width:850px){.filter-bar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.filter-bar{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filters-foot{align-items:flex-start}.filters-foot span{max-width:60%}}

/* iOS/Telegram-safe facet pickers: avoid native <select> menus holding stale options */
.filter-bar .facet{min-width:0}
.filter-bar .facet[hidden]{display:none!important}
.facet-caption{display:block;font-size:11px;font-weight:700;color:var(--muted);padding:0 3px 6px}
.facet-trigger{min-height:47px;min-width:0;width:100%;border:1px solid var(--line);border-radius:14px;background:white;padding:10px 11px;text-align:left;color:#2b3835;font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:7px}
.facet-trigger span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.facet-trigger span:last-child{font-size:20px;color:#567668;line-height:1}
.facet-trigger.chosen{border-color:#91bba6;background:#eff8f2;color:var(--green);font-weight:760}
.facet-trigger:focus-visible,.filter-option:focus-visible{outline:2px solid #52946e;outline-offset:2px}
.filter-dialog{width:min(550px,calc(100% - 24px));max-width:550px;max-height:calc(100dvh - 55px);border:1px solid var(--line);border-radius:22px;background:#f9fbf9;color:var(--ink);padding:18px;box-shadow:0 20px 70px #081f1680;overflow:hidden}
.filter-dialog::backdrop{background:rgba(7,20,17,.6);backdrop-filter:blur(3px)}
.filter-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.filter-dialog-head h2{font-size:21px;line-height:1.25;margin:0;font-weight:820}
.filter-dialog-head button{flex:0 0 37px;height:37px;border:0;border-radius:50%;background:#eaf0eb;color:#243b31;font-size:26px;line-height:1}
.filter-dialog-search{display:flex;gap:8px;align-items:center;background:white;border:1px solid #dfe9e2;border-radius:13px;padding:0 12px;min-height:46px}
.filter-dialog-search span{font-size:22px;color:#6a8276}
.filter-dialog-search input{border:0;outline:none;background:transparent;width:100%;min-width:0;font-size:16px;color:var(--ink);padding:12px 0}
.filter-dialog-hint{min-height:16px;color:var(--muted);font-size:11px;margin:10px 2px}
.filter-dialog-options{max-height:calc(100dvh - 247px);min-height:90px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:6px;padding:2px}
.filter-option{width:100%;padding:14px 13px;border:1px solid #edf0ed;border-radius:13px;background:white;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--ink);font-size:14px}
.filter-option.selected{border-color:var(--green);background:#e8f5eb;color:#075b3e;font-weight:780}
.filter-option small{font-size:12px;white-space:nowrap;background:#f1f4f1;border-radius:9px;padding:5px 7px;color:#557066;font-weight:750}
.filter-option.selected small{background:#d5e8d9}
.filter-option-empty{margin:0;padding:25px 10px;text-align:center;color:var(--muted);font-size:13px}
@media(max-width:600px){
 .filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
 .filter-dialog{padding:16px;width:calc(100% - 20px);border-radius:19px}
 .filter-dialog-options{max-height:calc(100dvh - 210px)}
}

/* Permanent main-category grid: no horizontal scrolling in the Telegram WebView */
.category-heading{font-size:13px;font-weight:850;color:#263c32;margin:20px 0 0}
.categorystrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;overflow:visible;padding:12px 0 3px}
.categorystrip .categorytile{min-width:0;min-height:56px;white-space:normal;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 11px;border-radius:15px;text-align:left}
.categorytile-title{font-weight:730;font-size:12px;line-height:1.25;overflow-wrap:anywhere}
.categorystrip .categorytile small{margin:0;flex-shrink:0;font-size:10px;opacity:.8;font-variant-numeric:tabular-nums}
.categorystrip .categorytile-more{border-style:dashed;color:var(--green);font-weight:760;justify-content:center;font-size:12px}
.categorystrip .categorytile:focus-visible{outline:2px solid #52946e;outline-offset:2px}
.quick{flex-wrap:wrap;overflow:visible}
@media(max-width:750px){.categorystrip{grid-template-columns:repeat(2,minmax(0,1fr))}.categorystrip .categorytile{min-height:60px}}
@media(max-width:375px){.categorystrip .categorytile{padding:11px 9px}.categorytile-title{font-size:11px}}
