/* 首页布局：呼贝运营 ·「草原清风」栅格 */
.neo-home{ padding: 16px 0 8px; }

/* ===== 顶部三栏：分类 / 大Banner / 右侧活动 ===== */
.neo-home-top{ padding-top: 4px; }
.neo-home-grid{
  display:grid;
  grid-template-columns: 220px minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: stretch;
}
.neo-cate,
.neo-banner,
.neo-side{
  background: var(--neo-surface);
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-sm);
  overflow: hidden;
}
.neo-cate{ display:flex; flex-direction:column; }
.neo-cate-title{
  flex: 0 0 auto;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .5px;
  color: #fff;
  background: linear-gradient(135deg, var(--neo-primary), var(--neo-primary-2) 62%, var(--neo-sky));
}
.neo-cate-list{
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1 1 auto;
  overflow: auto;
}
.neo-cate-list li a{
  display:block;
  padding: 9px 16px;
  color: var(--neo-muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 3px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.neo-cate-list li a:hover{
  background: var(--neo-primary-soft);
  color: var(--neo-primary-2);
  border-left-color: var(--neo-primary);
}
.neo-cate-list::-webkit-scrollbar{ width: 6px; }
.neo-cate-list::-webkit-scrollbar-thumb{ background: rgba(16,40,32,.16); border-radius: 3px; }

.neo-banner{ position: relative; }
.neo-banner .wst-slide{ height: 360px; }
.neo-banner .wst-slide-items,
.neo-banner .wst-slide-items li{ height: 360px; }
.neo-banner .wst-slide-items img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.neo-banner .wst-slide-numbox{ bottom: 14px; }
.neo-banner .wst-slide-controls span{
  background: rgba(255,255,255,.78);
  color: var(--neo-muted);
  border-radius: 999px;
}
.neo-banner .wst-slide-controls span.curr{
  background: var(--neo-primary);
  color: #fff;
}

.neo-side{ display:flex; flex-direction:column; }
.neo-side-block{ padding: 10px; display:flex; flex-direction:column; gap: 10px; }
.neo-side-ad{
  display:block;
  border-radius: var(--neo-radius-sm);
  overflow:hidden;
  border: 1px solid var(--neo-border);
}
.neo-side-ad img{ width:100%; height:auto; display:block; transition: transform .3s ease; }
.neo-side-ad:hover img{ transform: scale(1.04); }

@media (max-width: 1100px){
  .neo-home-grid{ grid-template-columns: 180px minmax(0, 1fr); }
  .neo-side{ display:none; }
}
@media (max-width: 820px){
  .neo-home-grid{ grid-template-columns: 1fr; }
  .neo-cate{ display:none; }
  .neo-banner .wst-slide{ height: 240px; }
  .neo-banner .wst-slide-items,
  .neo-banner .wst-slide-items li{ height: 240px; }
}

/* ===== 内容区块 ===== */
.neo-section{ padding: 24px 0 0; }
.neo-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.neo-section-titles{ display:flex; align-items:baseline; gap: 12px; flex-wrap: wrap; }
.neo-section-title{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .2px;
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--neo-text);
}
.neo-section-title--recommend::before{
  content:"";
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neo-primary), var(--neo-sky));
  display:inline-block;
}
.neo-section-sub{ color: var(--neo-muted); font-size: 13px; }
.neo-section-more{
  height: 34px;
  display:inline-flex;
  align-items:center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--neo-border);
  background: #fff;
  color: var(--neo-muted);
  font-size: 13px;
  transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}
.neo-section-more:hover{
  color: var(--neo-primary-2);
  border-color: rgba(14,138,99,.40);
  background: var(--neo-primary-soft);
}

/* 面板 */
.neo-panel{
  background: var(--neo-surface);
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-sm);
  padding: 16px;
}
.neo-panel--recommend,
.neo-grid--recommend{
  background: linear-gradient(180deg, rgba(14,138,99,.07), rgba(28,126,214,.05) 42%, #fff 100%);
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-sm);
  padding: 16px;
}

/* 商品栅格 */
.neo-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1100px){
  .neo-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px){
  .neo-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 560px){
  .neo-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 商品卡片 */
.neo-card{
  border-radius: 12px;
  border: 1px solid var(--neo-border);
  background: #fff;
  box-shadow: none;
  overflow:hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.neo-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--neo-shadow);
  border-color: rgba(14,138,99,.35);
}
.neo-card-img{
  display:block;
  aspect-ratio: 1 / 1;
  background: #f3f6f4;
  overflow: hidden;
}
.neo-card-img img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform .35s ease; }
.neo-card:hover .neo-card-img img{ transform: scale(1.06); }
.neo-card-body{ padding: 12px; }
.neo-card-title{
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  color: var(--neo-text);
  line-height: 1.4;
  height: 38px;
  font-size: 13px;
}
.neo-card:hover .neo-card-title{ color: var(--neo-primary-2); }
.neo-card-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top: 10px;
}
.neo-price{ font-weight: 800; color: var(--neo-price); font-size: 18px; }
.neo-price .f12{ font-size: 12px; font-weight: 700; margin-right: 1px; }
.neo-add-cart{
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neo-primary), var(--neo-primary-2));
  transition: filter .15s ease, box-shadow .15s ease;
}
.neo-add-cart:hover{ filter: brightness(1.07); box-shadow: 0 6px 16px rgba(14,138,99,.28); }

/* 楼层 */
.neo-floor-wrap{ padding-top: 24px; }
.neo-floor{
  margin-top: 16px;
  background: var(--neo-surface);
  border: 1px solid var(--neo-border);
  border-radius: var(--neo-radius);
  box-shadow: var(--neo-shadow-sm);
  padding: 16px;
}
.neo-floor:first-child{ margin-top: 0; }
.neo-floor-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 14px;
}
.neo-floor-head h2{ font-size: 18px; font-weight: 800; }
.neo-floor-head h2 a{
  color: var(--neo-text);
  display:inline-flex;
  align-items:center;
  gap: 10px;
}
.neo-floor-head h2 a::before{
  content:"";
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--neo-primary), var(--neo-sky));
  display:inline-block;
}
.neo-floor-head h2 a:hover{ color: var(--neo-primary-2); }
