:root{
  --bee-ink:#151007;
  --bee-olive:#5D5923;
  --bee-olive-dark:#46431A;
  --bee-honey:#FDD04E;
  --bee-honey-deep:#EAA623;
  --bee-cream:#F1E8D3;
  --bee-sand:#E3CFA7;
  --bee-white:#FFFFFF;
  --bee-muted:#6B665A;
  --bee-line:#DED3BA;
  --bee-danger:#B42318;
  --bee-ok:#2B7A3D;
  --shadow:0 18px 50px rgba(21,16,7,.12);
  --shadow-soft:0 8px 28px rgba(93,89,35,.10);
  --radius-xl:30px;
  --radius-lg:22px;
  --radius-md:14px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--bee-ink);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC",sans-serif;
  line-height:1.6;
  background:
    radial-gradient(circle at 12% 2%,rgba(253,208,78,.22),transparent 28%),
    radial-gradient(circle at 92% 16%,rgba(93,89,35,.12),transparent 26%),
    linear-gradient(180deg,#fffdf7 0,var(--bee-cream) 100%);
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(253,208,78,.72);outline-offset:2px}
.shell{width:min(1180px,calc(100% - 28px));margin:auto}
.topbar{position:sticky;top:0;z-index:40;background:rgba(255,253,247,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--bee-line)}
.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0}
.brand{display:flex;align-items:center;gap:11px;min-width:0}
.brand img{width:56px;height:56px;border-radius:18px;object-fit:contain;background:var(--bee-cream);border:2px solid var(--bee-honey);box-shadow:0 5px 14px rgba(21,16,7,.12)}
.brand span{display:grid;line-height:1.2}
.brand b{font-size:21px;letter-spacing:.01em}
.brand small{color:var(--bee-olive);font-weight:800;margin-top:4px}
.top-actions{display:flex;align-items:center;gap:10px}
.point-pill,.catalog-pill,.member-pill,.member-access-pill,.line-btn,.cart-btn{padding:10px 14px;border-radius:999px;border:1px solid var(--bee-line);background:var(--bee-white);font-weight:850;box-shadow:0 3px 12px rgba(21,16,7,.04)}
.line-btn{background:#06c755;color:#fff;border-color:#06c755}
.cart-btn{background:var(--bee-ink);color:#fff;border-color:var(--bee-ink)}
.cart-btn b{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;background:var(--bee-honey);color:var(--bee-ink);border-radius:999px;margin-left:5px}
.hero{padding:46px 0 20px}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:center}
.eyebrow{display:inline-flex;padding:7px 12px;border-radius:999px;background:var(--bee-honey);color:var(--bee-ink);font-weight:950;letter-spacing:.06em;font-size:13px;border:1px solid rgba(21,16,7,.12)}
.hero h1{font-size:clamp(38px,6vw,68px);line-height:1.08;margin:18px 0;letter-spacing:-.035em}
.hero h1 span{color:var(--bee-olive)}
.hero p{font-size:19px;color:var(--bee-muted);max-width:720px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}
.btn,.btn-soft,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:11px 20px;border-radius:var(--radius-md);font-weight:950;border:0;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.btn:hover,.btn-soft:hover,.btn-ghost:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(21,16,7,.12)}
.btn{background:var(--bee-olive);color:#fff}
.btn:hover{background:var(--bee-olive-dark)}
.btn-soft{background:var(--bee-honey);color:var(--bee-ink)}
.btn-soft:hover{background:#ffd96b}
.btn-ghost{background:var(--bee-white);border:1px solid var(--bee-line)}
button:disabled{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}
.hero-art{background:var(--bee-white);border:1px solid var(--bee-line);border-radius:34px;padding:18px;box-shadow:var(--shadow);position:relative;overflow:hidden}
.hero-art:before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(253,208,78,.16),transparent 45%,rgba(93,89,35,.08));pointer-events:none}
.hero-art img{display:block;width:100%;border-radius:24px;position:relative}
.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.metric{background:rgba(255,255,255,.86);border:1px solid var(--bee-line);border-radius:18px;padding:16px;box-shadow:var(--shadow-soft)}
.metric b{font-size:23px;color:var(--bee-olive)}
.metric span{display:block;color:var(--bee-muted);font-size:13px}
.section{padding:42px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.section-head h2{font-size:32px;margin:8px 0 0;letter-spacing:-.02em}
.section-head p{margin:0;color:var(--bee-muted);max-width:650px}
.point-grid,.product-grid,.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.point-card,.product-card,.feature-card,.panel{background:rgba(255,255,255,.92);border:1px solid var(--bee-line);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}
.point-card{padding:18px;transition:transform .16s ease,border-color .16s ease}
.point-card:hover{transform:translateY(-2px);border-color:var(--bee-honey-deep)}
.point-card.active{outline:3px solid var(--bee-honey);background:linear-gradient(180deg,#fff,var(--bee-cream))}
.point-card h3,.product-card h3{margin:0 0 6px}
.muted{color:var(--bee-muted)}
.product-card{padding:16px;display:flex;flex-direction:column;min-height:100%;overflow:hidden}
.product-icon{height:116px;border-radius:18px;background:linear-gradient(135deg,#fff8d9,var(--bee-cream));display:grid;place-items:center;font-size:54px;position:relative;border:1px solid rgba(227,207,167,.7)}
.badge{position:absolute;top:10px;right:10px;background:var(--bee-ink);color:var(--bee-honey);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:950}
.product-meta{display:flex;justify-content:space-between;gap:10px;color:var(--bee-muted);font-size:13px}
.price{font-size:24px;font-weight:950;color:var(--bee-olive)}
.stock{font-size:13px;font-weight:850;color:var(--bee-ok)}
.stock.low{color:#b54708}
.product-actions{margin-top:auto;display:flex;gap:8px;padding-top:14px}
.qty-input{width:72px;border:1px solid var(--bee-line);border-radius:12px;padding:10px;background:#fffdf7}
.tabbar{display:flex;gap:10px;overflow:auto;padding-bottom:8px}
.tabbar a{white-space:nowrap;padding:9px 14px;border-radius:999px;background:var(--bee-white);border:1px solid var(--bee-line);font-weight:850}
.tabbar a:hover{background:var(--bee-honey)}
.flash{width:min(1180px,calc(100% - 28px));margin:12px auto;padding:12px 16px;border-radius:14px;background:#fff3cd;border:1px solid #ffdf7b}
.flash.success{background:#e6f4ea;border-color:#acd9b7}
.flash.error{background:#f8d7da;border-color:#f5c2c7}
.panel{padding:22px}
.cart-list{display:grid;gap:14px}
.cart-row{display:grid;grid-template-columns:1fr auto auto auto;gap:14px;align-items:center;padding:14px;border:1px solid var(--bee-line);border-radius:16px;background:#fff}
.cart-name{display:flex;gap:12px;align-items:center}
.cart-name .mini-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:15px;background:var(--bee-cream);font-size:28px}
.summary{display:grid;gap:10px}
.summary-line{display:flex;justify-content:space-between}
.summary-line.total{font-size:24px;font-weight:950;border-top:1px solid var(--bee-line);padding-top:12px;color:var(--bee-olive)}
.checkout-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:20px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:grid;gap:7px}
.field.full{grid-column:1/-1}
.field label{font-weight:900}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--bee-line);border-radius:13px;padding:13px;background:#fffdf7}
.payment-options{display:grid;gap:10px}
.payment-option{display:flex;gap:10px;align-items:flex-start;padding:14px;border:1px solid var(--bee-line);border-radius:15px;background:#fff}
.order-hero{text-align:center;padding:44px 0}
.order-code{font-size:30px;font-weight:950;color:var(--bee-olive)}
.status-chip{display:inline-flex;padding:7px 12px;border-radius:999px;background:var(--bee-honey);color:var(--bee-ink);font-weight:950}
.timeline{display:grid;gap:10px}
.timeline div{padding:12px 14px;border-left:4px solid var(--bee-honey-deep);background:#fff;border-radius:0 12px 12px 0}
.feature-card{padding:22px;border-top:5px solid var(--bee-honey)}
.feature-card h3{color:var(--bee-olive)}
.footer{margin-top:50px;background:var(--bee-ink);color:#fff;padding:32px 0 95px;border-top:6px solid var(--bee-honey)}
.footer b{color:var(--bee-honey);font-size:20px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr;gap:30px}
.mobile-nav{display:none}
.admin-wrap{width:min(1180px,calc(100% - 28px));margin:30px auto}
.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.admin-nav a{padding:9px 12px;border-radius:10px;background:#fff;border:1px solid var(--bee-line);font-weight:850}
.admin-nav a:hover{background:var(--bee-honey)}
.table-wrap{overflow:auto;border-radius:16px;border:1px solid var(--bee-line)}
.data-table{width:100%;border-collapse:collapse;background:#fff}
.data-table th,.data-table td{padding:11px;border-bottom:1px solid var(--bee-line);text-align:left;white-space:nowrap}
.data-table th{background:var(--bee-olive);color:#fff}
.empty{text-align:center;padding:40px;color:var(--bee-muted)}
@media(max-width:900px){.hero-grid,.checkout-grid{grid-template-columns:1fr}.point-grid,.product-grid,.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){
  body{padding-bottom:72px}
  .shell{width:min(100% - 20px,1180px)}
  .topbar-inner{padding:8px 0}
  .brand img{width:46px;height:46px}
  .brand b{font-size:17px}
  .brand small{font-size:10px}
  .point-pill,.member-pill,.member-access-pill{display:none}
  .line-btn{display:none}
  .cart-btn{padding:9px 11px}
  .hero{padding-top:24px}
  .hero h1{font-size:40px}
  .hero p{font-size:16px}
  .hero-grid{gap:20px}
  .metric-row{grid-template-columns:1fr}
  .point-grid,.product-grid,.feature-grid{grid-template-columns:1fr}
  .section{padding:30px 0}
  .section-head{display:block}
  .section-head h2{font-size:27px}
  .cart-row{grid-template-columns:1fr auto}
  .cart-row .line-price{grid-column:1}
  .cart-row .remove-form{grid-column:2}
  .form-grid{grid-template-columns:1fr}
  .field.full{grid-column:auto}
  .footer{padding-bottom:95px}
  .mobile-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:60;left:0;right:0;bottom:0;background:#fffdf7;border-top:1px solid var(--bee-line);padding:7px 6px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(21,16,7,.08)}
  .mobile-nav a{display:grid;place-items:center;font-size:18px}
  .mobile-nav span{font-size:11px;font-weight:850}
  .footer-grid{grid-template-columns:1fr}
}

/* v4.0 台南首發與分區開通 */
.brand-lockup{padding:10px;background:#fff}.brand-lockup img{object-fit:contain;aspect-ratio:18/8}
.region-section{background:linear-gradient(180deg,rgba(253,208,78,.10),rgba(241,232,211,.45))}
.area-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-radius:24px;background:linear-gradient(135deg,var(--bee-olive),var(--bee-olive-dark));color:#fff;border:4px solid var(--bee-honey);box-shadow:var(--shadow)}
.area-banner strong{color:var(--bee-honey);letter-spacing:.08em}.area-banner h3{font-size:34px;margin:5px 0}.area-banner p{margin:0;color:#fff8dc}
.region-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.region-card{padding:14px;border:1px solid var(--bee-line);border-radius:16px;background:#fff;display:flex;justify-content:space-between}.region-card.active{outline:3px solid var(--bee-honey)}
.district-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-top:18px}.district-chip{display:grid;gap:3px;padding:13px 10px;text-align:center;border-radius:15px;background:#fff;border:1px solid var(--bee-line);box-shadow:0 4px 12px rgba(21,16,7,.04)}.district-chip:hover{border-color:var(--bee-honey-deep);transform:translateY(-1px)}.district-chip.active{background:var(--bee-honey);border-color:var(--bee-honey-deep);outline:2px solid var(--bee-olive)}.district-chip small{color:var(--bee-muted);font-size:11px}.district-chip.coming{opacity:.68;background:var(--bee-cream);cursor:default}.district-chip.coming:hover{transform:none;border-color:var(--bee-line)}.area-note{margin:14px 0 0;color:var(--bee-muted)}
.inline-admin-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.inline-admin-form select,.district-admin-card select{border:1px solid var(--bee-line);border-radius:10px;padding:8px;background:#fff}.inline-admin-form .btn-soft,.district-admin-card .btn-soft{min-height:36px;padding:7px 12px}
.district-admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.district-admin-card{display:grid;gap:9px;padding:14px;border:1px solid var(--bee-line);border-radius:16px;background:#fff}.district-admin-card small{color:var(--bee-muted)}
@media(max-width:1000px){.district-grid{grid-template-columns:repeat(4,1fr)}.district-admin-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:640px){.district-grid{grid-template-columns:repeat(2,1fr)}.district-admin-grid{grid-template-columns:repeat(2,1fr)}.area-banner{align-items:flex-start}.area-banner h3{font-size:27px}.brand-lockup img{aspect-ratio:auto}.region-grid{grid-template-columns:1fr 1fr}}

/* v4.1 前台商品化、定位、廣告與 ERP */
.front-catalog{padding:24px 0 50px}.banner-slider{display:grid;gap:18px;margin-bottom:20px}.ad-banner{display:grid;grid-template-columns:1.1fr .9fr;min-height:260px;overflow:hidden;border-radius:28px;background:var(--bee-ink);color:#fff;box-shadow:var(--shadow)}.ad-banner img{width:100%;height:100%;min-height:260px;object-fit:cover}.ad-copy{padding:30px;display:flex;flex-direction:column;justify-content:center}.ad-copy h2{font-size:clamp(30px,5vw,52px);line-height:1.1;margin:14px 0}.ad-copy p{color:#fff8dc;font-size:17px}.catalog-location-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;border:1px solid var(--bee-line);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);margin-bottom:22px}.catalog-location-card h1{font-size:25px;margin:3px 0}.catalog-location-card p{margin:0;color:var(--bee-muted)}.location-actions{display:flex;gap:10px;flex-wrap:wrap}.location-result{padding:13px 15px;border-radius:14px;background:#fff8d9;border:1px solid var(--bee-honey-deep);margin:10px 0 20px}.service-preparing{padding:55px 20px;text-align:center;border:2px dashed var(--bee-sand);border-radius:26px;background:rgba(255,255,255,.82)}.service-preparing .bee-large{font-size:70px}.service-preparing h2{font-size:32px;margin:8px 0}.catalog-tabs{position:sticky;top:78px;z-index:25;padding:10px;background:rgba(255,253,247,.95);border-radius:16px;border:1px solid var(--bee-line);margin-bottom:18px}.catalog-section{padding:18px 0 28px}.product-media{height:190px;border-radius:18px;background:linear-gradient(135deg,#fff8d9,var(--bee-cream));display:grid;place-items:center;font-size:64px;position:relative;overflow:hidden;border:1px solid rgba(227,207,167,.7);margin-bottom:12px}.product-media img{width:100%;height:100%;object-fit:cover}.product-description{min-height:52px}.preparing-inline{padding:12px;border-radius:12px;background:var(--bee-cream);color:var(--bee-muted)}.location-region{margin-bottom:18px}.location-district{padding:14px 0;border-top:1px solid var(--bee-line)}.location-district h3{display:flex;justify-content:space-between;gap:12px}.location-district small{color:var(--bee-muted)}
.admin-form-card{background:#fff;border:1px solid var(--bee-line);border-radius:18px;padding:18px;margin-bottom:18px}.admin-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.admin-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--bee-line)}.switch-row:last-child{border-bottom:0}.switch-row input{width:22px;height:22px}.thumb{width:90px;height:64px;object-fit:cover;border-radius:10px;border:1px solid var(--bee-line)}.erp-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.erp-kpi{background:#fff;border:1px solid var(--bee-line);border-radius:16px;padding:16px}.erp-kpi b{display:block;font-size:25px;color:var(--bee-olive)}.low-stock{background:#fff1f0!important}.action-bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.admin-tabs a{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--bee-line);font-weight:800}.admin-tabs a:hover{background:var(--bee-honey)}
@media(max-width:900px){.ad-banner{grid-template-columns:1fr}.ad-banner img{max-height:260px}.erp-kpis{grid-template-columns:repeat(2,1fr)}.admin-grid-2,.admin-grid-3{grid-template-columns:1fr}}
@media(max-width:640px){.catalog-location-card{display:block}.location-actions{margin-top:14px}.product-media{height:170px}.erp-kpis{grid-template-columns:1fr}.ad-copy{padding:22px}.ad-copy h2{font-size:32px}}
.brand-horizontal img{width:270px;height:64px;border-radius:12px;object-fit:contain;background:#fff;border:0;box-shadow:none}.brand-horizontal{min-width:270px}@media(max-width:640px){.brand-horizontal img{width:190px;height:50px}.brand-horizontal{min-width:190px}}

/* v4.1.1 會員訂餐明細與採購分析 */
.data-table td.wrap-cell{white-space:normal;min-width:220px;max-width:420px;line-height:1.55}
.action-stack{display:grid;gap:8px;min-width:150px}.small-btn{min-height:36px;padding:7px 11px}
.procurement-note{padding:14px 16px;border-radius:14px;background:#fff8d9;border:1px solid var(--bee-honey-deep)}
@media(max-width:640px){.data-table td.wrap-cell{min-width:190px}.action-stack{min-width:130px}}

.admin-backoffice{
  width:min(1680px,calc(100% - 24px));
  margin:22px auto 44px;
}
.admin-layout{
  display:grid;
  grid-template-columns:232px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.admin-sidebar{
  position:sticky;
  top:82px;
  display:flex;
  flex-direction:column;
  max-height:calc(100vh - 98px);
  overflow:hidden;
  border-radius:18px;
  background:linear-gradient(180deg,#145781 0%,#0b456b 58%,#073653 100%);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 18px 44px rgba(7,54,83,.24);
}
.admin-sidebar-head{
  display:grid;
  gap:3px;
  padding:19px 18px 15px;
  border-bottom:1px solid rgba(255,255,255,.17);
  background:rgba(255,255,255,.05);
}
.admin-sidebar-head strong{
  color:#fff;
  font-size:18px;
  line-height:1.35;
}
.admin-sidebar-head span{
  color:rgba(255,255,255,.72);
  font-size:12px;
  font-weight:700;
}
.admin-side-nav{
  display:grid;
  gap:3px;
  padding:10px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.35) transparent;
}
.admin-side-nav::-webkit-scrollbar{width:7px}
.admin-side-nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.32);border-radius:99px}
.admin-side-link{
  display:block;
  width:100%;
  padding:10px 13px;
  border-radius:9px;
  color:#fff;
  font-size:14px;
  font-weight:850;
  line-height:1.35;
  text-align:left;
  white-space:normal;
  border:1px solid transparent;
  transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease;
}
.admin-side-link:hover{
  color:#fff;
  background:rgba(255,255,255,.13);
  border-color:rgba(255,255,255,.14);
  transform:translateX(2px);
}
.admin-side-link.is-active{
  background:var(--bee-honey);
  color:var(--bee-ink);
  border-color:#ffe28c;
  box-shadow:0 5px 14px rgba(21,16,7,.18);
}
.admin-side-link.is-logout{
  margin-top:7px;
  padding-top:11px;
  border-top-color:rgba(255,255,255,.2);
  border-radius:0 0 9px 9px;
}
.admin-side-link.is-logout:hover{
  background:#8f2f2f;
  border-color:#a94646;
  transform:none;
}
.admin-main,.admin-main-inner{
  min-width:0;
  width:100%;
}
.admin-main-inner>h1:first-child{margin-top:0}
.admin-backoffice>.admin-nav,.admin-layout>.admin-nav{display:none!important}

@media(max-width:1100px){
  .admin-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}
  .admin-side-link{padding:9px 11px;font-size:13px}
  .admin-backoffice{width:min(100% - 18px,1500px)}
}
@media(max-width:820px){
  .admin-layout{grid-template-columns:1fr}
  .admin-sidebar{
    position:static;
    max-height:none;
    border-radius:15px;
  }
  .admin-sidebar-head{padding:14px 15px 11px}
  .admin-side-nav{
    display:flex;
    gap:7px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:9px 10px 11px;
    scrollbar-width:thin;
  }
  .admin-side-link{
    width:auto;
    min-width:max-content;
    white-space:nowrap;
    padding:9px 12px;
  }
  .admin-side-link:hover{transform:none}
  .admin-side-link.is-logout{margin-top:0;border-top-color:transparent;border-radius:9px}
}
@media(max-width:640px){
  .admin-backoffice{width:calc(100% - 12px);margin:12px auto 26px}
  .admin-layout{gap:12px}
  .admin-sidebar-head strong{font-size:16px}
}

/* WoWoBee v5.0 精簡穩定版：固定前台、響應式圖片與後台導覽 */
html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%}
.brand-horizontal{width:clamp(190px,24vw,300px);min-width:0}
.brand-horizontal .brand-picture{display:block;width:100%;height:auto;overflow:visible}
.brand-horizontal .brand-picture img{display:block;width:100%;height:auto;aspect-ratio:10/3;object-fit:contain;background:transparent;border:0;border-radius:0;box-shadow:none}
.install-btn{padding:9px 13px;border-radius:999px;border:1px solid var(--bee-line);background:var(--bee-honey);color:var(--bee-ink);font-weight:900;cursor:pointer}
.front-catalog{padding:22px 0 48px}
.home-banners{margin-bottom:20px}
.banner-slider{display:grid;gap:18px;width:100%;overflow:hidden}
.ad-banner{display:block;width:100%;min-height:0;overflow:hidden;border-radius:24px;background:#fff;border:1px solid var(--bee-line);color:var(--bee-ink);box-shadow:var(--shadow-soft)}
.ad-banner .banner-picture{display:block;width:100%;aspect-ratio:8/3;height:auto;min-height:0;background:var(--bee-cream);overflow:hidden}
.ad-banner .banner-picture img{display:block;width:100%;height:100%;min-height:0;object-fit:contain;object-position:center;background:var(--bee-cream)}
.ad-banner .ad-copy{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#fff}
.ad-banner .ad-copy h2{font-size:clamp(24px,3.8vw,38px);line-height:1.2;margin:8px 0}
.ad-banner .ad-copy p{margin:0;color:var(--bee-muted);font-size:16px}
.catalog-location-card{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;border:1px solid var(--bee-line);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft);margin-bottom:22px}
.catalog-location-card h1{font-size:25px;margin:3px 0}.catalog-location-card p{margin:0;color:var(--bee-muted)}.location-actions{display:flex;gap:10px;flex-wrap:wrap}
.service-preparing{padding:52px 20px;text-align:center;border:2px dashed var(--bee-sand);border-radius:26px;background:rgba(255,255,255,.86)}.service-preparing .bee-large{font-size:68px}.service-preparing h2{font-size:32px;margin:8px 0}
.catalog-tabs{position:sticky;top:78px;z-index:25;padding:10px;background:rgba(255,253,247,.96);border-radius:16px;border:1px solid var(--bee-line);margin-bottom:18px}
.catalog-main-head{margin-top:22px}.catalog-section{padding:12px 0 28px}
.product-media{position:relative;width:100%;aspect-ratio:4/3;height:auto;overflow:hidden;border-radius:18px;background:linear-gradient(135deg,#fff8d9,var(--bee-cream));display:grid;place-items:center;font-size:64px;border:1px solid rgba(227,207,167,.7);margin-bottom:12px}
.product-media .product-picture{position:absolute;inset:0;width:100%;height:100%}.product-media .product-picture img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.product-media>span:not(.badge){position:relative;z-index:1}.product-media .badge{z-index:3}
.product-description{min-height:50px}.checkout-point{display:grid;gap:3px;padding:14px;border:1px solid var(--bee-line);border-radius:14px;background:#fffdf7}.checkout-point a{color:var(--bee-olive);font-weight:900;margin-top:5px}
.narrow-shell{max-width:760px}.auth-card{padding:28px}.auth-line-btn{display:flex;justify-content:center;margin-top:14px}.status-ok{background:#dff3e3;color:#1f6a32}.status-error{background:#f8d7da;color:#8b1c24}.status-chip{font-size:13px}
.data-table td.wrap-cell{white-space:normal;min-width:220px;max-width:430px;line-height:1.55}.action-stack{display:grid;gap:7px;min-width:145px}.small-btn{min-height:36px;padding:7px 10px}
.mobile-nav{grid-template-columns:repeat(4,1fr)}.mobile-nav a{font-size:13px;font-weight:900;padding:5px}
.admin-backoffice{width:min(1680px,calc(100% - 24px));margin:22px auto 44px}.admin-layout{display:grid;grid-template-columns:232px minmax(0,1fr);gap:22px;align-items:start}
.admin-main,.admin-main-inner{min-width:0;width:100%}.admin-main-inner>h1:first-child{margin-top:0}.admin-backoffice>.admin-nav,.admin-layout>.admin-nav{display:none!important}
@media(max-width:1000px){.topbar-inner{align-items:flex-start}.top-actions{flex-wrap:wrap;justify-content:flex-end}.product-grid{grid-template-columns:repeat(2,1fr)}.ad-banner .ad-copy{align-items:flex-start}.admin-layout{grid-template-columns:205px minmax(0,1fr);gap:16px}}
@media(max-width:820px){.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static;max-height:none;border-radius:15px}.admin-side-nav{display:flex;gap:7px;overflow-x:auto;overflow-y:hidden}.admin-side-link{width:auto;min-width:max-content;white-space:nowrap}.admin-side-link.is-logout{margin-top:0;border-radius:9px}.ad-banner .banner-picture{aspect-ratio:16/9}}
@media(max-width:760px){.topbar-inner{display:grid;gap:8px}.brand-horizontal{width:min(240px,68vw)}.top-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:7px}.point-pill{grid-column:1/-1}.point-pill,.member-pill,.member-access-pill,.line-btn,.cart-btn,.install-btn{padding:8px 10px;text-align:center;justify-content:center}.catalog-location-card{display:block}.location-actions{margin-top:14px}.product-grid{grid-template-columns:1fr}.product-media{aspect-ratio:1/1}.ad-banner{border-radius:18px}.ad-banner .ad-copy{display:block;padding:16px}.ad-banner .ad-copy .btn-soft{margin-top:12px}.catalog-tabs{top:118px}.service-preparing{padding:38px 16px}.service-preparing h2{font-size:27px}.data-table td.wrap-cell{min-width:190px}.admin-backoffice{width:calc(100% - 12px);margin:12px auto 28px}}

/* v5.1 前台可見性與預覽 */
.catalog-preview-notice{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;margin:0 0 18px;border-radius:16px;background:#fff8d9;border:1px solid var(--bee-honey-deep);color:var(--bee-ink)}
.catalog-preview-notice span{color:var(--bee-muted)}
.product-select-point{width:100%;text-align:center;justify-content:center}
@media(max-width:760px){.catalog-preview-notice{display:block}.catalog-preview-notice span{display:block;margin-top:6px}}


/* v5.1.1 頂部商品專區入口 */
.catalog-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:10px 18px;
  border-radius:999px;
  border:1px solid var(--bee-honey-deep);
  background:var(--bee-honey);
  color:var(--bee-ink);
  font-weight:950;
  box-shadow:0 3px 12px rgba(21,16,7,.06);
  white-space:nowrap;
}
.catalog-pill:hover{background:#ffdc73;transform:translateY(-1px)}
#catalog-products{scroll-margin-top:110px}
@media(max-width:1000px){
  .top-actions{gap:8px}
  .point-pill,.catalog-pill,.member-pill,.line-btn,.cart-btn{padding:9px 13px}
}
@media(max-width:760px){
  .catalog-pill{display:none}
  #catalog-products{scroll-margin-top:88px}
}

/* v5.1.3 頂部商品欄位固定位置：定位 → 商品 → 會員 → 註冊 → 購物車 */
@media(max-width:760px){
  .top-actions{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .point-pill{grid-column:1/-1}
  .catalog-pill{
    display:inline-flex;
    width:100%;
    min-width:0;
    padding:8px 10px;
    text-align:center;
    justify-content:center;
  }
  .member-pill,.member-access-pill,.line-btn,.cart-btn,.install-btn{
    width:100%;
    min-width:0;
    padding:8px 10px;
    text-align:center;
    justify-content:center;
  }
  #catalog-products{scroll-margin-top:96px}
}


/* v5.1.4 商品專區直接顯示 */
.standalone-catalog{padding-top:24px}
.catalog-location-card.compact{margin-bottom:22px}
.product-actions-unavailable{display:grid;gap:8px}
.product-unavailable-note{display:block;padding:8px 10px;border-radius:10px;background:#fff4d2;color:#5d5923;font-size:.88rem;font-weight:700;text-align:center}
@media (max-width:760px){
  .standalone-catalog{padding-top:12px}
  .catalog-location-card.compact{align-items:stretch}
  .catalog-location-card.compact .location-actions{width:100%}
  .catalog-location-card.compact .location-actions .btn,
  .catalog-location-card.compact .location-actions .btn-ghost{flex:1;text-align:center}
}

/* v5.1.5 前台法務與會員說明頁 */
.policy-hero{background:linear-gradient(135deg,var(--bee-olive),#38360f);color:#fff;padding:56px 0 44px;border-bottom:6px solid var(--bee-honey)}
.policy-hero-inner{display:grid;gap:12px}
.policy-kicker{display:inline-flex;width:max-content;padding:8px 13px;border-radius:999px;background:var(--bee-honey);color:var(--bee-ink);font-weight:950;letter-spacing:.04em}
.policy-hero h1{margin:0;color:#fff;font-size:clamp(36px,6vw,58px);line-height:1.05}
.policy-hero p{margin:0;max-width:760px;color:#fff9dd;font-size:18px}
.policy-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.policy-meta span{padding:7px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px;background:rgba(255,255,255,.08);font-size:14px}
.policy-page{padding:38px 0 58px;background:linear-gradient(180deg,#fffdf7,var(--bee-cream))}
.policy-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.policy-toc{position:sticky;top:92px;display:grid;gap:5px;padding:18px;border:1px solid var(--bee-line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft)}
.policy-toc strong{font-size:18px;color:var(--bee-olive);margin-bottom:7px}.policy-toc a{padding:8px 10px;border-radius:10px;color:var(--bee-ink);font-weight:750;font-size:14px}.policy-toc a:hover{background:#fff4bf;color:var(--bee-olive)}
.policy-card{min-width:0;padding:34px;border:1px solid var(--bee-line);border-radius:24px;background:#fff;box-shadow:var(--shadow-soft)}
.policy-card section{scroll-margin-top:105px;padding:5px 0 19px;border-bottom:1px solid #eee5d3}.policy-card section:last-of-type{border-bottom:0}
.policy-card h2{margin:20px 0 8px;color:var(--bee-olive);font-size:25px;line-height:1.3}.policy-card p,.policy-card li{color:#332c1e;line-height:1.85}.policy-card ul{padding-left:22px}
.policy-notice{padding:16px 18px;border-left:6px solid var(--bee-honey);border-radius:14px;background:#fff7cf;color:#463d20;font-weight:700;line-height:1.7;margin-bottom:12px}
.policy-related{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px;padding-top:22px;border-top:1px solid var(--bee-line)}.policy-related a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:999px;background:var(--bee-olive);color:#fff;font-weight:900}.policy-related a:hover{background:#454216}
.guide-flow{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;padding:16px;border-radius:16px;background:#fff8d9;border:1px solid var(--bee-honey-deep);margin-bottom:16px}.guide-flow span{font-weight:950;color:var(--bee-olive)}.guide-flow i{font-style:normal;color:var(--bee-honey-deep);font-weight:950}
.guide-step{display:grid;grid-template-columns:46px minmax(0,1fr);gap:16px;align-items:start}.guide-step>b{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--bee-honey);color:var(--bee-ink);font-size:20px}.guide-step h2{margin-top:5px}.guide-tip{padding:12px 14px;border-radius:12px;background:#f4f1df;border:1px solid var(--bee-sand)}
.guide-faq{display:grid;gap:10px}.guide-faq details{border:1px solid var(--bee-line);border-radius:12px;background:#fffdf7;overflow:hidden}.guide-faq summary{cursor:pointer;padding:13px 15px;font-weight:900;color:var(--bee-olive)}.guide-faq details p{padding:0 15px 14px;margin:0}
.footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px}.footer-links a{color:#fff;font-weight:800}.footer-links a:hover{color:var(--bee-honey)}.footer-version{display:block;margin-top:12px;color:#dcd6c7;line-height:1.6}
@media(max-width:900px){.policy-layout{grid-template-columns:1fr}.policy-toc{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.policy-toc strong{grid-column:1/-1}}
@media(max-width:640px){.policy-hero{padding:38px 0 32px}.policy-hero p{font-size:16px}.policy-page{padding:18px 0 38px}.policy-card{padding:20px 17px;border-radius:18px}.policy-toc{grid-template-columns:1fr;padding:14px}.policy-card h2{font-size:22px}.guide-step{grid-template-columns:38px minmax(0,1fr);gap:12px}.guide-step>b{width:38px;height:38px;font-size:17px}.footer-links{grid-template-columns:1fr}}


/* v5.1.6 單一會員入口 */
.member-access-pill{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;background:var(--bee-honey);color:var(--bee-ink);border-color:var(--bee-honey-deep)}
.member-entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.member-entry-actions .btn,.member-entry-actions .btn-soft{width:100%}
@media(max-width:760px){.member-entry-actions{grid-template-columns:1fr}.member-access-pill{display:inline-flex;width:100%}}

/* v5.1.7 首頁模組：Banner 輪播、8 格商品展示、嗡嗡推薦 */
.home-banners{position:relative;margin:0 0 30px;overflow:hidden;border-radius:26px;box-shadow:var(--shadow-soft);background:#fff}
.banner-carousel-viewport{width:100%;overflow:hidden}
.banner-carousel-track{display:flex;width:100%;transform:translate3d(0,0,0);transition:transform .52s cubic-bezier(.22,.61,.36,1);will-change:transform}
.banner-slide{display:block;flex:0 0 100%;width:100%;min-width:100%;margin:0;border:0;border-radius:0;box-shadow:none}
.banner-slide .banner-picture{display:block;width:100%;aspect-ratio:8/3;overflow:hidden;background:var(--bee-cream)}
.banner-slide .banner-picture img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;background:var(--bee-cream)}
.banner-placeholder{display:grid;place-items:center;width:100%;aspect-ratio:8/3;background:linear-gradient(135deg,var(--bee-olive),#38360f);color:var(--bee-honey);font-size:clamp(36px,7vw,86px);font-weight:950}
.banner-slide .ad-copy{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 24px;background:#fff}
.banner-slide .ad-copy h2{margin:5px 0;font-size:clamp(22px,3vw,36px);color:var(--bee-ink)}
.banner-slide .ad-copy p{margin:0;color:var(--bee-muted)}
.banner-arrow{position:absolute;z-index:3;top:calc(50% - 25px);display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid rgba(255,255,255,.72);border-radius:50%;background:rgba(21,16,7,.68);color:#fff;font-size:31px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(21,16,7,.18);backdrop-filter:blur(6px)}
.banner-arrow:hover{background:var(--bee-olive)}
.banner-prev{left:14px}.banner-next{right:14px}
.banner-dots{position:absolute;z-index:4;left:50%;bottom:82px;display:flex;gap:7px;transform:translateX(-50%);padding:7px 10px;border-radius:999px;background:rgba(21,16,7,.5);backdrop-filter:blur(6px)}
.banner-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.62);cursor:pointer;transition:width .2s ease,background .2s ease}
.banner-dots button.is-active{width:25px;border-radius:999px;background:var(--bee-honey)}

.home-product-section{margin:0 0 34px;padding:28px;border:1px solid var(--bee-line);border-radius:28px;background:#fff;box-shadow:var(--shadow-soft)}
.home-section-head{align-items:flex-end;margin-bottom:19px}
.home-section-head h2{margin:4px 0 3px;font-size:clamp(27px,4vw,40px);color:var(--bee-olive)}
.home-section-head p{margin:0;color:var(--bee-muted)}
.section-more-link{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:999px;background:#fff6c9;border:1px solid var(--bee-honey-deep);color:var(--bee-ink);font-weight:900;white-space:nowrap}
.section-more-link:hover{background:var(--bee-honey)}
.home-showcase-grid,.home-recommend-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.home-showcase-grid .product-card,.home-recommend-grid .product-card{min-width:0;height:100%;display:flex;flex-direction:column;padding:14px;border-radius:20px}
.home-showcase-grid .product-card h3,.home-recommend-grid .product-card h3{font-size:18px;line-height:1.35;margin:6px 0}
.home-showcase-grid .product-media,.home-recommend-grid .product-media{aspect-ratio:4/3;margin-bottom:9px;border-radius:15px}
.home-showcase-grid .product-description,.home-recommend-grid .product-description{min-height:44px;font-size:14px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-showcase-grid .product-actions,.home-recommend-grid .product-actions{margin-top:auto}
.home-recommend-grid .product-card{border-color:#ead58d;background:linear-gradient(180deg,#fffdf7,#fff9df)}
.catalog-shortcut{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 26px;border:1px solid var(--bee-line);border-radius:22px;background:#fff;box-shadow:var(--shadow-soft)}
.catalog-shortcut h2{margin:4px 0}.catalog-shortcut p{margin:0;color:var(--bee-muted)}

.settings-section{padding:24px 0;border-bottom:1px solid var(--bee-line)}
.settings-section:first-of-type{padding-top:0}.settings-section:last-of-type{border-bottom:0}
.settings-section .section-head{margin-bottom:14px}
.switch-row span small{display:block;margin-top:4px;color:var(--bee-muted);font-weight:500;line-height:1.45}
.showcase-slot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}
.showcase-slot-card{padding:13px;border:1px solid var(--bee-line);border-radius:14px;background:#fffdf7}
.showcase-slot-card label{display:block;margin-bottom:7px;font-weight:900;color:var(--bee-olive)}
.showcase-slot-card select{width:100%}
.sticky-save-bar{position:sticky;z-index:20;bottom:12px;display:flex;justify-content:flex-end;gap:10px;padding:13px;margin-top:20px;border:1px solid var(--bee-line);border-radius:16px;background:rgba(255,253,247,.94);box-shadow:0 10px 30px rgba(21,16,7,.16);backdrop-filter:blur(10px)}

@media(max-width:1050px){
  .home-showcase-grid,.home-recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .showcase-slot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .home-banners{margin-bottom:18px;border-radius:18px}
  .banner-slide .banner-picture,.banner-placeholder{aspect-ratio:16/9}
  .banner-slide .ad-copy{display:block;padding:14px 16px}
  .banner-slide .ad-copy .btn-soft{margin-top:10px}
  .banner-arrow{top:calc(50% - 36px);width:38px;height:38px;font-size:26px}.banner-prev{left:7px}.banner-next{right:7px}
  .banner-dots{bottom:91px;padding:6px 8px}
  .home-product-section{padding:17px 12px;margin-bottom:20px;border-radius:20px}
  .home-section-head{display:block}.section-more-link{margin-top:10px}
  .home-showcase-grid,.home-recommend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .home-showcase-grid .product-card,.home-recommend-grid .product-card{padding:9px;border-radius:15px}
  .home-showcase-grid .product-card h3,.home-recommend-grid .product-card h3{font-size:16px}
  .home-showcase-grid .product-meta,.home-recommend-grid .product-meta{font-size:12px;gap:5px}
  .home-showcase-grid .price,.home-recommend-grid .price{font-size:17px}
  .home-showcase-grid .product-actions,.home-recommend-grid .product-actions{grid-template-columns:48px minmax(0,1fr);gap:6px}
  .home-showcase-grid .product-actions .btn,.home-recommend-grid .product-actions .btn{padding:8px 5px;font-size:13px}
  .home-showcase-grid .product-description,.home-recommend-grid .product-description{display:none}
  .catalog-shortcut{display:block;padding:19px}.catalog-shortcut .btn{margin-top:12px;width:100%;text-align:center}
  .showcase-slot-grid{grid-template-columns:1fr}
  .sticky-save-bar{display:grid;grid-template-columns:1fr;bottom:7px}.sticky-save-bar .btn,.sticky-save-bar .btn-ghost{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){.banner-carousel-track{transition:none}}


/* v5.1.8 第二層 8 格商品展示穩定修復 */
.showcase-placeholder-card{border:1px dashed #d9c572;background:linear-gradient(180deg,#fffef9,#fff9df)}
.showcase-placeholder-media{background:radial-gradient(circle at 50% 45%,#fff7c9,#f1e8d3);display:flex;align-items:center;justify-content:center}
.showcase-placeholder-media>span{font-size:48px;filter:grayscale(.12)}
.showcase-placeholder-card .product-meta{opacity:.72}
.showcase-placeholder-card .btn-ghost{width:100%;text-align:center}
.home-showcase-empty{grid-column:1/-1;padding:28px;border:1px dashed var(--bee-line);border-radius:18px;text-align:center;background:#fffdf6;color:var(--bee-muted)}

/* v5.1.9 商品專欄與本日精選 */
.product-badge-stack{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;z-index:2;pointer-events:none}
.product-badge-stack .badge{position:static;display:inline-flex;max-width:160px}
.today-featured-badge{background:linear-gradient(135deg,#fdd04e,#eaa623)!important;color:#2c2508!important;border:1px solid rgba(93,89,35,.2);box-shadow:0 4px 12px rgba(234,166,35,.22)}
.inline-feature-form{display:inline-block;margin:0}
.today-feature-toggle{display:inline-flex;align-items:center;gap:7px;min-width:92px;cursor:pointer;font-weight:800;color:var(--bee-olive)}
.today-feature-toggle input{width:18px;height:18px;accent-color:var(--bee-olive)}
.today-feature-toggle input:disabled+span{opacity:.45;cursor:not-allowed}
.featured-admin-summary{margin-top:15px;padding:15px;border:1px solid var(--bee-line);border-radius:16px;background:#fffdf5;display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.featured-chip-list{display:flex;flex-wrap:wrap;gap:7px}
.featured-chip-list span{display:inline-flex;padding:6px 10px;border-radius:999px;background:var(--bee-honey);color:#2d280d;font-size:13px;font-weight:800}
.status-chip{display:inline-flex;padding:5px 9px;border-radius:999px;background:#ece8dc;color:#645e4c;font-size:12px;font-weight:800}
.status-chip.status-success{background:#e8f4d8;color:#365b18}
@media(max-width:720px){.product-badge-stack{top:7px;left:7px;gap:3px}.product-badge-stack .badge{font-size:11px;padding:4px 7px;max-width:112px}.featured-admin-summary{align-items:flex-start}.today-feature-toggle span{font-size:12px}}

/* v5.3.0 後台商品完整同步與暫停供應狀態 */
.product-paused-badge{background:#6b7280!important;color:#fff!important;border:1px solid rgba(255,255,255,.4)}
.product-card.is-paused{opacity:.82}
.product-actions-unavailable button[disabled]{opacity:.65;cursor:not-allowed}

/* v5.3.2 手機本日精選按鈕橫向顯示＋底部圖文導覽 */
.mobile-nav-item{position:relative;color:var(--bee-muted);text-decoration:none}
.mobile-nav-icon{display:inline-grid;place-items:center;width:28px;height:28px}
.mobile-nav-icon svg{display:block;width:24px;height:24px;fill:currentColor}
.mobile-nav-label{display:block;line-height:1.1}
.mobile-nav-cart-icon{position:relative}
.mobile-nav-cart-count{position:absolute;top:-5px;right:-8px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border:2px solid #fffdf7;border-radius:999px;background:#d64035;color:#fff;font-size:10px;font-weight:950;line-height:1}
.mobile-nav-cart-count[hidden]{display:none}

@media(max-width:760px){
  body{padding-bottom:88px}
  .home-showcase-grid .product-actions-unavailable,
  .home-recommend-grid .product-actions-unavailable{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:6px;
    width:100%;
  }
  .home-showcase-grid .product-actions-unavailable .product-select-point,
  .home-recommend-grid .product-actions-unavailable .product-select-point{
    display:flex;
    width:100%;
    min-width:0;
    min-height:38px;
    padding:8px 4px;
    white-space:nowrap;
    font-size:12px;
    line-height:1.1;
  }
  .home-showcase-grid .product-actions-unavailable .product-unavailable-note,
  .home-recommend-grid .product-actions-unavailable .product-unavailable-note{
    width:100%;
    padding:6px 5px;
    font-size:11px;
    line-height:1.35;
  }
  .mobile-nav{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    position:fixed;
    z-index:80;
    left:0;
    right:0;
    bottom:0;
    min-height:72px;
    padding:6px 8px calc(6px + env(safe-area-inset-bottom));
    border-top:1px solid rgba(227,207,167,.95);
    background:rgba(255,253,247,.97);
    box-shadow:0 -10px 28px rgba(21,16,7,.12);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  .mobile-nav .mobile-nav-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    min-height:58px;
    padding:5px 3px 4px;
    border-radius:16px;
    color:#77715f;
    font-size:12px;
    font-weight:900;
    transition:background .16s ease,color .16s ease,transform .16s ease;
  }
  .mobile-nav .mobile-nav-item:active{transform:scale(.96)}
  .mobile-nav .mobile-nav-item.is-active{
    background:linear-gradient(180deg,#fff6c7,#fff0a4);
    color:var(--bee-olive-dark);
    box-shadow:inset 0 0 0 1px rgba(213,161,35,.28);
  }
  .mobile-nav .mobile-nav-item.is-active:before{
    content:"";
    position:absolute;
    top:1px;
    left:50%;
    width:24px;
    height:3px;
    border-radius:999px;
    background:var(--bee-olive);
    transform:translateX(-50%);
  }
  .mobile-nav-icon{width:27px;height:27px}
  .mobile-nav-icon svg{width:24px;height:24px}
  .mobile-nav-label{font-size:11px;font-weight:900;white-space:nowrap}
}

@media(max-width:380px){
  .home-showcase-grid .product-actions-unavailable .product-select-point,
  .home-recommend-grid .product-actions-unavailable .product-select-point{font-size:11px;letter-spacing:-.02em}
  .mobile-nav{padding-left:4px;padding-right:4px}
  .mobile-nav .mobile-nav-item{padding-left:1px;padding-right:1px}
}


/* WoWoBee v5.4.0 Google Maps positioning */
.google-map-card{margin:20px 0 30px;padding:20px;border:1px solid var(--bee-line);border-radius:24px;background:#fff;box-shadow:var(--shadow-soft)}
.google-map-card-head,.location-list-heading,.admin-map-toolbar,.google-settings-card{display:flex;align-items:center;justify-content:space-between;gap:16px}
.google-map-card-head h2,.location-list-heading h2,.google-settings-card h2{margin:0 0 5px}.google-map-card-head p,.location-list-heading p,.google-settings-card p{margin:0;color:var(--bee-muted)}
.map-point-count{white-space:nowrap;padding:8px 12px;border-radius:999px;background:var(--bee-cream);font-weight:800;color:var(--bee-olive)}
.wowobee-map{width:100%;height:480px;margin-top:16px;border-radius:20px;overflow:hidden;background:#eee4cb;border:1px solid var(--bee-line)}
.admin-point-map{height:420px}.map-setup-notice,.map-error{padding:28px;border-radius:18px;background:#fff8d9;border:1px dashed var(--bee-honey-deep);text-align:center}.map-setup-notice p{margin-bottom:0}
.map-nearby-panel{margin-top:16px;padding:16px;border-radius:18px;background:var(--bee-cream)}.map-nearby-panel h3{margin:0 0 12px}.map-nearby-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.map-info-card{min-width:220px;max-width:320px;padding:4px}.map-info-card strong{display:block;font-size:16px;margin-bottom:5px}.map-info-card p{margin:0 0 7px;color:#595346}.map-info-card small{display:block;color:#756d5e}.map-select-btn{display:inline-flex;margin-top:10px;padding:9px 14px}
.location-list-heading{margin:32px 0 12px}.inline-field-action{display:flex;gap:10px}.inline-field-action input{flex:1}.admin-map-toolbar{margin-bottom:10px}.google-settings-card{padding:18px;border-radius:18px;background:linear-gradient(135deg,#fff8d9,#fff);border:1px solid var(--bee-line)}
@media(max-width:760px){.google-map-card{padding:14px;border-radius:20px}.google-map-card-head,.location-list-heading,.google-settings-card{align-items:flex-start;flex-direction:column}.wowobee-map{height:390px;border-radius:16px}.map-nearby-grid{grid-template-columns:1fr}.inline-field-action{flex-direction:column}.inline-field-action .btn-ghost{width:100%}.admin-point-map{height:360px}}


/* v5.4.1 首頁分享功能 */
.share-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:0 17px;border:1px solid var(--bee-line);border-radius:999px;background:#fff;color:var(--bee-ink);font:inherit;font-weight:900;cursor:pointer;box-shadow:0 5px 15px rgba(21,16,7,.04)}
.share-pill:hover{border-color:var(--bee-honey-deep);background:#fff8d9;transform:translateY(-1px)}
.share-pill svg{width:19px;height:19px;fill:currentColor}
.home-share-fab{display:none}
.share-modal[hidden]{display:none!important}
.share-modal{position:fixed;z-index:110;inset:0;display:grid;place-items:center;padding:18px}
.share-modal-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(20,17,8,.58);backdrop-filter:blur(4px);cursor:pointer}
.share-sheet{position:relative;z-index:1;width:min(560px,100%);padding:24px;border-radius:26px;background:#fffdf7;border:1px solid var(--bee-line);box-shadow:0 28px 80px rgba(18,14,5,.28)}
.share-sheet-handle{display:none;width:46px;height:5px;margin:0 auto 15px;border-radius:99px;background:#d8cdb4}
.share-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.share-sheet-head h2{margin:4px 0 5px;font-size:26px}
.share-sheet-head p{margin:0;color:var(--bee-muted);line-height:1.65}
.share-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border:1px solid var(--bee-line);border-radius:50%;background:#fff;color:var(--bee-ink);font-size:27px;line-height:1;cursor:pointer}
.share-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0 15px}
.share-option{min-width:0;min-height:94px;padding:15px 11px;border:1px solid var(--bee-line);border-radius:18px;background:#fff;color:var(--bee-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;text-align:center;text-decoration:none;font:inherit;cursor:pointer}
.share-option:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(21,16,7,.08)}
.share-option b{font-size:15px}.share-option span{font-size:12px;color:var(--bee-muted)}
.share-line{background:#ecfff1;border-color:#91dca3}.share-facebook{background:#eef5ff;border-color:#a9c8f0}.share-copy{background:#fff8d9;border-color:var(--bee-honey-deep)}
.share-link-box{display:flex;gap:8px;padding:8px;border:1px solid var(--bee-line);border-radius:14px;background:var(--bee-cream)}
.share-link-box input{min-width:0;flex:1;border:0;background:transparent;padding:7px 8px;color:var(--bee-muted)}
.share-link-box button{border:0;border-radius:10px;padding:8px 14px;background:var(--bee-olive);color:#fff;font-weight:900;cursor:pointer}
.share-status{min-height:22px;margin:10px 0 0;color:var(--bee-olive);font-weight:850;font-size:13px;text-align:center}
.share-modal-open{overflow:hidden}
.share-admin-preview{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:17px;padding:16px;border:1px dashed var(--bee-honey-deep);border-radius:16px;background:#fff8d9}
.share-admin-preview b{font-size:17px}.share-admin-preview p{flex:1 1 320px;margin:0;color:var(--bee-muted)}
@media(max-width:900px){.share-pill{display:none}}
@media(max-width:640px){
  .home-share-fab{display:flex;position:fixed;z-index:58;right:14px;bottom:calc(82px + env(safe-area-inset-bottom));align-items:center;gap:7px;min-height:45px;padding:0 16px;border:2px solid #fff;border-radius:999px;background:var(--bee-honey);color:var(--bee-ink);font-weight:950;box-shadow:0 12px 30px rgba(21,16,7,.22);cursor:pointer}
  .home-share-fab svg{width:20px;height:20px;fill:currentColor}
  .share-modal{place-items:end center;padding:0}
  .share-sheet{width:100%;border-radius:24px 24px 0 0;padding:12px 17px calc(18px + env(safe-area-inset-bottom));max-height:88vh;overflow:auto}
  .share-sheet-handle{display:block}
  .share-sheet-head h2{font-size:23px}
  .share-options{gap:8px}.share-option{min-height:86px;padding:12px 5px}.share-option b{font-size:14px}
  .share-link-box input{font-size:12px}
}


/* WoWoBee v5.4.2 會員預購點餐 */
.preorder-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 17px;border:1px solid #e0a918;border-radius:999px;background:linear-gradient(180deg,#ffd95c,#ffc83d);color:var(--bee-ink);font-weight:950;white-space:nowrap;box-shadow:0 5px 16px rgba(213,161,35,.16)}
.preorder-pill:hover,.preorder-pill.is-active{background:#ffdc73;transform:translateY(-1px);box-shadow:0 8px 20px rgba(213,161,35,.22)}
.preorder-pill svg{width:19px;height:19px;fill:currentColor;flex:0 0 auto}
.preorder-page{padding-top:28px}.preorder-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(430px,.9fr);gap:24px;align-items:center;padding:28px;border:1px solid var(--bee-line);border-radius:28px;background:linear-gradient(135deg,#fff9df,#fffdf7 58%,#f2efca);box-shadow:var(--shadow-soft)}
.preorder-hero h1{font-size:clamp(31px,4vw,48px);margin:6px 0 8px}.preorder-hero p{margin:0;color:var(--bee-muted);font-size:17px}
.preorder-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.preorder-steps span{display:grid;place-items:center;gap:6px;min-height:84px;padding:10px 6px;border:1px solid var(--bee-line);border-radius:17px;background:#fff;color:var(--bee-muted);font-size:12px;font-weight:900;text-align:center}.preorder-steps b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eee8d8;color:var(--bee-muted)}.preorder-steps .is-done,.preorder-steps .is-current{color:var(--bee-ink);border-color:#e5b52c;background:#fff6c7}.preorder-steps .is-done b,.preorder-steps .is-current b{background:var(--bee-honey);color:var(--bee-ink)}
.preorder-empty{margin-top:24px;padding:52px 24px;text-align:center}.preorder-empty h2{margin:8px 0}.preorder-empty p{color:var(--bee-muted)}.preorder-big-icon{display:block;font-size:64px}
.preorder-control-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:22px 0;padding:18px 20px;border:1px solid var(--bee-line);border-radius:20px;background:#fff;box-shadow:var(--shadow-soft)}.preorder-point-summary{display:grid;gap:3px}.preorder-point-summary b{font-size:21px}.preorder-point-summary small{color:var(--bee-muted)}
.preorder-date-section{padding:22px 0}.compact-head{margin-bottom:13px}.preorder-date-list{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 10px;scroll-snap-type:x proximity}.preorder-date-pill{flex:0 0 94px;display:grid;place-items:center;gap:2px;min-height:96px;padding:10px;border:1px solid var(--bee-line);border-radius:18px;background:#fff;color:var(--bee-ink);box-shadow:0 5px 15px rgba(21,16,7,.04);scroll-snap-align:start}.preorder-date-pill small{font-size:10px;color:var(--bee-muted)}.preorder-date-pill b{font-size:21px}.preorder-date-pill span{font-size:12px;font-weight:850;color:var(--bee-muted)}.preorder-date-pill.is-active{border-color:#d4a01f;background:linear-gradient(180deg,#fff6c7,#ffe98a);box-shadow:0 8px 20px rgba(213,161,35,.18)}
.preorder-product-head{margin:18px 0}.cart-shortcut{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border-radius:999px;background:var(--bee-ink);color:#fff;font-weight:900}.cart-shortcut b{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:999px;background:var(--bee-honey);color:var(--bee-ink)}
.preorder-category-nav{position:sticky;top:76px;z-index:24;display:flex;gap:8px;overflow-x:auto;padding:10px;margin-bottom:10px;border:1px solid var(--bee-line);border-radius:16px;background:rgba(255,253,247,.96);backdrop-filter:blur(10px)}.preorder-category-nav a{flex:0 0 auto;padding:8px 13px;border-radius:999px;background:#fff;border:1px solid var(--bee-line);font-weight:900}.preorder-product-grid .product-card{border-color:#ead18f}.preorder-product-grid .product-actions .btn{background:var(--bee-honey);color:var(--bee-ink)}
.preorder-bottom-action{position:sticky;z-index:30;bottom:14px;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:26px 0 12px;padding:15px 18px;border:1px solid #dfb43c;border-radius:20px;background:rgba(255,248,217,.96);box-shadow:0 15px 40px rgba(21,16,7,.16);backdrop-filter:blur(12px)}.preorder-bottom-action div{display:grid;gap:2px}.preorder-bottom-action span{font-size:12px;color:var(--bee-muted)}
.preorder-cart-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-4px 0 18px;padding:15px 18px;border:1px solid #dfb43c;border-radius:18px;background:#fff8d9}.preorder-cart-banner div{display:grid;gap:3px}.preorder-checkout-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:14px;background:#fff8d9;border:1px solid #dfb43c}.preorder-checkout-notice span{color:var(--bee-muted)}
.guide-highlight{margin:14px 0 22px;padding:15px 17px;border-left:5px solid var(--bee-honey-deep);border-radius:12px;background:#fff8d9;line-height:1.65}
@media(max-width:1100px){.preorder-hero{grid-template-columns:1fr}.top-actions{gap:7px}.preorder-pill{padding-left:13px;padding-right:13px}}
@media(max-width:760px){.preorder-page{padding-top:12px}.preorder-hero{padding:20px;border-radius:21px}.preorder-steps{grid-template-columns:repeat(2,1fr)}.preorder-steps span{min-height:68px}.preorder-control-card,.preorder-cart-banner,.preorder-bottom-action{align-items:stretch;flex-direction:column}.preorder-control-card .btn-ghost,.preorder-cart-banner .btn-ghost,.preorder-bottom-action .btn{width:100%;justify-content:center;text-align:center}.preorder-date-list{margin-left:-2px;margin-right:-2px}.preorder-date-pill{flex-basis:82px;min-height:88px}.preorder-category-nav{top:150px}.preorder-product-head{align-items:flex-start}.cart-shortcut{padding:9px 12px}.preorder-bottom-action{bottom:82px}.preorder-pill{display:inline-flex;width:100%;min-width:0;padding:8px 10px;min-height:40px}.preorder-pill svg{width:17px;height:17px}.top-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.point-pill{grid-column:1/-1}}
@media(max-width:390px){.preorder-pill span{font-size:13px}.preorder-steps span{font-size:11px}.preorder-date-pill{flex-basis:76px}.preorder-date-pill b{font-size:19px}}


/* v5.4.3 會員收貨地址與前台後台入口隱藏 */
.address-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 15px;border:1px solid var(--bee-line);border-radius:999px;background:#fff;color:var(--bee-ink);font-weight:950;white-space:nowrap;box-shadow:0 3px 12px rgba(21,16,7,.04)}
.address-pill:hover,.address-pill.is-active{background:#fff1b8;border-color:var(--bee-honey-deep);transform:translateY(-1px)}
.address-pill svg{width:18px;height:18px;fill:currentColor;flex:0 0 auto}
.member-address-page{padding-top:30px}.member-address-head h1{font-size:36px;margin:8px 0}.address-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:20px;align-items:start}.address-form-panel{position:sticky;top:96px}.address-form-actions{display:flex;gap:10px;flex-wrap:wrap}.address-default-check{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--bee-line);border-radius:14px;background:#fffdf7;font-weight:850}.address-default-check input{width:20px;height:20px}.address-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.address-list-head h2{margin:0}.address-card-list{display:grid;gap:13px}.address-card{padding:18px;border:1px solid var(--bee-line);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:var(--shadow-soft)}.address-card.is-default{border:2px solid var(--bee-honey-deep);background:linear-gradient(180deg,#fff,#fff8dc)}.address-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.address-card-top a{font-weight:900;color:var(--bee-olive)}.address-label{font-weight:950;font-size:18px}.address-default-badge{display:inline-flex;margin-left:7px;padding:3px 8px;border-radius:999px;background:var(--bee-honey);font-size:12px;font-weight:950}.address-card h3{margin:10px 0 4px}.address-card h3 small{font-size:13px;color:var(--bee-muted);font-weight:700}.address-card p{margin:5px 0}.address-note{padding:9px 11px;border-radius:11px;background:var(--bee-cream);color:var(--bee-muted);font-size:14px}.address-card-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:13px}.address-card-actions form{margin:0}.address-card-actions .btn-ghost{min-height:38px;padding:7px 12px}.address-delete-btn{min-height:38px;padding:7px 12px;border:1px solid #efb8b2;border-radius:12px;background:#fff1f0;color:var(--bee-danger);font-weight:900;cursor:pointer}.address-empty div{font-size:44px}.member-address-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.member-address-summary h2{margin:8px 0 4px}.member-address-summary p{margin:0}.field-label-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.field-label-row a{font-weight:900;color:var(--bee-olive)}.checkout-address-preview{padding:12px 14px;border:1px solid var(--bee-honey-deep);border-radius:13px;background:#fff8dc;color:var(--bee-olive-dark);font-weight:750}.checkout-address-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px dashed var(--bee-line);border-radius:13px;background:#fff}.checkout-address-empty .btn-ghost{min-height:38px;padding:7px 12px}
@media(max-width:1180px){.address-pill{padding-left:12px;padding-right:12px}.address-pill span{font-size:14px}}
@media(max-width:900px){.address-layout{grid-template-columns:1fr}.address-form-panel{position:static}.member-address-summary{align-items:flex-start}}
@media(max-width:760px){.address-pill{display:inline-flex;width:100%;min-width:0;min-height:40px;padding:8px 10px}.address-pill svg{width:17px;height:17px}.address-layout{gap:14px}.member-address-head h1{font-size:30px}.member-address-summary{display:grid}.checkout-address-empty{align-items:stretch;flex-direction:column}.checkout-address-empty .btn-ghost{width:100%}.address-card-actions{justify-content:flex-start}.address-card-actions{flex-wrap:wrap}}

/* v5.5.0 payment gateway settings */
.payment-status-grid{margin-bottom:22px}.payment-provider-card{border:1px solid rgba(123,91,35,.16);border-radius:24px;background:#fff}.payment-provider-card .status-pill{align-self:flex-start}.callback-box{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:8px 14px;align-items:center;margin-top:18px;padding:16px;border-radius:16px;background:#fff8e8}.callback-box code{overflow-wrap:anywhere;font-size:12px}.inline-check{display:flex!important;align-items:center;gap:8px;margin-top:8px;font-size:12px;color:var(--muted)}.inline-check input{width:auto}.payment-option input{accent-color:#f3b51b}.payment-option.is-jkopay{border-color:rgba(231,62,62,.28)}
@media(max-width:720px){.callback-box{grid-template-columns:1fr}.payment-status-grid{grid-template-columns:1fr}.payment-provider-card{border-radius:18px}}


/* v5.6.0 商品詳情、所在地供應判斷與會員訂單安全移除 */
.product-detail-link,.product-title-link{color:inherit;text-decoration:none}.product-media-link{display:block}.product-title-link:hover{color:var(--bee-olive)}
.product-detail-actions{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}.product-detail-button{width:100%;text-align:center}.product-availability-hint,.product-availability-ok{font-size:12px;font-weight:850;color:var(--bee-muted)}.product-availability-ok{color:#3f6f24}
.product-detail-page{padding:28px 0 70px}.breadcrumb{display:flex;gap:8px;align-items:center;margin-bottom:16px;color:var(--bee-muted);font-size:14px}.breadcrumb a{font-weight:850;color:var(--bee-olive)}
.product-detail-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:22px;align-items:start}.product-gallery,.product-detail-summary{padding:22px}.product-main-image{overflow:hidden;border-radius:20px;background:var(--bee-cream);aspect-ratio:4/3}.product-main-image picture,.product-main-image img{width:100%;height:100%;object-fit:cover}.product-image-placeholder{display:grid;place-items:center;font-size:92px}.product-detail-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:10px}.product-detail-thumbs a{overflow:hidden;border-radius:13px;aspect-ratio:4/3;background:var(--bee-cream)}.product-detail-thumbs picture,.product-detail-thumbs img{width:100%;height:100%;object-fit:cover}.product-detail-badges{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}.product-detail-summary h1{font-size:38px;line-height:1.18;margin:8px 0 10px}.product-lead{font-size:17px;line-height:1.65;color:var(--bee-muted)}.product-detail-price{font-size:32px;font-weight:950;color:var(--bee-olive);margin:16px 0}
.product-location-status{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px;border-radius:17px;border:1px solid var(--bee-line);background:#fffdf6}.product-location-status small,.product-location-status b,.product-location-status strong{display:block}.product-location-status b{margin:4px 0}.product-location-status strong{margin:8px 0 3px}.product-location-status p{margin:0;color:var(--bee-muted);line-height:1.45}.product-location-status.is-available{border-color:#b9d69d;background:#f3faeb}.product-location-status.is-unavailable{border-color:#e7c6a8;background:#fff8ef}.product-location-result{margin:10px 0 0}.product-detail-order-form{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;margin-top:16px}.product-detail-order-form label{display:grid;gap:5px;font-weight:850}.product-detail-order-form .qty-input{width:100%}.product-detail-order-form .btn{align-self:end}
.product-information-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:22px 0}.product-info-card h2{margin-top:0}.product-info-card div{white-space:normal;line-height:1.8;color:#4f4a3b}.product-service-points{margin-top:18px}.product-point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-point-card{display:block;padding:16px;border:1px solid var(--bee-line);border-radius:16px;background:#fff;color:inherit;text-decoration:none}.product-point-card:hover,.product-point-card.is-current{border-color:var(--bee-honey-deep);background:#fff8d7}.product-point-card b,.product-point-card span,.product-point-card small{display:block}.product-point-card span,.product-point-card small{color:var(--bee-muted);margin-top:4px}.product-point-card p{margin:8px 0}
.member-order-tabs{display:flex;gap:8px;margin:15px 0}.member-order-tabs a{padding:9px 14px;border:1px solid var(--bee-line);border-radius:999px;background:#fff;font-weight:900}.member-order-tabs a.is-active{background:var(--bee-honey);border-color:var(--bee-honey-deep)}.member-order-actions{display:flex;flex-direction:column;gap:7px;min-width:118px}.member-order-actions form{margin:0}.member-order-actions button{width:100%;min-height:36px;padding:7px 9px}.order-cancel-btn{border-color:#e6b46a!important;color:#935a00!important}.order-hide-btn{border-color:#d4d0c5!important;color:#625d50!important}.order-request-pending{color:#a06800;font-weight:900}.order-safety-note{margin-top:16px;background:#fffaf0}.order-safety-note p{margin-bottom:0;color:var(--bee-muted)}.order-detail-member-actions{display:grid;gap:8px;margin-top:12px}.order-detail-member-actions form,.order-detail-member-actions button{width:100%}.order-change-request-panel{border-color:#e5bd67;background:#fff9e8}
@media(max-width:960px){.product-detail-layout{grid-template-columns:1fr}.product-detail-summary{order:-1}.product-point-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.product-detail-page{padding-top:14px}.product-gallery,.product-detail-summary{padding:14px}.product-detail-summary h1{font-size:29px}.product-location-status{display:grid}.product-location-status .btn-ghost{width:100%;text-align:center}.product-detail-order-form{grid-template-columns:90px minmax(0,1fr)}.product-information-grid{grid-template-columns:1fr;gap:12px}.product-point-grid{grid-template-columns:1fr}.member-order-table{min-width:1250px}.product-detail-thumbs{grid-template-columns:repeat(3,1fr)}}

.request-review-form{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:10px;align-items:end;margin-top:15px}.request-review-form .field{margin:0}@media(max-width:760px){.request-review-form{grid-template-columns:1fr}.request-review-form .btn{width:100%}}

/* v5.6.1 餐廳／供應商可服務地區 */
.vendor-service-section{margin-top:8px;padding:20px;border:1px solid var(--bee-line);border-radius:20px;background:#fffaf0}.vendor-service-head h2{margin:0 0 6px}.vendor-service-head p{margin:0;color:var(--bee-muted)}
.vendor-service-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.vendor-service-mode label{display:flex;align-items:flex-start;gap:10px;padding:15px;border:1px solid var(--bee-line);border-radius:15px;background:#fff;cursor:pointer}.vendor-service-mode input{width:20px;height:20px;margin-top:2px;accent-color:var(--bee-honey-deep)}.vendor-service-mode span,.vendor-service-mode b,.vendor-service-mode small{display:block}.vendor-service-mode small{margin-top:4px;color:var(--bee-muted);line-height:1.45}
.vendor-service-restricted{padding-top:4px}.vendor-service-restricted[hidden]{display:none!important}.vendor-service-restricted h3{margin:18px 0 6px}.vendor-region-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vendor-region-card{border:1px solid var(--bee-line);border-radius:14px;background:#fff;overflow:hidden}.vendor-region-card summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;cursor:pointer;font-weight:900}.vendor-region-card summary label{display:flex;align-items:center;gap:8px;cursor:pointer}.vendor-region-card summary input,.vendor-district-grid input,.vendor-point-grid input{width:18px;height:18px;accent-color:var(--bee-honey-deep)}.vendor-region-card summary span{color:var(--bee-muted);font-size:12px}.vendor-district-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:12px 14px;border-top:1px solid var(--bee-line);background:#fffdf7}.vendor-district-grid label{display:flex;align-items:center;gap:6px;font-size:13px}
.vendor-point-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.vendor-point-grid>label{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid var(--bee-line);border-radius:13px;background:#fff}.vendor-point-grid span,.vendor-point-grid b,.vendor-point-grid small{display:block}.vendor-point-grid small{margin-top:3px;color:var(--bee-muted);line-height:1.35}.vendor-service-summary{display:block;font-weight:900;color:var(--bee-olive)}.vendor-service-summary+small{display:block;margin-top:4px;max-width:280px}.vendor-service-public-note{display:flex;flex-wrap:wrap;gap:6px 10px;margin-top:10px;padding:10px 12px;border:1px dashed var(--bee-line);border-radius:13px;background:#fffdf7;color:var(--bee-muted);font-size:13px}.vendor-service-public-note b{color:var(--bee-olive)}
.cart-row.is-unavailable{border-color:#e6b9ad;background:#fff8f6}.cart-unavailable-note{margin-top:5px;color:var(--bee-danger);font-size:12px;font-weight:900}.cart-service-warning{margin-top:14px}
@media(max-width:980px){.vendor-region-grid,.vendor-point-grid{grid-template-columns:1fr 1fr}.vendor-district-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.vendor-service-mode,.vendor-region-grid,.vendor-point-grid{grid-template-columns:1fr}.vendor-district-grid{grid-template-columns:1fr 1fr}.vendor-service-section{padding:14px}.vendor-service-public-note{display:grid}}

/* v5.6.2 後台會員資料、訂單與點數管理 */
.member-management-grid{align-items:start;margin-bottom:18px}.panel-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.panel-title-row h2,.panel-title-row p{margin-top:0}.panel-title-row h2{margin-bottom:5px}.member-profile-form .member-fixed-data{margin-top:18px}.points-balance-large{display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:11px 14px;border-radius:16px;background:#fff3b8;color:var(--bee-olive-dark);font-size:21px}.points-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.points-action-grid form{padding:14px;border:1px solid var(--bee-line);border-radius:16px;background:#fffdf7}.points-action-grid h3{margin:0 0 12px;font-size:17px}.points-action-grid .btn,.points-action-grid .btn-soft,.points-action-grid .btn-ghost{width:100%}.points-plus{font-weight:950;color:#3f7820}.points-minus{font-weight:950;color:#b33f35}.password-reset-panel{margin-bottom:18px}.password-reset-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;list-style:none}.password-reset-panel>summary::-webkit-details-marker{display:none}.password-reset-panel>summary span{color:var(--bee-muted);font-size:13px}.password-reset-panel[open]>summary{margin-bottom:18px}.member-orders-panel{margin-top:18px}.member-admin-order-table{min-width:1180px}.member-admin-order-table tr.is-archived{opacity:.66;background:#faf8f2}.member-order-edit-summary{margin-bottom:18px;align-items:stretch}.professional-rule-list{margin:0;padding-left:20px;color:var(--bee-muted);line-height:1.75}.member-order-edit-form{margin-bottom:18px}.member-order-danger-grid{margin-top:18px;align-items:start}.danger-panel{border-color:#e5b9ae;background:#fff8f6}.btn-danger{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #b83a2f;border-radius:12px;background:#c94337;color:#fff;font-weight:900;cursor:pointer}.btn-danger:hover{background:#ad342a}.member-order-danger-grid form{display:grid;gap:10px}.member-order-danger-grid .field{margin:0}.member-order-edit-form textarea,.member-profile-form textarea{width:100%}.member-order-edit-form input[readonly]{background:#f4f1e8;color:#6f695b}.member-order-edit-form select:disabled,.member-order-edit-form input:disabled{opacity:.7;cursor:not-allowed}.member-order-edit-summary .summary-line b{text-align:right}.member-fixed-data{border-top:1px solid var(--bee-line);padding-top:12px}.points-management-panel{min-width:0}
@media(max-width:1100px){.points-action-grid{grid-template-columns:1fr}.member-management-grid,.member-order-edit-summary,.member-order-danger-grid{grid-template-columns:1fr}}
@media(max-width:720px){.panel-title-row,.password-reset-panel>summary{display:grid}.points-balance-large{justify-self:start}.member-profile-form,.points-management-panel,.member-order-edit-form{padding:14px}.member-order-edit-summary .summary-line{display:grid}.member-order-edit-summary .summary-line b{text-align:left}.member-admin-order-table{min-width:1080px}.password-reset-panel>summary span{line-height:1.45}}

/* v5.6.3 會員訂單刪除管理 */
.btn-delete{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:1px solid #c66a58;border-radius:12px;background:#fff3ef;color:#a13c2e;font-weight:900;cursor:pointer;text-decoration:none}.btn-delete:hover{background:#ffe7df;border-color:#b94d3b}.action-stack .btn-delete{width:100%;min-height:36px;padding:7px 10px}.section-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.order-delete-guidance{margin-bottom:18px;border-color:#e8c66f;background:#fffaf0}.order-delete-guidance p:last-child{margin-bottom:0}.order-delete-summary-grid{align-items:start;margin-bottom:18px}.order-delete-summary-grid form{display:grid;gap:11px}.confirm-check{display:flex;align-items:flex-start;gap:9px;padding:11px;border:1px solid var(--bee-line);border-radius:12px;background:#fff;line-height:1.5}.confirm-check input{width:auto;margin-top:4px}.order-delete-summary-grid .summary-line b{max-width:62%;text-align:right;white-space:normal}.member-admin-order-table .btn-delete{font-size:13px}
@media(max-width:720px){.section-head-actions{justify-content:flex-start}.order-delete-summary-grid{grid-template-columns:1fr}.order-delete-summary-grid .summary-line{display:grid}.order-delete-summary-grid .summary-line b{max-width:none;text-align:left}.section-head-actions .btn-delete,.section-head-actions .btn-ghost{width:100%}}


/* v5.6.4 到店取貨／配送到收貨地址 */
.fulfillment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fulfillment-option{display:flex;align-items:flex-start;gap:11px;padding:15px;border:1px solid var(--bee-line);border-radius:16px;background:#fff;cursor:pointer}.fulfillment-option:has(input:checked){border:2px solid var(--bee-honey-deep);background:#fff8dc}.fulfillment-option input{width:20px;height:20px;margin-top:2px;accent-color:var(--bee-honey-deep)}.fulfillment-option span{display:grid;gap:4px}.fulfillment-option b{font-size:16px}.fulfillment-option small{color:var(--bee-muted);line-height:1.5}.fulfillment-option.is-disabled{opacity:.58;cursor:not-allowed}.fulfillment-help{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--bee-cream);color:var(--bee-muted);font-size:14px}.fulfillment-help a{font-weight:900;color:var(--bee-olive)}.delivery-threshold-note{margin-top:14px;padding:11px 13px;border-radius:13px;background:#fff8dc;color:var(--bee-olive-dark);font-weight:800;font-size:14px}.member-address-checkout[hidden]{display:none!important}@media(max-width:720px){.fulfillment-options{grid-template-columns:1fr}}

/* WoWoBee v5.6.6：後台圖示版、在線人數與前台入口 */
.admin-topbar .topbar-inner{justify-content:flex-start}
.admin-topbar .brand-horizontal{display:block}
.admin-online-card{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:8px;
  margin:10px 10px 2px;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:11px;
  background:rgba(255,255,255,.09);
  color:#fff;
  font-size:13px;
  font-weight:850;
}
.admin-online-card b{
  min-width:32px;
  padding:3px 8px;
  border-radius:999px;
  background:var(--bee-honey);
  color:var(--bee-ink);
  text-align:center;
  font-size:15px;
}
.admin-online-dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:#59e38c;
  box-shadow:0 0 0 4px rgba(89,227,140,.15);
}
.admin-side-link.is-frontend{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.18);
}
.admin-side-link.is-frontend:hover{background:rgba(255,255,255,.17)}
.admin-external-mark{font-size:15px;opacity:.82}
.admin-dashboard-heading{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.admin-dashboard-heading h1{margin:0 0 5px}
.admin-dashboard-heading p{margin:0}
.admin-front-button{white-space:nowrap}
.erp-kpi.online-kpi{
  position:relative;
  border-color:rgba(36,150,91,.35);
  background:linear-gradient(145deg,#f3fff7,#fff);
}
.erp-kpi.online-kpi:before{
  content:"";
  position:absolute;
  top:13px;
  right:13px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#2dbd69;
  box-shadow:0 0 0 4px rgba(45,189,105,.13);
}
.erp-kpi.online-kpi small{display:block;margin-top:5px;color:var(--bee-muted);font-size:11px;font-weight:750}
@media(max-width:820px){
  .admin-online-card{margin:8px 10px 0;min-width:205px}
  .admin-side-nav{padding-top:8px}
}
@media(max-width:640px){
  .admin-dashboard-heading{display:block}
  .admin-dashboard-heading .admin-front-button{display:flex;width:100%;justify-content:center;margin-top:12px}
  .admin-topbar .topbar-inner{justify-content:center}
}

/* WoWoBee v5.7.0 店家申請加入模組 */
.merchant-apply-hero{padding:54px 0 34px;background:linear-gradient(135deg,rgba(253,208,78,.30),rgba(255,255,255,.88) 52%,rgba(93,89,35,.12));border-bottom:1px solid var(--bee-line)}
.merchant-apply-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.1;margin:16px 0 12px;letter-spacing:-.03em}
.merchant-apply-hero p{max-width:760px;font-size:18px;color:var(--bee-muted)}
.merchant-apply-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}
.merchant-apply-shell{max-width:1040px}
.merchant-application-form{display:grid;gap:20px}
.merchant-form-section{padding:26px}
.merchant-form-title{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px}
.merchant-form-title>b{display:grid;place-items:center;flex:0 0 42px;height:42px;border-radius:14px;background:var(--bee-honey);font-size:20px}
.merchant-form-title h2{margin:0;font-size:25px}
.merchant-form-title p{margin:4px 0 0;color:var(--bee-muted)}
.merchant-day-grid{display:flex;gap:8px;flex-wrap:wrap}
.merchant-day-grid label,.merchant-choice-row label,.merchant-service-mode label{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid var(--bee-line);border-radius:12px;background:#fff;font-weight:800}
.merchant-choice-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.merchant-service-mode{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.merchant-service-selector{display:grid;gap:18px;margin-bottom:20px}
.merchant-terms{display:flex;align-items:flex-start;gap:10px;padding:16px;border:1px solid var(--bee-line);border-radius:14px;background:rgba(253,208,78,.10);font-weight:800}
.merchant-terms input{margin-top:5px}
.merchant-submit-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px;padding-top:18px;border-top:1px solid var(--bee-line)}
.merchant-submit-bar span{color:var(--bee-muted)}
.merchant-login-links{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px;padding-top:16px;border-top:1px solid var(--bee-line)}
.merchant-login-links a{font-weight:850;color:var(--bee-olive);text-decoration:underline}
.merchant-status-shell{max-width:980px}
.merchant-status-search{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end;padding:20px;margin-bottom:20px}
.merchant-status-search label,.merchant-supplement-form label,.merchant-approve-form label{display:grid;gap:7px;font-weight:850}
.merchant-public-status{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:24px;margin-bottom:18px}
.merchant-public-status h2{margin:10px 0 4px}
.merchant-public-status-meta{display:flex;gap:12px;flex-wrap:wrap}
.merchant-public-status-meta span{display:grid;gap:3px;min-width:130px;padding:12px;border-radius:14px;background:var(--bee-cream);color:var(--bee-muted)}
.merchant-public-status-meta b{color:var(--bee-ink)}
.merchant-review-message,.merchant-approved-card,.merchant-supplement-form{padding:22px;margin-bottom:18px}
.merchant-approved-card{border-color:rgba(43,122,61,.35);background:linear-gradient(180deg,#fff,rgba(43,122,61,.06))}
.merchant-supplement-form{display:grid;gap:14px}
.merchant-admin-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}
.merchant-admin-head h1{margin:8px 0 0}
.merchant-status-kpis{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:18px}
.merchant-status-kpis a{display:grid;gap:4px;padding:16px;border-radius:16px;background:#fff;border:1px solid var(--bee-line);box-shadow:var(--shadow-soft)}
.merchant-status-kpis b{font-size:26px;color:var(--bee-olive)}
.merchant-status-kpis span{color:var(--bee-muted);font-weight:800}
.merchant-filter-bar input{min-width:280px}
.merchant-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px;align-items:start;margin-bottom:24px}
.merchant-review-main{display:grid;gap:18px}
.merchant-review-actions{display:grid;gap:14px;position:sticky;top:92px}
.merchant-review-actions .panel{padding:18px;display:grid;gap:11px}
.merchant-review-actions h3{margin:0}
.merchant-application-summary{padding:22px}
.merchant-review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.merchant-review-grid>div{display:grid;gap:4px;padding:13px;border:1px solid var(--bee-line);border-radius:14px;background:#fff}
.merchant-review-grid .wide{grid-column:1/-1}
.merchant-review-grid small{color:var(--bee-muted)}
.merchant-review-grid p{margin:0}
.merchant-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.merchant-document-grid>div{display:grid;gap:7px;padding:14px;border:1px solid var(--bee-line);border-radius:14px;background:#fff}
.merchant-timeline{display:grid;gap:12px}
.merchant-timeline>div{position:relative;display:grid;gap:4px;padding:13px 13px 13px 24px;border-left:4px solid var(--bee-honey);background:#fff;border-radius:0 14px 14px 0}
.merchant-timeline span{font-size:12px;font-weight:900;color:var(--bee-olive)}
.merchant-timeline small{color:var(--bee-muted)}
.merchant-application-list small{display:block;color:var(--bee-muted)}
.merchant-application-list .status-chip{margin-top:5px}
.merchant-status-submitted,.merchant-status-resubmitted{background:#fff4c7;color:#725500}
.merchant-status-under_review{background:#e7f0ff;color:#244e91}
.merchant-status-needs_info{background:#fff0e1;color:#984900}
.merchant-status-approved{background:#e5f6e9;color:#246b35}
.merchant-status-rejected,.merchant-status-suspended,.merchant-status-terminated,.status-error{background:#fde8e6;color:#9f2118}
.merchant-backoffice .admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.merchant-admin-nav a{padding:9px 13px;border-radius:12px;background:#fff;border:1px solid var(--bee-line);font-weight:850}
.merchant-settlement-rule{padding:20px;margin:18px 0}
.merchant-settlement-rule p{margin:5px 0}

@media(max-width:980px){
  .merchant-review-layout{grid-template-columns:1fr}
  .merchant-review-actions{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
  .merchant-status-kpis{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:760px){
  .merchant-status-search{grid-template-columns:1fr}
  .merchant-public-status{display:grid}
  .merchant-review-grid,.merchant-document-grid{grid-template-columns:1fr}
  .merchant-review-grid .wide{grid-column:auto}
  .merchant-review-actions{grid-template-columns:1fr}
  .merchant-status-kpis{grid-template-columns:repeat(2,1fr)}
  .merchant-filter-bar input{min-width:0;width:100%}
  .merchant-admin-head{display:grid}
  .merchant-form-section{padding:18px}
}
@media(max-width:520px){
  .merchant-status-kpis{grid-template-columns:1fr}
  .merchant-form-title{display:grid}
  .merchant-apply-actions,.merchant-submit-bar{display:grid}
  .merchant-apply-actions .btn-ghost,.merchant-submit-bar .btn{width:100%}
}


/* WoWoBee v6.0.0 完整商業平台 */
.commercial-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:18px;margin:18px 0}
.commercial-card-grid>.panel{height:100%}
.benefit-card{display:flex;flex-direction:column;gap:10px}
.coupon-code{display:inline-flex;width:max-content;padding:8px 12px;border:1px dashed var(--bee-olive);border-radius:10px;background:#fff9df;font-size:1.08rem;font-weight:800;letter-spacing:.08em}
.ticket-thread{display:flex;flex-direction:column;gap:12px;margin-top:18px}
.ticket-message{padding:14px 16px;border:1px solid var(--bee-line);border-radius:var(--radius-md);background:#fff}
.ticket-message.is-internal{background:#fff3d2;border-style:dashed}
.ticket-message small{display:block;color:var(--bee-muted);margin-bottom:6px}
.review-card{display:grid;gap:10px}
.review-stars{font-size:1.1rem;letter-spacing:.08em}
.merchant-reply{padding:12px 14px;border-left:4px solid var(--bee-honey-deep);background:#fff9e8;border-radius:8px}
.group-share{display:flex;align-items:end;gap:14px;justify-content:space-between}
.group-share>div{flex:1}
.group-share input{width:100%;margin-top:6px}
.commercial-product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.commercial-product-card{display:grid;gap:10px;padding:16px;border:1px solid var(--bee-line);border-radius:var(--radius-md);background:#fff}
.commercial-product-card form{display:grid;grid-template-columns:90px 1fr auto;gap:8px;align-items:center}
.commercial-product-card input{min-width:0}
.erp-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:18px 0}
.erp-kpi{padding:16px;border:1px solid var(--bee-line);border-radius:var(--radius-md);background:rgba(255,255,255,.84)}
.erp-kpi b{display:block;font-size:1.45rem}
.erp-kpi span{color:var(--bee-muted);font-size:.9rem}
.health-ok{color:var(--bee-ok);font-weight:800}
.health-warning{color:#9a6700;font-weight:800}
.health-error{color:var(--bee-danger);font-weight:800}
.crm-rule-box{padding:12px;border:1px dashed var(--bee-line);border-radius:12px;background:#fffdf7}
@media(max-width:720px){
 .group-share{align-items:stretch;flex-direction:column}
 .commercial-product-card form{grid-template-columns:1fr}
 .commercial-card-grid{grid-template-columns:1fr}
}


/* v6.0.2 手機端 UI/UX 優化 */
@media (max-width: 768px) {
  :root{
    --lb-mobile-safe-bottom: calc(92px + env(safe-area-inset-bottom));
  }

  html{scroll-padding-top:84px}
  body{
    background: linear-gradient(180deg,#f4ecd3 0%,#f8f4ea 220px,#fbf8ef 100%) !important;
    padding-bottom: var(--lb-mobile-safe-bottom);
  }

  .topbar{
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(248,244,234,.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 28px rgba(93,89,35,.08);
  }

  .shell{
    width: min(100% - 24px, 1180px) !important;
  }

  .topbar-inner{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 16px 0 18px !important;
    align-items: center !important;
  }

  .brand,
  .brand-horizontal{
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .brand-horizontal img,
  .brand img{
    width: min(220px, 62vw) !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .top-actions{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .point-pill{
    display: none !important;
  }

  .catalog-pill,
  .preorder-pill,
  .member-pill,
  .line-btn,
  .install-btn,
  .share-pill,
  .address-pill,
  .cart-btn{
    min-height: 48px !important;
    padding: 0 12px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    box-shadow: 0 6px 18px rgba(93,89,35,.08);
  }

  .catalog-pill,
  .preorder-pill,
  .member-pill,
  .line-btn,
  .install-btn,
  .share-pill{
    background: linear-gradient(180deg,#f5cf56 0%,#efc33e 100%) !important;
    color: #251d10 !important;
    border: 1px solid #d9b33a !important;
  }

  .catalog-pill,
  .preorder-pill,
  .member-pill{
    width: 100% !important;
  }

  .address-pill{
    grid-column: 1 / span 2 !important;
    width: 100% !important;
    background: #fff !important;
    color: #221c12 !important;
    border: 1px solid #ddd2b5 !important;
  }

  .cart-btn{
    grid-column: 3 !important;
    width: 100% !important;
    background: #17110a !important;
    color: #fff !important;
    border: 1px solid #17110a !important;
  }

  .top-actions svg{
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .hero,
  .ad-banner,
  .banner-shell,
  .banner-carousel{
    margin-top: 16px !important;
  }

  .banner-carousel{
    position: relative !important;
    padding-bottom: 18px !important;
  }

  .banner-carousel-viewport,
  .banner-slide,
  .ad-banner{
    border-radius: 28px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 18px 44px rgba(93,89,35,.12) !important;
  }

  .banner-slide,
  .ad-banner{
    min-height: 0 !important;
  }

  .banner-slide .banner-picture img,
  .ad-banner .banner-picture img{
    object-fit: cover !important;
    object-position: center !important;
  }

  .banner-arrow{
    width: 52px !important;
    height: 52px !important;
    border-radius: 999px !important;
    background: rgba(83,76,57,.78) !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
  }

  .banner-prev{left: 12px !important;}
  .banner-next{right: 12px !important;}

  .banner-dots{
    bottom: 10px !important;
    display: inline-flex !important;
    gap: 8px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: rgba(93,89,35,.65) !important;
    backdrop-filter: blur(6px);
  }

  .banner-dots button{
    width: 10px !important;
    height: 10px !important;
    border-radius: 999px !important;
  }

  .section-head,
  .home-section-head,
  .catalog-main-head{
    display: grid !important;
    gap: 12px !important;
    align-items: start !important;
    margin-bottom: 16px !important;
  }

  .eyebrow{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg,#f5cf56 0%,#efc33e 100%) !important;
    border: 1px solid #d9b33a !important;
    color: #1f180c !important;
    font-size: 14px !important;
    font-weight: 950 !important;
    letter-spacing: .08em !important;
    box-shadow: 0 8px 20px rgba(93,89,35,.08);
  }

  .section-head h1,
  .section-head h2,
  .home-section-head h1,
  .home-section-head h2,
  .catalog-main-head h1,
  .catalog-main-head h2{
    margin: 0 !important;
    font-size: clamp(30px, 8vw, 44px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.02em !important;
  }

  .section-head p,
  .home-section-head p,
  .catalog-main-head p{
    margin: 0 !important;
    color: #6f6a5c !important;
    font-size: 14px !important;
  }

  .home-product-section,
  .catalog-section,
  .standalone-catalog,
  .catalog-preview,
  .home-showcase,
  .home-showcase-section{
    background: rgba(255,255,255,.84) !important;
    border: 1px solid #eadfbe !important;
    border-radius: 30px !important;
    padding: 18px 16px !important;
    box-shadow: 0 18px 42px rgba(93,89,35,.08) !important;
    margin-bottom: 18px !important;
  }

  .product-grid{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .product-card{
    height: 100% !important;
    border-radius: 24px !important;
    border: 1px solid #eadfbe !important;
    background: #fff !important;
    box-shadow: 0 12px 28px rgba(93,89,35,.08) !important;
    overflow: hidden !important;
  }

  .product-media{
    aspect-ratio: 1 / 1 !important;
    min-height: 0 !important;
  }

  .product-media img,
  .product-picture{
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .product-meta{
    padding: 14px 14px 16px !important;
  }

  .product-meta h3,
  .product-meta h4{
    font-size: 16px !important;
    line-height: 1.35 !important;
    min-height: 2.7em;
  }

  .product-description{
    font-size: 13px !important;
    color: #6f6a5c !important;
  }

  .product-actions{
    display: grid !important;
    gap: 8px !important;
    margin-top: 10px !important;
  }

  .product-actions .btn,
  .product-actions .btn-ghost,
  .product-actions .btn-soft{
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
    border-radius: 16px !important;
  }

  .mobile-nav{
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 90 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom)) !important;
    background: rgba(250,246,234,.98) !important;
    backdrop-filter: blur(18px) !important;
    border-top: 1px solid #dfd3b1 !important;
    box-shadow: 0 -10px 30px rgba(93,89,35,.08) !important;
  }

  .mobile-nav-item{
    display: grid !important;
    justify-items: center !important;
    align-content: center !important;
    gap: 6px !important;
    min-height: 66px !important;
    border-radius: 24px !important;
    color: #7b7568 !important;
    padding: 8px 4px !important;
  }

  .mobile-nav-item.is-active{
    color: #5d5923 !important;
    background: linear-gradient(180deg,#f4e8aa 0%,#ecd67e 100%) !important;
    box-shadow: inset 0 0 0 1px rgba(212,182,78,.8), 0 6px 16px rgba(93,89,35,.12) !important;
  }

  .mobile-nav-icon svg,
  .mobile-nav-icon{
    width: 24px !important;
    height: 24px !important;
  }

  .mobile-nav-label{
    font-size: 12px !important;
    font-weight: 900 !important;
  }

  .mobile-nav-cart-count{
    top: -5px !important;
    right: -8px !important;
  }

  .footer{
    padding-bottom: var(--lb-mobile-safe-bottom) !important;
  }
}

@media (max-width: 480px) {
  .brand-horizontal img,
  .brand img{
    width: min(210px, 64vw) !important;
  }

  .top-actions{
    gap: 8px !important;
  }

  .catalog-pill,
  .preorder-pill,
  .member-pill,
  .address-pill,
  .cart-btn{
    min-height: 46px !important;
    font-size: 13px !important;
    padding: 0 10px !important;
  }

  .banner-arrow{
    width: 46px !important;
    height: 46px !important;
  }

  .product-grid{
    gap: 12px !important;
  }

  .home-product-section,
  .catalog-section,
  .standalone-catalog,
  .catalog-preview,
  .home-showcase,
  .home-showcase-section{
    padding: 16px 14px !important;
    border-radius: 26px !important;
  }
}

/* WoWoBee OpenStreetMap / Leaflet markers */
.wowobee-osm-marker{border:0!important;background:transparent!important}
.wowobee-osm-marker span{position:relative;display:grid;place-items:center;width:38px;height:38px;border:3px solid #32300f;border-radius:50% 50% 50% 6px;background:#5d5923;color:transparent;font-size:0;font-weight:950;line-height:1;transform:rotate(-45deg);box-shadow:0 7px 18px rgba(21,16,7,.28)}
.wowobee-osm-marker span::before{content:"蜂";display:block;color:#fff;font-size:15px;line-height:1;transform:rotate(45deg)}
.wowobee-osm-marker.is-selected span{background:#fdd04e;border-color:#7d5f00}.wowobee-osm-marker.is-selected span::before{content:"✓";color:#151007}
.wowobee-osm-marker.is-user span{background:#1677ff;border-color:#0757c7}.wowobee-osm-marker.is-user span::before{content:"我";color:#fff}
.leaflet-popup-content-wrapper{border-radius:16px}.leaflet-popup-content{margin:14px 16px}.leaflet-control-attribution{font-size:10px}
