:root{--green:#00624e;--green2:#167d65;--mint:#adf0db;--paper:#fef9ee;--beige:#f8f3e8;--text:#1d1c15;--muted:#59685f;--line:#dce5dc;--shadow:0 9px 28px #145b4b0d;--ease:250ms ease-out;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fef9ee;font-size:14px}*{box-sizing:border-box}body{margin:0;background:linear-gradient(120deg,#e6f5ed 0%,#fef9ee 43%,#f8f3e8 100%);min-height:100vh}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--green)}button{cursor:pointer;border:0;background:var(--green);color:white;padding:10px 15px;border-radius:9px;font-weight:700;transition:transform var(--ease),box-shadow var(--ease),background var(--ease)}button:hover{background:#167d65;transform:translateY(-2px);box-shadow:0 5px 14px #00624e25}button:disabled{opacity:.45;cursor:not-allowed;transform:none}button.secondary{background:#dff4e9;color:var(--green)}button.ghost{background:#fff9;color:var(--green);border:1px solid var(--line)}button.danger{background:#a6332a;color:white}button.small{padding:7px 10px;font-size:12px}a{color:var(--green);text-decoration:none;font-weight:650}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(25px,3vw,38px);letter-spacing:-1.4px;line-height:1.15}h2{font-size:23px;letter-spacing:-.55px}h3{font-size:17px;letter-spacing:-.2px}p{line-height:1.55}small,.muted{color:var(--muted);font-size:12px}header{position:sticky;top:0;z-index:10;background:#fef9eeed;backdrop-filter:blur(16px);box-shadow:0 1px 0 #00624e14}.top{max-width:1440px;margin:auto;padding:15px 28px;display:flex;gap:18px;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:19px;line-height:1.05;white-space:nowrap;font-weight:850;color:var(--green)}.brandmark{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:var(--green);color:var(--mint);font-size:25px}.search{display:flex;align-items:center;gap:6px;flex:1;max-width:500px;background:#fff;border:1px solid var(--line);padding:4px;border-radius:12px}.search input{border:0;background:transparent;min-width:0;flex:1;padding:8px}.location{font-size:12px;line-height:1.5}.header-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.nav{max-width:1440px;margin:auto;padding:0 28px;display:flex;gap:24px;overflow-x:auto;scrollbar-width:thin}.nav a{white-space:nowrap;padding:12px 0;position:relative;font-size:13px;color:var(--muted);transition:color var(--ease),transform var(--ease)}.nav a:hover,.nav a.active{color:var(--green)}.nav a:after{position:absolute;bottom:0;height:3px;left:0;right:0;background:var(--green);content:'';transform:scaleX(0);transition:transform var(--ease)}.nav a:hover:after,.nav a.active:after{transform:scaleX(1)}main{max-width:1440px;margin:auto;padding:25px 28px 45px;min-height:72vh}.page{animation:page-in .3s ease-out}@keyframes page-in{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:18px;padding:18px;border-radius:18px;background:linear-gradient(110deg,#00624e,#167d65 65%,#74c8ad);box-shadow:var(--shadow);color:white}.hero-copy{padding:22px 16px;display:grid;gap:15px;align-content:center}.hero-copy h1{font-size:clamp(29px,3.8vw,48px);max-width:560px}.hero-copy h1 span{color:var(--mint)}.hero-copy p{max-width:490px;color:#e0f9ec}.pill{display:inline-flex;width:fit-content;align-items:center;gap:5px;padding:5px 9px;border-radius:99px;background:#dff4e9;color:var(--green);font-size:11px;font-weight:750;line-height:1.2}.hero-copy .pill{background:#ffffff22;color:#e8fff6}.hero button.secondary{background:var(--mint);width:fit-content}.glass,.card{background:#ffffffc9;border:1px solid #fff;border-radius:15px;box-shadow:var(--shadow);backdrop-filter:blur(12px);padding:18px}.hero .glass{color:var(--text);background:#fffffff7}.section{margin-top:29px}.section-head,.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-head{margin-bottom:14px;flex-wrap:wrap}.section-head p{margin-top:4px;color:var(--muted)}.eyebrow{font-size:11px;font-weight:800;letter-spacing:1.1px;color:var(--green);text-transform:uppercase;margin-bottom:5px}.grid{display:grid;gap:14px}.products{grid-template-columns:repeat(auto-fill,minmax(185px,1fr))}.categories{grid-template-columns:repeat(8,minmax(0,1fr))}.category{padding:12px 6px;text-align:center;display:grid;gap:7px;justify-items:center;color:var(--text);background:#fff9;border:1px solid white;border-radius:12px;box-shadow:var(--shadow);font-size:12px}.category span{font-size:24px;border-radius:50%;background:#e0f3e9;width:48px;height:48px;display:grid;place-items:center}.category:hover,.product:hover,.shop:hover{transform:translateY(-4px);box-shadow:0 12px 25px #145b4b15}.product,.shop,.category{transition:transform var(--ease),box-shadow var(--ease)}.product{padding:0;overflow:hidden;display:flex;flex-direction:column;background:#fffdf9;border:1px solid #e8ebe1;border-radius:14px;box-shadow:var(--shadow)}.photo{position:relative;height:140px;background:linear-gradient(140deg,#e5f0da,#f7edd3);overflow:hidden;display:grid;place-items:center;font-size:65px}.photo img{position:absolute;width:100%;height:100%;object-fit:cover}.photo .pill{position:absolute;top:9px;left:9px;z-index:1;background:#d2f3e6}.product-body{padding:13px;display:grid;gap:8px;flex:1}.product-body h3{font-size:15px;min-height:36px}.price{font-size:22px;font-weight:850;color:var(--text);letter-spacing:-.6px}.price small{font-size:12px;font-weight:500;letter-spacing:0}.product-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto}.product-actions button{flex:1;padding:8px 7px;font-size:12px}.shops{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.shop{display:grid;gap:12px}.shop .avatar{width:44px;height:44px;border-radius:11px;background:var(--mint);color:var(--green);display:grid;place-items:center;font-weight:800}.shop button{width:100%}.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;padding:20px;border-radius:14px;background:#e9efe5}.trust p{font-size:12px;margin-top:5px;color:var(--muted)}.form{display:grid;gap:12px}.field{display:grid;gap:6px;font-size:12px;font-weight:700;color:var(--muted)}input,select,textarea{width:100%;border:1px solid #cfdcd3;background:#fff;border-radius:9px;padding:10px;color:var(--text);min-width:0;transition:border var(--ease),box-shadow var(--ease)}input:focus,select:focus,textarea:focus{outline:0;border-color:var(--green2);box-shadow:0 0 0 3px #167d651a}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.inline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filters{display:flex;gap:7px;flex-wrap:wrap}.filters button.active{background:var(--green);color:white}.workspace{display:grid;grid-template-columns:215px minmax(0,1fr);gap:18px;align-items:start}.sidebar{position:sticky;top:125px;display:grid;gap:5px;padding:13px}.sidebar a{padding:11px;border-radius:9px;display:flex;align-items:center;gap:11px;color:var(--muted);font-size:13px;position:relative;transition:background var(--ease),transform var(--ease)}.sidebar a:hover,.sidebar a.active{background:#d9f0e4;color:var(--green)}.sidebar a span{display:inline-grid;place-items:center;width:21px;font-size:18px}.sidebar a:hover span{animation:pop .45s cubic-bezier(.2,1.6,.4,1)}@keyframes pop{0%,100%{transform:scale(1)}45%{transform:scale(1.23)}}.dashboard{min-width:0;display:grid;gap:18px}.dash-title{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.stats{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}.stat{animation:card-in .38s both;animation-delay:calc(var(--i,0)*50ms);display:grid;gap:9px}.stat strong{font-size:29px;color:var(--green);letter-spacing:-1px}.stat label{color:var(--muted);font-size:12px}.stat .icon{background:#dbf3e6;width:32px;height:32px;display:grid;place-items:center;border-radius:8px;font-size:18px}@keyframes card-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.table-wrap{overflow-x:auto;margin-top:12px}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px;padding:11px;background:#eef4ec}td{border-bottom:1px solid #e7e9e3;padding:12px 11px}tr:hover td{background:#f7fbf6}td .inline{flex-wrap:nowrap}.status{border-radius:99px;padding:5px 9px;display:inline-block;background:#e5f3e9;color:#21654b;font-size:11px;font-weight:700;text-transform:capitalize}.status.pending,.status.countered,.status.Preparing{background:#fff0d1;color:#865200}.status.rejected,.status.expired,.status.Cancelled,.status.suspended{background:#fce6df;color:#9a382c}.empty{padding:24px;text-align:center;color:var(--muted);background:#f7faf5;border-radius:10px;margin-top:12px}.bar{height:10px;background:#e4eee6;border-radius:99px;overflow:hidden;margin:8px 0}.bar i{display:block;height:100%;background:linear-gradient(90deg,#167d65,#7dd7bb);border-radius:99px;animation:grow .7s ease-out;transform-origin:left}@keyframes grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}.bargain-item{display:flex;align-items:center;gap:12px;padding:10px;background:#f8f3e8;border-radius:10px;margin:12px 0}.bargain-item .thumb{font-size:33px;width:50px;height:50px;border-radius:10px;display:grid;place-items:center;background:#e3f2db}.notice{padding:13px;border-radius:10px;background:#e3f3e8;color:var(--green);font-size:13px}.cart-layout{display:grid;grid-template-columns:1.7fr 1fr;gap:18px;align-items:start}.cart-line{display:flex;gap:12px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding:13px 0}.cart-line:first-child{border:0}.order-card{display:grid;gap:9px;margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:10px;background:#fff9}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}dialog{border:1px solid white;border-radius:17px;background:#fefbf2;box-shadow:0 20px 80px #003e343f;padding:22px;width:min(530px,calc(100% - 28px));max-height:90vh;overflow:auto}dialog::backdrop{background:#193c3370;backdrop-filter:blur(5px)}#toast{position:fixed;bottom:24px;right:24px;max-width:min(460px,calc(100% - 48px));z-index:99;padding:14px 20px;border-radius:12px;background:#00624e;color:#fff;box-shadow:0 8px 24px #00624e33;opacity:0;pointer-events:none;transform:translateY(8px);transition:all .2s}#toast.show{opacity:1;transform:none}#toast.error{background:#a6332a}footer{max-width:1440px;margin:auto;padding:28px;border-top:1px solid #d9dfd4;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:12px}footer>div{display:grid;gap:7px}#reveal{position:fixed;inset:0;z-index:1000;background:var(--green);color:white;display:grid;place-items:center;font-size:30px;font-weight:800;pointer-events:none;animation:reveal .65s ease-in-out .15s forwards}@keyframes reveal{0%{clip-path:circle(150% at 50% 50%)}100%{clip-path:circle(0% at 50% 50%);visibility:hidden}}.gallery{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.gallery img{width:100%;height:250px;object-fit:contain;background:#f3efe4;border-radius:8px}.gallery a{display:grid;gap:9px;text-transform:capitalize}.transcript{display:grid;gap:8px;max-height:200px;overflow:auto;margin-top:12px}.transcript div{background:#eef4eb;border-radius:8px;padding:8px}.loading{text-align:center;padding:70px}.counter{font-variant-numeric:tabular-nums}.error-text{color:#a6332a}.magnetic{transition:transform var(--ease)}@media(max-width:1050px){.location{display:none}.categories{grid-template-columns:repeat(4,1fr)}.workspace{grid-template-columns:180px minmax(0,1fr)}.top{gap:10px}.header-actions button{padding:8px}.trust{grid-template-columns:repeat(2,1fr)}}@media(max-width:730px){.top{padding:12px 14px;flex-wrap:wrap}.brand{font-size:16px}.brandmark{width:32px;height:32px;font-size:20px}.search{order:3;min-width:100%;max-width:none}.nav{padding:0 14px;gap:17px}main{padding:16px 14px 30px}.hero{grid-template-columns:1fr;padding:12px;gap:10px}.hero-copy{padding:13px 8px}.hero-copy h1{font-size:33px}.categories{grid-template-columns:repeat(4,1fr);gap:7px}.category{font-size:10px}.category span{width:38px;height:38px;font-size:19px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo{height:110px}.product-body{padding:10px}.product-body h3{font-size:13px}.workspace{grid-template-columns:1fr}.sidebar{position:static;display:flex;overflow-x:auto;gap:5px;padding:8px;white-space:nowrap}.sidebar a{padding:8px}.sidebar>p{display:none}.cart-layout{grid-template-columns:1fr}.glass,.card{padding:13px}.product{padding:0}.section{margin-top:23px}.trust{grid-template-columns:1fr 1fr}.two{grid-template-columns:1fr}footer{padding:20px 14px;flex-direction:column}.header-actions .hide-mobile{display:none}.section-head h2{font-size:20px}.cart-line{flex-wrap:wrap}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}#reveal{display:none}.magnetic,button:hover,.product:hover,.shop:hover,.category:hover{transform:none!important}}@media(hover:none){.magnetic{transform:none!important}button:hover,.product:hover,.shop:hover,.category:hover{transform:none}}
/* Compact catalogue: balanced rows at common desktop widths. */
@media(min-width:1100px){.products{grid-template-columns:repeat(4,minmax(0,1fr))}.photo{height:155px}.product-body h3{min-height:22px}.product-actions button{font-size:13px}}
@media(min-width:731px) and (max-width:1099px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
#products{scroll-margin-top:140px}.sidebar a::after{content:attr(title);position:absolute;left:calc(100% + 7px);top:50%;transform:translate(0,-50%);background:#173c32;color:#fff;white-space:nowrap;font-size:11px;border-radius:6px;padding:6px 9px;opacity:0;pointer-events:none;z-index:12;transition:opacity var(--ease)}@media(hover:hover) and (min-width:731px){.sidebar a:hover::after,.sidebar a:focus-visible::after{opacity:1}}
.chart{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;gap:12px;margin-top:16px}.chart-col{display:grid;gap:6px;text-align:center;grid-template-rows:16px 105px auto}.chart-track{height:105px;display:flex;align-items:flex-end;justify-content:center;background:#f3f7ef;border-radius:7px}.chart-track i{display:block;width:60%;min-height:2px;border-radius:6px 6px 0 0;background:linear-gradient(0deg,#00624e,#83d5bd);transform-origin:bottom;animation:chart-rise .6s ease-out}.chart-col small{font-size:10px;overflow-wrap:anywhere}@keyframes chart-rise{from{transform:scaleY(0)}to{transform:scaleY(1)}}
/* Keep the sticky marketplace header below the native WordPress admin toolbar. */
body.admin-bar #header{top:32px}@media(max-width:782px){body.admin-bar #header{top:46px}}@media(max-width:600px){body.admin-bar #header{top:0}}
/* Organic Canopy V2: original editorial imagery, readable glass surfaces. */
.hero{background:linear-gradient(90deg,rgba(12,59,46,.94),rgba(13,75,57,.81) 38%,rgba(13,75,57,.19) 75%),url('market-hero.webp') center 56%/cover no-repeat;min-height:290px;align-items:center}.hero .glass{background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}.hero-copy h1{line-height:1.1}.category span img{width:56px;height:56px;object-fit:cover;border-radius:50%;display:block}.product-description{font-size:.82rem;line-height:1.4;color:#52685f;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.photo-placeholder{position:absolute;bottom:8px;left:8px;background:#fff;color:#425b50;border-radius:6px;padding:4px 8px;font-size:11px}.edit-photo{width:130px;height:100px;object-fit:cover;border-radius:10px}.brand span:last-child{max-width:160px;overflow-wrap:anywhere}.location button{padding:3px 0;text-align:left}.photo{position:relative}.photo img{object-fit:cover}.category:hover img{transform:scale(1.03)}@media(max-width:640px){.hero{background-position:62% center;min-height:0}.hero-copy{background:#124f40bd;border-radius:12px;padding:16px}.brand span:last-child{max-width:95px}.category span img{width:44px;height:44px}}@media(prefers-reduced-motion:reduce){.category:hover img{transform:none}}

.footer-links{list-style:none;display:flex;flex-wrap:wrap;gap:12px;padding:0;margin-top:12px}.grid.products>.empty{grid-column:1/-1}
/* Ajosa Factory v3 — editorial storefront, compact glass dashboards. */
:root{--green:#23543a;--green2:#168d65;--mint:#d8eee2;--paper:#fcfaf5;--beige:#f4f0e6;--text:#252b23;--muted:#687268;--line:#e6e8df;--shadow:0 8px 30px #254c2f09;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--paper);font-size:14px}body{background:#faf8f2}#header{background:#fcfaf5f5;box-shadow:0 1px 0 #e7e6df}.top{max-width:1440px;padding:12px 32px;gap:24px}.brand{gap:10px;color:#234c34;flex-shrink:0}.aj-logo{width:115px;height:52px;object-fit:contain;mix-blend-mode:multiply}.brand .brand-sub{font-size:9px;letter-spacing:1.4px;border-left:1px solid #d3d8cb;padding-left:10px;max-width:65px;font-weight:700;line-height:1.5}.location{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#355943}.location small{display:block;font-size:10px}.location button{background:none;border:0;padding:2px 0;font-weight:700}.search{border:1px solid #e0e4da;border-radius:7px;padding:3px 6px 3px 12px;background:#fff;max-width:460px;color:#738278}.search button{display:grid;place-items:center;padding:7px;border-radius:5px}.header-actions{gap:12px}.header-actions button{display:flex;align-items:center;gap:5px}.tool{position:relative;display:grid;place-items:center;width:34px;height:34px;border:1px solid #e5e6df;border-radius:50%}.tool sup{position:absolute;right:-4px;top:-4px;background:#245b3d;color:white;border-radius:20px;min-width:15px;text-align:center;font-size:10px;padding:2px}.nav{padding:0 32px;justify-content:center;gap:36px;border-top:1px solid #eeece5}.nav a{padding:11px 0;font-size:12px}.nav a:after{height:2px}.mobile-nav{display:none}main{max-width:1440px;padding:24px 32px 42px}.editorial{display:grid;grid-template-columns:265px minmax(0,1fr);gap:26px;align-items:stretch}.editorial-intro{position:relative;padding:18px 10px 18px 6px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}.eyebrow{font-size:10px!important;font-weight:750;letter-spacing:1.6px!important;text-transform:uppercase;color:#657760}.tiny-line{display:inline-block;width:19px;height:1px;background:#9b8a58;vertical-align:middle;margin-right:5px}.editorial-intro h1,.hero-copy h1,.market-page h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-1.5px;color:#242b21}.editorial-intro h1{font-size:45px;line-height:1.04}.editorial-intro h1 span{color:#9d8d57}.ornament{display:flex;align-items:center;gap:10px;color:#a49460}.ornament::before,.ornament::after{content:'';height:1px;width:38px;background:#b6a56d}.ornament svg{width:15px;height:15px}.editorial-intro>p:not(.eyebrow){font-size:13px;line-height:1.75;max-width:245px;color:#626c60}.intro-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%;padding-top:5px}.intro-benefits>div{display:grid;justify-items:center;gap:5px;font-size:12px;min-width:0}.intro-benefits svg{background:#edf0e6;border:1px solid #dbe2d4;border-radius:50%;padding:9px;width:40px;height:40px;color:#3b6244}.intro-benefits small{font-size:10px}.intro-bottom{margin-top:auto;color:#7c8b73;font-size:9px;letter-spacing:1.8px}.editorial-main{min-width:0}.hero{display:block;position:relative;min-height:345px;overflow:hidden;border-radius:12px;background:linear-gradient(90deg,#f3e9d6 0%,#f3e9d6c9 25%,#f3e9d61c 58%,transparent 80%),url('market-hero.webp') 62% center/cover no-repeat;color:#243423;padding:0;box-shadow:none}.hero-copy{padding:45px 30px;display:flex;flex-direction:column;align-items:flex-start;gap:16px;max-width:62%;background:none}.hero-copy .eyebrow{color:#53674b;font-size:10px!important;letter-spacing:1.3px!important}.hero-copy h1{font-size:clamp(32px,4vw,52px);line-height:1.08;color:#222f23}.hero-copy p{color:#40533e;font-size:13px;max-width:330px}.hero-copy .primary{display:flex;gap:10px;align-items:center;background:#295638;font-size:12px;padding:11px 15px;border-radius:5px}.hero-copy button svg{width:15px;height:15px}.editorial-strip{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px;border:1px solid #e6e6dc;border-radius:8px;padding:11px 15px;background:#fffdf7;color:#5c6a58;font-size:11px}.editorial-strip span,.editorial-strip a{display:flex;align-items:center;gap:5px;white-space:nowrap}.editorial-strip svg{width:16px;height:16px}.section{margin-top:30px}.section-head{align-items:end}.section-head h2{font-size:29px;line-height:1.15}.section-head .eyebrow{margin-bottom:7px}.section-head p:not(.eyebrow){font-size:12px;color:#697368}.categories{grid-template-columns:repeat(8,minmax(0,1fr));gap:12px}.category{display:flex;flex-direction:column;align-items:center;gap:9px;background:#fffdf8;border:1px solid #e7e7dd;color:#384736;padding:10px 7px;border-radius:9px;font-size:12px;font-weight:700;box-shadow:none}.category span{width:70px;height:70px;background:#ebefe5;overflow:hidden;display:grid;place-items:center;border-radius:50%}.category span img{width:100%;height:100%;object-fit:cover}.category:hover,.category.active{background:#edf4e9;border-color:#aac3a7;color:#245b3d;box-shadow:var(--shadow)}.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.product{background:#fffefa;border:1px solid #e3e5da;border-radius:12px;overflow:hidden;box-shadow:0 3px 12px #32462606}.photo{height:180px;margin:8px 8px 0;border-radius:8px;overflow:hidden;background:#f0f1e9;display:grid;place-items:center}.photo img{height:100%;width:100%;object-fit:cover;position:absolute;inset:0}.photo .pill{position:absolute;z-index:1;left:8px;top:8px;font-size:10px;background:#f0f6e9;color:#2b5b3d;border:1px solid #d6e3ce}.no-photo{display:grid;gap:6px;justify-items:center;color:#778872}.no-photo svg{width:46px;height:46px}.no-photo small{font-size:10px}.product-body{padding:12px 14px 14px;display:grid;gap:7px}.shop-label{font-size:10px;text-transform:uppercase;letter-spacing:.8px}.product-body h3{font-family:Georgia,serif;font-size:19px;font-weight:500;letter-spacing:-.2px;min-height:0}.price{font-size:23px;font-weight:750;color:#263c2a}.price small{font-weight:400}.product-actions{display:flex;gap:8px;align-items:center}.product-actions .secondary{background:#eef4e8;color:#24543c;border:1px solid #d7e4d3;flex:1;font-size:12px;padding:8px}.product-actions .add-button{display:grid;place-items:center;width:34px;height:34px;padding:0;font-size:20px;line-height:1;border-radius:50%;background:#275a3c;flex-shrink:0}.catalog-empty{grid-column:1/-1;display:grid;justify-items:center;gap:9px;border:1px dashed #c8d3c2;padding:26px;text-align:center;background:#fbfcf6;border-radius:12px}.catalog-empty>svg{width:34px;height:34px;color:#7d9877}.catalog-empty p{font-size:13px;color:#687768}.trust{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;background:#f3f0e6;border-radius:10px;padding:14px 20px;border:1px solid #e5e4d7}.trust>div{display:flex;gap:10px;align-items:start;background:none!important;padding:8px!important}.trust svg{flex-shrink:0;color:#416247;width:28px;height:28px}.trust b{font-size:13px}.trust p{font-size:11px;margin-top:4px;color:#697367}.glass,.card{border-color:#e7ece3;background:#fffdf9;box-shadow:var(--shadow)}.market-page .shop{background:#fffdf8}.filters .secondary{background:#f2f4eb;border:1px solid #e4e7db}.filters .secondary.active{background:#285638;color:#fff}.footer-links a{font-weight:400}.workspace-mode{background:radial-gradient(ellipse at 90% 5%,#b3ebdc 0,transparent 45%),linear-gradient(135deg,#91d9c4,#e5f6ee 60%,#c1ebdd);--green:#159879;--green2:#078a77;--line:#e4eeeb;--muted:#77888c;--text:#20343c}.workspace-mode #header{background:#f8fffcf2}.workspace-mode .nav{display:none}.workspace-mode main{padding:25px 32px;max-width:1400px}.workspace{grid-template-columns:214px minmax(0,1fr);gap:18px;padding:13px;border:1px solid #ffffffb5;border-radius:22px;background:#ffffff85;backdrop-filter:blur(18px);box-shadow:0 15px 50px #125b4620}.sidebar.glass{display:flex;flex-direction:column;align-self:stretch;position:sticky;top:95px;padding:18px 12px;gap:5px;background:#fff;border:1px solid #f2f6f3;border-radius:13px;box-shadow:none;min-height:540px}.sidebar .side-brand{display:flex;align-items:center;color:#0a9071;font-size:15px;margin:0 0 20px;padding:7px 5px;gap:8px}.sidebar .side-brand svg{width:24px;height:24px}.sidebar .eyebrow{padding:4px 10px;font-size:9px!important;letter-spacing:1px!important;color:#849195}.sidebar a{font-size:12px;padding:11px 10px;font-weight:600;gap:10px;color:#63757e}.sidebar a svg{width:17px;height:17px;flex-shrink:0}.sidebar a.active{background:#e3f7ed;color:#0a8c70;box-shadow:inset 3px 0 #0fa284}.sidebar a:hover{background:#edf8f3}.sidebar a:hover svg{animation:pop .45s cubic-bezier(.2,1.6,.4,1)}.sidebar .side-other{margin-top:18px}.side-bottom{margin-top:auto;display:grid;justify-items:center;gap:6px;padding:13px 4px;border-top:1px solid #eef2ef}.side-avatar{width:39px;height:39px;border-radius:50%;background:#e1f4ed;color:#098d71;display:grid;place-items:center;font-weight:800}.side-bottom small{text-transform:capitalize}.dashboard{gap:14px;padding:12px 11px 12px 0}.dashboard .dash-title{padding:3px 0 8px}.dash-title h1{font-size:27px;letter-spacing:-.5px;color:#233943;line-height:1.35}.dash-title .eyebrow{color:#5b8c80;font-size:9px!important}.dash-title button{display:flex;align-items:center;gap:5px;background:#fff;border:1px solid #e4eeeb}.dash-title button svg{width:14px;height:14px}.dashboard .glass{border:1px solid #fff;background:#fff;border-radius:13px;padding:17px;box-shadow:0 4px 14px #1f6e5e06}.dashboard h2{font-size:16px;letter-spacing:-.3px;color:#263b43}.overview-top{display:grid;grid-template-columns:1.85fr 1fr;gap:14px}.revenue-card{padding:19px;border-radius:14px;background:linear-gradient(125deg,#10ad98,#0b8e80);color:#fff;box-shadow:0 5px 16px #008b7b22;min-width:0;overflow:hidden}.revenue-card .eyebrow{color:#d7fff6;letter-spacing:1px!important;font-size:10px!important}.revenue-card h2{color:white;font-size:15px}.chart-tag{padding:6px 11px;border-radius:20px;font-size:10px;border:1px solid #ffffff55;background:#ffffff15}.revenue-number{display:block;font-size:29px;letter-spacing:-.6px;margin-top:14px}.sales-chart{width:100%;display:block;height:140px;animation:card-in .5s ease-out}.balance-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px}.balance-card h2.counter{font-size:29px;letter-spacing:-.5px;color:#283f4b}.balance-card strong{font-size:20px;color:#168d76}.balance-card .eyebrow{font-size:10px!important;letter-spacing:.8px!important;color:#87989c}.balance-divider{height:1px;background:#e7efec;width:100%;margin:3px 0}.balance-link{display:flex;align-items:center;gap:8px;justify-content:center;width:100%;padding:9px 12px;background:#0e9b84;color:white;font-size:12px;border-radius:20px;margin-top:5px}.balance-link svg{width:14px;height:14px}.new-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.new-stats .stat{display:flex;align-items:center;gap:11px;padding:13px 10px}.new-stats .stat>div{min-width:0}.new-stats .stat .icon,.cat-dot{width:36px;height:36px;flex-shrink:0;border-radius:9px;display:grid;place-items:center;color:#0d9874;background:#e2f8ed}.new-stats .stat strong{font-size:22px;display:block;color:#30444e}.new-stats .stat label{display:block;font-size:11px;line-height:1.3}.icon-1{background:#ede9ff!important;color:#7766cf!important}.icon-2{background:#e2f4ff!important;color:#459bc5!important}.icon-3{background:#fff1de!important;color:#c99544!important}.overview-bottom{display:grid;grid-template-columns:1.85fr 1fr;gap:14px}.recent-card .row a{font-size:11px;color:#099b80}.dashboard th{background:#f5f9f7;color:#859298;font-size:10px;padding:10px}.dashboard td{padding:12px 10px;font-size:12px;color:#435760;border-color:#edf2f0}.dashboard .status{font-size:10px}.cat-row{display:grid;grid-template-columns:29px minmax(0,1fr) auto;gap:9px;align-items:center;margin-top:13px;font-size:12px}.cat-dot{width:29px;height:29px}.cat-dot svg{width:16px;height:16px}.cat-row .bar{height:4px;margin:6px 0 0}.cat-row b{overflow-wrap:anywhere}.admin-workspace .revenue-card{color:#109b78;background:#fff;border:1px solid #fff;box-shadow:none}.admin-workspace .revenue-card .eyebrow{color:#71978d}.admin-workspace .revenue-card h2{color:#29404a}.admin-workspace .chart-tag{background:#e9f8f1;border:1px solid #d0eee2;color:#159378}.admin-workspace .revenue-number{color:#223b43}.admin-workspace .sidebar a.active{background:#e2f6ed}.workspace-mode footer{border-color:#ffffff80}.workspace-mode .glass .empty{background:#f6faf8}.workspace-mode .glass .section{margin-top:16px}.workspace-mode .notice{background:#e5f7ec}.workspace-mode button:not(.ghost):not(.secondary):not(.mobile-tab):hover{background:#0a8771}
@media(max-width:1120px){.editorial{grid-template-columns:220px minmax(0,1fr);gap:17px}.editorial-intro h1{font-size:39px}.hero-copy{max-width:70%}.categories{grid-template-columns:repeat(4,1fr)}.workspace{grid-template-columns:180px minmax(0,1fr)}.new-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.top{gap:13px}.location{display:flex}.brand .brand-sub{display:none}.photo{height:150px}}@media(max-width:820px){.overview-bottom,.overview-top{grid-template-columns:1fr}.workspace-mode main{padding:15px}.workspace{grid-template-columns:158px minmax(0,1fr);gap:12px}.sidebar.glass{padding:12px 7px}.sidebar a{font-size:11px;gap:6px}.sidebar .side-brand{font-size:13px}.editorial-intro h1{font-size:34px}.editorial{grid-template-columns:185px minmax(0,1fr)}.hero-copy{padding:30px 21px}.hero{min-height:310px}.intro-benefits{gap:4px}.intro-benefits svg{width:34px;height:34px;padding:7px}.intro-benefits b{font-size:11px}.editorial-strip{flex-wrap:wrap}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.top{padding:10px 18px}.nav{gap:21px;padding:0 18px}.hero-copy h1{font-size:36px}.trust{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:20px 18px 35px}}
@media(max-width:640px){:root{font-size:13px}body{background:#f7faf4;padding-bottom:70px}.top{gap:8px;padding:10px 13px;justify-content:space-between}.aj-logo{width:83px;height:41px}.brand{order:0}.location{order:1;flex:1;gap:4px;min-width:0}.location>svg{width:17px;height:17px}.location small{font-size:9px}.location button{font-size:11px;max-width:100%;white-space:nowrap}.header-actions{order:2;gap:5px}.header-actions button{font-size:10px;padding:7px}.header-actions button svg{width:15px;height:15px}.header-actions button span{display:none}.tool{width:28px;height:28px}.tool svg{width:16px;height:16px}.search{order:3;min-width:100%;max-width:none;padding:3px 4px 3px 10px}.search input{padding:7px 4px;font-size:12px}.search button{background:#138e5e;padding:7px}.search button svg{width:17px;height:17px}.nav{display:none}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:50;display:flex;justify-content:space-around;align-items:center;padding:8px 5px calc(8px + env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #e1ece1;box-shadow:0 -4px 20px #21482f0c}.mobile-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:19%;font-size:10px;color:#748676;background:none;padding:4px 0;font-weight:650;border:0;box-shadow:none}.mobile-tab.active{color:#159557}.mobile-tab svg{width:21px;height:21px}.mobile-tab:hover{background:none;color:#159557;transform:none;box-shadow:none}.editorial{display:block}.editorial-intro{display:none}.hero{min-height:190px;border-radius:12px;background:linear-gradient(90deg,#1c4029e8 0%,#23472cb0 42%,#22442b12 100%),url('market-hero.webp') 64% center/cover no-repeat}.hero-copy{max-width:74%;padding:19px 15px;gap:9px;background:none}.hero-copy h1{font-family:Arial,sans-serif;font-size:25px;font-weight:750;line-height:1.12;letter-spacing:-.6px;color:white}.hero-copy .eyebrow{color:#dceede;font-size:9px!important;letter-spacing:.6px!important}.hero-copy p{font-size:11px;color:#e1f1e2}.hero-copy .primary{font-size:10px;background:#19a45f;padding:8px 11px}.hero-copy button svg{width:12px;height:12px}.editorial-strip{display:none}main{padding:12px 13px 25px}.section{margin-top:20px}.section-head h2,.market-page h2{font-family:Arial,sans-serif;font-size:19px;font-weight:750;letter-spacing:-.5px}.section-head .eyebrow{font-size:9px!important;letter-spacing:1px!important;margin-bottom:4px}.section-head p:not(.eyebrow){font-size:11px}.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.category{background:none;border:0;padding:5px 2px;font-size:10px;gap:5px;box-shadow:none}.category span{height:52px;width:52px;border:1px solid #e3eadf}.category span img{height:100%;width:100%}.category:hover,.category.active{background:#e6f3e7;border-radius:9px;box-shadow:none}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo{height:115px;margin:6px 6px 0;border-radius:6px}.photo .pill{font-size:8px;top:5px;left:5px;padding:4px 6px}.product-body{padding:8px 9px 10px;gap:5px}.product-body h3{font-family:Arial,sans-serif;font-size:13px;font-weight:700}.product-body .shop-label{font-size:9px}.product-body .muted{font-size:10px}.price{font-size:17px}.price small{font-size:10px}.product-actions .secondary{font-size:10px;padding:7px 5px}.product-actions .add-button{width:29px;height:29px;font-size:18px;border-radius:7px;background:#16975c}.product-description{display:none}.filters{gap:5px}.filters button{font-size:10px;padding:6px 8px}.trust{padding:9px;gap:4px}.trust>div{gap:5px;padding:5px!important}.trust svg{width:20px;height:20px}.trust b{font-size:11px}.trust p{font-size:10px}.workspace-mode main{padding:10px}.workspace{display:block;padding:7px;border-radius:13px}.sidebar.glass{position:static;display:flex;flex-direction:row;overflow-x:auto;min-height:0;white-space:nowrap;padding:7px;border-radius:9px;align-items:center;gap:5px}.sidebar .side-brand,.sidebar .eyebrow,.sidebar .side-bottom{display:none}.sidebar a{padding:7px 9px;flex-shrink:0;font-size:11px}.sidebar a svg{width:15px;height:15px}.dashboard{padding:10px 3px;gap:10px}.dash-title h1{font-size:23px}.dashboard .glass,.revenue-card{padding:12px}.overview-top,.overview-bottom{gap:10px;grid-template-columns:1fr}.new-stats{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.new-stats .stat{padding:10px 8px;gap:6px}.new-stats .stat .icon{width:30px;height:30px}.new-stats .stat strong{font-size:20px}.new-stats .stat label{font-size:10px}.sales-chart{height:120px}.balance-card h2.counter{font-size:24px}.dashboard h2{font-size:15px}#toast{bottom:82px;right:12px}.workspace-mode footer{padding:16px}.footer-links{gap:7px}.catalog-empty{padding:19px}.catalog-empty h3{font-size:15px}}
@media(max-width:350px){.location small{display:none}.location>svg{display:none}.header-actions{gap:3px}.aj-logo{width:65px}.header-actions button{padding:6px}.location button{font-size:10px}.hero-copy h1{font-size:22px}.new-stats .stat .icon{display:none}}
@media(prefers-reduced-motion:reduce){.sidebar a:hover svg,.sales-chart{animation:none!important}.mobile-tab:hover{transform:none!important}}
/* Prevent intrinsic table widths from expanding dashboard grid tracks. */
.dashboard{grid-template-columns:minmax(0,1fr)}.overview-top,.overview-bottom,.dashboard>section,.dashboard .glass{min-width:0}.table-wrap{max-width:100%}.overview-top,.overview-bottom{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)}@media(max-width:820px){.overview-top,.overview-bottom{grid-template-columns:minmax(0,1fr)}}
/* Desktop editorial layout mirrors the reference: slim left rail, hero and catalog on the right. */
@media(min-width:1000px){.market-page:has(.editorial){display:grid;grid-template-columns:235px minmax(0,1fr);column-gap:22px;row-gap:18px;align-items:start}.market-page:has(.editorial)>.editorial{display:contents}.market-page:has(.editorial) .editorial-intro{grid-column:1;grid-row:1/3;align-self:start;padding:12px 4px 16px 4px;gap:16px}.market-page:has(.editorial) .editorial-main{grid-column:2;grid-row:1}.market-page:has(.editorial) #products{grid-column:2;grid-row:2;margin:0;min-width:0}.market-page:has(.editorial)>.category-section{grid-column:1/-1;grid-row:3;margin-top:8px}.market-page:has(.editorial)>section:not(.editorial):not(#products):not(.category-section){grid-column:1/-1;margin:8px 0}.market-page:has(.editorial) .hero{min-height:265px}.market-page:has(.editorial) .hero-copy{padding:26px 28px;gap:11px;max-width:62%}.market-page:has(.editorial) .hero-copy h1{font-size:clamp(34px,3.2vw,45px)}.market-page:has(.editorial) .editorial-strip{padding:7px 12px}.market-page:has(.editorial) #products .section-head h2{font-size:24px}.market-page:has(.editorial) #products .photo{height:145px}.market-page:has(.editorial) #products .products{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.market-page:has(.editorial) #products .product-body{padding:9px 10px 11px;gap:5px}.market-page:has(.editorial) #products .product-body h3{font-size:16px}.market-page:has(.editorial) #products .price{font-size:20px}.market-page:has(.editorial) .intro-bottom{margin-top:17px}.market-page:has(.editorial) .editorial-intro:after{content:'';display:block;width:100%;height:145px;background:radial-gradient(ellipse at 40% 40%,#d8e3c86b,transparent 70%);border-bottom:1px solid #d9dfd2}.market-page:has(.editorial) #products .section-head{gap:8px}.market-page:has(.editorial) #products .section-head .filters{justify-content:flex-end}}
@media(min-width:1000px) and (max-width:1190px){.market-page:has(.editorial){grid-template-columns:200px minmax(0,1fr);gap:15px}.market-page:has(.editorial) #products .products{grid-template-columns:repeat(3,minmax(0,1fr))}.market-page:has(.editorial) .hero-copy{max-width:70%}.market-page:has(.editorial) #products .section-head{flex-wrap:wrap}}
.product-actions .add-button{flex:0 0 34px;min-width:34px;max-width:34px}.product-actions .fixed-add{flex:1;border-radius:7px;font-size:12px;min-height:34px}.product-actions .secondary{min-width:0}@media(max-width:640px){.product-actions .add-button{flex:0 0 29px;min-width:29px;max-width:29px}.product-actions .fixed-add{min-height:29px;padding:6px;font-size:10px}}

/* v3.1: complete photographic category grid, with no horizontal scrolling. */
.categories{grid-template-columns:repeat(12,minmax(0,1fr));gap:10px}
.category{min-width:0;overflow-wrap:anywhere}
.category:focus-visible{outline:2px solid #167d65;outline-offset:2px}
@media(max-width:1120px){.categories{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}}
@media(max-width:640px){.categories{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}}

/* Ajosa Factory 4.0 — premium interface and personal dashboard. */
:root{--ui-ease:cubic-bezier(.2,.75,.25,1);--ui-shadow:0 12px 32px #173c2510;--ui-focus:#147d66;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}
body{background:radial-gradient(ellipse at 95% 0,#e9f3e6 0,transparent 35%),#faf8f2}
#header{backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.top{gap:20px}.search{border-radius:12px;min-height:42px}.search:focus-within{border-color:#6c9e83;box-shadow:0 0 0 3px #6c9e8322}.nav a{font-weight:650;font-size:13px}.tool{transition:background .25s var(--ui-ease),border-color .25s var(--ui-ease),transform .25s var(--ui-ease)}.tool:hover{background:#e8f3e8;border-color:#9dbda5}
.editorial{gap:24px}.editorial-intro{padding:25px 14px 22px 8px}.hero{border-radius:20px;box-shadow:0 12px 35px #32462612}.hero-copy{padding:45px 30px}.hero-copy h1{letter-spacing:-1.7px}.hero-copy .primary{border-radius:9px;padding:12px 17px}.editorial-strip{border-radius:12px;padding:13px 16px}.category{border-radius:14px;transition:transform .25s var(--ui-ease),box-shadow .25s var(--ui-ease),border-color .25s var(--ui-ease),background .25s var(--ui-ease);padding:12px 7px}.category span{border:1px solid #e4e9dd;box-shadow:0 3px 10px #23543a10}.category:hover{box-shadow:0 8px 20px #23543a12;transform:translateY(-3px)}.category.active{box-shadow:inset 0 0 0 1px #75a080}.product,.shop,.glass{border-radius:16px;box-shadow:0 4px 18px #213b2808}.product{transition:transform .25s var(--ui-ease),box-shadow .25s var(--ui-ease),border-color .25s var(--ui-ease)}.product:hover{border-color:#b8cdb7;box-shadow:var(--ui-shadow);transform:translateY(-3px)}.product .photo{border-radius:12px}.photo img{transition:transform .35s var(--ui-ease)}.product:hover .photo img{transform:scale(1.025)}.product-body{gap:8px}.product-actions .secondary{border-radius:9px}.product-actions .add-button{box-shadow:0 3px 10px #23543a25}.trust{border-radius:16px;background:#f1f3e9}.catalog-empty{border-radius:16px;padding:32px}
button,a,input,select,textarea{ -webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}button{transition:background .25s var(--ui-ease),border-color .25s var(--ui-ease),color .25s var(--ui-ease),box-shadow .25s var(--ui-ease),transform .25s var(--ui-ease)}button:not(:disabled):active{transform:translateY(0) scale(.98)}button:not(.ghost):not(.secondary):not(.category):not(.mobile-tab):hover{box-shadow:0 5px 15px #174b3426}.field input,.field select,.field textarea{border-radius:10px;min-height:42px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#84b7a6;box-shadow:0 0 0 3px #15987914}.table-wrap{border-radius:10px}.table-wrap tbody tr:hover{background:#f0f8f4}dialog{border-radius:20px;box-shadow:0 24px 80px #12372d35;max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#102f2b66;backdrop-filter:blur(4px)}.modal-head{padding-bottom:12px;border-bottom:1px solid #e5eee9}.modal-head h2{font-size:20px}.status{font-weight:650;white-space:normal}.empty{border-radius:12px}
.workspace-mode{--green:#0b8875;--green2:#087567;--panel-accent:#0b8875;--panel-deep:#086657;background:radial-gradient(ellipse at 95% 0,#b9eddf 0,transparent 50%),linear-gradient(145deg,#a8dfd0,#edf7f0 65%,#d2ede3)}.workspace-mode[data-accent=forest]{--green:#38704b;--green2:#295d3d;--panel-accent:#38704b;--panel-deep:#27553c;background:radial-gradient(ellipse at 90% 0,#c5e4bd,transparent 55%),#e5f1df}.workspace-mode[data-accent=slate]{--green:#3b658d;--green2:#294e73;--panel-accent:#3b658d;--panel-deep:#294e73;background:radial-gradient(ellipse at 90% 0,#c6d9ec,transparent 55%),#e6eef6}.workspace{border-radius:22px;box-shadow:0 14px 55px #143f3320}.workspace .sidebar{border-radius:15px}.sidebar a{position:relative;transition:transform .22s var(--ui-ease),background .22s var(--ui-ease),color .22s var(--ui-ease)}.sidebar a.active{background:color-mix(in srgb,var(--panel-accent) 13%,white);color:var(--panel-deep)}.sidebar a svg{transition:transform .32s cubic-bezier(.22,1.5,.42,1)}.sidebar a:hover svg{transform:scale(1.12)}.dash-title h1{font-size:clamp(24px,3vw,32px);letter-spacing:-1px}.dash-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dash-tools button{white-space:nowrap}.dash-tools button[data-action=customize]{background:var(--panel-accent);color:white;border:1px solid transparent;padding:9px 13px;border-radius:9px}.dash-tools button[data-action=customize]:hover{background:var(--panel-deep)}
.widget-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:14px;align-items:stretch}.widget{min-width:0;display:flex;flex-direction:column}.widget>section{height:100%;min-width:0;margin:0}.widget-metrics{grid-column:1/-1}.widget-metrics>.grid{margin:0}.widget .glass{padding:19px;box-shadow:0 4px 18px #143f330b;border-radius:15px}.widget .glass h2{font-size:16px;letter-spacing:-.25px}.widget .revenue-card{background:linear-gradient(135deg,var(--panel-accent),var(--panel-deep));border-radius:15px;padding:19px;color:white;min-height:245px;box-shadow:0 10px 24px #143f3320}.widget .revenue-card .eyebrow,.widget .revenue-card small{color:#e0f4ef}.widget .revenue-card small{font-size:11px}.widget .revenue-card .chart-tag{white-space:nowrap}.widget .new-stats .stat{padding:15px 12px;min-height:88px}.widget .new-stats .stat strong{font-size:26px;font-variant-numeric:tabular-nums;letter-spacing:-1px}.widget .balance-card h2{font-size:32px;letter-spacing:-1px;overflow-wrap:anywhere}.widget .balance-link{background:var(--panel-accent);color:#fff}.widget .balance-link:hover{background:var(--panel-deep)}.widget .task-row{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #e8efeb;color:#38524c;font-size:13px}.widget .task-row:last-child{border:0}.widget .task-row strong{display:flex;align-items:center;gap:6px;color:var(--panel-deep)}.task-row svg{width:15px}.progress-row{margin:16px 0}.progress-row .bar{margin-top:7px}.widget .bar i{background:var(--panel-accent)}.stock-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.stock-summary>div{padding:10px;background:#f3f8f5;border-radius:10px;display:grid;gap:4px}.stock-summary strong{font-size:23px;color:var(--panel-deep)}.stock-summary small{font-size:11px;color:#5e746b}.widget-grid[data-density=compact]{gap:8px}.widget-grid[data-density=compact] .glass,.widget-grid[data-density=compact] .revenue-card{padding:12px}.widget-grid[data-density=compact] .new-stats .stat{min-height:65px;padding:9px}.widget-grid[data-density=compact] td{padding:7px 8px}.widget-grid[data-density=compact] .task-row{padding:8px 0}
#custom-dashboard .custom-options{display:grid;grid-template-columns:1fr 1fr;gap:11px}.custom-widget-list{padding:12px;border:1px solid #e1eae4;border-radius:12px;background:#f7faf8}.custom-widget-list h3{font-size:15px}.custom-widget-list>p{font-size:12px;margin:6px 0 8px}.custom-widget{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0;border-top:1px solid #e1eae4}.custom-widget label{display:flex;align-items:center;gap:9px;font-weight:550;font-size:13px;cursor:pointer}.custom-widget input{accent-color:var(--green);width:18px;height:18px;flex-shrink:0}.custom-widget>div{display:flex;gap:5px}.custom-widget button{border:1px solid #d8e7de;border-radius:7px;min-width:33px;min-height:33px;padding:5px}.custom-widget button:disabled{opacity:.35;cursor:default}.custom-actions{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.custom-actions button{flex:1}
/* Animate entries only on actual page changes, not on background updates. */
#app:not(.page-enter) .page,#app:not(.page-enter) .stat,#app:not(.page-enter) .bar i,#app:not(.page-enter) .chart-track i,#app:not(.page-enter) .revenue-card{animation:none!important}.page-enter .widget{animation:ajosa-widget .42s var(--ui-ease) both;animation-delay:calc(var(--widget-index)*45ms)}.page-enter .chart-line{stroke-dasharray:1;animation:ajosa-line .75s var(--ui-ease) both}.page-enter .chart-rect{transform-box:fill-box;transform-origin:bottom;animation:chart-rise .55s var(--ui-ease) both}.page-enter .category{animation:ajosa-widget .35s var(--ui-ease) both}.page-enter .category:nth-child(3n+2){animation-delay:35ms}.page-enter .category:nth-child(3n){animation-delay:70ms}@keyframes ajosa-widget{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes ajosa-line{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@media(max-width:1120px){.widget-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.widget-revenue,.widget-recent{grid-column:1/-1}.widget .balance-card h2{font-size:27px}}
@media(max-width:760px){.widget-grid{grid-template-columns:minmax(0,1fr);gap:10px}.widget-grid>.widget{grid-column:1}.widget .glass,.widget .revenue-card{padding:14px}.widget .revenue-card{min-height:200px}.widget .new-stats .stat{min-height:72px;padding:11px 8px}.widget .new-stats .stat strong{font-size:21px}.dash-title{flex-wrap:wrap;align-items:flex-start}.dash-tools{width:100%}.dash-tools button[data-action=customize]{flex:1}.editorial-intro{padding:8px 0}.hero{border-radius:14px}.hero-copy{padding:20px 15px}.category{padding:9px 4px;border-radius:11px}.product,.glass{border-radius:12px}.catalog-empty{padding:21px}.trust{padding:10px}.top{gap:8px}}
@media(max-width:420px){#custom-dashboard .custom-options{grid-template-columns:1fr}.custom-widget label{font-size:12px}.custom-widget button{min-width:30px}.widget .new-stats .stat strong{font-size:19px}.dash-title h1{font-size:24px}.hero-copy h1{letter-spacing:-.7px}}
@media(hover:none){.category:hover,.product:hover,.sidebar a:hover svg,.product:hover .photo img,.tool:hover{transform:none}}
body[data-motion=reduced] *,body[data-motion=reduced] *::before,body[data-motion=reduced] *::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}body[data-motion=reduced] .magnetic{transform:none!important}body[data-motion=reduced] #reveal{display:none!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}#reveal{display:none!important}}
/* V5 — distinct access portals and role-specific workspaces */
.portal-header-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 13px;border:1px solid #c9d9ce;border-radius:10px;color:#23543a;font-weight:700;font-size:12px;white-space:nowrap;transition:background .22s,transform .22s}.portal-header-link:hover{background:#e9f2e8;transform:translateY(-2px)}.portal-header-link.vendor-link{background:#23543a;color:white;border-color:#23543a}.portal-header-link.vendor-link:hover{background:#17432d}.portal-header-link svg{width:17px;height:17px}.portal-mode{background:radial-gradient(ellipse at 5% 10%,#e1eee0,transparent 55%),#f8f7f0}.portal-mode .nav,.portal-mode .location,.portal-mode .search{display:none}.portal-mode .top{justify-content:space-between}.portal-mode main{max-width:1160px;padding:32px 24px 45px}.portal-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);border-radius:24px;overflow:hidden;min-height:600px;box-shadow:0 18px 70px #234d3220;background:#fff;border:1px solid #e3eae0}.portal-art{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:28px;padding:38px;color:#fff;background:linear-gradient(135deg,#173e2de8,#173e2dc9 48%,#173e2d73),url('market-hero.webp') center/cover}.vendor-portal .portal-art{background:linear-gradient(140deg,#075c51ef,#0b7668d9 60%,#08766894),url('market-hero.webp') center/cover}.admin-portal .portal-art{background:radial-gradient(ellipse at 100% 100%,#399e8e,#15384c 65%)}.rider-portal .portal-art{background:linear-gradient(135deg,#1b465f,#138c82)}.portal-art h1{font:normal clamp(33px,4vw,50px)/1.09 Georgia,serif;letter-spacing:-1.3px;max-width:420px;margin:18px 0}.portal-art p{color:#eff6f0;line-height:1.7;max-width:370px;font-size:15px}.portal-kicker{font-size:10px;font-weight:700;letter-spacing:2px;color:#d6ece0}.portal-back{font-size:13px;font-weight:700;color:#fff;width:max-content}.portal-art small{color:#e1eee6}.portal-features{display:grid;gap:13px;margin-top:26px}.portal-features span{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600}.portal-features svg{width:17px;color:#b9edca}.portal-form{padding:35px 45px;display:flex;flex-direction:column;justify-content:center;gap:11px;min-width:0}.portal-logo{width:133px;height:60px;object-fit:contain;object-position:left center;margin-bottom:9px}.portal-form h2{font-size:29px;line-height:1.15;letter-spacing:-.9px;color:#173a2d;margin:0}.portal-form .eyebrow{color:#448368}.portal-form>.muted{font-size:13px;margin-bottom:8px}.portal-form .form{gap:13px}.portal-form .field input{min-height:46px;background:#fafcf9}.portal-form button[type=submit]{display:flex;align-items:center;justify-content:space-between;min-height:46px;background:#24563e;border-radius:10px;margin-top:5px}.vendor-portal .portal-form button[type=submit]{background:#087b68}.admin-portal .portal-form button[type=submit]{background:#204e66}.portal-reset,.portal-switch a{color:#246e50;font-weight:700;font-size:13px}.portal-switch{font-size:13px;margin:3px 0}.portal-alternatives{border-top:1px solid #e4ebe4;margin-top:8px;padding-top:13px;display:flex;flex-wrap:wrap;gap:9px 14px}.portal-alternatives small{flex-basis:100%;color:#637469;font-size:11px}.portal-alternatives a{font-size:11px;color:#366650;display:flex;gap:4px;align-items:center;font-weight:600}.portal-alternatives svg{width:13px;height:13px}.portal-session{max-width:650px;margin:40px auto;padding:30px}.portal-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.portal-actions .primary,.customer-welcome .primary{display:inline-flex;gap:8px;align-items:center;padding:10px 15px;border-radius:9px;background:#28563e;color:white;font-weight:700;font-size:12px}.workspace-mode #header .search,.workspace-mode #header .location{display:none}.workspace-mode .top{justify-content:space-between}.workspace .side-brand img{width:125px;height:48px;object-fit:contain;object-position:left center}.workspace .dashboard{min-width:0}.workspace .side-bottom strong{overflow-wrap:anywhere}.customer-welcome{background:linear-gradient(90deg,#f6f5e7 10%,#f6f5e7f5 40%,#f6f5e755 80%),url('market-hero.webp') center 57%/cover;border:1px solid #e7e6d9;border-radius:15px;padding:22px 24px;min-height:175px;margin-bottom:3px}.customer-welcome>div{max-width:72%}.customer-welcome h2{font:normal 30px/1.12 Georgia,serif;color:#234d36;letter-spacing:-.5px;margin:9px 0}.customer-welcome p{color:#4e6756;font-size:13px;margin:5px 0 14px}.customer-welcome .eyebrow{font-size:10px;letter-spacing:1.5px;font-weight:bold;margin:0}.customer-welcome svg{width:15px}.workspace-mode[data-account-role=customer][data-accent=classic]{--green:#2d6b49;--green2:#24543a;--panel-accent:#3b7955;--panel-deep:#27523b;background:linear-gradient(145deg,#dcece0,#f6f3e7 80%)}.workspace-mode[data-account-role=admin][data-accent=classic]{--panel-accent:#247f73;--panel-deep:#28566a;background:linear-gradient(145deg,#bfe1db,#edf5f2 65%,#d4e7e9)}.customer-workspace .new-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.dashboard>.glass{padding:20px}.dashboard .table-wrap{overflow-x:auto}.portal-mode footer{border-top:1px solid #e5e8df}
@media(max-width:1050px){.portal-form{padding:30px}.portal-art{padding:28px}.portal-header-link{padding:9px;font-size:11px}.customer-workspace .new-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.portal-mode main{padding:14px 10px 24px}.portal-layout{grid-template-columns:1fr;min-height:0;border-radius:16px}.portal-art{min-height:190px;padding:21px;gap:16px}.portal-art h1{font-size:30px;margin:10px 0}.portal-art p{font-size:12px;margin-bottom:0}.portal-art small,.portal-features{display:none}.portal-form{padding:23px;gap:10px}.portal-form h2{font-size:24px}.portal-logo{width:100px;height:43px}.portal-header-link{font-size:10px;padding:7px;gap:4px}.portal-header-link svg{width:13px}.customer-welcome{padding:18px;min-height:155px}.customer-welcome h2{font-size:24px}.customer-welcome>div{max-width:90%}.workspace-mode .dashboard>.glass{padding:13px}.portal-mode .mobile-nav{display:none}.portal-mode{padding-bottom:0}}
@media(max-width:640px){body:not(.workspace-mode) .top .header-actions:has(.portal-header-link){flex:0 0 auto;gap:5px}.top .header-actions .portal-header-link{max-width:none}.top .header-actions .portal-header-link svg{display:none}.top:has(.portal-header-link) .location{flex:1;min-width:0}.top:has(.portal-header-link) .location>svg{display:none}.top:has(.portal-header-link) .location small{display:none}}
@media(max-width:365px){.portal-header-link{font-size:9px;padding:6px}.portal-form{padding:18px}.top:has(.portal-header-link) .location{display:none}}

/* Persistent account feedback, independent of the transient toast. */
.portal-feedback{padding:12px 14px;margin:12px 0;border:1px solid #a4c9b4;background:#edf7ef;color:#245b3e;border-radius:10px;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.portal-feedback.is-error{border-color:#e3b3a9;background:#fff2ee;color:#96352a}.portal-feedback[hidden]{display:none!important}

/* V6 — polished storefront header and continuous workspace motion. */
#header{background:linear-gradient(110deg,#fffefaee,#f7faf3f5);border-bottom:1px solid #dce6dc;box-shadow:0 5px 22px #244a3210;backdrop-filter:blur(18px)}
.top{display:grid;grid-template-columns:auto auto minmax(160px,1fr) auto;gap:clamp(12px,2vw,28px);padding:12px 30px;min-height:78px;align-items:center}
.brand{gap:13px;min-width:0}.aj-logo{width:104px;height:54px;object-fit:contain}.brand .brand-sub{display:flex;flex-direction:column;gap:5px;max-width:none!important;letter-spacing:1.7px;font-size:10px;white-space:nowrap;padding-left:13px;border-color:#d8e2d5}.brand-sub small{font-size:9px;letter-spacing:.2px;font-weight:500;color:#667b6c}.location{display:flex;gap:9px;align-items:center;padding:8px 11px;border:1px solid #dfe7da;border-radius:12px;background:#fff9}.location>svg{width:20px;height:20px;color:#367655;flex-shrink:0}.location button{color:#285b41}.location small{font-size:10px;color:#65766b}.search{width:100%;max-width:none;min-width:0;border-radius:13px;min-height:46px;padding:4px 5px 4px 13px;box-shadow:0 2px 8px #204b3510}.search button{border-radius:9px;background:#235c41;min-width:37px;height:36px}.header-actions{flex-wrap:nowrap;gap:9px}.portal-header-link{min-height:43px;font-size:12px;padding:10px 15px;border-radius:12px;box-shadow:0 2px 6px #173e2b0a}.portal-header-link.customer-link{background:#fffdf9}.portal-header-link.vendor-link{background:linear-gradient(135deg,#245a40,#173f30);box-shadow:0 4px 10px #204d3020}.portal-header-link:hover{box-shadow:0 6px 18px #285b4124}.nav{gap:10px;justify-content:center;align-items:center;padding:5px 20px 7px;border-top:1px solid #e5eae0;scrollbar-width:none}.nav a{display:flex;gap:7px;align-items:center;justify-content:center;padding:9px 15px;border-radius:9px;font-size:12px;transition:background .25s ease-out,color .25s ease-out,transform .25s ease-out}.nav a svg{width:16px;height:16px}.nav a.active,.nav a:hover{background:#e8f1e5;color:#1e5d3e}.nav a:after{bottom:2px;left:14px;right:14px;border-radius:3px;background:#37885f}.nav a:hover svg,.portal-header-link:hover svg,.tool:hover svg{animation:pop .25s cubic-bezier(.2,1.6,.4,1)}
.workspace-mode .top,.portal-mode .top{grid-template-columns:minmax(0,1fr) auto;min-height:76px}.workspace-mode #header{background:#f5fcf8f5}.workspace-mode .workspace{grid-template-columns:218px minmax(0,1fr);padding:12px;gap:18px;align-items:start}.workspace .sidebar.glass{position:sticky;top:98px;align-self:start;min-height:540px;background:linear-gradient(160deg,#103e36,#0d2d29 65%,#123c33);border:1px solid #2e5849;border-radius:18px;box-shadow:0 12px 28px #133d3425;padding:14px 11px;color:#dcece4;overflow:visible}.admin-bar .workspace .sidebar.glass{top:130px}.workspace .sidebar .side-brand{padding:9px 10px;background:#f8fbf4;border-radius:10px;margin:0 2px 13px;justify-content:center}.workspace .sidebar .side-brand img{width:120px;height:43px;object-position:center}.workspace .sidebar .eyebrow{color:#b4d0c3;letter-spacing:1.25px!important}.workspace-nav{position:relative;display:flex;flex-direction:column;gap:6px;isolation:isolate}.workspace .sidebar a:not(.side-brand){color:#d6e8df;min-height:43px;padding:9px 9px;gap:12px;border-radius:11px;line-height:1.3;font-size:12px;box-shadow:none;transform:none}.workspace .sidebar .nav-label{display:inline;width:auto;font-size:inherit;line-height:1.35;animation:none!important}.workspace .sidebar a svg{width:19px;height:19px;flex:0 0 19px;margin:0 7px;position:relative;z-index:2}.workspace .sidebar a.active{color:#effff6;background:#ffffff12}.workspace .sidebar a:hover,.workspace .sidebar a:focus-visible{background:#ffffff12;color:white}.workspace .sidebar .workspace-nav a.active svg,.workspace .sidebar .workspace-nav a:hover svg,.workspace .sidebar .workspace-nav a:focus-visible svg{color:#103c31}.workspace .sidebar a::after{left:calc(100% + 13px);background:#0d3129;color:#fff;box-shadow:0 4px 18px #092a2840;padding:7px 10px;border:1px solid #ffffff28;border-radius:8px;transform:translate(-3px,-50%);transition:opacity .15s ease-out,transform .15s ease-out;z-index:30}.workspace .sidebar a:hover::after,.workspace .sidebar a:focus-visible::after{transform:translate(0,-50%)}.workspace .sidebar .side-brand::after{display:none}.workspace .sidebar .side-bottom{border-color:#ffffff25;color:#f0faf2}.workspace .sidebar .side-bottom small{color:#b8d4c5}.workspace .sidebar .side-bottom .ghost{color:#dcece4;border-color:#ffffff30}.workspace .sidebar .side-bottom .ghost:hover{background:#ffffff16}.nav-halo{position:absolute;top:0;left:0;width:36px;height:36px;z-index:-1;border-radius:50%;background:#b5eed7;box-shadow:0 0 15px #a0f7d280;transform:translate(var(--halo-x,0px),var(--halo-y,0px));opacity:0;pointer-events:none;transition:transform .3s cubic-bezier(.18,1.35,.45,1),opacity .15s ease-out}.nav-halo.visible{opacity:1}.workspace-nav a{z-index:1}.workspace-nav a.active,.workspace-nav a:hover{background:transparent!important}.workspace-nav a:focus-visible{outline:2px solid #b4eed4;outline-offset:1px}.workspace .sidebar a:hover svg{animation:pop .25s cubic-bezier(.2,1.6,.4,1)}
/* The shell stays still; only the new main content enters. */
#app.page-enter .workspace.page{animation:none!important}.page-enter .dashboard>.dash-title,.page-enter .dashboard>.glass,.page-enter .dashboard>.customer-welcome{animation:ajosa-content-in .42s ease-in-out both}.page-enter .widget{animation:ajosa-widget .42s ease-out both;animation-delay:calc(var(--widget-index,0)*75ms)}.page-enter .chart-line{animation-duration:.8s}.page-enter .chart-rect,.page-enter .bar i,.page-enter .chart-track i{animation-duration:.8s}.page-enter .category{animation-duration:.4s}.page-enter .product{animation:ajosa-widget .4s ease-out both}.page-enter .product:nth-child(4n+2){animation-delay:60ms}.page-enter .product:nth-child(4n+3){animation-delay:120ms}.page-enter .product:nth-child(4n+4){animation-delay:180ms}@keyframes ajosa-content-in{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.widget .stat,.widget .glass,.category,.product,.shop{transition:transform .25s ease-out,box-shadow .25s ease-out,border-color .25s ease-out}.widget .stat:hover,.widget .glass:hover,.category:hover,.product:hover,.shop:hover{transform:translateY(-5px);box-shadow:0 12px 24px #255c4020}.nav a:hover{transform:translateY(-1px)}}
/* Splash: dark radial glow, logo travel, then expanding circular opening. */
@property --reveal-radius{syntax:'<length>';inherits:false;initial-value:0px}
#reveal{display:grid;position:fixed;inset:0;z-index:1000;background:radial-gradient(ellipse at 50% 44%,#1d5b4c,#0b302b 45%,#071c1a 80%);color:white;pointer-events:none;animation:ajosa-splash-fallback 1.6s ease-in-out forwards;overflow:hidden;--reveal-radius:0px}
.splash-brand{position:absolute;left:50%;top:50%;display:flex;flex-direction:column;align-items:center;gap:7px;transform:translate(-50%,-50%);white-space:nowrap;animation:ajosa-logo-travel .8s ease-in-out forwards}.splash-logo{display:grid;place-items:center;width:92px;height:78px;background:#fffff8;border-radius:17px;box-shadow:0 0 45px #9df5c845}.splash-logo img{max-width:82px;max-height:69px;object-fit:contain}.splash-brand strong{font-size:20px;letter-spacing:.3px}.splash-brand small{font-size:9px;letter-spacing:2px;color:#bce6d4}.splash-brand>strong,.splash-brand>small{animation:ajosa-splash-text .65s ease-in-out forwards}@keyframes ajosa-logo-travel{0%,18%{left:50%;top:50%;transform:translate(-50%,-50%) scale(1)}100%{left:68px;top:44px;transform:translate(-50%,-50%) scale(.55)}}@keyframes ajosa-splash-text{0%,35%{opacity:1}100%{opacity:0}}@keyframes ajosa-splash-fallback{0%,50%{opacity:1;visibility:visible}99%{opacity:0;visibility:visible}100%{opacity:0;visibility:hidden}}
@supports (mask-image:radial-gradient(circle,transparent,black)){#reveal{mask-image:radial-gradient(circle at 68px 44px,transparent 0,transparent var(--reveal-radius),black calc(var(--reveal-radius) + 1px));animation:ajosa-circle-open .7s ease-in-out .8s both,ajosa-splash-end 1.51s linear forwards}@keyframes ajosa-circle-open{from{--reveal-radius:0px}to{--reveal-radius:160vmax}}@keyframes ajosa-splash-end{0%,99%{visibility:visible}100%{visibility:hidden}}}
@media(max-width:1100px){.top{gap:12px;padding:10px 20px;grid-template-columns:auto auto minmax(130px,1fr) auto}.brand .brand-sub{display:none}.workspace-mode .workspace{grid-template-columns:196px minmax(0,1fr);gap:12px}.workspace .sidebar a:not(.side-brand){font-size:11px}.portal-header-link{padding:9px 10px}}
@media(max-width:850px){.top{grid-template-columns:minmax(80px,auto) minmax(0,1fr) auto;gap:8px;padding:9px 14px}.top .search{grid-column:1/-1;grid-row:2;min-width:0}.top .location{justify-self:start}.top .header-actions{justify-self:end}.top .aj-logo{width:82px;height:44px}.location{padding:6px 9px}.workspace-mode .workspace{grid-template-columns:170px minmax(0,1fr)}.workspace .sidebar.glass{padding:10px 7px}.workspace .sidebar a:not(.side-brand){gap:5px;padding:8px 5px}.workspace .sidebar a svg{margin:0 5px}}
@media(max-width:760px){.top{grid-template-columns:minmax(65px,1fr) auto;min-height:0;padding:9px 13px}.top .header-actions{grid-column:2;grid-row:1;gap:6px}.top .location{grid-column:1/-1;grid-row:2;display:flex!important;width:100%;padding:5px 8px;justify-content:flex-start;background:#eaf2e7;border:0}.top .location>svg{display:block!important;width:16px;height:16px}.top .location>div{display:flex;gap:8px;align-items:center;min-width:0}.top .location small{display:block!important;font-size:10px}.top .location button{font-size:11px}.top .search{grid-row:3;min-height:42px}.portal-header-link{min-height:36px;font-size:11px;padding:7px 9px}.top .header-actions .portal-header-link svg{display:block;width:14px;height:14px}.top .aj-logo{width:83px;height:43px}.workspace-mode .top .location,.portal-mode .top .location{display:none!important}.workspace-mode .top,.portal-mode .top{min-height:59px}.workspace-mode .workspace{display:block;padding:7px;border-radius:14px}.workspace .sidebar.glass{position:static;display:block;overflow-x:auto;min-height:0;padding:6px;margin-bottom:10px;border-radius:12px;scrollbar-width:thin}.workspace .sidebar .workspace-nav{flex-direction:row;width:max-content;gap:4px}.workspace .sidebar .workspace-nav a{min-height:37px;padding:5px 9px;gap:5px;white-space:nowrap}.workspace .sidebar .workspace-nav a svg{width:15px;height:15px;flex-basis:15px;margin:0 5px}.workspace .sidebar .workspace-nav .nav-halo{width:36px;height:36px;box-shadow:none}.workspace .sidebar>a,.workspace .sidebar .side-brand,.workspace .sidebar .side-bottom,.workspace .sidebar .eyebrow{display:none}.workspace .sidebar a::after{display:none}.nav{display:none}}
@media(max-width:350px){.top .header-actions .portal-header-link svg{display:none}.portal-header-link{font-size:10px;padding:6px}.top .aj-logo{width:68px}}
@media(hover:none){.workspace .sidebar .workspace-nav a:not(.active) svg{color:#d6e8df}.workspace .sidebar a::after{display:none}}
body[data-motion=reduced] #reveal{display:none!important}
@media(prefers-reduced-motion:reduce){#reveal{display:none!important}.nav-halo{transition:none!important}.workspace .sidebar a:hover svg{animation:none!important}}
.workspace .sidebar .workspace-nav a:not(.halo-target) svg{color:#d6e8df}.workspace .sidebar .workspace-nav a.halo-target svg{color:#103c31}.workspace .sidebar .side-bottom .ghost{background:#ffffff12;color:#eefbf3}.workspace .sidebar .side-bottom .ghost:hover{background:#ffffff26}.workspace .sidebar .workspace-nav a.active .nav-label{font-weight:750;color:#fff}.workspace .sidebar .workspace-nav a:not(.active) .nav-label{font-weight:600}
/* Main receives programmatic focus on route changes; retain visible focus on actual controls. */
#app:focus{outline:none}#header a:focus-visible,#header button:focus-visible{outline:2px solid #39855b;outline-offset:3px}

/* V6.1: unified, compact icon-only account controls and aligned header. */
#header .top{--header-control:46px;gap:16px;min-height:72px;padding:10px 28px;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;overflow:visible}
#header .top .brand{gap:12px;align-items:center;min-width:0}
#header .top .aj-logo{width:94px;height:48px;object-fit:contain;flex:none}
#header .top .brand-sub{padding-left:12px;gap:4px}
#header .top .location{padding:0;border:0;border-radius:0;background:none;min-width:0;display:flex;align-items:center;justify-content:flex-start}
#header .location-control{display:flex;align-items:center;justify-content:flex-start;gap:9px;height:var(--header-control);min-height:var(--header-control);padding:0 12px;border:1px solid #d3dfd1;border-radius:12px;background:#fffdf9;color:#24583f;box-shadow:0 2px 5px #153d2408;white-space:nowrap;text-align:left;line-height:1.15}
#header .location-control svg{width:19px;height:19px;flex:none}
#header .location-control svg:last-child{width:13px;height:13px;margin-left:2px;color:#587966}
#header .location-copy{display:flex;flex-direction:column;gap:3px;min-width:0}
#header .location-copy small{font-size:10px;font-weight:500;color:#617568}
#header .location-copy strong{font-size:12px;line-height:1.2}
#header .top .search{height:var(--header-control);min-height:var(--header-control);width:100%;padding:4px 5px 4px 12px;border-radius:12px;max-width:none;gap:8px;align-items:center}
#header .top .search>svg{flex:none;width:18px;height:18px}
#header .top .search input{height:100%;padding:0 5px;min-width:0}
#header .top .search button{width:36px;height:36px;min-width:36px;min-height:36px;padding:0;display:grid;place-items:center;flex:none;transform:none}
#header .top .search button svg{width:19px;height:19px}
#header .top .header-actions{display:flex;flex-wrap:nowrap;gap:8px;align-items:center;justify-content:flex-end;justify-self:end;overflow:visible}
#header .top .header-icon{position:relative;display:inline-grid;place-items:center;box-sizing:border-box;width:var(--header-control);height:var(--header-control);min-width:var(--header-control);min-height:var(--header-control);padding:0;flex:0 0 var(--header-control);border-radius:12px;border:1px solid #cbdccd;background:#fffdf9;color:#21553c;line-height:1;box-shadow:0 2px 5px #153d240a;transition:background .25s ease-out,box-shadow .25s ease-out,transform .25s ease-out,border-color .25s ease-out}
#header .top .header-icon.vendor-link{background:linear-gradient(145deg,#286448,#194330);color:white;border-color:#24563e}
#header .top .header-icon svg{display:block!important;width:21px;height:21px;flex:none;stroke-width:1.7;margin:0}
#header .top .header-icon sup{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 3px;border-radius:10px;display:grid;place-items:center;line-height:1;font-size:9px;background:#216344;color:#fff;border:1px solid white}
#header .top .header-icon::after{content:attr(data-tooltip);position:absolute;top:calc(100% + 9px);left:50%;transform:translate(-50%,-4px);padding:7px 10px;border-radius:7px;background:#103b2d;color:#fff;font-size:11px;font-weight:650;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease-out,transform .15s ease-out,visibility .15s;z-index:100;box-shadow:0 4px 12px #123c2c29}
#header .top .header-icon:last-child::after{left:auto;right:0;transform:translate(0,-4px)}
#header .top .header-icon:focus-visible::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
#header .top .header-icon:last-child:focus-visible::after{transform:translate(0,0)}
@media(hover:hover) and (pointer:fine){#header .top .header-icon:hover{transform:translateY(-2px);border-color:#8fb69b;box-shadow:0 5px 12px #1b593229;background:#e9f4e9}#header .top .header-icon.vendor-link:hover{background:#286448}#header .top .header-icon:hover::after{opacity:1;visibility:visible;transform:translate(-50%,0)}#header .top .header-icon:last-child:hover::after{transform:translate(0,0)}#header .top .header-icon:hover svg{animation:pop .25s cubic-bezier(.2,1.6,.4,1)}#header .location-control:hover{border-color:#8fb69b;background:#f2f8ef;transform:translateY(-1px)}}
.workspace-mode #header .top,.portal-mode #header .top{grid-template-columns:minmax(0,1fr) auto}
.workspace-mode #header .top .location,.portal-mode #header .top .location,.workspace-mode #header .top .search,.portal-mode #header .top .search{display:none!important}
@media(max-width:1100px){#header .top{gap:12px;padding:9px 20px}}
@media(max-width:850px){#header .top{grid-template-columns:auto minmax(0,1fr) auto;gap:9px;padding:9px 14px}#header .top .search{grid-column:1/-1;grid-row:2}#header .top .aj-logo{width:86px;height:45px}}
@media(max-width:760px){#header .top{--header-control:44px;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 13px;min-height:0}#header .top .header-actions{grid-column:2;grid-row:1;gap:6px}#header .top .location{grid-column:1/-1;grid-row:2;width:100%}#header .location-control{width:100%;height:36px;min-height:36px;justify-content:flex-start;padding:0 10px}#header .location-copy{flex:1;flex-direction:row;align-items:center;gap:7px}#header .top .search{grid-row:3}#header .top .aj-logo{width:82px;height:44px}#header .top .header-icon svg{width:20px;height:20px}.workspace-mode #header .top,.portal-mode #header .top{min-height:60px}}
@media(max-width:350px){#header .top{padding-inline:9px;gap:7px}#header .top .header-actions{gap:5px}#header .top .aj-logo{width:70px}}
body[data-motion=reduced] #header .header-icon,body[data-motion=reduced] #header .header-icon::after,body[data-motion=reduced] #header .header-icon svg,body[data-motion=reduced] #header .location-control{animation:none!important;transition:none!important;transform:none!important}
@media(prefers-reduced-motion:reduce){#header .header-icon,#header .header-icon::after,#header .header-icon svg,#header .location-control{animation:none!important;transition:none!important;transform:none!important}}

/* V6.2: floating labels escape card stacking contexts and overflow clipping. */
.workspace .sidebar a::after,#header .top .header-icon::after{content:none!important;display:none!important}
#ajosa-floating-tip{position:fixed;z-index:2147483646;max-width:calc(100vw - 16px);padding:8px 12px;border-radius:8px;background:#10372e;color:#fff;border:1px solid #ffffff25;box-shadow:0 5px 16px #092a2840;font:600 12px/1.3 system-ui,sans-serif;white-space:normal;pointer-events:none;opacity:0;transition:opacity .15s ease-out}
#ajosa-floating-tip.visible{opacity:1}#ajosa-floating-tip[hidden]{display:none!important}
/* Remove the empty decorative rail. Let the product row use the full content width. */
.market-page:has(.editorial) .editorial-intro:after{content:none!important;display:none!important}
@media(min-width:1000px){
 .market-page:has(.editorial) .editorial-intro{grid-row:1;align-self:center;padding:10px 4px;gap:12px}
 .market-page:has(.editorial) .intro-bottom{margin-top:4px}
 .market-page:has(.editorial) #products{grid-column:1/-1;grid-row:2;margin:0}
 .market-page:has(.editorial) #products .products{grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:14px}
 .market-page:has(.editorial) #products .catalog-empty{grid-column:1/-1}
 .market-page:has(.editorial)>.category-section{margin-top:0}
}
/* Consistent sizing, visual centering and tap targets. */
#header .top{gap:14px;min-height:72px;align-items:center}
#header .top .brand,#header .top .location,#header .top .search,#header .top .header-actions{align-self:center}
#header .top .header-icon,#header .location-control,#header .top .search{box-sizing:border-box}
#header .top .header-icon svg{margin:0;display:block}
#header .top .search button{border-radius:9px}
#header .top .header-actions{gap:9px}
.dash-tools{align-items:center;gap:9px}
.dash-tools button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:0 13px;box-sizing:border-box;border-radius:10px;line-height:1.2}
.dash-tools button[data-action=customize]{padding:0 13px}
.dash-tools button svg{width:17px;height:17px;flex:none}
.product-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px}
.product-actions .secondary,.product-actions .fixed-add,.product-actions .add-button{box-sizing:border-box;min-height:40px;height:40px;display:flex;align-items:center;justify-content:center;line-height:1;padding:0 9px}
.product-actions .add-button{width:40px;flex:0 0 40px;min-width:40px;max-width:40px;padding:0;border-radius:11px;font-size:22px}
.product-actions .secondary,.product-actions .fixed-add{flex:1;min-width:0;border-radius:10px}
/* Crisp, consistently cropped category photography. */
.category{justify-content:center;align-items:center;min-height:118px;gap:9px;padding:10px 5px}
.category span{width:74px;height:74px;max-width:100%;flex:none;overflow:hidden;aspect-ratio:1}
.category span img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}
@media(min-width:1280px){.category span{width:80px;height:80px}.category{min-height:128px}}
@media(max-width:850px){#header .top{gap:9px}}
@media(max-width:760px){#header .top{gap:8px;min-height:0}#header .top .header-actions{gap:6px}.category{min-height:86px;padding:6px 3px;gap:5px}.category span{width:56px;height:56px}.product-actions .secondary,.product-actions .fixed-add,.product-actions .add-button{min-height:40px;height:40px}.dash-tools button{min-height:44px}}
@media(max-width:350px){#header .top .header-actions{gap:5px}.category span{width:48px;height:48px}.category{min-height:76px}}
body[data-motion=reduced] #ajosa-floating-tip{transition:none!important}
@media(prefers-reduced-motion:reduce){#ajosa-floating-tip{transition:none!important}}
@media(min-width:1000px){.market-page:has(.editorial) .editorial-main{align-self:stretch;display:flex;flex-direction:column;min-width:0}.market-page:has(.editorial) .editorial-main .hero{flex:1;display:flex;align-items:center}.market-page:has(.editorial) .editorial-strip{flex:none}}

/* V6.3: rotating hero with crossfade, accessible controls and map picker. */
.hero.hero-carousel{position:relative;isolation:isolate;overflow:hidden;display:grid;min-height:330px;background:#e2ebdb;align-items:stretch}
.hero-carousel .hero-slide{grid-area:1/1;display:flex;align-items:center;min-width:0;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 700ms ease-in-out,visibility 700ms; background:linear-gradient(90deg,#f7f5eafc 0%,#f7f5eae8 34%,#f7f5ea24 69%,transparent 100%),var(--slide-image) right center/cover no-repeat}
.hero-carousel .hero-slide:not(:first-child){background:linear-gradient(90deg,#f7f5eafc 0%,#f7f5eaf0 42%,#f7f5ea25 67%,transparent 100%),var(--slide-image) right center/auto 140% no-repeat,#e8ebd8}
.hero-carousel .hero-slide.is-current{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.hero-carousel .hero-copy{padding-bottom:66px;max-width:65%}.hero-carousel .hero-copy h1{color:#173e2b}.hero-carousel .hero-copy p{color:#385141}
.hero-controls{position:absolute;z-index:3;bottom:13px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;background:#fffef5e8;border:1px solid #d4e1d0;padding:4px 8px;border-radius:30px;box-shadow:0 2px 12px #183b2915}
.hero-controls button{padding:0;min-height:0;min-width:0;box-shadow:none;line-height:1;display:grid;place-items:center}.hero-controls .hero-arrow{width:30px;height:30px;border-radius:50%;color:#17543a;background:transparent;font-size:20px;border:0}.hero-controls .hero-arrow:hover{background:#dcece0}.hero-dots{display:flex;align-items:center;gap:2px}.hero-controls .hero-dot{width:25px;height:28px;background:transparent;border:0;border-radius:50%}.hero-dot:after{content:'';width:8px;height:8px;border-radius:50%;background:#b2c4b6}.hero-dot.current:after{background:#17543a;box-shadow:0 0 0 3px #dbeadf}.hero-controls button:focus-visible{outline:2px solid #17543a;outline-offset:2px}
.location-picker .location-buttons{display:flex;gap:8px;flex-wrap:wrap}.location-picker .location-buttons button{flex:1;min-height:42px;white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:6px}.location-map-placeholder{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center;color:#486451;background:#edf5ed;border:1px solid #d7e4d7;border-radius:12px;min-height:100px;padding:14px}.location-map-placeholder.has-map{padding:0;overflow:hidden}.location-map-placeholder iframe{border:0;width:100%;height:230px;display:block}.pin-ok,.pin-no{padding:10px 12px;border-radius:8px;background:#e3f4e8;color:#1c6041;font-size:13px}.pin-no{background:#fff1df;color:#805222}.demo-label{display:block;color:#80601c;font-size:12px;font-weight:650;padding:10px;background:#fff4d9;border-radius:8px;width:100%;text-align:center}.location-picker small{line-height:1.55}.location-picker .form{gap:10px}
@media(max-width:700px){.hero.hero-carousel{min-height:245px}.hero-carousel .hero-copy{max-width:83%;padding:20px 14px 60px}.hero-carousel .hero-slide{background-position:center,right center}.hero-carousel .hero-slide:not(:first-child){background-size:auto,auto 100%}.hero-carousel .hero-copy h1{font-size:clamp(22px,6vw,34px)}.hero-controls{bottom:8px}.hero-controls .hero-arrow{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.hero-carousel .hero-slide{transition:none!important}}
.hero.hero-carousel{grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;justify-content:stretch;justify-items:stretch;align-content:stretch;align-items:stretch}.hero-carousel .hero-slide{width:100%;height:100%;justify-self:stretch;align-self:stretch}.hero-carousel .hero-copy{width:65%}@media(max-width:700px){.hero-carousel .hero-copy{width:83%}}
.market-page:has(.editorial) .editorial-main .hero.hero-carousel{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;align-items:stretch;gap:0;padding:0}.market-page:has(.editorial) .hero-carousel .hero-copy{max-width:65%;padding:35px 30px 70px}@media(max-width:700px){.market-page:has(.editorial) .hero-carousel .hero-copy{max-width:83%;padding:20px 14px 60px}}

/* V6.4: official circular grocery emblem, consistent aspect ratio. */
#header .top .aj-logo{width:58px;height:58px;object-fit:contain;mix-blend-mode:normal;border-radius:50%;flex:none}
.workspace .sidebar .side-brand img{width:72px;height:72px;object-fit:contain;object-position:center;border-radius:50%}
.portal-logo{width:84px;height:84px;object-fit:contain;object-position:center;border-radius:50%}
.splash-logo{width:92px;height:92px;border-radius:50%;overflow:hidden}
.splash-logo img{width:84px;height:84px;max-width:none;max-height:none;object-fit:contain;border-radius:50%}
.footer-brand{display:flex;align-items:center;gap:10px;color:inherit;text-decoration:none}
.footer-brand img{width:60px;height:60px;object-fit:contain;border-radius:50%}
@media(max-width:767px){#header .top .aj-logo{width:44px;height:44px}.portal-logo{width:68px;height:68px}}

/* V6.5: compact location control, two-row mobile header. */
#header .location-control{height:38px;min-height:38px;padding:0 9px;gap:6px;border-radius:10px;flex:none;max-width:100%;box-shadow:0 1px 4px #153d2408}
#header .location-control svg{width:16px;height:16px}
#header .location-control svg:last-child{width:11px;height:11px;margin-left:0}
#header .location-copy{gap:2px}
#header .location-copy small{font-size:9px;line-height:1.1}
#header .location-copy strong{font-size:11px;line-height:1.2;white-space:nowrap}
#header .pin-label-mobile{display:none}
@media(min-width:851px){
 #header .top .location{width:auto;justify-self:start}
}
@media(max-width:850px){
 body:not(.workspace-mode):not(.portal-mode) #header .top{grid-template-columns:auto minmax(0,1fr) auto;gap:8px;min-height:0;padding:8px 14px;justify-content:stretch}
 body:not(.workspace-mode):not(.portal-mode) #header .top .brand{grid-column:1;grid-row:1;justify-self:start}
 body:not(.workspace-mode):not(.portal-mode) #header .top .location{display:flex!important;grid-column:2;grid-row:1;width:auto;max-width:100%;justify-self:start;align-self:center;order:0;padding:0;background:none;border:0}
 body:not(.workspace-mode):not(.portal-mode) #header .top .header-actions{grid-column:3;grid-row:1;justify-self:end;order:0}
 body:not(.workspace-mode):not(.portal-mode) #header .top .search{grid-column:1/-1;grid-row:2;order:0;min-width:0;max-width:none}
 #header .location-control{height:40px;min-height:40px;width:auto;max-width:100%;gap:5px;padding:0 8px}
 #header .location-copy{flex:none;display:block}
 #header .location-copy small{display:none!important}
 #header .pin-label-desktop{display:none}
 #header .pin-label-mobile{display:inline}
 #header .location-control svg:last-child{display:none}
 #header .location-copy strong{font-size:12px}
}
@media(max-width:420px){
 body:not(.workspace-mode):not(.portal-mode) #header .top{padding-inline:10px;column-gap:6px;row-gap:8px}
 #header .top .header-actions{gap:5px}
 #header .location-control{padding:0 6px;gap:4px}
 #header .location-control svg{width:15px;height:15px}
 #header .location-copy strong{font-size:11px}
 /* The customer cart remains in the persistent mobile bottom navigation. */
 body:not(.workspace-mode):not(.portal-mode) #header .top .header-actions a[data-tooltip="Shopping Cart"]{display:none}
}

/* V6.6: compact Local Shops & Mandis cards, without stretching sparse results. */
.local-shops-section .grid.shops{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),300px));justify-content:start;align-items:stretch;gap:12px}
.local-shops-section .shops>.empty{grid-column:1/-1}
.local-shops-section .shops>.shop{min-width:0;width:100%;box-sizing:border-box;display:flex;flex-direction:column;gap:10px;padding:12px;border-radius:14px;border:1px solid #dfe8dc;background:#fffdf8;box-shadow:0 3px 12px #234b3510}
.local-shops-section .shop-identity{display:flex;align-items:flex-start;gap:10px;min-width:0;flex:1}
.local-shops-section .shop .avatar{width:42px;height:42px;flex:0 0 42px;border-radius:11px;font-size:14px}
.local-shops-section .shop-details{min-width:0;flex:1}
.local-shops-section .shop-details h3{font-size:15px;line-height:1.35;margin:0 0 3px;overflow-wrap:anywhere}
.local-shops-section .shop-details small{display:flex;align-items:center;gap:4px;font-size:11px;line-height:1.4;color:var(--muted);overflow-wrap:anywhere}
.local-shops-section .shop-details small svg{width:13px;height:13px;flex:0 0 13px}
.local-shops-section .shop-details .shop-approved{color:#28614b}
.local-shops-section .shop-location{min-height:16px;margin-top:2px}
.local-shops-section .shop-card-footer{border-top:1px solid #e4e9df;padding-top:9px;display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}
.local-shops-section .shop-product-count{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:7px;background:#e7f3e9;color:#24553d;font-size:11px;line-height:1.35;white-space:nowrap}
.local-shops-section .shop-product-count svg{width:13px;height:13px}
.local-shops-section .shop button.shop-cta{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:36px;padding:0 10px;margin-left:auto;border-radius:8px;font-size:12px;line-height:1.2;white-space:nowrap;background:#23543a;color:white;border:1px solid transparent}
.local-shops-section .shop button.shop-cta svg{width:15px;height:15px;flex:0 0 15px}
.local-shops-section .shop button.shop-cta:hover{background:#167d65}
.local-shops-section .shop button.shop-cta:focus-visible{outline:2px solid #168d65;outline-offset:3px}
@media(max-width:600px){.local-shops-section .grid.shops{grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr));gap:10px}.local-shops-section .shops>.shop{max-width:none}.local-shops-section .shop button.shop-cta{min-height:44px}}
@media(prefers-reduced-motion:reduce){.local-shops-section .shop,.local-shops-section .shop button.shop-cta{transition:none!important;transform:none!important}}
/* V6.7 — vendor product image studio */
#dialog.pe-wide{width:min(850px,calc(100% - 28px));} .pe-panel{background:#f5faf6;border:1px solid #d8e8dc;border-radius:16px;padding:16px;min-width:0}.pe-panel [hidden]{display:none!important}.pe-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.pe-heading h3{margin:4px 0;font-size:19px;color:#214a36}.pe-heading p{margin:4px 0 12px;color:#63766b;font-size:12px}.pe-tag{font-size:9px;letter-spacing:.08em;background:#dcefe2;color:#276244;border-radius:8px;padding:7px;white-space:nowrap}.pe-upload{display:grid;gap:9px}.pe-upload input[type=file]{width:100%;min-width:0;font-size:12px;padding:9px;background:white}.pe-upload small{font-weight:normal;color:#63766b}.pe-saved-wrap{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.pe-saved.edit-photo{width:72px;height:72px;object-fit:cover;border-radius:10px;margin:0}.pe-work{margin-top:15px;border-top:1px solid #d8e8dc;padding-top:14px}.pe-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}.pe-preview{background:#e4eee7;border-radius:12px;padding:10px;min-width:0}.pe-canvas-wrap{position:relative;display:flex;justify-content:center;align-items:center;background:#d4e2d8;border-radius:8px;overflow:hidden}.pe-canvas{display:block;width:100%;height:auto;max-height:390px;object-fit:contain;touch-action:none;cursor:grab;aspect-ratio:auto}.pe-canvas:active{cursor:grabbing}.pe-grid{position:absolute;inset:0;pointer-events:none;border:1px solid #ffffff90;background:linear-gradient(to right,transparent 33%,#ffffff88 33%,#ffffff88 33.3%,transparent 33.3%,transparent 66%,#ffffff88 66%,#ffffff88 66.3%,transparent 66.3%),linear-gradient(to bottom,transparent 33%,#ffffff88 33%,#ffffff88 33.3%,transparent 33.3%,transparent 66%,#ffffff88 66%,#ffffff88 66.3%,transparent 66.3%)}.pe-preview-info{display:flex;justify-content:space-between;gap:6px;font-size:11px;color:#446451;padding:9px 0}.pe-controls{display:grid;gap:9px;min-width:0}.pe-transform{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pe-panel button{min-height:38px;padding:7px 10px;font-size:12px;line-height:1.2;white-space:normal}.pe-compare{width:100%;}.pe-range{display:grid;gap:4px;font-size:12px;color:#284c38}.pe-range>span{display:flex;justify-content:space-between;gap:5px;font-weight:600}.pe-range output{font-variant-numeric:tabular-nums;color:#527463}.pe-range input[type=range]{width:100%;margin:0;accent-color:#19795d;min-height:24px;padding:0;border:0;background:transparent;box-shadow:none}.pe-footer{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.pe-status{margin:10px 0 0;font-size:12px;line-height:1.5;color:#315f49;overflow-wrap:anywhere}.pe-panel button:disabled{opacity:.5;cursor:not-allowed}.pe-panel .field select{width:100%}@media(max-width:640px){#dialog.pe-wide{width:calc(100% - 18px);padding:13px}.pe-panel{padding:11px}.pe-layout{grid-template-columns:1fr;gap:13px}.pe-canvas{max-height:none;max-width:320px}.pe-canvas-wrap{width:fit-content;max-width:100%;margin:auto}.pe-panel button{min-height:44px}.pe-tag{display:none}.pe-footer>button{flex:1}}

.pe-canvas{width:min(100%,calc(390px * var(--pe-ratio,1)));max-height:none}.pe-canvas-wrap{width:fit-content;max-width:100%;margin:auto}.pe-grid{border-radius:8px}

/* V6.8 — sample conversion */
.sample-editor-note{background:#e9f5ec;border:1px solid #c5ddca;padding:12px 14px;border-radius:12px;color:#164b35}.sample-editor-note p{font-size:.85rem;margin:5px 0 0;line-height:1.5}.sample-publish-option{display:flex;gap:10px;align-items:flex-start;background:#edf7f1;border:1px solid #c5ddca;border-radius:12px;padding:14px;color:#164b35;cursor:pointer}.sample-publish-option input[type=checkbox]{width:20px;height:20px;min-height:0;flex:0 0 20px;accent-color:#167d65;margin:1px 0 0}.sample-publish-option small{display:block;line-height:1.5;margin-top:4px}.status.sample{background:#fff1d7;color:#80531d}.illustrative-photo{position:absolute;right:8px;bottom:8px;background:rgba(255,255,255,.94);border:1px solid #dedfd5;border-radius:6px;padding:3px 6px;font-size:10px;line-height:1.3;color:#374b3b;z-index:1;pointer-events:none}
/* Master catalog update — scoped to new controls, existing theme unchanged. */
.mc-entry,.mc-details{border:1px solid #dce9df;border-radius:14px;background:#f6faf6;padding:14px;min-width:0;display:grid;gap:12px}.mc-entry [hidden],.mc-preview[hidden]{display:none!important}.mc-tabs,.mc-actions,.mc-admin-actions,.mc-checks,.mc-pager{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.mc-tabs button{flex:1;min-width:125px}.mc-tabs button[aria-pressed=true]{background:#1d5941;color:#fff}.mc-results{display:grid;max-height:270px;overflow:auto;gap:4px;margin:5px 0}.mc-result{display:flex;align-items:center;gap:10px;text-align:left;background:#fff;color:#183e2f;border:1px solid #e1eae1;padding:8px;border-radius:9px;width:100%}.mc-result:hover,.mc-result:focus-visible{background:#e8f5ed}.mc-result img,.mc-table-product img,.mc-thumb-placeholder{width:40px;height:40px;border-radius:8px;object-fit:cover;flex:none}.mc-thumb-placeholder{display:grid;place-items:center;background:#e3efe7}.mc-result span,.mc-table-product span,.mc-selection{display:grid;gap:3px;min-width:0}.mc-result small,.mc-selection small,.mc-table-product small{color:#667970;font-size:11px;overflow-wrap:anywhere}.mc-selection{padding:10px;background:#dcefe4;border-radius:10px}.mc-master-photo{display:flex;align-items:center;gap:10px}.mc-master-photo img{width:64px;height:64px;object-fit:cover;border-radius:8px}.mc-check{display:flex!important;align-items:center;gap:8px;font-size:12px}.mc-check input{width:16px!important;height:16px!important;flex:none}.mc-details summary{font-weight:700;cursor:pointer;color:#23503a}.mc-details[open] summary{margin-bottom:12px}.mc-details .two{margin-top:8px}.mc-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:8px}.mc-gallery-item{display:grid;gap:5px;min-width:0}.mc-gallery-item img{width:100%;height:85px;object-fit:cover;border-radius:8px}.mc-gallery-item div{display:flex;gap:3px;flex-wrap:wrap}.mc-gallery-item button{font-size:10px;padding:4px 6px}.mc-actions{justify-content:flex-end}.mc-preview{background:#fff;border:1px solid #d9e8db;padding:12px;border-radius:10px}.mc-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0}.mc-stats>div{padding:14px;background:#eaf5ef;border-radius:12px;display:grid;gap:4px}.mc-stats b{font-size:24px;color:#1b6650}.mc-stats small{color:#516b60}.mc-admin-actions{margin:12px 0}.mc-table-product{display:flex;align-items:center;gap:8px}.mc-pager{justify-content:flex-end;padding:8px}.mc-loading{padding:12px;background:#eef4ef;border-radius:8px;color:#557164}.mc-tax-list{max-height:50vh;overflow:auto}.mc-admin input[type=checkbox]{width:16px;height:16px}.mc-admin .table-wrap{max-width:100%;overflow:auto}.mc-admin .two{margin-top:12px}.mc-admin .section-head{align-items:center}#dialog:has(.mc-entry),#dialog:has(#mc-master-form){width:min(850px,calc(100% - 24px))}.mc-entry textarea,.mc-details input{min-width:0}@media(max-width:600px){.mc-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mc-entry,.mc-details{padding:10px}.mc-actions button{flex:1;min-width:105px}.mc-admin-actions button{flex:1}.mc-result small{font-size:10px}}
.mc-customer-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.mc-customer-gallery img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f7f3;border-radius:10px}.photo[data-mc=product-details]{cursor:zoom-in}.mc-old-price{text-decoration:line-through;color:#68776e;font-size:12px}

/* V6.9.1: catalog result counts and clear-all controls */
.catalog-visibility{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:10px 12px;border:1px solid #dbe5d9;border-radius:10px;background:#f1f6ed;color:#234f3b;font-size:13px}.catalog-visibility small{color:#52675a;font-size:12px}.catalog-visibility button{display:inline-flex;align-items:center;gap:6px;min-height:36px;white-space:nowrap}.sample-price-label{font-weight:500!important;font-size:11px!important;color:#627166!important}.catalog-visibility svg{width:14px;height:14px}@media(max-width:600px){.catalog-visibility{padding:8px 10px;margin-bottom:10px}.catalog-visibility button{min-height:44px}}

/* V7.1: category discovery first, one continuous row at every viewport. */
.market-page>.category-section{min-width:0;margin:0 0 14px;}
.market-page>.category-section .section-head{margin-bottom:8px;align-items:center;}
.market-page>.category-section .section-head .eyebrow{margin:0 0 4px;}
.market-page>.category-section .section-head h2{font-size:clamp(19px,2vw,26px);line-height:1.2;}
.market-page>.category-section .categories{display:grid;grid-template-columns:none;grid-template-rows:minmax(0,auto);grid-auto-flow:column;grid-auto-columns:minmax(84px,1fr);align-items:stretch;gap:8px;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a7c4ae transparent;padding:5px 2px 9px;scroll-padding-inline:4px;}
.market-page>.category-section .categories:focus-visible{outline:2px solid #167d65;outline-offset:2px;border-radius:8px;}
.market-page>.category-section .category{min-width:0;width:100%;height:100%;min-height:92px;padding:8px 3px;gap:5px;font-size:11px;line-height:1.25;white-space:nowrap;overflow-wrap:normal;justify-content:center;}
.market-page>.category-section .category span{width:clamp(50px,4.2vw,68px);height:clamp(50px,4.2vw,68px);max-width:100%;}
.market-page>.category-section .category:hover{transform:translateY(-2px);}
.market-page>.category-section .category:focus-visible{outline-offset:-2px;}
@media(min-width:1000px){
 .market-page:has(.editorial)>.category-section{grid-column:1/-1;grid-row:1;margin:0;}
 .market-page:has(.editorial) .editorial-intro{grid-row:2;}
 .market-page:has(.editorial) .editorial-main{grid-row:2;}
 .market-page:has(.editorial) #products{grid-row:3;}
}
@media(max-width:640px){
 .market-page>.category-section{margin-bottom:10px;}
 .market-page>.category-section .categories{grid-auto-columns:76px;gap:7px;padding-bottom:8px;}
 .market-page>.category-section .category{min-height:82px;padding:6px 2px;font-size:10px;}
 .market-page>.category-section .category span{width:48px;height:48px;}
}
@media(prefers-reduced-motion:reduce){.market-page>.category-section .category:hover{transform:none!important;}}
body[data-motion="reduced"] .market-page>.category-section .category:hover{transform:none!important;}
