/* iMobi.uz V105 — Apple Minimal Luxury. Scoped away from the global top navigation. */
:root{
  --apple-ink:#1d1d1f;--apple-muted:#6e6e73;--apple-line:#e5e5ea;
  --apple-paper:#fff;--apple-canvas:#f5f5f7;--apple-blue:#06c;
  --apple-blue-dark:#0057b8;--apple-radius:20px;
  --apple-shadow:0 8px 28px rgba(0,0,0,.045);
  --apple-shadow-hover:0 18px 44px rgba(0,0,0,.085);
}
/* Content canvas — global header styles and geometry are intentionally untouched. */
main,.content,.wrap{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--apple-ink);letter-spacing:-.018em;-webkit-font-smoothing:antialiased}
main:not(.auth-body){background:transparent}
.shop-home,.store-v95,.profile-page,.personal-page,.account-extra,.content{background:var(--apple-canvas)}
.shop-home{max-width:1500px;padding:24px clamp(14px,3vw,40px) 72px}
/* Homepage */
.home-store-search{max-width:920px;margin:0 auto 26px}
.home-search-box{min-height:54px;border:1px solid #dedee3;border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 4px 16px rgba(0,0,0,.035);padding:0 18px}
.home-search-box:focus-within{border-color:#8bbcff;box-shadow:0 0 0 4px rgba(0,102,204,.09)}
.home-deals{border:1px solid #e7e7eb;border-radius:26px;background:linear-gradient(135deg,#fff 0%,#f7f7f9 72%,#f0f0f3 100%);box-shadow:var(--apple-shadow);padding:clamp(26px,4vw,46px)}
.home-deals:before,.home-deals:after{display:none}
.shop-kicker{color:#6e6e73;font-size:10px;letter-spacing:.15em;font-weight:750}
.shop-kicker:before{background:#a1a1a6;width:18px}
.home-deals-heading h1{color:#1d1d1f;font-size:clamp(34px,4.7vw,58px);line-height:1.04;letter-spacing:-.06em;font-weight:760}
.home-deals-heading p{color:#6e6e73;font-size:15px;line-height:1.65}
.home-deals-heading>a{background:#1d1d1f;color:#fff;width:46px;height:46px;border-radius:50%;box-shadow:none}
.home-category-chips a,.home-category-chips button{background:#fff;border:1px solid #e3e3e8;color:#424245;border-radius:999px;padding:9px 15px;font-size:12px;font-weight:650;box-shadow:none}
.home-category-chips .active,.home-category-chips a:hover,.home-category-chips button:hover{background:#1d1d1f;border-color:#1d1d1f;color:#fff}
.shop-product-grid,.home-product-grid,.store-product-grid{gap:16px}
.shop-product-card,.home-product-card,.product-card,.store-product-card,.store-card{border:1px solid #e8e8ec;border-radius:19px;background:#fff;box-shadow:0 4px 16px rgba(0,0,0,.035);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.shop-product-card:hover,.home-product-card:hover,.product-card:hover,.store-product-card:hover,.store-card:hover{transform:translateY(-3px);border-color:#d4d4da;box-shadow:var(--apple-shadow-hover)}
.product-art,.product-image,.shop-product-image{background:linear-gradient(145deg,#fafafd,#f0f0f4);border-radius:14px}
.shop-service-banner{border:1px solid #202024;border-radius:24px;background:linear-gradient(120deg,#171719,#303036);box-shadow:none;color:#fff;padding:clamp(24px,4vw,40px)}
.shop-service-banner h2{letter-spacing:-.045em;font-weight:720}
.shop-button,.shop-button-light,.home-all-products{border-radius:999px;font-weight:700;box-shadow:none}
.shop-button-light{background:#fff;color:#1d1d1f}
/* Catalog and product details */
.store-v95{max-width:1500px;padding:26px clamp(14px,3vw,40px) 76px}
.store-intro{border:1px solid #e7e7eb;border-radius:25px;background:linear-gradient(135deg,#fff,#f4f4f6);box-shadow:var(--apple-shadow);padding:clamp(25px,4vw,44px)}
.store-intro:after{display:none}
.store-intro h1{color:#1d1d1f;font-size:clamp(34px,4.7vw,58px);letter-spacing:-.06em;line-height:1.04}
.store-intro h1 em{color:#06c}
.store-intro p{color:#6e6e73;line-height:1.7}
.store-eyebrow{color:#73737a;letter-spacing:.14em;font-weight:750}
.store-toolbar{border:1px solid #e7e7eb;border-radius:16px;background:rgba(255,255,255,.94);box-shadow:0 6px 20px rgba(0,0,0,.04);backdrop-filter:blur(16px)}
.store-search,.store-sort{border:1px solid #dedee3;border-radius:11px;background:#fafafd;color:#1d1d1f}
.store-sidebar{border:1px solid #e7e7eb;border-radius:17px;background:#fff;box-shadow:none}
.store-category-list a:hover,.store-category-list a.active{background:#f0f0f3;color:#06c}
.store-results{color:#6e6e73}
.store-empty,.store-loading{border:1px dashed #d5d5dc;border-radius:17px;background:#fff}
.store-detail-grid{gap:clamp(24px,4vw,54px)}
.store-detail-media,.store-detail-gallery{border:1px solid #e8e8ec;border-radius:22px;background:linear-gradient(145deg,#fff,#f3f3f6);padding:clamp(14px,2vw,24px)}
.store-detail-gallery img{max-height:560px;object-fit:contain}
.store-detail-thumb{border:1px solid #e5e5ea;border-radius:12px;background:#fff}
.store-detail-thumb.active{border-color:#06c;box-shadow:0 0 0 2px rgba(0,102,204,.1)}
.store-detail-info{border:1px solid #e8e8ec;border-radius:22px;background:#fff;padding:clamp(22px,3vw,34px);box-shadow:var(--apple-shadow)}
.store-detail-info h1{font-size:clamp(28px,3.5vw,42px);letter-spacing:-.055em;line-height:1.08}
.store-detail-description,.store-checkout-hint{color:#6e6e73;line-height:1.7}
.store-detail-price{font-size:clamp(24px,3vw,34px);font-weight:760;letter-spacing:-.04em}
.store-stock{color:#24834b;font-weight:650}
.store-stock.out{color:#b54747}
.store-detail-buy button,.store-primary{border:1px solid #06c;border-radius:999px;background:#06c;color:#fff;font-weight:700;min-height:46px;padding:0 23px}
.store-detail-buy button:hover,.store-primary:hover{background:#0057b8}
.store-detail-buy a{color:#06c;font-weight:650}
/* Cart and checkout */
.store-cart-heading h1{letter-spacing:-.055em}
.store-cart-items,.store-checkout-card,.store-cart-layout>.card{border:1px solid #e8e8ec;border-radius:19px;background:#fff;box-shadow:var(--apple-shadow)}
.store-checkout-card{padding:clamp(18px,3vw,28px)}
.store-checkout-form input,.store-checkout-form select,.store-checkout-form textarea{border:1px solid #dedee3;border-radius:11px;background:#fff;min-height:44px}
.store-safe-note{color:#6e6e73}
/* Profile and account pages */
.profile-page,.personal-page,.account-extra{min-height:65vh;padding:clamp(22px,3vw,38px) 14px 72px;background:var(--apple-canvas)}
.profile-wrap{max-width:1200px}
.profile-identity.panel,.profile-sidebar.panel,.profile-page .panel,.personal-card,.extra-card,.support-card{border:1px solid #e7e7eb;border-radius:19px;background:#fff;box-shadow:var(--apple-shadow)}
.profile-identity.panel{padding:clamp(18px,3vw,28px)}
.profile-avatar{box-shadow:0 0 0 5px #f1f1f4,0 5px 16px rgba(0,0,0,.07)}
.profile-name-row h2{font-size:clamp(22px,2.5vw,29px);letter-spacing:-.045em}
.profile-rating{border:1px solid #e9e9ed;border-radius:13px;background:#fafafd}
.profile-sidebar{padding:12px}
.sidebar-title{color:#8a8a91;letter-spacing:.12em}
.sidebar-link{border-radius:11px;color:#424245}
.sidebar-link:hover{background:#f5f5f7;transform:none}
.sidebar-link.active{background:#f0f0f3;color:#06c;font-weight:700}
.sidebar-ico{background:#f3f3f6;border-radius:9px}
.personal-page{max-width:none}
.personal-top,.personal-card,.account-extra>.extra-head,.extra-card{max-width:980px;margin-left:auto;margin-right:auto}
.personal-card,.extra-card{padding:clamp(20px,3vw,32px)}
.personal-card-head h2,.extra-title h1{letter-spacing:-.045em}
.personal-field{border-bottom:1px solid #eeeeF1;padding:13px 0}
.personal-field span{color:#77777e}
.personal-actions{max-width:980px;margin:22px auto}
.personal-primary,.extra-btn{border-radius:999px;background:#1d1d1f;color:#fff;border:1px solid #1d1d1f;font-weight:700;padding:12px 20px}
.personal-secondary{border-radius:999px;border:1px solid #dedee3;background:#fff;color:#1d1d1f;padding:12px 20px}
.account-extra>.extra-head{display:flex;align-items:center;gap:16px;margin-bottom:18px}
.extra-back,.personal-back{width:42px;height:42px;border:1px solid #e3e3e8;border-radius:50%;background:#fff;color:#1d1d1f;display:grid;place-items:center}
/* Content, support, product editorial pages */
.content{max-width:1280px;margin:0 auto;padding:clamp(26px,4vw,48px) clamp(16px,3vw,34px) 70px}
.content>.lead,.content .lead{border-radius:22px;background:linear-gradient(135deg,#fff,#f5f5f7);border:1px solid #e8e8ec;padding:clamp(22px,3vw,34px);color:#6e6e73}
.content h1,.content h2,.content h3{letter-spacing:-.045em;color:#1d1d1f}
.support-cards,.support-grid,.tiles{gap:16px}
.support-card,.tile{border:1px solid #e8e8ec;border-radius:18px;background:#fff;box-shadow:var(--apple-shadow);padding:clamp(18px,2.5vw,26px)}
.tile{background:linear-gradient(145deg,#fff,#f5f5f7)}
.tile.dark{background:#1d1d1f;border-color:#1d1d1f;color:#fff}
.pill{border-radius:999px}
/* Forms and controls — scoped to content, leaving header controls untouched. */
main input,main select,main textarea,.wrap input,.wrap select,.wrap textarea{border:1px solid #dedee3;border-radius:11px;background:#fff;color:#1d1d1f;min-height:42px;padding:10px 12px}
main input:focus,main select:focus,main textarea:focus,.wrap input:focus,.wrap select:focus,.wrap textarea:focus{outline:0;border-color:#6aa8ed;box-shadow:0 0 0 4px rgba(0,102,204,.09)}
main button,.wrap button{border-radius:11px;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
main button:focus-visible,.wrap button:focus-visible{outline:3px solid rgba(0,102,204,.22);outline-offset:2px}
main button:disabled,.wrap button:disabled{opacity:.55;cursor:not-allowed}
.primary,.btn,.form button[type=submit],.extra-btn{background:#1d1d1f;color:#fff;border:1px solid #1d1d1f;border-radius:999px;font-weight:700}
.primary:hover,.btn:hover,.form button[type=submit]:hover,.extra-btn:hover{background:#353539;transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,0,0,.1)}
main table,.wrap table{border-collapse:separate;border-spacing:0;background:#fff;border-radius:14px;overflow:hidden}
main th,.wrap th{background:#f5f5f7;color:#6e6e73;font-size:11px;letter-spacing:.06em}
main td,main th,.wrap td,.wrap th{border-bottom:1px solid #ededf0;padding:12px 14px}
/* Authentication pages — calm white card, balanced sizing, no oversized controls. */
body.auth-body.login-reference,body.auth-body.register-reference{background:radial-gradient(ellipse at 50% 0%,#fff 0%,#f5f5f7 68%,#eeeeF2 100%);color:#1d1d1f;padding:clamp(12px,2.5vw,24px)}
.login-reference-main,.register-reference-main{min-height:calc(100vh - 48px);align-items:center}
.login-reference-card,.register-reference-card{width:min(100%,520px);min-height:0;padding:clamp(26px,4vw,42px);border:1px solid #e7e7eb;border-radius:25px;background:rgba(255,255,255,.96);box-shadow:0 18px 55px rgba(0,0,0,.07)}
.login-reference-icon{width:70px;height:70px;border-radius:22px;background:#1d1d1f;box-shadow:none;margin-bottom:22px}
.login-reference-card h1,.register-reference-card h1{font-size:clamp(28px,4vw,36px);color:#1d1d1f;letter-spacing:-.055em}
.login-reference-subtitle{font-size:15px;color:#6e6e73;margin:10px 0 24px}
.login-reference-form,.register-reference-form{gap:10px}
.login-reference-form .field-wrap,.register-reference-form .field-wrap{margin-bottom:8px}
.login-reference-form .field-wrap input,.register-reference-form .field-wrap input{height:48px;border:1px solid #dedee3;border-radius:11px;background:#fff;color:#1d1d1f;padding:0 46px;font-size:15px;box-shadow:none}
.login-reference-form .field-wrap>svg,.register-reference-form .field-wrap>svg{left:15px;width:18px;height:18px;stroke:#8a8a91}
.login-reference-form .password-toggle,.register-reference-form .password-toggle{right:8px;width:36px;height:36px;color:#77777e}
.login-reference-form .auth-submit,.register-reference-form .auth-submit{min-height:48px;border-radius:999px;background:#1d1d1f;color:#fff;font-size:15px;box-shadow:none;margin-top:8px}
.login-reference-form .auth-submit:hover,.register-reference-form .auth-submit:hover{background:#353539;box-shadow:0 8px 18px rgba(0,0,0,.1)}
.login-reference-register,.register-reference-login{font-size:13px;color:#6e6e73;margin-top:22px}
.login-reference-register a,.register-reference-login a{color:#06c}
.register-reference-card{max-width:560px}
.register-reference-form .field-wrap input{padding-left:44px}
.register-gender{gap:10px}
.gender-option{border:1px solid #e5e5ea;border-radius:11px;background:#fafafd}
.gender-option:has(input:checked){border-color:#06c;background:#f2f7ff}
/* Installer */
body:has(.wrap .steps){background:var(--apple-canvas);color:#1d1d1f}
body:has(.wrap .steps) .wrap{max-width:850px;padding:34px 16px 60px}
body:has(.wrap .steps) .brand{color:#1d1d1f}
body:has(.wrap .steps) .mark{background:#1d1d1f;border-radius:15px;box-shadow:none}
body:has(.wrap .steps) .card{border:1px solid #e7e7eb;border-radius:21px;background:#fff;box-shadow:0 16px 48px rgba(0,0,0,.06);padding:clamp(20px,4vw,36px)}
body:has(.wrap .steps) h1{font-size:clamp(28px,4vw,40px);letter-spacing:-.055em}
body:has(.wrap .steps) .step{background:#f5f5f7;border:1px solid #e8e8ec;border-radius:13px}
body:has(.wrap .steps) .step b{background:#1d1d1f;color:#fff}
body:has(.wrap .steps) .btn{background:#1d1d1f;border-radius:999px;min-height:48px;box-shadow:none}
/* Admin — neutral, compact CRM styling. Admin page content only; header component excluded. */
body:has(#product-editor) .wrap{max-width:1380px;padding:28px clamp(14px,3vw,34px) 70px}
body:has(#product-editor) .wrap>h1{font-size:clamp(28px,3.5vw,40px);letter-spacing:-.055em}
body:has(#product-editor) .grid>.card{border:1px solid #e7e7eb;border-radius:17px;background:#fff;box-shadow:var(--apple-shadow);padding:19px}
body:has(#product-editor) .num{font-size:30px;color:#1d1d1f;letter-spacing:-.05em}
body:has(#product-editor) .toolbar{gap:8px}
body:has(#product-editor) .toolbar button{border-radius:999px;padding:10px 16px}
body:has(#product-editor) .toolbar button:not(.secondary){background:#1d1d1f;color:#fff}
body:has(#product-editor) .toolbar button.secondary{background:#f1f1f4;color:#424245}
body:has(#product-editor) #product-editor{border:1px solid #e7e7eb;border-radius:18px;box-shadow:var(--apple-shadow)}
body:has(#product-editor) .photo-upload{border:1px dashed #c9c9d1;border-radius:13px;background:#fafafd}
body:has(#product-editor) .table-wrap{border:1px solid #e8e8ec;border-radius:15px;background:#fff;overflow:auto}
body:has(#product-editor) tbody tr:hover{background:#f7f7f9}
/* Footer styling without changing the global top panel. */
.footer{background:#f0f0f3;color:#6e6e73;border-top:1px solid #e5e5ea}
.footer a{color:#424245}
.footer h4{color:#1d1d1f}
.footer-bottom{border-color:#dedee3;color:#86868b}
/* Responsive refinement */
@media(max-width:900px){.store-detail-grid{grid-template-columns:1fr}.store-detail-info{padding:22px}.profile-layout{gap:14px}}
@media(max-width:640px){
 .shop-home,.store-v95{padding-top:15px}
 .home-deals,.store-intro{border-radius:19px;padding:22px 17px}
 .home-deals-heading h1,.store-intro h1{font-size:clamp(31px,8vw,39px)}
 .home-search-box{min-height:50px}
 .shop-product-grid,.home-product-grid,.store-product-grid{gap:11px}
 .shop-product-card,.home-product-card,.product-card,.store-product-card,.store-card{border-radius:15px}
 .store-toolbar{position:relative;top:auto;flex-wrap:wrap}
 .store-detail-info{border-radius:17px}
 .profile-page,.personal-page,.account-extra{padding:18px 10px 52px}
 .profile-identity.panel,.profile-sidebar.panel,.personal-card,.extra-card{border-radius:16px}
 .content{padding:22px 14px 52px}
 .login-reference-main,.register-reference-main{min-height:calc(100svh - 24px)}
 .login-reference-card,.register-reference-card{border-radius:19px;padding:25px 19px}
 body:has(.wrap .steps) .wrap{padding-top:20px}
 body:has(#product-editor) .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){body:has(#product-editor) .grid{grid-template-columns:1fr}.personal-fields{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){main *,main *::before,main *::after,.wrap *,.wrap *::before,.wrap *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
