* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f8f8;
}

.header-top {
  background: #f5f5f5;
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.header-top-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  font-size: 13px;
  color: #666;
}

.header-links a {
  color: #666;
  text-decoration: none;
  margin-left: 15px;
  transition: color 0.3s;
}

.header-links a:hover {
  color: #ff6b6b;
}

.main-header {
  background: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo-area {
  font-size: 32px;
  font-weight: bold;
  color: #ff6b6b;
  text-decoration: none;
}

.search-box {
  flex: 1;
  max-width: 500px;
  margin: 0 40px;
}

.search-form {
  display: flex;
  border: 2px solid #ff6b6b;
  border-radius: 25px;
  overflow: hidden;
}

.search-input {
  flex: 1;
  padding: 10px 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-btn {
  padding: 10px 30px;
  background: #ff6b6b;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: background 0.3s;
}

.search-btn:hover {
  background: #ff5252;
}

.header-cart {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ff6b6b;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 10px;
}

.nav-bar {
  background: #ff6b6b;
  padding: 0;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 0;
}

.nav-menu li {
  flex: 1;
}

.nav-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 15px 20px;
  text-align: center;
  transition: background 0.3s;
  font-weight: 500;
}

.nav-menu a:hover {
  background: #ff5252;
}

.banner-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.banner-title {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.banner-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.banner-btn {
  display: inline-block;
  padding: 15px 40px;
  background: #fff;
  color: #667eea;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s;
}

.banner-btn:hover {
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 16px;
  color: #666;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.product-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.product-price {
  font-size: 24px;
  color: #ff6b6b;
  font-weight: bold;
  margin-bottom: 15px;
}

.product-price span {
  font-size: 16px;
}

.add-cart-btn {
  width: 100%;
  padding: 12px;
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s;
}

.add-cart-btn:hover {
  background: #ff5252;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.category-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  text-decoration: none;
  color: #333;
}

.category-card:hover {
  transform: translateY(-3px);
}

.category-icon {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.category-name {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.footer {
  background: #2c3e50;
  color: #fff;
  padding: 40px 20px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: #ff6b6b;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #34495e;
  color: #95a5a6;
}

.info-section {
  background: #fff;
  padding: 60px 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  text-align: center;
  padding: 30px;
}

.info-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
}

.info-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.info-text {
  color: #666;
  line-height: 1.8;
}

.content-block {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.content-block h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.content-block h3 {
  font-size: 22px;
  color: #444;
  margin: 25px 0 15px;
}

.content-block p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.content-block ul {
  margin: 15px 0;
  padding-left: 30px;
}

.content-block ul li {
  color: #666;
  line-height: 2;
  margin-bottom: 8px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: #ff6b6b;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: #ff6b6b;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #ff5252;
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  .search-box {
    margin: 0;
    max-width: 100%;
  }

  .nav-menu {
    flex-direction: column;
  }

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

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
