/* 供货平台样式 */
.supply-section {
  position: relative;
  background: linear-gradient(135deg, #fff3e0 0%, #fff8e1 100%);
  padding: 100px 0;
  overflow: hidden;
  background-image: url("https://res.yzfz.net/website/fz_sc_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 48rem;
}

/* 背景占位装饰元素 */
.supply-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}
.supply-bg-shape-1 {
  width: 400px;
  height: 400px;
  background-color: #ff9800;
  top: -100px;
  right: -100px;
  animation: rotate 60s linear infinite;
}
.supply-bg-shape-2 {
  width: 300px;
  height: 300px;
  background-color: #e65100;
  bottom: -150px;
  left: -100px;
  animation: pulse 8s ease-in-out infinite;
}
.supply-bg-shape-3 {
  width: 200px;
  height: 200px;
  background-color: #ffb74d;
  top: 50%;
  left: 70%;
  transform: translateY(-50%);
  animation: float 12s ease-in-out infinite;
}

.supply-content {
  position: relative;
  max-width: 600px;
  z-index: 1;
}
.supply-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #e65100;
}
.supply-subtitle {
  font-size: 18px;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}
.supply-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background-color: #e65100;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
  margin-right: 15px;
}
.supply-btn:hover {
  background-color: #bf360c;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.3);
}
.supply-demo-btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  background-color: #fff;
  color: #e65100;
  border: 2px solid #e65100;
  transition: all 0.3s ease;
}
.supply-demo-btn:hover {
  background-color: #fff3e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.15);
}
.supply-image {
  position: relative;
  z-index: 1;
}
.supply-image img {
  width: 100%;
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}

/* 通用动画 */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 平台优势样式 */
.supply-advantages {
  padding: 100px 0;
  background-color: #fff;
}
.supply-advantages .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.supply-advantages .section-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.supply-advantages .section-subtitle {
  font-size: 16px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
  margin-bottom: 20px;
}
.advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.advantage-icon {
  font-size: 48px;
  margin-bottom: 20px;
}
.advantage-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.advantage-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* 服务内容样式 */
.supply-services {
  padding: 100px 0;
  background-color: #fafafa;
}
.supply-services .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.supply-services .section-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.supply-services .section-subtitle {
  font-size: 16px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

.service-item {
  padding: 30px;
  margin-bottom: 20px;
}
.service-content {
  padding: 20px;
  background-color: #fff;
  border-radius: 12px;
  border-left: 4px solid #e65100;
  transition: all 0.3s ease;
}

/* 一体化分销交易平台样式 */
.integration-platform {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background-image: url("https://res.yzfz.net/website/fz_sc_2.png");
  background-size: auto 50rem;
  background-repeat: no-repeat;
  background-position: right center;
  background-color: linear-gradient(236.96deg, rgba(247, 252, 255, .2) 0%, rgba(255, 252, 250, .3) 100%);
}

/* .integration-platform::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path fill="%2360a5fa" fill-opacity="0.05" d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z"></path></svg>');
  opacity: 0.6;
} */

.platform-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 70rem;
}

.platform-text {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
}

.platform-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.platform-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.2;
}

