:root{font-family:Inter,"PingFang SC","Microsoft YaHei",sans-serif;color:#25362f;background:#f7f8f5;font-synthesis:none;--green:#254d41;--orange:#d66a35;--muted:#89938e;--border:#e8ece7;--surface:#fff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}button,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #c69251}button{border:0;background:none;color:inherit}img{display:block;max-width:100%}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px}h2{font-size:22px}h3{font-size:16px}.muted{color:var(--muted);font-size:13px}.small{font-size:12px}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#b99c6e;font-weight:600}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;padding:10px 18px;background:var(--green);color:#fff;font-size:13px;font-weight:600;white-space:nowrap}.btn.secondary{background:#f1f4ef;color:var(--green);border:1px solid var(--border)}.btn.orange{background:var(--orange)}.btn.danger{background:#fff2ee;color:#b84932}.btn.link{background:none;color:var(--green);padding:5px 9px;min-height:30px}.btn.tiny{min-height:30px;padding:6px 10px;font-size:12px}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1}.stack{display:grid;gap:18px}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;padding:24px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 18px}.section-head h2{margin:0}.badge{display:inline-flex;align-items:center;border-radius:5px;padding:4px 8px;font-size:11px;white-space:nowrap;background:#eff5ec;color:#54714b}.badge.pending,.badge.draft{background:#fff5e4;color:#a77830}.badge.disabled,.badge.cancelled,.badge.inactive,.badge.archived{background:#f2f2f2;color:#8d8d8d}.badge.shipped{background:#edf3ff;color:#557fbd}.empty{text-align:center;color:var(--muted);padding:65px 20px}.empty b{display:block;margin-bottom:12px;color:#5d6b64}.loading{padding:70px;text-align:center;color:var(--muted)}.notice{background:#faf7ee;padding:14px 18px;border-radius:8px;font-size:13px;color:#887653;line-height:1.8}.error-panel{margin:40px auto;max-width:700px}.positive{color:#357b59}.negative{color:#c46744}.points{font-variant-numeric:tabular-nums}.amount{color:var(--orange);font-weight:700;font-size:23px}.amount small{font-size:11px;font-weight:400;margin-left:4px}.prose{white-space:pre-wrap;line-height:2;font-size:14px;color:#5f6c65}.sr-only{position:absolute;left:-9999px}.field{display:grid;gap:7px;font-size:13px;margin-bottom:17px}.field>span{font-weight:600;color:#5e6b63}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #dfe5dd;border-radius:7px;background:#fff;color:#2d3c32;min-width:0}input[type=checkbox]{width:16px;height:16px;padding:0}textarea{min-height:105px;resize:vertical}.row{display:grid;grid-template-columns:1fr 1fr;gap:14px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.form-hint{font-size:12px;line-height:1.7;color:#89938e}.form-error{padding:10px;border-radius:6px;color:#b24b36;background:#fff0ea;font-size:13px;margin:10px 0}.search{display:flex;align-items:center;background:#fff;border:1px solid var(--border);border-radius:8px;padding:0 12px;min-width:180px}.search input{border:0;background:transparent}.search button{padding:8px}.filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.filters select{width:auto;max-width:220px}.filter-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.chip{border-radius:20px;padding:8px 17px;font-size:13px;border:1px solid transparent;color:#7e897f}.chip.active{background:#edf2e9;color:var(--green);border-color:#d5dfd2}.pagination{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px;font-size:12px;color:#8a938d}
/* Storefront */
.store-header{background:#fff;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.store-header-inner{max-width:1180px;margin:auto;height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 24px}.brand{display:flex;align-items:center;gap:11px;font-size:22px;font-weight:700;letter-spacing:2px}.brand img{width:36px}.brand small{font-size:10px;letter-spacing:1.5px;font-weight:400;display:block;color:#93a095;margin-top:3px}.store-nav{display:flex;gap:35px;font-size:14px;color:#7e887f;align-items:center}.store-nav a.active{color:var(--green);font-weight:700}.store-nav .login-link{border:1px solid #dce4da;padding:9px 18px;border-radius:6px;color:#46634c}.store-main{max-width:1180px;padding:32px 24px 60px;margin:auto}.hero{background:#e6eddf;border-radius:18px;min-height:300px;position:relative;overflow:hidden;padding:44px 50px;display:flex;align-items:center}.hero-copy{position:relative;z-index:1;max-width:58%}.hero h1{font-family:Georgia,"Songti SC",SimSun,serif;font-size:40px;font-weight:500;line-height:1.5;letter-spacing:1px;margin:12px 0}.hero p{color:#7b8c76;font-size:13px;margin-bottom:26px}.hero-art{position:absolute;right:-8px;top:0;height:100%;width:46%;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 60% 70%,#c8d6b8 0,transparent 70%)}.hero-art img{width:80%;height:110%;object-fit:contain;transform:rotate(-12deg)}.hero-dots{position:absolute;bottom:18px;left:50px;display:flex;gap:5px}.hero-dots span{width:5px;height:5px;background:#b4c2a8;border-radius:50%}.hero-dots span:first-child{width:18px;border-radius:4px;background:var(--green)}.member-strip{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;background:#fff;border:1px solid var(--border);border-radius:12px;margin:20px 0;align-items:center}.member-strip>div,.member-strip>a{padding:24px;border-right:1px solid var(--border)}.member-strip>a:last-child{border-right:0}.member-strip strong{font-size:26px;margin:0 8px;color:var(--green)}.member-strip a{font-size:13px;display:flex;align-items:center;gap:12px}.icon-circle{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;background:#f2f5ee;border-radius:50%;color:#839572}.catalog-title{display:flex;gap:12px;align-items:baseline}.catalog-title small{font-family:Georgia,serif;color:#a4ac9e;font-size:13px}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product-card{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 24px #28442b09}.product-image{position:relative;background:#f2f3ed}.product-image img{width:100%;aspect-ratio:1.12;object-fit:cover}.product-image .tag{position:absolute;top:13px;left:13px;font-size:10px;background:#ffffffc9;padding:5px 8px;border-radius:4px;color:#64765b}.product-info{padding:18px}.product-info h3{font-weight:500;margin:0 0 9px;font-size:14px}.product-info .category{font-size:11px;color:#a2aa9f}.product-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:16px}.product-bottom .stock{font-size:10px;color:#9ca49a}.round-arrow{width:28px;height:28px;border-radius:50%;border:1px solid #e4e9df;display:grid;place-items:center;color:#72816a}.store-footer{text-align:center;border-top:1px solid var(--border);padding:26px;font-size:11px;color:#a3aa9f;letter-spacing:1px}.store-footer a{margin:0 8px}.mobile-bottom{display:none}.back{display:inline-flex;align-items:center;gap:8px;color:#7e8a7e;font-size:13px;margin-bottom:24px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}.detail-visual{border-radius:18px;overflow:hidden}.detail-visual img{width:100%}.detail-copy{padding:30px 0}.detail-copy h1{margin:15px 0}.detail-price{background:#edf2e7;padding:24px;border-radius:10px;margin:25px 0}.detail-price .amount{font-size:34px}.detail-desc{margin-top:30px}.number-field{width:100px}.summary-line{padding:15px 0;display:flex;justify-content:space-between;border-bottom:1px solid var(--border);font-size:13px}.order-card{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden;margin-bottom:18px}.order-card-header{background:#fafbf8;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#85907e}.order-card-body{display:flex;align-items:center;gap:20px;padding:22px}.order-card img,.mini-product img{width:76px;height:76px;border-radius:8px;background:#f2f3ee}.order-card h3{margin:0 0 8px}.order-actions{padding:14px 22px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}.mini-product{display:flex;gap:16px;align-items:center}.profile-head{background:var(--green);color:#fff;border-radius:14px;padding:32px;display:flex;justify-content:space-between;align-items:center}.profile-head h1{margin:0 0 8px}.profile-head .muted{color:#b1c7b9}.profile-head .amount{color:#e4d9ae;font-size:36px}.profile-menu{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0}.profile-menu a,.profile-menu button{background:white;border:1px solid var(--border);padding:25px;border-radius:10px;text-align:left}.profile-menu strong{display:block;margin-bottom:9px}.address-card{border:1px solid var(--border);border-radius:9px;background:white;padding:22px;margin-bottom:14px}.address-card p{font-size:13px;color:#8a9486;margin:12px 0}.login-layout{min-height:calc(100vh - 160px);display:grid;place-items:center;padding:35px 20px;background:radial-gradient(ellipse at 20% 30%,#e8eedf,transparent 60%)}.login-card{background:#fff;border:1px solid var(--border);padding:38px;border-radius:16px;width:100%;max-width:440px;box-shadow:0 20px 70px #1e412208}.login-card h1{font-size:26px;margin:24px 0 8px}.login-card .btn{width:100%}.login-card .eyebrow{margin-bottom:25px}.login-card .form-hint{text-align:center;margin-top:24px}.login-password{display:flex;border:1px solid #dfe5dd;border-radius:7px}.login-password input{border:0}.login-password button{padding:10px}.check-line{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:#899183;margin-bottom:20px;line-height:1.8}.check-line a{color:var(--green);text-decoration:underline}
/* Back office */
.admin-layout{min-height:100vh;display:grid;grid-template-columns:224px minmax(0,1fr)}.sidebar{background:#203b33;color:#a1b6a8;position:fixed;inset:0 auto 0 0;width:224px;padding:30px 18px;display:flex;flex-direction:column;z-index:15}.sidebar .brand{color:#fff;font-size:20px;margin:0 11px 34px}.sidebar .brand small{color:#789988}.nav-caption{font-size:10px;letter-spacing:2px;color:#648672;padding:15px}.admin-nav{display:flex;flex-direction:column;gap:6px}.admin-nav a{display:flex;align-items:center;gap:14px;font-size:13px;padding:13px 17px;border-radius:7px}.admin-nav a.active{background:#3b5846;color:#fff}.nav-icon{font-size:17px;width:20px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff13;padding:20px 12px 0;font-size:12px}.sidebar-bottom p{margin:0 0 8px}.admin-workspace{grid-column:2}.admin-topbar{height:75px;background:white;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 34px;font-size:12px;color:#8a968d}.admin-topbar strong{color:#395040;font-weight:500}.avatar{width:31px;height:31px;background:#e9eee5;display:grid;place-items:center;border-radius:50%;font-size:12px;color:#536c49}.admin-content{padding:32px;max-width:1700px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.page-heading h1{font-size:26px;margin:0 0 8px}.page-heading p{margin:0;font-size:12px;color:#95a08f}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid var(--border);border-radius:10px;padding:22px;position:relative}.stat-label{font-size:12px;color:#8c978a}.stat-number{font-size:31px;font-weight:600;letter-spacing:-1px;margin:16px 0 10px}.stat-note{font-size:11px;color:#8fa084}.stat-icon{position:absolute;top:18px;right:18px;border-radius:8px;background:#eff4e9;padding:8px;color:#839877}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.panel-head h2{font-size:15px;margin:0}.flow-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.flow-step{padding:18px;background:#f6f8f2;border-radius:7px}.flow-step span{font-family:Georgia,serif;color:#c3cfba;font-size:26px}.flow-step h3{font-size:13px;margin:12px 0 8px}.flow-step p{font-size:11px;color:#97a08e;margin:0;line-height:1.8}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px;white-space:nowrap}th{font-weight:500;color:#8b988b;background:#f8faf5;padding:14px 16px;border-bottom:1px solid var(--border)}td{padding:17px 16px;border-bottom:1px solid #f0f3ec;vertical-align:middle}tbody tr:last-child td{border:0}td .muted{font-size:11px}.table-product{display:flex;align-items:center;gap:12px}.table-product img{width:45px;height:45px;border-radius:7px}.table-product strong{font-weight:500}.table-actions{display:flex;gap:4px}.table-actions button{font-size:12px;padding:5px 8px;color:#68835d}.table-actions button:hover{background:#f0f4e8;border-radius:4px}.admin-table-panel{background:#fff;border:1px solid var(--border);border-radius:10px;padding:20px}.admin-table-panel .filters{margin-bottom:20px}.content-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.content-cards h3{margin-bottom:15px}.content-cards .prose{max-height:180px;overflow:auto;font-size:12px}.low-stock-item{padding:14px 0;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;gap:12px;font-size:12px}.low-stock-item:last-child{border:0}.progress{height:5px;background:#edf1e8;border-radius:4px;overflow:hidden;margin-top:10px}.progress span{display:block;height:100%;background:#c7a76b}.admin-mobile-menu{display:none}.status-tabs{display:flex;gap:10px;overflow:auto;padding-bottom:10px;margin-bottom:15px}.status-tabs button{padding:8px 15px;border-radius:6px;white-space:nowrap;font-size:12px;color:#86937f}.status-tabs button.active{background:#edf3e7;color:#466637}
/* Dialogs and responsive behavior */
.overlay{position:fixed;inset:0;z-index:100;background:#152b2059;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:24px}.modal{max-width:570px;width:100%;max-height:90vh;overflow:auto;background:white;border-radius:15px;box-shadow:0 25px 80px #142d2630}.modal.wide{max-width:760px}.modal-header{position:sticky;top:0;background:white;display:flex;align-items:center;justify-content:space-between;padding:22px 26px;border-bottom:1px solid var(--border);z-index:1}.modal-header h2{font-size:18px;margin:0}.modal-close{font-size:23px;color:#92a08b}.modal-body{padding:25px 26px}.password-once{background:#edf2e8;border-radius:8px;padding:20px;overflow-wrap:anywhere;font-family:monospace;font-size:22px;user-select:all}.upload-row{display:flex;align-items:center;gap:15px}.upload-row img{width:70px;height:70px;border-radius:7px}.upload-row input{font-size:11px}.ledger-row{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--border)}.ledger-row p{margin:6px 0 0}.ledger-row:last-child{border:0}.ledger-value{text-align:right;font-size:20px}.ledger-value small{display:block;font-size:11px;color:#97a18f;margin-top:7px}.shipment{background:#f4f7ee;border-radius:8px;padding:18px;font-size:13px;line-height:1.8;margin-bottom:20px}#toast{position:fixed;bottom:32px;left:50%;transform:translate(-50%,15px);background:#203b33;color:white;border-radius:8px;padding:13px 22px;font-size:13px;opacity:0;pointer-events:none;z-index:200;transition:.2s;max-width:90vw}#toast.visible{opacity:1;transform:translate(-50%,0)}
@media(min-width:1450px){.admin-content{padding:40px 48px}.admin-topbar{padding:0 48px}}
@media(max-width:1050px){.products{grid-template-columns:repeat(3,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.hero h1{font-size:33px}.member-strip{grid-template-columns:1.5fr 1fr 1fr}.member-strip>a:last-child{display:none}.admin-layout{grid-template-columns:190px 1fr}.sidebar{width:190px}.admin-content{padding:24px}.admin-topbar{padding:0 24px}}
@media(max-width:700px){h1{font-size:25px}.store-header-inner{height:66px;padding:0 18px}.brand{font-size:20px}.store-nav{gap:18px;font-size:12px}.store-nav>a:not(.login-link){display:none}.store-main{padding:20px 16px 95px}.hero{min-height:250px;padding:28px 24px}.hero-copy{max-width:70%}.hero h1{font-size:27px}.hero .eyebrow{font-size:9px;letter-spacing:1px}.hero p{font-size:11px;max-width:180px;line-height:1.9}.hero-art{width:55%;right:-50px}.hero-art img{width:125%;max-width:none}.hero-dots{left:25px}.hero .btn{min-height:34px;padding:8px 14px;font-size:11px}.member-strip{grid-template-columns:1.5fr 1fr;margin:14px 0}.member-strip>div,.member-strip>a{padding:18px 13px}.member-strip>a:nth-last-child(2){display:none}.member-strip strong{font-size:22px;margin:0 5px}.member-strip a{font-size:11px;gap:7px}.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-info{padding:13px}.product-info h3{font-size:12px}.product-info .amount{font-size:19px}.product-bottom{margin-top:13px}.product-bottom .stock{display:none}.section-head{margin:24px 0 16px}.section-head h2{font-size:19px}.catalog-title{gap:8px}.catalog-title small{font-size:11px}.mobile-bottom{display:flex;position:fixed;bottom:0;left:0;right:0;height:68px;background:#ffffffed;backdrop-filter:blur(8px);border-top:1px solid var(--border);z-index:20;justify-content:space-around;padding-bottom:env(safe-area-inset-bottom)}.mobile-bottom a{display:grid;place-content:center;gap:4px;text-align:center;font-size:10px;color:#939d8c}.mobile-bottom span{font-size:22px}.mobile-bottom a.active{color:var(--green)}.store-footer{display:none}.detail-grid{grid-template-columns:1fr;gap:8px}.detail-copy{padding:20px 5px}.detail-visual img{max-height:340px;object-fit:cover}.detail-price{margin:18px 0;padding:18px}.detail-copy h1{font-size:24px}.panel{padding:20px}.profile-head{padding:22px}.profile-head h1{font-size:22px}.profile-head .amount{font-size:28px}.profile-menu{grid-template-columns:1fr 1fr;gap:12px}.profile-menu a,.profile-menu button{padding:20px}.order-card-body{padding:15px;gap:12px}.order-card-header{padding:14px;font-size:10px}.order-card-body img{width:65px;height:65px}.order-card-body h3{font-size:13px}.order-card-body .amount{font-size:18px}.login-card{padding:28px}.login-layout{min-height:calc(100vh - 70px)}.modal-body{padding:22px}.overlay{padding:12px}.modal{max-height:94vh}.row{grid-template-columns:1fr;gap:0}.admin-layout{display:block}.sidebar{display:none}.sidebar.open{display:flex;width:224px}.admin-mobile-menu{display:block;font-size:20px}.admin-topbar{height:65px;padding:0 18px}.admin-topbar .small{display:none}.admin-content{padding:22px 16px}.page-heading{margin-bottom:20px;gap:10px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px;line-height:1.8}.page-heading>.btn{font-size:11px;padding:8px 12px}.stats{gap:12px}.stat{padding:18px}.stat-number{font-size:26px;margin:15px 0 8px}.stat-icon{font-size:12px;top:12px;right:12px;padding:6px}.flow-steps{grid-template-columns:1fr 1fr}.content-cards{grid-template-columns:1fr}.admin-table-panel{padding:14px}.filters{gap:8px}.filters .search{width:100%}.filters select{max-width:100%}.check-line{font-size:11px}.profile-head .muted{font-size:11px}}

.hero-dots button{width:6px;height:6px;padding:0;background:#b4c2a8;border-radius:50%}.hero-dots button.active{width:18px;border-radius:4px;background:#254d41}
