/* 宝冬同宸 · H5 布局大改（覆盖 ShopXO 默认移动端） */

.bd-official {
  padding: 1.2rem 0 0.2rem;
  background:
    radial-gradient(900px 320px at 10% -20%, #cffafe 0%, transparent 55%),
    radial-gradient(700px 280px at 100% 0%, #e0f2fe 0%, transparent 50%),
    #f0f7f8;
}
.bd-official .am-container { max-width: 1200px; }
.bd-kicker {
  margin: 0 0 0.55rem;
  color: #0e7490;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.bd-brand-mark {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
}
.bd-h5-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1.8rem;
  background: #0f172a;
  color: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}
.bd-h5-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 240px at 85% 10%, rgba(34, 211, 238, 0.35), transparent 60%),
    radial-gradient(500px 220px at 0% 100%, rgba(14, 116, 144, 0.45), transparent 55%),
    linear-gradient(145deg, #0f172a 0%, #155e75 55%, #0e7490 100%);
}
.bd-h5-hero-body { position: relative; z-index: 1; padding: 2.2rem 2rem 1.4rem; }
.bd-h5-hero .bd-brand-mark { color: #fff; font-size: 1.7rem; margin-bottom: 0.35rem; }
.bd-h5-hero .bd-kicker { color: #a5f3fc; }
.bd-h5-hero h2 {
  margin: 0 0 0.8rem;
  font-size: 2.6rem;
  line-height: 1.28;
  font-weight: 800;
  color: #fff;
  max-width: 28rem;
}
.bd-h5-hero .bd-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.35rem;
  line-height: 1.7;
  max-width: 42rem;
}
.bd-h5-hero .bd-actions { margin-top: 1.4rem; }
.bd-h5-hero .bd-btn-ghost {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
}
.bd-metrics-row {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0 1.2rem 1.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.bd-metrics-row li {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(165, 243, 252, 0.25);
  border-radius: 1rem;
  padding: 0.85rem 0.7rem;
}
.bd-metrics-row strong { display: block; color: #ecfeff; font-size: 1.35rem; margin-bottom: 0.2rem; }
.bd-metrics-row span { color: rgba(255, 255, 255, 0.72); font-size: 1.15rem; }
.bd-contact-strip { margin: 1.1rem 0 0.45rem; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.bd-contact-strip a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #dbeafe;
  color: #0e7490 !important;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none !important;
}
.bd-address-line { margin: 0 0 1.2rem; color: #64748b; font-size: 1.2rem; line-height: 1.55; }
.bd-services {
  margin-top: 0.4rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 1.6rem;
  padding: 1.6rem 1.4rem 1.5rem;
}
.bd-sec-head h3 { margin: 0; font-size: 2rem; color: #0f172a; font-weight: 800; }
.bd-service-scroll {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.bd-service-scroll article {
  border: 1px solid #eef2f7;
  border-radius: 1.15rem;
  padding: 1.15rem 1.05rem;
  background: linear-gradient(180deg, #f8fafc, #fff);
  min-height: 9.5rem;
}
.bd-service-scroll h4 { margin: 0 0 0.45rem; color: #0f172a; font-size: 1.45rem; }
.bd-service-scroll p { margin: 0; color: #64748b; font-size: 1.25rem; line-height: 1.55; }
.bd-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.bd-btn,
.bd-btn-ghost {
  min-width: 11rem;
  height: 3.7rem !important;
  line-height: 3.5rem !important;
  font-weight: 700 !important;
}
.bd-btn-ghost {
  background: #fff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0e7490 !important;
}
.bd-floor-lead { max-width: 1200px; margin: 2rem auto 0.4rem !important; padding: 0 1.2rem; }
.bd-floor-lead-title { margin: 0 0 0.5rem; font-size: 2.4rem; font-weight: 800; color: #0f172a; }
.bd-floor-lead-desc { margin: 0; color: #64748b; font-size: 1.4rem; line-height: 1.6; max-width: 56rem; }

.module-goods-grid-base .item.bd-service-card {
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 1.4rem !important;
  overflow: hidden !important;
  box-shadow: 0 6px 20px rgba(14, 116, 144, 0.06) !important;
}
.bd-card-meta { margin-top: 0.75rem; }
.bd-card-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: #ecfeff;
  color: #0e7490;
  font-size: 1.15rem;
  font-weight: 700;
  border: 1px solid #a5f3fc;
}
.bd-card-desc { margin: 0.55rem 0 0; color: #64748b; font-size: 1.25rem; line-height: 1.5; min-height: 3.6rem; }

@media only screen and (max-width: 900px) {
  body {
    background: #eef6f8 !important;
    padding-bottom: 6.2rem !important;
  }
  .header-top { display: none !important; }

  .shop-navigation {
    position: sticky !important;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.94) !important;
    backdrop-filter: blur(10px);
    border: 0 !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18) !important;
    min-height: 4.8rem !important;
    margin: 0 !important;
  }
  .shop-navigation .am-container { padding: 0.55rem 1rem !important; }
  .shop-navigation .switch-submit {
    background: transparent !important;
    border: 0 !important;
    color: #a5f3fc !important;
    box-shadow: none !important;
  }
  .shop-navigation .navigation-search .am-form-field {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(165, 243, 252, 0.25) !important;
    color: #fff !important;
    border-radius: 999px 0 0 999px !important;
  }
  .shop-navigation .navigation-search .am-btn-default {
    background: #22d3ee !important;
    border-color: #22d3ee !important;
    color: #0f172a !important;
    border-radius: 0 999px 999px 0 !important;
  }
  .shop-navigation .am-topbar-collapse {
    background: #0f172a !important;
    border-radius: 0 0 1.2rem 1.2rem;
  }
  .shop-navigation .am-nav > li > a { color: #e2e8f0 !important; }

  .banner { margin: 1rem 1rem 0 !important; }
  .banner .am-slider,
  .banner .am-slider .am-slides li,
  .banner .am-slider img {
    border-radius: 1.4rem !important;
    height: auto !important;
    max-height: 16rem !important;
    object-fit: cover;
  }

  .bd-official { padding: 1rem 0 0.2rem; }
  .bd-official .am-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .bd-h5-hero { border-radius: 1.5rem; }
  .bd-h5-hero-body { padding: 1.7rem 1.3rem 1rem; }
  .bd-h5-hero .bd-brand-mark { font-size: 1.45rem; }
  .bd-h5-hero h2 { font-size: 2.15rem; }
  .bd-metrics-row { gap: 0.45rem; padding: 0 0.9rem 1.1rem; }
  .bd-metrics-row li { padding: 0.7rem 0.45rem; text-align: center; }
  .bd-metrics-row strong { font-size: 1.15rem; }
  .bd-metrics-row span { font-size: 1.05rem; }

  .bd-services {
    padding: 1.2rem 0 0.2rem;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .bd-service-scroll {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0.2rem 0.8rem;
    scroll-snap-type: x mandatory;
  }
  .bd-service-scroll article {
    flex: 0 0 72%;
    min-height: 8.8rem;
    scroll-snap-align: start;
    box-shadow: 0 8px 20px rgba(14, 116, 144, 0.08);
  }

  .bd-floor-lead { margin: 1.4rem auto 0.2rem !important; padding: 0 1rem; }
  .bd-floor-lead-title { font-size: 1.9rem; }
  .bd-floor-lead-desc { font-size: 1.25rem; }
  .items-nav-title .floor-desc,
  .items-nav-title .today-brands,
  .items-nav-title .more { display: none !important; }

  .module-goods-grid-base.module-goods-grid-container ul.am-avg-sm-1 > li {
    padding: 0 0 0.85rem !important;
    float: none !important;
    width: 100% !important;
  }
  .module-goods-grid-base .item.bd-service-card {
    display: grid !important;
    grid-template-columns: 9.2rem 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 0.9rem;
    padding: 0.85rem !important;
    border-radius: 1.25rem !important;
    align-items: start;
  }
  .module-goods-grid-base .item.bd-service-card > .goods-info {
    grid-row: 1 / span 3;
    grid-column: 1;
    margin: 0 !important;
  }
  .module-goods-grid-base .item.bd-service-card .goods-images {
    width: 9.2rem !important;
    height: 9.2rem !important;
    object-fit: cover;
    border-radius: 1rem !important;
  }
  .module-goods-grid-base .item.bd-service-card .bd-card-meta {
    grid-column: 2;
    margin: 0 0 0.35rem !important;
    padding: 0 !important;
  }
  .module-goods-grid-base .item.bd-service-card .bd-card-desc {
    min-height: 0;
    font-size: 1.15rem;
    margin-top: 0.35rem;
  }
  .module-goods-grid-base .item.bd-service-card .type-btn { grid-column: 2; }
  .module-goods-grid-base .item.bd-service-card .goods-title {
    font-size: 1.35rem !important;
    margin: 0 0 0.35rem !important;
    padding: 0 !important;
  }
  .module-goods-grid-base .item.bd-service-card .item-bottom {
    padding: 0 !important;
    align-items: center !important;
  }

  .mobile-navigation {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08) !important;
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    overflow: visible;
  }
  .mobile-navigation li {
    background: #fff !important;
    border-top: 0 !important;
  }
  .mobile-navigation li a,
  .mobile-navigation li a > i.iconfont { color: #64748b !important; }
  .mobile-navigation li.active a,
  .mobile-navigation li.active a > i.iconfont { color: #0e7490 !important; }

  .bd-footer {
    margin: 1.2rem 1rem 6.2rem !important;
    border-radius: 1.4rem !important;
    overflow: hidden;
  }
  .bd-footer-inner {
    grid-template-columns: 1fr;
    gap: 1.1rem;
    padding: 1.5rem 1.2rem 1.1rem !important;
  }

  /* 下单/付款页 H5 */
  .buy .am-container,
  body.buy .am-container,
  .link-list {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .address-container,
  .goods-group,
  .buy-data-list,
  .payment-list,
  .buy-order-data,
  .buy .am-panel {
    border-radius: 1.2rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 6px 18px rgba(14, 116, 144, 0.06) !important;
    overflow: hidden;
  }
  .buy-nav,
  .buy-nav-content,
  .goods-buy-nav {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    background: #fff !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08) !important;
    padding: 0.7rem 1rem !important;
  }
  .buy-nav .buy-btn,
  .buy-nav .am-btn-primary {
    border-radius: 999px !important;
    background: #0e7490 !important;
    border-color: #0e7490 !important;
    font-weight: 700 !important;
  }
}

@media only screen and (max-width: 640px) {
  .bd-h5-hero h2 { font-size: 2rem; }
  .bd-btn,
  .bd-btn-ghost { min-width: 0; flex: 1; }
}

/* 首页进入产品入口 */
.bd-home-cta {
  max-width: 1200px;
  margin: 1.2rem auto 1.6rem !important;
  padding: 0 1.2rem;
}
.bd-home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.4rem 1.3rem;
  border-radius: 1.4rem;
  background: linear-gradient(120deg, #0e7490, #155e75);
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 116, 144, 0.18);
}
.bd-home-cta-inner .bd-kicker { color: #a5f3fc; }
.bd-home-cta-inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
}
.bd-home-cta-inner p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  font-size: 1.25rem;
}
.bd-home-cta-inner .am-btn-primary {
  background: #fff !important;
  border-color: #fff !important;
  color: #0e7490 !important;
  font-weight: 700 !important;
  border-radius: 999px !important;
}

/* 产品页头 */
.bd-products-head {
  max-width: 1200px;
  margin: 1rem auto 0.6rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 18px rgba(14, 116, 144, 0.05);
}
.bd-products-head .bd-kicker {
  margin: 0 0 0.35rem;
  color: #0e7490;
  font-size: 1.2rem;
  font-weight: 700;
}
.bd-products-head h1 {
  margin: 0 0 0.35rem;
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}
.bd-products-head p {
  margin: 0;
  color: #64748b;
  font-size: 1.25rem;
}

/* 产品页：隐藏筛选抽屉与空筛选栏 */
.bd-products-page #search-map,
.bd-products-page .map-offcanvas-submit,
.search-pages-content .map-offcanvas-submit {
  display: none !important;
}
.bd-products-count {
  margin-bottom: 0.6rem;
}
.bd-products-count .map-result-count {
  color: #0e7490 !important;
  font-size: 1.4rem;
}
