/* Satomina UI refresh (dev only): presentation layer; CMS/data contracts unchanged. */
:root{--ui-ink:#201f1f;--ui-muted:#626061;--ui-paper:#f3f0f0;--ui-white:#fff;--ui-blush:#dba9a8;--ui-red:#bd5b5c;--ui-border:rgba(36,34,34,.12);--ui-shadow:0 18px 45px rgba(36,34,34,.10)}
html{scroll-behavior:smooth}body{background:var(--ui-paper);color:var(--ui-ink)}
#hd{position:sticky;top:0;z-index:100;background:rgba(242,239,239,.94);border-bottom:1px solid var(--ui-border);backdrop-filter:blur(14px)}#d1{min-height:82px}#i20{height:58px;width:auto}#n1{gap:3px}.a1{color:var(--ui-ink);font-size:14px;letter-spacing:.01em;border-radius:999px;transition:.2s ease}.a1:hover{color:var(--ui-red);background:rgba(189,91,92,.10)}#d3{border-right-color:var(--ui-border);margin-left:18px}#d5>a[href="login.php"],.user-name{background:var(--ui-ink)!important;border-radius:999px!important;padding:9px 18px!important;font-size:13px}.i2{width:21px;opacity:.72;transition:.2s ease}.i2:hover{opacity:1;transform:scale(1.08)}
.w{width:min(1200px,calc(100% - 48px))}.h1,.h2{color:var(--ui-ink);letter-spacing:-.035em}.h1{font-size:clamp(38px,5vw,72px);line-height:1.04}.h2{font-size:clamp(28px,3vw,42px)}p,.zcp1{color:var(--ui-muted);line-height:1.7}.zca1{background:var(--ui-red);border-radius:999px;padding:14px 26px;font-size:14px;letter-spacing:.02em}.zca1:hover{background:var(--ui-ink);transform:translateY(-3px)}
.z1p1{margin:0 0 72px}.z1d1{min-height:570px;padding:72px 38px;border-radius:0 0 34px 34px;overflow:hidden;background:linear-gradient(115deg,rgba(242,239,239,.98) 0%,rgba(242,239,239,.84) 52%,rgba(214,169,168,.25) 100%)}#z1i1{width:min(58%,720px);max-height:560px;object-fit:cover;border-radius:28px 0 0 28px}.z1d2{width:48%;position:relative;z-index:2}.z2d3,.x1d3{border:1px solid var(--ui-border);border-radius:20px;background:var(--ui-white);box-shadow:0 8px 24px rgba(36,34,34,.05)}.z2d3:hover,.x1d3:hover{box-shadow:var(--ui-shadow);border-color:rgba(189,91,92,.35)}.z2i2{border-radius:14px}.z2hhh1{color:var(--ui-ink);font-size:18px;letter-spacing:.02em}
#se2,#se4,#se5,.faq{padding-top:84px}#se3{padding:84px 0}.z3d2{min-height:560px;height:auto;border-radius:24px;overflow:hidden;box-shadow:var(--ui-shadow)}#z3d4{background-color:var(--ui-ink)}.z3a1{background:var(--ui-white);color:var(--ui-ink)}.z3a1:hover{background:var(--ui-blush);color:var(--ui-ink)}.x1d3{overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}.x1d3:hover{transform:translateY(-7px)}.x1image-wrapper,.x1card-media{background:#ebe7e7}.x1s2,.x1card-title{color:var(--ui-ink)}#se6{margin-top:92px}#z6d2,#z6d4{border-radius:24px;border:1px solid var(--ui-border);box-shadow:var(--ui-shadow)}#z6d2{background:var(--ui-ink)}#z6d4{background:var(--ui-blush)}.faq-item{border-color:var(--ui-border);background:rgba(255,255,255,.58);border-radius:14px;margin-bottom:10px}.faq-question{color:var(--ui-ink)}
@media(max-width:900px){.w{width:min(100% - 30px,700px)}#d1{min-height:70px}#i20{height:48px}.z1d1{min-height:0;padding:48px 22px}.z1d2{width:100%}#z1i1{position:relative;width:100%;max-height:360px;margin-top:34px;border-radius:22px}.z3d2{width:100%;min-height:430px;margin-bottom:18px}#z3d1{display:block}}@media(max-width:600px){.w{width:calc(100% - 24px)}.h1{font-size:40px}.h2{font-size:30px}#se2,#se4,#se5,.faq{padding-top:58px}#se6{margin-top:58px}}
/* Reference homepage pass: white/red vehicle marketplace layout */
:root{--ui-ink:#171717;--ui-muted:#5f6368;--ui-paper:#f7f7f7;--ui-white:#fff;--ui-blush:#fff1f1;--ui-red:#d71920;--ui-border:#e5e7eb;--ui-shadow:0 8px 22px rgba(0,0,0,.08)}
body{background:#fff;color:var(--ui-ink)}#hd{background:#fff;border-bottom:1px solid #ececec;backdrop-filter:none}#d1{min-height:72px}#i20{height:52px}.a1{font-size:12px;color:#232323;padding:9px 12px}.a1:hover{background:#fff1f1;color:var(--ui-red)}#d5>a[href="login.php"],.user-name{background:var(--ui-red)!important;padding:8px 14px!important}.w{width:min(1240px,calc(100% - 42px))}.h1{font-size:clamp(34px,4.3vw,60px);line-height:1.02}.h2{font-size:28px}.zca1{background:var(--ui-red);border-radius:4px;padding:11px 18px;font-size:12px}.zca1:hover{background:#a91016}
.z1p1{font-size:13px;line-height:1.5;margin:12px 0 18px}.z1d1{min-height:430px;padding:55px 40px;border-radius:0;max-width:none;width:100%;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.88) 39%,rgba(255,255,255,.05) 72%),url("../img/sato_car.webp") center/cover no-repeat}.z1d2{width:53%}#z1i1{display:none}.hero-search{display:flex;flex-wrap:wrap;gap:7px;background:rgba(255,255,255,.95);padding:8px;border-radius:4px;box-shadow:0 4px 15px rgba(0,0,0,.12);max-width:610px}.hero-search select,.hero-search-submit{height:36px;border:1px solid #ddd;background:#fff;padding:0 11px;font-size:11px;color:#333}.hero-search select{flex:1;min-width:110px}.hero-search-submit{background:var(--ui-red);border-color:var(--ui-red);color:#fff;font-weight:600;cursor:pointer}.trust-strip{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;padding:22px 0;border-bottom:1px solid #eee}.trust-strip div{padding:3px 12px;border-right:1px solid #eee}.trust-strip div:last-child{border:0}.trust-strip strong{display:block;font-size:11px}.trust-strip span{display:block;color:#777;font-size:10px;margin-top:4px}.z2d3,.x1d3{border:1px solid #e2e2e2;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.04)}.z2d3:hover,.x1d3:hover{box-shadow:0 8px 20px rgba(0,0,0,.1);border-color:#f0a0a2}.z2hhh1{font-size:14px}.z3d2{border-radius:6px;min-height:430px}.x1d3{overflow:hidden}.x1image-wrapper,.x1card-media{background:#f3f3f3}.faq-item{border-radius:5px;background:#fff}.faq-question{color:#222}
@media(max-width:900px){.z1d1{padding:42px 24px;min-height:520px;background:linear-gradient(90deg,rgba(255,255,255,.96),rgba(255,255,255,.68)),url("../img/sato_car.webp") center/cover}.z1d2{width:100%}.hero-search{max-width:100%}.trust-strip{grid-template-columns:repeat(2,1fr)}.trust-strip div:nth-child(2n){border:0}}
@media(max-width:600px){.w{width:calc(100% - 24px)}.z1d1{padding:34px 16px}.trust-strip{grid-template-columns:1fr 1fr;gap:8px}.trust-strip div{padding:4px 8px}.hero-search select{min-width:90px}.hero-search-submit{width:100%}}
.mobile-bottom-nav{display:none}
@media(max-width:600px){body{padding-bottom:64px}#d1{min-height:58px}.z1d1{min-height:0;padding:22px 14px 18px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.58)),url("../img/sato_car.webp") center/cover}.z1h1{font-size:29px!important;line-height:1.08}.z1p1{font-size:11px;margin:8px 0 12px}.hero-search{display:grid;grid-template-columns:1fr;padding:7px;gap:6px}.hero-search select,.hero-search-submit{width:100%;height:34px;font-size:11px}.trust-strip{padding:14px 0;grid-template-columns:repeat(2,1fr);gap:0}.trust-strip div{border-bottom:1px solid #eee;border-right:1px solid #eee;padding:9px 8px}.trust-strip div:nth-child(2n){border-right:0}.trust-strip strong{font-size:9px}.trust-strip span{font-size:8px}.x1d3{border-radius:4px}.x1card-title{font-size:12px}.x1card-price{font-size:12px}.mobile-bottom-nav{position:fixed;display:flex;left:0;right:0;bottom:0;height:58px;background:#fff;border-top:1px solid #ddd;z-index:999;justify-content:space-around;box-shadow:0 -4px 15px rgba(0,0,0,.08)}.mobile-bottom-nav a{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:2px;color:#555;font-size:9px;text-decoration:none}.mobile-bottom-nav a span{font-size:18px;line-height:18px}.mobile-bottom-nav a.is-active,.mobile-bottom-nav a:hover{color:var(--ui-red);font-weight:600}}
/* Premium modern direction */
:root{--ui-ink:#101827;--ui-muted:#667085;--ui-paper:#f5f7fb;--ui-white:#fff;--ui-red:#e11d48;--ui-blush:#fff1f2;--ui-border:#e7eaf0;--ui-shadow:0 16px 40px rgba(16,24,39,.10)}
body{background:var(--ui-paper);color:var(--ui-ink);font-family:var(--font1)}#hd{background:rgba(255,255,255,.86);border-bottom:1px solid rgba(16,24,39,.08);box-shadow:0 5px 20px rgba(16,24,39,.04);backdrop-filter:blur(18px)}#d1{min-height:78px}#i20{height:55px}.a1{font-weight:600;font-size:12px;color:#344054;padding:10px 12px}.a1:hover{color:var(--ui-red);background:var(--ui-blush)}#d5>a[href="login.php"],.user-name{background:var(--ui-ink)!important;border-radius:10px!important;padding:10px 16px!important}.w{width:min(1240px,calc(100% - 48px))}.h1,.h2{color:var(--ui-ink);letter-spacing:-.045em}.h1{font-size:clamp(40px,5vw,76px);font-weight:800;line-height:.98}.h2{font-size:clamp(28px,3.5vw,46px);font-weight:750}p,.zcp1{color:var(--ui-muted);line-height:1.7}.zca1{background:var(--ui-red);border-radius:10px;padding:14px 22px;font-weight:700;box-shadow:0 10px 20px rgba(225,29,72,.2)}.zca1:hover{background:#be123c;box-shadow:0 14px 24px rgba(225,29,72,.28);transform:translateY(-3px)}
.z1d1{min-height:570px;padding:78px 58px;border-radius:0 0 32px 32px;overflow:hidden;background:linear-gradient(100deg,#0b1220 0%,rgba(11,18,32,.94) 42%,rgba(11,18,32,.20) 77%),url("../img/sato_car.webp") 68% center/cover no-repeat;box-shadow:0 24px 60px rgba(16,24,39,.18)}.z1d2{width:52%;position:relative;z-index:2}.z1h1{color:#fff!important}.z1p1{color:rgba(255,255,255,.72);font-size:15px;max-width:520px}.hero-search{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);backdrop-filter:blur(12px);border-radius:14px;padding:10px;max-width:640px}.hero-search select{background:rgba(255,255,255,.96);border-radius:8px;border:0}.hero-search-submit{border-radius:8px;background:var(--ui-red);font-weight:700}.trust-strip{position:relative;margin-top:-28px;background:#fff;border:1px solid var(--ui-border);border-radius:18px;box-shadow:var(--ui-shadow);padding:20px;z-index:3}.trust-strip div{border-right:1px solid #edf0f4}.trust-strip strong{color:var(--ui-ink);font-size:12px}.trust-strip span{font-size:10px;color:var(--ui-muted)}
#se2,#se4,#se5,.faq{padding-top:92px}.z2d3,.x1d3{border:1px solid var(--ui-border);border-radius:18px;background:#fff;box-shadow:0 6px 20px rgba(16,24,39,.05);transition:transform .25s ease,box-shadow .25s ease}.z2d3:hover,.x1d3:hover{border-color:rgba(225,29,72,.25);box-shadow:var(--ui-shadow);transform:translateY(-7px)}.z2i2{border-radius:12px}.z2hhh1{font-size:16px;color:var(--ui-ink);font-weight:700}.z3d2{border-radius:22px;box-shadow:var(--ui-shadow)}.x1image-wrapper,.x1card-media{background:#eef1f6}.x1d3{overflow:hidden}.x1s2,.x1card-title{font-weight:700;color:var(--ui-ink)}#z6d2,#z6d4{border-radius:22px;box-shadow:var(--ui-shadow)}#z6d2{background:var(--ui-ink)}#z6d4{background:#fff1f2}.faq-item{border:1px solid var(--ui-border);border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(16,24,39,.04)}footer{margin-top:80px}.mobile-bottom-nav{background:rgba(255,255,255,.96);backdrop-filter:blur(14px)}
@media(max-width:900px){.w{width:calc(100% - 30px)}.z1d1{min-height:580px;padding:54px 24px;border-radius:0 0 24px 24px;background:linear-gradient(180deg,#0b1220 0%,rgba(11,18,32,.84) 45%,rgba(11,18,32,.18) 100%),url("../img/sato_car.webp") center/cover}.z1d2{width:100%}.z1h1{font-size:44px!important}.trust-strip{margin-top:-20px;padding:14px;border-radius:14px}}
@media(max-width:600px){.w{width:calc(100% - 24px)}#d1{min-height:62px}.z1d1{min-height:600px;padding:36px 18px 24px}.z1h1{font-size:35px!important}.z1p1{font-size:12px}.trust-strip{grid-template-columns:repeat(2,1fr);margin-top:-14px;padding:10px}.trust-strip div{padding:8px 6px}.trust-strip strong{font-size:9px}.trust-strip span{font-size:8px}.h2{font-size:28px}}
/* Full homepage composition */
.modern-home{overflow:hidden;background:var(--ui-paper)}.modern-home>section{position:relative}.modern-home #se2,.modern-home #se4,.modern-home #se5,.modern-home #se7,.modern-home .faq{background:#fff;border-top:1px solid #edf0f4}.modern-home #se2{padding-bottom:78px}.modern-home #se4{padding-bottom:88px}.modern-home #se5{padding-bottom:88px}.modern-home #se2 .slider-component,.modern-home #se4 .slider-component{position:relative}.modern-home #se2 .z2d4,.modern-home #se4 .z4d1{margin-bottom:22px}.modern-home #se2 .slider-track,.modern-home #se4 .slider-track{padding:4px 2px 18px}.modern-home #se3{background:var(--ui-paper)}.modern-home #se3 #z3d1{gap:22px}.modern-home #se3 .z3d2{box-shadow:none;border:1px solid var(--ui-border)}.modern-home #se5{background:var(--ui-paper)}.modern-home #se5 .z5-wrapper{padding:36px 0}.modern-home #se6{padding:88px 0;background:var(--ui-paper)}.modern-home #z6d1{gap:22px}.modern-home #z6d2,.modern-home #z6d4{min-height:270px;padding:38px}.modern-home #se7{padding:72px 0;background:#fff}.modern-home #se7 .w{overflow:hidden}.modern-home .faq{padding-bottom:100px}.modern-home .faq-title{font-size:clamp(30px,4vw,46px);color:var(--ui-ink);letter-spacing:-.04em}.modern-home .faq-items{max-width:860px;margin:28px auto 0}.modern-home .faq-answer{color:var(--ui-muted);line-height:1.7}.modern-home .whatsapp-float{z-index:1000}
@media(max-width:900px){.modern-home #se3 #z3d1{display:block}.modern-home #se3 .z3d2{min-height:410px}.modern-home #z6d1{display:block}.modern-home #z6d2,.modern-home #z6d4{min-height:0;margin-bottom:16px}.modern-home #se6{padding:58px 0}.modern-home #se7{padding:54px 0}.modern-home .faq{padding-bottom:75px}}
@media(max-width:600px){.modern-home #se2,.modern-home #se4,.modern-home #se5{padding-top:58px;padding-bottom:58px}.modern-home #se2 .z2d4,.modern-home #se4 .z4d1{align-items:flex-end}.modern-home #se2 .z2d4 h2,.modern-home #se4 .z4d1 h2{font-size:25px}.modern-home #se3{padding:58px 0}.modern-home #se5 .z5-wrapper{padding:0}.modern-home #z6d2,.modern-home #z6d4{padding:25px}.modern-home .faq{padding-top:58px}.modern-home .faq-title{font-size:30px}}
.hero-request-link{display:inline-flex;align-items:center;margin-left:10px;color:#fff;font-size:13px;font-weight:700;text-decoration:none;border:1px solid rgba(255,255,255,.45);border-radius:10px;padding:13px 18px;transition:.2s}.hero-request-link:hover{background:rgba(255,255,255,.14);color:#fff}@media(max-width:600px){.hero-request-link{margin:8px 0 0;width:100%;justify-content:center}}
/* Final reference direction: light Japanese vehicle marketplace */
:root{--ui-ink:#171717;--ui-muted:#62676d;--ui-paper:#f7f7f7;--ui-white:#fff;--ui-red:#d71920;--ui-blush:#fff3f3;--ui-border:#e4e4e4;--ui-shadow:0 5px 18px rgba(0,0,0,.08)}
body{background:#fff;color:var(--ui-ink)}#hd{background:#fff;box-shadow:0 1px 8px rgba(0,0,0,.08);border-bottom:1px solid #eee}#d1{min-height:70px}#i20{height:50px}.a1{font-size:11px;color:#252525;padding:8px 11px;border-radius:0}.a1:hover{background:transparent;color:var(--ui-red)}#d5>a[href="login.php"],.user-name{background:var(--ui-red)!important;border-radius:3px!important;padding:7px 12px!important;font-size:10px}.w{width:min(1200px,calc(100% - 36px))}.h1{font-size:clamp(35px,4.2vw,58px);font-weight:700;line-height:1.03;color:#171717!important}.h2{font-size:26px;font-weight:700}.p,.zcp1{color:#62676d}.zca1{background:var(--ui-red);border-radius:3px;padding:10px 16px;font-size:11px;box-shadow:none}.zca1:hover{background:#a9151a;box-shadow:none}.hero-request-link{color:#333;border:1px solid #aaa;border-radius:3px;padding:9px 14px;font-size:11px}.hero-request-link:hover{color:var(--ui-red);background:#fff;border-color:var(--ui-red)}
.modern-home{background:#fff}.modern-home .z1d1{min-height:390px;padding:48px 32px;border-radius:0;box-shadow:none;background:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.90) 38%,rgba(255,255,255,0) 74%),url("../img/sato_car.webp") 64% center/cover no-repeat}.modern-home .z1d2{width:51%}.modern-home .z1p1{font-size:12px;line-height:1.5;max-width:430px}.modern-home .hero-search{background:#fff;border:1px solid #ddd;border-radius:3px;box-shadow:0 3px 12px rgba(0,0,0,.14);padding:6px;max-width:600px}.modern-home .hero-search select{height:32px;border:0;border-right:1px solid #ddd;border-radius:0;font-size:10px}.modern-home .hero-search-submit{height:32px;border:0;border-radius:3px;background:var(--ui-red);font-size:10px}.modern-home .trust-strip{margin-top:-1px;border-radius:0;border-left:0;border-right:0;box-shadow:none;padding:18px 0;grid-template-columns:repeat(5,1fr)}.modern-home .trust-strip div{padding:2px 14px}.modern-home #se2,.modern-home #se4,.modern-home #se5,.modern-home #se7,.modern-home .faq{background:#fff;border-top:0;padding-top:54px}.modern-home #se2,.modern-home #se4{padding-bottom:54px}.modern-home .z2d3,.modern-home .x1d3{border-radius:3px;box-shadow:0 2px 8px rgba(0,0,0,.07);border:1px solid #e2e2e2}.modern-home .z2d3:hover,.modern-home .x1d3:hover{transform:translateY(-3px);box-shadow:0 8px 16px rgba(0,0,0,.12);border-color:#ed9a9d}.modern-home .z2hhh1{font-size:13px}.modern-home #se3{background:#fff;padding:54px 0}.modern-home #se3 .z3d2{border-radius:3px;box-shadow:none}.modern-home #se6{background:#fff;padding:54px 0}.modern-home #z6d2,.modern-home #z6d4{border-radius:3px;box-shadow:none;border:1px solid #eee}.modern-home #se7{padding-bottom:54px}.modern-home .faq{padding-bottom:70px}.modern-home .faq-item{border-radius:3px;box-shadow:none}
@media(max-width:900px){.modern-home .z1d1{min-height:500px;padding:34px 20px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.60)),url("../img/sato_car.webp") center/cover}.modern-home .z1d2{width:100%}.modern-home .trust-strip{grid-template-columns:repeat(2,1fr)}.modern-home .trust-strip div{border-bottom:1px solid #eee;padding:9px}.modern-home .trust-strip div:nth-child(2n){border-right:0}}
@media(max-width:600px){.modern-home .z1d1{min-height:560px;padding:24px 14px}.modern-home .z1h1{font-size:32px!important}.modern-home .trust-strip{grid-template-columns:repeat(2,1fr);padding:10px 0}.modern-home .hero-search{display:grid;grid-template-columns:1fr}.modern-home .hero-search select{border:1px solid #ddd}.modern-home #se2,.modern-home #se4,.modern-home #se5,.modern-home #se7,.modern-home .faq{padding-top:42px}}
/* Full reference homepage */
.reference-home{background:#fff;color:#151515}.ref-hero{background:#f5f6f7 url('../img/sato_car.webp') 72% center/auto 100% no-repeat;min-height:380px}.ref-hero-inner{max-width:1200px;margin:auto;padding:52px 30px}.ref-hero-copy{max-width:570px}.ref-eyebrow,.ref-kicker{font-size:10px;font-weight:800;letter-spacing:.08em;color:#d71920}.ref-hero h1{font-size:clamp(42px,5vw,68px);line-height:.94;margin:7px 0 14px;letter-spacing:-.05em}.ref-hero h1 em{font-style:normal;color:#d71920}.ref-hero p{font-size:13px;max-width:430px;margin-bottom:18px}.ref-search{display:flex;background:#fff;border:1px solid #ddd;box-shadow:0 5px 18px rgba(0,0,0,.12);padding:6px;max-width:600px}.ref-search label{font-size:9px;color:#666;display:flex;flex-direction:column;flex:1;padding:0 8px;border-right:1px solid #ddd}.ref-search select{border:0;font-size:11px;color:#222;outline:0;padding:5px 0}.ref-search button,.ref-btn{background:#d71920;color:#fff;border:0;padding:11px 17px;font-size:11px;font-weight:700;text-decoration:none;cursor:pointer}.ref-hero-actions{display:flex;gap:8px;margin-top:10px}.ref-btn-light{background:#fff;color:#222;border:1px solid #bbb}.ref-trust{max-width:1200px;margin:auto;display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid #eee;padding:18px 16px}.ref-trust div{padding:0 15px;border-right:1px solid #eee}.ref-trust div:last-child{border:0}.ref-trust b{display:block;font-size:11px}.ref-trust span{display:block;color:#777;font-size:9px;margin-top:4px}.ref-section{max-width:1200px;margin:auto;padding:55px 18px}.ref-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:18px}.ref-section-head h2{font-size:28px;margin:4px 0 0;letter-spacing:-.04em}.ref-section-head>a{font-size:10px;color:#d71920;text-decoration:none;font-weight:700}.ref-arrival-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.ref-car-card{color:#171717;text-decoration:none;border:1px solid #e4e4e4;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.06)}.ref-car-image{height:130px;background:#f0f1f2;position:relative}.ref-car-image img{width:100%;height:100%;object-fit:cover}.ref-car-image span{position:absolute;top:7px;left:7px;background:#d71920;color:#fff;font-size:8px;padding:3px 5px}.ref-car-body{padding:10px}.ref-car-body small{font-size:9px;color:#777}.ref-car-body h3{font-size:12px;font-weight:700;min-height:30px;margin:5px 0}.ref-car-body strong{font-size:12px;color:#d71920}.ref-car-body div{display:flex;gap:5px;margin-top:9px}.ref-car-body i{font-style:normal;font-size:8px;border:1px solid #aaa;padding:5px 6px}.ref-car-body .wa{background:#d71920;color:#fff;border-color:#d71920}.ref-discover{background:#fafafa;max-width:none;padding-left:max(18px,calc((100% - 1164px)/2));padding-right:max(18px,calc((100% - 1164px)/2))}.ref-logo-row,.ref-type-row{display:grid;grid-template-columns:repeat(8,1fr);gap:8px}.ref-logo-row a,.ref-type-row a{background:#fff;border:1px solid #e5e5e5;padding:15px 8px;text-align:center;font-size:10px;color:#333;text-decoration:none}.ref-type-head{margin-top:38px}.ref-type-row a span{display:block;font-size:20px;color:#888;margin-bottom:5px}.ref-process{background:#fff}.ref-process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.ref-process-grid b{font-size:24px;color:#d71920}.ref-process-grid h3{font-size:14px;font-weight:700;margin:8px 0}.ref-process-grid p{font-size:11px;color:#777;line-height:1.5}.ref-gallery{background:#fafafa;max-width:none;padding-left:max(18px,calc((100% - 1164px)/2));padding-right:max(18px,calc((100% - 1164px)/2))}.ref-gallery-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.ref-gallery-grid img{width:100%;height:105px;object-fit:cover}.ref-cta{max-width:1164px;margin:45px auto 70px;background:#111827;color:#fff;padding:38px 42px;display:flex;justify-content:space-between;align-items:center}.ref-cta h2{font-size:32px;margin:7px 0}.ref-cta p{color:#c9ced8;font-size:12px}.ref-cta .ref-btn{white-space:nowrap}
@media(max-width:900px){.ref-hero{background:linear-gradient(90deg,rgba(255,255,255,.95),rgba(255,255,255,.45)),url('../img/sato_car.webp') center/cover}.ref-hero-inner{padding:45px 20px}.ref-trust{grid-template-columns:repeat(2,1fr);gap:0}.ref-trust div{padding:10px;border-bottom:1px solid #eee}.ref-arrival-grid{grid-template-columns:repeat(2,1fr)}.ref-logo-row,.ref-type-row{grid-template-columns:repeat(4,1fr)}.ref-process-grid{grid-template-columns:repeat(2,1fr)}.ref-gallery-grid{grid-template-columns:repeat(3,1fr)}.ref-cta{margin:25px 14px 55px;padding:28px;display:block}.ref-cta .ref-btn{display:inline-block;margin-top:16px}}
@media(max-width:600px){.ref-hero{min-height:560px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.4)),url('../img/sato_car.webp') center/cover}.ref-hero-inner{padding:30px 14px}.ref-hero h1{font-size:40px}.ref-search{display:grid;grid-template-columns:1fr}.ref-search label{border-right:0;border-bottom:1px solid #ddd}.ref-search button{width:100%}.ref-trust{padding:10px 4px}.ref-trust b{font-size:9px}.ref-trust span{font-size:8px}.ref-section{padding:42px 12px}.ref-section-head h2{font-size:24px}.ref-arrival-grid{gap:8px}.ref-car-image{height:110px}.ref-logo-row,.ref-type-row{grid-template-columns:repeat(3,1fr)}.ref-process-grid{grid-template-columns:1fr}.ref-gallery-grid{grid-template-columns:repeat(2,1fr)}.ref-cta h2{font-size:26px}}
/* Next-level mobile UI for the rebuilt homepage */
@media(max-width:600px){
  html{scroll-padding-top:62px}body{padding-bottom:68px;overflow-x:hidden}.reference-home{width:100%;overflow:hidden}
  #hd{height:60px}.reference-home .ref-hero{min-height:570px}.reference-home .ref-hero-inner{padding:28px 14px 20px}.reference-home .ref-hero-copy{max-width:100%}.reference-home .ref-eyebrow{font-size:9px}.reference-home .ref-hero h1{font-size:39px;letter-spacing:-.055em;margin:7px 0 12px}.reference-home .ref-hero p{font-size:12px;line-height:1.55;max-width:310px}.reference-home .ref-search{margin-top:16px;border-radius:10px;padding:8px;gap:0;box-shadow:0 8px 24px rgba(0,0,0,.14)}.reference-home .ref-search label{padding:8px 9px;border-right:0;border-bottom:1px solid #ececec;font-size:9px}.reference-home .ref-search label:last-of-type{border-bottom:0}.reference-home .ref-search select{font-size:12px;padding-top:3px}.reference-home .ref-search button{height:42px;border-radius:7px;font-size:12px;margin-top:5px}.reference-home .ref-hero-actions{gap:7px;margin-top:9px}.reference-home .ref-hero-actions .ref-btn{flex:1;text-align:center;padding:11px 7px;font-size:10px;border-radius:7px}
  .reference-home .ref-trust{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:0;padding:0;border:0;background:#fff;-ms-overflow-style:none;scrollbar-width:none}.reference-home .ref-trust::-webkit-scrollbar{display:none}.reference-home .ref-trust div{min-width:72%;scroll-snap-align:start;padding:16px 18px;border-right:1px solid #eee;border-bottom:0}.reference-home .ref-trust b{font-size:11px}.reference-home .ref-trust span{font-size:9px}
  .reference-home .ref-section{padding:42px 14px}.reference-home .ref-section-head{align-items:center;margin-bottom:15px}.reference-home .ref-section-head h2{font-size:25px;margin-top:3px}.reference-home .ref-section-head>a{font-size:10px}.reference-home .ref-arrival-grid{display:flex;overflow-x:auto;gap:10px;padding-bottom:9px;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.reference-home .ref-arrival-grid::-webkit-scrollbar{display:none}.reference-home .ref-car-card{min-width:76%;scroll-snap-align:start;border-radius:10px;overflow:hidden}.reference-home .ref-car-image{height:150px}.reference-home .ref-car-body{padding:12px}.reference-home .ref-car-body h3{font-size:13px;min-height:32px}.reference-home .ref-car-body strong{font-size:13px}.reference-home .ref-car-body i{font-size:9px;padding:6px 8px}
  .reference-home .ref-discover{padding-left:14px;padding-right:14px}.reference-home .ref-logo-row,.reference-home .ref-type-row{display:flex;overflow-x:auto;gap:8px;padding-bottom:8px;scroll-snap-type:x proximity;-ms-overflow-style:none;scrollbar-width:none}.reference-home .ref-logo-row::-webkit-scrollbar,.reference-home .ref-type-row::-webkit-scrollbar{display:none}.reference-home .ref-logo-row a,.reference-home .ref-type-row a{min-width:104px;scroll-snap-align:start;border-radius:9px;padding:17px 8px;font-size:10px}.reference-home .ref-type-head{margin-top:30px}.reference-home .ref-type-row a{min-width:96px}
  .reference-home .ref-process{padding-top:38px}.reference-home .ref-process-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.reference-home .ref-process-grid>div{border:1px solid #e8e8e8;border-radius:10px;padding:14px 12px}.reference-home .ref-process-grid b{font-size:20px}.reference-home .ref-process-grid h3{font-size:12px;line-height:1.25;margin:7px 0}.reference-home .ref-process-grid p{font-size:10px;line-height:1.45;margin:0}
  .reference-home .ref-gallery{padding-left:14px;padding-right:14px}.reference-home .ref-gallery-grid{grid-template-columns:repeat(2,1fr);gap:7px}.reference-home .ref-gallery-grid img{height:120px;border-radius:8px}.reference-home .ref-cta{margin:18px 14px 46px;border-radius:14px;padding:25px 20px}.reference-home .ref-cta h2{font-size:25px;line-height:1.1}.reference-home .ref-cta p{font-size:11px}.reference-home .ref-cta .ref-btn{display:inline-block;border-radius:8px;margin-top:10px}
  .mobile-bottom-nav{height:64px;padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.97);border-top:1px solid #e6e6e6;box-shadow:0 -5px 18px rgba(0,0,0,.08)}.mobile-bottom-nav a{font-size:9px;gap:3px;color:#667085}.mobile-bottom-nav a span{font-size:19px}.mobile-bottom-nav a.is-active{color:#d71920}.whatsapp-float{bottom:78px!important;right:14px!important;width:46px!important;height:46px!important}
}
.ref-history{max-width:1164px;margin:0 auto 0;background:#111827;color:#fff;display:grid;grid-template-columns:1.15fr .85fr;min-height:230px;overflow:hidden}.ref-history-copy{padding:32px 40px}.ref-history h2{font-size:30px;line-height:1.05;margin:6px 0 10px}.ref-history p{font-size:11px;color:#c9ced8;max-width:390px}.ref-history-copy strong{display:block;font-size:18px;margin:14px 0;color:#ffccd2}.ref-history-card{background:#f1f3f5;color:#111827;padding:28px;position:relative;overflow:hidden}.ref-history-card span{font-size:10px;color:#6b7280}.ref-history-card b{display:block;font-size:20px;line-height:1.05;margin-top:10px;position:relative;z-index:2}.ref-history-card img{position:absolute;width:115%;right:-22%;bottom:-25%;opacity:.9}.ref-history .ref-btn{display:inline-block}@media(max-width:900px){.ref-history{margin:0 14px;grid-template-columns:1fr;border-radius:10px}.ref-history-copy{padding:26px}.ref-history-card{min-height:145px;padding:22px}.ref-history-card img{width:70%;right:-5%;bottom:-20%}}@media(max-width:600px){.ref-history{margin:0 12px}.ref-history h2{font-size:25px}.ref-history-copy{padding:24px 20px}.ref-history-card{min-height:130px}}
/* Search bar layout fix */
.reference-home .ref-search{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:0;padding:6px;background:#fff;border:1px solid #d8dadd;border-radius:4px;box-sizing:border-box}.reference-home .ref-search label{min-width:0;width:100%;padding:2px 12px 1px;border-right:1px solid #e5e5e5;box-sizing:border-box}.reference-home .ref-search label:first-child{padding-left:8px}.reference-home .ref-search label:nth-child(3){border-right:0}.reference-home .ref-search label select{display:block;width:100%;min-width:0;max-width:100%;height:30px;padding:2px 18px 2px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:#fff;color:#202124;font-size:11px;cursor:pointer}.reference-home .ref-search button{width:auto;min-width:130px;height:36px;white-space:nowrap;padding:0 16px;border-radius:3px;font-size:11px}.reference-home .ref-hero-copy{min-width:0}
@media(max-width:900px){.reference-home .ref-search{grid-template-columns:1fr 1fr;gap:0;padding:7px;border-radius:8px}.reference-home .ref-search label{border-right:1px solid #e5e5e5;border-bottom:1px solid #e5e5e5;padding:5px 9px}.reference-home .ref-search label:nth-child(2){border-right:0}.reference-home .ref-search label:nth-child(3){border-right:0;border-bottom:0}.reference-home .ref-search button{grid-column:1/-1;width:100%;min-width:0;margin-top:7px;height:40px}}
@media(max-width:600px){.reference-home .ref-search{display:grid;grid-template-columns:1fr;padding:7px;gap:0}.reference-home .ref-search label,.reference-home .ref-search label:first-child,.reference-home .ref-search label:nth-child(2),.reference-home .ref-search label:nth-child(3){border-right:0;border-bottom:1px solid #e5e5e5;padding:7px 9px}.reference-home .ref-search label:last-of-type{border-bottom:0}.reference-home .ref-search label select{height:30px;font-size:12px}.reference-home .ref-search button{grid-column:auto;width:100%;margin-top:7px;height:42px;font-size:12px}}
/* Navigation bar responsive fix */
#d1{display:flex;align-items:center;position:relative}#d4{align-items:center;justify-content:center}#menu{width:24px;height:24px;object-fit:contain;margin:0;cursor:pointer}#n1{align-items:center;white-space:nowrap}#d5{display:flex;align-items:center;gap:5px}
@media(max-width:1210px){#d1{min-height:64px;padding:0 12px}#d4{display:flex;width:38px;height:38px;border-radius:8px;background:#f5f6f8;order:3}#d4:hover{background:#fff1f2}#n1{display:none;position:absolute;top:62px;right:0;width:min(330px,calc(100vw - 24px));padding:8px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 16px 35px rgba(16,24,39,.16);flex-direction:column;align-items:stretch;gap:2px;z-index:110}.a1{display:block;width:100%;padding:12px 14px;border-radius:8px;font-size:12px}.a1:hover{background:#fff1f2}.a2{margin-left:0}.#d3{width:100%;border:0}.#d3:hover #d20{display:none}#n1.n1-visible{display:flex}#d5{position:static;margin:0 8px 0 auto;gap:2px}.a123{font-size:10px}.i2{width:20px;margin:0 4px}}
@media(max-width:600px){#hd{height:60px}#d1{min-height:60px;padding:0 10px}#i20{height:42px;max-width:140px}#d5{right:auto;gap:0}.a123{padding:3px;font-size:9px}#d5>a[href="login.php"],.user-name{padding:7px 9px!important;font-size:9px!important}.i2{width:19px}.#d4{width:34px;height:34px}#n1{top:58px;width:calc(100vw - 20px);right:10px}}
@media(min-width:1211px){#d4{display:none}#n1{display:flex!important;position:static}}
/* Mobile header alignment hotfix */
@media(max-width:1210px){#d1>.d{display:flex;align-items:center;min-width:0;flex:1}#d1>.d>a{display:flex;align-items:center;flex:0 0 auto}#d1>.d>#n1{position:absolute;right:0;margin:0}#d5{display:flex!important;align-items:center!important;justify-content:flex-end!important;flex:0 0 auto!important;min-width:0!important;margin-left:auto!important;position:static!important}#d5 #lang-toggle{display:flex;align-items:center;white-space:nowrap}#d5>a[href="login.php"],#d5 .user-name{margin-left:0!important;white-space:nowrap}#d5>a[href*="advanced-search"]{display:flex;align-items:center}#d4{flex:0 0 36px;margin-left:6px}#n1{top:64px!important}}
@media(max-width:600px){#d1{width:100%!important;max-width:none!important;padding:0 8px!important;gap:4px}#i20{height:39px!important;max-width:125px;display:block}#d5{gap:1px!important}#d5 .a123{padding:2px 3px!important}#d5>a[href="login.php"],#d5 .user-name{font-size:8px!important;padding:6px 7px!important}#d5>a[href*="advanced-search"] .i2{width:18px!important;margin:0 2px!important}#d4{width:32px;height:32px;flex-basis:32px;margin-left:3px}#menu{width:20px;height:20px}#n1{top:58px!important;right:8px!important;width:calc(100vw - 16px)!important;max-height:calc(100vh - 74px);overflow-y:auto}}
/* Mobile nav balance pass */
@media(max-width:600px){#hd{height:58px}#d1{height:58px!important;min-height:58px!important;display:flex!important;align-items:center!important;width:100%!important;padding:0 9px!important;gap:6px!important}#d1>.d{height:100%;display:flex!important;align-items:center!important;flex:1 1 auto!important;min-width:0!important;width:auto!important}#d1>.d>a{max-width:125px;min-width:0}#i20{height:37px!important;width:auto!important;max-width:125px!important}#d5{height:100%;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;margin:0!important;padding:0!important;flex:0 0 auto!important;width:auto!important}#d5 #lang-toggle{display:flex!important;align-items:center!important;height:26px}#d5 .a123{line-height:20px!important;padding:2px 3px!important}#d5>a[href="login.php"],#d5 .user-name{margin:0!important;line-height:18px!important;padding:5px 7px!important;font-size:8px!important;border-radius:6px!important}#d5>a[href*="advanced-search"]{width:24px;height:28px;justify-content:center}#d5>a[href*="advanced-search"] .i2{width:17px!important;height:17px!important;margin:0!important}#d4{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;margin:0!important;border-radius:7px}#menu{width:19px!important;height:19px!important;margin:0!important}#n1{top:57px!important;right:8px!important;width:calc(100vw - 16px)!important}}
@media(max-width:360px){#d5 #lang-toggle{display:none!important}#d5>a[href="login.php"],#d5 .user-name{display:none!important}#i20{max-width:115px!important}}
/* Keep Sinhala / English toggle visible on every mobile width */
@media(max-width:600px){#d5 #lang-toggle{display:flex!important;visibility:visible!important;opacity:1!important}#d5 #lang-toggle .a123{display:inline-flex!important;color:#343a40!important;font-size:9px!important;font-weight:700!important}#d5 #lang-toggle .a124{color:#d71920!important}}
@media(max-width:360px){#d5 #lang-toggle{display:flex!important}#d5>a[href="login.php"],#d5 .user-name{display:none!important}#i20{max-width:112px!important}}
/* Modern footer */
footer{background:#101827!important;color:#fff;margin-top:0!important;border-top:1px solid #1f2937}#ft{background:transparent!important;padding:58px 0 20px!important}#d100{width:min(1200px,calc(100% - 36px))!important;margin:auto}.d102{display:grid!important;grid-template-columns:1.4fr 1fr 1fr 1fr!important;gap:42px!important;align-items:start}#d104{width:auto!important}#d105,.d106{width:auto!important}.d101{color:#cbd5e1}.d101 img#i15{height:52px;width:auto;filter:brightness(0) invert(1);opacity:.95}.d101 #p100{font-size:12px;line-height:1.7;color:#94a3b8;max-width:260px;margin-top:16px}.hhh100{font-size:12px!important;letter-spacing:.05em;text-transform:uppercase;color:#fff!important;margin-bottom:16px}.s100,#s101{font-size:11px;line-height:2;color:#aab5c5}.d107{display:flex;flex-direction:column;gap:9px}.a100{font-size:11px;color:#aab5c5!important;transition:.2s}.a100:hover{color:#fff!important;transform:translateX(3px)}.social-links{flex-direction:row;gap:10px}.social-links .a100{display:flex;width:30px;height:30px;border:1px solid #334155;border-radius:50%;align-items:center;justify-content:center}.social-links .i16{width:14px;height:14px;object-fit:contain}.d103{border-top:1px solid #263244;margin-top:42px;padding-top:16px}#p102{font-size:10px!important;color:#718096!important}#a110{color:#fff!important}
@media(max-width:900px){.d102{grid-template-columns:repeat(2,1fr)!important;gap:30px!important}.d101:first-child{grid-column:1/-1}.d103{margin-top:28px}}
@media(max-width:600px){#ft{padding:40px 0 16px!important}#d100{width:calc(100% - 28px)!important}.d102{grid-template-columns:1fr 1fr!important;gap:24px 14px!important}.d101:first-child{grid-column:1/-1}.d101 #p100{font-size:11px}.hhh100{font-size:10px!important;margin-bottom:10px}.s100,#s101,.a100{font-size:10px}.d103{margin-top:24px}.social-links{gap:7px}}
.ref-logo-row a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:92px}.ref-logo-row a img{width:64px;height:34px;object-fit:contain;display:block}.ref-logo-row a span{font-size:10px;color:#333}.ref-logo-row a:hover img{transform:scale(1.08)}@media(max-width:600px){.ref-logo-row a{min-width:104px;min-height:88px;gap:6px}.ref-logo-row a img{width:58px;height:30px}.ref-logo-row a span{font-size:9px}}
.ref-type-row a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:104px}.ref-type-row a img{width:78px;height:48px;object-fit:contain;display:block}.ref-type-row a b{font-size:10px;font-weight:600;color:#333}.ref-type-row a:hover img{transform:scale(1.06)}@media(max-width:600px){.ref-type-row a{min-width:108px;min-height:94px}.ref-type-row a img{width:70px;height:42px}.ref-type-row a b{font-size:9px}}
/* Remove footer trailing white block caused by fixed mobile navigation */
footer{display:block;min-height:0;height:auto;background:#101827!important}#ft{min-height:0;height:auto}
@media(max-width:600px){body{background:#101827!important;padding-bottom:0!important}footer{padding-bottom:64px!important}}
/* Compact floating WhatsApp control */
.whatsapp-float{position:fixed;right:22px;bottom:22px;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:#25d366;border-radius:50%;box-shadow:0 8px 20px rgba(0,0,0,.2);z-index:1200;line-height:0}.whatsapp-float img{display:block;width:24px!important;height:24px!important;max-width:24px;max-height:24px;object-fit:contain}.whatsapp-float:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(0,0,0,.25)}
@media(max-width:600px){.whatsapp-float{right:14px;bottom:76px;width:44px;height:44px}.whatsapp-float img{width:22px!important;height:22px!important;max-width:22px;max-height:22px}}
/* Mobile header controls readability */
@media(max-width:600px){#d5{gap:5px!important}#d5 #lang-toggle{gap:2px!important}#d5 #lang-toggle .a123{font-size:11px!important;line-height:24px!important;padding:1px 4px!important}#d5>a[href="login.php"],#d5 .user-name{display:inline-flex!important;align-items:center;justify-content:center;font-size:10px!important;line-height:20px!important;padding:6px 10px!important;min-height:31px!important}#d5>a[href*="advanced-search"]{width:30px;height:32px}#d5>a[href*="advanced-search"] .i2{width:22px!important;height:22px!important}#d4{width:35px;height:35px;flex-basis:35px}#menu{width:21px!important;height:21px!important}}
@media(max-width:380px){#i20{max-width:105px!important}#d5 #lang-toggle .a123{font-size:10px!important;padding:1px 3px!important}#d5>a[href="login.php"],#d5 .user-name{font-size:9px!important;padding:5px 8px!important}}
/* Final balanced mobile header polish */
@media(max-width:600px){#d1{padding:0 10px!important;gap:8px!important}#d1>.d{flex:1 1 auto!important;min-width:0!important}#d1>.d>a{max-width:112px!important}#i20{max-width:112px!important;height:36px!important}#d5{height:36px!important;gap:3px!important;padding:3px!important;border:1px solid #e3e6eb;border-radius:10px;background:#f8fafc;box-sizing:border-box}#d5 #lang-toggle{height:28px!important;padding:0 2px;border-right:1px solid #dfe3e8;gap:0!important}#d5 #lang-toggle .a123{font-size:10px!important;line-height:24px!important;padding:1px 4px!important;border-radius:6px}#d5 #lang-toggle .a124{background:#fff;color:#d71920!important}#d5>a[href="login.php"],#d5 .user-name{height:28px;min-height:28px!important;min-width:47px;font-size:9px!important;line-height:18px!important;padding:4px 8px!important;border-radius:7px!important;background:#d71920!important;color:#fff!important}#d5>a[href*="advanced-search"]{height:28px;width:28px;border-radius:7px;background:#fff;display:flex;align-items:center;justify-content:center}#d5>a[href*="advanced-search"] .i2{width:18px!important;height:18px!important}#d4{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px;background:#111827!important}#menu{filter:brightness(0) invert(1);width:19px!important;height:19px!important}}
@media(max-width:380px){#d1{padding:0 7px!important;gap:5px!important}#d1>.d>a,#i20{max-width:100px!important}#d5{gap:2px!important}#d5>a[href="login.php"],#d5 .user-name{min-width:43px;padding:4px 6px!important}#d5 #lang-toggle .a123{padding:1px 3px!important}}
/* Mobile readability scale */
@media(max-width:600px){body{font-size:16px}.reference-home .ref-hero h1{font-size:44px!important}.reference-home .ref-hero p{font-size:14px;line-height:1.6}.reference-home .ref-eyebrow,.reference-home .ref-kicker{font-size:10px}.reference-home .ref-search label{font-size:10px;padding:9px 10px}.reference-home .ref-search select{font-size:14px;height:34px}.reference-home .ref-search button{font-size:13px;height:46px}.reference-home .ref-hero-actions .ref-btn{font-size:12px;padding:13px 8px}.reference-home .ref-trust b{font-size:12px}.reference-home .ref-trust span{font-size:10px}.reference-home .ref-section-head h2{font-size:28px}.reference-home .ref-section-head>a{font-size:11px}.reference-home .ref-car-body small{font-size:10px}.reference-home .ref-car-body h3{font-size:15px;min-height:38px}.reference-home .ref-car-body strong{font-size:14px}.reference-home .ref-car-body i{font-size:10px;padding:7px 9px}.reference-home .ref-logo-row a span,.reference-home .ref-type-row a b{font-size:11px}.reference-home .ref-process-grid h3{font-size:14px}.reference-home .ref-process-grid p{font-size:11px}.reference-home .ref-cta h2{font-size:29px}.mobile-bottom-nav a{font-size:10px}.mobile-bottom-nav a span{font-size:21px}#i20{max-width:118px!important;height:39px!important}#d5 #lang-toggle .a123{font-size:11px!important}#d5>a[href="login.php"],#d5 .user-name{font-size:10px!important;min-width:50px;padding:6px 9px!important}#d5>a[href*="advanced-search"]{width:31px;height:31px}#d5>a[href*="advanced-search"] .i2{width:21px!important;height:21px!important}#d4{width:36px!important;height:36px!important;flex-basis:36px!important}}


/* Match original satomina.lk navbar behavior */
@media(max-width:1210px){#d1{position:relative!important;display:flex!important;min-height:70px!important;padding:0!important;align-items:center!important}#d4{display:block!important;width:auto!important;height:auto!important;flex:0 0 auto!important;background:transparent!important;border-radius:0!important;margin:0!important}#menu{width:30px!important;height:auto!important;margin-top:10px!important;filter:none!important}#n1{position:absolute!important;width:100%!important;top:80px!important;right:0!important;display:none!important;flex-direction:column!important;align-items:stretch!important;background:#fff!important;border:2px solid #d71920!important;border-top:0!important;padding:10px!important;z-index:110!important}#n1.n1-visible{display:flex!important}#d3{border-right:0!important;margin-left:0!important}#d5{position:absolute!important;right:60px!important;top:0!important;margin-top:4px!important;display:flex!important;align-items:center!important;gap:4px!important;border:0!important;background:transparent!important;padding:0!important;height:auto!important}#d5 #lang-toggle{border:0!important;background:transparent!important}#d5>a[href*="advanced-search"]{background:transparent!important}}@media(max-width:576px){#d1{height:90px!important;min-height:90px!important;align-items:flex-end!important}#i20{width:160px!important;max-width:160px!important;height:80px!important}#d5{flex-direction:column!important;align-items:flex-end!important;margin-top:0!important;row-gap:5px!important;right:45px!important;top:0!important}#d5 #lang-toggle{margin-right:0!important}#d5>a[href*="advanced-search"] .i2{position:absolute!important;top:10px!important;width:30px!important;height:auto!important;margin:0 10px!important}#d4{margin-bottom:9px!important}}

/* Exact original satomina.lk navbar dimensions */
@media(min-width:1211px){
  #d1{min-height:0!important;height:auto!important}
  #i20{height:72px!important;width:auto!important;max-width:none!important}
  #d3{border-right:1px solid var(--color2)!important;margin-left:25px!important}
  #n1{display:flex!important;align-items:center!important;gap:0!important}
  #n1 .a1{font-size:18px!important;color:var(--color2)!important;padding:10px 15px!important;border-radius:0!important;font-weight:400!important}
  #d5{display:flex!important;align-items:center!important;gap:0!important;border:0!important;background:transparent!important;padding:0!important}
  #d5 #lang-toggle{display:flex!important;align-items:center!important;margin-right:20px!important;border:0!important}
  #d5>a[href="login.php"],#d5 .user-name{margin-left:20px!important;font-size:inherit!important;padding:5px 15px!important;border-radius:4px!important;background:var(--color2)!important}
  #d5>a[href*="advanced-search"]{background:transparent!important;width:auto!important;height:auto!important}
  #d5>a[href*="advanced-search"] .i2{position:static!important;width:30px!important;height:auto!important;margin:0 10px!important}
  #d4{display:none!important}
}

/* Mobile navigation: language in bottom bar, login and categories in header */
@media(max-width:576px){
  #d5 #lang-toggle{display:none!important}
  #d5{right:45px!important}
  #d5>a[href="login.php"],#d5 .user-name{display:inline-flex!important;min-width:52px!important;height:30px!important;font-size:10px!important;padding:5px 9px!important}
  #d4{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;width:auto!important;min-width:86px!important;height:34px!important;margin-bottom:9px!important;padding:0 7px!important;background:#111827!important;border-radius:6px!important}
  #d4:after{content:"Categories";display:inline-block;color:#fff;font-size:9px;font-weight:700;line-height:1;white-space:nowrap}
  #menu{width:18px!important;height:18px!important;margin:0!important;filter:brightness(0) invert(1)!important}
  .mobile-bottom-nav{display:flex!important;overflow-x:auto!important;justify-content:flex-start!important;gap:0!important}
  .mobile-bottom-nav a{min-width:16.66%!important;flex:1 0 16.66%!important;font-size:8px!important}
  .mobile-bottom-nav a span{font-size:18px!important}
  .mobile-bottom-nav .mobile-lang-link span{font-size:11px!important;font-weight:800!important}
  .mobile-bottom-nav .mobile-lang-link.is-lang-active{color:#d71920!important}
}

/* Mobile header: replace Categories text label with Search control */
@media(max-width:576px){
  #d4:after{content:"⌕  Search"!important;font-size:10px!important;font-weight:700!important}
  #d4{min-width:76px!important;padding:0 8px!important;background:#fff!important;border:1px solid #d71920!important}
  #d4:after{color:#d71920!important}
  #menu{filter:none!important;width:16px!important;height:16px!important}
}

/* Final mobile header: logo + login + hamburger only */
@media(max-width:576px){
  #d5>a[href*="advanced-search"]{display:none!important}
  #d4{min-width:34px!important;width:34px!important;height:34px!important;padding:0!important;background:#111827!important;border:0!important;border-radius:7px!important}
  #d4:after{content:none!important}
  #menu{display:block!important;width:19px!important;height:19px!important;filter:brightness(0) invert(1)!important}
  #d5{right:45px!important}
  #d5>a[href="login.php"],#d5 .user-name{display:inline-flex!important}
}

/* Center hamburger with the mobile logo */
@media(max-width:576px){
  #d4{margin-bottom:23px!important;align-self:flex-end!important}
  #menu{margin:0!important;transform:translateY(0)!important}
}

/* Ensure original mobile Categories menu opens cleanly */
@media(max-width:1210px){
  #n1.n1-visible{display:flex!important;visibility:visible!important;opacity:1!important}
  #n1.n1-visible #d3{display:flex!important;align-items:center!important;min-height:42px!important}
  #n1.n1-visible #d3 .a2{display:block!important;width:auto!important;color:#171717!important;font-size:14px!important;padding:12px 14px!important}
  #n1.n1-visible #d3 #act{display:block!important;width:20px!important;height:20px!important}
}

/* Global readability and contrast pass */
.reference-home .ref-section h2,.reference-home .ref-section h3,.reference-home .ref-section b,.reference-home .ref-section strong{color:#151515!important}
.reference-home .ref-section p,.reference-home .ref-section span,.reference-home .ref-section small{color:#505761!important}
.reference-home .ref-section a{color:#1f2937}
.reference-home .ref-section-head>a,.reference-home .ref-cta a{color:#d71920!important}
.reference-home .ref-car-card,.reference-home .ref-logo-row a,.reference-home .ref-type-row a{color:#151515!important;background:#fff}
.reference-home .ref-car-card h3,.reference-home .ref-car-card strong,.reference-home .ref-car-card small{color:#151515!important}
.reference-home .ref-process-grid>div{background:#fff;color:#151515}
.reference-home .ref-process-grid h3{color:#151515!important}
.reference-home .ref-process-grid p{color:#59616b!important}
.reference-home .ref-gallery figcaption,.reference-home .ref-gallery span{color:#333!important}
@media(max-width:600px){
  .reference-home .ref-section{background:#fff!important}
  .reference-home .ref-section h2{color:#111827!important;text-shadow:none!important}
  .reference-home .ref-section p,.reference-home .ref-section span{color:#4b5563!important}
  .reference-home .ref-car-body{background:#fff!important}
  .reference-home .ref-car-body h3,.reference-home .ref-car-body strong{color:#111827!important}
  .reference-home .ref-process-grid>div{background:#fff!important;border-color:#e5e7eb!important}
  .reference-home .ref-logo-row a,.reference-home .ref-type-row a{background:#fff!important;border:1px solid #e5e7eb!important}
  .reference-home .ref-logo-row a span,.reference-home .ref-type-row a b{color:#374151!important}
  .reference-home .ref-cta p{color:#d1d5db!important}
  .reference-home .ref-cta h2{color:#fff!important}
  .mobile-bottom-nav a{color:#4b5563!important}
  .mobile-bottom-nav a.is-active,.mobile-bottom-nav a:hover{color:#d71920!important}
}

/* Match latest compact reference header */
@media(max-width:576px){
  #d1{height:72px!important;min-height:72px!important;align-items:center!important}
  #i20{width:132px!important;max-width:132px!important;height:auto!important}
  #d5{top:50%!important;right:44px!important;transform:translateY(-50%)!important;margin:0!important;align-items:center!important}
  #d5>a[href="login.php"],#d5 .user-name{height:30px!important;min-height:30px!important}
  #d4{align-self:center!important;margin:0!important;width:34px!important;min-width:34px!important;height:34px!important}
  #menu{width:19px!important;height:19px!important}
}

/* Vehicle detail page: restore gallery image and clean mobile background */
.z1d1{background:#fff!important;color:#171717!important}
#z1i1{display:block!important;visibility:visible!important;opacity:1!important;object-fit:contain!important;background:#f3f4f6!important}
.z1d2{color:#171717!important}
@media(max-width:900px){
  .z1d1{display:block!important;min-height:0!important;height:auto!important;padding:18px 14px!important;border-radius:0!important;background:#fff!important}
  .z1d2{width:100%!important}
  .gallery-main-container{width:100%!important;background:#f3f4f6!important;border-radius:10px!important;overflow:hidden!important}
  #z1i1{width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;border-radius:0!important}
  .z1d4,.z1d2 .h2,.z1d2 p,.z1d2 .price-display{color:#171717!important}
}
@media(max-width:600px){
  .z1d1{padding:12px!important}
  .gallery-main-container{border-radius:8px!important}
  .z1d4{font-size:13px!important}
  .price-display{font-size:22px!important}
  .spec-table{width:100%!important;overflow-x:auto!important}
}

/* Keep vehicle detail pages light on mobile */
body:has(.z1d1){background:#fff!important;color:#171717!important}
body:has(.z1d1) #hd{background:#fff!important}
body:has(.z1d1) main,body:has(.z1d1) .x1a1,body:has(.z1d1) .w{background:#fff!important;color:#171717!important}
body:has(.z1d1) .z1d1,body:has(.z1d1) .z1d2{background:#fff!important}
@media(max-width:600px){
  body:has(.z1d1){padding-bottom:0!important}
  body:has(.z1d1) .mobile-bottom-nav{background:#fff!important}
  body:has(.z1d1) footer{background:#101827!important}
}

/* Vehicles listing page light theme */
body:has(.search-form){background:#fff!important;color:#171717!important}
body:has(.search-form) #hd{background:#fff!important}
body:has(.search-form) main,body:has(.search-form) .x1a1,body:has(.search-form) .w{color:#171717!important}
body:has(.search-form) .search-form{background:#fff!important;border:1px solid #e5e7eb!important;color:#171717!important}
body:has(.search-form) .search-field,.search-option{color:#171717!important}
@media(max-width:600px){
  body:has(.search-form){padding-bottom:0!important}
  body:has(.search-form) .search-form{padding:12px!important;border-radius:10px!important}
  body:has(.search-form) .search-option{background:#fff!important;color:#171717!important}
}

/* Vehicles mobile: remove remaining dark theme areas */
@media(max-width:600px){
  body:has(.search-form),body:has(.search-form) main,body:has(.search-form) footer,
  body:has(.search-form) #ft,body:has(.search-form) .mobile-bottom-nav{
    background:#fff!important;color:#171717!important;
  }
  body:has(.search-form) footer{border-top:1px solid #e5e7eb!important}
  body:has(.search-form) footer .d101,body:has(.search-form) footer .hhh100,
  body:has(.search-form) footer .a100,body:has(.search-form) footer .s100,
  body:has(.search-form) footer #p100,body:has(.search-form) footer #p102{color:#374151!important}
  body:has(.search-form) footer .d103{border-top-color:#e5e7eb!important}
}

/* Prevent mobile logo overflow */
@media(max-width:576px){
  #d1{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:5px!important;width:100%!important;max-width:100%!important;padding:0 8px!important;overflow:hidden!important;box-sizing:border-box!important}
  #d1>.d{min-width:0!important;width:auto!important;overflow:hidden!important}
  #d1>.d>a{display:block!important;width:108px!important;max-width:108px!important;overflow:hidden!important}
  #i20{display:block!important;width:108px!important;max-width:108px!important;height:auto!important;object-fit:contain!important}
  #d5{position:static!important;transform:none!important;justify-content:center!important;min-width:0!important}
  #d4{justify-self:end!important}
}
@media(max-width:380px){
  #d1>.d>a,#i20{width:96px!important;max-width:96px!important}
  #d1{gap:3px!important;padding:0 5px!important}
}

/* Slightly larger mobile logo, still contained */
@media(max-width:576px){
  #d1>.d>a,#i20{width:124px!important;max-width:124px!important}
}
@media(max-width:380px){
  #d1>.d>a,#i20{width:112px!important;max-width:112px!important}
}

/* Larger mobile brand mark */
@media(max-width:576px){
  #d1>.d>a,#i20{width:145px!important;max-width:145px!important}
}
@media(max-width:380px){
  #d1>.d>a,#i20{width:132px!important;max-width:132px!important}
}
@media(max-width:340px){
  #d1>.d>a,#i20{width:120px!important;max-width:120px!important}
}
