:root{
  --ns-yellow:#feee00;
  --ns-yellow-dark:#e8d800;
  --ns-ink:#111827;
  --ns-muted:#6b7280;
  --ns-line:#e5e7eb;
  --ns-soft:#f7f7f8;
  --ns-white:#fff;
  --ns-shadow:0 10px 30px rgba(15,23,42,.10);
  --ns-frame:1440px;
}

*{box-sizing:border-box}

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0!important;
  padding-bottom:96px!important;
  color:var(--ns-ink)!important;
  background:#fff!important;
  font-family:Inter,Arial,"PingFang SC","Microsoft YaHei",sans-serif!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{text-decoration:none!important}
img{display:block;max-width:100%}

/* 全站框架 */
.container,
.container-fluid,
.aiz-main-wrapper,
.aiz-content-wrapper,
.main-wrapper,
.page-wrapper,
.content-wrapper{
  width:min(calc(100% - 24px),var(--ns-frame))!important;
  max-width:var(--ns-frame)!important;
  margin-inline:auto!important;
}

/* Header */
.ns-header-shell{
  position:sticky!important;
  top:0!important;
  z-index:999!important;
  width:100%!important;
  background:var(--ns-yellow)!important;
  border-bottom:1px solid rgba(0,0,0,.08)!important;
}

.ns-header-inner{
  width:min(calc(100% - 24px),1560px)!important;
  min-height:72px!important;
  margin:auto!important;
  display:grid!important;
  grid-template-columns:auto auto minmax(280px,1fr) auto auto auto auto!important;
  align-items:center!important;
  gap:12px!important;
}

.ns-header-logo{
  display:flex!important;
  align-items:center!important;
  color:var(--ns-ink)!important;
  font-size:26px!important;
  font-weight:950!important;
  white-space:nowrap!important;
}

.ns-header-logo img{
  max-width:150px!important;
  max-height:38px!important;
  object-fit:contain!important;
}

.ns-header-location{
  min-width:120px!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:8px 10px!important;
  border:0!important;
  border-radius:10px!important;
  background:rgba(255,255,255,.35)!important;
}

.ns-header-search{
  position:relative!important;
  min-width:0!important;
}

.ns-header-search input{
  width:100%!important;
  height:46px!important;
  padding:0 48px 0 42px!important;
  border:1px solid rgba(0,0,0,.08)!important;
  border-radius:10px!important;
  outline:0!important;
  background:#fff!important;
}

.ns-header-search__icon{
  position:absolute!important;
  top:50%!important;
  left:14px!important;
  z-index:2!important;
  transform:translateY(-50%)!important;
}

.ns-header-action{
  min-width:58px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  padding:8px!important;
  color:var(--ns-ink)!important;
  border-radius:10px!important;
  font-size:13px!important;
  font-weight:800!important;
}

.ns-header-action:hover{
  background:rgba(255,255,255,.4)!important;
}

/* 删除不需要模块 */
.noon-modules__reasons,
.noon-modules__col.noon-modules__reasons,
.ns-ui-focus,
.ns-ui-promo-duplicate{
  display:none!important;
}

/* 商品卡片 */
.aiz-card-box,
.product-card,
.product-box,
.product-item{
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid #ececec!important;
  border-radius:14px!important;
  transition:transform .2s ease,box-shadow .2s ease!important;
}

.aiz-card-box:hover,
.product-card:hover,
.product-box:hover,
.product-item:hover{
  transform:translateY(-4px)!important;
  box-shadow:var(--ns-shadow)!important;
}

