/* =========================================================
   INMALETE V10 — PREMIUM VISUAL SYSTEM
   Final override layer: preserve functionality, replace visual language.
   ========================================================= */
:root{
  --primary:#0b8f68; --primary-dark:#067451; --secondary:#0b2018;
  --accent:#c8f45a; --bg:#f5f7f4; --white:#ffffff; --text:#102019;
  --text-light:#6d7d75; --border:#e3e9e5; --radius:18px;
  --shadow-sm:0 6px 22px rgba(12,35,26,.055);
  --shadow:0 16px 45px rgba(12,35,26,.10);
  --shadow-lg:0 30px 80px rgba(7,28,21,.16);
  --transition:all .28s cubic-bezier(.2,.75,.2,1);
}
html{scroll-behavior:smooth}
body{background:#f5f7f4;color:#102019}
body:before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(circle at 10% 0%,rgba(200,244,90,.09),transparent 24%),radial-gradient(circle at 90% 20%,rgba(11,143,104,.05),transparent 28%)}
.top-bar{height:34px;background:#071a13;color:#cbd9d2;padding:0 4vw;font-size:11px;display:flex;align-items:center;justify-content:space-between;border:0}
.top-bar .left,.top-bar .right{display:flex;gap:22px;align-items:center}.top-bar a{color:#cbd9d2}
.navbar{height:78px;padding:0 clamp(18px,4vw,56px);background:rgba(255,255,255,.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid rgba(220,229,224,.8);position:sticky;top:0;z-index:100;box-shadow:0 4px 20px rgba(8,28,20,.035)}
.nav-brand{gap:11px}.nav-brand .logo-icon{width:44px;height:44px;border-radius:14px;box-shadow:0 7px 18px rgba(11,143,104,.2);transition:var(--transition)}.nav-brand:hover .logo-icon{transform:rotate(-4deg) scale(1.04)}.nav-brand .brand-text{font-size:22px;letter-spacing:-.8px;font-weight:900;color:#092219}.nav-brand .brand-text span{color:#0b8f68}
.nav-search{width:min(430px,34vw);height:48px;background:#f4f7f5;border:1px solid #e0e8e3;border-radius:15px;padding-left:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transition:var(--transition)}.nav-search:focus-within{background:#fff;border-color:#86cdb1;box-shadow:0 0 0 4px rgba(11,143,104,.08),0 10px 25px rgba(11,143,104,.08)}.nav-search input{font-size:13px}
.nav-actions{gap:7px}.btn{border-radius:13px;font-weight:800;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,background .2s}.btn:active{transform:scale(.96)}.btn-primary{background:#0b8f68;box-shadow:0 8px 20px rgba(11,143,104,.2)}.btn-primary:hover{background:#087955;box-shadow:0 12px 28px rgba(11,143,104,.28);transform:translateY(-2px)}.btn-outline{border-color:#b8cfc3;color:#0b5f46;background:#fff}.btn-outline:hover{background:#edf8f3;border-color:#0b8f68;color:#075c44}
.hero{min-height:610px;padding:74px clamp(20px,5vw,72px) 112px;text-align:left;background:#061a12;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center}.hero:before{width:760px;height:760px;right:-180px;top:-300px;background:radial-gradient(circle,rgba(200,244,90,.20),transparent 64%);z-index:-1}.hero:after{width:560px;height:560px;left:-230px;bottom:-350px;background:radial-gradient(circle,rgba(11,143,104,.32),transparent 68%);z-index:-1}.hero-content{max-width:760px;margin:0;position:relative;z-index:3}.hero-badge{background:rgba(200,244,90,.10);border:1px solid rgba(200,244,90,.22);color:#d7f88d;padding:9px 14px;border-radius:999px;letter-spacing:.2px;box-shadow:0 10px 35px rgba(0,0,0,.12);animation:premiumRise .65s both}.hero h1{font-size:clamp(44px,6vw,76px);line-height:.98;letter-spacing:-4px;margin:20px 0 20px;color:#fff;max-width:760px;animation:premiumRise .75s .08s both}.hero h1 span{color:#c8f45a}.hero p{font-size:17px;line-height:1.65;color:#b9c9c2;max-width:620px;margin-bottom:30px;animation:premiumRise .75s .16s both}.hero-search{max-width:650px;margin:0;background:#fff;padding:7px;border-radius:17px;box-shadow:0 25px 60px rgba(0,0,0,.25);animation:premiumRise .75s .24s both}.hero-search input{padding:16px 18px;font-size:15px}.hero-search .btn{padding:14px 27px}.hero-trust{margin-top:17px;color:#a7b9b1;font-size:11px;gap:16px;animation:premiumRise .75s .32s both}.hero-trust span{display:inline-flex;align-items:center;gap:5px}.hero-trust span::first-letter{color:#c8f45a}.hero-metrics{display:flex;gap:10px;margin-top:30px;animation:premiumRise .75s .4s both}.hero-metric{padding:12px 15px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.045);border-radius:13px;min-width:125px;backdrop-filter:blur(10px)}.hero-metric strong{display:block;color:#fff;font-size:14px}.hero-metric span{display:block;color:#8fa39a;font-size:10px;margin-top:3px}
.hero-orbit{position:absolute;right:5vw;top:50%;transform:translateY(-50%);width:390px;height:390px;pointer-events:none}.orbit-glow{position:absolute;inset:35px;border:1px solid rgba(200,244,90,.18);border-radius:50%;box-shadow:0 0 90px rgba(200,244,90,.12),inset 0 0 60px rgba(11,143,104,.08);animation:orbitPulse 5s ease-in-out infinite}.orbit-card{position:absolute;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(18px);color:#fff;border-radius:20px;box-shadow:0 25px 60px rgba(0,0,0,.2)}.orbit-card-main{width:245px;padding:25px;left:72px;top:73px;transform:rotate(-4deg);animation:floatCard 5s ease-in-out infinite}.orbit-label{font-size:9px;color:#c8f45a;font-weight:900;letter-spacing:1.5px}.orbit-card-main strong{font-size:29px;line-height:1.02;display:block;margin:12px 0}.orbit-card-main small{color:#9eb2a9;font-size:10px}.orbit-line{display:block;width:42px;height:2px;background:#c8f45a;margin:14px 0}.orbit-card-mini{right:8px;top:48px;padding:11px 14px;display:flex;gap:7px;align-items:center;font-size:10px;animation:floatCard 4.4s .4s ease-in-out infinite}.orbit-card-mini b{color:#c8f45a}.orbit-card-price{right:18px;bottom:58px;padding:13px 16px;transform:rotate(5deg);animation:floatCard 4.8s .8s ease-in-out infinite}.orbit-card-price span,.orbit-card-price small{display:block;color:#9eb2a9;font-size:9px}.orbit-card-price strong{font-size:22px;color:#c8f45a}
.featured-section{max-width:1240px;margin:-72px auto 0;padding:0 clamp(14px,3vw,30px);position:relative;z-index:10}.featured-shell{padding:28px;border-radius:25px;background:rgba(255,255,255,.97);border:1px solid #e1ebe5;box-shadow:0 25px 70px rgba(7,28,21,.13)}.featured-header{display:flex;align-items:end;justify-content:space-between}.eyebrow{color:#0b8f68;font-size:9px;font-weight:900;letter-spacing:1.8px}.section-title{font-size:27px;letter-spacing:-1.2px;color:#0b2018}.featured-subtitle,.categories-subtitle{color:#718078;font-size:12px}.featured-products-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.featured-product-card{border-radius:17px;border:1px solid #e1e9e4;background:#fff;box-shadow:0 7px 20px rgba(7,28,21,.05);transition:var(--transition)}.featured-product-card:hover{transform:translateY(-8px);box-shadow:0 24px 45px rgba(7,28,21,.12);border-color:#9bd5bc}.featured-product-image{height:165px;background:#f5f8f6}.featured-product-body{padding:14px}.featured-product-price{font-size:18px;color:#0b2018!important}.featured-tag{background:#0b8f68;box-shadow:0 7px 15px rgba(11,143,104,.22)}
.categories-section{max-width:1240px;padding:45px clamp(14px,3vw,30px) 25px}.categories-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:11px}.category-card{min-height:137px;border:1px solid #dfe9e3;border-radius:19px;background:linear-gradient(180deg,#fff,#f8fbf9);box-shadow:0 5px 18px rgba(7,28,21,.04);padding:17px 10px;transition:var(--transition);position:relative;overflow:hidden}.category-card:before{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-55px;bottom:-50px;background:#c8f45a;opacity:.11;transition:var(--transition)}.category-card:hover,.category-card.active{transform:translateY(-7px);border-color:#7ac8a7;background:#eff9f4;box-shadow:0 20px 35px rgba(11,143,104,.11)}.category-card:hover:before{transform:scale(1.6);opacity:.18}.category-icon{width:56px;height:56px;border-radius:17px;background:#e8f5ef;color:#0b8f68;box-shadow:inset 0 0 0 1px #d4ebe0;transition:var(--transition)}.category-card:hover .category-icon{transform:translateY(-3px) rotate(-4deg) scale(1.07);background:#d7f2e5}.category-name{font-size:12px;font-weight:850;color:#21372d;margin-top:10px}
.filters-bar{max-width:1240px;margin:10px auto 20px;padding:13px clamp(14px,3vw,30px);background:#fff;border:1px solid #e0e8e3;border-radius:15px;box-shadow:0 7px 22px rgba(7,28,21,.045);display:flex;gap:10px;align-items:end}.filter-group{min-width:145px}.filter-group label{font-size:10px;color:#718078;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.filter-group input,.filter-group select{height:42px;border-radius:11px;border:1px solid #dce6e0;background:#f8faf9;padding:0 11px;transition:var(--transition)}.filter-group input:focus,.filter-group select:focus{background:#fff;border-color:#7bc8a7;box-shadow:0 0 0 3px rgba(11,143,104,.07)}
.products-section{max-width:1240px;padding:10px clamp(14px,3vw,30px) 90px}.products-section .section-header{padding:17px 20px;background:#fff;border:1px solid #e1e9e4;border-bottom:0;border-radius:17px 17px 0 0}.products-grid{background:#fff;padding:13px;border:1px solid #e1e9e4;border-radius:0 0 17px 17px;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.product-card{border:1px solid #e0e8e3!important;border-radius:16px!important;box-shadow:0 4px 16px rgba(7,28,21,.045)!important;background:#fff!important;overflow:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s!important}.product-card:hover{transform:translateY(-8px)!important;border-color:#8dcfb0!important;box-shadow:0 25px 45px rgba(7,28,21,.12)!important}.product-image{height:205px;background:#f4f7f5!important}.product-image img{transition:transform .55s cubic-bezier(.2,.8,.2,1)}.product-card:hover .product-image img{transform:scale(1.065)}.product-body{padding:14px}.product-title{font-size:13px;line-height:1.4;color:#172b22}.product-price{font-size:18px;font-weight:900;color:#0b2018!important}.product-seller{font-size:10px;color:#75847c}.product-category{font-size:9px;color:#0b8f68!important;font-weight:900;letter-spacing:.7px}
.product-card.is-featured{border:2px solid #b6d84a!important;box-shadow:0 14px 30px rgba(122,150,34,.15)!important}.product-featured-tag{background:#c8f45a;color:#102019;box-shadow:0 8px 18px rgba(130,163,37,.2)}
.account-page,.chat-page,.admin-page{max-width:1240px!important;padding:35px clamp(14px,3vw,30px) 85px!important}.account-header,.admin-hero{border-radius:25px!important;background:linear-gradient(135deg,#061a12,#0b7658)!important;box-shadow:0 25px 65px rgba(7,28,21,.17)!important}.account-card,.chat-shell,.admin-card,.admin-stat{border-radius:18px!important;border:1px solid #dfe8e3!important;background:#fff!important;box-shadow:0 7px 24px rgba(7,28,21,.055)!important}.admin-stat strong{color:#0b8f68!important}.admin-search{border-radius:12px!important;background:#f6f9f7!important;border-color:#dce7e0!important}.admin-card:hover,.admin-stat:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(7,28,21,.09)!important}
.modal{border-radius:24px!important;border:1px solid #dfe9e3!important;box-shadow:0 35px 100px rgba(3,20,13,.28)!important}.modal-overlay{backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.toast{border-radius:14px!important;box-shadow:0 18px 45px rgba(7,28,21,.18)!important}
@keyframes premiumRise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}@keyframes floatCard{0%,100%{translate:0 0}50%{translate:0 -10px}}@keyframes orbitPulse{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.035);opacity:1}}
@media(max-width:1050px){.hero-orbit{opacity:.45;right:-110px}.categories-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.products-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.featured-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .top-bar{display:none}.navbar{height:64px;padding:0 14px;margin-bottom:0}.nav-brand .brand-text{font-size:20px}.nav-brand .logo-icon{width:38px;height:38px}.nav-actions #messagesBtn,.nav-actions #accountBtn,.nav-actions #adminBtn{display:none}.nav-actions .btn-ghost{display:none}.nav-actions #sellBtn{font-size:11px;padding:9px 12px}.nav-search{display:flex;position:absolute;left:12px;right:12px;top:74px;width:auto;height:44px}.navbar{margin-bottom:58px}
 .hero{min-height:540px;padding:52px 16px 92px;align-items:flex-start}.hero-content{max-width:none}.hero h1{font-size:43px;letter-spacing:-2.6px}.hero p{font-size:14px;line-height:1.55}.hero-search{display:flex;flex-direction:row;border-radius:15px;gap:6px}.hero-search input{min-width:0;height:48px}.hero-search .btn{height:48px;padding:0 17px}.hero-trust{gap:8px;flex-wrap:wrap}.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.hero-metric{min-width:0;padding:10px 8px}.hero-metric strong{font-size:11px}.hero-metric span{font-size:8px}.hero-orbit{width:250px;height:250px;right:-95px;top:auto;bottom:-80px;transform:none;opacity:.55}.orbit-card-main{transform:scale(.72) rotate(-4deg);left:0;top:0}.orbit-card-mini,.orbit-card-price{display:none}
 .featured-section{margin-top:-48px}.featured-shell{padding:17px;border-radius:20px}.featured-header{display:flex;align-items:flex-start;gap:10px}.featured-header .btn{font-size:10px;padding:8px}.featured-products-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px}.featured-product-card{min-width:205px;scroll-snap-align:start}.featured-product-image{height:140px}
 .categories-section{padding-top:30px}.categories-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;gap:9px;padding:3px 2px 10px;scrollbar-width:none}.categories-grid::-webkit-scrollbar{display:none}.category-card{min-width:112px;min-height:120px;scroll-snap-align:start}
 .filters-bar{margin:0 12px 16px;padding:10px;overflow-x:auto;align-items:end}.filter-group{min-width:132px}.products-section{padding-top:0}.products-section .section-header{padding:14px 15px}.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px;gap:9px}.product-image{height:160px}.product-body{padding:11px}.product-price{font-size:16px}.product-title{font-size:12px}
}
@media(max-width:390px){.hero h1{font-size:38px}.hero-metrics{grid-template-columns:1fr}.hero-metric{display:flex;justify-content:space-between;align-items:center}.featured-product-card{min-width:185px}.category-card{min-width:102px}.products-grid{gap:7px;padding:6px}.product-image{height:145px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
