body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top, rgba(229, 57, 53, 0.12), transparent 28%),
    linear-gradient(180deg, #f6f7fb 0%, #eef1f6 100%);
  color: #222;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

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

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

.topbar-inner,
.header-main,
.nav-strip,
.topbar-left,
.topbar-right,
.search-tags,
.hero-grid,
.section-head,
.product-row,
.floor-grid,
.mini-grid,
.double-floor,
.column-cards,
.small-product-list,
.info-grid,
.footer-grid,
.hero-actions,
.user-actions {
  display: flex;
}

.topbar-inner,
.nav-strip,
.header-main,
.section-head {
  align-items: center;
  justify-content: space-between;
}

.topbar-inner {
  height: 36px;
}

.topbar-left,
.topbar-right,
.search-tags,
.user-actions {
  gap: 18px;
  align-items: center;
}

.topbar-right a:hover,
.search-tags a:hover,
.main-nav a:hover,
.section-head a:hover,
.site-footer a:hover {
  color: #d61f26;
}

.city {
  color: #d61f26;
}

.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #fffdfd 100%);
  box-shadow: 0 10px 28px rgba(23, 34, 58, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-main {
  padding: 20px 0 14px;
}

.brand {
  width: 400px;
  flex: 0 0 400px;
}

.brand img {
  width: 400px;
  height: 160px;
  object-fit: contain;
}

.header-search {
  width: 620px;
}

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

.search-box input {
  flex: 1;
  height: 48px;
  border: 0;
  padding: 0 18px;
  font-size: 15px;
  background: transparent;
  outline: 0;
}

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

.search-tags {
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: #777;
}

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

.cart-entry {
  width: 150px;
  height: 48px;
  border-radius: 12px;
  border: 1px solid #f0d6d8;
  background: #fff7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #d61f26;
  font-weight: 700;
}

.cart-entry .iconfont {
  font-size: 20px;
}

.nav-strip {
  height: 48px;
}

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

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

.main-nav a {
  position: relative;
}

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

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

.page-home {
  padding-bottom: 48px;
}

.hero-shell {
  padding: 18px 0 0;
}

.hero-grid {
  gap: 16px;
  align-items: stretch;
}

.hero-cats {
  width: 240px;
  flex: 0 0 240px;
}

.hero-side {
  width: 220px;
  flex: 0 0 220px;
}

.hero-cats {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  box-shadow: 0 18px 36px rgba(34, 44, 76, 0.10);
  padding: 12px 0;
}

.hero-cat-item {
  padding: 15px 20px;
  border-left: 3px solid transparent;
  transition: 0.2s ease;
}

.hero-cat-item:hover {
  background: #fff4f4;
  border-left-color: #d61f26;
}

.hero-cat-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.hero-cat-title:hover,
.hero-subcats a:hover {
  color: #d61f26;
}

.hero-subcats {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  max-width: 100%;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: #8b90a0;
  overflow: hidden;
  white-space: nowrap;
}

.hero-subcats a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  white-space: nowrap;
  color: inherit;
}

.hero-subcats a.is-hidden {
  display: none;
}

.hero-subcats a + a::before {
  content: "/";
  flex: 0 0 auto;
  margin: 0 7px;
  color: #b1b7c5;
}

.hero-banner {
  flex: 1;
  min-height: 450px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 22%),
    linear-gradient(135deg, #f23c43 0%, #d50f22 52%, #7d0d17 100%);
  border-radius: 26px;
  box-shadow: 0 24px 48px rgba(160, 16, 26, 0.22);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.hero-copy {
  padding: 42px 34px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
}

.hero-desc {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 28px;
  gap: 12px;
}

.btn-primary,
.btn-secondary {
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.btn-primary {
  background: #fff;
  color: #d61f26;
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: transparent;
}

.hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px 18px 0;
}

.hero-art img {
  width: 100%;
  max-width: 360px;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel,
.side-promo,
.sale-card,
.feature-banner,
.mini-card,
.floor-column,
.info-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(27, 39, 71, 0.08);
}

.user-panel {
  padding: 22px 18px;
  text-align: center;
}

.user-logo {
  width: 150px;
  margin: 0 auto 12px;
}

.user-panel h3 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.user-panel p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #666;
}

.user-actions {
  margin-top: 14px;
  justify-content: center;
  gap: 10px;
}

.user-actions a {
  min-width: 88px;
  height: 34px;
  border-radius: 999px;
  background: #fff1f1;
  color: #d61f26;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.side-promo {
  overflow: hidden;
}

.side-promo img {
  width: 100%;
  height: 214px;
  object-fit: cover;
}

.flash-sale,
.channel-floor,
.double-floor,
.info-strip {
  margin-top: 26px;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  margin: 8px 0 0;
  font-size: 28px;
  line-height: 1.2;
}

.section-head a {
  font-size: 14px;
  color: #666;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.red-head {
  align-items: flex-end;
}

.red-head .section-tag,
.orange-tag {
  background: linear-gradient(135deg, #ff6a39, #ff3d2e);
}

.blue-tag {
  background: linear-gradient(135deg, #3e7bff, #264ae6);
}

.green-tag {
  background: linear-gradient(135deg, #28b87a, #0a8e63);
}

.purple-tag {
  background: linear-gradient(135deg, #7668ff, #5d37df);
}

.product-row {
  gap: 16px;
}

.sale-card {
  width: calc(25% - 12px);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sale-card:hover,
.mini-card:hover,
.info-card:hover,
.feature-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(27, 39, 71, 0.14);
}

.sale-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #f8f8f8;
}

.sale-card h3,
.sale-card p,
.price-line {
  padding-left: 16px;
  padding-right: 16px;
}

.sale-card h3 {
  margin: 14px 0 8px;
  font-size: 16px;
  line-height: 1.5;
  min-height: 48px;
}

.sale-card p {
  margin: 0;
  font-size: 13px;
  color: #697186;
  line-height: 1.7;
  min-height: 44px;
}

.price-line {
  margin-top: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d61f26;
  font-size: 13px;
  font-weight: 700;
}

.channel-floor .floor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.75fr);
  align-items: stretch;
  gap: 18px;
}

.feature-banner {
  width: auto;
  min-height: 430px;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(65, 101, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 76, 86, 0.12), rgba(255, 255, 255, 0.98) 54%, rgba(235, 241, 255, 0.96)),
    #fff;
}

.feature-copy {
  width: auto;
  align-self: center;
  padding: 42px 0 42px 42px;
  position: relative;
  z-index: 1;
}

.feature-copy small {
  display: inline-flex;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: #ffe9eb;
  color: #d61f26;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
}

.feature-copy h3 {
  margin: 18px 0 12px;
  font-size: 30px;
  line-height: 1.25;
}

.feature-copy p {
  margin: 0;
  color: #6a7389;
  line-height: 1.8;
}

.feature-banner img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 24px 0 0 24px;
  align-self: stretch;
}

