@import url('/fonts.css');
:root{--wine:#8e2035;--wine-dark:#681526;--rose:#fbf0ef;--ink:#282827;--muted:#85807b;--line:#eae5df;--paper:#faf8f4;--white:#fff;--green:#237653;--radius:18px;font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c59b59;outline-offset:3px}h1,h2,h3,h4,p{margin:0}h1{font-size:46px;letter-spacing:-1px;line-height:1.25}h2{font-size:23px}h3{font-size:17px}p{line-height:1.8}.muted{color:var(--muted);font-size:13px}.eyebrow{font-size:11px;letter-spacing:3px;color:var(--wine);font-weight:700}.loading{padding:100px;text-align:center;color:var(--muted)}.shell{max-width:1280px;margin:auto;padding:0 42px}.top-strip{font-size:11px;background:var(--wine-dark);color:#fff5ef;text-align:center;padding:8px;letter-spacing:1px}.header{height:96px;display:flex;align-items:center;gap:30px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-mark{width:45px;height:45px;display:grid;place-items:center;background:var(--wine);color:white;border-radius:13px;font-size:26px}.brand strong{display:block;font-size:22px;letter-spacing:2px}.brand small{display:block;font-size:9px;letter-spacing:3px;margin-top:5px;color:var(--muted)}.header-nav{display:flex;gap:24px;margin-left:25px}.nav-link{background:none;border:0;color:var(--muted);font-size:14px;padding:12px 0;position:relative}.nav-link.active{color:var(--wine);font-weight:600}.nav-link.active:after{content:'';position:absolute;bottom:2px;left:0;right:0;height:2px;background:var(--wine)}.header-actions{margin-left:auto;display:flex;gap:14px;align-items:center}.button{border:1px solid var(--line);background:white;padding:11px 18px;border-radius:10px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:background .15s,transform .15s}.button:hover{background:#f5f1ed}.button.primary{background:var(--wine);border-color:var(--wine);color:white}.button.primary:hover{background:var(--wine-dark)}.button.soft{background:var(--rose);color:var(--wine);border-color:transparent}.button.danger{color:var(--wine)}.button.small{padding:8px 12px;font-size:12px}.full{width:100%}.icon-button{background:none;border:0;padding:8px;font-size:23px;color:var(--muted)}.demo-banner{background:#fff7df;color:#79601e;padding:9px 16px;font-size:12px;border:1px solid #eddfb8;border-radius:9px;margin-top:18px}.demo-note{margin-top:20px;background:#fff7df;border-radius:10px;padding:13px;font-size:12px;line-height:1.8;color:#79601e}.hero{margin:26px 0 22px;background:#f2e8e2;min-height:300px;border-radius:22px;position:relative;overflow:hidden;display:flex;align-items:center;padding:42px 46px}.hero-copy{position:relative;z-index:1;width:58%}.hero h1{margin:12px 0 14px;font-family:"Songti SC","Noto Serif SC",serif;font-weight:600}.hero p{color:#78675f;font-size:14px}.hero .button{margin-top:24px}.hero-art{position:absolute;width:44%;height:115%;right:0;bottom:-10%;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at center,#dec8ba 0,transparent 65%)}.hero-art img{height:280px;position:relative;filter:drop-shadow(15px 20px 15px #765b4433);transform:rotate(10deg)}.hero-art img:first-child{height:220px;transform:rotate(-14deg);margin-right:-32px;z-index:1}.hero-art:before{content:'CHEERS';position:absolute;font-family:Georgia,serif;font-size:94px;color:#ffffff55;letter-spacing:7px;transform:rotate(-90deg);right:-50px;top:130px}.service-row{display:flex;justify-content:space-between;gap:16px;background:white;border:1px solid var(--line);border-radius:14px;padding:18px 24px;margin-bottom:34px}.service-item{display:flex;gap:12px;align-items:center}.service-icon{color:var(--wine);font-size:23px}.service-item strong{display:block;font-size:13px}.service-item small{color:var(--muted);font-size:11px}.main-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:27px;align-items:start}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.section-heading p{margin-top:6px}.search{position:relative}.search input{width:220px;background:white;border:1px solid var(--line);border-radius:10px;padding:11px 15px;font-size:12px}.categories{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px}.chip{background:transparent;border:1px solid var(--line);border-radius:30px;padding:9px 17px;font-size:12px;color:#746f69}.chip.active{background:var(--wine);border-color:var(--wine);color:white}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:transform .2s,box-shadow .2s}.product-card:hover{transform:translateY(-3px);box-shadow:0 8px 25px #3b20100a}.product-picture{height:181px;background:#f3f1ea;position:relative;display:flex;justify-content:center;align-items:center;cursor:pointer}.product-card:nth-child(3n+2) .product-picture{background:#f5eeeb}.product-card:nth-child(3n) .product-picture{background:#efeee7}.product-picture img{height:156px;width:100%;object-fit:contain;filter:drop-shadow(3px 6px 5px #00000016)}.product-tag{position:absolute;left:12px;top:12px;font-size:10px;border-radius:4px;background:#ffffffc9;color:#746453;padding:4px 7px}.product-info{padding:17px}.product-info h3{font-size:14px;line-height:1.5;min-height:21px}.product-meta{font-size:11px;color:var(--muted);margin:7px 0 14px}.product-bottom{display:flex;align-items:center;justify-content:space-between}.price{font-size:20px;color:var(--wine);font-weight:700;letter-spacing:-.5px}.price small{font-size:11px;color:var(--muted);font-weight:400;margin-left:3px}.add-button{width:30px;height:30px;background:var(--wine);color:white;border:0;border-radius:9px;font-size:21px}.cart-panel{background:white;border:1px solid var(--line);border-radius:16px;position:sticky;top:22px;overflow:hidden}.cart-head{padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.cart-head h3{font-size:16px}.cart-head small{color:var(--muted);font-size:11px}.cart-body{padding:10px 18px}.cart-item{display:flex;gap:10px;border-bottom:1px solid var(--line);padding:15px 0;align-items:center}.cart-item img{width:36px;height:60px;object-fit:contain;background:var(--paper);border-radius:5px}.cart-item-name{font-size:12px;margin-bottom:4px}.cart-item-info{flex:1;min-width:0}.quantity{display:inline-flex;border:1px solid var(--line);border-radius:6px;align-items:center;overflow:hidden}.quantity button{border:0;background:white;width:24px;height:25px;color:var(--muted)}.quantity span{font-size:11px;min-width:23px;text-align:center}.cart-item .price{font-size:13px;white-space:nowrap}.cart-foot{padding:16px 20px 20px}.free-shipping{font-size:11px;background:var(--rose);color:var(--wine);padding:9px 12px;border-radius:7px;margin-bottom:16px}.summary-row{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:10px}.summary-row.total{padding-top:10px;border-top:1px solid var(--line);color:var(--ink);font-size:14px}.summary-row.total strong{font-size:23px;color:var(--wine)}.cart-foot .button{margin-top:9px}.cart-note{font-size:10px;text-align:center;color:var(--muted);margin-top:12px}.footer{margin-top:45px;border-top:1px solid var(--line);padding:27px 0 35px;display:flex;justify-content:space-between;gap:20px;color:var(--muted);font-size:11px;line-height:1.8}.footer-links{display:flex;gap:16px}.footer button{background:none;border:0;font-size:11px;color:var(--muted);padding:0}.empty{text-align:center;padding:45px 15px;color:var(--muted)}.empty-symbol{font-size:35px;color:#d4c2b8;display:block;margin-bottom:10px}.empty h3{font-size:14px;font-weight:500}.empty p{font-size:12px;margin-top:8px}.page-content{padding:32px 0}.card{background:white;border:1px solid var(--line);border-radius:14px;padding:22px}.cards{display:grid;gap:16px}.order-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;flex-wrap:wrap}.order-number{font-size:12px;font-weight:600}.order-date{font-size:11px;color:var(--muted);margin-top:5px}.badge{display:inline-block;background:#f0eee9;color:#777066;border-radius:6px;padding:5px 9px;font-size:11px;white-space:nowrap}.badge.paid,.badge.ready,.badge.delivering,.badge.processing{background:#fff2d9;color:#96661d}.badge.delivered,.badge.succeeded{background:#e6f2ec;color:var(--green)}.badge.picking,.badge.requested{background:#f6e5e8;color:var(--wine)}.order-items{display:flex;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}.order-items img{width:34px;height:55px;object-fit:contain}.order-items div{flex:1;font-size:13px}.order-total{display:flex;justify-content:space-between;margin-top:18px;font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:18px}.refund-row,.exception-row{margin-top:12px;padding:12px;background:#fff7ef;border-radius:8px;font-size:12px;line-height:1.8}.refund-row .actions,.exception-row .actions{margin-top:8px}.coupon-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.coupon{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;position:relative}.coupon .price{font-size:34px;margin:14px 0 7px}.coupon p{font-size:12px;color:var(--muted)}.coupon .button{margin-top:18px}.legal{font-size:13px;line-height:1.9}.legal h3{margin:20px 0 10px}.legal h3:first-child{margin-top:0}.legal p{margin-bottom:12px}.legal a{color:var(--wine)}dialog{border:1px solid var(--line);border-radius:20px;padding:0;width:460px;max-width:calc(100vw - 28px);max-height:90vh;box-shadow:0 20px 90px #291e1830;color:var(--ink)}dialog.wide{width:700px}dialog::backdrop{background:#21151270;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 25px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px}.modal-body{padding:25px;overflow:auto}.field{display:block;margin-bottom:16px}.field span{display:block;font-size:12px;color:#746d65;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px 12px;background:#fff;min-height:41px;min-width:0}.field textarea{min-height:90px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.check{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.8;margin:16px 0}.check input{accent-color:var(--wine);margin-top:4px}.detail-image{height:200px;width:100%;object-fit:contain;background:var(--paper);border-radius:12px;margin-bottom:20px}.detail-spec{display:flex;gap:10px;margin:20px 0}.detail-label{border-top:1px solid var(--line);padding-top:15px;font-size:12px;color:var(--muted);margin-top:18px}.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);background:#2d4037;color:white;padding:13px 22px;border-radius:10px;box-shadow:0 4px 20px #0002;font-size:13px;z-index:100;opacity:0;pointer-events:none;transition:.2s;max-width:90vw;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:var(--wine-dark)}.mobile-cart{display:none}.work-layout{min-height:100vh;display:grid;grid-template-columns:220px 1fr}.sidebar{background:#fff;border-right:1px solid var(--line);padding:27px 22px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar .brand strong{font-size:18px}.sidebar .brand-mark{width:38px;height:38px;font-size:22px}.sidebar-nav{display:grid;gap:7px;margin-top:40px}.sidebar-nav button{border:0;background:none;text-align:left;padding:13px 15px;border-radius:10px;color:#837b72;font-size:13px}.sidebar-nav button.active{background:var(--rose);color:var(--wine);font-weight:600}.sidebar-nav button span{display:inline-block;width:25px}.sidebar-foot{margin-top:auto;font-size:11px;color:var(--muted);line-height:2}.work-main{padding:32px 36px;max-width:1500px;width:100%;overflow:hidden}.work-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:27px}.work-header h1{font-size:27px}.work-header p{margin-top:7px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:24px 0}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:22px}.stat span{font-size:12px;color:var(--muted)}.stat strong{display:block;font-size:27px;margin:12px 0 6px;letter-spacing:-1px}.stat small{font-size:11px;color:var(--muted)}.stat:first-child strong{color:var(--wine)}.toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:13px}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;background:#f7f4f0;color:#817870;font-weight:500;padding:16px}td{padding:16px;border-top:1px solid var(--line)}td .button{margin:0 3px}.table-product{display:flex;align-items:center;gap:10px}.table-product img{width:30px;height:47px;object-fit:contain}.table-product strong{display:block;font-size:12px}.table-product small{font-size:10px;color:var(--muted)}.settings-card{max-width:780px}.settings-card h3{margin-bottom:20px}.driver-shell{max-width:720px;margin:auto;padding:25px 22px 60px}.driver-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.driver-header h1{font-size:26px}.driver-stat{display:flex;gap:15px;margin:20px 0}.driver-stat .stat{flex:1}.delivery-address{background:var(--paper);border-radius:10px;padding:15px;margin-top:15px}.delivery-address h3{font-size:16px;margin-bottom:5px}.delivery-address p{font-size:13px;color:var(--muted)}.notice{padding:12px 15px;border-radius:8px;background:#fff7df;color:#79601e;font-size:12px;line-height:1.8;margin:14px 0}.timeline{border-top:1px solid var(--line);margin-top:18px;padding-top:15px;font-size:11px;color:var(--muted)}.timeline div{padding:7px 0}.info-tabs{display:flex;gap:10px;margin-bottom:20px}
@media(min-width:1400px){.product-picture{height:195px}.hero{min-height:320px}}
@media(max-width:1050px){.shell{padding:0 25px}.header-nav{margin-left:0;gap:16px}.main-grid{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.product-grid{grid-template-columns:repeat(2,1fr)}.service-row{padding:17px}.service-item{gap:8px}.service-item small{font-size:10px}.hero{padding:35px}.hero h1{font-size:40px}.work-layout{grid-template-columns:180px 1fr}.sidebar{padding:24px 14px}.work-main{padding:25px}.stats-grid{gap:10px}.stat{padding:17px}.stat strong{font-size:23px}}
@media(max-width:760px){.shell{padding:0 18px}.top-strip{font-size:10px;letter-spacing:0}.header{height:auto;min-height:80px;gap:12px;flex-wrap:wrap;padding:17px 0}.brand-mark{width:37px;height:37px;font-size:22px}.brand strong{font-size:19px}.brand small{font-size:8px;letter-spacing:2px}.header-actions{gap:8px}.header-actions .muted{display:none}.header-nav{order:3;width:100%;justify-content:space-between}.header .button{padding:8px 11px;font-size:11px}.hero{min-height:245px;padding:27px 24px;margin:18px 0}.hero h1{font-size:32px}.hero-copy{width:70%}.hero p{font-size:12px;max-width:80%}.hero .button{margin-top:17px;padding:9px 13px}.hero-art{width:38%;right:-13px}.hero-art img{height:205px}.hero-art img:first-child{display:none}.hero-art:before{font-size:60px;right:-30px;top:105px}.service-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:25px;padding:17px}.main-grid{display:block}.cart-panel{display:none}.product-grid{gap:12px}.product-picture{height:163px}.product-picture img{height:140px}.product-info{padding:13px}.product-info h3{font-size:12px}.product-meta{font-size:10px}.price{font-size:18px}.section-heading{gap:12px}.section-heading h2{font-size:20px}.section-heading .search input{width:145px;padding:10px}.section-heading p{font-size:11px}.categories{gap:7px}.chip{padding:8px 13px;font-size:11px}.mobile-cart{position:fixed;bottom:14px;left:16px;right:16px;background:var(--wine-dark);color:white;border:0;border-radius:14px;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;z-index:10;box-shadow:0 6px 25px #49122130;font-size:13px}.mobile-cart strong{font-size:18px}.footer{display:block;padding-bottom:100px;font-size:10px}.footer-links{margin-top:12px;flex-wrap:wrap}.coupon-grid{grid-template-columns:1fr}.page-content{padding-top:22px}.work-layout{display:block}.sidebar{position:relative;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:20px}.sidebar-nav{display:flex;gap:5px;margin-top:20px;overflow:auto}.sidebar-nav button{white-space:nowrap;padding:10px}.sidebar-nav button span{display:none}.sidebar-foot{display:none}.work-main{padding:22px 16px}.work-header h1{font-size:23px}.stats-grid{grid-template-columns:1fr 1fr}.toolbar .search input{width:100%}.work-header{align-items:flex-start}.work-header .actions{margin:0}.form-grid{gap:0 12px}.modal-body{padding:20px}.card{padding:18px}.driver-shell{padding:22px 16px}.info-tabs{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

@media(max-width:760px){.brand small{font-size:7px;letter-spacing:1px}.hero h1{font-size:28px}}

/* Shared store identity: preserve the complete supplied logo. */
img.brand-mark{display:block;width:56px;height:56px;object-fit:contain;background:transparent;border-radius:0;flex-shrink:0}.delivery-brand{margin-bottom:16px}.delivery-brand strong{font-size:20px}

.product-upload{margin:16px 0 24px}.upload-preview{display:block;width:180px;height:180px;object-fit:contain;background:#f5f1eb;border:1px solid var(--line);border-radius:12px}.upload-preview[hidden]{display:none}
.product-delete-area{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.product-delete-area button{margin-top:12px;background:transparent}
