
/* EKAANTO SIGNATURE EXPERIENCE — UI/UX layer v4 */
:root{
  --ek-espresso:#382215;--ek-espresso-2:#4b3022;--ek-espresso-3:#674632;
  --ek-cream:#fbf8f4;--ek-paper:#fff;--ek-ink:#24170f;--ek-muted:#81756c;
  --ek-line:#eadfd5;--ek-soft:#f4ece5;--ek-shadow:0 18px 50px rgba(56,34,21,.09);
  --ek-shadow-sm:0 7px 24px rgba(56,34,21,.07);--ek-radius:22px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{background:var(--ek-cream);color:var(--ek-ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;letter-spacing:-.012em;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
button:active{transform:scale(.975)}
a{color:inherit;text-decoration:none}
img{max-width:100%}
.shell{width:min(1440px,100%);margin:0 auto;padding:0 clamp(14px,3vw,40px) 100px}
.top{position:sticky;top:0;z-index:50;display:grid;grid-template-columns:auto minmax(180px,1fr) auto;align-items:center;gap:clamp(12px,2vw,28px);margin:0 calc(clamp(14px,3vw,40px)*-1) 28px;padding:14px clamp(14px,3vw,40px);background:rgba(251,248,244,.88);backdrop-filter:blur(18px) saturate(150%);border-bottom:1px solid rgba(234,223,213,.8)}
.brand{display:flex;align-items:center;gap:10px;font-size:clamp(20px,2vw,27px);font-weight:850;letter-spacing:-.055em;color:var(--ek-espresso);white-space:nowrap}
.brand img{width:38px;height:38px;object-fit:contain;border-radius:12px;box-shadow:0 4px 12px #38221518}
.searchbar{display:flex;align-items:center;gap:8px;max-width:680px;width:100%;justify-self:center;padding:6px 8px 6px 14px;border:1px solid var(--ek-line);border-radius:16px;background:#fff;box-shadow:0 3px 14px #38221506;transition:border-color .2s,box-shadow .2s}
.searchbar:focus-within{border-color:#b89c86;box-shadow:0 0 0 4px #3822150c}
.searchbar input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:10px 4px!important;color:var(--ek-ink)}
.searchbar button,.round{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border:0;border-radius:12px;background:var(--ek-soft);color:var(--ek-espresso)}
.round{background:#fff;border:1px solid var(--ek-line)}
main{min-height:55vh;animation:ekFadeUp .35s ease both}
@keyframes ekFadeUp{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.hero{position:relative;overflow:hidden;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:clamp(270px,32vw,430px);padding:clamp(28px,5vw,66px);margin:8px 0 38px;border-radius:30px;color:#fff;background:radial-gradient(ellipse at 82% 18%,#896348 0,transparent 33%),radial-gradient(ellipse at 95% 100%,#67432e 0,transparent 38%),linear-gradient(125deg,#28170f 0%,#382215 50%,#513322 100%);box-shadow:0 24px 60px #38221525}
.hero:before{content:"";position:absolute;z-index:-1;width:clamp(180px,28vw,390px);aspect-ratio:1;right:5%;top:50%;transform:translateY(-50%);border:1px solid #ffffff22;border-radius:50%;box-shadow:0 0 0 28px #ffffff08,0 0 0 58px #ffffff05}
.hero:after{content:"";position:absolute;z-index:-1;width:180px;height:180px;right:18%;top:8%;border-radius:50%;background:#ffffff0a;filter:blur(2px)}
.hero>div:first-child{max-width:650px}
.hero h1{max-width:720px;margin:18px 0 14px;font-size:clamp(34px,5.5vw,70px);line-height:.99;letter-spacing:-.065em;font-weight:850}
.hero p{max-width:540px;margin:0 0 24px;color:#f2e8df;font-size:clamp(15px,1.5vw,18px);line-height:1.7}
.hero img{position:relative;z-index:1;filter:drop-shadow(0 22px 24px #0004);max-width:38%!important;max-height:280px!important}
.pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #ffffff38;border-radius:999px;padding:8px 13px;background:#ffffff12;color:inherit;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.hero .btn,.btn.alt{min-height:48px;padding:0 22px;border:1px solid #fff;background:#fff;color:var(--ek-espresso);border-radius:14px;font-weight:800;box-shadow:0 8px 24px #0002}
.hero-controls{position:absolute!important;right:22px;bottom:20px;display:flex;gap:8px}
.hero-controls button{width:40px;height:40px;border:1px solid #ffffff55;border-radius:50%;background:#ffffff16;color:#fff;display:grid;place-items:center}
.headline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:36px 0 16px}
.headline h2{margin:0;color:var(--ek-espresso);font-size:clamp(21px,2.5vw,29px);font-weight:850;letter-spacing:-.045em}
.headline button{display:inline-flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--ek-espresso-3);font-size:13px;font-weight:800}
.panel,.empty,.auth-card,.detail-panel,.seller-panel,.admin-panel{border:1px solid var(--ek-line)!important;border-radius:var(--ek-radius)!important;background:#fff!important;box-shadow:var(--ek-shadow-sm)}
.panel{padding:clamp(18px,3vw,28px)}
.gridproducts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.product{position:relative;overflow:hidden;min-width:0;border:1px solid #ede4dc;border-radius:19px;background:#fff;cursor:pointer;box-shadow:0 4px 18px #38221505;transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease}
.product:hover,.product:focus-visible{transform:translateY(-5px);border-color:#cbb7a6;box-shadow:0 16px 35px #38221512;outline:none}
.photo{position:relative;display:grid;place-items:center;overflow:hidden;aspect-ratio:1/1;background:linear-gradient(145deg,#f8f2ec,#f0e7de);color:#b29b89}
.photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 70%,#38221508);pointer-events:none}
.photo img{width:100%;height:100%;object-fit:cover;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.product:hover .photo img{transform:scale(1.045)}
.meta{padding:14px 14px 16px}
.name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.8em;color:var(--ek-ink);font-size:14px;font-weight:700;line-height:1.4}
.price{margin:9px 0 5px;color:var(--ek-espresso);font-size:19px;font-weight:850;letter-spacing:-.04em}
.muted{color:var(--ek-muted);font-size:12px;line-height:1.5}
.sale,.demo-chip{position:absolute;top:10px;left:10px;z-index:2;padding:6px 9px;border-radius:9px;background:var(--ek-espresso);color:#fff;font-size:10px;font-weight:850;letter-spacing:.04em}
.demo-chip{left:auto;right:10px;background:#fff;color:var(--ek-espresso);border:1px solid var(--ek-line)}
.strip{display:grid;grid-auto-columns:minmax(180px,1fr);grid-auto-flow:column;gap:15px;overflow-x:auto;padding:2px 2px 14px;scroll-snap-type:x mandatory}
.strip .product{scroll-snap-align:start}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 18px;border:1px solid var(--ek-espresso);border-radius:13px;background:var(--ek-espresso);color:#fff;font-weight:800;box-shadow:0 6px 16px #38221516}
.btn:hover{background:var(--ek-espresso-2);box-shadow:0 10px 22px #38221522}
button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
input,select,textarea{border:1px solid var(--ek-line)!important;border-radius:12px!important;background:#fff!important;color:var(--ek-ink)!important;min-height:44px;padding:10px 12px}
input:focus,select:focus,textarea:focus{outline:0;border-color:#a98b73!important;box-shadow:0 0 0 4px #3822150e!important}
label{color:var(--ek-espresso);font-size:13px;font-weight:750}
.empty{padding:44px 20px;text-align:center;color:var(--ek-muted)}
.empty h3{margin:14px 0 6px;color:var(--ek-espresso);font-size:20px}
.empty p{max-width:420px;margin:0 auto;line-height:1.65}
.bottom{position:fixed;z-index:60;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;justify-content:space-around;gap:4px;width:min(520px,calc(100% - 24px));padding:8px;border:1px solid #e7dacf;border-radius:22px;background:#fffcf9eF;backdrop-filter:blur(20px);box-shadow:0 12px 40px #38221520}
.navitem{display:flex;flex:1;min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:4px;padding:9px 4px;border:0;border-radius:15px;background:transparent;color:#8a7a6d;font-size:10px;font-weight:750}
.navitem svg{width:20px;height:20px}
.navitem.active{background:var(--ek-espresso);color:#fff;box-shadow:0 5px 13px #38221524}
.toast{position:fixed;z-index:100;left:50%;bottom:95px;transform:translateX(-50%);max-width:calc(100% - 28px);padding:13px 18px;border:1px solid #d8c6b7;border-radius:14px;background:#fff;color:var(--ek-espresso);box-shadow:var(--ek-shadow);font-weight:700;animation:ekFadeUp .2s ease}
.demo-notice{margin:0 0 20px;padding:12px 16px;border:1px solid #e4cda9;border-radius:12px;background:#fff7e8;color:#6a461e;font-size:13px}
.boot{min-height:60vh;display:grid;align-content:center;justify-items:center;text-align:center;color:var(--ek-espresso)}
.boot img{border-radius:22px}
.boot h1{letter-spacing:-.06em;font-size:34px}
.boot p{color:var(--ek-muted)}
.detail-panel{padding:clamp(16px,3vw,30px)}
/* Common existing class names from earlier design layers */
.card,.tile,.category,.stat,.order-card,.product-card,.auth-card,.form-card,.settings-card{border-radius:18px}
h1,h2,h3,h4{letter-spacing:-.04em}
a:focus-visible,button:focus-visible,[tabindex]:focus-visible{outline:3px solid #b89578;outline-offset:3px}
@media(min-width:1200px){.shell{padding-left:42px;padding-right:42px}.top{margin-left:-42px;margin-right:-42px;padding-left:42px;padding-right:42px}.gridproducts{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1050px){.gridproducts{grid-template-columns:repeat(4,minmax(0,1fr))}.hero{min-height:310px}}
@media(max-width:760px){.shell{padding:0 14px 104px}.top{grid-template-columns:auto 1fr auto;gap:10px;margin:0 -14px 20px;padding:11px 14px}.brand{gap:7px;font-size:19px}.brand img{width:32px;height:32px}.searchbar{grid-column:1/-1;grid-row:2;max-width:none;order:4;padding:4px 6px 4px 11px;border-radius:13px}.searchbar input{min-height:38px}.searchbar button{width:36px;height:36px;flex-basis:36px}.round{width:38px;height:38px;flex-basis:38px}.hero{min-height:330px;margin:6px 0 28px;padding:28px 22px 64px;border-radius:24px;align-items:flex-start}.hero h1{font-size:clamp(34px,9vw,52px);max-width:460px}.hero p{font-size:14px;max-width:340px}.hero img{position:absolute;right:0;bottom:22px;max-width:32%!important;max-height:140px!important;opacity:.8}.hero:before{right:-18%;top:68%;width:230px}.hero-controls{right:14px;bottom:14px}.headline{margin:28px 0 13px}.headline h2{font-size:21px}.gridproducts{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.meta{padding:11px 11px 13px}.name{font-size:13px}.price{font-size:18px}.strip{grid-auto-columns:minmax(155px,44vw);gap:11px}.panel{padding:16px;border-radius:18px!important}.bottom{bottom:max(8px,env(safe-area-inset-bottom));width:calc(100% - 16px);padding:6px;border-radius:19px}.navitem{padding:8px 2px;font-size:9px}.navitem svg{width:19px;height:19px}}
@media(max-width:380px){.brand span{font-size:17px}.hero{min-height:315px;padding:24px 18px 60px}.hero h1{font-size:32px}.gridproducts{gap:8px}.meta{padding:9px}.price{font-size:16px}.name{font-size:12px}.navitem span{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
