:root{--ink:#29251f;--muted:#8c8074;--red:#a52228;--paper:#faf7f2;--line:#e9e0d5;--soft:#f2ebe2}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 "Microsoft YaHei","PingFang SC",sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:9px 15px;min-height:42px}button:hover{border-color:#bd9080}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #c7a06f;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--red);color:white;border-color:var(--red)}button.active{background:var(--red);color:#fff;border-color:var(--red)}a{color:var(--red);text-decoration:none}h1,h2,h3,p{margin:0 0 12px}h1{font-size:29px;line-height:1.4;letter-spacing:-.5px}h2{font-size:19px}h3{font-size:16px}.muted,.tiny{color:var(--muted);font-size:13px}.eyebrow{display:block;font:11px/2 Georgia,serif;letter-spacing:2px;color:var(--red);margin-bottom:10px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.block{display:block;color:var(--muted)}.panel,.order-card,.ticket{background:#fff;border:1px solid var(--line);padding:24px;border-radius:16px;margin-bottom:20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:12px 0 28px}.experience-note{background:#f2e8dc;color:#76634c;padding:10px 20px;font-size:12px}.price{color:var(--red);font:23px Georgia,serif}.badge{font-size:12px;color:var(--red);background:#f8e9e6;border-radius:5px;padding:4px 8px;white-space:nowrap}.empty{padding:56px 20px;text-align:center;color:var(--muted)}input:not([type=checkbox]),select,textarea{display:block;width:100%;border:1px solid var(--line);border-radius:8px;background:#fff;padding:11px 12px;margin:6px 0 15px;color:var(--ink)}input[type=checkbox]{accent-color:var(--red);width:19px;height:19px;flex-shrink:0}textarea{min-height:85px;resize:vertical}label{display:block;font-size:14px}.inline{display:flex;align-items:center;gap:10px;margin-bottom:16px}.form-error,.book-form-error{color:var(--red)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}td,th{text-align:left;border-bottom:1px solid var(--line);padding:14px 12px;white-space:nowrap}th{font-weight:500;color:var(--muted)}.tabs{display:flex;gap:8px;overflow-x:auto;margin:16px 0 24px}.tabs button{white-space:nowrap}.full{width:100%}small{font-size:12px}
/* The customer menu keeps generous product imagery inside a phone-width canvas. */
.phone{max-width:520px;min-height:100dvh;margin:auto;background:#fff;box-shadow:0 0 70px #593f1910;padding-bottom:160px}.brand-row{padding:24px 22px 18px;display:flex;align-items:center;justify-content:space-between}.brand-row img{width:175px;height:64px;object-fit:contain}.brand-row span{text-align:right;color:var(--muted);font-size:12px}.store-heading{padding:23px 20px 14px}.store-heading h1{font-size:22px}.store-heading .row{align-items:flex-start}.mode-switch{display:flex;background:var(--paper);padding:3px;border-radius:22px;flex-shrink:0}.mode-switch button{font-size:13px;border:0;padding:6px 12px;min-height:32px;border-radius:20px;background:transparent}.mode-switch button.active{color:white;background:var(--red)}.search{display:flex;align-items:center;gap:8px;background:var(--paper);border-radius:9px;margin-top:14px;padding:0 12px}.search input{border:0;background:transparent;margin:0;min-width:0}.search span{font-size:22px;color:var(--muted)}.menu-layout{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:start}.categories{position:sticky;top:0;background:var(--paper);min-height:60vh;display:flex;flex-direction:column}.categories button{border:0;border-radius:0;background:transparent;padding:18px 7px;font-size:13px;line-height:1.5}.categories button.active{background:white;color:var(--red);font-weight:bold;box-shadow:inset 3px 0 var(--red)}.products{padding:14px 14px 60px}.products>h2{font-size:16px;margin:0 0 18px}.product{display:grid;grid-template-columns:96px minmax(0,1fr);gap:12px;padding:0 0 22px;margin-bottom:22px;border-bottom:1px solid var(--line)}.product>img,.placeholder{width:96px;height:112px;border-radius:10px;object-fit:cover;background:var(--paper)}.placeholder{display:flex;flex-direction:column;justify-content:center;align-items:center;font:33px Georgia;color:#ac967e}.placeholder small{font:10px "Microsoft YaHei";margin-top:5px}.product h3{font-size:15px;line-height:1.45;margin:0 0 5px}.product p{font-size:11px;color:var(--muted);line-height:1.5;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product .row{margin-top:10px;gap:5px}.product .price{font-size:21px}.product .add{background:var(--red);color:white;border:0;border-radius:50%;width:30px;min-height:30px;height:30px;padding:0;font-size:20px}.product .add:disabled{font-size:10px;white-space:nowrap}.reference{font-size:10px;color:#a4775a}.cart-bar{position:fixed;z-index:5;bottom:71px;left:50%;transform:translateX(-50%);width:min(486px,calc(100% - 24px));border-radius:15px;background:#302820;box-shadow:0 8px 24px #201a2430;display:flex;align-items:center;justify-content:space-between;padding:8px}.cart-bar>button:first-child{display:flex;align-items:center;gap:12px;background:transparent;color:white;border:0}.cart-bar strong{font:23px Georgia}.cart-bar small{color:#cabbb0;font-size:10px}.bag-count{background:#f3d19b;color:#4e3420;border-radius:50%;width:30px;height:30px;line-height:30px}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(520px,100%);height:64px;background:#fff;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:6px 10px;z-index:6}.bottom-nav button{border:0;background:white;color:var(--muted);width:40%}.bottom-nav button.active{color:var(--red);background:#faf0ed}.order-list{padding:18px}.order-list h1{font-size:24px}.order-list .order-card{padding:18px}.order-list .order-card .row:last-child{flex-wrap:wrap}.addons{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:20px 0}.addons label{padding:12px 8px;background:var(--paper);border:1px solid var(--line);border-radius:7px;font-size:12px}.addons small{display:block;padding-left:27px;color:var(--muted)}.addons input{vertical-align:middle;margin-right:5px}.cart-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid var(--line)}.cart-line p{font-size:12px;margin:4px 0}.stepper{display:flex;align-items:center;gap:10px}.stepper button{padding:0;width:32px;min-height:32px}
/* Merchant work surface */
.side{position:fixed;inset:0 auto 0 0;width:228px;background:#fff;border-right:1px solid var(--line);padding:36px 24px;display:flex;flex-direction:column}.side img{width:180px;height:66px;object-fit:contain}.side>p{color:var(--muted);font-size:12px;margin:12px 0 36px}.side nav{display:grid;gap:10px;margin-bottom:28px}.side nav button{text-align:left;border:0;background:transparent;padding:14px 10px}.side nav button.active{background:#f8ece7;color:var(--red)}.side>a{font-size:13px;padding:12px 10px}.side-note{margin-top:auto;color:#a08f7f;font:25px/1.9 Georgia,serif}.workspace{margin-left:228px;padding:0 40px 60px;max-width:1900px}.top{height:80px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.top>div{display:flex;align-items:center;gap:16px}#connection{color:var(--muted);font-size:12px}.workspace>.experience-note{border-radius:9px;margin-bottom:28px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats section{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.stats small{color:var(--muted);display:block}.stats strong{display:block;font:38px Georgia;margin-top:8px}.stats em{font:12px sans-serif;color:var(--muted);margin-left:8px}.tickets{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.ticket{margin:0;padding:22px}.ticket h2{font:28px Georgia}.ticket-item{display:flex;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.ticket-item small{display:block;color:var(--muted);margin-top:5px}.ticket-note{margin:16px 0;padding:12px;background:#fbf0df;font-size:14px;border-left:3px solid #d9ae73}.ticket-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.ticket>.muted{margin-top:12px}.login{max-width:500px;margin:60px auto;padding:38px}.login input{margin-top:12px}.login .primary{width:100%}.login h1{font-size:27px}.receipt{max-width:300px;margin:20px auto;padding:20px;background:#fffdf5;border:1px dashed #c6baac;font-family:monospace}.receipt h3,.receipt h2{text-align:center}.receipt hr{border:0;border-top:1px dashed var(--muted)}.audit{max-height:60vh;overflow:auto;font-size:13px}
dialog{width:min(530px,calc(100% - 24px));max-height:90dvh;border:0;border-radius:20px;padding:28px;box-shadow:0 24px 100px #1b151c55;color:var(--ink)}dialog::backdrop{background:#231c195e;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.modal-head h2{margin:0}.modal-head button{border:0;background:var(--paper);font-size:24px;padding:0;width:38px;min-height:38px;border-radius:50%}#toast{position:fixed;bottom:150px;left:50%;transform:translate(-50%,16px);max-width:90%;background:#2d251fee;color:#fff;padding:13px 22px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}.field{margin-bottom:12px}.book-actions{flex-wrap:wrap}
@media(max-width:1000px){.side{width:180px;padding:26px 15px}.side img{width:150px}.workspace{margin-left:180px;padding:0 22px 40px}.stats{gap:10px}.top{height:70px}.book-stats{grid-template-columns:repeat(3,1fr)!important}}
@media(max-width:720px){.side{position:static;width:auto;padding:14px 16px;border-bottom:1px solid var(--line)}.side img{width:120px;height:44px}.side>p,.side-note,.side>a{display:none}.side nav{display:flex;gap:5px;margin:10px 0 0;overflow-x:auto}.side nav button{padding:8px;font-size:12px;white-space:nowrap}.workspace{margin:0;padding:0 14px 40px}.top{font-size:11px}.top>div{gap:8px}.top button{padding:4px 9px;min-height:30px}#connection{font-size:10px}.experience-note{font-size:11px}.section-title{gap:10px}h1{font-size:24px}.stats{grid-template-columns:1fr 1fr}.stats section{padding:16px}.tickets{grid-template-columns:1fr}.panel{padding:18px}.book-stats{grid-template-columns:1fr 1fr!important}.login{margin:24px 0}.book-heading{display:block!important}.book-columns{grid-template-columns:1fr!important}}
@media(max-width:380px){.products{padding:12px 9px}.product{grid-template-columns:80px minmax(0,1fr);gap:9px}.product>img,.placeholder{width:80px;height:106px}.menu-layout{grid-template-columns:74px minmax(0,1fr)}.product h3{font-size:14px}.store-heading h1{font-size:19px}.cart-bar small{display:none}}

[hidden]{display:none!important}

.section-title>button{flex-shrink:0;white-space:nowrap}
