:root{--bg:#f7f8f6;--card:#fff;--dark:#122521;--muted:#65736e;--green:#137657;--green2:#0c5740;--border:#dfe6e1;--soft:#edf4ee;--gold:#a7ccab}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:15px/1.52 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial;color:var(--dark)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{max-width:1216px;padding:0 27px;margin:0 auto}.header{position:sticky;top:0;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);z-index:40}.nav{display:flex;justify-content:space-between;align-items:center;min-height:76px;gap:18px}.brand{display:flex;align-items:center;gap:11px;font-size:13px;font-weight:900;letter-spacing:.045em}.brandmark{width:36px;height:36px;background:var(--dark);color:#fff;border-radius:10px;display:grid;place-items:center;font-size:15px;letter-spacing:0}.brand b{color:var(--green)}.navlinks{display:flex;align-items:center;gap:25px;font-size:13px;font-weight:650}.navlinks a:hover,.text-btn:hover{color:var(--green)}.pill{display:inline-flex;min-width:23px;height:23px;justify-content:center;align-items:center;border-radius:50px;background:var(--soft);margin-left:3px;color:var(--green)}.adminlink{color:var(--green)}main{min-height:calc(100vh - 160px)}.footer{border-top:1px solid var(--border);background:#fff;margin-top:70px;color:var(--muted);font-size:12px}.foot-inner{display:flex;justify-content:space-between;gap:20px;padding-top:24px;padding-bottom:24px}.flash-area{margin:15px 0 0}.notice{padding:12px 17px;border:1px solid #dae6d8;border-radius:10px;background:#eaf4e9;margin:12px 0;color:#205e37}.notice.error{background:#fff0ed;border-color:#f1c7be;color:#952d21}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:800;color:var(--green)}.hero{margin-top:35px;min-height:395px;border-radius:20px;background:radial-gradient(circle at 74% 18%,#29594a 0%,#112f28 38%,#102923 100%);padding:57px 58px;color:#fff;display:grid;grid-template-columns:1.35fr .7fr;gap:45px;align-items:center;overflow:hidden}.hero .eyebrow{color:#b1dbc2}.hero h1{font-size:clamp(34px,4vw,57px);line-height:1.14;letter-spacing:-.05em;margin:15px 0 18px;font-weight:750}.hero h1 em{font-style:normal;color:#a6d8b7}.hero p{font-size:15px;color:#ccdcd3;line-height:1.7;max-width:600px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:29px}.btn{border:1px solid var(--border);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:10px 17px;background:#fff;font-size:13px;font-weight:750;line-height:1.2;white-space:normal;gap:8px}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:var(--green2)}.btn.ghost{background:#fff;color:var(--dark);border-color:var(--border)}.hero .btn.ghost{color:#e9f6ec;background:transparent;border-color:#799389}.btn.quiet{background:transparent;color:var(--muted)}.btn.wide{width:100%}.hero-panel{border:1px solid #446d5a;padding:23px 28px;border-radius:16px;background:rgba(255,255,255,.07);backdrop-filter:blur(6px)}.panel-kicker{color:#a0cdb4;font-size:10px;letter-spacing:.16em;font-weight:800}.mini-step{display:flex;gap:13px;align-items:center;margin:19px 0}.mini-step b{display:grid;place-items:center;min-width:36px;height:36px;color:#d6eedc;background:#ffffff1c;border:1px solid #ffffff38;border-radius:10px}.mini-step strong,.mini-step small{display:block}.mini-step strong{font-size:13px}.mini-step small{color:#bfd0c9;font-size:12px;margin-top:1px}.catalogue{padding-top:57px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:0 0 22px}.section-heading h2{margin:7px 0 3px;font-size:29px;letter-spacing:-.035em}.section-heading p,.subtext,.page-heading p{margin:5px 0 0;color:var(--muted);font-size:14px}.result-count{display:inline-block;border:1px solid var(--border);padding:6px 12px;border-radius:20px;color:var(--muted);font-size:12px;font-weight:650;white-space:nowrap}.filters{display:flex;gap:10px;margin-bottom:25px;align-items:center}.filters input{flex:2;min-width:160px}.filters select{flex:1;min-width:140px}.filters input,.filters select,.form-grid input,.form-grid select,.form-grid textarea,.inline-edit input,.inline-edit select{border:1px solid #dce6df;background:white;padding:11px 13px;border-radius:8px;outline:none;width:100%;color:var(--dark);min-height:43px}.filters input:focus,.filters select:focus,.form-grid input:focus,.form-grid textarea:focus{border-color:#6aaf83;box-shadow:0 0 0 2px #88c7a530}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.product-card{border:1px solid var(--border);background:#fff;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.product-photo{background:#e9efea;position:relative;height:196px;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-photo img{width:100%;height:100%;object-fit:cover}.fallback{color:#9fb3a7;font-size:60px}.category-tag{position:absolute;left:12px;top:12px;padding:5px 9px;background:#ffffffed;border:1px solid #eef0eb;font-weight:700;border-radius:6px;color:#456055;font-size:10px}.product-info{display:flex;flex-direction:column;flex:1;padding:17px}.supplier-label{font-size:10px;font-weight:800;letter-spacing:.09em;color:var(--green);text-transform:uppercase}.product-info h3{margin:6px 0 7px;font-size:16px;line-height:1.28}.product-info p{color:var(--muted);font-size:12px;line-height:1.6;margin:0 0 25px;flex:1}.product-bottom{display:flex;align-items:end;justify-content:space-between;gap:8px}.price{font-size:20px;letter-spacing:-.04em}.product-bottom small{font-size:10px;display:block;color:#8b9590}.add{background:var(--green);color:#fff;border:0;width:37px;height:37px;border-radius:8px;font-size:23px}.info-banner{padding:21px 24px;background:#e9f1eb;border:1px solid #d8e8d9;border-radius:12px;margin-top:30px}.info-banner p{margin:6px 0 0;color:#486454;font-size:13px;line-height:1.6}.empty{text-align:center;border:1px dashed #b9c9bd;border-radius:16px;padding:50px 20px;color:var(--muted)}.empty h2,.empty h3{color:var(--dark)}.empty .btn{margin-top:10px}.page-heading{margin:44px 0 30px}.page-heading h1,.admin-top h1,.login-box h1{font-size:36px;letter-spacing:-.04em;margin:7px 0}.two-column{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.paper{background:#fff;border:1px solid var(--border);border-radius:14px;padding:24px;margin-bottom:22px;min-width:0}.paper h2{font-size:20px;margin:0 0 16px;letter-spacing:-.02em}.cart-line{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #edf1ef}.cart-icon{background:#edf2ee;color:#64917a;width:48px;height:48px;border-radius:9px;display:grid;place-items:center;font-size:27px;flex-shrink:0}.cart-detail{flex:1}.cart-detail small,.supplier-tile small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.cart-price{text-align:right}.cart-price b{display:block;white-space:nowrap}.text-btn{border:0;background:transparent;padding:4px 0;font-size:12px;color:var(--green);font-weight:750}.text-btn.danger{color:#bb5b4d}.total-line{display:flex;justify-content:space-between;font-size:17px;margin:18px 0}.fine{color:var(--muted);font-size:12px;line-height:1.6}.form-grid{display:flex;flex-direction:column;gap:14px}.form-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.terms{background:#f4f7f5;border-radius:9px;padding:11px;color:#63746a;font-size:12px}.success-screen{max-width:660px;margin:55px auto;text-align:center}.success-symbol{width:67px;height:67px;background:#e4f1e9;border-radius:50%;margin:0 auto 20px;display:grid;place-items:center;font-size:34px;color:var(--green)}.success-screen h1{font-size:36px;letter-spacing:-.04em}.success-screen p{color:var(--muted)}.success-screen .codes{display:flex;flex-direction:column;gap:10px;margin:30px auto;max-width:380px}.codes a{border:1px solid #b6d6c2;background:white;padding:13px;border-radius:9px;color:var(--green);font-weight:700}.tracking{max-width:820px;margin:0 auto}.tracking-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-top:8px}.tracking-head h2{margin:4px 0}.tracking-head p{font-size:12px;color:var(--muted)}.tracking-items{border-top:1px solid var(--border);margin-top:17px}.tracking-item{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf1ed;padding:12px 0}.tracking-total{text-align:right;margin-top:18px}.login-box{width:min(440px,100%);margin:70px auto;padding:35px;background:white;border-radius:17px;border:1px solid var(--border)}.login-box p{color:var(--muted);margin-bottom:22px}.admin-shell{padding-top:35px}.admin-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px}.admin-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:42px}.metric{border:1px solid var(--border);background:white;border-radius:13px;padding:20px}.metric small{display:block;color:var(--muted);font-size:11px;font-weight:750}.metric b{display:block;font-size:29px;letter-spacing:-.045em;margin:9px 0}.metric span{font-size:11px;color:var(--muted)}.progress-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:36px}.progress-card{background:white;border:1px solid var(--border);border-radius:13px;padding:20px;display:block}.progress-card:hover,.supplier-tile:hover{border-color:#86b59a}.card-head,.card-foot{display:flex;justify-content:space-between;align-items:center;gap:9px}.card-head strong{font-size:15px}.state{font-size:10px;border-radius:12px;background:#f0f4f0;padding:4px 8px;color:#69786e}.progress-value{font-size:24px;font-weight:800;letter-spacing:-.04em;margin:21px 0 12px}.progress-value small{font-size:12px;font-weight:500;color:var(--muted)}.progress-track{width:100%;height:8px;border-radius:50px;background:#e9f0ea;overflow:hidden}.progress-track div{height:100%;background:var(--green);border-radius:50px}.card-foot{font-size:11px;color:var(--muted);margin-top:12px}.ready-alert{margin-top:12px;padding:8px;border-radius:6px;background:#e0f2e4;color:#1b713e;font-size:11px;font-weight:750}.table-scroll{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{color:#66756d;font-size:10px;letter-spacing:.04em;text-transform:uppercase;background:#f7f9f7}td,th{padding:12px 12px;border-bottom:1px solid #eef0ed;vertical-align:top}td small{display:block;color:var(--muted);font-size:11px;margin-top:3px;overflow-wrap:anywhere}td a{color:var(--green)}.status{display:inline-flex;background:#eef1ee;border-radius:16px;font-size:10px;font-weight:800;white-space:nowrap;padding:5px 9px;color:#516057}.status-collecting,.status-waiting{background:#edf2f3;color:#64787e}.status-payment,.status-payment_due{background:#fff2db;color:#96621d}.status-paid,.status-received,.status-ready,.status-delivered,.status-done{background:#dff2e7;color:#166c3e}.status-ordered{background:#e1eaf8;color:#3467a1}.status-cancelled{background:#fae9e5;color:#ac5547}.supplier-list{display:flex;flex-direction:column;gap:12px}.supplier-tile{background:white;border:1px solid var(--border);border-radius:12px;padding:14px;display:flex;align-items:center;gap:16px}.supplier-tile>div:nth-child(2){flex:1}.supplier-avatar{border-radius:11px;width:47px;height:47px;background:#e2efe5;display:grid;place-items:center;color:var(--green);font-size:15px;font-weight:900}.supplier-summary{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:22px}.chip{background:#fff;border:1px solid var(--border);border-radius:20px;padding:7px 12px;font-size:11px;font-weight:650;color:var(--muted)}.batch-card{border:1px solid var(--border);border-radius:12px;padding:19px;margin:15px 0}.batch-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.batch-title h3{margin:0 0 4px;font-size:16px}.batch-title .status{margin-left:8px}.batch-amount{font-size:20px;white-space:nowrap}.batch-amount small{font-size:12px;color:var(--muted)}.batch-card .progress-track{margin:17px 0 9px}.batch-kpis{display:flex;gap:25px;flex-wrap:wrap;color:var(--muted);font-size:12px;margin-bottom:14px}.batch-kpis b{color:var(--dark)}.batch-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin-top:20px}.codehint{margin-top:15px;padding:12px;background:#f4f7f5;font-size:11px;line-height:1.7;border-radius:8px}.codehint code{display:block;overflow-wrap:anywhere;font-size:11px;color:#266b52}.inline-actions{display:flex;gap:8px;flex-wrap:wrap}.inline-edit{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end}.inline-edit .btn{min-height:43px}.slim{margin-bottom:20px}@media(max-width:1000px){.product-grid{grid-template-columns:repeat(3,1fr)}.hero{padding:42px;gap:22px}.progress-grid{grid-template-columns:repeat(2,1fr)}.inline-edit{grid-template-columns:repeat(3,1fr)}}@media(max-width:700px){.wrap{padding:0 17px}.nav{flex-direction:column;justify-content:center;padding-top:10px;padding-bottom:12px;gap:9px}.navlinks{gap:17px}.hero{grid-template-columns:1fr;padding:31px 23px;margin-top:18px}.hero h1{font-size:36px}.hero-panel{padding:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-photo{height:137px}.product-info{padding:12px}.product-info h3{font-size:14px}.product-info p{font-size:11px}.price{font-size:17px}.filters{flex-wrap:wrap}.filters input{width:100%;flex:auto}.filters select{min-width:130px}.two-column{grid-template-columns:1fr}.foot-inner{flex-direction:column}.metric-grid{grid-template-columns:repeat(2,1fr)}.progress-grid{grid-template-columns:1fr}.admin-top{flex-direction:column;align-items:flex-start}.inline-edit{grid-template-columns:1fr 1fr}.batch-title{flex-direction:column;align-items:flex-start}.section-heading{align-items:flex-start}.page-heading h1{font-size:32px}}@media(max-width:390px){.product-grid{grid-template-columns:1fr}.product-photo{height:220px}.metric-grid{grid-template-columns:1fr}.inline-edit{grid-template-columns:1fr}}

/* FV Studio V4: pagination and supplier filter */
.fv-pagination{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;margin:24px 0 10px;color:var(--muted,#52625b)}
.fv-pagination .btn{white-space:nowrap}
.fv-filter-v4{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:20px 0}
.fv-filter-v4 input{flex:2 1 220px;min-width:170px}
.fv-filter-v4 select{flex:1 1 160px;min-width:150px}
.fv-filter-v4 .btn{white-space:nowrap}
@media(max-width:720px){.fv-filter-v4>*{width:100%;flex:1 1 100%}}

/* FV Studio V5 — professional public catalogue and product details */
.fv-hero-v5{min-height:340px}.fv-hero-v5 .hero-panel p{font-size:14px;margin:0}
.fv-product-card{transition:box-shadow .2s,transform .2s}
.fv-product-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(8,38,24,.08)}
.fv-card-link{display:flex;flex-direction:column;height:100%}.fv-card-link:focus-visible{outline:3px solid #228562;outline-offset:3px}
.fv-stock-label,.fv-stock{color:#1c7950;font-size:12px;font-weight:700}.fv-stock-label.is-out,.fv-stock.is-out{color:#9c4438}
.fv-card-bottom{display:flex;align-items:end;justify-content:space-between;gap:9px;margin-top:auto}
.fv-card-bottom span{font-size:11px;color:#197858;font-weight:750}
.fv-breadcrumb{padding:28px 0;color:#6b7c74;font-size:12px}.fv-breadcrumb a{color:#176e50}.fv-breadcrumb span{padding:0 9px}
.fv-product-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:42px;margin:10px 0 25px}
.fv-detail-photo{border:1px solid var(--border);min-height:440px;background:#f0f4f1;border-radius:18px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.fv-detail-photo img{display:block;max-width:95%;max-height:480px;object-fit:contain}.fv-placeholder{color:#9baea3;font-size:16px}
.fv-detail-info{background:#fff;border:1px solid var(--border);border-radius:18px;padding:31px}
.fv-detail-info h1{font-size:clamp(24px,3vw,36px);line-height:1.18;letter-spacing:-.035em;margin:12px 0 22px}
.fv-data-row{display:flex;justify-content:space-between;gap:24px;padding:10px 0;border-bottom:1px solid #eff3ef;font-size:13px}
.fv-data-row span,.fv-muted{color:#697a70}.fv-data-row b{text-align:right;overflow-wrap:anywhere;font-weight:700}
.fv-stock{margin:19px 0 6px}.fv-detail-price{font-size:31px;display:block;margin:8px 0}.fv-add-form{display:flex;align-items:center;gap:11px;flex-wrap:wrap;margin:25px 0}
.fv-add-form input{width:75px;padding:10px;border:1px solid #cbd7d0;border-radius:8px}
.fv-stock-alert-box{margin-top:20px;padding:20px;background:#f6faf7;border:1px solid #d9e8de;border-radius:12px}
.fv-stock-alert-box h3{margin:0 0 8px}.fv-stock-alert-box p,.fv-stock-alert-box small{color:#697a70;font-size:13px}
.fv-alert-form{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 9px}.fv-alert-form input[type=email]{flex:1;min-width:180px;padding:10px 12px;border:1px solid #cad7ce;border-radius:8px}
.fv-hidden-honeypot{position:absolute;left:-99999px;opacity:0}.fv-longtext{white-space:pre-wrap;line-height:1.85;color:#415e51}
@media(max-width:760px){.fv-product-layout{grid-template-columns:1fr;gap:16px}.fv-detail-photo{min-height:270px}.fv-detail-info{padding:20px}}
