/* MOBILDA FINAL AUDIT V4 / home. Scoped overrides; existing catalog logic is untouched. */
:root {--v4-glass:rgba(255,255,255,.82);--v4-outline:rgba(22,33,44,.16);--v4-hero-ink:#f7f8fa;--v4-hero-dim:#c3cbd3;--v4-orange:#f0801a}
[data-theme=dark]{--v4-glass:rgba(26,35,45,.8);--v4-outline:rgba(255,255,255,.13)}
body{background-image:radial-gradient(ellipse at 86% 0%,rgba(240,128,26,.055),transparent 40rem)}
/* A matte header, not a fully transparent one: navigation is readable on photos. */
.top{background:#16212c;background:rgba(22,33,44,.97);border-bottom:1px solid rgba(255,255,255,.1)}
[data-theme=dark] .top{background:rgba(12,18,24,.94)}
@supports (backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px)){
 .top{background:rgba(22,33,44,.84);backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%)}
 [data-theme=dark] .top{background:rgba(12,18,24,.82)}
}
.top .top-in,.top .nav,.top .top-right{min-width:0}
.top .nav a,.top .nav-logout button{white-space:nowrap}
.top .nav-logout button{min-height:44px}
/* Dedicated hero. The copy and the photo are separate, real HTML elements. */
.v4-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;min-height:300px;padding:0;gap:0;border:1px solid #6d4c34;border-radius:20px;background:radial-gradient(ellipse at 82% 55%,#3b2b24 0%,#1a2026 38%,#10161c 74%);box-shadow:0 10px 32px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.05);color:var(--v4-hero-ink)}
.v4-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(145deg,transparent 28%,rgba(255,255,255,.025) 28.2%,rgba(240,128,26,.065) 43%,transparent 62%);pointer-events:none}
.v4-copy{position:relative;min-width:0;z-index:2;padding:clamp(22px,3.8vw,48px) 12px clamp(22px,3.8vw,48px) clamp(22px,3.8vw,48px)}
.v4-eyebrow{display:flex;align-items:center;gap:7px;margin:0 0 13px;color:#edaa71;font-size:12px;letter-spacing:.065em;font-weight:650;text-transform:uppercase}
.v4-eyebrow::before{content:"";display:block;width:17px;height:2px;background:var(--v4-orange);flex:none}
.v4-hero h1{font-size:clamp(29px,3.2vw,47px);line-height:1.10;letter-spacing:-.036em;font-weight:780;margin:0;text-wrap:balance;color:#f5f7fa}
.v4-hero .lead{max-width:48ch;color:var(--v4-hero-dim);font-size:clamp(14px,1.4vw,17px);margin:14px 0 20px;line-height:1.5;text-wrap:initial}
.v4-hero .v4-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:49px;max-width:100%;width:auto;padding:11px 20px;border:1px solid #f59b4c;border-radius:12px;background:linear-gradient(180deg,#fa9634,#ed7716);color:#171410;font-size:15px;line-height:1.25;font-weight:750;box-shadow:0 6px 18px rgba(235,116,22,.15);text-align:center;white-space:normal}
.v4-cta svg{width:18px;height:18px;flex:none;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.v4-art{position:absolute;inset:0 0 0 auto;width:46%;overflow:hidden;z-index:0;pointer-events:none;mask-image:linear-gradient(to right,transparent,#000 10%);-webkit-mask-image:linear-gradient(to right,transparent,#000 10%)}
.v4-art::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 30% 65%,rgba(222,120,54,.22),transparent 60%)}
.v4-car{position:absolute;right:-1px;bottom:-4%;height:111%;aspect-ratio:455/525;max-width:none;filter:drop-shadow(-12px 8px 18px rgba(0,0,0,.35))}
.v4-car img{position:absolute;display:block;inset:0;width:100%;height:100%;object-fit:contain;object-position:bottom right}
.v4-car .v4-led-dim{opacity:0}
.v4-ignite .v4-upper{animation:v4-ignite 1.12s .12s both ease-out}
.v4-ignite .v4-lower{animation:v4-ignite 1.04s .45s both ease-out}
@keyframes v4-ignite{0%{opacity:1}100%{opacity:0}}
.v4-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 48%,rgba(16,22,28,.04) 68%,transparent);pointer-events:none;z-index:1}
/* Four true statistic cells; each number is an indivisible line. */
.catalog-count.v4-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:0;position:relative;overflow-wrap:normal;margin:0;font-size:14px;min-width:0}
.catalog-count.v4-stats .v4-stat{min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:4px;padding:13px 15px;border:1px solid var(--v4-outline);border-radius:13px;background:var(--v4-glass);box-shadow:inset 0 1px 0 rgba(255,255,255,.035);text-align:left;overflow-wrap:normal}
.catalog-count.v4-stats .v4-stat strong{display:block;white-space:nowrap;font-size:clamp(20px,2.4vw,29px);font-weight:760;letter-spacing:-.025em;line-height:1.12;color:var(--ink);font-variant-numeric:tabular-nums}
.catalog-count.v4-stats .v4-stat small{font-size:12px;line-height:1.25;color:var(--muted);max-width:100%;overflow-wrap:break-word}
.catalog-count.v4-stats .v4-new strong{color:var(--good-ink)}
.catalog-count.v4-stats .v4-sold strong{color:#ac452a}
[data-theme=dark] .catalog-count.v4-stats .v4-sold strong{color:#f5a078}
.catalog-count.v4-stats details{position:static;grid-column:1/-1;justify-self:end;margin:-2px 0 0;max-width:100%}
.catalog-count.v4-stats details[open]{width:100%;padding:0 10px 10px;background:var(--card);border-radius:10px;border:1px solid var(--line)}
.catalog-count.v4-stats details summary{margin-left:auto;min-width:44px;min-height:44px;height:44px}
.catalog-count.v4-stats details p{margin:0 0 8px}
/* The catalog retains normal native controls, with a tighter premium visual language. */
.cols,.filters,.results,.results .item,.picwrap,.info,.buy,.filters .two>*,.fdet{min-width:0}
.filters .two{grid-template-columns:repeat(2,minmax(0,1fr))}
.filters,.subbar,.subcard{border-radius:14px}
.subbar{padding:10px 14px;border:1px solid var(--v4-outline);background:var(--v4-glass)}
.v4-sub-icon{width:19px;height:19px;flex:none;fill:none;stroke:var(--hot);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-right:8px}
.results .item{border:1px solid var(--v4-outline);border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.035)}
[data-theme=dark] .results .item{border-color:var(--v4-outline)}
.results .item .picwrap{flex:0 1 270px;min-width:0;align-self:stretch}
.results .item .pic{width:100%;height:auto;aspect-ratio:4/3;min-height:0;flex:none;border-radius:11px}
.results .item .v4-title-row{display:flex;align-items:flex-start;gap:8px;min-width:0}
.results .item .v4-title-row .name{flex:1;min-width:0;overflow-wrap:break-word}
.results .item .v4-title-row .favround,.results .item .v4-title-row .heart-round{position:static;top:auto;right:auto;flex:none;z-index:auto;box-shadow:none}
.results .item .v4-title-row .heart-round{width:44px;height:44px;color:var(--muted);border:1px solid var(--line);border-radius:12px;background:var(--b-bg)}
.results .item .v4-title-row .heart-round.on{color:#dc3545;border-color:#dc3545}
.results .item .v4-title-row .heart-round svg{width:22px;height:22px}
.results .item .price,.results .item .tk strong{white-space:nowrap;max-width:100%;font-variant-numeric:tabular-nums}
.results .item .buy{min-width:0}
.steps,.how ol.steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
@media(max-width:900px){.top .nav{flex-wrap:wrap;overflow:visible;white-space:normal;gap:0 14px}.top .nav a,.top .nav-logout button{padding:8px 0}.v4-hero{min-height:270px}.v4-copy{padding:26px 8px 26px 24px}}
@media(max-width:640px){
 main.wrap{gap:15px;padding-top:16px}
 .v4-hero{grid-template-columns:minmax(0,1fr);min-height:252px;border-radius:16px}
 .v4-copy{width:63%;padding:18px 7px 18px 15px}
 .v4-eyebrow{font-size:10px;letter-spacing:.035em;margin-bottom:10px}
 .v4-eyebrow::before{width:12px}
 .v4-hero h1{font-size:clamp(19px,5.25vw,25px);text-wrap:initial;line-height:1.13;letter-spacing:-.025em}
 .v4-hero .lead{font-size:13px;line-height:1.38;margin:10px 0 15px}
 .v4-hero .v4-cta{font-size:13px;min-height:46px;padding:9px 10px;border-radius:10px;gap:5px}
 .v4-cta svg{width:15px;height:15px}
 .v4-art{width:48%}
 .v4-car{right:auto;left:1%;height:104%;bottom:0}
 .v4-hero::after{background:linear-gradient(90deg,transparent 40%,#10161c45 55%,transparent 77%)}
 .catalog-count.v4-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .catalog-count.v4-stats .v4-stat{padding:10px 11px;min-height:68px}
 .catalog-count.v4-stats .v4-stat strong{font-size:24px}
 .catalog-count.v4-stats .v4-stat small{font-size:12px}
 .catalog-count.v4-stats details{margin:-7px 0 -7px}
 .filters,.results{flex:1 1 100%;width:100%;max-width:100%}
 .cols{gap:13px}
 .results .item .picwrap{flex:1 1 100%;width:100%}
 .results .item .info{flex:1 1 100%}
 .results .item .buy{flex:1 1 100%}
 .subbar{padding:0;border:none;background:transparent}
 .tabbar{background:#101820;border-top:1px solid rgba(255,255,255,.14);padding:5px 2px calc(5px + env(safe-area-inset-bottom))}
 .tabbar .tabitem{margin:0}
 .tabbar .tabitem>summary{min-height:52px;padding:0}
 .tabbar a,.tabbar .tabitem>summary{font-size:10px}
 .tabbar .moremenu a{font-size:14px}
 .top .nav{justify-content:space-between;gap:0 8px;font-size:14px}
 .top .nav a,.top .nav-logout button{min-height:36px;font-size:inherit}
 @supports (backdrop-filter:blur(16px)) or (-webkit-backdrop-filter:blur(16px)){.tabbar{background:rgba(13,20,27,.88);backdrop-filter:blur(16px) saturate(135%);-webkit-backdrop-filter:blur(16px) saturate(135%)}}
}
@media(max-width:350px){.v4-copy{width:65%;padding:16px 6px 16px 12px}.v4-art{width:44%}.v4-hero h1{font-size:19px}.v4-hero .v4-cta{font-size:12px;padding:9px 7px}.v4-cta svg{width:13px}.top .nav{font-size:12.5px;gap:0 7px}.catalog-count.v4-stats .v4-stat strong{font-size:22px}.tabbar a,.tabbar .tabitem>summary{font-size:9.5px}}
@media(prefers-reduced-motion:reduce){.v4-ignite .v4-led-dim{animation:none;opacity:0}}
/* Final compact mobile tuning; CTA remains a single line even at 320px. */
.v4-hero{min-height:290px}
.v4-copy{padding-top:30px;padding-bottom:30px}
.v4-art{background:radial-gradient(ellipse at 34% 64%,#8f471c24,transparent 58%)}
.v4-car{height:132%;bottom:-27%;filter:drop-shadow(-12px 8px 18px rgba(0,0,0,.4));mask-image:linear-gradient(to bottom,#000 0%,#000 65%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 65%,transparent 100%)}
.catalog-count.v4-stats details summary{list-style:none;padding:0;display:grid;place-items:center;min-height:34px;height:34px}
.catalog-count.v4-stats details summary::-webkit-details-marker{display:none}
.catalog-count.v4-stats details summary::marker{content:""}
@media(max-width:640px){
 .v4-hero{min-height:234px}
 .v4-copy{position:static;width:62%;padding-top:18px;padding-bottom:76px}
 .v4-hero .v4-cta{position:absolute;left:14px;right:14px;bottom:13px;width:auto;z-index:3;white-space:nowrap;font-size:14px;min-height:46px}
 .v4-art{bottom:51px;width:48%}
 .v4-car{height:129%;bottom:-27%;left:0}
 .v4-eyebrow{display:none}
 .v4-hero .lead{margin-bottom:0}
 .catalog-count.v4-stats .v4-stat{min-height:62px}
 .catalog-count.v4-stats details{margin:-7px 0 -7px}
}
@media(max-width:350px){.v4-copy{width:63%;padding-left:12px;padding-bottom:76px}.v4-hero .v4-cta{left:12px;right:12px;font-size:13px}.v4-art{width:45%}}

/* V4 approved direction: graphite, glass and full-width results. */
[data-theme=dark]{--bg:#0b1118;--card:#15202a;--v4-glass:rgba(23,33,43,.86)}
.v4-accent{color:#ff9638}
.v4-how-link{display:inline-flex;align-items:center;min-height:44px;margin-left:12px;padding:0 12px;color:#f5f7fa;border:1px solid #77808a;border-radius:10px;text-decoration:none;font-size:14px;vertical-align:middle}
.v4-results .tk strong{color:#b34e00}
[data-theme=dark] .v4-results .tk strong{color:#ff912d}
.v4-layout{display:none}
.v4-layout button{border:1px solid var(--v4-outline);border-radius:8px;background:var(--card);color:var(--ink);font:inherit;width:44px;height:44px;cursor:pointer}
.v4-layout button[aria-pressed=true]{background:#e87717;color:#171410;border-color:#e87717}
.v4-results .item{background:var(--card)}
[data-theme=dark] .v4-results .item{background:linear-gradient(145deg,#202b35,#131c24 60%)}
@media(min-width:1000px){
 .cols{display:flex;flex-direction:column;align-items:stretch}
 .cols>.filters{width:100%;max-width:none;flex:none;background:var(--v4-glass);padding:16px}
 .cols>.filters #ff{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px}
 .cols>.filters #ff>.more{grid-column:1/-1}
 .cols>.results{width:100%;flex:none}
 .v4-results[data-layout=grid]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
 .v4-results[data-layout=grid]>:not(article.item){grid-column:1/-1}
 .v4-results[data-layout=grid]>.item{display:flex;flex-direction:column;min-width:0;padding:10px;gap:10px}
 .v4-results[data-layout=grid]>.item>.picwrap,.v4-results[data-layout=grid]>.item>.info,.v4-results[data-layout=grid]>.item>.buy{width:100%;flex:none;min-width:0}
 .v4-results[data-layout=grid]>.item>.buy{margin-top:auto}
 .v4-results[data-layout=grid] .item .pic{aspect-ratio:4/3}
 .v4-results[data-layout=grid] .item .tk strong{font-size:clamp(18px,2vw,25px)}
 .v4-layout:not([hidden]){display:flex;gap:5px;margin-right:auto}
}
@media(max-width:999px){.v4-how-link{margin-left:0;margin-top:8px}}
@media(max-width:640px){.v4-how-link{display:none}.v4-results .item .tk strong{font-size:clamp(19px,6vw,27px)}.v4-results .item .name{font-size:17px}.v4-results .item .picwrap{flex:none}.v4-results .item .pic{object-fit:contain}}
@supports (backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px)){
 .v4-stats .v4-stat,.cols>.filters,.subbar{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
}

/* PREMIUM V4 R3 — home navigation, catalog cards, true price events. */
.v4-home-section,.v4-section-head,.v4-brands,.v4-offer-tabs{min-width:0;width:100%}
.v4-home-section{display:flex;flex-direction:column;gap:12px}
.v4-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px 14px;flex-wrap:wrap}
.v4-section-head h2{margin:0;font-size:clamp(20px,2.1vw,25px);letter-spacing:-.02em}
.v4-section-head a{color:var(--ink);font-size:13px;text-decoration:underline;text-underline-offset:4px}
.v4-home-section>p{margin:0}
.v4-brands{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.v4-brands a{display:flex;min-width:0;min-height:74px;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px;border:1px solid var(--v4-outline);border-radius:12px;background:var(--v4-glass);color:var(--ink);text-decoration:none;text-align:center;box-shadow:inset 0 1px 0 #ffffff0c}
.v4-brands a:hover,.v4-brands a:focus-visible{border-color:#f0801a}
.v4-brands b{font-size:15px;overflow-wrap:anywhere;line-height:1.2}
.v4-brands span{font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--muted)}
.v4-brands em{font-style:normal;color:var(--good-ink);font-weight:700}
.v4-offer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:4px;border:1px solid var(--v4-outline);border-radius:12px;background:var(--card)}
.v4-offer-tabs a{min-width:0;display:flex;align-items:center;justify-content:center;min-height:44px;padding:5px;text-align:center;font-size:13px;line-height:1.2;font-weight:650;color:var(--ink);text-decoration:none;border-radius:8px}
.v4-offer-tabs a[aria-current=page]{background:#ef851e;color:#171410}
.v4-main-price{width:100%;margin:0 0 7px;gap:4px}
.v4-main-price strong{color:#a44900!important;white-space:normal!important;overflow-wrap:normal;line-height:1.2}
[data-theme=dark] .v4-main-price strong{color:#ff9739!important}
.v4-main-price del{color:var(--muted);font-size:14px;white-space:nowrap}
.v4-saving{font-size:13px;font-weight:700;color:var(--good-ink);background:var(--good-bg);border-radius:7px;padding:5px 8px;max-width:100%;line-height:1.3}
.v4-results .buy>.price{font-size:17px;font-weight:650;color:var(--muted)}
.v4-results .buy>.row .btn{background:var(--hot,#f0801a);color:#171410;font-weight:700;width:100%}
.v4-results .buy>.row{width:100%}
.v4-results .item .pic{overflow:hidden;background:var(--pic)}
.v4-results .item .pic img{object-fit:contain;display:block;width:100%;height:100%}
.v4-results .v4-title-row .name{line-height:1.3;font-size:17px}
.v4-partners{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 20px;min-height:72px;border:1px solid var(--v4-outline);border-radius:16px;background:var(--v4-glass);padding:14px;font-weight:700}
.v4-eu{background:#173d85;color:#ffdd56;padding:6px 12px;border-radius:8px;white-space:nowrap}
.v4-mobile-word{font-family:Arial,sans-serif;background:#fff;color:#111;padding:6px;border-radius:5px;white-space:nowrap}
.v4-mobile-word span{color:#b75000}
.v4-scout-word{background:#ffdf36;color:#111;padding:6px;border-radius:5px;white-space:nowrap}
.v4-autovoz-word{color:var(--ink);font-style:italic;letter-spacing:.03em;text-decoration:none;border-left:1px solid var(--v4-outline);padding-left:20px}
@media(min-width:1000px){
 .cols>.filters #ff{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
 .cols>.filters #ff>.v4-offer-tabs{grid-column:1/-1}
 .cols>.filters #ff>.more{grid-column:1/4;align-self:center;grid-row:auto}
 .cols>.filters #ff>.btn.wide{grid-column:4;align-self:stretch}
 .cols>.filters #ff>.reset{grid-column:1/-1;justify-self:end}
 .cols>.filters #ff .morein{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
 .cols>.filters #ff .morein>.opts,.cols>.filters #ff .morein>.muted{grid-column:1/-1}
 .cols>.filters #ff input[type=hidden]{display:none}
 .v4-featured{width:100%;flex:none}
 .v4-brands{grid-template-columns:repeat(10,minmax(0,1fr))}
 .v4-brands b{font-size:13px}
}
@media(min-width:641px) and (max-width:999px){.cols{display:flex;flex-direction:column;align-items:stretch}.cols>.filters{width:100%;max-width:none;flex:none}.cols>.results{width:100%;flex:none}.v4-brands{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:640px){.v4-brands{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.v4-brands a{padding:7px 3px;min-height:66px}.v4-brands b{font-size:11px}.v4-brands span{font-size:11px}.v4-offer-tabs a{font-size:11px}.v4-partners{gap:9px;font-size:13px}.v4-autovoz-word{padding-left:8px}.v4-featured{display:flex;flex-direction:column}.v4-main-price strong{font-size:clamp(20px,6vw,27px)!important}.v4-results .item .picwrap{width:100%}.v4-section-head h2{font-size:20px}.v4-section-head a{font-size:12px}.v4-rub>*{min-width:0}.v4-rub input{min-width:0;width:100%}}
@media(max-width:350px){.v4-brands{grid-template-columns:repeat(3,minmax(0,1fr))}.v4-offer-tabs a{padding:3px}.v4-autovoz-word{border-left:0;padding:4px}}

.v4-benefits{display:flex;flex-wrap:wrap;gap:7px 12px;margin:0 0 18px;font-size:12px;color:#d9dfe5;max-width:530px}.v4-benefits span{display:inline-flex;align-items:center;gap:6px}.v4-benefits span::before{content:"✓";color:#ffad5c;font-weight:800}.v4-hero{min-height:320px}.v4-hero .v4-copy{max-width:100%}.v4-copy .lead{max-width:42ch}.v4-rub label{min-width:0}.v4-rub input{min-width:0}.v4-results .item .v4-main-price strong{overflow-wrap:normal;word-break:normal}.v4-featured .item .v4-main-price strong{font-variant-numeric:tabular-nums}@media(max-width:640px){.v4-benefits{display:none}.v4-hero{min-height:234px}}

/* PREMIUM V4 DETAIL R1 */
.vehicle-heading{display:flex;align-items:flex-start;gap:12px;flex-wrap:wrap;margin:18px 0}.vehicle-heading h1{flex:1 1 270px;min-width:0;font-size:clamp(22px,2.4vw,36px);line-height:1.16;overflow-wrap:anywhere;margin:0}.vehicle-heading .platform-badge{flex:none}
.cardtop.v4-detail{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:20px;align-items:start}.v4-detail .gal,.v4-detail .key{min-width:0;max-width:100%;display:flex;flex-direction:column;gap:12px}.v4-detail .key,.v4-price-history,.v4-detail~.box,.v4-detail~.cardmid .box{border-radius:18px;border:1px solid var(--line);box-shadow:0 12px 30px #0000000c}.v4-detail .mainpic{aspect-ratio:4/3;position:relative;border-radius:16px;background:var(--pic)}.v4-detail .mainpic img{object-fit:contain}.v4-detail .thumbs{width:100%;min-width:0;max-width:100%;overflow-x:auto}.v4-detail .th{flex:0 0 92px}.v4-detail .grid6{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v4-detail .grid6>div{min-width:0;padding:12px;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow-wrap:anywhere}.v4-detail .turnkey{border-radius:14px;padding:14px;min-width:0}.v4-detail .turnkey strong{color:#e77b18;font-size:clamp(24px,3vw,36px);white-space:nowrap;letter-spacing:-.04em}.v4-previous{color:var(--muted);font-size:17px;font-variant-numeric:tabular-nums}.v4-saving{color:#078347;font-weight:700;overflow-wrap:anywhere}[data-theme=dark] .v4-saving{color:#7be3a5}.v4-first-reduction{position:absolute;top:12px;left:12px;z-index:2;background:#143a2ee8;backdrop-filter:blur(12px);color:#dcffeb;border:1px solid #68c895;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:700;max-width:calc(100% - 65px);white-space:normal;pointer-events:none}.v4-delivery{display:grid;gap:5px;border-top:1px solid var(--line);padding-top:12px}.v4-delivery small{color:var(--muted)}.v4-pdf-panel{padding:16px;border:1px solid var(--line);border-radius:15px;background:var(--card);scroll-margin-top:100px;min-width:0}.v4-pdf-panel h2{font-size:17px;margin:0 0 6px}.v4-pdf-panel .sh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.v4-pdf-panel .sh,.v4-pdf-panel .sh-form{min-width:0;max-width:100%;white-space:normal}.v4-pdf-lock{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.v4-pdf-lock span{border:1px solid var(--line);border-radius:9px;padding:8px 4px;font-size:12px;text-align:center;color:var(--muted)}.v4-pdf-lock span:before{content:'\1F512';display:block;font-size:14px;margin-bottom:4px}.v4-history-values{display:flex;gap:12px;flex-wrap:wrap;align-items:center;font-variant-numeric:tabular-nums}.v4-history-values strong{font-size:22px;color:#e77b18}.v4-history-values del{color:var(--muted)}
@media(max-width:850px){.cardtop.v4-detail{grid-template-columns:minmax(0,1fr);gap:12px}.cardtop.v4-detail .gal{display:flex;flex-direction:column;min-width:0}.cardtop.v4-detail .key{order:initial;min-width:0}.cardtop.v4-detail .gal .grid6{order:initial;margin-top:0}.v4-detail .key{padding:14px}.v4-detail .grid6>div{padding:9px}.v4-detail .turnkey strong{font-size:clamp(22px,7vw,32px)}.v4-pdf-panel{padding:12px}.v4-pdf-panel .sh-grid{gap:4px}.v4-pdf-panel .sh{padding:6px 3px;font-size:12px}.v4-first-reduction{font-size:11px;top:8px;left:8px}.v4-detail .th{flex-basis:72px}}

/* FINAL DESIGN: preserve photo area, price evidence and narrow-screen layout. */
.v4-results .item .picwrap{position:relative;min-width:0}
.v4-results .item .pic{position:relative;min-width:0}
.v4-results .item .v4-title-row .favround,.v4-results .item .v4-title-row>a.heart-round{position:static!important;inset:auto!important;margin:0;flex:0 0 44px;align-self:flex-start;z-index:auto}
.v4-results .item .v4-title-row .heart-round{position:static!important;inset:auto!important;flex:none;box-shadow:none}
.v4-list-reduction{position:absolute;top:8px;left:8px;max-width:calc(100% - 16px);padding:5px 9px;border-radius:8px;background:#143a2ee8;color:#dcffeb;border:1px solid #68c895;font-size:12px;font-weight:700;line-height:1.2;pointer-events:none}
.v4-price-timeline{display:grid;gap:0;min-width:0}
.v4-price-event{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0;border-top:1px solid var(--line);font-size:14px;min-width:0}
.v4-price-event small,.v4-price-event del,.v4-price-event strong{display:block;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.v4-price-event small,.v4-price-event del{color:var(--muted)}
.v4-price-event strong{color:var(--ink)}
.v4-detail .turnkey strong,.v4-results .item .v4-main-price strong{white-space:normal!important;overflow-wrap:anywhere;min-width:0}
@media(max-width:480px){.v4-price-event{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px}.v4-price-event>span:last-child{grid-column:1/-1;justify-self:start}}

/* LIVE2 STAGE5: natural single-column/list flow; align only measured multi-card rows. */
.v4-results .item .v4-align-empty {display:none!important}
.v4-results[data-layout="grid"] > .item.v4-row-aligned {display:flex;flex-direction:column;align-items:stretch;min-width:0}
.v4-results[data-layout="grid"] > .item.v4-row-aligned > .picwrap,
.v4-results[data-layout="grid"] > .item.v4-row-aligned > .info {flex:0 0 auto;width:auto;min-width:0;align-self:stretch;margin-top:0;margin-bottom:0}
.v4-results[data-layout="grid"] > .item.v4-row-aligned > .buy {display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex:1 1 auto;width:auto;min-width:0;align-self:stretch;margin:0;gap:6px}
.v4-results[data-layout="grid"] > .item.v4-row-aligned .v4-main-price {display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;flex:none;gap:4px;margin:0 0 7px}
.v4-results[data-layout="grid"] > .item.v4-row-aligned [data-v4-align] {box-sizing:border-box;min-height:var(--v4-align-height,0px)}
.v4-results[data-layout="grid"] > .item.v4-row-aligned .buy [data-v4-align] {flex:none;margin:0;min-width:0;overflow-wrap:anywhere;white-space:normal}
.v4-results[data-layout="grid"] > .item.v4-row-aligned .v4-align-empty.v4-align-needed {display:block!important;visibility:hidden;padding:0;border:0}
.v4-results[data-layout="grid"] > .item.v4-row-aligned .buy > .row {margin-top:auto;flex:none}

/* LIVE2 STAGE5B: customs savings note, restrained gold outline. */
.v4-results .item .buy .hint[data-v4-align="hint"] {
  box-sizing:border-box; border:1px solid #bc8a43; border-radius:8px;
  padding:7px 9px; background:#fff6e5; color:#704613;
  font-weight:550; line-height:1.4; overflow-wrap:anywhere;
}
[data-theme=dark] .v4-results .item .buy .hint[data-v4-align="hint"] {
  border-color:rgba(232,169,73,.66); background:#352a19; color:#f2d39b;
}
