@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{--ink:#18251f;--muted:#748078;--green:#b8f36b;--green-dark:#426e2b;--line:#e8ede8;--soft:#f5f8f3;--white:#fff}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans',sans-serif}
a{color:inherit;text-decoration:none}
.wrap{width:min(1160px,calc(100% - 48px));margin-inline:auto}
.topbar{border-bottom:1px solid var(--line);background:rgba(255,255,255,.96)}
.nav{height:82px;display:flex;align-items:center;gap:34px}
.brand{display:flex;align-items:center;gap:9px;font:800 21px 'Manrope',sans-serif;white-space:nowrap;letter-spacing:-.8px}
.brand-icon{width:32px;height:32px;border-radius:10px;background:var(--green);display:grid;place-items:center;font-size:18px}
.dot{color:#79b83d;margin-left:-8px}
.search{height:44px;border:1px solid var(--line);background:#f9faf8;border-radius:12px;display:flex;align-items:center;gap:10px;padding:4px 5px 4px 14px;flex:1;color:#778078}
.search>span{font-size:25px;line-height:1}
.search input{background:transparent;border:0;outline:0;min-width:0;flex:1;font:inherit;font-size:13px;color:var(--ink)}
.search button{border:0;border-radius:9px;background:var(--ink);color:white;padding:10px 17px;font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.admin-link{font-size:13px;font-weight:700;white-space:nowrap}
.hero{margin-top:36px;min-height:400px;background:#f5f8f1;border-radius:22px;display:grid;grid-template-columns:1.04fr .96fr;overflow:hidden}
.hero-copy{padding:60px 0 48px 58px;position:relative;z-index:1}
.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.6px;color:#6d8b60;display:inline-flex;align-items:center;gap:8px}
.live-dot{width:7px;height:7px;border-radius:50%;background:#86c84e}
h1,h2,h3,p{margin-top:0}
.hero h1{font:800 clamp(42px,5vw,62px)/1.1 'Manrope',sans-serif;letter-spacing:-3px;margin:19px 0 16px}
.hero h1 span{color:#719e4e}
.hero-copy>p{font-size:14px;line-height:1.9;color:#657168;max-width:400px;margin-bottom:24px}
.primary-btn,.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:10px;padding:14px 19px;font-size:12px;font-weight:700}
.primary-btn{background:var(--ink);color:white}
.primary-btn span{color:var(--green);font-size:17px}
.hero-note{display:flex;align-items:center;gap:9px;margin-top:26px;font-size:11px;color:#778078}
.note-icon{display:grid;place-items:center;width:24px;height:24px;background:#e5f2d9;border-radius:50%;color:#5e8a3f}
.hero-art{position:relative;min-height:380px;display:grid;place-items:center;overflow:hidden}
.art-circle{position:absolute;width:340px;height:340px;border-radius:50%;background:#e5efd9;right:8%;top:10%}
.art-main{width:190px;height:225px;background:linear-gradient(140deg,#c3f584,#91d64f);border-radius:30px 30px 48px 48px;display:grid;place-items:center;transform:rotate(-7deg);position:relative;box-shadow:0 30px 55px #8dbb6940}
.art-bag{width:100px;height:105px;background:#fff;border-radius:20px;display:grid;place-items:center;font:800 62px 'Manrope',sans-serif;color:#47732f;position:relative;box-shadow:0 8px 20px #456d2812}
.art-bag:before{content:"";position:absolute;width:42px;height:32px;border:7px solid #fff;border-bottom:0;border-radius:22px 22px 0 0;top:-31px}
.art-spark{position:absolute;right:16px;top:17px;font-size:30px;color:white}
.floating-card{position:absolute;z-index:2;background:white;border:1px solid #edf0e9;border-radius:13px;padding:13px 16px;display:flex;align-items:center;gap:11px;box-shadow:0 12px 35px #1d38200b}
.floating-card>span{display:grid;place-items:center;width:34px;height:34px;background:#f0f7e9;color:#6e9c4c;border-radius:10px;font-size:19px}
.floating-card b,.floating-card small{display:block}
.floating-card b{font-size:11px;margin-bottom:4px}
.floating-card small{font-size:10px;color:var(--muted)}
.card-one{top:17%;left:1%}.card-two{bottom:16%;right:2%}.floating-card .check{background:#e8f6de}
.art-star{position:absolute;color:#8cb85f}.star-one{top:17%;right:14%;font-size:30px}.star-two{bottom:20%;left:8%;font-size:25px}
.category-section{padding-top:58px}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.section-head h2,.seller-banner h2{font:800 25px 'Manrope',sans-serif;letter-spacing:-1px;margin:7px 0 0}
.text-link{font-size:12px;font-weight:700;color:#557d3c}
.category-list{display:flex;gap:10px;flex-wrap:wrap}
.category-chip{display:flex;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:12px 15px;font-size:12px;color:#59665c;transition:.2s}
.category-chip>span:first-child{display:grid;place-items:center;width:25px;height:25px;border-radius:8px;background:#f0f6e9;color:#668c49;font-weight:800}
.category-chip.active,.category-chip:hover{border-color:#a6d879;background:#f7fbed;color:#335525}
.products-section{padding-top:62px;padding-bottom:58px}
.result-count{font-size:11px;color:var(--muted)}
.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.product-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px #1c30200b}
.product-image{height:205px;background:#f4f6f1;position:relative;overflow:hidden}
.product-image img,.detail-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-tag{position:absolute;top:12px;left:12px;padding:6px 9px;background:#ffffffeb;border-radius:7px;font-size:10px;font-weight:600}
.image-placeholder{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(circle at 50% 38%,#e5efd9,#f5f7f2 68%);color:#7ea45f}
.image-placeholder>span{width:76px;height:76px;border-radius:22px;background:#c6ee9f;display:grid;place-items:center;font:800 45px 'Manrope',sans-serif;color:#41692d;box-shadow:0 12px 24px #426b2414}
.image-placeholder small{margin-top:16px;font-size:8px;letter-spacing:2px;color:#93a28b}
.product-info{padding:16px}
.seller-name{font-size:10px;color:#849087}
.product-info h3{font-size:13px;font-weight:600;line-height:1.5;margin:8px 0 17px;min-height:39px}
.product-bottom{display:flex;justify-content:space-between;align-items:center}
.price{font:800 17px 'Manrope',sans-serif}
.view-arrow{width:29px;height:29px;display:grid;place-items:center;background:#f2f7ec;border-radius:9px;font-size:15px}
.empty-state{text-align:center;border:1px dashed #dbe5d4;background:#fafcf8;border-radius:18px;padding:55px 20px}
.empty-icon{margin:0 auto 15px;width:50px;height:50px;display:grid;place-items:center;background:#eaf5df;border-radius:16px;font-size:27px}
.empty-state h3{font:700 19px 'Manrope',sans-serif;margin-bottom:9px}
.empty-state p{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:20px}
.seller-banner{margin-bottom:65px;padding:32px 37px;background:#f3f7ed;border-radius:18px;display:flex;align-items:center;justify-content:space-between;gap:25px}
.seller-banner h2{font-size:23px;margin:8px 0}
.seller-banner p{font-size:12px;color:#758074;margin:0;line-height:1.8}
.secondary-btn{border:1px solid #d9e4d0;background:white;white-space:nowrap}
.footer{border-top:1px solid var(--line)}
.footer-inner{min-height:85px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#7b857d;font-size:10px}
.footer-brand{font-size:16px;color:var(--ink)}
.detail{padding-top:35px;padding-bottom:75px}
.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin-top:28px;align-items:start}
.detail-image{height:440px;border-radius:20px;overflow:hidden;background:#f4f6f1}
.detail-placeholder{min-height:100%}
.detail-copy{padding-top:25px}
.detail-copy h1{font:800 38px/1.2 'Manrope',sans-serif;letter-spacing:-1.5px;margin:15px 0}
.detail-price{font:800 30px 'Manrope',sans-serif;margin:25px 0}
.detail-description{font-size:14px;line-height:1.9;color:#68746b}
.stock-label{font-size:12px;color:#558b37;margin:24px 0}
.notice{padding:14px;border-radius:10px;background:#f4f7f1;color:#65745e;font-size:11px;line-height:1.7;margin-bottom:22px}
@media(max-width:850px){.nav{gap:15px}.hero-copy{padding-left:35px}.hero-art{transform:scale(.9)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image{height:220px}.detail-grid{gap:28px}}
@media(max-width:600px){.wrap{width:calc(100% - 28px)}.nav{height:auto;min-height:75px;flex-wrap:wrap;padding:14px 0;gap:12px}.brand{font-size:18px}.admin-link{margin-left:auto}.search{order:3;flex-basis:100%}.hero{grid-template-columns:1fr;margin-top:16px}.hero-copy{padding:37px 25px 12px}.hero h1{font-size:47px}.hero-art{min-height:270px;transform:scale(.85);margin-top:-10px}.art-circle{width:260px;height:260px;right:12%;top:0}.category-section{padding-top:40px}.section-head h2{font-size:21px}.products-section{padding-top:42px}.product-grid{gap:11px}.product-image{height:155px}.product-info{padding:12px}.product-info h3{font-size:12px}.price{font-size:15px}.seller-banner{padding:25px;align-items:flex-start;flex-direction:column;margin-bottom:40px}.footer-inner{padding:20px 0;flex-wrap:wrap;justify-content:flex-start}.detail-grid{grid-template-columns:1fr;gap:20px}.detail-image{height:300px}.detail-copy{padding-top:0}.detail-copy h1{font-size:30px}}


/* MarketForge V1.1: sorting and pagination */
.product-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:-5px 0 24px;padding:13px 15px;border:1px solid var(--line);border-radius:12px;background:#fafcf8}
.product-toolbar label{font-size:12px;font-weight:600;color:var(--muted)}
.product-toolbar select{max-width:100%;padding:10px 12px;border:1px solid #dfe7da;border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-size:12px}
.product-toolbar button,.pagination a{border:0;border-radius:9px;padding:10px 14px;background:var(--ink);color:#fff;font:600 12px 'DM Sans',sans-serif;cursor:pointer}
.pagination{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:30px}
.pagination>span{font-size:12px;color:var(--muted)}
.pagination .disabled{padding:10px 14px;border-radius:9px;background:#f0f2ee;color:#9aa198}
@media(max-width:600px){.product-toolbar{justify-content:flex-start;flex-wrap:wrap}.product-toolbar label{width:100%}.product-toolbar select{flex:1;min-width:0}.pagination{gap:9px}}
