/* 酒小二风格 UI - CityShop 用户小程序（视觉增强版） */

.jxe-header {

  background: linear-gradient(180deg, #f3e6dc 0%, #f8efe8 50%, #f6f0e8 100%);

  padding: 10px 12px 14px;

  position: relative;

}

.jxe-header::after {

  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 1px;

  background: linear-gradient(90deg, transparent, rgba(196,69,43),.15), transparent);

}

.jxe-loc { font-size: 16px; font-weight: 800; color: #1a1a2e; letter-spacing: -.02em; }

.jxe-loc small { font-weight: 500; color: #636e72; font-size: 12px; display: block; margin-top: 3px; }

.jxe-search {

  background: #fff; border-radius: 24px; padding: 11px 16px;

  display: flex; align-items: center; gap: 10px;

  box-shadow: 0 4px 16px rgba(0,0,0,.06); margin-top: 12px;

  border: 1px solid rgba(255,255,255,.8);

}

.jxe-tags { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 6px; scrollbar-width: none; }

.jxe-tags::-webkit-scrollbar { display: none; }

.jxe-tag {

  flex-shrink: 0; padding: 6px 14px; background: #fff; border-radius: 20px;

  font-size: 11px; font-weight: 600; color: #636e72;

  border: 1px solid #eee; white-space: nowrap; text-decoration: none;

  box-shadow: 0 2px 6px rgba(0,0,0,.04); transition: .2s;

}

.jxe-tag:hover { border-color: #c4452b; color: #c4452b; transform: translateY(-1px); }



.jxe-newcomer {

  margin: 12px; background: linear-gradient(135deg, #c4452b 0%, #e07058 50%, #ff8a9b 100%);

  border-radius: 16px; padding: 16px; color: #fff;

  box-shadow: 0 8px 24px rgba(196,69,43),.35);

  position: relative; overflow: hidden;

}

.jxe-newcomer::before {

  content: ''; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;

  background: rgba(255,255,255,.12); border-radius: 50%;

}

.jxe-newcomer h3 { font-size: 17px; font-weight: 800; margin-bottom: 12px; position: relative; }

.jxe-coupon-row { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }

.jxe-coupon {

  flex-shrink: 0; background: #fff; color: #c4452b; border-radius: 10px;

  padding: 10px 14px; text-align: center; min-width: 84px;

  box-shadow: 0 2px 8px rgba(0,0,0,.08);

}

.jxe-coupon .amt { font-size: 20px; font-weight: 800; line-height: 1.1; }

.jxe-coupon .rule { font-size: 10px; color: #999; margin-top: 2px; }

.jxe-nc-products { display: flex; gap: 8px; }

.jxe-nc-p {

  flex: 1; background: rgba(255,255,255,.96); border-radius: 12px; padding: 8px;

  text-align: center; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.06);

}

.jxe-nc-p .pic { width: 100%; height: 56px; border-radius: 8px; margin-bottom: 6px; }

.jxe-nc-p .price { color: #c4452b; font-weight: 800; font-size: 15px; }

.jxe-nc-p .old { font-size: 10px; color: #b2bec3; text-decoration: line-through; }

.jxe-nc-p .btn {

  background: linear-gradient(135deg, #c4452b, #e07058); color: #fff; border: none;

  border-radius: 14px; padding: 5px 14px; font-size: 11px; font-weight: 700; margin-top: 6px;

  box-shadow: 0 2px 8px rgba(196,69,43),.3); cursor: pointer;

}



.jxe-notice {

  margin: 0 12px 12px; background: linear-gradient(90deg, #fff9e6, #fff3cd);

  padding: 10px 14px; border-radius: 10px; font-size: 12px; color: #856404;

  display: flex; gap: 8px; align-items: center; border: 1px solid rgba(253,203,110,.4);

}

.jxe-promise {

  margin: 0 12px 12px;

  background: linear-gradient(90deg, #c4452b, #e07058, #c4452b);

  background-size: 200% 100%; animation: shimmer 4s ease infinite;

  color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 12px; font-weight: 600;

  text-align: center; box-shadow: 0 4px 16px rgba(196,69,43),.3);

}

@keyframes shimmer { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }



.jxe-banner-lg {

  margin: 0 12px 12px; height: 148px; border-radius: 14px; overflow: hidden;

  position: relative; box-shadow: 0 8px 24px rgba(0,0,0,.12);

}

.jxe-banner-lg .banner-img { position: absolute; inset: 0; }

.jxe-banner-lg .banner-overlay {

  position: absolute; inset: 0;

  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 100%);

  display: flex; flex-direction: column; justify-content: center; padding: 20px; color: #fff;

}

.jxe-banner-lg .banner-overlay span { font-size: 18px; font-weight: 800; }

.jxe-banner-lg .banner-overlay small { font-size: 13px; opacity: .9; margin-top: 6px; }



.jxe-promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 12px 12px; }

.jxe-promo-left {

  grid-row: span 2; border-radius: 14px; padding: 16px; color: #fff;

  min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end;

  position: relative; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.15);

}

.jxe-promo-img::before {

  content: ''; position: absolute; inset: 0;

  background: url('../images/banners/vegetables-promo.jpg') center/cover;

}

.jxe-promo-img::after {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);

}

.jxe-promo-left > * { position: relative; z-index: 1; }



.jxe-flash {

  background: #fff; border-radius: 14px; padding: 12px;

  box-shadow: 0 4px 16px rgba(0,0,0,.06); border: 1px solid rgba(196,69,43),.08);

}

.jxe-flash h4 { color: #c4452b; font-size: 14px; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }

.jxe-countdown { font-size: 11px; color: #fff; background: #2d3436; padding: 3px 8px; border-radius: 6px; font-family: ui-monospace, monospace; font-weight: 600; }

.jxe-flash-items { display: flex; gap: 8px; margin-top: 10px; }

.jxe-flash-item { flex: 1; text-align: center; font-size: 11px; }

.jxe-flash-item .pic { width: 100%; height: 52px; border-radius: 8px; margin-bottom: 4px; }



.jxe-mini-promo {

  background: #fff; border-radius: 12px; padding: 12px; font-size: 12px; font-weight: 600;

  box-shadow: 0 4px 12px rgba(0,0,0,.05); border: 1px solid #f0f0f0;

  transition: .2s;

}

.jxe-mini-promo:hover { border-color: #c4452b; box-shadow: 0 6px 16px rgba(196,69,43),.12); }



.jxe-cat-tabs {

  display: flex; gap: 20px; padding: 12px 14px; background: #fff;

  overflow-x: auto; border-bottom: 1px solid #f0f0f0; scrollbar-width: none;

}

.jxe-cat-tab {

  flex-shrink: 0; font-size: 14px; color: #636e72; text-decoration: none;

  padding-bottom: 8px; font-weight: 500; transition: .2s;

}

.jxe-cat-tab.active { color: #c4452b; font-weight: 700; border-bottom: 3px solid #c4452b; }



.jxe-feed { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; }

.jxe-feed-card {

  background: #fff; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;

  box-shadow: 0 4px 16px rgba(0,0,0,.06); transition: .25s;

}

.jxe-feed-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.1); }

.jxe-feed-card .img { height: 128px; position: relative; }

.jxe-badge-cold {

  position: absolute; top: 8px; left: 8px; z-index: 2;

  background: linear-gradient(135deg, #0984e3, #74b9ff); color: #fff;

  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px;

  box-shadow: 0 2px 6px rgba(9,132,227,.4);

}

.jxe-feed-card .info { padding: 10px 10px 12px; }

.jxe-feed-card .info div:first-child { font-size: 13px; font-weight: 600; line-height: 1.35; color: #2d3436; }

.jxe-feed-card .price { color: #c4452b; font-weight: 800; font-size: 16px; margin-top: 4px; }



.jxe-fab-col { position: absolute; right: 14px; bottom: 16px; z-index: 6; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

.jxe-fab-gift {

  background: linear-gradient(135deg, #c4452b, #e07058); color: #fff;

  padding: 10px 14px; border-radius: 22px; font-size: 11px; font-weight: 700;

  text-decoration: none; box-shadow: 0 4px 16px rgba(196,69,43),.45);

}

.jxe-fab-cart {

  width: 48px; height: 48px; background: #fff; border-radius: 50%;

  display: flex; align-items: center; justify-content: center; font-size: 22px;

  box-shadow: 0 4px 20px rgba(0,0,0,.15); text-decoration: none;

  border: 2px solid #fff;

}



.jxe-tab .tab-item.active { color: #c4452b; font-weight: 700; }

.jxe-tab .tab-badge {

  position: absolute; top: 0; margin-left: 30px;

  background: linear-gradient(135deg, #c4452b, #e07058); color: #fff;

  font-size: 8px; font-weight: 700; padding: 2px 5px; border-radius: 8px;

  box-shadow: 0 2px 6px rgba(196,69,43),.4);

}

.jxe-tab .tab-item { position: relative; }



/* 点单页 */

.jxe-order-header {

  background: linear-gradient(180deg, #c8e6f5 0%, #e8f4fc 60%, #f6f0e8 100%);

  padding: 12px; border-bottom: 1px solid rgba(255,255,255,.5);

}

.jxe-order-cats-top { display: flex; gap: 14px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }

.jxe-order-cats-top a { flex-shrink: 0; text-align: center; font-size: 11px; color: #2d3436; text-decoration: none; font-weight: 600; }

.jxe-order-cats-top .ico {

  width: 48px; height: 48px; border-radius: 50%; background: #fff;

  display: flex; align-items: center; justify-content: center;

  margin: 0 auto 5px; box-shadow: 0 4px 12px rgba(0,0,0,.08); overflow: hidden;

  border: 2px solid #fff;

}

.jxe-order-cats-top .ico img { border-radius: 50%; }

.jxe-order-layout { display: flex; flex: 1; min-height: 0; overflow: hidden; }

.jxe-order-sidebar { width: 92px; background: #eef1f5; flex-shrink: 0; }

.jxe-order-sidebar a {

  display: block; padding: 16px 8px; text-align: center; font-size: 12px;

  color: #636e72; text-decoration: none; border-left: 3px solid transparent; font-weight: 500;

}

.jxe-order-sidebar a.active {

  background: #fff; color: #c4452b; border-left-color: #c4452b; font-weight: 700;

  box-shadow: 2px 0 8px rgba(0,0,0,.04);

}

.jxe-order-main { flex: 1; background: #fff; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }

.jxe-order-banner {

  background: linear-gradient(90deg, #c4452b, #e07058); color: #fff;

  padding: 10px 14px; font-size: 12px; font-weight: 600; margin-bottom: 4px;

}

.jxe-order-item {

  display: flex; gap: 12px; padding: 14px 12px; border-bottom: 1px solid #f5f6f8;

  align-items: flex-start;

}

.jxe-order-item .pic { width: 80px; height: 80px; border-radius: 12px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,.06); }

.jxe-order-item .name { font-size: 14px; font-weight: 600; margin-bottom: 6px; line-height: 1.35; }

.jxe-order-item .price { color: #c4452b; font-size: 17px; font-weight: 800; }

.jxe-order-item .price small {

  font-size: 10px; background: linear-gradient(135deg, #ffeaa7, #fdcb6e);

  color: #d63031; padding: 2px 6px; border-radius: 4px; margin-right: 4px; font-weight: 700;

}



.jxe-cart-bottom {

  flex-shrink: 0;

  background: linear-gradient(135deg, #2d3436, #1a1a2e); color: #fff;

  padding: 12px 16px; display: flex; align-items: center; gap: 12px; z-index: 9;

  border-radius: 28px; box-shadow: 0 8px 32px rgba(0,0,0,.35);

  margin: 6px 10px 8px;

}

.jxe-cart-bottom .btn { background: #636e72; padding: 10px 18px; border-radius: 22px; font-size: 13px; font-weight: 700; text-decoration: none; color: #fff; white-space: nowrap; }

.jxe-cart-bottom .btn.active { background: linear-gradient(135deg, #c4452b, #e07058); box-shadow: 0 4px 12px rgba(196,69,43),.4); }



/* SVIP */

.jxe-svip-header {

  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);

  color: #fff; padding: 14px 12px 16px;

}

.jxe-svip-tabs { display: flex; justify-content: center; gap: 28px; margin-bottom: 14px; }

.jxe-svip-tabs a { color: rgba(255,255,255,.5); text-decoration: none; font-size: 16px; font-weight: 600; padding-bottom: 8px; transition: .2s; }

.jxe-svip-tabs a.active { color: #fff; border-bottom: 3px solid #ffd700; }

.jxe-svip-ticker {

  background: rgba(255,215,0,.08); border: 1px solid rgba(255,215,0,.2);

  padding: 8px 14px; border-radius: 20px; font-size: 11px; color: #ccc; margin-bottom: 14px;

}

.jxe-svip-card {

  background: linear-gradient(135deg, #2a2a2a, #141414);

  border: 1px solid rgba(255,215,0,.4); border-radius: 16px; padding: 18px;

  display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px;

  box-shadow: 0 8px 24px rgba(0,0,0,.3);

}

.jxe-svip-card .gold-btn {

  background: linear-gradient(135deg, #ffd700, #ffaa00); color: #1a1a1a;

  padding: 10px 18px; border-radius: 22px; font-size: 13px; font-weight: 800;

  text-decoration: none; box-shadow: 0 4px 12px rgba(255,215,0,.35);

}

.jxe-svip-benefit {

  background: #fff; border-radius: 16px; padding: 18px; margin: 0 12px 12px;

  box-shadow: 0 4px 16px rgba(0,0,0,.06);

}

.jxe-svip-benefit h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }

.jxe-member-price {

  border: 1px solid #ffd700; border-radius: 10px; padding: 6px 12px;

  display: inline-block; background: linear-gradient(135deg, #fffbf0, #fff8e6);

}



.jxe-profile-header {
  background: linear-gradient(180deg, #2a4a3a 0%, #2f6b4f 55%, #f3f6f2 100%);
  color: #fff;
  padding: 48px 18px 20px; position: relative;
}

.jxe-profile-header::before {

  content: ''; position: absolute; inset: 0;

  background: url('../images/banners/fresh.jpg') center top/cover; opacity: .12;

}

.jxe-profile-vip {

  margin: -12px 12px 14px; background: linear-gradient(135deg, #1a1a1a, #2d2d2d);

  border-radius: 16px; padding: 18px; color: #ffd700;

  box-shadow: 0 12px 32px rgba(0,0,0,.25); border: 1px solid rgba(255,215,0,.15);

}

.jxe-asset-row {

  display: flex; background: #fff; margin: 0 12px 12px; border-radius: 16px;

  padding: 18px 0; box-shadow: 0 4px 16px rgba(0,0,0,.06);

}

.jxe-asset-row > a, .jxe-asset-row > div { flex: 1; text-align: center; border-right: 1px solid #f0f0f0; }

.jxe-asset-row > *:last-child { border-right: none; }

.jxe-asset-row .num { font-size: 22px; font-weight: 800; color: #1a1a2e; }

.jxe-asset-row .lbl { font-size: 11px; color: #636e72; margin-top: 4px; line-height: 1.4; }



.jxe-icon-grid {

  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;

  padding: 18px 14px; background: #fff; margin: 0 12px 12px; border-radius: 16px;

  box-shadow: 0 4px 16px rgba(0,0,0,.05);

}

.jxe-icon-grid a { text-align: center; font-size: 11px; color: #2d3436; text-decoration: none; font-weight: 500; }

.jxe-icon-grid .ico { font-size: 26px; margin-bottom: 6px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.1)); }



.jxe-franchise-banner {

  margin: 0 12px 16px;

  background: linear-gradient(135deg, #2f6b4f, #245540);

  border-radius: 16px; padding: 24px; color: #fff; text-align: center;

  box-shadow: 0 8px 24px rgba(196,69,43),.35);

  position: relative; overflow: hidden;

}

.jxe-franchise-banner::before {

  content: ''; position: absolute; inset: 0;

  background: url('../images/stores/supermarket.jpg') center/cover; opacity: .2;

}



/* 分类宫格带图 */

.category-grid.premium { padding: 14px 10px; }

.category-grid.premium .cat-item .ico {

  width: 52px; height: 52px; border-radius: 16px; overflow: hidden;

  box-shadow: 0 4px 12px rgba(0,0,0,.1); border: 2px solid #fff;

  background: #fff;

}

.category-grid.premium .cat-item { font-weight: 600; font-size: 11px; }



.avatar-img {

  width: 56px; height: 56px; border-radius: 50%; overflow: hidden;

  border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.15);

}

.avatar-img img { width: 100%; height: 100%; object-fit: contain; background: #fff; }



.hero-bg {

  background-size: cover; background-position: center; position: relative;

}

.hero-bg::after {

  content: ''; position: absolute; inset: 0;

  background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.6));

}

.hero-bg > * { position: relative; z-index: 1; }

.page-hero {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 36px 20px;
}
.page-hero .hero-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(196,69,43),.7), rgba(196,69,43),.9));
}
.page-hero .hero-content { position: relative; z-index: 1; }

.gift-card-visual {
  border-radius: 16px; overflow: hidden; position: relative; margin-bottom: 16px;
  box-shadow: 0 12px 32px rgba(196,69,43),.25);
}
.gift-card-visual img { width: 100%; height: 160px; object-fit: cover; display: block; }
.gift-card-visual .overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(196,69,43),.75), rgba(255,107,129,.85)); color: #fff;
}
.qr-box {
  width: 168px; height: 168px; margin: 0 auto 16px; border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); border: 4px solid #fff;
}
.qr-box img { width: 100%; height: 100%; object-fit: cover; }

.price-chip {
  border-radius: 12px; padding: 16px 12px; text-align: center; font-weight: 800;
  background: #fff; border: 2px solid #eee; transition: .2s; cursor: pointer;
}
.price-chip.active, .price-chip:hover {
  border-color: #c4452b; background: #fff5f5; color: #c4452b;
  box-shadow: 0 4px 16px rgba(196,69,43),.15);
}