.platform-subtitle {
  font-size: 2.4px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.platform-desc {
  font-size: 2.4rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.platform-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 6px;
}

.feature-text {
  flex: 1;
  font-size: 2rem;
  color: #666;
}

.platform-actions {
  margin-top: 40px;
}

.platform-actions .btn {
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.platform-actions .btn-primary {
  background-color: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
}

.platform-actions .btn-primary:hover {
  background-color: #0284c7;
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .platform-content {
    flex-direction: column;
  }

  .platform-text {
    text-align: center;
  }

  .feature-item {
    justify-content: center;
  }

  .platform-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .integration-platform {
    padding: 80px 0;
  }

  .platform-title {
    font-size: 32px;
  }

  .platform-subtitle {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .integration-platform {
    padding: 60px 0;
  }

  .platform-title {
    font-size: 28px;
  }

  .platform-subtitle {
    font-size: 18px;
  }

  .platform-desc {
    font-size: 14px;
  }

  .feature-item {
    font-size: 13px;
  }
}

.service-content:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
.service-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}
.service-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* 合作流程样式 */
.supply-process {
  padding: 0 0 6rem 0;
  background-color: #fff;
}
.supply-process .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.supply-process .section-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.supply-process .section-subtitle {
  font-size: 16px;
  color: #6b7280;
  max-width: 700px;
  margin: 0 auto;
}

.process-item {
  text-align: center;
  position: relative;
  padding: 30px 20px;
}
.process-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #e65100;
  opacity: 0.5;
}
.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #fff3e0;
  color: #e65100;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}
.process-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}
.process-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* 行动召唤样式 */
.supply-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #e65100 0%, #f57c00 100%);
  color: #fff;
}
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}
.cta-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-weight: 600;
}
.cta-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}
.supply-cta .supply-btn {
  background-color: #fff;
  color: #e65100;
  margin: 0;
}
.supply-cta .supply-btn:hover {
  background-color: #f5f5f5;
}

/* 招商类目样式 */
.categories-section {
  padding: 100px 0;
  background-color: #fff;
}

.categories-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
}

.categories-container {
  max-width: 1440px;
  margin: 0 auto;
}

.categories-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 15px;
  position: relative;
  align-items: stretch;
}

