body.list-page {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #222;
  background:
    radial-gradient(circle at top, rgba(214, 31, 38, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f7fb 0%, #eef1f6 100%);
}

body.list-page a {
  color: inherit;
  text-decoration: none;
}

body.list-page img {
  display: block;
  max-width: 100%;
}

.l-wrap {
  width: 1200px;
  margin: 0 auto;
}

.l-topbar {
  height: 36px;
  background: #e8eaef;
  border-bottom: 1px solid #d9dde7;
  color: #666;
  font-size: 12px;
}

.l-topbar .l-wrap,
.l-header .l-wrap,
.l-nav .l-wrap,
.l-footer .l-wrap,
.l-toolbar,
.l-toolbar-left,
.l-toolbar-right,
.l-service-tags,
.l-hero,
.l-hero-aside,
.l-grid,
.l-grid-head,
.l-stats,
.l-pager,
.l-info-grid,
.l-info-meta,
.l-header-actions {
  display: flex;
}

.l-topbar .l-wrap,
.l-header .l-wrap,
.l-nav .l-wrap,
.l-footer .l-wrap,
.l-grid-head {
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.l-top-links,
.l-search-tags,
.l-header-actions,
.l-service-tags,
.l-toolbar-left,
.l-toolbar-right,
.l-stats,
.l-info-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.l-top-links a:hover,
.l-search-tags a:hover,
.l-nav-links a:hover,
.l-breadcrumb a:hover,
.l-card-store:hover,
.l-footer a:hover,
.l-aside-card a:hover,
.l-info-card h3:hover {
  color: #d61f26;
}

.l-header {
  background: #fff;
  box-shadow: 0 12px 30px rgba(26, 35, 59, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.l-header .l-wrap {
  height: auto;
  padding: 18px 0;
}

.l-logo {
  width: 200px;
  flex: 0 0 200px;
}

.l-logo img {
  width: 200px;
  height: 80px;
  object-fit: contain;
}

.l-search {
  width: 560px;
}

.l-search-box {
  display: flex;
  border: 2px solid #d61f26;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 24px rgba(214, 31, 38, 0.08);
}

.l-search-box input {
  flex: 1;
  height: 46px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  font-size: 14px;
  background: transparent;
}

.l-search-box button {
  width: 110px;
  border: 0;
  background: linear-gradient(135deg, #ef3f45, #c70014);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.l-search-tags {
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 13px;
  color: #7a8193;
}

.l-search-tags a:first-child {
  color: #d61f26;
  font-weight: 700;
}

.l-cart {
  height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  background: #fff5f5;
  border: 1px solid #f0d6d8;
  color: #d61f26;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.l-nav {
  background: transparent;
}

.l-nav .l-wrap {
  height: 50px;
}

.l-all-cats {
  width: 220px;
  height: 50px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(135deg, #d61f26, #b4000f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.l-nav-links {
  display: flex;
  gap: 34px;
  font-size: 16px;
  font-weight: 700;
}

.l-nav-links a {
  position: relative;
}

.l-nav-links a.active,
.l-nav-links a:hover {
  color: #d61f26;
}

.l-nav-links a.active::after,
.l-nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 3px;
  border-radius: 999px;
  background: #d61f26;
}

.l-main {
  padding-bottom: 44px;
}

.l-breadcrumb {
  padding: 18px 0 12px;
  color: #7b8398;
  font-size: 13px;
}

.l-breadcrumb span {
  margin: 0 8px;
}

.l-breadcrumb strong {
  color: #20283a;
  font-weight: 800;
}

.l-breadcrumb em {
  color: #98a1b4;
  font-style: normal;
}

.l-category-filter {
  margin-top: 6px;
  padding: 4px 24px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(222, 226, 236, 0.9);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(25, 37, 68, 0.08);
}

.l-filter-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eef1f6;
}

.l-filter-row:last-child {
  border-bottom: 0;
}

.l-filter-label {
  flex: 0 0 64px;
  color: #20283a;
  font-size: 14px;
  font-weight: 800;
  line-height: 34px;
}

.l-filter-options {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  gap: 10px 12px;
  min-width: 0;
}

.l-filter-options a {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #f6f7fb;
  color: #515b73;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.l-filter-options a.active,
.l-filter-options a:hover {
  color: #fff;
  background: linear-gradient(135deg, #ef3f45, #c70014);
  border-color: transparent;
}

.l-hero {
  gap: 18px;
  align-items: stretch;
}

.l-hero-main,
.l-hero-aside,
.l-toolbar,
.l-card,
.l-info-card,
.l-aside-card,
.l-pager,
.l-empty {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(25, 37, 68, 0.08);
}

.l-hero-main {
  flex: 1;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, rgba(214, 31, 38, 0.10), rgba(255, 255, 255, 0.96)),
    #fff;
}

.l-hero-main small,
.l-grid-head small {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(214, 31, 38, 0.12);
  color: #d61f26;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.l-hero-main h1 {
  margin: 16px 0 12px;
  font-size: 34px;
  line-height: 1.25;
}

.l-hero-main p {
  margin: 0;
  max-width: 720px;
  color: #667086;
  line-height: 1.85;
  font-size: 14px;
}

.l-stats {
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.l-stat {
  min-width: 150px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #f1e4e5;
}

.l-stat strong {
  display: block;
  font-size: 26px;
  color: #d61f26;
}

.l-stat span {
  display: block;
  margin-top: 6px;
  color: #7b8398;
  font-size: 13px;
}

.l-hero-aside {
  width: 300px;
  flex: 0 0 300px;
  padding: 22px;
  flex-direction: column;
  gap: 14px;
}

.l-aside-card {
  padding: 18px;
  box-shadow: none;
  border: 1px solid #edf0f5;
}

.l-aside-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.l-aside-card p,
.l-aside-card li {
  margin: 0;
  color: #6e778d;
  font-size: 13px;
  line-height: 1.8;
}

.l-aside-card ul {
  margin: 0;
  padding-left: 18px;
}

.l-toolbar {
  margin-top: 18px;
  padding: 18px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.l-sort-pill,
.l-service-tag {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e5e8ef;
  color: #4c566d;
  background: #f7f8fb;
  font-size: 13px;
  transition: all 0.2s ease;
}

.l-sort-pill.active,
.l-sort-pill:hover {
  color: #fff;
  background: linear-gradient(135deg, #ef3f45, #c70014);
  border-color: transparent;
}

.l-service-tag {
  background: #fff;
}

.l-grid-shell {
  margin-top: 18px;
}

.l-grid-head {
  height: auto;
  margin-bottom: 16px;
}

.l-grid-head h2 {
  margin: 12px 0 0;
  font-size: 28px;
}

.l-grid-head p {
  margin: 10px 0 0;
  color: #6f7790;
  font-size: 14px;
}

.l-grid {
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
}

.l-card {
  width: calc((100% - 54px) / 4);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.l-card:hover,
.l-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 42px rgba(25, 37, 68, 0.12);
}

.l-card-media {
  display: block;
  height: 240px;
  background: #f7f8fb;
  padding: 18px;
}

.l-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.l-card-body {
  padding: 20px 20px 22px;
}

.l-card-price {
  color: #d61f26;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.l-card-price small {
  font-size: 16px;
  margin-right: 2px;
}

.l-card-sub {
  margin-top: 8px;
  color: #8b92a4;
  font-size: 12px;
}

.l-card h3 {
  margin: 14px 0 12px;
  font-size: 16px;
  line-height: 1.6;
  min-height: 52px;
}

.l-card-store {
  color: #556079;
  font-size: 13px;
}

.l-card-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.l-card-actions a {
  flex: 1;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.l-card-actions .primary {
  background: linear-gradient(135deg, #ef3f45, #c70014);
  color: #fff;
}

.l-card-actions .secondary {
  border: 1px solid #ead2d4;
  color: #d61f26;
  background: #fff7f7;
}

.l-info-grid {
  flex-direction: column;
  gap: 18px;
}

.l-info-card {
  overflow: hidden;
}

.l-info-card a {
  display: flex;
  min-height: 180px;
}

.l-info-media {
  width: 260px;
  flex: 0 0 260px;
  background: #f7f8fb;
}

.l-info-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.l-info-body {
  flex: 1;
  padding: 24px 28px;
}

.l-info-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.l-info-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.l-info-price {
  color: #d61f26;
  font-size: 30px;
  font-weight: 800;
  white-space: nowrap;
}

.l-info-price small {
  font-size: 16px;
  margin-right: 2px;
}

.l-info-desc {
  margin: 14px 0 0;
  color: #697287;
  line-height: 1.8;
  font-size: 14px;
}

.l-info-meta {
  margin-top: 18px;
  flex-wrap: wrap;
  color: #8690a5;
  font-size: 13px;
}

.l-tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(214, 31, 38, 0.08);
  color: #d61f26;
  font-weight: 700;
}

.l-pager {
  margin-top: 22px;
  padding: 18px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.l-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.l-page-links a,
.l-page-links span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e8ef;
  background: #fff;
  color: #5b647b;
  font-weight: 700;
}

.l-page-links .current {
  color: #fff;
  background: linear-gradient(135deg, #ef3f45, #c70014);
  border-color: transparent;
}

.l-empty {
  padding: 48px 24px;
  text-align: center;
  color: #778196;
}

.l-footer {
  min-height: 72px;
  padding: 16px 0;
  box-sizing: border-box;
  border-top: 1px solid #dde2ea;
  color: #636d83;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.92);
}

.l-footer .l-wrap {
  gap: 10px 24px;
  flex-wrap: wrap;
  height: auto;
  min-height: 40px;
}

.l-footer .l-wrap > div:first-child {
  flex: 1 1 420px;
}

.l-footer .l-wrap > div:last-child {
  flex: 0 0 auto;
}

.l-footer .mall-footer-links {
  display: flex;
  flex: 1 1 380px;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 0;
  line-height: 1.7;
}

.l-footer .mall-footer-links a + a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 12px;
  vertical-align: -1px;
  background: rgba(99, 109, 131, 0.28);
}

.site-footer {
  margin-top: 40px;
  background: #1d2335;
  color: #d9deea;
  padding: 34px 0 0;
}

.site-footer .wrap {
  width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-grid > div {
  flex: 1 1 180px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-top: 0;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 10px;
  color: #c7cfdd;
  line-height: 1.8;
}

.site-footer a:hover {
  color: #d61f26;
}

.footer-icp {
  margin-top: 26px;
  padding: 28px 0 32px;
  border-top: 1px solid #e5e5e5;
  background: #fff;
  color: #999;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
}

.footer-icp p {
  margin: 0 0 16px;
  color: #999;
}

.footer-icp a {
  display: inline-block;
  margin: 0;
  color: #999;
}

.footer-icp a:hover {
  color: #777;
}

@media (max-width: 1280px) {
  .l-wrap {
    width: calc(100% - 32px);
  }

  .site-footer .wrap {
    width: calc(100% - 32px);
  }

  .l-hero {
    flex-direction: column;
  }

  .l-hero-aside {
    width: auto;
  }

  .l-card {
    width: calc((100% - 36px) / 3);
  }
}

@media (max-width: 920px) {
  .l-topbar,
  .l-nav {
    display: none;
  }

  .l-header .l-wrap,
  .l-toolbar,
  .l-grid-head,
  .l-pager,
  .l-filter-row,
  .l-info-card a {
    flex-direction: column;
    align-items: stretch;
  }

  .l-search,
  .l-logo {
    width: 100%;
    flex: none;
  }

  .l-logo img {
    margin: 0 auto;
  }

  .l-card {
    width: calc((100% - 18px) / 2);
  }

  .l-info-media {
    width: 100%;
    flex: none;
    height: 220px;
  }

  .l-info-title-row {
    flex-direction: column;
  }

  .l-filter-label {
    flex: none;
    line-height: 1.4;
  }

  .footer-grid {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .l-wrap {
    width: calc(100% - 24px);
  }

  .site-footer .wrap {
    width: calc(100% - 24px);
  }

  .l-card {
    width: 100%;
  }

  .l-hero-main,
  .l-category-filter,
  .l-toolbar,
  .l-card-body,
  .l-info-body,
  .l-hero-aside {
    padding-left: 18px;
    padding-right: 18px;
  }

  .l-hero-main h1,
  .l-grid-head h2 {
    font-size: 26px;
  }

  .l-card-media {
    height: 210px;
  }
}
