/* iMobi.uz V104 — elevated visual refinement layer */
:root{
 --v104-forest:#075d4f;--v104-green:#07836d;--v104-mint:#e6f5ee;
 --v104-ink:#142722;--v104-muted:#687a73;--v104-border:#e1ebe6;
 --v104-paper:#fff;--v104-bg:#f4f8f6;--v104-radius:22px;
 --v104-shadow:0 14px 38px rgba(17,54,43,.075);
 --v104-shadow-strong:0 24px 60px rgba(17,54,43,.14);
}
body{font-feature-settings:"ss01" on,"cv11" on}
::selection{background:#bfe9d8;color:#104d40}
img{max-width:100%}
a{text-underline-offset:3px}
.global-nav{background:rgba(255,255,255,.9);backdrop-filter:saturate(160%) blur(20px);border-bottom:1px solid rgba(8,85,67,.09)}
.nav-inner{max-width:1540px;min-height:76px}
.brand{font-size:20px;letter-spacing:-.06em}
.brand-mark{position:relative;isolation:isolate}
.brand-mark:after{content:"";position:absolute;inset:-4px;border:1px solid rgba(8,131,109,.22);border-radius:15px;z-index:-1}
.nav-links a{position:relative}
.nav-links a:after{content:"";position:absolute;left:0;right:100%;bottom:1px;height:2px;border-radius:2px;background:var(--v104-green);transition:right .2s ease}
.nav-links a:hover:after,.nav-links a[aria-current=page]:after{right:0}
.icon-link{box-shadow:0 3px 10px rgba(20,47,43,.035)}
/* Homepage visual hierarchy */
.shop-home{padding-top:28px}
.home-store-search{max-width:960px;margin-bottom:30px}
.home-search-box{min-height:60px;border-radius:18px;padding:0 20px;box-shadow:0 12px 32px rgba(16,64,48,.065)}
.home-search-box svg{width:21px;height:21px;stroke:#0b806c;stroke-width:1.8;fill:none}
.home-deals{position:relative;isolation:isolate;border-radius:30px;padding:clamp(28px,4.5vw,54px);background:linear-gradient(118deg,#eaf7f0 0%,#f7fbf8 48%,#e4f3eb 100%);border-color:#d9ebe1;box-shadow:0 18px 50px rgba(15,77,57,.07)}
.home-deals:before{content:"";position:absolute;z-index:-1;width:420px;height:420px;right:-110px;top:-190px;border-radius:50%;background:radial-gradient(circle,rgba(19,151,111,.16),rgba(19,151,111,0) 68%)}
.home-deals:after{content:"";position:absolute;z-index:-1;width:250px;height:250px;right:20%;bottom:-210px;border-radius:50%;background:radial-gradient(circle,rgba(127,195,160,.17),transparent 70%)}
.home-deals-heading h1{max-width:760px;font-size:clamp(36px,5.2vw,64px);line-height:.99;letter-spacing:-.065em}
.home-deals-heading p{font-size:16px;line-height:1.7;max-width:590px}
.shop-kicker{display:inline-flex;align-items:center;gap:9px}
.shop-kicker:before{content:"";width:22px;height:2px;background:currentColor;border-radius:2px}
.home-deals-heading>a{width:54px;height:54px;border-radius:17px;box-shadow:0 12px 28px rgba(7,131,109,.25)}
.home-category-chips{margin:26px 0 28px}
.home-category-chips a,.home-category-chips button{padding:10px 17px;border-radius:999px;box-shadow:0 3px 9px rgba(24,66,49,.035)}
/* Product cards and image consistency */
.shop-product-grid,.home-product-grid,.store-product-grid{gap:18px}
.shop-product-card,.home-product-card,.product-card,.store-product-card,.store-card{position:relative;border-radius:21px;border-color:#e5ede8;box-shadow:0 8px 24px rgba(19,58,43,.045)}
.shop-product-card:focus-within,.home-product-card:focus-within,.product-card:focus-within{outline:3px solid rgba(8,131,109,.16);outline-offset:2px}
.shop-product-card img,.home-product-card img,.store-product-card img,.product-card img{transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.shop-product-card:hover img,.home-product-card:hover img,.store-product-card:hover img,.product-card:hover img{transform:scale(1.035)}
.product-art,.product-image,.shop-product-image{overflow:hidden;background:radial-gradient(ellipse at 50% 35%,#fff 0,#f4f8f5 68%,#edf3ef 100%)}
.home-all-products{display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border:1px solid #d6e8de;border-radius:13px;background:#fff;color:#08745f;font-weight:800}
.catalog-note{color:#75847d;font-size:13px}
.shop-service-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;padding:clamp(28px,4vw,48px);background:linear-gradient(112deg,#064e43 0%,#08735e 54%,#119879 100%)}
.shop-service-banner:after{content:"";position:absolute;z-index:-1;right:-70px;top:-140px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(255,255,255,.14);box-shadow:0 0 0 34px rgba(255,255,255,.035),0 0 0 70px rgba(255,255,255,.025)}
.service-orb{filter:drop-shadow(0 16px 28px rgba(0,0,0,.2))}
/* Marketplace */
.store-v95{padding-top:30px}
.store-intro{position:relative;isolation:isolate;overflow:hidden;border-radius:28px;padding:clamp(28px,4.5vw,52px);background:linear-gradient(118deg,#eaf7f0,#f9fcfa 55%,#e5f4ec)}
.store-intro:after{content:"";position:absolute;z-index:-1;width:340px;height:340px;right:-80px;bottom:-190px;border-radius:50%;background:radial-gradient(circle,rgba(9,137,102,.16),transparent 68%)}
.store-intro h1{font-size:clamp(36px,5vw,62px);line-height:.99;letter-spacing:-.065em}
.store-intro p{max-width:610px;line-height:1.75;font-size:15px}
.store-intro-mark{filter:drop-shadow(0 20px 32px rgba(6,96,73,.13))}
.store-toolbar{position:sticky;top:82px;z-index:20;display:flex;gap:12px;align-items:center;box-shadow:0 10px 28px rgba(17,54,43,.065);backdrop-filter:blur(14px)}
.store-sidebar{border:1px solid var(--v104-border);border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(17,54,43,.035);padding:18px}
.store-category-list a{border-radius:10px;transition:background .18s,color .18s}
.store-category-list a:hover,.store-category-list a.active{background:#e9f6ef;color:#076b58}
.store-results-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 14px}
.store-results{color:#687a73;font-size:13px;font-weight:650}
.store-empty,.store-loading{border:1px dashed #cdded4;border-radius:18px;background:#fbfdfc;padding:30px}
/* Profile and account */
.profile-page{padding:34px 0 80px;background:radial-gradient(ellipse at 90% 0%,rgba(7,131,109,.075),transparent 32%),linear-gradient(180deg,#f5f9f7,#f3f6f5)}
.profile-wrap{max-width:1260px}
.profile-identity.panel,.profile-sidebar.panel,.profile-page .panel{border:1px solid #e2ebe6;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(20,55,43,.055)}
.profile-identity.panel{padding:clamp(18px,3vw,30px);gap:18px}
.profile-avatar{box-shadow:0 0 0 6px #e8f5ee,0 10px 25px rgba(7,131,109,.16)}
.profile-name-row h2{letter-spacing:-.045em;font-size:clamp(22px,3vw,30px)}
.profile-rating{border:1px solid #e1eee7;border-radius:15px;background:#f6fbf8;padding:12px 15px}
.profile-sidebar{padding:14px}
.sidebar-link{border-radius:12px;transition:background .18s,color .18s,transform .18s}
.sidebar-link:hover{background:#f0f8f4;transform:translateX(2px)}
.sidebar-link.active{background:linear-gradient(100deg,#e4f4eb,#f4faf6);color:#076b58;font-weight:800}
.sidebar-ico{border-radius:10px}
.profile-footer{margin-top:42px}
/* Authentication pages */
.auth-body{background:radial-gradient(ellipse at 15% 8%,rgba(10,142,107,.22),transparent 32%),radial-gradient(ellipse at 90% 85%,rgba(8,99,78,.18),transparent 36%),#0c1714}
.auth-topbar{background:rgba(10,22,18,.8);backdrop-filter:blur(18px);border-bottom-color:rgba(255,255,255,.09)}
.auth-form,.login-reference-card{border:1px solid rgba(255,255,255,.12);border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.28)}
.auth-submit{border-radius:13px;background:linear-gradient(105deg,#07836d,#12a17e);box-shadow:0 12px 30px rgba(7,131,109,.22)}
.auth-submit:hover{filter:brightness(1.07);transform:translateY(-2px)}
.field-wrap input{border-radius:12px}
/* Install flow */
body:has(.wrap .steps) .wrap{max-width:900px}
body:has(.wrap .steps) .card{position:relative;overflow:hidden}
body:has(.wrap .steps) .card:before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,#075d4f,#0b9b78,#a9dfc4)}
body:has(.wrap .steps) .steps{margin:28px 0}
body:has(.wrap .steps) .step{position:relative;min-height:94px;display:flex;flex-direction:column;justify-content:center}
body:has(.wrap .steps) .step b{box-shadow:0 4px 10px rgba(7,131,109,.1)}
body:has(.wrap .steps) .section{padding-top:24px;margin-top:26px}
body:has(.wrap .steps) .section h3{letter-spacing:-.025em}
body:has(.wrap .steps) .btn{min-height:52px;letter-spacing:-.01em}
/* Admin dashboard */
body:has(#product-editor) .wrap>h1{display:flex;align-items:center;gap:12px}
body:has(#product-editor) .wrap>h1:before{content:"";width:9px;height:34px;border-radius:8px;background:linear-gradient(#0b9a78,#075d4f);box-shadow:0 5px 14px rgba(7,131,109,.2)}
body:has(#product-editor) .grid>.card{min-height:112px;display:flex;flex-direction:column;justify-content:center}
body:has(#product-editor) .grid>.card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(20,65,48,.1)}
body:has(#product-editor) .toolbar{position:sticky;top:82px;z-index:30;backdrop-filter:blur(16px);background:rgba(255,255,255,.92)}
body:has(#product-editor) .toolbar button{min-height:42px;padding-inline:17px}
body:has(#product-editor) #product-editor{scroll-margin-top:110px}
body:has(#product-editor) #product-form .photo-upload{transition:border-color .2s,background .2s}
body:has(#product-editor) #product-form .photo-upload:focus-within{border-color:#07836d;background:#f0faf5}
body:has(#product-editor) .table-wrap{box-shadow:inset 0 1px #fff,0 8px 24px rgba(20,47,43,.035)}
body:has(#product-editor) tbody tr:hover{background:#f8fcfa}
body:has(#product-editor) td button{cursor:pointer}
/* Shared controls and feedback */
.notice,.msg,.auth-message{border-radius:13px}
.empty-state{border:1px dashed #cbded4;background:#fbfdfc}
button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:900px){
 .store-toolbar{top:70px}
 body:has(#product-editor) .toolbar{top:70px}
 .profile-layout{gap:16px}
}
@media(max-width:640px){
 .shop-home{padding-top:16px}
 .home-deals{border-radius:20px;padding:24px 17px}
 .home-deals-heading h1{font-size:36px}
 .home-search-box{min-height:54px}
 .store-intro{border-radius:20px;padding:24px 18px}
 .store-intro h1{font-size:38px}
 .store-toolbar{position:relative;top:auto;flex-wrap:wrap}
 .store-results-head{align-items:flex-start;flex-direction:column}
 .profile-page{padding-top:18px}
 .profile-identity.panel{border-radius:17px}
 .profile-sidebar.panel{border-radius:17px}
 body:has(.wrap .steps) .step{min-height:auto}
 body:has(#product-editor) .toolbar{position:relative;top:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}
