:root{color-scheme:light;--green:#07583e;--green-2:#0c6b4a;--ink:#123b2b;--muted:#657a6c;--line:#d6e2d7;--soft:#f2f7f1;--gold:#c98b18;--white:#fff;--shadow:0 15px 40px #143e2820;font-family:Inter,"Segoe UI",Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:#f4f8f3;color:var(--ink)}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}.profile-header{position:sticky;z-index:20;top:0;display:flex;align-items:center;gap:28px;min-height:68px;padding:10px max(22px,calc((100vw - 1460px)/2));border-bottom:1px solid var(--line);background:#fffffff3;backdrop-filter:blur(14px)}.profile-brand{display:flex;align-items:center;gap:9px;color:#073f2d;text-decoration:none}.profile-brand img{width:38px;height:38px}.profile-brand strong{font-family:Georgia,serif;font-size:21px}.profile-header nav{display:flex;gap:24px;margin-left:auto}.profile-header nav a{color:#254b37;font-size:12px;font-weight:800;text-decoration:none}.profile-cart{display:grid;width:38px;height:38px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff;text-decoration:none}.profile-loading{width:min(1380px,calc(100% - 32px));margin:36px auto;padding:18px;border:1px solid var(--line);border-radius:14px;background:#fff}.profile-layout{display:grid;grid-template-columns:250px minmax(0,1fr);width:min(1460px,100%);min-height:calc(100vh - 68px);margin:0 auto;background:#fff;box-shadow:var(--shadow)}.profile-sidebar{position:sticky;top:68px;display:flex;height:calc(100vh - 68px);padding:24px 16px 20px;overflow:hidden;flex-direction:column;background:linear-gradient(180deg,#0a4e39,#073927);color:#fff}.profile-side-title{display:flex;align-items:center;gap:10px;margin-bottom:22px;padding:0 6px}.profile-side-title>span{display:grid;width:42px;height:42px;place-items:center;flex:0 0 42px;border-radius:50%;background:#eff8f1;color:var(--green);font-family:Georgia,serif;font-size:20px;font-weight:900}.profile-side-title>div{display:grid;gap:3px}.profile-side-title strong{font-size:14px}.profile-side-title small{max-width:150px;overflow:hidden;color:#c5dbcd;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.profile-sidebar nav{display:grid;gap:5px}.profile-sidebar nav button{display:flex;align-items:center;gap:11px;width:100%;min-height:42px;padding:8px 12px;border:0;border-radius:8px;background:transparent;color:#eaf5ed;font-size:12px;font-weight:750;text-align:left}.profile-sidebar nav button span{display:grid;width:22px;place-items:center;font-size:15px}.profile-sidebar nav button:hover,.profile-sidebar nav button.is-active{background:#0d6849;color:#fff}.profile-logout{display:flex;align-items:center;gap:8px;margin-top:18px;padding:12px;border:0;border-top:1px solid #ffffff2e;background:transparent;color:#fff;font-size:12px;font-weight:800;text-align:left}.profile-sidebar>p{margin:auto -16px -20px;padding:65px 22px 26px;background:linear-gradient(0deg,#052b20e8,#07583e30),url('./assets/hero-natural-v2.png') center/cover;color:#fff;font-size:11px;line-height:1.4}.profile-sidebar>p em{color:#ead08a;font-family:"Segoe Script","Comic Sans MS",cursive;font-size:16px}.profile-main{min-width:0;padding:30px clamp(20px,3vw,44px) 60px}.profile-page-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:22px}.profile-page-heading h1{margin:0 0 5px;font-family:Georgia,serif;font-size:36px;letter-spacing:-.03em}.profile-page-heading p{margin:0;color:var(--muted);font-size:13px}.profile-page-heading>a{padding:9px 12px;border:1px solid var(--line);border-radius:9px;color:var(--green);font-size:11px;font-weight:850;text-decoration:none}.profile-section{display:grid;gap:16px}.profile-section[hidden]{display:none!important}.profile-hero-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:18px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#fff,#f2f8f2)}.profile-hero-card>span{display:grid;width:72px;height:72px;place-items:center;border:5px solid #e4f0e6;border-radius:50%;background:var(--green);color:#fff;font-family:Georgia,serif;font-size:30px;font-weight:900}.profile-hero-card h2{margin:0 0 5px;font-family:Georgia,serif;font-size:24px}.profile-hero-card p,.profile-hero-card small{display:block;margin:0;color:var(--muted);font-size:12px}.profile-hero-card button,.profile-overview-grid button,.profile-favorites-preview header a{padding:9px 12px;border:1px solid #a8c4af;border-radius:8px;background:#fff;color:var(--green);font-size:11px;font-weight:850;text-decoration:none}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.profile-stats>*{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;min-height:98px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff;color:inherit;text-align:left}.profile-stats button{cursor:pointer}.profile-stats>*>span{grid-row:1/4;display:grid;width:43px;height:43px;place-items:center;border-radius:11px;background:#e8f3e9;color:var(--green);font-size:20px}.profile-stats small{color:var(--muted);font-size:10px}.profile-stats strong{font-family:Georgia,serif;font-size:24px}.profile-stats em{color:var(--green);font-size:10px;font-style:normal;font-weight:800}.profile-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.8fr);gap:12px}.profile-overview-grid article,.profile-favorites-preview{padding:16px;border:1px solid var(--line);border-radius:13px;background:#fff}.profile-overview-grid header,.profile-favorites-preview header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.profile-overview-grid h3,.profile-favorites-preview h3{margin:0;font-family:Georgia,serif;font-size:17px}.profile-overview-grid header button{padding:0;border:0;background:transparent}.profile-address-card>div{display:flex;align-items:flex-start;gap:11px}.profile-address-card>div>span{display:grid;width:37px;height:37px;place-items:center;border-radius:10px;background:#e8f3e9;color:var(--green)}.profile-address-card p{display:grid;gap:4px;margin:0}.profile-address-card small{color:var(--muted);font-size:11px;line-height:1.45}.profile-latest-order-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px}.profile-latest-order-row img{width:70px;height:70px;object-fit:contain;border-radius:10px;background:var(--soft)}.profile-latest-order-row div{display:grid;gap:4px}.profile-latest-order-row strong{font-size:13px}.profile-latest-order-row span{color:var(--muted);font-size:10px}.profile-order-progress{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;margin-top:7px}.profile-order-progress i{height:4px;border-radius:3px;background:#d9e4da}.profile-order-progress i.is-done{background:#269469}.profile-products-grid,.profile-favorites-preview>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.profile-product-card{position:relative;display:grid;gap:5px;padding:9px;border:1px solid var(--line);border-radius:11px;background:#fff;color:inherit;text-decoration:none}.profile-product-card img{width:100%;aspect-ratio:1.15;object-fit:contain;border-radius:8px;background:var(--soft)}.profile-product-card strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.profile-product-card small{color:var(--muted);font-size:9px}.profile-section-intro{display:flex;align-items:center;gap:12px;padding:17px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(135deg,#f3f8f2,#fff)}.profile-section-intro>span{display:grid;width:45px;height:45px;place-items:center;border-radius:12px;background:#dcefe1;color:var(--green);font-size:21px}.profile-section-intro h2{margin:0 0 4px;font-family:Georgia,serif;font-size:24px}.profile-section-intro p{margin:0;color:var(--muted);font-size:12px}.profile-form{display:grid;gap:14px;max-width:900px;padding:21px;border:1px solid var(--line);border-radius:14px;background:#fff}.profile-form-grid{grid-template-columns:1fr 1fr}.profile-form label{display:grid;gap:7px;color:#315440;font-size:12px;font-weight:800}.profile-form input,.profile-form select,.profile-form textarea{width:100%;min-height:47px;padding:10px 12px;border:1px solid #c7d8ca;border-radius:9px;outline:0;background:#fbfdfb;color:var(--ink);font-size:14px}.profile-form textarea{resize:vertical}.profile-form input:focus,.profile-form select:focus,.profile-form textarea:focus{border-color:#177352;box-shadow:0 0 0 3px #17735217}.profile-form input:disabled{background:#eef3ee;color:#718075}.profile-form-wide{grid-column:1/-1}.profile-form-actions{display:flex;justify-content:flex-end;gap:9px}.profile-form-actions button{min-height:44px;padding:8px 19px;border:1px solid #aac0ae;border-radius:9px;background:#fff;color:var(--green);font-weight:850}.profile-form-actions button[type=submit]{border-color:var(--green);background:var(--green);color:#fff}.profile-form-status{min-height:18px;margin:0;color:#167048;font-size:11px}.profile-form-status.is-error{color:#a54036}.profile-address-note{padding:12px;border-radius:9px;background:#f0f7ef;color:#4f6958;font-size:11px}.profile-notifications{display:grid;max-width:900px;border:1px solid var(--line);border-radius:14px;background:#fff}.profile-notifications label{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px;border-bottom:1px solid var(--line)}.profile-notifications label:last-child{border:0}.profile-notifications span{display:grid;grid-template-columns:auto 1fr;gap:2px 10px}.profile-notifications span:first-letter{color:var(--green)}.profile-notifications b{font-size:13px}.profile-notifications small{grid-column:2;color:var(--muted);font-size:10px}.profile-notifications input{width:43px;height:23px;accent-color:var(--green)}.profile-orders-list{display:grid;gap:10px}.profile-order-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;background:#fff}.profile-order-card>span{display:grid;width:42px;height:42px;place-items:center;border-radius:10px;background:#e7f2e9;color:var(--green)}.profile-order-card div{display:grid;gap:3px}.profile-order-card strong{font-size:13px}.profile-order-card small{color:var(--muted);font-size:10px}.profile-order-card em{padding:6px 9px;border-radius:999px;background:#e5f2e8;color:var(--green);font-size:10px;font-style:normal;font-weight:850}.profile-empty{padding:24px;border:1px dashed #b9cbbb;border-radius:13px;background:#fff;color:var(--muted);text-align:center}.profile-mobile-nav{display:none}
@media(max-width:1050px){.profile-layout{grid-template-columns:210px minmax(0,1fr)}.profile-products-grid,.profile-favorites-preview>div{grid-template-columns:repeat(3,1fr)}.profile-stats{grid-template-columns:1fr 1fr}.profile-stats>*:last-child{grid-column:1/-1}.profile-overview-grid{grid-template-columns:1fr}}
@media(max-width:760px){body{padding-bottom:76px}.profile-header{min-height:58px;padding:8px 14px}.profile-brand img{width:32px;height:32px}.profile-brand strong{font-size:18px}.profile-header nav{display:none}.profile-layout{display:block;min-height:calc(100vh - 58px);box-shadow:none}.profile-sidebar{position:static;display:block;width:auto;height:auto;padding:12px 13px 0;overflow:visible;background:#fff;color:var(--ink)}.profile-side-title,.profile-sidebar>.profile-logout,.profile-sidebar>p{display:none}.profile-sidebar nav{display:flex;gap:7px;overflow-x:auto;padding-bottom:10px}.profile-sidebar nav button{width:auto;min-width:max-content;min-height:38px;padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#31533f;font-size:10px}.profile-sidebar nav button span{width:auto}.profile-sidebar nav button.is-active{border-color:var(--green);background:var(--green);color:#fff}.profile-main{padding:17px 13px 22px}.profile-page-heading{align-items:flex-start;margin-bottom:15px}.profile-page-heading h1{font-size:27px}.profile-page-heading p{font-size:11px}.profile-page-heading>a{display:none}.profile-hero-card{grid-template-columns:auto 1fr auto;padding:13px}.profile-hero-card>span{width:54px;height:54px;border-width:3px;font-size:23px}.profile-hero-card h2{font-size:18px}.profile-hero-card button{width:37px;height:37px;padding:0;overflow:hidden;font-size:0}.profile-hero-card button::after{font-size:16px;content:"✎"}.profile-stats{grid-template-columns:repeat(3,1fr);gap:7px}.profile-stats>*{display:grid;min-height:82px;padding:9px;text-align:center}.profile-stats>*:last-child{grid-column:auto}.profile-stats>*>span{grid-row:auto;width:30px;height:30px;margin:auto;font-size:14px}.profile-stats small{font-size:8px}.profile-stats strong{font-size:18px}.profile-stats em{font-size:8px}.profile-overview-grid{gap:8px}.profile-overview-grid article,.profile-favorites-preview{padding:12px}.profile-products-grid,.profile-favorites-preview>div{display:flex;overflow-x:auto}.profile-product-card{min-width:135px}.profile-section-intro{padding:13px}.profile-section-intro>span{width:38px;height:38px}.profile-section-intro h2{font-size:19px}.profile-form{padding:14px}.profile-form-grid{grid-template-columns:1fr}.profile-form-wide{grid-column:1}.profile-form-actions{display:grid;grid-template-columns:1fr 1fr}.profile-notifications label{padding:14px}.profile-mobile-nav{position:fixed;z-index:30;right:0;bottom:0;left:0;display:grid;grid-template-columns:repeat(5,1fr);padding:7px 4px calc(7px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fffffff4;backdrop-filter:blur(12px)}.profile-mobile-nav a,.profile-mobile-nav button{display:grid;gap:2px;place-items:center;padding:3px;border:0;background:transparent;color:#52695b;font-size:18px;text-decoration:none}.profile-mobile-nav small{font-size:8px;font-weight:750}.profile-mobile-nav .is-active{color:var(--green)}.profile-order-card{grid-template-columns:auto 1fr}.profile-order-card em{grid-column:2;justify-self:start}.profile-latest-order-row{grid-template-columns:auto 1fr}.profile-latest-order-row>strong{grid-column:2}.profile-order-progress{grid-column:1/-1}}
@media(max-width:390px){.profile-stats{gap:5px}.profile-stats>*{padding:7px}.profile-stats small{font-size:7px}.profile-hero-card{grid-template-columns:auto 1fr}.profile-hero-card button{position:absolute;right:24px}.profile-page-heading h1{font-size:25px}}

/* Chap profil menyusi: matn, belgilar va paxta rasmi bitta yaxlit blok. */
@media(min-width:761px){
  .profile-sidebar{padding:0;background:#063f2e;border-right:1px solid #0b513b}
  .profile-side-title{display:flex;align-items:center;min-height:72px;margin:0;padding:0 22px;border-bottom:1px solid #ffffff17}
  .profile-side-title strong{font-family:Georgia,serif;font-size:17px;letter-spacing:-.01em}
  .profile-side-title>[hidden]{display:none!important}
  .profile-sidebar nav{display:grid;gap:2px;padding:10px 10px 0}
  .profile-sidebar nav button{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 13px;border-radius:8px;color:#eef8f1;font-size:12px;font-weight:750;white-space:nowrap}
  .profile-sidebar nav button svg,.profile-logout svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .profile-sidebar nav button span,.profile-logout span{display:block;width:auto;min-width:0;font-size:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .profile-sidebar nav button:hover,.profile-sidebar nav button.is-active{background:#0b704f;box-shadow:inset 3px 0 #7fd0a5}
  .profile-logout{display:flex;align-items:center;gap:12px;width:calc(100% - 20px);min-height:48px;margin:10px 10px 0;padding:10px 13px;border:0;border-top:1px solid #ffffff21;border-radius:8px;color:#eef8f1}
  .profile-logout:hover{background:#0b5e44}
  .profile-side-art{position:relative;min-height:245px;margin-top:auto;overflow:hidden;background:linear-gradient(180deg,#063f2e05 0%,#052f23a8 78%,#052f23e8 100%),url('./assets/hero-cotton-knit-v5.png') left center/cover no-repeat}
  .profile-side-art::before{position:absolute;inset:0;background:linear-gradient(180deg,#063f2e 0%,transparent 28%);content:""}
  .profile-side-art p{position:relative;z-index:1;margin:0;padding:44px 20px 0;color:#fff;font-size:11px;line-height:1.45}
  .profile-side-art em{color:#f1d98f;font-family:"Segoe Script","Comic Sans MS",cursive;font-size:16px}
}
@media(min-width:761px) and (max-width:1050px){
  .profile-side-title{padding-inline:16px}.profile-side-title strong{font-size:15px}
  .profile-sidebar nav button,.profile-logout{gap:9px;padding-inline:10px;font-size:11px}
  .profile-side-art{min-height:220px}.profile-side-art p{padding-inline:16px}
}
@media(max-width:760px){
  .profile-side-art{display:none}
  .profile-sidebar nav button{display:flex;align-items:center;gap:6px}
  .profile-sidebar nav button svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .profile-sidebar nav button span{display:block;width:auto;font-size:inherit;white-space:nowrap}
}

/* O‘qilishi oson: kattaroq matn, qalinroq yozuv va aniq chegaralar. */
:root{--ink:#063c2b;--muted:#496b58;--line:#b8cdbb}
.profile-header{border-bottom-width:2px}.profile-header nav a{font-size:13px;font-weight:900}
.profile-main{font-size:15px}.profile-page-heading h1{font-size:40px;font-weight:800}.profile-page-heading p{font-size:15px;font-weight:650;line-height:1.5}.profile-page-heading>a{border-width:2px;font-size:12px;font-weight:900}
.profile-hero-card,.profile-stats>*,.profile-overview-grid article,.profile-favorites-preview,.profile-section-intro,.profile-form,.profile-notifications,.profile-order-card,.profile-product-card{border-width:2px}
.profile-hero-card h2{font-size:27px;font-weight:800}.profile-hero-card p{font-size:14px;font-weight:700}.profile-hero-card small{font-size:13px;font-weight:650}.profile-hero-card button,.profile-overview-grid button,.profile-favorites-preview header a{border-width:2px;font-size:12px;font-weight:900}
.profile-stats small{font-size:12px;font-weight:750}.profile-stats strong{font-size:27px;font-weight:800}.profile-stats em{font-size:11px;font-weight:900}
.profile-overview-grid h3,.profile-favorites-preview h3{font-size:20px;font-weight:800}.profile-address-card p{font-size:14px;font-weight:800}.profile-address-card small,.profile-latest-order-row span{font-size:12px;font-weight:650}.profile-latest-order-row strong{font-size:14px;font-weight:850}
.profile-product-card strong{font-size:12.5px;font-weight:850}.profile-product-card small{font-size:11px;font-weight:700}.profile-empty{border-width:2px;font-size:14px;font-weight:650}
.profile-section-intro h2{font-size:27px;font-weight:800}.profile-section-intro p{font-size:14px;font-weight:650}.profile-form label{font-size:13px;font-weight:900}.profile-form input,.profile-form select,.profile-form textarea{border-width:2px;font-size:15px}.profile-form-status,.profile-address-note{font-size:12px;font-weight:650}
.profile-notifications b{font-size:14px;font-weight:900}.profile-notifications small{font-size:12px;font-weight:650}.profile-order-card strong{font-size:14px;font-weight:850}.profile-order-card small,.profile-order-card em{font-size:11px;font-weight:750}
.profile-form label[hidden]{display:none!important}
.profile-address-icon,.profile-solid-icon{border-radius:7px!important;background:#0b7a55!important;color:#fff!important}.profile-address-icon svg,.profile-solid-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:761px){.profile-side-title strong{font-size:18px}.profile-sidebar nav button,.profile-logout{font-size:13px;font-weight:850}}
@media(max-width:760px){
  .profile-main{font-size:14px}.profile-page-heading h1{font-size:30px}.profile-page-heading p{font-size:13px}
  .profile-sidebar nav button{font-size:11px;font-weight:800}.profile-hero-card h2{font-size:20px}.profile-hero-card p,.profile-hero-card small{font-size:12px}
  .profile-stats small{font-size:10px}.profile-stats strong{font-size:21px}.profile-stats em{font-size:10px}
  .profile-overview-grid h3,.profile-favorites-preview h3{font-size:17px}.profile-address-card small,.profile-latest-order-row span{font-size:11px}
  .profile-product-card strong{font-size:12px}.profile-product-card small{font-size:10.5px}.profile-section-intro h2{font-size:21px}.profile-section-intro p{font-size:12px}
  .profile-form label{font-size:12.5px}.profile-form input,.profile-form select,.profile-form textarea{font-size:15px}.profile-notifications b{font-size:13px}.profile-notifications small{font-size:11px}
}

/* Profil uchun tun/tong rejimi. */
.profile-theme-toggle{position:fixed;z-index:45;right:18px;bottom:18px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:76px;min-height:40px;padding:8px 13px;border:2px solid var(--line);border-radius:999px;background:#fff;color:var(--green);box-shadow:0 8px 24px #102b1b2b;font-size:12px;font-weight:900}.profile-theme-toggle:hover{transform:translateY(-1px);background:#eef6ed}.profile-theme-toggle .theme-icon{font-size:16px}
html[data-theme="dark"]{color-scheme:dark;--ink:#e9f4ec;--muted:#abc0b1;--line:#3b5545;--soft:#203229;--white:#19271f;background:#101a14}
html[data-theme="dark"] body{background:#101a14;color:var(--ink)}
html[data-theme="dark"] .profile-header{border-color:#354c3e;background:#16231bf2}
html[data-theme="dark"] .profile-brand,html[data-theme="dark"] .profile-header nav a{color:#eef8f1}
html[data-theme="dark"] .profile-cart{border-color:#3d5747;background:#203229;color:#eff8f1}
html[data-theme="dark"] .profile-loading,html[data-theme="dark"] .profile-layout{border-color:#354c3e;background:#101a14;color:var(--ink);box-shadow:none}
html[data-theme="dark"] .profile-main{background:#101a14}
html[data-theme="dark"] .profile-page-heading>a,html[data-theme="dark"] .profile-hero-card button,html[data-theme="dark"] .profile-overview-grid button,html[data-theme="dark"] .profile-favorites-preview header a,html[data-theme="dark"] .profile-form-actions button{border-color:#4b6b57;background:#203229;color:#e5f2e8}
html[data-theme="dark"] .profile-hero-card{border-color:var(--line);background:linear-gradient(135deg,#1b2b22,#203229)}
html[data-theme="dark"] .profile-stats>*,html[data-theme="dark"] .profile-overview-grid article,html[data-theme="dark"] .profile-favorites-preview,html[data-theme="dark"] .profile-form,html[data-theme="dark"] .profile-notifications,html[data-theme="dark"] .profile-order-card,html[data-theme="dark"] .profile-product-card{border-color:var(--line);background:#19271f;color:var(--ink)}
html[data-theme="dark"] .profile-stats>*>span,html[data-theme="dark"] .profile-address-card>div>span,html[data-theme="dark"] .profile-order-card>span{background:#294333;color:#d9efdf}
html[data-theme="dark"] .profile-section-intro{border-color:var(--line);background:linear-gradient(135deg,#203229,#19271f)}
html[data-theme="dark"] .profile-form input,html[data-theme="dark"] .profile-form select,html[data-theme="dark"] .profile-form textarea{border-color:#496454;background:#101b15;color:#f2f8f3}
html[data-theme="dark"] .profile-form input:disabled{background:#26342c;color:#9eb1a4}
html[data-theme="dark"] .profile-address-note{background:#20382a;color:#c4d8c9}
html[data-theme="dark"] .profile-notifications label{border-color:var(--line)}
html[data-theme="dark"] .profile-empty{border-color:#4b6755;background:#19271f;color:#bed0c2}
html[data-theme="dark"] .profile-product-card img,html[data-theme="dark"] .profile-latest-order-row img{background:#f6faf5}
html[data-theme="dark"] .profile-mobile-nav{border-color:#354c3e;background:#16231bf3}
html[data-theme="dark"] .profile-mobile-nav a,html[data-theme="dark"] .profile-mobile-nav button{color:#b8cbbd}html[data-theme="dark"] .profile-mobile-nav .is-active{color:#82d1a1}

/* Ilovadan ochilgan profil bo‘limlari telefon ilovasi shaklida ko‘rinadi. */
.profile-app-back{display:none}
html.profile-app-mode{background:#dce7df}html.profile-app-mode body{width:min(100%,480px);min-height:100dvh;margin:0 auto;padding-bottom:76px;overflow-x:hidden;background:#f7faf7;box-shadow:0 0 60px #173b2830}
html.profile-app-mode .profile-header{min-height:58px;gap:7px;padding:7px 10px;border-bottom-width:1px}
html.profile-app-mode .profile-app-back{display:grid;width:34px;height:34px;place-items:center;flex:0 0 34px;border:1px solid var(--line);border-radius:10px;background:#f2f7f3;color:var(--green);font-size:19px;font-weight:900;text-decoration:none}
html.profile-app-mode .profile-brand{gap:7px}html.profile-app-mode .profile-brand img{width:34px;height:34px}html.profile-app-mode .profile-brand strong{font-size:17px}html.profile-app-mode .profile-header nav{display:none}html.profile-app-mode .nihol-header-actions{display:flex;margin-left:auto}
html.profile-app-mode .profile-layout{display:block;width:100%;min-height:calc(100dvh - 58px);box-shadow:none}html.profile-app-mode .profile-sidebar{display:none}
html.profile-app-mode .profile-main{padding:14px 12px 24px}html.profile-app-mode .profile-page-heading{align-items:flex-start;margin-bottom:14px}html.profile-app-mode .profile-page-heading h1{font-size:27px}html.profile-app-mode .profile-page-heading p{font-size:11px}html.profile-app-mode .profile-page-heading>a{display:none}
html.profile-app-mode .profile-hero-card{grid-template-columns:auto 1fr auto;padding:13px}html.profile-app-mode .profile-hero-card>span{width:54px;height:54px;border-width:3px;font-size:23px}html.profile-app-mode .profile-hero-card h2{font-size:18px}html.profile-app-mode .profile-hero-card button{width:37px;height:37px;padding:0;overflow:hidden;font-size:0}html.profile-app-mode .profile-hero-card button::after{font-size:16px;content:"✎"}
html.profile-app-mode .profile-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}html.profile-app-mode .profile-stats>*{display:grid;min-height:82px;padding:9px;text-align:center}html.profile-app-mode .profile-stats>*:last-child{grid-column:auto}html.profile-app-mode .profile-stats>*>span{grid-row:auto;width:30px;height:30px;margin:auto;font-size:14px}html.profile-app-mode .profile-stats small{font-size:8px}html.profile-app-mode .profile-stats strong{font-size:18px}html.profile-app-mode .profile-stats em{font-size:8px}
html.profile-app-mode .profile-overview-grid{grid-template-columns:1fr;gap:8px}html.profile-app-mode .profile-overview-grid article,html.profile-app-mode .profile-favorites-preview{padding:12px}html.profile-app-mode .profile-products-grid,html.profile-app-mode .profile-favorites-preview>div{display:flex;overflow-x:auto}html.profile-app-mode .profile-product-card{min-width:135px}
html.profile-app-mode .profile-section-intro{padding:12px}html.profile-app-mode .profile-section-intro>span{width:38px;height:38px;flex:0 0 38px}html.profile-app-mode .profile-section-intro h2{font-size:19px}html.profile-app-mode .profile-form{padding:13px}html.profile-app-mode .profile-form-grid{grid-template-columns:1fr}html.profile-app-mode .profile-form-wide{grid-column:1}html.profile-app-mode .profile-form-actions{display:grid;grid-template-columns:1fr 1fr}html.profile-app-mode .profile-notifications label{padding:14px}
html.profile-app-mode .profile-mobile-nav{right:50%;left:auto;display:grid;width:min(100%,480px);height:66px;grid-template-columns:repeat(5,1fr);padding:6px 4px calc(6px + env(safe-area-inset-bottom));transform:translateX(50%)}html.profile-app-mode .profile-mobile-nav a{display:grid;gap:2px;place-items:center;padding:3px;color:#52695b;font-size:18px;text-decoration:none}html.profile-app-mode .profile-mobile-nav small{font-size:8px;font-weight:750}html.profile-app-mode .profile-mobile-nav .is-active{color:var(--green)}
html.profile-app-mode .profile-theme-toggle{right:max(10px,calc((100% - 480px)/2 + 10px));bottom:75px}
html.profile-app-mode .profile-loyalty-summary{grid-template-columns:1fr}html.profile-app-mode .profile-tier-card{grid-template-columns:auto 1fr}html.profile-app-mode .profile-tier-card>strong{grid-column:2}html.profile-app-mode .profile-order-card{grid-template-columns:auto 1fr}html.profile-app-mode .profile-order-card em{grid-column:2;justify-self:start}
html[data-theme="dark"].profile-app-mode body{background:#101a14}html[data-theme="dark"].profile-app-mode .profile-app-back{border-color:#3a5142;background:#203229;color:#e9f6ec}
html[data-theme="dark"] .profile-theme-toggle{border-color:#4a6755;background:#203229;color:#eef8f1}html[data-theme="dark"] .profile-theme-toggle:hover{background:#294333}
.profile-track-order,.profile-order-track{justify-self:start;padding:7px 10px;border:2px solid #9fbeaa;border-radius:8px;color:var(--green);font-size:10px;font-weight:900;text-decoration:none}.profile-track-order{grid-column:1/-1}.profile-order-track{justify-self:end}
html[data-theme="dark"] .profile-track-order,html[data-theme="dark"] .profile-order-track{border-color:#4b6b57;background:#203229;color:#e5f2e8}
@media(max-width:760px){
  .profile-theme-toggle{right:12px;bottom:82px;width:44px;min-width:44px;height:44px;padding:0}.profile-theme-toggle .theme-label{display:none}
  html[data-theme="dark"] .profile-sidebar{background:#101a14;color:var(--ink)}
  html[data-theme="dark"] .profile-sidebar nav button{border-color:#3b5545;background:#19271f;color:#dce9df}
  html[data-theme="dark"] .profile-sidebar nav button.is-active{border-color:#63a77c;background:#0b704f;color:#fff}
}
.profile-stats>*>span svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(max-width:760px){.profile-stats>*>span svg{width:17px;height:17px}}

/* Keshbek va mijoz darajasi. */
.profile-loyalty-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.profile-loyalty-summary article{display:grid;grid-template-columns:auto 1fr;gap:4px 13px;padding:20px;border:2px solid var(--line);border-radius:15px;background:linear-gradient(135deg,#fff,#f2f8f2)}.profile-loyalty-summary article>span{grid-row:1/4;display:grid;width:52px;height:52px;place-items:center;border-radius:14px;background:#0b7a55;color:#fff;font-size:22px;font-weight:900}.profile-loyalty-summary small{color:var(--muted);font-size:12px;font-weight:800}.profile-loyalty-summary strong{font-family:Georgia,serif;font-size:25px}.profile-loyalty-summary em{color:var(--green);font-size:11px;font-style:normal;font-weight:750}.profile-reward-history{padding:18px;border:2px solid var(--line);border-radius:15px;background:#fff}.profile-reward-history header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.profile-reward-history h3{margin:0;font-family:Georgia,serif;font-size:20px}.profile-reward-history header small{color:var(--muted);font-size:11px}.profile-reward-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid var(--line)}.profile-reward-row>span{display:grid;gap:4px}.profile-reward-row strong{font-size:13px}.profile-reward-row small{color:var(--muted);font-size:10px}.profile-reward-values{justify-items:end}.profile-reward-values b{color:var(--green);font-size:12px}.profile-reward-values em{color:#9a6810;font-size:11px;font-style:normal;font-weight:850}.profile-tier-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:21px;border:2px solid var(--line);border-radius:15px;background:linear-gradient(120deg,#fff8e6,#fff)}.profile-tier-badge{display:grid;width:64px;height:64px;place-items:center;grid-row:1/3;border:4px solid #efd49b;border-radius:50%;background:#b77912;color:#fff;font-family:Georgia,serif;font-size:20px;font-weight:900}.profile-tier-card h3{margin:2px 0;font-family:Georgia,serif;font-size:27px}.profile-tier-card p{margin:0;color:var(--muted);font-size:11px}.profile-tier-card>strong{color:#8b5c0c;font-size:17px}.profile-tier-progress{grid-column:2/4;height:10px;overflow:hidden;border-radius:999px;background:#eadfca}.profile-tier-progress i{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0c7955,#d69b32);transition:width .25s ease}.profile-tier-card>small:last-child{grid-column:2/4;color:var(--muted);font-size:11px}.profile-tier-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.profile-tier-list article{display:grid;justify-items:center;gap:6px;padding:14px 8px;border:2px solid var(--line);border-radius:13px;background:#fff;text-align:center}.profile-tier-list article>span{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:#e8eee9;color:#597164;font-size:11px;font-weight:900}.profile-tier-list strong{font-size:12px}.profile-tier-list small{color:var(--muted);font-size:9px}.profile-tier-list em{color:#788d7d;font-size:9px;font-style:normal;font-weight:800}.profile-tier-list .is-reached{border-color:#9bbca5}.profile-tier-list .is-current{border-color:#b77912;background:#fff8e8;box-shadow:0 6px 18px #8b5b1320}.profile-tier-list .is-current>span{background:#b77912;color:#fff}.profile-tier-list .is-current em{color:#8b5c0c}
html[data-theme="dark"] .profile-loyalty-summary article,html[data-theme="dark"] .profile-reward-history,html[data-theme="dark"] .profile-tier-list article{border-color:var(--line);background:#19271f;color:var(--ink)}html[data-theme="dark"] .profile-tier-card{border-color:var(--line);background:linear-gradient(120deg,#302a1c,#19271f)}html[data-theme="dark"] .profile-tier-list .is-current{border-color:#c38e35;background:#302a1c}html[data-theme="dark"] .profile-reward-row{border-color:var(--line)}html[data-theme="dark"] .profile-tier-progress{background:#4a4231}
@media(max-width:760px){.profile-sidebar nav,.profile-tier-list{scrollbar-width:none}.profile-sidebar nav::-webkit-scrollbar,.profile-tier-list::-webkit-scrollbar{display:none}.profile-loyalty-summary{grid-template-columns:1fr}.profile-loyalty-summary article{padding:15px}.profile-loyalty-summary article>span{width:44px;height:44px}.profile-loyalty-summary strong{font-size:22px}.profile-reward-history{padding:14px}.profile-reward-history header{align-items:flex-start;flex-direction:column}.profile-tier-card{grid-template-columns:auto 1fr;padding:15px}.profile-tier-badge{width:52px;height:52px}.profile-tier-card>strong{grid-column:2}.profile-tier-progress,.profile-tier-card>small:last-child{grid-column:1/-1}.profile-tier-list{grid-template-columns:repeat(5,128px);overflow-x:auto;padding-bottom:5px}.profile-tier-list article{min-height:120px}.profile-tier-list small{line-height:1.35}.profile-reward-row{align-items:flex-start}.profile-reward-values{flex:0 0 auto}}
.profile-tier-list article>div{display:grid;gap:4px}
