:root {
  color-scheme: light;
  font-family: "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color:#21171c;
  background:#fdfaf7;
  --ink:#241820;
  --muted:#6e535a;
  --line:#e5d6d5;
  --cream:#fdfaf7;
  --rose:#913e58;
  --serif:"Songti TC","Noto Serif CJK TC","PMingLiU",Georgia,serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; }
button,input,select,textarea { font:inherit; color:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:inherit; }
:focus-visible { outline:2px solid var(--rose); outline-offset:3px; }
[hidden] { display:none!important; }
.shell { width:min(100% - 88px,1240px); margin-inline:auto; }
.header { background:var(--cream); border-bottom:1px solid var(--line); }
.head { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:76px; }
.brand { display:inline-flex; gap:11px; align-items:center; text-decoration:none; font-weight:750; letter-spacing:.09em; }
.brand img { object-fit:cover; border-radius:50%; }
.brand small { display:block; font-size:9px; letter-spacing:.21em; color:var(--muted); }
.close,.cart-remove { background:transparent; border:0; }
.store-banner {
  position:relative; display:grid; align-items:center; isolation:isolate; overflow:hidden;
  min-height:clamp(335px,55vw,620px); margin-top:24px; background:#e6d3c5;
}
.store-banner img { position:absolute; z-index:-2; inset:0; width:100%; height:100%; object-fit:cover; object-position:57% 56%; }
.store-banner::before {
  content:''; position:absolute; z-index:-1; inset:0;
  background:linear-gradient(90deg,#f8f0e6c9 0%,#f8f0e647 39%,transparent 60%);
}
.store-banner-copy { max-width:51%; padding:clamp(25px,5vw,75px); color:#382820; }
.store-banner-copy h2 { font:italic 400 clamp(2.4rem,6.9vw,6.35rem)/.92 Georgia,serif; letter-spacing:-.065em; margin:0 0 17px; }
.store-banner-copy h2 span { display:block; }
.store-banner-copy h2 span+span { font-size:.63em; letter-spacing:-.035em; margin-top:.24em; }
.store-banner-name { margin:0; font:700 clamp(.9rem,2.1vw,1.35rem)/1.4 var(--serif); letter-spacing:.2em; }
.store-banner-tagline { margin:7px 0 0; color:#71364b; font-size:clamp(.75rem,1.6vw,1.1rem); font-weight:650; line-height:1.45; }
.store-banner-tagline span { white-space:nowrap; }
.hero-free-shipping {
  display:inline-block; margin:15px 0 0; padding-top:9px; border-top:1px solid #956c67;
  color:#642f40; font-weight:750; font-size:clamp(.72rem,1.6vw,.95rem); line-height:1.55;
}
.product-visual { position:relative; }
.sale-tag {
  position:absolute; inset:10px auto auto 9px; background:#923653; color:#fff;
  padding:4px 9px; font:italic 700 .88rem/1.2 Georgia,serif; letter-spacing:.085em;
}
.favorite-toggle {
  position:absolute; inset:7px 7px auto auto; display:grid; place-items:center;
  width:42px; height:42px; line-height:1; padding:0; border-radius:50%; border:1px solid #e0c7cc;
  background:#fffaf8f5; color:#793650; font-size:1.56rem;
}
.favorite-toggle[aria-pressed=true] { background:#fbe3eb; color:#a71f4d; }
.order-history-item { display:flex; justify-content:space-between; align-items:center; gap:12px; border-bottom:1px solid var(--line); padding:13px 0; }
.order-history-item p { margin:3px 0 0; }
.back-to-orders { margin-top:8px; }
h1,h2,h3,p { margin-block-start:0; }
h1,h2 { font-family:var(--serif); }
.primary { display:inline-flex; align-items:center; justify-content:center; gap:18px; min-height:46px; border:1px solid var(--ink); background:var(--ink); color:white; text-decoration:none; padding:11px 23px; font-size:.92rem; letter-spacing:.04em; }
.primary:hover { background:#542d3d; }
.primary:disabled { cursor:default; opacity:.55; }
.collection { padding-block:34px 86px; min-height:405px; }
.collection-head h1 { font-size:clamp(1.65rem,2.8vw,2.5rem); margin-bottom:14px; letter-spacing:.1em; }
.collection-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); }
h2 { font-size:clamp(1.65rem,2.8vw,2.5rem); margin-bottom:14px; letter-spacing:.1em; }
.new-in-label { margin-left:.7em; font-family:Georgia,serif; font-size:.46em; font-weight:500; letter-spacing:.16em; color:var(--rose); }
.collection-head p, .fine { color:var(--muted); font-size:.85rem; }
.catalog { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.card { min-width:0; display:flex; flex-direction:column; gap:9px; }
.product-photo { aspect-ratio:4/5; border-radius:5px; background:#f0e2de; display:grid; place-items:center; overflow:hidden; }
.product-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.product-photo span { color:var(--muted); font-size:.8rem; }
.card h3,.card p { margin:0; }
.product-intro { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.product-intro h3 { overflow-wrap:anywhere; font-size:1.03rem; }
.product-price { white-space:nowrap; color:var(--rose); font-weight:750; font-size:.9rem; }
.description { font-size:.87rem; white-space:pre-wrap; overflow-wrap:anywhere; color:var(--muted); }
.card select { width:100%; }
.card .primary { margin-top:auto; width:100%; }
.empty { grid-column:1/-1; text-align:center; background:#f7eeea; color:var(--muted); margin:0; padding:48px 15px; }
.empty strong { display:block; font-family:var(--serif); color:var(--ink); font-size:1.35rem; letter-spacing:.08em; margin-bottom:8px; }
.retry { margin-top:14px; border:1px solid var(--line); background:var(--cream); padding:8px 12px; }
footer { border-top:1px solid var(--line); }
.foot { display:flex; justify-content:space-between; align-items:center; min-height:86px; gap:12px; }
.foot>a:last-child { color:var(--muted); font-size:.84rem; }
.toast:not(:empty) { position:fixed; z-index:3; left:50%; bottom:20px; transform:translateX(-50%); background:var(--ink); color:white; padding:10px 19px; }
dialog { border:0; padding:0; margin:0 0 0 auto; width:min(100%,470px); max-width:none; height:100dvh; max-height:none; background:var(--cream); }
dialog::backdrop { background:#26161bb0; }
.drawer-head { padding:16px 22px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.drawer-head h2 { margin:0; }
.close { font-size:1.8rem; line-height:1; min-width:42px; min-height:42px; }
.drawer-body { padding:20px 22px 36px; }
.bag-line { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px 15px; border-bottom:1px solid var(--line); padding:12px 0; }
.bag-line p { margin:3px 0; font-size:.83rem; color:var(--muted); }
.cart-remove { align-self:center; text-decoration:underline; color:var(--muted); padding:6px 0; }
input,select,textarea { border:1px solid #cbb6b6; padding:9px; background:#fffdfc; width:100%; min-height:42px; }
textarea { resize:vertical; }
#checkout>label,.store-field label { display:grid; gap:5px; margin:0 0 12px; font-weight:600; font-size:.88rem; }
#checkout>button { width:100%; }
#totals div { display:flex; justify-content:space-between; gap:10px; margin:6px 0; }
#totals div:last-child { font-weight:750; padding-top:7px; border-top:1px solid var(--line); }
#order-error { color:#952645; }
#order-error:empty { display:none; }
#receipt { padding:22px 0; }
#receipt strong { font-size:1.3rem; }
@media (max-width:850px) {
  .shell { width:calc(100% - 48px); }
  .catalog { gap:18px; }
}
@media (max-width:650px) {
  .shell { width:calc(100% - 36px); }
  .head { min-height:64px; gap:10px; }
  .catalog { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 12px; }
  .product-intro { display:block; }
  .collection { padding-block:36px 54px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }

.store-field { margin-bottom:12px; }
.store-field label { margin-bottom:4px; }
.store-field a { display:inline-flex; align-items:center; min-height:32px; text-underline-offset:3px; }

.head { justify-content:flex-start; gap:16px; }
.menu-toggle {
  display:grid; align-content:center; gap:5px; width:42px; height:42px; flex:0 0 42px;
  border:1px solid var(--line); background:#fffaf7; padding-inline:10px;
}
.menu-toggle span { height:2px; background:var(--ink); width:20px; }
.menu-toggle span:last-child { width:14px; }
#shop-menu { margin:0 auto 0 0; width:min(86%,340px); background:#fffaf7; }
.menu-categories { display:grid; padding:14px 20px 30px; }
.menu-categories button {
  display:flex; justify-content:space-between; align-items:center; min-height:48px; padding:10px 12px;
  border:0; border-bottom:1px solid var(--line); background:transparent; text-align:left;
}
.menu-categories button::after { content:'›'; color:var(--rose); font-size:1.3rem; }
.menu-categories button[aria-pressed=true] { background:#f1dee3; color:#71384a; font-weight:700; }
.shipping-strip { background:#f0dee1; color:#5d2e3d; }
.shipping-strip-inner {
  display:flex; align-items:center; justify-content:center; gap:12px;
  min-height:42px; padding-block:8px; font-size:.83rem; font-weight:680;
}
.shipping-strip-inner progress { width:clamp(56px,18vw,180px); flex-shrink:0; }
progress { display:block; appearance:none; border:0; height:6px; border-radius:99px; background:#e4cbd0; color:#9a4963; overflow:hidden; }
progress::-webkit-progress-bar { background:#e4cbd0; }
progress::-webkit-progress-value { background:#9a4963; }
progress::-moz-progress-bar { background:#9a4963; }
.bag-shipping { margin-bottom:12px; padding:12px 14px; border:1px solid var(--line); background:#f8edf0; }
.bag-shipping p { margin:0 0 8px; color:#642f44; font-size:.87rem; font-weight:700; }
.bag-shipping progress { width:100%; }
.bag-line { grid-template-columns:56px minmax(0,1fr) auto; gap:10px; }
.bag-line-photo { aspect-ratio:4/5; align-self:start; display:grid; place-items:center; background:#efdfdc; color:var(--muted); font-size:.67rem; }
.bag-line-photo img { width:100%; height:100%; object-fit:cover; }
.bag-line-info strong { overflow-wrap:anywhere; }
.bag-line-end { display:flex; flex-direction:column; justify-content:space-between; align-items:flex-end; gap:10px; }
.bag-line-end strong { white-space:nowrap; font-size:.83rem; }
.cart-remove { text-decoration:none; font-size:1.4rem; line-height:1; min-width:36px; min-height:36px; align-self:flex-end; }
.cart-quantity { display:inline-grid; grid-template-columns:34px 27px 34px; align-items:center; text-align:center; margin-top:6px; border:1px solid var(--line); }
.cart-quantity button { min-height:34px; border:0; background:#fffaf7; }
.cart-quantity button:disabled { color:#87767a; cursor:default; }
@media (max-width:420px) {
  .head { gap:9px; }
}
@media (prefers-reduced-motion:no-preference) {
  #shop-menu[open] { animation:open-menu .18s ease-out; }
  @keyframes open-menu { from { transform:translateX(-100%); } }
}

.delivery-options { margin:0 0 13px; padding:0; border:0; min-width:0; }
.delivery-options legend { margin:0 0 6px; font-size:.88rem; font-weight:650; }
.delivery-option {
  display:grid; grid-template-columns:20px minmax(0,1fr) auto; align-items:center; gap:9px;
  padding:11px 10px; margin-bottom:6px; border:1px solid var(--line); background:#fffdfc; font-size:.86rem; cursor:pointer;
}
.delivery-option:has(:checked) { border-color:var(--rose); background:#f7e9ed; }
.delivery-option input { min-height:0; width:16px; height:16px; margin:0; accent-color:var(--rose); }
.delivery-option strong { white-space:nowrap; color:var(--rose); }
.receipt-summary,.transfer-panel dl { display:grid; gap:8px; }
.receipt-summary div,.transfer-panel dl div { display:flex; justify-content:space-between; gap:12px; }
.receipt-summary dt,.transfer-panel dt { color:var(--muted); }
.receipt-summary dd,.transfer-panel dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.transfer-panel { margin:18px 0; padding:14px; border:1px solid var(--line); background:#f7e9ed; }
.transfer-panel .fine { margin:12px 0 0; }
.account-number { font-variant-numeric:tabular-nums; user-select:all; font-weight:700; }
.copy-account { min-height:42px; padding:0 12px; background:#fffdfc; border:1px solid var(--line); }

.mobile-new-in { display:none; }

@media (max-width:650px) {
  .header .head {
    justify-content:center; position:relative;
    min-height:58px;
  }
  .header .menu-toggle { position:absolute; left:0; border-color:transparent; background:transparent; }
  .shipping-strip-inner { min-height:35px; padding-block:6px; }
  .store-banner { width:100%; margin-top:0; min-height:0; aspect-ratio:1.36; }
  .store-banner-copy { padding:20px 0 20px 19px; }
  .store-banner-copy h2 { font-size:clamp(2rem,9.1vw,3.7rem); margin-bottom:11px; }
  .hero-free-shipping { max-width:95%; margin-top:10px; padding-top:7px; }
  .sale-tag { padding:4px 7px; font-size:.76rem; }
  .favorite-toggle { inset:4px 4px auto auto; }
  .collection {
    width:calc(100% - 32px); padding-block:32px 45px;
  }
  .collection-head { justify-content:center; border-bottom:0; margin-bottom:20px; gap:10px; }
  .collection-head::before,.collection-head::after { content:''; width:23px; height:1px; background:#a16d76; }
  .collection-head h1 { margin:0; text-align:center; font-size:1.3rem; letter-spacing:.075em; }
  .collection-head .mobile-new-in { display:inline; }
  .collection-head:has(.mobile-new-in:not([hidden])) #collection-name { display:none; }
  .collection-head .new-in-label { display:inline; font-size:.62em; letter-spacing:.13em; }
  .collection-head #results { display:none; }
  .catalog { gap:24px 10px; }
  .card { gap:8px; }
  .product-photo { aspect-ratio:3/4; border-radius:12px; }
  .product-intro { display:grid; gap:4px; text-align:center; }
  .product-intro h3 { font-size:.94rem; line-height:1.4; }
  .product-price { font-size:.98rem; }
  .card label { margin:0; font-size:.75rem; }
  .card select { min-height:40px; padding:7px 8px; font-size:.82rem; }
  .card .primary {
    background:#855767; border-color:#855767; border-radius:6px; min-height:43px;
    padding:8px 4px;
  }
  .card .primary:hover { background:#6f4251; }

}

.menu-categories button { justify-content:flex-start; gap:12px; font-family:var(--serif); font-weight:650; letter-spacing:.08em; }
.menu-categories button::after { margin-left:auto; }
.category-heart { flex:none; color:#9b4864; font-family:system-ui,sans-serif; font-size:1rem; }
.menu-contact { display:flex; justify-content:space-between; margin:0 24px; padding:12px 5px; color:var(--rose); font-weight:700; text-decoration:underline; text-underline-offset:.2em; }
.footer-links { display:flex; gap:18px; flex-wrap:wrap; justify-content:end; font-size:.83rem; color:var(--muted); }
:root { --shop-nav-height:calc(56px + env(safe-area-inset-bottom,0px)); }
body { padding-bottom:var(--shop-nav-height); }
.shop-nav {
  position:fixed; inset:auto 0 0; z-index:4; display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  height:var(--shop-nav-height); padding:0 max(12px,env(safe-area-inset-right)) env(safe-area-inset-bottom,0px) max(12px,env(safe-area-inset-left));
  background:#eedcdf; color:#5e3444; border-top:1px solid #dcbec6;
}
.shop-nav>a,.shop-nav>button {
  display:grid; justify-items:center; align-content:center; gap:4px;
  border:0; background:transparent; padding:3px 0; text-decoration:none; font-weight:650; font-size:.72rem;
}
.shop-nav>a:focus-visible,.shop-nav>button:focus-visible { outline-offset:-3px; }
.mobile-icon { display:block; position:relative; width:22px; height:19px; }
.home-icon::before { content:''; position:absolute; width:11px; height:11px; border-left:1.6px solid; border-top:1.6px solid; transform:rotate(45deg); left:5px; top:3px; }
.home-icon::after { content:''; position:absolute; height:9px; left:5px; right:5px; bottom:1px; border:1.6px solid; border-top:0; border-radius:0 0 2px 2px; }
.heart-icon { font-size:1.5rem; line-height:18px; }
.shop-nav button[aria-pressed=true] { color:#a71f4d; background:#f6e8ec; }
.orders-icon::before { content:''; position:absolute; inset:1px 4px 0; border:1.6px solid; border-radius:2px; }
.orders-icon::after { content:''; position:absolute; inset:6px 8px auto; height:1.5px; background:currentColor; box-shadow:0 4px currentColor; }
.cart-icon::before { content:''; position:absolute; left:3px; top:3px; width:14px; height:8px; border:1.6px solid; transform:skewX(-12deg); border-radius:0 0 3px 3px; }
.cart-icon::after { content:''; position:absolute; inset:0; background:linear-gradient(currentColor,currentColor) 0 2px/5px 1.6px no-repeat,radial-gradient(circle,currentColor 1.4px,transparent 1.6px) 4px 13px/5px 5px no-repeat,radial-gradient(circle,currentColor 1.4px,transparent 1.6px) 13px 13px/5px 5px no-repeat; }
.mobile-count { display:inline-block; min-width:16px; padding:0 3px; border-radius:9px; background:#855767; color:white; text-align:center; line-height:16px; }
.toast:not(:empty) { bottom:calc(var(--shop-nav-height) + 10px); }
@media (min-width:651px) {
  .shop-nav { grid-template-columns:repeat(4,minmax(110px,170px)); justify-content:center; }
}
.drawer-tools { display:flex; align-items:center; gap:7px; }
.drawer-home { display:flex; align-items:center; gap:5px; padding:8px; color:var(--rose); font-size:.8rem; text-decoration:none; }
.transfer-reference { margin:12px 0; padding:13px 0; border-top:1px solid var(--line); }
.transfer-reference h3,.transfer-reference .fine { margin-bottom:7px; }
.transfer-reference label { display:grid; gap:6px; font-size:.88rem; font-weight:600; }
.transfer-reference input { max-width:240px; }
.transfer-reference .fine { margin-top:6px; }
.transfer-reference [role=status] { margin:8px 0 0; color:var(--rose); font-size:.85rem; }

.receipt-items { list-style:none; margin:0 0 14px; padding:0 0 8px; border-bottom:1px solid var(--line); font-size:.88rem; }
.receipt-items li { display:flex; justify-content:space-between; gap:10px; margin:5px 0; }
.receipt-items span:last-child { white-space:nowrap; }