.category-item {
  padding: 12px 15px;
  background-color: #fff8e1;
  border-radius: 8px;
  text-align: center;
  color: #e65100;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* 砖墙式交错布局 - 第一行（奇数行）*/
.category-item:nth-child(1) { grid-column: 1 / 3; animation-delay: 0.1s; }
.category-item:nth-child(2) { grid-column: 3 / 5; animation-delay: 0.15s; }
.category-item:nth-child(3) { grid-column: 5 / 7; animation-delay: 0.2s; }
.category-item:nth-child(4) { grid-column: 7 / 9; animation-delay: 0.25s; }
.category-item:nth-child(5) { grid-column: 9 / 11; animation-delay: 0.3s; }
.category-item:nth-child(6) { grid-column: 11 / 13; animation-delay: 0.35s; }
.category-item:nth-child(7) { grid-column: 13 / 15; animation-delay: 0.4s; }
.category-item:nth-child(8) { grid-column: 15 / 17; animation-delay: 0.45s; }

/* 第二行（偶数行）- 交错位置 */
.category-item:nth-child(9) { grid-column: 2 / 4; animation-delay: 0.5s; }
.category-item:nth-child(10) { grid-column: 4 / 6; animation-delay: 0.55s; }
.category-item:nth-child(11) { grid-column: 6 / 8; animation-delay: 0.6s; }
.category-item:nth-child(12) { grid-column: 8 / 10; animation-delay: 0.65s; }
.category-item:nth-child(13) { grid-column: 10 / 12; animation-delay: 0.7s; }
.category-item:nth-child(14) { grid-column: 12 / 14; animation-delay: 0.75s; }
.category-item:nth-child(15) { grid-column: 14 / 16; animation-delay: 0.8s; }

/* 第三行（奇数行）*/
.category-item:nth-child(16) { grid-column: 1 / 3; animation-delay: 0.85s; }
.category-item:nth-child(17) { grid-column: 3 / 5; animation-delay: 0.9s; }
.category-item:nth-child(18) { grid-column: 5 / 7; animation-delay: 0.95s; }
.category-item:nth-child(19) { grid-column: 7 / 9; animation-delay: 1s; }
.category-item:nth-child(20) { grid-column: 9 / 11; animation-delay: 1.05s; }
.category-item:nth-child(21) { grid-column: 11 / 13; animation-delay: 1.1s; }
.category-item:nth-child(22) { grid-column: 13 / 15; animation-delay: 1.15s; }
.category-item:nth-child(23) { grid-column: 15 / 17; animation-delay: 1.2s; }

/* 第四行（偶数行）- 交错位置 */
.category-item:nth-child(24) { grid-column: 2 / 4; animation-delay: 1.25s; }
.category-item:nth-child(25) { grid-column: 4 / 6; animation-delay: 1.3s; }
.category-item:nth-child(26) { grid-column: 6 / 8; animation-delay: 1.35s; }
.category-item:nth-child(27) { grid-column: 8 / 10; animation-delay: 1.4s; }
.category-item:nth-child(28) { grid-column: 10 / 12; animation-delay: 1.45s; }
.category-item:nth-child(29) { grid-column: 12 / 14; animation-delay: 1.5s; }
.category-item:nth-child(30) { grid-column: 14 / 16; animation-delay: 1.55s; }

.category-item:hover {
  background-color: #ffecb3;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 20px rgba(230, 81, 0, 0.2);
  font-weight: 500;
}

/* 渐入向上动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 入驻流程样式 */
.process-container {
  max-width: 1440px;
  margin: 0 auto;
}

.process-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.process-step-img {
  width: 160px;
  height: 100px;
  object-fit: contain;
  margin: 0 5px;
}

.process-arrow-img {
  width: 100px;
  object-fit: contain;
  margin: 0 20px;
}

.process-action {
  text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .process-steps {
    flex-direction: column;
  }

  .process-arrow-img {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .process-step-img {
    margin: 10px 0;
  }
}

@media (max-width: 768px) {
  .process-step-img {
    width: 160px;
    height: 100px;
  }

  .process-arrow-img {
    width: auto;
    height: 30px;
  }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .categories-grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
  }
  
  /* 中等屏幕的砖墙布局 */
  .category-item:nth-child(1) { grid-column: 1 / 3; }
  .category-item:nth-child(2) { grid-column: 3 / 5; }
  .category-item:nth-child(3) { grid-column: 5 / 7; }
  .category-item:nth-child(4) { grid-column: 7 / 9; }
  .category-item:nth-child(5) { grid-column: 9 / 11; }
  .category-item:nth-child(6) { grid-column: 11 / 13; }
  
  .category-item:nth-child(7) { grid-column: 2 / 4; }
  .category-item:nth-child(8) { grid-column: 4 / 6; }
  .category-item:nth-child(9) { grid-column: 6 / 8; }
  .category-item:nth-child(10) { grid-column: 8 / 10; }
  .category-item:nth-child(11) { grid-column: 10 / 12; }
  
  .category-item:nth-child(12) { grid-column: 1 / 3; }
  .category-item:nth-child(13) { grid-column: 3 / 5; }
  .category-item:nth-child(14) { grid-column: 5 / 7; }
  .category-item:nth-child(15) { grid-column: 7 / 9; }
  .category-item:nth-child(16) { grid-column: 9 / 11; }
  .category-item:nth-child(17) { grid-column: 11 / 13; }
  
  .category-item:nth-child(18) { grid-column: 2 / 4; }
  .category-item:nth-child(19) { grid-column: 4 / 6; }
  .category-item:nth-child(20) { grid-column: 6 / 8; }
  .category-item:nth-child(21) { grid-column: 8 / 10; }
  .category-item:nth-child(22) { grid-column: 10 / 12; }
  
  .category-item:nth-child(23) { grid-column: 1 / 3; }
  .category-item:nth-child(24) { grid-column: 3 / 5; }
  .category-item:nth-child(25) { grid-column: 5 / 7; }
  .category-item:nth-child(26) { grid-column: 7 / 9; }
  .category-item:nth-child(27) { grid-column: 9 / 11; }
  .category-item:nth-child(28) { grid-column: 11 / 13; }
  
  .category-item:nth-child(29) { grid-column: 2 / 4; }
  .category-item:nth-child(30) { grid-column: 4 / 6; }
  .category-item:nth-child(31) { grid-column: 6 / 8; }
}

@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 1fr);
  }
  
  /* 小屏幕的砖墙布局 */
  .category-item:nth-child(1) { grid-column: 1 / 3; }
  .category-item:nth-child(2) { grid-column: 3 / 5; }
  .category-item:nth-child(3) { grid-column: 5 / 7; }
  .category-item:nth-child(4) { grid-column: 7 / 9; }
  
  .category-item:nth-child(5) { grid-column: 2 / 4; }
  .category-item:nth-child(6) { grid-column: 4 / 6; }
  .category-item:nth-child(7) { grid-column: 6 / 8; }
  
  .category-item:nth-child(8) { grid-column: 1 / 3; }
  .category-item:nth-child(9) { grid-column: 3 / 5; }
  .category-item:nth-child(10) { grid-column: 5 / 7; }
  .category-item:nth-child(11) { grid-column: 7 / 9; }
  
  .category-item:nth-child(12) { grid-column: 2 / 4; }
  .category-item:nth-child(13) { grid-column: 4 / 6; }
  .category-item:nth-child(14) { grid-column: 6 / 8; }
  
  .category-item:nth-child(15) { grid-column: 1 / 3; }
  .category-item:nth-child(16) { grid-column: 3 / 5; }
  .category-item:nth-child(17) { grid-column: 5 / 7; }
  .category-item:nth-child(18) { grid-column: 7 / 9; }
  
  .category-item:nth-child(19) { grid-column: 2 / 4; }
  .category-item:nth-child(20) { grid-column: 4 / 6; }
  .category-item:nth-child(21) { grid-column: 6 / 8; }
  
  .category-item:nth-child(22) { grid-column: 1 / 3; }
  .category-item:nth-child(23) { grid-column: 3 / 5; }
  .category-item:nth-child(24) { grid-column: 5 / 7; }
  .category-item:nth-child(25) { grid-column: 7 / 9; }
  
  .category-item:nth-child(26) { grid-column: 2 / 4; }
  .category-item:nth-child(27) { grid-column: 4 / 6; }
  .category-item:nth-child(28) { grid-column: 6 / 8; }
  
  .category-item:nth-child(29) { grid-column: 1 / 3; }
  .category-item:nth-child(30) { grid-column: 3 / 5; }
  .category-item:nth-child(31) { grid-column: 5 / 7; }
}

