:root{--blue:#003E7B;--blue2:#0754b7;--navy:#062c64;--red:#ed1c24;--bg:#f6f9fd;--card:#fff;--line:#e4ebf4;--muted:#64789a;--green:#159b58;--shadow:0 12px 36px rgba(13,49,92,.08);--radius:22px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:linear-gradient(135deg,#f9fbfe,#f1f6fc);color:#0b2c5f;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}.app-shell{width:min(100%,720px);min-height:100vh;margin:0 auto;background:#fff;position:relative;box-shadow:0 0 70px rgba(0,47,104,.08);padding-bottom:92px}.page{padding:0 20px 28px}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;padding:18px 20px 8px;background:rgba(255,255,255,.94);position:sticky;top:0;z-index:50;backdrop-filter:blur(16px)}.logo{font-weight:900;font-style:italic;font-size:31px;letter-spacing:-2px;line-height:.8}.logo .car{color:#e51722}.logo .city{color:#0b468f}.logo small{display:block;font-size:10px;font-style:normal;letter-spacing:4px;color:#164a8b;margin:9px 0 0 4px}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:42px;height:42px;border:0;background:transparent;border-radius:14px;display:grid;place-items:center;color:var(--navy);cursor:pointer;position:relative}.icon-btn:hover{background:#f4f7fb}.dot{width:8px;height:8px;background:var(--red);border:2px solid #fff;border-radius:50%;position:absolute;right:6px;top:6px}.avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(145deg,var(--blue2),var(--blue));display:grid;place-items:center;color:#fff;font-weight:800}.hero{margin-top:8px;border-radius:24px;min-height:232px;background:radial-gradient(circle at 78% 30%,#1e74d4 0 8%,transparent 35%),linear-gradient(140deg,#eaf2fc 0%,#f9fbfe 58%,#dceaff 100%);border:1px solid #e5edf8;position:relative;overflow:hidden;padding:38px 24px;box-shadow:var(--shadow)}.hero:after{content:"";position:absolute;right:-35px;bottom:-70px;width:270px;height:180px;background:linear-gradient(145deg,#0b59ad,#052d68);border-radius:62% 25% 20% 50%;transform:rotate(-7deg);box-shadow:inset 0 0 0 10px #ffffff1f}.hero:before{content:"";position:absolute;right:35px;bottom:41px;width:140px;height:34px;border-radius:50%;background:#0a346a;filter:blur(1px);box-shadow:0 20px 32px #06336570}.hero h1{font-size:26px;line-height:1.1;max-width:310px;margin:0 0 15px;position:relative;z-index:2}.hero p{color:#5d7092;max-width:280px;font-size:16px;line-height:1.55;position:relative;z-index:2}.accent-line{width:44px;height:4px;border-radius:9px;background:var(--red);margin-top:26px}.section{margin-top:24px}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:13px}.section-title h2{font-size:25px;margin:0;letter-spacing:-.6px}.section-title a{font-size:14px;color:var(--blue);font-weight:700}.warranty-check{border:1px solid var(--line);border-radius:24px;padding:24px;background:linear-gradient(145deg,#fff,#fbfdff);box-shadow:var(--shadow)}.warranty-head{display:flex;gap:15px;align-items:center}.round-icon{width:62px;height:62px;border-radius:50%;background:#f2f7fd;display:grid;place-items:center;color:var(--blue);flex:0 0 62px}.warranty-head h2{margin:0 0 6px;font-size:24px}.warranty-head p{margin:0;color:var(--muted);line-height:1.4}.plate-input{display:grid;grid-template-columns:76px 1fr;margin-top:20px;border:1px solid #cfd9e8;border-radius:13px;overflow:hidden;background:#fff}.plate-prefix{display:flex;align-items:center;justify-content:center;border-right:1px solid #dfe6ef;font-weight:700;gap:5px}.plate-prefix small{font-size:10px}.plate-input input{border:0;outline:0;padding:15px 18px;font-size:23px;letter-spacing:1.5px;color:#1f2b45;text-transform:uppercase}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:13px;padding:14px 18px;font-weight:800;cursor:pointer}.btn-primary{background:linear-gradient(100deg,#06469a,#003b81);color:#fff}.btn-danger{background:#fff0f1;color:#c81722}.btn-soft{background:#f1f6fc;color:var(--blue)}.btn-block{width:100%}.cards-4{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mini-card{border:1px solid var(--line);border-radius:18px;min-height:132px;background:#fff;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:12px;gap:10px;font-size:13px;font-weight:700}.mini-card svg{color:var(--blue)}.mini-card:after{content:"";width:28px;height:3px;background:var(--red);border-radius:4px}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.service-small{border:1px solid var(--line);background:#fff;border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.service-small .img{height:118px;background:linear-gradient(135deg,#0a4e9d,#091f46);position:relative;overflow:hidden}.service-small .img:before{content:"";position:absolute;inset:24px -18px -30px 25px;border-radius:50% 40% 25% 30%;background:linear-gradient(160deg,#2a79ca,#082f65);transform:rotate(-8deg);box-shadow:inset 0 0 0 6px #ffffff17}.service-small .body{padding:13px}.service-small h3{font-size:15px;margin:0 0 6px}.service-small p{font-size:12px;color:var(--muted);line-height:1.45;margin:0 0 8px}.sun-banner{border-radius:24px;padding:26px;background:linear-gradient(135deg,#f8fbff 0,#e8f1fb 70%,#dbe9fa);border:1px solid var(--line);position:relative;overflow:hidden;min-height:180px}.suntek{font-size:33px;font-weight:900;font-style:italic;letter-spacing:-2px;color:#0c4c9b}.suntek span{color:#ed121c}.sun-banner p{max-width:270px;color:#243f70}.sun-banner:after{content:"SunTek";position:absolute;right:-8px;bottom:10px;font-weight:900;color:#0b4a9a10;font-size:82px;transform:rotate(-8deg)}.bottom-nav{position:fixed;z-index:60;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,720px);height:78px;background:rgba(255,255,255,.96);border-top:1px solid var(--line);backdrop-filter:blur(18px);display:grid;grid-template-columns:repeat(5,1fr);padding:8px 8px max(8px,env(safe-area-inset-bottom))}.nav-item{display:flex;flex-direction:column;justify-content:center;align-items:center;color:#8696b4;font-size:11px;gap:4px}.nav-item.active{color:var(--blue);font-weight:700}.nav-main{width:58px;height:58px;border-radius:50%;background:linear-gradient(145deg,#0757b8,#003c84);color:#fff;margin-top:-25px;box-shadow:0 8px 20px #00489940;border:6px solid #fff;display:grid;place-items:center}.page-head{display:flex;align-items:center;justify-content:space-between;padding:18px 0}.page-head h1{font-size:26px;margin:0}.filter-row{display:flex;gap:10px;overflow:auto;padding-bottom:8px;scrollbar-width:none}.filter-row::-webkit-scrollbar{display:none}.chip{white-space:nowrap;border:1px solid #dce5f1;background:#fff;color:var(--navy);padding:11px 18px;border-radius:12px;font-weight:700}.chip.active{background:var(--blue);color:#fff;border-color:var(--blue)}.list-cards{display:grid;gap:14px}.service-row{display:grid;grid-template-columns:42% 58%;border-radius:20px;border:1px solid var(--line);overflow:hidden;background:#fff;box-shadow:var(--shadow);min-height:170px}.service-row .photo{background:linear-gradient(145deg,#0d5cad,#071d41);min-height:170px;position:relative;overflow:hidden}.service-row .photo:after{content:"";position:absolute;left:15%;right:-20%;bottom:-12%;height:62%;border-radius:60% 40% 20% 30%;background:linear-gradient(160deg,#2b86df,#073875);transform:rotate(-6deg)}.service-row .copy{padding:18px;display:flex;flex-direction:column;align-items:flex-start}.service-row h3{font-size:21px;margin:0 0 8px}.service-row p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}.service-row .copy .btn{margin-top:auto;align-self:stretch;padding:11px}.product-feature{border-radius:24px;padding:30px 24px;background:linear-gradient(135deg,#eef4fc,#f9fbfe 58%,#d9e7f7);min-height:250px;border:1px solid var(--line);position:relative;overflow:hidden}.product-feature .suntek{font-size:46px}.product-feature h2{font-size:28px;margin:8px 0}.product-feature p{max-width:290px;color:#536b91;line-height:1.5}.product-feature:after{content:"";position:absolute;right:-45px;bottom:-38px;width:300px;height:140px;border-radius:60% 40% 20% 40%;background:linear-gradient(145deg,#0a5bc0,#062b68);transform:rotate(-9deg)}.product-list{display:grid;gap:12px}.product-row{display:grid;grid-template-columns:125px 1fr 48px;align-items:center;border:1px solid var(--line);border-radius:17px;padding:14px;background:#fff;box-shadow:var(--shadow)}.brand-mark{font-weight:900;font-style:italic;color:#0b4d9d;font-size:22px}.brand-mark span{color:#ed171f}.product-row h3{margin:0 0 7px;font-size:17px}.product-row p{font-size:12px;color:var(--muted);margin:0 0 8px;line-height:1.4}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:10px;border:1px solid #d8e3f0;padding:4px 8px;border-radius:7px;color:#164a8e;background:#fbfdff}.arrow-btn{width:42px;height:42px;border:1px solid var(--blue);background:#fff;color:var(--blue);border-radius:12px;display:grid;place-items:center}.detail-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:var(--shadow)}.vehicle-hero{min-height:250px;border-radius:24px;background:linear-gradient(135deg,#eef4fb,#f9fbfe 60%,#ddeaf9);border:1px solid var(--line);padding:30px;position:relative;overflow:hidden}.vehicle-hero:after{content:"";position:absolute;right:-30px;bottom:15px;width:330px;height:120px;border-radius:60% 30% 24% 45%;background:linear-gradient(150deg,#1463b5,#052e68);transform:rotate(-6deg)}.vehicle-hero h2,.vehicle-hero .plate-display,.status-pill{position:relative;z-index:2}.plate-display{display:inline-flex;border:1px solid #c7d3e3;border-radius:10px;background:#fff;padding:11px 15px;font-size:22px;letter-spacing:1px}.status-pill{display:inline-flex;align-items:center;gap:8px;background:#eaf9f1;color:var(--green);font-weight:800;padding:8px 13px;border-radius:999px;margin-top:25px}.status-pill:before{content:"";width:9px;height:9px;background:var(--green);border-radius:50%}.info-rows{display:grid}.info-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;padding:16px 0;border-bottom:1px solid #edf1f6;gap:8px}.info-row:last-child{border-bottom:0}.info-row .label{color:#55709a}.part-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.part{border:1px solid var(--line);border-radius:16px;padding:12px 6px;text-align:center;font-size:11px;box-shadow:var(--shadow)}.part .part-icon{height:45px;display:grid;place-items:center;font-size:27px;color:var(--blue)}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#eef5fc,#fff)}.auth-card{width:min(100%,440px);background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:0 30px 80px #06366714}.auth-card .logo{margin-bottom:32px}.auth-card h1{font-size:28px;margin:0 0 8px}.auth-card p{color:var(--muted);line-height:1.5}.field{margin:16px 0}.field label{display:block;font-size:13px;font-weight:800;margin-bottom:7px}.input{width:100%;border:1px solid #cad7e8;border-radius:12px;padding:13px 14px;outline:0;background:#fff}.input:focus{border-color:#2d6fb5;box-shadow:0 0 0 3px #1369c414}.otp-input{font-size:30px;text-align:center;letter-spacing:10px}.notice{padding:12px 14px;border-radius:12px;font-size:13px;margin:10px 0}.notice-success{background:#ecf9f1;color:#127847}.notice-error{background:#fff0f1;color:#b11620}.notice-info{background:#edf5ff;color:#18508f}.more-list{display:grid;gap:10px}.more-item{display:grid;grid-template-columns:48px 1fr 24px;gap:12px;align-items:center;padding:15px;border:1px solid var(--line);border-radius:16px;background:#fff}.more-item .ico{width:46px;height:46px;border-radius:14px;background:#f1f6fc;color:var(--blue);display:grid;place-items:center}.chat{display:flex;flex-direction:column;gap:10px;min-height:52vh;padding:8px 0 18px}.bubble{max-width:82%;padding:11px 14px;border-radius:16px;line-height:1.45;font-size:14px}.bubble.user{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:5px}.bubble.admin{align-self:flex-start;background:#f0f4f9;color:#173766;border-bottom-left-radius:5px}.bubble small{display:block;opacity:.7;margin-top:5px;font-size:10px}.chat-form{display:grid;grid-template-columns:1fr 48px;gap:8px;position:sticky;bottom:82px;background:#fff;padding:10px 0}.empty{padding:35px 20px;text-align:center;color:var(--muted);border:1px dashed #cbd8e8;border-radius:18px}.flash-stack{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:999;width:min(calc(100% - 30px),500px)}.flash{padding:12px 15px;border-radius:12px;margin-bottom:8px;box-shadow:var(--shadow);background:#fff;border:1px solid var(--line)}
@media(max-width:520px){.page{padding-left:15px;padding-right:15px}.topbar{padding-left:15px;padding-right:15px}.logo{font-size:27px}.hero{min-height:215px;padding:30px 20px}.hero h1{font-size:22px;max-width:230px}.cards-4{gap:8px}.mini-card{min-height:112px;font-size:11px;padding:8px}.mini-card svg{width:28px;height:28px}.service-row{grid-template-columns:39% 61%}.service-row .copy{padding:14px}.service-row h3{font-size:18px}.product-row{grid-template-columns:94px 1fr 40px;padding:11px}.product-row .brand-mark{font-size:18px}.part-grid{gap:7px}.part{font-size:10px;padding:10px 3px}.page-head h1{font-size:24px}}

/* ===== Car City production fixes v2 ===== */
.ui-icon{display:block;flex:0 0 auto}.ui-icon-fill{stroke:none!important}.az-flag{display:block;width:28px;height:19px;border-radius:2px;box-shadow:0 0 0 1px rgba(9,42,86,.12);object-fit:cover}.plate-prefix{gap:8px}.plate-prefix span{font-weight:800}.plate-display{align-items:center;gap:10px}.plate-flag{width:30px;height:20px}

/* Uploaded photos must stay clean: no generated blue shapes over them. */
.hero:before,.hero:after,.service-small .img:before,.service-row .photo:after,.product-feature:after,.vehicle-hero:after{display:none!important;content:none!important}
.service-small .img,.service-row .photo{background-color:#eef3f9;background-repeat:no-repeat}.service-small .img{background-position:center;background-size:cover}.service-row .photo{background-position:center;background-size:cover}.vehicle-hero{background:linear-gradient(135deg,#eef4fb,#fff 72%)}

/* Banner = image-only swipe slider. */
.hero-slider{margin-top:8px;border-radius:24px;overflow:hidden;position:relative;border:1px solid var(--line);background:#f3f7fc;box-shadow:var(--shadow)}
.hero-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.hero-track::-webkit-scrollbar{display:none}.hero-slide{display:block;flex:0 0 100%;width:100%;scroll-snap-align:start;background:#f3f7fc;line-height:0}.hero-slide img{display:block;width:100%;height:auto;max-height:310px;object-fit:contain;background:#f3f7fc}.hero-dots{position:absolute;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:7px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.75);backdrop-filter:blur(8px)}.hero-dot{appearance:none;border:0;width:7px;height:7px;border-radius:50%;padding:0;background:#adc0d9;cursor:pointer;transition:.2s}.hero-dot.active{width:20px;border-radius:8px;background:var(--red)}

/* Clean contact actions and consistent icon geometry. */
.contact-actions{display:grid;gap:10px;margin-top:22px}.contact-action{min-height:54px;position:relative;gap:10px;font-size:16px}.contact-icon{width:26px;height:26px;display:grid;place-items:center;line-height:0}.whatsapp-action .contact-icon{color:#17a75a}.whatsapp-action{background:#f5f8fc;border:1px solid #e5ebf4}.contact-card .btn-soft{font-weight:800}.contact-card .btn-soft:hover{background:#eaf1f9}

/* Messages / AI */
.ai-caption{display:inline-flex;align-items:center;gap:6px;margin-top:6px;color:#60769a;font-size:12px;font-weight:700}.bubble.ai{align-self:flex-start;background:#eaf3ff;color:#103e74;border:1px solid #d7e7fb;border-bottom-left-radius:5px}.bubble-label{display:flex;align-items:center;gap:5px;font-size:10px;font-weight:900;letter-spacing:.4px;text-transform:uppercase;margin-bottom:5px;color:#356294}.bubble.admin .bubble-label{color:#58719a}.chat-send{width:48px;height:48px;padding:0!important;border-radius:14px}.chat-form .input{height:48px}.nav-item .ui-icon{width:24px;height:24px}.nav-main .ui-icon{width:25px;height:25px}

@media(max-width:520px){.hero-slider{border-radius:18px}.hero-slide img{max-height:240px}.hero-dots{bottom:8px}.contact-action{min-height:52px}.az-flag{width:25px;height:17px}.plate-prefix{gap:6px}}

/* Custom brand asset support */
.logo.logo-custom{display:flex;align-items:center;min-width:0}.logo.logo-custom img{display:block;max-width:190px;max-height:62px;width:auto;height:auto;object-fit:contain;object-position:left center}@media(max-width:520px){.logo.logo-custom img{max-width:150px;max-height:50px}}

/* Native shell mode: the same production UI, adjusted to feel like a real iOS/Android screen. */
html.native-app{background:#fff;overscroll-behavior:none;-webkit-text-size-adjust:100%}
html.native-app,html.native-app body{min-height:100%;width:100%}
body.native-app{background:#fff;overscroll-behavior-y:none;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none}
body.native-app a,body.native-app button{touch-action:manipulation}
body.native-app input,body.native-app textarea,body.native-app select{user-select:text;-webkit-user-select:text;-webkit-touch-callout:default}
body.native-app .app-shell{width:100%;max-width:none;min-height:100dvh;margin:0;box-shadow:none;padding-bottom:calc(88px + env(safe-area-inset-bottom))}
body.native-app .topbar{height:calc(82px + env(safe-area-inset-top));padding:calc(10px + env(safe-area-inset-top)) 20px 8px;top:0}
body.native-app .bottom-nav{width:100%;height:calc(74px + env(safe-area-inset-bottom));padding:7px 8px max(8px,env(safe-area-inset-bottom))}
body.native-app .page{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}
html.native-keyboard-open body.native-app .bottom-nav{transform:translate(-50%,110%);opacity:0;pointer-events:none;transition:transform .18s ease,opacity .18s ease}
html.native-keyboard-open body.native-app .app-shell{padding-bottom:0}
html.native-offline body.native-app::after{content:"Offline";position:fixed;z-index:79;top:calc(6px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);padding:5px 10px;border-radius:999px;background:rgba(9,36,73,.88);color:#fff;font-size:10px;font-weight:800;letter-spacing:.2px;pointer-events:none;opacity:.92}
@media(min-width:721px){body.native-app .app-shell{width:100%;max-width:none}}

/* Defect-fix build 2026-09-28: universal back navigation + SunTek product warranty tiers. */
.topbar-left{display:flex;align-items:center;gap:4px;min-width:0}.topbar-left .logo{min-width:0}.topbar-left.has-back .logo.logo-custom img{max-width:150px}.topbar-title{font-size:20px;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:70%}.header-back{flex:0 0 42px}.product-rating{position:relative;z-index:3;display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:7px 0 12px}.product-rating.compact{gap:7px;margin:2px 0 7px}.product-stars{color:#f2c200;font-weight:900;letter-spacing:2px;font-size:18px;line-height:1}.product-rating.compact .product-stars{font-size:14px;letter-spacing:1px}.product-warranty{display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:999px;background:#eef5fd;color:#0b4a91;font-size:11px;font-weight:900;white-space:nowrap}.product-description{line-height:1.7;color:#334f77;margin-top:14px}.standalone-back{touch-action:manipulation}@media(max-width:520px){.topbar-left.has-back .logo.logo-custom img{max-width:118px;max-height:46px}.topbar-left{gap:0}.product-row{grid-template-columns:78px 1fr 38px}.brand-mark{font-size:17px}.product-rating.compact .product-warranty{font-size:10px;padding:3px 7px}}

/* Preserve the supplied combined logo while cropping only its outer white canvas in the header. */
.logo.logo-custom img[src*="carcity-legends-suntek-azerbaijan-logo"]{width:190px;height:62px;max-width:190px;max-height:62px;object-fit:cover;object-position:center}.topbar-left.has-back .logo.logo-custom img[src*="carcity-legends-suntek-azerbaijan-logo"]{width:150px;height:50px;max-width:150px;max-height:50px}@media(max-width:520px){.logo.logo-custom img[src*="carcity-legends-suntek-azerbaijan-logo"]{width:145px;height:48px;max-width:145px;max-height:48px}.topbar-left.has-back .logo.logo-custom img[src*="carcity-legends-suntek-azerbaijan-logo"]{width:118px;height:42px;max-width:118px;max-height:42px}}


/* ===== Production mobile interaction hardening ===== */
.sun-banner:after{pointer-events:none!important}
.sun-banner .suntek,.sun-banner p,.sun-banner .btn{position:relative;z-index:2}
.sun-banner .btn{min-height:54px;min-width:190px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none}
@media(max-width:520px){.sun-banner .btn{width:100%;max-width:260px;min-height:58px;padding:16px 20px;font-size:16px}.sun-banner{padding-bottom:28px}}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Production auth: international phone selector + clear validation. */
.phone-entry{display:grid;grid-template-columns:minmax(155px,46%) 1fr;gap:8px;align-items:stretch}
.phone-entry .input{margin:0;min-width:0}
.country-code{padding-left:10px;padding-right:8px;background:#fff;cursor:pointer}
.phone-error{min-height:18px;margin-top:7px;color:#b11620;font-size:12px;line-height:1.35;opacity:0;transition:opacity .15s ease}
.phone-error.visible{opacity:1}
.guest-login-btn{margin-top:12px;min-height:50px}
.auth-back-link{text-align:center;margin-top:16px;font-size:13px;color:#58719a}
.auth-back-link a{color:inherit}

/* App-like chat: messages scroll inside the conversation and open at the latest message. */
.chat-page{height:calc(var(--carcity-chat-vh,100dvh) - 184px);min-height:420px;display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}
.chat-page .page-head{flex:0 0 auto;padding-bottom:12px}
.chat-page .chat{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:6px 2px 14px;scrollbar-width:thin}
.chat-page .chat-form{position:relative;bottom:auto;flex:0 0 auto;margin:0;padding:10px 0 12px;border-top:1px solid #edf1f6;background:#fff;z-index:5}
.chat-page .bubble{word-break:break-word;overflow-wrap:anywhere}
body.native-app .chat-page{height:calc(var(--carcity-chat-vh,100dvh) - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
html.native-keyboard-open body.native-app .chat-page{height:calc(var(--carcity-chat-vh,100dvh) - 94px);min-height:0;padding-bottom:0}
@media(max-width:420px){.phone-entry{grid-template-columns:minmax(132px,43%) 1fr}.country-code{font-size:13px;padding-left:8px}.phone-local{padding-left:10px;padding-right:10px}}



/* Production polish 2026-09-28: compact calling-code selector, aligned header actions, guest mode and privacy page. */
.top-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px;line-height:0}
.top-actions .icon-btn,.top-actions .avatar{width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;margin:0;padding:0;align-self:center}
.top-actions .icon-btn{display:flex;align-items:center;justify-content:center;border-radius:50%}
.top-actions .icon-btn .ui-icon{display:block;width:25px;height:25px;margin:0}
.top-actions .avatar{font-size:13px;line-height:1}
.top-actions .dot{right:7px;top:7px}
.phone-entry{grid-template-columns:96px 1fr}
.country-code{width:96px;min-width:96px;text-align:center;text-align-last:center;font-weight:800;padding-left:8px;padding-right:24px}
.auth-link-sep{display:inline-block;margin:0 8px;color:#b5c0cf}
.guest-profile-note{display:grid;gap:12px;padding:15px;margin-bottom:18px;border:1px solid #dce7f4;border-radius:15px;background:#f6f9fd;color:#38577d}
.guest-profile-note strong{color:#0b3e78;font-size:15px}
.guest-profile-note span{font-size:13px;line-height:1.55}
.guest-profile-note .btn{justify-self:start}
.privacy-policy{margin-bottom:22px}
.privacy-policy-text{white-space:normal;font-size:14px;line-height:1.75;color:#304d73;overflow-wrap:anywhere}
@media(max-width:420px){.phone-entry{grid-template-columns:90px 1fr}.country-code{width:90px;min-width:90px;font-size:14px}.top-actions{gap:6px}}


/* Persistent navigation: pages with the bottom navigation do not show a duplicate back button. */
.topbar-title-only{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center}
.topbar-title-only .topbar-title{justify-self:center;max-width:100%}
.topbar-spacer{width:44px;height:44px}

/* Live unread indicators. */
.notification-link,.nav-icon-wrap{position:relative}
.top-actions .dot,[data-notification-dot]{display:block;position:absolute;width:9px;height:9px;border-radius:50%;background:#e31e24;border:2px solid #fff;right:6px;top:6px;opacity:0;transform:scale(.55);pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.top-actions .dot.visible,[data-notification-dot].visible{opacity:1;transform:scale(1)}
.nav-icon-wrap{display:grid;place-items:center;width:28px;height:28px;margin:0 auto}
.nav-dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#e31e24;border:2px solid #fff;right:-1px;top:-1px;opacity:0;transform:scale(.55);pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.nav-dot.visible{opacity:1;transform:scale(1)}


/* Production polish: equal bottom navigation icons. */
.bottom-nav .nav-item{gap:5px}
.bottom-nav .nav-icon-wrap{width:30px;height:30px;display:grid;place-items:center;line-height:0}
.bottom-nav .nav-icon-wrap .ui-icon{width:24px!important;height:24px!important;display:block;margin:0}
.bottom-nav .nav-item>span:last-child{line-height:1.1;min-height:13px;display:flex;align-items:center}

/* Profile: self-service account deletion required by store policies. */
.account-danger-zone{margin:18px 0 6px;padding:17px;border:1px solid #f1d9dc;border-radius:18px;background:#fffafb;display:flex;align-items:center;justify-content:space-between;gap:16px}
.account-danger-zone strong{display:block;color:#8e1f2a;font-size:15px;margin-bottom:4px}
.account-danger-zone p{margin:0;color:#7d6470;font-size:12px;line-height:1.5;max-width:430px}
.account-delete-btn{flex:0 0 auto;background:#fff;border:1px solid #e4aeb4;color:#b31928;min-height:44px}
.confirm-modal[hidden]{display:none!important}
.confirm-modal{position:fixed;inset:0;z-index:500;display:grid;place-items:center;padding:20px}
.confirm-modal-backdrop{position:absolute;inset:0;background:rgba(3,20,45,.48);backdrop-filter:blur(4px)}
.confirm-modal-card{position:relative;z-index:1;width:min(100%,390px);background:#fff;border-radius:22px;padding:24px;box-shadow:0 28px 90px rgba(3,28,63,.28);text-align:center}
.confirm-modal-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;margin:0 auto 14px;background:#fff1f2;color:#c51f2c}
.confirm-modal-card h2{font-size:20px;line-height:1.35;margin:0 0 8px;color:#16355f}
.confirm-modal-card p{margin:0;color:#71819a;font-size:13px}
.confirm-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:22px}
.confirm-modal-actions form{margin:0}
.confirm-modal-actions .btn{width:100%;min-height:48px}
.btn-danger-confirm{background:#c51f2c;color:#fff}
html.modal-open,html.modal-open body{overflow:hidden}
@media(max-width:520px){.account-danger-zone{align-items:flex-start;flex-direction:column}.account-delete-btn{width:100%}}

/* Chat: instant send, subtle bubble entry, AI thinking and ChatGPT-like reveal. */
.bubble-enter{animation:chatBubbleIn .18s ease-out both}
@keyframes chatBubbleIn{from{opacity:0;transform:translateY(7px) scale(.985)}to{opacity:1;transform:none}}
.ai-thinking{min-width:92px;padding-bottom:12px}
.typing-dots{display:inline-flex;align-items:center;gap:5px;height:18px;padding:2px 1px}
.typing-dots i{display:block;width:6px;height:6px;border-radius:50%;background:#5a7da8;animation:typingDot 1.05s infinite ease-in-out}
.typing-dots i:nth-child(2){animation-delay:.14s}.typing-dots i:nth-child(3){animation-delay:.28s}
@keyframes typingDot{0%,60%,100%{transform:translateY(0);opacity:.42}30%{transform:translateY(-4px);opacity:1}}
.ai-mini-mark{display:inline-grid;place-items:center;min-width:20px;height:18px;padding:0 4px;border-radius:6px;background:#0b4d9d;color:#fff;font-size:8px;font-weight:900;letter-spacing:0}
.ai-typed-text{white-space:pre-wrap;overflow-wrap:anywhere}
.ai-wait-note{display:block;max-width:270px;font-size:12px;line-height:1.5;color:#58719a}
.bubble.user.send-error{background:#9f4f58}
.send-error-note{color:#fff!important;opacity:.9!important;font-weight:700}
.chat-send:disabled{cursor:default;opacity:.58}
.chat-form .input:disabled{background:#f8fafc;color:#6e7e95}


/* Contact keeps the original raised primary navigation treatment. */
.bottom-nav .nav-item .nav-main{width:58px;height:58px;margin-top:-25px}
.bottom-nav .nav-item .nav-main .nav-icon-wrap{width:30px;height:30px}
.bottom-nav .nav-item .nav-main .nav-icon-wrap .ui-icon{width:25px!important;height:25px!important}

/* Chat keyboard / live conversation polish. */
.chat-page .chat-form{touch-action:manipulation}
.chat-page .chat-form .input{min-height:48px}
html.native-keyboard-open body.native-app .chat-page .chat-form{padding-top:6px;padding-bottom:6px;margin-bottom:0}
html.native-keyboard-open body.native-app .chat-page .chat{padding-bottom:8px}
@media(max-width:520px){
  html.native-keyboard-open body.native-app .chat-page{height:calc(var(--carcity-chat-vh,100dvh) - 92px)}
}

/* Guest public ID + keyboard-safe chat composer */
.guest-user-code{display:flex;flex-direction:column;gap:5px;margin:12px 0;padding:11px 12px;border:1px solid #dce6f2;border-radius:12px;background:#f8fbff}
.guest-user-code small{font-size:10px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:#6e82a2}
.guest-user-code code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12px;font-weight:800;color:#0b4a91;word-break:break-all}
html.native-keyboard-open .bottom-nav{transform:translate(-50%,110%);opacity:0;pointer-events:none;transition:transform .16s ease,opacity .16s ease}
html.native-keyboard-open .app-shell{padding-bottom:0}
html.native-keyboard-open .chat-page .chat-form{padding-top:5px;padding-bottom:4px;margin-bottom:0}
html.native-keyboard-open .chat-page .chat{padding-bottom:6px}
html.native-keyboard-open .chat-page{min-height:0!important}


/* Chat composer visibility fix: keep the input as a non-collapsing flex row above navigation/keyboard. */
.chat-page .chat-form{display:grid;grid-template-columns:minmax(0,1fr) 48px;flex:0 0 auto;min-height:68px;visibility:visible;opacity:1;position:relative;z-index:8;background:#fff}
.chat-page .chat-form .input{min-width:0;width:100%}
html.native-keyboard-open .chat-page .chat-form{min-height:58px}


/* Warranty countdown + recommended SunTek product. */
.recommendation-badge{position:relative;z-index:4;display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eaf8ef;color:#137645;font-size:11px;font-weight:900;margin-bottom:8px}
.recommendation-inline{display:inline-flex;vertical-align:middle;padding:3px 7px;border-radius:999px;background:#eaf8ef;color:#137645;font-size:9px;font-weight:900;margin-left:5px}
.warranty-countdown-row strong{color:#0b5aa5}
