/* 頁首（電腦）、購物車、會員、叫貨紀錄、頁首（手機）（從 index.html 拆出，載入順序不可調換） */
/* 頂部（電腦）：黑底、小 LOGO 置中、選單一排白字 18px */
header{background:#000;color:#fff;position:sticky;top:0;z-index:40}
.brand{display:flex;align-items:center;gap:8px;margin-right:6px}
.brand img{height:40px}
.brand span{font-size:17px;letter-spacing:.25em;font-weight:700}
nav{display:flex;flex-wrap:wrap;align-items:center;gap:10px 30px;padding:14px 32px}
nav a,nav .dd{font-size:18px;line-height:28px;white-space:nowrap;position:relative}
nav .dd::after{content:"";display:inline-block;width:6px;height:6px;border-right:1.5px solid #bbb;border-bottom:1.5px solid #bbb;transform:rotate(45deg);margin-left:9px;vertical-align:5px;transition:transform .2s,border-color .2s}
nav .dd:hover::after{transform:rotate(-135deg);vertical-align:1px;border-color:var(--o)}
nav a:hover,nav .dd:hover{color:var(--o)}
nav .menu{display:none;position:absolute;top:28px;left:-14px;background:#000;padding:8px 0;min-width:170px;z-index:5}
nav .dd:hover .menu{display:block}
nav .menu a{display:block;font-size:15px;padding:8px 16px}
/* 12-06 頁首右邊三個只留圖示：搜尋點了才展開輸入框 */
.hsearch{display:flex;align-items:center;background:transparent;border-radius:4px;height:34px;width:36px;margin-left:auto;transition:width .25s,background .25s}
.hsearch input{width:0;padding:0!important}
.hsearch.open{background:#fff;width:220px}.hsearch.open input{width:auto;padding:0 0 0 12px!important}
.hsearch input{flex:1;min-width:0;border:0;outline:0;background:none;padding:0 0 0 12px;font:inherit;font-size:14px;color:#000}
.hsearch button{width:36px;height:34px;display:flex;align-items:center;justify-content:center}
.hsearch svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round}.hsearch.open svg{width:18px;height:18px;stroke:#555;stroke-width:2.2}
.hsearch button:hover svg,.hacct:hover svg,.hcart:hover svg{stroke:var(--o)}.hsearch.open button:hover svg{stroke:#555}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cartn{font-size:12px;background:var(--o);color:#000;border-radius:9px;padding:0 6px;margin-left:4px;vertical-align:3px}
.cartn:empty{display:none}
/* 購物車：頁首最右邊（搜尋框後面） */
.hcart{display:flex;align-items:center;gap:6px;position:relative}
.hcart svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block}
nav .hcart .cartn{margin:0;position:absolute;top:-7px;right:-11px}
.hacct.in::after{content:'';position:absolute;top:-1px;right:-3px;width:8px;height:8px;border-radius:50%;background:var(--o)}
/* 會員登入（12-05）：帳號跟店家叫貨同一套 */
.hacct{display:flex;align-items:center;gap:6px;position:relative}
.hacct svg,.mbar .ic.acc svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;display:block}
.mbar .ic.acc svg{stroke:#fff}
.card .dp{color:var(--red);font-weight:700;font-size:14px;margin-top:4px}
.info .dpt{display:inline-block;font-size:13px;background:var(--red);color:#fff;border-radius:3px;padding:0 7px;margin-right:10px;vertical-align:7px;line-height:22px;font-weight:700}
.info .lp{font-size:15px;color:#888;font-weight:400;margin-left:12px;text-decoration:line-through}
.dtog{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#666;margin-top:8px;cursor:pointer}
.dtog input{width:auto;margin:0}
.auth{max-width:940px;margin:0 auto;padding:50px 16px 90px}
.auth h1{font-size:24px;text-align:center;margin-bottom:30px;font-weight:400;color:#5c5c5c}
.auth .tabs{display:flex;border-bottom:1px solid #ddd;margin-bottom:34px}
.auth .tabs button{flex:1;height:46px;font:inherit;font-size:16px;color:#888;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;background:none;cursor:pointer}
.auth .tabs button.on{color:#000;border-color:var(--o);font-weight:700}
.auth .cols{display:grid;grid-template-columns:1fr 1fr;gap:56px}
.auth h3{font-size:17px;margin-bottom:16px}
.auth input{width:100%;border:0;border-bottom:1px solid #ccc;padding:12px 2px;font:inherit;font-size:15px;outline:0;margin-bottom:12px;border-radius:0;background:none}
.auth input:focus{border-color:var(--o)}
.auth input:disabled{color:#888}
.auth .sub{height:48px;padding:0 54px;border:0;border-radius:100px;background:var(--o);color:#000;font:inherit;font-weight:700;font-size:16px;margin-top:10px;cursor:pointer}
.auth .sub:disabled{opacity:.6}
.auth .hint{font-size:13px;color:#888;line-height:1.8}
.auth .msg{color:var(--red);font-size:14px;margin-top:14px;min-height:20px;white-space:pre-line}
.auth .acc{border:1px solid #e5e5e5;padding:26px 28px;max-width:560px;margin:0 auto}
.auth .acc .r{display:flex;padding:10px 0;border-bottom:1px solid #f0f0f0;font-size:15px}
.auth .acc .r span{width:90px;color:#888;flex:none}
.auth .acc .r>div{flex:1;min-width:0}
.auth .acc .tag{display:inline-block;white-space:nowrap;font-size:13px;border-radius:3px;padding:0 8px;line-height:22px;background:#eee}
.auth .acc .tag.st{background:var(--o);color:#000;font-weight:700}
.auth .acc .bt{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
/* 叫貨紀錄 */
.ords{max-width:860px;margin:0 auto;padding:40px 16px 90px}.ords h1{font-size:24px;text-align:center;margin-bottom:24px;font-weight:400;color:#5c5c5c}
.ord{border:1px solid #e5e5e5;padding:16px 18px;margin-bottom:12px}.ord .oh{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:8px;font-size:14px;color:#888}.ord .oh b{color:#000;font-size:16px}.ord .oh .t{margin-left:auto;color:#bf3b3b;font-weight:700;font-size:16px}
.ord .st{font-size:13px;padding:0 8px;line-height:22px;border-radius:3px;background:#eee;color:#555}.ord .st.n{background:#fff3e8;color:#cd6921}.ord .st.ok{background:#e8f5e9;color:#2e7d32}
.ord .li{font-size:14px;line-height:1.8}.ord .mt{font-size:13px;color:#888;margin-top:6px}.ord button{margin-top:10px;height:34px;padding:0 18px;border-radius:100px;border:1px solid #bf3b3b;color:#bf3b3b;background:#fff;font:inherit;font-size:13px;cursor:pointer}
.auth .acc .bt a,.auth .acc .bt button{height:44px;padding:0 26px;border-radius:100px;border:1px solid #000;background:#fff;font:inherit;font-size:15px;display:inline-flex;align-items:center;cursor:pointer}
@media(max-width:760px){.auth{padding:30px 16px 70px}.auth .cols{grid-template-columns:1fr;gap:34px}.auth .acc{padding:20px 16px}}

/* 頂部（手機）：一條細黑條 ☰ LOGO 🔍 🛒 */
.mbar{display:none;height:52px;align-items:center;padding:0 14px;gap:12px}
.mbar .ham{font-size:22px;width:26px}
.mbar .lg{display:flex;align-items:center;gap:6px;flex:1;font-size:14px;letter-spacing:.3em}
.mbar .lg img{height:26px}
.mbar .ic{font-size:19px;position:relative}
.mbar .ic .cartn{position:absolute;top:-6px;right:-10px;margin:0}
.msearch{display:none;padding:0 14px 12px}
.msearch input{width:100%;padding:9px 12px;border-radius:4px;border:0;font:inherit;font-size:15px}
.msearch.on{display:block}
#drawer{display:none;position:fixed;top:52px;left:0;right:0;bottom:0;background:#000;color:#fff;overflow-y:auto;z-index:39;padding:0 18px 40px}
#drawer.on{display:block}
#drawer .it{display:flex;justify-content:space-between;align-items:center;height:53px;border-bottom:1px solid #222;font-size:16px;font-weight:700}
#drawer .it i{font-style:normal;font-weight:300;font-size:20px;color:#aaa}
#drawer .sub{display:none;padding:4px 0 8px 16px;border-bottom:1px solid #222}
#drawer .sub.on{display:block}
#drawer .sub a{display:block;padding:9px 0;color:#ccc;font-size:15px}
#drawer .sub .it{height:40px;font-size:15px;font-weight:400;color:#ccc;border-bottom:0}
#drawer .sub .it i{font-size:17px}
#drawer .sub .sub{border-bottom:0;padding:0 0 6px 14px}