@media (max-width: 768px) {
  .supply-title,
  .section-title,
  .cta-title,
  .categories-title {
    font-size: 32px;
  }
  .supply-subtitle,
  .section-subtitle,
  .cta-subtitle {
    font-size: 16px;
  }
  .supply-section,
  .supply-advantages,
  .supply-services,
  .supply-process,
  .supply-cta,
  .categories-section {
    padding: 60px 0;
  }
  .supply-btn,
  .supply-demo-btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
  .process-item:not(:last-child)::after {
    display: none;
  }
  .advantage-item,
  .service-item {
    margin-bottom: 30px;
  }

  .categories-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(11, 1fr);
    gap: 12px;
  }
  
  /* 移动端砖墙布局 */
  .category-item:nth-child(1) { grid-column: 1 / 3; }
  .category-item:nth-child(2) { grid-column: 3 / 5; }
  .category-item:nth-child(3) { grid-column: 5 / 7; }
  
  .category-item:nth-child(4) { grid-column: 2 / 4; }
  .category-item:nth-child(5) { grid-column: 4 / 6; }
  
  .category-item:nth-child(6) { grid-column: 1 / 3; }
  .category-item:nth-child(7) { grid-column: 3 / 5; }
  .category-item:nth-child(8) { grid-column: 5 / 7; }
  
  .category-item:nth-child(9) { grid-column: 2 / 4; }
  .category-item:nth-child(10) { grid-column: 4 / 6; }
  
  .category-item:nth-child(11) { grid-column: 1 / 3; }
  .category-item:nth-child(12) { grid-column: 3 / 5; }
  .category-item:nth-child(13) { grid-column: 5 / 7; }
  
  .category-item:nth-child(14) { grid-column: 2 / 4; }
  .category-item:nth-child(15) { grid-column: 4 / 6; }
  
  .category-item:nth-child(16) { grid-column: 1 / 3; }
  .category-item:nth-child(17) { grid-column: 3 / 5; }
  .category-item:nth-child(18) { grid-column: 5 / 7; }
  
  .category-item:nth-child(19) { grid-column: 2 / 4; }
  .category-item:nth-child(20) { grid-column: 4 / 6; }
  
  .category-item:nth-child(21) { grid-column: 1 / 3; }
  .category-item:nth-child(22) { grid-column: 3 / 5; }
  .category-item:nth-child(23) { grid-column: 5 / 7; }
  
  .category-item:nth-child(24) { grid-column: 2 / 4; }
  .category-item:nth-child(25) { grid-column: 4 / 6; }
  
  .category-item:nth-child(26) { grid-column: 1 / 3; }
  .category-item:nth-child(27) { grid-column: 3 / 5; }
  .category-item:nth-child(28) { grid-column: 5 / 7; }
  
  .category-item:nth-child(29) { grid-column: 2 / 4; }
  .category-item:nth-child(30) { grid-column: 4 / 6; }
  .category-item:nth-child(31) { grid-column: 1 / 3; }
  
  .category-item {
    font-size: 13px;
    padding: 10px 12px;
    min-height: 45px;
  }
}

