:root{
  --green:#69b51e;
  --green-dark:#4f9512;
  --green-soft:#edf8e3;
  --ink:#181b17;
  --muted:#7d8179;
  --line:#e6e9e2;
  --surface:#fff;
  --bg:#f5f6f2;
  --dark:#171a17;
  --danger:#e54848;
  --warning:#f0a21a;
  --shadow:0 8px 24px rgba(30,36,25,.06);
  --shadow-hover:0 16px 38px rgba(30,36,25,.12);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-height:100vh;background:linear-gradient(135deg,#edf0ea,#f6f7f4);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
button{border:0;cursor:pointer;color:inherit}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(105,181,30,.22);outline-offset:2px}
button{transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,opacity .18s ease}
button:active{transform:translateY(1px)}
.hidden{display:none!important}

#app{min-height:100vh;background:var(--bg)}
.sidebar{display:none}
.page-shell{min-height:100vh}
.topbar{height:66px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40;display:flex;align-items:center;padding:0 14px;gap:10px}
.logo{background:none;font-size:21px;font-weight:950;font-style:italic;letter-spacing:-1px;white-space:nowrap}
.logo b{color:var(--green)}
.mobile-logo{display:block}
.desktop-search{display:none}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:7px}
.icon-button,.back-button{width:40px;height:40px;border-radius:12px;background:#f1f3ee;display:grid;place-items:center;color:#454943;position:relative}
.icon-button:hover,.back-button:hover{background:#e9eee4;transform:translateY(-1px)}
.count-badge{position:absolute;right:-2px;top:-3px;min-width:18px;height:18px;padding:0 5px;background:var(--green);border:2px solid #fff;border-radius:10px;color:#fff;font-size:9px;display:none;align-items:center;justify-content:center;font-weight:900}
.count-badge:not(:empty){display:flex;animation:badgePop .28s ease}
.profile-trigger{display:none}

#screen{padding:16px 13px 88px;min-height:calc(100vh - 66px);animation:pageIn .35s ease both}
.container{max-width:1280px;margin:0 auto}

.hero{min-height:230px;border-radius:24px;overflow:hidden;position:relative;color:#fff;background:#192019 url('assets/hero.jpg') center/cover no-repeat;box-shadow:0 18px 40px rgba(20,30,17,.16)}
.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,14,11,.93) 0%,rgba(17,22,16,.74) 46%,rgba(17,22,16,.12) 100%)}
.hero:after{content:"";position:absolute;left:-20%;bottom:-75px;width:70%;height:160px;background:radial-gradient(circle,rgba(105,181,30,.35),transparent 66%);filter:blur(5px)}
.hero-copy{position:relative;z-index:2;padding:28px 23px;max-width:500px}
.hero-kicker{font-size:11px;text-transform:uppercase;letter-spacing:2px;color:#a9cf82;font-weight:900}
.hero h1{font-size:34px;line-height:.98;letter-spacing:-1.3px;margin:8px 0 12px}
.hero h1 span{color:#82ca34}
.hero p{font-size:13px;color:#dee5db;line-height:1.45;margin:0 0 18px;max-width:330px}
.hero-buttons{display:flex;gap:8px;flex-wrap:wrap}
.hero .btn.ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.16);color:#fff}

.btn{min-height:44px;padding:0 17px;border-radius:12px;background:var(--green);color:#fff;font-weight:850;box-shadow:0 6px 16px rgba(76,145,15,.16);position:relative;overflow:hidden}
.btn:hover{background:var(--green-dark);transform:translateY(-1px);box-shadow:0 11px 24px rgba(76,145,15,.2)}
.btn.dark{background:#171a17}
.btn.dark:hover{background:#2b302a}
.btn.ghost{background:#fff;color:#343832;border:1px solid var(--line);box-shadow:none}
.btn.ghost:hover{background:#f2f4ee;border-color:#ccd5c4}
.btn.full{width:100%}
.btn.small{min-height:38px;padding:0 13px;font-size:12px}

.searchbar{height:48px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:10px;padding:0 13px;box-shadow:var(--shadow);margin:14px 0;cursor:text}
.searchbar:hover{border-color:#cbd8c1;box-shadow:0 10px 25px rgba(30,36,25,.08)}
.searchbar input{border:0;outline:0;width:100%;background:transparent;font-size:14px;color:var(--ink)}
.searchbar input::placeholder{color:#a2a59e}

.section-head{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px}
.section-head h2{font-size:18px;margin:0;letter-spacing:-.3px}
.link-btn{background:transparent;padding:7px 9px;border-radius:9px;color:var(--green-dark);font-size:13px;font-weight:850}
.link-btn:hover{background:var(--green-soft)}

.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.cat{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 7px 11px;box-shadow:var(--shadow);min-height:106px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.cat:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:#d2ddca}
.cat:active{transform:translateY(-1px) scale(.99)}
.cat-icon{width:52px;height:43px;display:grid;place-items:center;color:#4b5049}
.cat small{font-size:11px;font-weight:850}

.products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.product-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:9px;box-shadow:var(--shadow);overflow:hidden;cursor:pointer;animation:staggerIn .45s ease both}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-hover);border-color:#d1dbc9}
.product-visual{height:126px;border-radius:12px;background:linear-gradient(180deg,#f8f9f6,#eef1eb);position:relative;display:grid;place-items:center;overflow:hidden}
.product-visual img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;filter:saturate(1.06);transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.product-card:hover .product-visual img{transform:scale(1.055)}
.fav{width:36px;height:36px;position:absolute;right:10px;top:10px;border-radius:12px;background:rgba(255,255,255,.97);display:grid;place-items:center;z-index:2;box-shadow:0 7px 18px rgba(0,0,0,.1);color:#596058;border:1px solid rgba(220,224,216,.9);backdrop-filter:blur(8px)}
.fav:hover{transform:translateY(-1px) scale(1.04);color:var(--danger);border-color:#f0b5b5}
.fav.active{color:var(--danger);background:#fff1f1;border-color:#ffcaca;box-shadow:0 8px 20px rgba(229,72,72,.14);animation:heartPop .3s ease}
.fav.active svg{fill:currentColor;stroke:currentColor}
.favorite-btn.active{color:var(--danger);background:#fff1f1;border-color:#ffcaca}
.favorite-btn.active svg,.favorite-full.active svg{fill:currentColor;stroke:currentColor}
.favorite-full.active{color:var(--danger);border-color:#ffcaca;background:#fff5f5}
.product-card h3{margin:10px 1px 5px;font-size:13px;line-height:1.2}
.meta{display:flex;justify-content:space-between;gap:5px;font-size:11px;color:var(--muted)}
.rating{color:var(--warning);font-weight:800}
.price-line{display:flex;align-items:end;gap:6px;margin-top:7px}
.price{font-size:17px;font-weight:950;letter-spacing:-.3px}
.old{font-size:10px;color:#9ca099;text-decoration:line-through}
.card-actions{display:grid;grid-template-columns:36px 1fr;gap:6px;margin-top:9px}
.icon-box,.add-btn{height:37px;border-radius:9px}
.icon-box{background:#fff;border:1px solid var(--line);display:grid;place-items:center;color:#62685f}
.icon-box:hover{background:#f0f4ed;border-color:#cbd7c4}
.add-btn{background:var(--green);color:#fff;font-weight:850;font-size:11px;box-shadow:0 5px 13px rgba(76,145,15,.14)}
.add-btn:hover{background:var(--green-dark);transform:translateY(-1px)}
.add-btn.in-cart,.btn.in-cart{background:#20251f;box-shadow:none}
.add-btn.in-cart:hover,.btn.in-cart:hover{background:#101310}

.page-title{font-size:28px;line-height:1.05;letter-spacing:-.7px;margin:4px 0 16px}
.muted{color:var(--muted)}
.search-toolbar{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.select{height:44px;border:1px solid var(--line);background:#fff;border-radius:10px;padding:0 11px}
.filters{display:flex;gap:7px;overflow:auto;padding:2px 0 10px}
.chip{background:#fff;border:1px solid #dfe3dc;border-radius:20px;padding:8px 11px;font-size:12px;white-space:nowrap}
.chip:hover{border-color:#c8d4c1;background:#f3f7ef}
.chip.active{background:var(--green-soft);border-color:#c4dea9;color:var(--green-dark);font-weight:850}
.results-info{font-size:12px;color:var(--muted);margin:0 0 11px}

.detail{display:grid;gap:15px}
.detail-gallery{background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;box-shadow:var(--shadow)}
.detail-main{height:295px;border-radius:14px;background:linear-gradient(180deg,#fafbf8,#eef1eb);display:grid;place-items:center;overflow:hidden}
.detail-main img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;animation:productIn .5s ease}
.detail-side{padding:2px}
.eyebrow{font-size:11px;color:#848980}
.detail h1{font-size:26px;line-height:1.04;letter-spacing:-.7px;margin:6px 0}
.detail-rating{display:flex;align-items:center;gap:7px;font-size:12px}
.big-price{font-size:30px;font-weight:950;margin-top:14px;letter-spacing:-.8px}
.detail-old{font-size:12px;color:#9ca099;text-decoration:line-through;margin-top:2px}
.option-label{font-size:13px;font-weight:850;margin:16px 0 8px}
.swatches,.sizes{display:flex;gap:8px;flex-wrap:wrap}
.swatch{width:34px;height:34px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #bdc4b9}
.swatch.selected{box-shadow:0 0 0 2px var(--green)}
.size{min-width:50px;height:39px;background:#fff;border:1px solid var(--line);border-radius:10px;font-weight:750}
.size:hover{background:#f1f4ee}
.size.selected{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 6px 15px rgba(76,145,15,.18)}
.detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}
.specs{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:16px}
.spec{padding:10px;border-radius:11px;background:#f1f4ee}
.spec b{display:block;font-size:11px}.spec span{display:block;font-size:11px;color:var(--muted);margin-top:2px}

.cart-layout{display:grid;gap:14px}
.cart-list{display:grid;gap:8px}
.cart-item{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:15px;padding:9px;box-shadow:var(--shadow)}
.cart-thumb{width:86px;height:71px;flex:none;background:#f2f4ef;border-radius:10px;display:grid;place-items:center;overflow:hidden}
.cart-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.cart-info{min-width:0;flex:1}.cart-info h3{font-size:13px;margin:0 0 4px}.cart-color{font-size:11px;color:var(--muted)}
.qty{display:flex;align-items:center;gap:5px;margin-top:9px}.qty button{width:28px;height:28px;border-radius:8px;background:#fff;border:1px solid var(--line)}.qty button:hover{background:#f0f3ed;border-color:#c9d3c3}
.qty .remove{margin-left:5px;color:#6f746d;background:transparent;border:0;width:auto;padding:0 4px;font-size:11px}
.summary{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:var(--shadow);height:max-content}
.summary h3{margin:0 0 11px;font-size:16px}.sum-row{display:flex;justify-content:space-between;gap:8px;margin:9px 0;font-size:13px}.sum-total{border-top:1px solid var(--line);padding-top:12px;margin-top:12px;font-size:20px;font-weight:950}.promo{display:grid;grid-template-columns:1fr auto;gap:6px;margin:12px 0}.promo input{height:40px;border:1px solid var(--line);border-radius:9px;padding:0 10px}.notice{padding:10px 12px;border-radius:10px;background:var(--green-soft);color:var(--green-dark);font-size:11px;margin:9px 0}

.tabs{display:flex;gap:7px;overflow:auto;padding:4px;background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:12px 0 16px;width:max-content;max-width:100%}.tab{background:transparent;border-radius:10px;padding:9px 13px;color:#777;font-size:12px;white-space:nowrap;font-weight:800}.tab span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;margin-left:5px;border-radius:9px;background:var(--bg);font-size:10px}.tab:hover{background:#eef2eb;color:#333}.tab.active{background:var(--ink);color:#fff;box-shadow:0 5px 14px rgba(25,30,23,.12)}.tab.active span{background:rgba(255,255,255,.14);color:#fff}.page-heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.order-subtitle{margin:-7px 0 0;font-size:12px}
.orders{display:grid;gap:9px}.order-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;box-shadow:var(--shadow);animation:staggerIn .4s ease both}.order-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}.order-head,.order-actions{display:flex;justify-content:space-between;gap:8px;align-items:center}.status{color:var(--green-dark);font-size:11px;font-weight:900}.order-body{display:flex;gap:10px;align-items:center;margin-top:10px}.order-thumb{width:74px;height:60px;background:#f1f3ee;border-radius:9px;overflow:hidden}.order-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.order-actions{margin-top:10px;font-size:11px}

.profile-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:var(--shadow)}
.profile-head{display:flex;align-items:center;gap:11px}.avatar{border-radius:50%;background:linear-gradient(145deg,#e9ede4,#dfe4da);display:grid;place-items:center;font-weight:900;color:#65705f}.avatar-small{width:40px;height:40px;font-size:12px}
.profile-menu{margin-top:11px}.menu-row{display:flex;justify-content:space-between;align-items:center;padding:13px 5px;border-bottom:1px solid #eef0ec;cursor:pointer;border-radius:9px}.menu-row:hover{background:#fafbf8;padding-left:9px;padding-right:9px}.menu-left{display:flex;gap:10px;align-items:center}.menu-icon{width:24px;height:24px;display:grid;place-items:center;color:#646b62}
.settings-wrap{max-width:720px}.setting{display:flex;justify-content:space-between;gap:15px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:8px}.setting:hover{box-shadow:var(--shadow);border-color:#d4ddcf}
.switch{width:46px;height:26px;padding:0;border-radius:20px;background:#d5d9d1;position:relative;flex:none}.switch:after{content:"";position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 5px rgba(0,0,0,.15);transition:left .22s cubic-bezier(.2,.8,.2,1)}.switch.on{background:var(--green)}.switch.on:after{left:23px}
.address-card,.payment-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px;margin-bottom:9px}.address-card:hover,.payment-card:hover{box-shadow:var(--shadow);border-color:#d3dccf}
.form{display:grid;gap:9px}.form label{font-size:11px;color:#777}.form input,.form textarea,.form select{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff}.form-actions{display:flex;gap:8px;margin-top:10px}.form-actions>*{flex:1}
.empty{background:#fff;border:1px solid var(--line);border-radius:18px;padding:54px 17px;text-align:center;box-shadow:var(--shadow)}.empty-icon{width:54px;height:54px;border-radius:16px;background:var(--green-soft);display:grid;place-items:center;margin:0 auto 11px;color:var(--green-dark)}

.bottom-nav{position:fixed;z-index:50;bottom:0;left:0;right:0;height:66px;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-top:1px solid var(--line)}.nav-item{background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#858a82;position:relative}.nav-item:hover{color:#4f564d;background:#fafbf8}.nav-item.active{color:var(--green-dark)}.nav-item small{font-size:9px;font-weight:800}.nav-item .count-badge{right:23%;top:7px}

.toast{position:fixed;z-index:90;left:50%;bottom:79px;transform:translate(-50%,18px);opacity:0;background:#171a17;color:#fff;padding:11px 14px;border-radius:11px;font-size:12px;pointer-events:none;box-shadow:0 10px 25px rgba(0,0,0,.18)}.toast.show{animation:toastIn .25s ease both}
.modal-backdrop{position:fixed;inset:0;background:rgba(12,15,12,.48);backdrop-filter:blur(4px);display:grid;place-items:center;padding:14px;z-index:80;animation:fadeIn .2s ease}.modal{width:min(520px,100%);background:#fff;border-radius:19px;padding:17px;box-shadow:0 30px 70px rgba(0,0,0,.25);animation:modalIn .28s cubic-bezier(.2,.8,.2,1)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.modal-head h2{margin:0 0 15px;font-size:20px}.modal-close{width:35px;height:35px;border-radius:10px;background:#f0f2ed;display:grid;place-items:center}.modal-close:hover{background:#e6ebe1}.modal-copy{color:#555;line-height:1.5;font-size:13px;white-space:pre-line}

.ripple{position:absolute;border-radius:999px;transform:scale(0);animation:ripple .55s ease-out;background:rgba(255,255,255,.35);pointer-events:none}

@keyframes pageIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes staggerIn{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes productIn{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
@keyframes heartPop{0%{transform:scale(.75)}60%{transform:scale(1.17)}100%{transform:scale(1)}}
@keyframes badgePop{0%{transform:scale(.6)}70%{transform:scale(1.16)}100%{transform:scale(1)}}
@keyframes toastIn{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@keyframes ripple{to{transform:scale(7);opacity:0}}

@media (min-width:700px){
  #screen{padding:24px 24px 42px}
  .cats{grid-template-columns:repeat(6,1fr);gap:10px}.products{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-visual{height:168px}.hero{min-height:270px}.hero-copy{padding:36px 34px}.hero h1{font-size:42px}.search-toolbar{grid-template-columns:1fr auto auto}.detail{grid-template-columns:1.04fr .96fr}.detail-main{height:460px}.cart-layout{grid-template-columns:minmax(0,1fr) 340px}.bottom-nav{display:none}.toast{bottom:28px}
}

@media (min-width:1100px){
  body{background:#e9ece7}
  #app{display:flex;background:var(--bg)}
  .sidebar{display:flex;position:fixed;left:0;top:0;bottom:0;width:246px;flex-direction:column;background:#171a17;color:#dce4d8;padding:22px 15px 16px;z-index:60}
  .sidebar .logo{color:#fff;text-align:left;padding:6px 12px 25px;font-size:27px}
  .sidebar .logo b{color:#72c62b}
  .sidebar-label{font-size:10px;text-transform:uppercase;letter-spacing:1.2px;color:#7f897b;font-weight:900;padding:12px 12px 7px;margin:0}.sidebar-label-account{margin-top:15px}
  .sidebar nav{display:grid;gap:4px}
  .sidebar-link{width:100%;background:transparent;color:#aeb8aa;text-align:left;padding:11px 12px;border-radius:11px;display:flex;gap:11px;align-items:center;font-size:13px;font-weight:750;position:relative}.sidebar-link:hover{background:#20251f;color:#f2f5ef}.sidebar-link.active{background:linear-gradient(90deg,rgba(105,181,30,.18),rgba(105,181,30,.07));color:#8dde44;box-shadow:inset 2px 0 0 var(--green)}.sidebar-link .sidebar-icon{width:21px;height:21px;display:grid;place-items:center}.sidebar-link .count-badge{position:static;margin-left:auto;border-color:#171a17}.sidebar-account{margin-top:auto;padding:13px 8px 4px;border-top:1px solid #292e28;display:flex;align-items:center;gap:9px;cursor:pointer;border-radius:10px}.sidebar-account:hover{background:#1e231e}.sidebar-account strong{font-size:11px;display:block;color:#eef3ea}.sidebar-account span{font-size:9px;display:block;color:#879184;margin-top:2px}.sidebar-arrow{margin-left:auto;width:7px;height:7px;border-top:1.5px solid #879184;border-right:1.5px solid #879184;transform:rotate(45deg)}
  .page-shell{margin-left:246px;width:calc(100% - 246px)}
  .topbar{height:78px;padding:0 30px;gap:20px}.mobile-logo{display:none}.desktop-search{display:flex;align-items:center;gap:10px;height:45px;flex:1;max-width:620px;background:#f1f3ee;border:1px solid var(--line);border-radius:12px;padding:0 14px;color:#8c9188;font-size:13px;text-align:left}.desktop-search:hover{background:#edf1ea;border-color:#cfd8c9}.header-actions{gap:8px}.icon-button{width:42px;height:42px;border-radius:11px}.profile-trigger{display:flex;align-items:center;gap:8px;background:#f2f4ef;border-radius:12px;padding:4px 9px 4px 4px}.profile-trigger:hover{background:#eaf0e5}.profile-trigger-name{font-size:12px;font-weight:800}.chevron{width:7px;height:7px;border-top:1.5px solid #70766d;border-right:1.5px solid #70766d;transform:rotate(45deg);margin-left:2px}
  #screen{padding:30px 34px 50px}.container{max-width:1320px}.hero{min-height:305px;border-radius:24px}.hero-copy{padding:42px 46px}.hero h1{font-size:52px;max-width:550px}.hero p{font-size:14px;max-width:430px}.searchbar{height:54px;margin:18px 0}.cats{grid-template-columns:repeat(6,1fr);gap:12px}.cat{min-height:120px}.cat-icon{width:58px;height:48px}.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product-card{padding:11px;border-radius:18px}.product-visual{height:195px}.product-card h3{font-size:14px}.price{font-size:19px}.add-btn{font-size:12px}.detail{grid-template-columns:1.02fr .98fr;gap:26px}.detail-main{height:570px}.detail h1{font-size:34px}.cart-layout{grid-template-columns:minmax(0,1fr) 380px;gap:20px}.summary{position:sticky;top:100px}.page-title{font-size:35px}
}

@media (prefers-reduced-motion: reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}}

/* Auth */
.auth-page{min-height:calc(100vh - 64px);display:grid;place-items:center;padding:38px 20px;background:radial-gradient(circle at 20% 10%,rgba(102,185,26,.12),transparent 35%),#f7f7f5}
.auth-card{width:min(460px,100%);background:#fff;border:1px solid var(--line,#e7e7e7);border-radius:24px;padding:34px;box-shadow:0 25px 80px rgba(0,0,0,.09);animation:authIn .45s ease both}
.auth-logo{font-size:27px;font-weight:900;font-style:italic;letter-spacing:-1.3px}.auth-logo b{color:#68b719}.auth-kicker{font-size:11px;color:#7a7f78;margin-top:5px}.auth-card h1{font-size:30px;margin:25px 0 8px}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.auth-note{font-size:11px;color:#989b97;border-top:1px solid var(--line,#e7e7e7);padding-top:16px;margin-top:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px}
.count-badge{display:none;position:absolute;top:5px;right:12px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#69b81b;color:#fff;font-size:9px;line-height:16px;text-align:center}.count-badge.visible{display:block}
.categories-grid{grid-template-columns:repeat(3,1fr)!important}.pitbike-icon{width:52px;height:40px;stroke:#202520;stroke-width:2.6;fill:none;stroke-linecap:round;stroke-linejoin:round}
.product-card{cursor:pointer}.product-visual img,.detail-main img{transition:transform .55s cubic-bezier(.2,.8,.2,1),filter .35s ease}.product-card:hover .product-visual img{transform:scale(1.045)}.detail-main:hover img{transform:scale(1.02)}
.modal-backdrop{position:fixed;inset:0;background:rgba(9,10,9,.48);backdrop-filter:blur(6px);display:grid;place-items:center;padding:20px;z-index:100}.modal{width:min(500px,100%);background:#fff;border-radius:20px;padding:22px;box-shadow:0 30px 90px rgba(0,0,0,.28);animation:authIn .25s ease both}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0}.modal-close{width:36px;height:36px;border:1px solid #e5e5e5;background:#fff;border-radius:10px;cursor:pointer}.modal-copy{margin:18px 0}.notice{border:1px solid rgba(102,185,26,.28);background:rgba(102,185,26,.09);border-radius:12px;padding:12px;color:#497f15;font-size:12px}
@keyframes authIn{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:800px){.categories-grid{grid-template-columns:repeat(2,1fr)!important}.auth-card{padding:26px;border-radius:20px}.auth-card h1{font-size:25px}}

/* Настройки: темы, регион, безопасность и поддержка */
.settings-section{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px;margin-bottom:12px;box-shadow:var(--shadow)}
.section-title{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:13px}.section-title h2{margin:0;font-size:16px;letter-spacing:-.2px}
.theme-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.theme-card{position:relative;text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;padding:8px;min-height:84px;overflow:hidden}.theme-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-hover)}.theme-card.active{border:2px solid var(--green);padding:7px}.theme-card b{display:block;padding:8px 3px 3px;font-size:11px}.theme-preview{display:block;height:43px;border-radius:9px;background:#f2f4ef;position:relative;overflow:hidden}.theme-preview:before{content:"";position:absolute;left:7px;top:7px;width:45%;height:7px;border-radius:5px;background:rgba(255,255,255,.85);box-shadow:0 12px 0 rgba(255,255,255,.58),0 24px 0 rgba(255,255,255,.42)}.theme-preview:after{content:"";position:absolute;right:7px;top:7px;width:22px;height:29px;border-radius:6px;background:#69b51e}.theme-preview.light{background:linear-gradient(135deg,#f7f8f4,#e8ece3)}.theme-preview.graphite{background:linear-gradient(135deg,#353a36,#181b18)}.theme-preview.forest{background:linear-gradient(135deg,#dcebdd,#2e5133)}.theme-preview.midnight{background:linear-gradient(135deg,#151a28,#3a4660)}.theme-preview.sand{background:linear-gradient(135deg,#f2eadc,#d4b989)}.theme-preview.ice{background:linear-gradient(135deg,#e8f4f7,#87b9c9)}.theme-check{position:absolute;right:9px;top:9px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff}
.pref-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}.pref-grid label{font-size:11px;font-weight:800;color:#666}.pref-grid select{display:block;margin-top:6px;height:44px;width:100%;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:0 11px}
.security-row,.verification-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.verification-row{border-bottom:0}.security-row p,.verification-row p{margin:4px 0 0;font-size:11px;max-width:500px}.verified{background:var(--green-soft);color:var(--green-dark);border-radius:20px;padding:7px 10px;font-size:11px;font-weight:900}.totp-setup{font-size:12px;line-height:1.5}.totp-qr{width:170px;height:170px;margin:14px auto;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center}.totp-qr img{max-width:100%}.totp-secret{display:block;background:#f1f3ee;border-radius:9px;padding:10px;word-break:break-all;letter-spacing:1px}.ticket-list{display:grid;gap:10px;margin-top:12px}.ticket-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:14px;box-shadow:var(--shadow)}.ticket-head{display:flex;justify-content:space-between;gap:10px;align-items:center}.ticket-card p{font-size:12px;line-height:1.5}.ticket-status{font-size:10px;font-weight:900;color:#9b6b12;background:#fff4db;padding:6px 8px;border-radius:10px}.ticket-status.answered{color:var(--green-dark);background:var(--green-soft)}.ticket-answer{margin:10px 0;padding:11px;border-radius:12px;background:#f1f6ec;border-left:3px solid var(--green)}.support-intro{margin-bottom:12px}

body.theme-graphite{--ink:#f0f3ee;--muted:#aeb7aa;--line:#343a34;--surface:#252a25;--bg:#1b1f1b;--green-soft:#243d1d;background:#151815;color:var(--ink)}
body.theme-forest{--green:#6aa82e;--green-dark:#4e7c1f;--green-soft:#e3f0dc;--bg:#eef3ea}
body.theme-midnight{--green:#73c7ff;--green-dark:#4d9bd0;--green-soft:#e3f4ff;--ink:#eef4ff;--muted:#a6b1c2;--line:#30394a;--surface:#1d2430;--bg:#121824;background:#0f141e}
body.theme-sand{--green:#9b7b35;--green-dark:#765b22;--green-soft:#f1e8d4;--bg:#f4eee2}
body.theme-ice{--green:#2c91b0;--green-dark:#1f6f86;--green-soft:#e3f3f7;--bg:#edf6f8}
body.theme-graphite .topbar,body.theme-midnight .topbar{background:rgba(28,33,29,.92)}
body.theme-graphite .product-card,body.theme-graphite .cat,body.theme-graphite .searchbar,body.theme-graphite .summary,body.theme-graphite .profile-card,body.theme-graphite .setting,body.theme-graphite .address-card,body.theme-graphite .payment-card,body.theme-graphite .settings-section,body.theme-midnight .product-card,body.theme-midnight .cat,body.theme-midnight .searchbar,body.theme-midnight .summary,body.theme-midnight .profile-card,body.theme-midnight .setting,body.theme-midnight .address-card,body.theme-midnight .payment-card,body.theme-midnight .settings-section{background:var(--surface);color:var(--ink)}
body.theme-graphite input,body.theme-graphite select,body.theme-graphite textarea,body.theme-midnight input,body.theme-midnight select,body.theme-midnight textarea{background:#151a16;color:var(--ink);border-color:var(--line)}

@media(max-width:700px){.theme-grid{grid-template-columns:repeat(2,1fr)}.pref-grid{grid-template-columns:1fr}.security-row,.verification-row{align-items:flex-start;flex-direction:column}.security-row .btn{width:100%}}

/* Полированный профиль */
.profile-page{max-width:1040px;margin:0 auto;padding-bottom:40px;animation:profileIn .5s ease both}.profile-banner{position:relative;overflow:hidden;border:1px solid var(--line);border-radius:26px;background:linear-gradient(135deg,#121713 0%,#20281e 62%,#263622 100%);color:#fff;box-shadow:0 22px 60px rgba(17,22,16,.18)}.profile-cover-glow{position:absolute;inset:-30% -10% auto auto;width:430px;height:300px;background:radial-gradient(circle,rgba(105,188,29,.33),transparent 67%);pointer-events:none}.profile-main{position:relative;z-index:1;display:flex;align-items:center;gap:18px;padding:28px}.profile-avatar-xl{width:88px;height:88px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(145deg,#86d92e,#4f9316);border:1px solid rgba(255,255,255,.2);font-size:26px;font-weight:900;letter-spacing:.8px;box-shadow:0 12px 30px rgba(85,151,24,.32)}.profile-identity{min-width:0;flex:1}.profile-kicker,.profile-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#7fb952}.profile-identity h1{margin:5px 0 3px;font-size:29px;line-height:1.08;letter-spacing:-.7px}.profile-identity p{margin:0;color:rgba(255,255,255,.66);font-size:13px}.profile-tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.profile-tags span{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);padding:7px 9px;border-radius:999px;font-size:10px;color:rgba(255,255,255,.78)}.profile-edit-btn{white-space:nowrap;background:#fff;color:#1a2118}.profile-edit-btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.18)}.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.profile-stat{border:1px solid var(--line);background:var(--surface);border-radius:18px;padding:17px;text-align:left;display:flex;flex-direction:column;gap:2px;cursor:pointer;transition:.25s ease;box-shadow:var(--shadow)}.profile-stat:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:rgba(105,183,27,.32)}.profile-stat b{font-size:23px}.profile-stat span{font-size:11px;color:var(--muted)}.profile-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:12px}.profile-panel{border:1px solid var(--line);background:var(--surface);border-radius:20px;padding:19px;box-shadow:var(--shadow);animation:profileRise .45s ease both}.profile-panel-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.profile-panel-head h2{font-size:17px;margin:4px 0 0;letter-spacing:-.2px}.profile-panel-head>strong{font-size:20px}.progress-track{height:8px;background:var(--line);border-radius:99px;overflow:hidden;margin:17px 0 9px}.progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6ebc22,#97dd4e);transition:width .7s ease}.profile-checks{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.profile-checks span{display:inline-flex;align-items:center;gap:5px;padding:7px 9px;border-radius:10px;background:var(--bg);border:1px solid var(--line);font-size:10px;color:var(--muted)}.profile-checks span.done{background:var(--green-soft);color:var(--green-dark);border-color:transparent;font-weight:800}.security-pill{padding:7px 9px;border-radius:999px;background:var(--green-soft);color:var(--green-dark);font-size:9px;font-weight:900;white-space:nowrap}.security-mini{display:flex;align-items:center;gap:10px;margin:17px 0}.security-mini .mini-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--green-soft);color:var(--green-dark)}.security-mini b,.security-mini small{display:block}.security-mini b{font-size:12px}.security-mini small{font-size:10px;color:var(--muted);margin-top:3px}.profile-links-panel{margin-top:12px}.profile-actions-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px}.profile-action{display:flex;align-items:center;gap:11px;min-width:0;border:1px solid var(--line);background:var(--bg);padding:12px;border-radius:15px;text-align:left;color:var(--ink);cursor:pointer;transition:.25s ease}.profile-action:hover{transform:translateY(-2px);border-color:rgba(105,183,27,.35);background:var(--surface)}.profile-action-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--green-soft);color:var(--green-dark);flex:none}.profile-action-copy{min-width:0;flex:1}.profile-action-copy b,.profile-action-copy small{display:block}.profile-action-copy b{font-size:12px}.profile-action-copy small{font-size:10px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-card{display:flex;align-items:center;gap:12px;width:100%;border:1px solid rgba(190,68,68,.18);background:rgba(190,68,68,.05);border-radius:17px;padding:14px 15px;margin-top:12px;color:#b14848;text-align:left;cursor:pointer;transition:.25s ease}.logout-card:hover{transform:translateY(-2px);background:rgba(190,68,68,.08);border-color:rgba(190,68,68,.3)}.logout-card>span:nth-child(2){flex:1}.logout-card b,.logout-card small{display:block}.logout-card b{font-size:12px}.logout-card small{font-size:10px;color:var(--muted);margin-top:3px}.logout-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:rgba(190,68,68,.1)}@keyframes profileIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes profileRise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.profile-panel:nth-child(2){animation-delay:60ms}.profile-links-panel{animation-delay:120ms}
@media(max-width:800px){.profile-main{align-items:flex-start;flex-wrap:wrap;padding:20px}.profile-edit-btn{width:100%}.profile-identity h1{font-size:24px}.profile-grid{grid-template-columns:1fr}.profile-actions-grid{grid-template-columns:1fr}.profile-stats{grid-template-columns:repeat(2,1fr)}}

.product-card{position:relative;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.product-card:before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(135deg,rgba(255,255,255,.5),transparent 48%);opacity:0;pointer-events:none;transition:opacity .25s ease}.product-card:hover:before{opacity:1}.icon-box svg,.fav svg{transition:transform .2s ease,fill .2s ease,stroke .2s ease}.icon-box:hover svg,.fav:hover svg{transform:scale(1.08)}
@media(max-width:700px){.page-heading-row{align-items:flex-start}.tabs{width:100%}.tab{flex:1;text-align:center}}
