/* iMobi.uz V103 — unified professional visual system */
:root{
 --ui-ink:#17232b;--ui-muted:#687780;--ui-line:#e3e9e8;--ui-soft:#f3f7f6;
 --ui-green:#07836d;--ui-green-dark:#066b59;--ui-lime:#d9f3e9;
 --ui-surface:#fff;--ui-radius:18px;--ui-shadow:0 14px 40px rgba(20,47,43,.075);
 --ui-shadow-hover:0 22px 52px rgba(20,47,43,.13);
}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{color:var(--ui-ink);background:#f7f9f8;letter-spacing:-.012em}
a{transition:color .18s ease,opacity .18s ease}
button,input,select,textarea{font:inherit}
button,.btn,.primary,.shop-button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(8,131,109,.25);outline-offset:2px}
.global-nav{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.94);border-bottom:1px solid rgba(20,50,45,.08);box-shadow:0 4px 18px rgba(20,47,43,.035);backdrop-filter:blur(18px)}
.nav-inner{min-height:72px;max-width:1500px;padding:0 clamp(16px,3vw,42px);gap:22px}
.brand{font-weight:850;letter-spacing:-.045em;color:#142a27}
.brand-mark{background:linear-gradient(145deg,#0b9277,#075f50);box-shadow:0 7px 18px rgba(7,131,109,.22);border-radius:12px}
.nav-links{gap:clamp(12px,1.7vw,26px)}
.nav-links a{font-size:13px;font-weight:650;color:#53625f;border-radius:9px;padding:8px 2px}
.nav-links a:hover,.nav-links a[aria-current=page]{color:var(--ui-green)}
.nav-icons{gap:8px}
.icon-link{border:1px solid #e6edeb;border-radius:12px;background:#fff}
.menu-toggle{border-radius:12px}
.search-panel{box-shadow:var(--ui-shadow);border:1px solid var(--ui-line);border-radius:0 0 18px 18px}
.shop-home{max-width:1500px;margin:0 auto;padding:22px clamp(14px,3vw,42px) 70px}
.home-store-search{margin:4px auto 24px;max-width:900px}
.home-search-box{min-height:54px;border:1px solid #dfe8e5;border-radius:16px;background:#fff;box-shadow:0 6px 22px rgba(20,47,43,.045);padding:0 18px}
.home-search-box:focus-within{border-color:#7fc8b5;box-shadow:0 0 0 4px rgba(8,131,109,.08)}
.home-search-box input{font-size:15px}
.home-deals{background:linear-gradient(120deg,#f1faf6 0%,#fff 58%,#f4faf7 100%);border:1px solid #e0eee8;border-radius:26px;padding:clamp(22px,4vw,42px);box-shadow:0 12px 36px rgba(20,47,43,.045);overflow:hidden}
.home-deals-heading{align-items:flex-end;gap:20px;margin-bottom:22px}
.shop-kicker{font-size:10px;letter-spacing:.16em;font-weight:850;color:var(--ui-green)}
.home-deals-heading h1{font-size:clamp(30px,4.6vw,54px);line-height:1.04;letter-spacing:-.055em;color:#172b27;margin:8px 0 10px}
.home-deals-heading p{font-size:15px;color:#65746f;max-width:560px}
.home-deals-heading>a{width:48px;height:48px;border-radius:15px;background:var(--ui-green);color:#fff;display:grid;place-items:center;box-shadow:0 10px 22px rgba(8,131,109,.2)}
.home-category-chips{gap:9px;margin:20px 0 24px}
.home-category-chips a,.home-category-chips button{border:1px solid #dfe9e5;background:#fff;color:#4d6059;border-radius:999px;padding:9px 15px;font-weight:700;font-size:12px}
.home-category-chips .active,.home-category-chips a:hover,.home-category-chips button:hover{background:#e4f5ee;border-color:#a9d9c9;color:#086b58}
.shop-product-grid,.home-product-grid{gap:16px}
.shop-product-card,.home-product-card,.product-card{border:1px solid #e8eeeb;border-radius:18px;background:#fff;box-shadow:0 5px 18px rgba(20,47,43,.035);overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.shop-product-card:hover,.home-product-card:hover,.product-card:hover{transform:translateY(-4px);box-shadow:var(--ui-shadow-hover);border-color:#cce5da}
.product-art,.product-image,.shop-product-image{background:linear-gradient(145deg,#f8faf9,#edf3f0);border-radius:14px}
.shop-service-banner{border-radius:24px;background:linear-gradient(115deg,#075f50,#07836d 62%,#18a080);box-shadow:0 18px 40px rgba(7,95,80,.18);color:#fff;padding:clamp(24px,4vw,42px)}
.shop-service-banner h2{font-size:clamp(24px,3vw,36px);letter-spacing:-.04em}
.shop-button{border-radius:12px;font-weight:800}
.shop-button:hover,.primary:hover,.btn:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(8,131,109,.18)}
.shop-button-light{background:#fff;color:#076b58}
.store-v95{max-width:1500px;padding:24px clamp(14px,3vw,42px) 80px}
.store-intro{border-radius:26px;background:linear-gradient(115deg,#eaf7f1 0%,#f7fbf9 58%,#e8f4ef 100%);border:1px solid #deeee6;padding:clamp(24px,4vw,44px);box-shadow:0 12px 36px rgba(20,47,43,.045)}
.store-intro h1{font-size:clamp(32px,4.6vw,54px);letter-spacing:-.055em;line-height:1.04;color:#172b27}
.store-intro h1 em{color:var(--ui-green);font-style:normal}
.store-toolbar{background:#fff;border:1px solid var(--ui-line);border-radius:16px;padding:12px;box-shadow:0 6px 22px rgba(20,47,43,.04)}
.store-search,.store-sort{border:1px solid #e5ece9;border-radius:12px;background:#fbfdfc}
.store-product-grid{gap:16px}
.store-product-card,.store-card{border-radius:18px;border:1px solid #e7eeea;box-shadow:0 5px 18px rgba(20,47,43,.04)}
.store-product-card:hover,.store-card:hover{box-shadow:var(--ui-shadow-hover);transform:translateY(-3px)}
.content,.support-cards,.tiles{max-width:1300px}
.section-title{letter-spacing:-.045em}
.support-card,.tile{border:1px solid #e5ece9;border-radius:20px;box-shadow:0 8px 24px rgba(20,47,43,.045);background:#fff}
.form,.cart-row,.empty-state{border-radius:18px}
.primary,.btn,.form button[type=submit]{background:var(--ui-green);border-radius:12px;color:#fff;border:1px solid var(--ui-green);font-weight:800}
.primary:hover,.btn:hover,.form button[type=submit]:hover{background:var(--ui-green-dark)}
input,select,textarea{border:1px solid #dce6e2;border-radius:11px;background:#fff;color:var(--ui-ink)}
input:focus,select:focus,textarea:focus{border-color:#7fc8b5;box-shadow:0 0 0 4px rgba(8,131,109,.08);outline:0}
table{border-collapse:separate;border-spacing:0}
th{background:#f3f8f5;color:#52645d;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
td,th{border-bottom:1px solid #e8eeeb;padding:13px 14px}
.footer{background:#132a26;color:#e6f0ec;margin-top:54px}
.footer a{color:#c6d8d1}
.footer-bottom{border-color:rgba(255,255,255,.13)}
/* Installer: clear guided setup, premium calm palette */
body:has(.wrap .steps){background:radial-gradient(ellipse at 12% 0%,#dff3eb 0,transparent 42%),linear-gradient(135deg,#f7faf8,#eef5f1);color:var(--ui-ink)}
body:has(.wrap .steps) .wrap{max-width:860px;padding:42px 18px 64px}
body:has(.wrap .steps) .brand{font-size:18px;margin:8px 0 24px}
body:has(.wrap .steps) .mark{width:48px;height:48px;border-radius:15px;background:linear-gradient(145deg,#0b9277,#075f50);box-shadow:0 9px 22px rgba(7,131,109,.2)}
body:has(.wrap .steps) .card{border:1px solid #e1ebe6;border-radius:24px;box-shadow:0 24px 70px rgba(22,65,51,.09);padding:clamp(22px,4vw,42px)}
body:has(.wrap .steps) h1{font-size:clamp(28px,4vw,42px);letter-spacing:-.055em}
body:has(.wrap .steps) .steps{gap:12px}
body:has(.wrap .steps) .step{background:#f2f8f5;border:1px solid #e2eee8;border-radius:15px;padding:15px}
body:has(.wrap .steps) .step b{background:#dff3eb;color:#08745f}
body:has(.wrap .steps) .check{background:#fbfdfc;border-color:#e3ece7;border-radius:12px}
body:has(.wrap .steps) .btn{background:linear-gradient(110deg,#08745f,#0b9277);border-radius:13px;box-shadow:0 9px 22px rgba(8,131,109,.18)}
body:has(.wrap .steps) input{min-height:46px}
/* Admin: dashboard hierarchy, navigation, KPI cards and dense data tables */
body:has(#product-editor){background:#f4f8f6;color:#172b27}
body:has(#product-editor) .wrap{max-width:1500px;margin:0 auto;padding:30px clamp(14px,3vw,42px) 72px}
body:has(#product-editor) .wrap>h1{font-size:clamp(28px,3.6vw,42px);letter-spacing:-.05em;margin:0 0 6px}
body:has(#product-editor) .wrap>p.muted{max-width:900px;color:#687a73}
body:has(#product-editor) .grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:22px 0}
body:has(#product-editor) .grid>.card{position:relative;overflow:hidden;border:1px solid #e1ebe6;border-radius:18px;background:linear-gradient(145deg,#fff,#f8fcfa);box-shadow:0 8px 24px rgba(20,47,43,.045);padding:20px}
body:has(#product-editor) .grid>.card:after{content:"";position:absolute;width:76px;height:76px;right:-24px;top:-24px;border-radius:50%;background:#e5f5ee}
body:has(#product-editor) .num{font-size:32px;font-weight:850;letter-spacing:-.05em;color:#08745f;margin-top:6px}
body:has(#product-editor) .toolbar{display:flex;gap:9px;flex-wrap:wrap;padding:10px;background:#fff;border:1px solid #e4ece8;border-radius:16px;box-shadow:0 5px 18px rgba(20,47,43,.035);margin:16px 0}
body:has(#product-editor) .toolbar button{border:1px solid #dfe9e4;border-radius:10px;background:#f7faf8;color:#52645d;padding:10px 15px;font-weight:750;cursor:pointer}
body:has(#product-editor) .toolbar button:not(.secondary){background:#087c66;border-color:#087c66;color:#fff;box-shadow:0 5px 14px rgba(8,131,109,.15)}
body:has(#product-editor) .toolbar button:hover{transform:translateY(-1px)}
body:has(#product-editor) #notice{color:#08745f;font-weight:700;margin:10px 2px;min-height:22px}
body:has(#product-editor) #product-editor,body:has(#product-editor) main>.card{border:1px solid #e1ebe6;border-radius:20px;background:#fff;box-shadow:var(--ui-shadow);padding:clamp(16px,2vw,26px)}
body:has(#product-editor) #product-editor h2,body:has(#product-editor) main>.card h2{font-size:21px;letter-spacing:-.035em}
body:has(#product-editor) #product-form label{color:#4c6058;font-size:12px;font-weight:750}
body:has(#product-editor) #product-form input,body:has(#product-editor) #product-form select,body:has(#product-editor) #product-form textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid #dfe8e3;border-radius:10px;background:#fcfefd}
body:has(#product-editor) .photo-upload{padding:16px;border:1px dashed #a9cfc0;border-radius:15px;background:#f7fbf9}
body:has(#product-editor) .photo-preview{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
body:has(#product-editor) .photo-item{background:#fff;border:1px solid #e4ece7;border-radius:13px;padding:8px}
body:has(#product-editor) .photo-preview img{width:116px;height:116px;object-fit:contain;border:0;border-radius:9px;background:#f4f7f5}
body:has(#product-editor) .table-wrap{overflow:auto;border:1px solid #e4ece8;border-radius:14px}
body:has(#product-editor) table{width:100%;min-width:850px;background:#fff}
body:has(#product-editor) th{position:sticky;top:0;background:#f0f7f3;color:#52645d;z-index:1}
body:has(#product-editor) td{vertical-align:top;font-size:13px;color:#41534c}
body:has(#product-editor) td button{border:1px solid #dce9e2;border-radius:9px;background:#f3f9f6;padding:8px 10px;color:#08745f;font-weight:750}
body:has(#product-editor) td button:hover{background:#e2f4eb}
body:has(#product-editor) td input,body:has(#product-editor) td select,body:has(#product-editor) td textarea{max-width:220px;margin:4px 0;padding:8px}
@media(max-width:1000px){body:has(#product-editor) .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
 .nav-inner{min-height:62px}
 .home-deals{border-radius:18px;padding:20px 16px}
 .home-deals-heading{align-items:flex-start}
 .home-deals-heading h1{font-size:32px}
 .store-intro{border-radius:18px}
 body:has(.wrap .steps) .wrap{padding:24px 12px 42px}
 body:has(.wrap .steps) .steps{grid-template-columns:1fr}
 body:has(.wrap .steps) .checks{grid-template-columns:1fr}
 body:has(#product-editor) .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 body:has(#product-editor) .grid>.card{padding:14px}
 body:has(#product-editor) .num{font-size:25px}
 body:has(#product-editor) .toolbar{overflow-x:auto;flex-wrap:nowrap}
 body:has(#product-editor) .toolbar button{white-space:nowrap}
 body:has(#product-editor) .wrap{padding:20px 12px 48px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