.aiz-card-box img,
.product-card img,
.product-box img,
.product-item img{
  width:100%!important;
  height:200px!important;
  object-fit:contain!important;
  background:linear-gradient(145deg,#f5f7fa,#e7ebf0)!important;
}

.product-title,
.product-name,
.card-title,
.aiz-card-box .fs-13,
.aiz-card-box .fs-14{
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.4!important;
}

.price,
.current-price,
.product-price{
  color:var(--ns-ink)!important;
  font-size:20px!important;
  font-weight:950!important;
}

/* Footer */
.ns-footer-final{
  width:100%!important;
  margin-top:30px!important;
  background:#f7f7f7!important;
  border-top:1px solid var(--ns-line)!important;
}

.ns-footer-final__inner{
  width:min(calc(100% - 24px),var(--ns-frame))!important;
  margin:auto!important;
  padding:26px 0 18px!important;
}

.ns-footer-final__top{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:24px!important;
  padding-bottom:22px!important;
}

.ns-footer-final__title{
  margin:0 0 12px!important;
  font-size:16px!important;
  font-weight:850!important;
}

.ns-footer-final__logos{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
}

.ns-footer-final__badge{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 14px!important;
  color:var(--ns-ink)!important;
  background:#fff!important;
  border:1px solid #dfe3e8!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:800!important;
}

.ns-footer-final__social{
  width:40px!important;
  height:40px!important;
  display:grid!important;
  place-items:center!important;
  color:var(--ns-ink)!important;
  background:#fff!important;
  border:1px solid #dfe3e8!important;
  border-radius:50%!important;
  font-weight:900!important;
}

.ns-footer-final__bottom{
  display:grid!important;
  grid-template-columns:auto 1fr auto!important;
  gap:20px!important;
  align-items:center!important;
  padding-top:18px!important;
  border-top:1px solid var(--ns-line)!important;
}

.ns-footer-final__links,
.ns-footer-final__payments{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  gap:10px!important;
}

.ns-footer-final__payment{
  min-width:42px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  background:#fff!important;
  border:1px solid #dfe3e8!important;
  border-radius:5px!important;
  font-size:10px!important;
  font-weight:900!important;
}

/* App banner */
.ns-app-banner{
  position:fixed!important;
  left:12px!important;
  right:12px!important;
  bottom:96px!important;
  z-index:9997!important;
  max-width:720px!important;
  margin:auto!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:12px 14px!important;
  color:#fff!important;
  background:linear-gradient(135deg,#111827,#374151)!important;
  border-radius:14px!important;
  box-shadow:0 12px 34px rgba(0,0,0,.28)!important;
}

.ns-app-banner__close{
  width:28px!important;
  height:28px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:rgba(255,255,255,.15)!important;
  border:0!important;
  border-radius:50%!important;
}

.ns-app-banner__icon{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  color:var(--ns-ink)!important;
  background:var(--ns-yellow)!important;
  border-radius:11px!important;
  font-weight:950!important;
}

.ns-app-banner__text{
  min-width:0!important;
  flex:1 1 auto!important;
}

.ns-app-banner__text h3{
  margin:0!important;
  color:#fff!important;
  font-size:15px!important;
  font-weight:850!important;
}

.ns-app-banner__text span{
  color:#d1d5db!important;
  font-size:12px!important;
}

.ns-app-banner__cta{
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 16px!important;
  color:var(--ns-ink)!important;
  background:var(--ns-yellow)!important;
  border-radius:9px!important;
  font-size:13px!important;
  font-weight:900!important;
}

/* Floating nav */
.ns-floating-nav{
  position:fixed!important;
  left:50%!important;
  bottom:16px!important;
  z-index:9998!important;
  width:min(calc(100% - 24px),720px)!important;
  transform:translateX(-50%)!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:6px!important;
  padding:8px!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(17,24,39,.10)!important;
  border-radius:22px!important;
  box-shadow:0 14px 40px rgba(15,23,42,.20)!important;
  backdrop-filter:blur(16px)!important;
}

.ns-floating-nav__item{
  min-height:58px!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:4px!important;
  color:var(--ns-muted)!important;
  border-radius:16px!important;
  font-size:11px!important;
  font-weight:800!important;
}

.ns-floating-nav__item:hover,
.ns-floating-nav__item.is-active{
  color:var(--ns-ink)!important;
  background:var(--ns-yellow)!important;
}

.ns-floating-nav__item--center{
  min-height:64px!important;
  margin-top:-18px!important;
  color:var(--ns-ink)!important;
  background:var(--ns-yellow)!important;
  border:4px solid #fff!important;
  border-radius:20px!important;
  box-shadow:0 8px 22px rgba(254,238,0,.35)!important;
}

.ns-floating-nav__badge{
  position:absolute!important;
  top:4px!important;
  right:16px!important;
  min-width:18px!important;
  height:18px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:var(--ns-ink)!important;
  border-radius:999px!important;
  font-size:9px!important;
}

/* Responsive */
@media (max-width:1180px){
  .ns-header-inner{
    grid-template-columns:auto minmax(260px,1fr) auto auto auto!important;
  }

  .ns-header-location,
  .ns-header-language{
    display:none!important;
  }

  .ns-header-action__text{
    display:none!important;
  }
}

@media (max-width:768px){
  :root{--ns-frame:100%}

  body{
    padding-bottom:88px!important;
  }

  .container,
  .container-fluid,
  .aiz-main-wrapper,
  .aiz-content-wrapper,
  .main-wrapper,
  .page-wrapper,
  .content-wrapper{
    width:calc(100% - 16px)!important;
  }

  .ns-header-inner{
    width:calc(100% - 16px)!important;
    min-height:auto!important;
    padding:8px 0 10px!important;
    grid-template-columns:auto 1fr auto!important;
  }

  .ns-header-search{
    grid-column:1/-1!important;
    grid-row:2!important;
  }

  .ns-header-action--orders,
  .ns-header-action--wishlist,
  .ns-header-language,
  .ns-header-location{
    display:none!important;
  }

  .ns-footer-final__top,
  .ns-footer-final__bottom{
    grid-template-columns:1fr!important;
    text-align:center!important;
  }

  .ns-footer-final__inner{
    width:calc(100% - 16px)!important;
  }

  .ns-floating-nav{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    width:auto!important;
    transform:none!important;
  }

  .ns-floating-nav__item{
    min-height:54px!important;
    font-size:10px!important;
  }

  .ns-app-banner{
    left:8px!important;
    right:8px!important;
    bottom:88px!important;
  }

  .ns-app-banner__text span{
    display:none!important;
  }

  .aiz-card-box img,
  .product-card img,
  .product-box img,
  .product-item img{
    height:155px!important;
  }
}