.mini-grid {
  width: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-content: stretch;
  gap: 14px;
}

.mini-card {
  width: auto;
  padding: 12px;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.mini-card img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 0;
}

.mini-card h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.double-floor {
  gap: 16px;
}

.floor-column {
  flex: 1;
  padding: 20px;
}

.compact-head h2 {
  font-size: 24px;
}

.column-cards {
  gap: 16px;
}

.promo-tall {
  width: 44%;
  overflow: hidden;
  border-radius: 18px;
}

.promo-tall img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.small-product-list {
  width: 56%;
  flex-direction: column;
  gap: 14px;
}

.small-product-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #f7f8fc;
}

.small-product-list img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
}

.small-product-list span {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.info-grid {
  gap: 16px;
}

.info-card {
  flex: 1;
  min-height: 180px;
  padding: 26px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card.dark {
  background: linear-gradient(135deg, #151c2f, #272e4b);
}

.info-card.light {
  background: linear-gradient(135deg, #ff5d40, #ff8a3d);
}

.info-card.accent {
  background: linear-gradient(135deg, #5352ed, #7b68ee);
}

.info-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.info-card p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.info-card span {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  margin-top: 18px;
}

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

.footer-grid {
  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;
}

.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) {
  .wrap {
    width: calc(100% - 32px);
  }
}

@media (max-width: 960px) {
  .site-header {
    position: static;
  }

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

  .header-main,
  .hero-grid,
  .product-row,
  .floor-grid,
  .double-floor,
  .column-cards,
  .info-grid,
  .footer-grid {
    flex-direction: column;
  }

  .brand,
  .header-search,
  .hero-cats,
  .hero-side,
  .feature-banner,
  .mini-grid,
  .promo-tall,
  .small-product-list,
  .sale-card {
    width: 100%;
  }

  .nav-strip {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 14px;
  }

  .all-cats {
    width: 100%;
    border-radius: 16px;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-art img,
  .side-promo img,
  .feature-banner img,
  .promo-tall img {
    height: auto;
  }

  .feature-copy,
  .feature-banner img {
    width: 100%;
  }

  .channel-floor .floor-grid {
    grid-template-columns: 1fr;
  }

  .feature-banner {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding: 28px 24px 0;
  }

  .feature-banner img {
    min-height: 0;
    border-radius: 18px;
    margin: 0 24px 24px;
    width: calc(100% - 48px);
  }

  .mini-card {
    width: auto;
  }
}
