:root {
  --ink: #25211c;
  --muted: #756d62;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --line: #dfd7c9;
  --wheat: #c97143;
  --wheat-dark: #9e4d2d;
  --sage: #78816b;
  --peach: #e7ad8d;
  --shadow: 0 24px 70px rgba(63, 45, 30, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Sans", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.announcement { height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #f7efe3; font-size: 12px; letter-spacing: 1.2px; }
.announcement span { color: var(--peach); }
.site-header { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(24px, 5vw, 78px); position: relative; z-index: 20; background: rgba(247, 242, 232, .94); border-bottom: 1px solid rgba(87, 70, 51, .1); }
.brand { width: fit-content; display: inline-flex; align-items: center; gap: 11px; }
.brand-logo { width: 58px; height: 58px; flex: 0 0 auto; object-fit: cover; border-radius: 13px; mix-blend-mode: multiply; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 47% 45%; background: var(--wheat); color: white; font-family: "Noto Serif SC", serif; font-size: 20px; transform: rotate(-4deg); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand b { font: 900 21px/1.1 "Noto Serif SC", serif; letter-spacing: 3px; }
.brand small { margin-top: 5px; color: var(--muted); font-size: 7px; letter-spacing: 4px; }
.main-nav { display: flex; gap: 42px; font-size: 14px; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 0; height: 2px; background: var(--wheat); transition: .25s; }
.main-nav a:hover::after { left: 0; width: 100%; }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 15px; }
.orders-trigger { height: 38px; padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); cursor: pointer; }
.orders-trigger span { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 8px; }
.orders-trigger b { font-size: 12px; white-space: nowrap; }
.auth-trigger { height: 38px; padding: 0; border: 0; background: transparent; display: inline-flex; align-items: center; gap: 7px; color: var(--ink); cursor: pointer; }
.auth-trigger b { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.user-dot { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #eadfd1; color: var(--wheat-dark); font: 700 11px "Noto Serif SC", serif; }
.cart-trigger { border: 0; background: none; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; color: var(--ink); }
.cart-trigger svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cart-trigger b { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; background: var(--wheat); color: white; border-radius: 20px; font-size: 11px; }
.floating-cart-button { position: fixed; z-index: 45; right: clamp(18px, 3vw, 42px); bottom: max(22px, calc(16px + env(safe-area-inset-bottom))); min-height: 58px; padding: 0 12px 0 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; box-shadow: 0 16px 38px rgba(37,33,28,.28); cursor: pointer; transition: transform .22s, background .22s, box-shadow .22s; }
.floating-cart-button:hover { transform: translateY(-3px); background: var(--wheat-dark); box-shadow: 0 20px 44px rgba(37,33,28,.34); }
.floating-cart-button:focus-visible { outline: 3px solid rgba(201,113,67,.35); outline-offset: 4px; }
.floating-cart-button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.65; }
.floating-cart-button span { font-size: 13px; font-weight: 700; white-space: nowrap; }
.floating-cart-button b { min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: #fff8ee; color: var(--wheat-dark); font-size: 12px; }
.floating-cart-button.has-items b { background: var(--wheat); color: #fff; }
.floating-cart-button.bump { animation: cartBump .3s ease; }
@keyframes cartBump { 50% { transform: scale(1.06); } }

.hero { min-height: 680px; height: calc(100vh - 118px); max-height: 790px; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247,242,232,.98) 0%, rgba(247,242,232,.92) 29%, rgba(247,242,232,.34) 56%, rgba(247,242,232,.02) 100%); }
.hero-content { width: min(620px, 46vw); margin-left: clamp(30px, 9vw, 138px); position: relative; z-index: 2; }
.eyebrow, .kicker { color: var(--wheat-dark); font-size: 11px; font-weight: 700; letter-spacing: 2.6px; }
.eyebrow { display: flex; align-items: center; gap: 11px; }
.eyebrow span { width: 34px; height: 1px; background: var(--wheat); }
.hero h1 { margin: 23px 0 24px; font: 900 clamp(48px, 5vw, 76px)/1.18 "Noto Serif SC", serif; letter-spacing: -3px; }
.hero h1 em { color: var(--wheat-dark); font-style: normal; position: relative; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 8px; opacity: .35; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='8' viewBox='0 0 200 8'%3E%3Cpath d='M1 6C40 2 80 7 199 2' fill='none' stroke='%23c97143' stroke-width='3'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero-content > p { width: 480px; max-width: 100%; color: #645d53; font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; }
.primary-btn { min-height: 52px; padding: 0 24px; border: 0; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; background: var(--ink); color: white; cursor: pointer; font-weight: 600; transition: .25s; }
.primary-btn:hover { transform: translateY(-2px); background: var(--wheat-dark); }
.hero-note { display: grid; grid-template-columns: auto auto; color: var(--wheat-dark); font-size: 11px; letter-spacing: 1px; }
.hero-note b { font-size: 19px; margin-right: 8px; color: var(--ink); }
.hero-note small { grid-column: 1 / -1; margin-top: 4px; color: var(--muted); letter-spacing: 0; }
.baked-tag { position: absolute; z-index: 3; right: clamp(25px, 5vw, 70px); bottom: 45px; width: 106px; height: 106px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--paper); box-shadow: 0 12px 40px rgba(81,53,30,.2); transform: rotate(7deg); }
.baked-tag::after { content: ""; position: absolute; inset: 6px; border: 1px dashed var(--wheat); border-radius: 50%; }
.baked-tag span, .baked-tag small { font-size: 9px; letter-spacing: 3px; color: var(--wheat-dark); }
.baked-tag b { margin: 2px 0; font-size: 22px; }

.promise-strip { max-width: 1200px; margin: 0 auto; padding: 45px 30px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.promise-strip article { display: flex; align-items: center; gap: 17px; padding: 0 40px; border-right: 1px solid var(--line); }
.promise-strip article:first-child { padding-left: 0; }
.promise-strip article:last-child { border: 0; }
.promise-strip i { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #ebe3d5; color: var(--wheat-dark); font-style: normal; font: 700 12px "Noto Serif SC", serif; }
.promise-strip div { display: flex; flex-direction: column; gap: 5px; }
.promise-strip b { font-family: "Noto Serif SC", serif; }
.promise-strip span { color: var(--muted); font-size: 12px; }

.products-section { max-width: 1260px; margin: 0 auto; padding: 108px 30px 125px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; }
.section-heading h2, .story-card h2, .delivery-section h2 { margin: 10px 0 0; font: 700 clamp(34px, 4vw, 50px)/1.35 "Noto Serif SC", serif; letter-spacing: -1.5px; }
.section-heading > p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; margin-top: 43px; }
.product-card { min-width: 0; animation: cardIn .45s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.product-image { aspect-ratio: 1/1.04; position: relative; overflow: hidden; background: #eee3d6; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover img { transform: scale(1.04); }
.product-tag { position: absolute; top: 13px; left: 13px; padding: 6px 10px; background: rgba(255,253,248,.88); backdrop-filter: blur(6px); font-size: 10px; color: var(--wheat-dark); letter-spacing: .5px; }
.add-btn { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: white; font-size: 24px; cursor: pointer; box-shadow: 0 8px 22px rgba(31,24,17,.23); transition: .22s; }
.add-btn:hover { transform: scale(1.08); background: var(--wheat-dark); }
.product-info { padding: 16px 3px; display: grid; grid-template-columns: 1fr auto; gap: 5px; }
.product-info h3 { margin: 0; font: 700 17px "Noto Serif SC", serif; }
.product-info strong { grid-column: 2; grid-row: 1 / span 2; font-size: 17px; }
.product-info p { margin: 0; color: var(--muted); font-size: 11px; }

.story-section { min-height: 600px; display: grid; grid-template-columns: 1fr 1fr; background: #db9a75; overflow: hidden; }
.story-card { padding: clamp(65px, 8vw, 120px); background: #2e3029; color: #fff9ee; }
.story-card .kicker { color: #e8aa86; }
.story-card h2 { font-size: clamp(38px, 4.5vw, 58px); }
.story-card > p { max-width: 520px; margin: 28px 0 45px; color: #c9c6bc; line-height: 2; }
.story-stats { max-width: 520px; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 27px; border-top: 1px solid #51534b; }
.story-stats div { display: flex; flex-direction: column; gap: 5px; }
.story-stats b { font: 600 24px "Noto Serif SC", serif; color: #efb18d; }
.story-stats span { color: #b9b6ae; font-size: 11px; }
.story-visual { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.story-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.story-visual p { position: absolute; right: 8%; bottom: 8%; color: rgba(255,255,255,.75); font: 700 16px/1.6 "Noto Serif SC", serif; letter-spacing: 3px; transform: rotate(-7deg); }
.bread-sketch { position: relative; width: 340px; height: 235px; border-radius: 52% 48% 45% 45%; background: #f4cc83; box-shadow: inset -22px -18px 0 rgba(153,82,43,.13), 0 35px 55px rgba(100,56,34,.25); transform: rotate(-8deg); }
.bread-sketch span { position: absolute; inset: 18px; border: 2px dashed rgba(149,81,43,.45); border-radius: inherit; }
.bread-sketch i { position: absolute; top: 62px; width: 88px; height: 22px; border-top: 8px solid #d48d53; border-radius: 50%; transform: rotate(-58deg); }
.bread-sketch i:nth-of-type(1) { left: 57px; }
.bread-sketch i:nth-of-type(2) { left: 127px; top: 87px; }
.bread-sketch i:nth-of-type(3) { left: 197px; top: 111px; }

.delivery-section { max-width: 1200px; margin: 0 auto; padding: 110px 30px; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.delivery-steps { display: flex; align-items: center; justify-content: space-between; }
.delivery-steps article { text-align: center; }
.delivery-steps article > span { width: 46px; height: 46px; margin: 0 auto 15px; display: grid; place-items: center; background: #eadccc; color: var(--wheat-dark); border-radius: 50%; font: 700 15px "Noto Serif SC", serif; }
.delivery-steps b { display: block; font-family: "Noto Serif SC", serif; }
.delivery-steps p { color: var(--muted); font-size: 11px; }
.delivery-steps > i { color: #bbae9c; font-style: normal; }

footer { padding: 65px clamp(25px, 7vw, 110px) 30px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; color: #d7d1c6; background: #23221e; }
.footer-brand .brand-mark { background: #cc764c; }
.footer-brand .brand-logo { mix-blend-mode: normal; }
.footer-brand small { color: #8e8b83; }
footer > p { grid-column: 1; color: #89867f; margin: 0 0 30px; }
footer > div { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 28px; color: #bcb8b0; font-size: 13px; }
footer > small { grid-column: 1 / -1; padding-top: 25px; border-top: 1px solid #3b3934; color: #77736d; font-size: 10px; }

.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(25,22,18,.42); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .3s; }
.overlay.show { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; z-index: 55; top: 0; right: 0; width: min(450px, 100vw); height: 100%; display: flex; flex-direction: column; background: var(--paper); transform: translateX(102%); transition: .35s cubic-bezier(.22,.8,.25,1); box-shadow: -20px 0 60px rgba(30,22,15,.16); }
.cart-drawer.open { transform: none; }
.drawer-head { padding: 34px 31px 25px; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head span, .modal-title > span, .success-card > span { color: var(--wheat-dark); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.drawer-head h3, .modal-title h3, .success-card h3 { margin: 6px 0 0; font: 700 27px "Noto Serif SC", serif; }
.icon-btn { border: 0; background: transparent; color: var(--ink); font-size: 29px; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 31px; }
.empty-cart { height: 100%; min-height: 360px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--muted); }
.empty-cart i { font-style: normal; font-size: 48px; filter: grayscale(1); opacity: .45; }
.empty-cart h4 { margin: 18px 0 4px; color: var(--ink); font: 700 20px "Noto Serif SC", serif; }
.empty-cart p { font-size: 12px; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; height: 82px; object-fit: cover; }
.cart-item h4 { margin: 3px 0 5px; font: 600 14px "Noto Serif SC", serif; }
.cart-item p { margin: 0; color: var(--muted); font-size: 10px; }
.qty-control { width: fit-content; margin-top: 11px; display: flex; align-items: center; border: 1px solid var(--line); }
.qty-control button { width: 28px; height: 25px; border: 0; background: transparent; cursor: pointer; }
.qty-control span { width: 25px; text-align: center; font-size: 11px; }
.remove-item { align-self: start; border: 0; background: transparent; color: #aaa096; cursor: pointer; font-size: 17px; }
.cart-footer { padding: 21px 31px 27px; background: #f4ede2; }
.free-progress { margin-bottom: 19px; color: var(--muted); font-size: 11px; }
.free-progress b { color: var(--wheat-dark); }
.progress-line { height: 3px; margin-top: 9px; background: #ddd2c3; }
.progress-line i { display: block; height: 100%; background: var(--wheat); transition: .3s; }
.cart-summary { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; color: var(--muted); font-size: 12px; }
.cart-summary b { margin-top: 5px; color: var(--ink); font-size: 19px; }
.checkout-btn { width: 100%; height: 52px; margin-top: 18px; border: 0; background: var(--ink); color: white; font-weight: 600; cursor: pointer; }
.pickup-note { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; padding: 11px 12px; background: #e7ede3; color: #52624d; font-size: 11px; }
.pickup-note i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #708267; color: white; font-style: normal; }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(28,24,20,.48); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-card { position: relative; width: min(670px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 42px; background: var(--paper); box-shadow: var(--shadow); transform: translateY(15px); transition: .25s; }
.modal.open .modal-card { transform: none; }
.modal-close { position: absolute; right: 22px; top: 20px; }
.modal-title p { margin: 8px 0 27px; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid label em { color: var(--muted); font-style: normal; font-weight: 400; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid var(--line); background: white; padding: 12px 13px; outline: none; transition: .2s; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--wheat); box-shadow: 0 0 0 3px rgba(201,113,67,.1); }
.form-grid textarea { min-height: 65px; resize: vertical; }
.pay-method { display: flex; align-items: center; gap: 13px; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; }
.pay-method > span { margin-right: auto; font-weight: 600; }
.pay-method label { padding: 10px 13px; border: 1px solid var(--line); cursor: pointer; }
.pay-method i { margin: 0 5px; color: #19a85b; font-style: normal; font-weight: 700; }
.pix-method label { display: inline-flex; align-items: center; border-color: #82bfc0; background: #effafa; }
.pix-method i { margin: 0 9px 0 3px; padding: 5px 6px; border-radius: 4px; background: #32aeb1; color: white; font-size: 9px; letter-spacing: .5px; }
.pix-method b { font-size: 11px; }
.checkout-total { display: flex; justify-content: space-between; align-items: center; margin: 23px 0 13px; }
.checkout-total b { font-size: 25px; }
.submit-order { width: 100%; height: 54px; border: 0; background: var(--wheat-dark); color: white; font-weight: 700; cursor: pointer; }
.success-card { width: min(520px, 100%); text-align: center; }
.success-icon { width: 70px; height: 70px; margin: 0 auto 19px; display: grid; place-items: center; border-radius: 50%; background: #dfe7d8; color: #4c6c42; font-size: 31px; }
.success-card p { color: var(--muted); line-height: 1.8; font-size: 13px; }
.order-number { margin: 23px 0; padding: 13px; background: var(--cream); color: var(--muted); font-size: 12px; }
.order-number b { margin-left: 8px; color: var(--ink); }
.confirmation-detail { margin: -10px 0 23px; padding: 15px; background: #faf7f1; text-align: left; }
.confirmation-detail .confirm-row { display: flex; justify-content: space-between; gap: 15px; padding: 6px 0; color: var(--muted); font-size: 11px; }
.confirmation-detail .confirm-row b { color: var(--ink); text-align: right; }
.confirmation-items { margin: 7px 0; padding: 7px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.confirmation-item { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 11px; }
.success-card .primary-btn { width: 100%; }
.auth-card { width: min(540px, 100%); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 23px; border-bottom: 1px solid var(--line); }
.auth-tabs[hidden] { display: none; }
.auth-tabs button { height: 43px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; }
.auth-tabs button.active { border-color: var(--wheat); color: var(--ink); font-weight: 700; }
.social-auth[hidden] { display: none; }
.social-auth { display: grid; gap: 10px; margin-bottom: 18px; }
.social-auth-button { width: 100%; min-height: 47px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 7px 11px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.social-auth-button:hover:not(:disabled) { border-color: var(--wheat); background: #fffcf7; transform: translateY(-1px); }
.social-auth-button:focus-visible { outline: 2px solid var(--wheat); outline-offset: 2px; }
.social-auth-button:disabled { background: #f7f4ee; color: var(--muted); cursor: not-allowed; }
.social-auth-button small { padding: 4px 7px; border-radius: 20px; background: var(--cream); color: var(--muted); font-size: 8px; font-weight: 600; white-space: nowrap; }
.social-auth-button.ready small { background: #e6f3e5; color: #477242; }
.social-auth-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.social-auth-icon b { font-size: 14px; }
.social-auth-button.google .social-auth-icon b { color: #4285f4; font-family: Arial, sans-serif; }
.social-auth-button.wechat .social-auth-icon { background: #07c160; color: #fff; box-shadow: none; }
.wechat-label-mobile { display: none; }
.social-auth-message { min-height: 0; margin: 0; text-align: center; }
.social-auth-message:not(:empty) { min-height: 18px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin-top: 2px; color: var(--muted); font-size: 9px; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.auth-divider span { white-space: nowrap; }
.auth-form { display: none; }
.auth-form.active { display: block; animation: cardIn .3s both; }
.auth-form > label { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; font-size: 12px; font-weight: 600; }
.auth-form input { width: 100%; height: 45px; padding: 0 13px; border: 1px solid var(--line); outline: none; }
.auth-form input:focus { border-color: var(--wheat); box-shadow: 0 0 0 3px rgba(201,113,67,.1); }
.auth-form .submit-order { margin-top: 8px; }
.auth-demo { padding: 10px 12px; background: var(--cream); color: var(--muted); font-size: 10px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 10px 12px; background: var(--cream); color: var(--muted); font-size: 10px; }
.auth-row button, .auth-back { border: 0; padding: 0; background: transparent; color: var(--wheat-dark); font: inherit; font-weight: 700; cursor: pointer; }
.auth-row button { flex: 0 0 auto; text-decoration: underline; text-underline-offset: 3px; }
.auth-back { margin: 0 0 20px; font-size: 11px; }
.auth-row button:hover, .auth-back:hover { color: var(--ink); }
.form-message { min-height: 18px; margin: 8px 0 0; color: #b24f3d; font-size: 10px; }
.form-message.success { color: #4c6c42; }
.account-card { width: min(440px, 100%); }
.account-card > span { color: var(--wheat-dark); font-size: 10px; font-weight: 700; letter-spacing: 2px; }
.account-card h3 { margin: 8px 0 4px; font: 700 28px "Noto Serif SC", serif; }
.account-card > p { margin: 0; color: var(--muted); font-size: 12px; }
.account-info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 27px 0; }
.account-info div { padding: 15px; background: var(--cream); }
.account-info span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; }
.account-info b { font-size: 12px; }
.logout-customer { width: 100%; height: 46px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.history-card { width: min(720px, 100%); }
.history-list { display: flex; flex-direction: column; gap: 13px; }
.history-order { padding: 18px; border: 1px solid var(--line); background: #fff; }
.history-order-head { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.history-order-head b { font-size: 13px; }
.history-order-head time { color: var(--muted); font-size: 9px; }
.history-order-head .status-pill { grid-column: 2; grid-row: 1 / span 2; align-self: center; padding: 6px 9px; border-radius: 30px; background: #faead8; color: #9f621e; font-size: 9px; }
.history-order-head .status-pill.done { background: #e1eddf; color: #4e7b4c; }
.history-order-head .status-pill.cancelled { background: #eee; color: #777; }
.history-items { padding: 9px 0; }
.history-item { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 5px 0; font-size: 11px; }
.history-item span { color: var(--muted); }
.history-order-foot { display: flex; justify-content: space-between; align-items: end; padding-top: 11px; border-top: 1px solid var(--line); }
.history-order-foot span { color: var(--muted); font-size: 9px; }
.history-order-foot b { font-size: 17px; }
.history-empty { padding: 55px 20px; text-align: center; color: var(--muted); }
.history-empty i { display: block; margin-bottom: 12px; font-style: normal; font-size: 34px; }
.toast { position: fixed; z-index: 90; left: 50%; bottom: 28px; padding: 12px 20px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 12px; transform: translate(-50%, 100px); opacity: 0; transition: .3s; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
body.locked { overflow: hidden; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { display: none; }
  .hero-content { width: min(560px, 63vw); margin-left: 6vw; }
  .hero-wash { background: linear-gradient(90deg, rgba(247,242,232,.96), rgba(247,242,232,.68) 60%, rgba(247,242,232,.08)); }
  .promise-strip { padding-inline: 22px; }
  .promise-strip article { padding: 0 18px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card { padding: 70px 50px; }
  .delivery-section { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .announcement { height: 30px; font-size: 10px; }
  .site-header { height: 68px; padding: 0 18px; }
  .brand-mark { width: 36px; height: 36px; font-size: 16px; }
  .brand-logo { width: 45px; height: 45px; border-radius: 10px; }
  .brand b { font-size: 18px; }
  .cart-trigger span { display: none; }
  .floating-cart-button { right: 14px; bottom: max(14px, calc(10px + env(safe-area-inset-bottom))); min-height: 54px; padding: 0 10px 0 15px; gap: 8px; }
  .floating-cart-button span { font-size: 12px; }
  .floating-cart-button b { min-width: 30px; height: 30px; }
  .header-tools { gap: 9px; }
  .auth-trigger b { display: none; }
  .orders-trigger b { display: none; }
  .hero { min-height: 620px; height: calc(100svh - 98px); align-items: start; }
  .hero-image { object-position: 65% center; }
  .hero-wash { background: linear-gradient(180deg, rgba(247,242,232,.98) 0%, rgba(247,242,232,.92) 42%, rgba(247,242,232,.18) 77%); }
  .hero-content { width: calc(100% - 44px); margin: 55px 22px 0; }
  .hero h1 { font-size: 44px; line-height: 1.2; letter-spacing: -2px; }
  .hero-content > p { width: auto; font-size: 13px; line-height: 1.8; }
  .hero-actions { align-items: start; flex-direction: column; gap: 15px; }
  .primary-btn { min-height: 48px; }
  .baked-tag { width: 86px; height: 86px; right: 18px; bottom: 20px; }
  .baked-tag b { font-size: 18px; }
  .promise-strip { grid-template-columns: 1fr; padding: 23px 22px; }
  .promise-strip article { padding: 15px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .promise-strip article:last-child { border: 0; }
  .products-section { padding: 75px 16px 80px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 16px; }
  .section-heading h2 { font-size: 34px; }
  .product-grid { margin-top: 30px; }
  .product-grid { gap: 22px 10px; }
  .product-info { display: block; padding-top: 11px; }
  .product-info h3 { font-size: 14px; }
  .product-info p { margin: 4px 0 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .product-info strong { font-size: 14px; }
  .product-tag { font-size: 8px; padding: 5px 7px; }
  .add-btn { width: 38px; height: 38px; }
  .story-section { grid-template-columns: 1fr; }
  .story-card { padding: 70px 24px; }
  .story-card h2 { font-size: 39px; }
  .story-visual { min-height: 390px; }
  .bread-sketch { width: 270px; height: 185px; }
  .bread-sketch i:nth-of-type(1) { left: 42px; }
  .bread-sketch i:nth-of-type(2) { left: 102px; top: 78px; }
  .bread-sketch i:nth-of-type(3) { left: 160px; top: 96px; }
  .delivery-section { padding: 75px 22px; }
  .delivery-section h2 { font-size: 34px; }
  .delivery-steps { gap: 2px; }
  .delivery-steps > i { display: none; }
  .delivery-steps p { width: 82px; }
  footer { grid-template-columns: 1fr; }
  footer > div, footer > p, footer > small { grid-column: 1; grid-row: auto; }
  footer > div { flex-wrap: wrap; }
  .drawer-head, .cart-items, .cart-footer { padding-left: 22px; padding-right: 22px; }
  .toast { bottom: max(82px, calc(76px + env(safe-area-inset-bottom))); }
  .modal-card { padding: 36px 22px 25px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label.full { grid-column: auto; }
  .pay-method { align-items: stretch; flex-wrap: wrap; }
  .pay-method > span { width: 100%; }
  .wechat-label-desktop { display: none; }
  .wechat-label-mobile { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