@media (max-width: 576px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(16, 1fr);
  }
  
  /* 最小屏幕砖墙布局 */
  .category-item:nth-child(1) { grid-column: 1 / 3; }
  .category-item:nth-child(2) { grid-column: 3 / 5; }
  
  .category-item:nth-child(3) { grid-column: 2 / 4; }
  
  .category-item:nth-child(4) { grid-column: 1 / 3; }
  .category-item:nth-child(5) { grid-column: 3 / 5; }
  
  .category-item:nth-child(6) { grid-column: 2 / 4; }
  
  .category-item:nth-child(7) { grid-column: 1 / 3; }
  .category-item:nth-child(8) { grid-column: 3 / 5; }
  
  .category-item:nth-child(9) { grid-column: 2 / 4; }
  
  .category-item:nth-child(10) { grid-column: 1 / 3; }
  .category-item:nth-child(11) { grid-column: 3 / 5; }
  
  .category-item:nth-child(12) { grid-column: 2 / 4; }
  
  .category-item:nth-child(13) { grid-column: 1 / 3; }
  .category-item:nth-child(14) { grid-column: 3 / 5; }
  
  .category-item:nth-child(15) { grid-column: 2 / 4; }
  
  .category-item:nth-child(16) { grid-column: 1 / 3; }
  .category-item:nth-child(17) { grid-column: 3 / 5; }
  
  .category-item:nth-child(18) { grid-column: 2 / 4; }
  
  .category-item:nth-child(19) { grid-column: 1 / 3; }
  .category-item:nth-child(20) { grid-column: 3 / 5; }
  
  .category-item:nth-child(21) { grid-column: 2 / 4; }
  
  .category-item:nth-child(22) { grid-column: 1 / 3; }
  .category-item:nth-child(23) { grid-column: 3 / 5; }
  
  .category-item:nth-child(24) { grid-column: 2 / 4; }
  
  .category-item:nth-child(25) { grid-column: 1 / 3; }
  .category-item:nth-child(26) { grid-column: 3 / 5; }
  
  .category-item:nth-child(27) { grid-column: 2 / 4; }
  
  .category-item:nth-child(28) { grid-column: 1 / 3; }
  .category-item:nth-child(29) { grid-column: 3 / 5; }
  
  .category-item:nth-child(30) { grid-column: 2 / 4; }
  
  .category-item:nth-child(31) { grid-column: 1 / 3; }
  
  .category-item {
    min-height: 40px;
    font-size: 12px;
    padding: 8px 10px;
  }
}
