.background {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to bottom, #f5f9f0, #e8f5e9);
  overflow: hidden;
}
.background ul {
  opacity: 0.6;
  width: 30%;
  height: 100%;
}
.background ul li {
  width: 100%;
  height: 35vh;
  margin-bottom: 5vh;
  border-radius: 20px;
}
.background ul li img {
  border-radius: 20px;
}
.background .line-one {
  animation: moveup 60s linear infinite;
}
.background .line-two {
  animation: movedown 60s linear infinite;
}
@keyframes moveup {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-200vh);
  }
}
@keyframes movedown {
  0% {
    transform: translateY(-200vh);
  }
  100% {
    transform: translateY(0);
  }
}
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-color: #ffffff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 5;
}
.top-nav .nav-container {
  max-width: 1380px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.top-nav .logo {
  display: block;
  height: 50px;
  width: 70px;
}
.top-nav .nav-links {
  height: 60%;
  padding-top: 10px;
  list-style: none;
  display: flex;
  align-items: center;
}
.top-nav .nav-links li {
  margin: 0 15px;
  height: 100%;
  border-bottom: #ffffff solid 2px;
}
.top-nav .nav-links li a {
  text-decoration: none;
  color: #333333;
  font-size: 18px;
  display: flex;
  align-items: center;
}
.top-nav .nav-links li a.active {
  font-weight: bold;
  color: #72b626;
}
.top-nav .nav-links li a:hover {
  color: #72b626;
}
.top-nav .nav-links li.active {
  border-bottom: #d4af37 solid 3px;
}
.top-nav .search-container {
  display: none;
}
.top-nav .search-container input {
  width: 300px;
  height: 35px;
  border: 1px solid #cccccc;
  border-radius: 15px;
  padding: 0 15px;
  font-size: 16px;
}
.top-nav .user-actions {
  display: flex;
  align-items: center;
}
.top-nav .user-actions .action-item {
  position: relative;
  margin-left: 20px;
  cursor: pointer;
}
.top-nav .user-actions .action-item .iconfont {
  font-size: 26px;
  color: #333333;
}
.top-nav .user-actions .action-item .cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #ff4d4f;
  color: #ffffff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}
.top-nav .user-actions .action-item .user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(45, 80, 22, 0.8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}
.filters-sidebar {
  width: 1400px;
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 100px auto 0;
  position: relative;
}
.filters-sidebar .filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #2c5530;
}
.filters-sidebar .filters-header h3 {
  font-size: 24px;
  color: #2d5016;
  min-width: 100px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.filters-sidebar .filters-header .btn-clear {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2d5016;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.filters-sidebar .filters-header .btn-clear:hover {
  opacity: 0.8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}
.filters-sidebar .filters-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.filters-sidebar .filters-wrapper .filter-group {
  margin-bottom: 0;
  /* 距离滑块 */
}
.filters-sidebar .filters-wrapper .filter-group h4 {
  font-size: 15px;
  color: #000000;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.filters-sidebar .filters-wrapper .filter-group .filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-checkbox,
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 14px;
  color: #333333;
}
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-checkbox:hover,
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-radio:hover {
  background: rgba(44, 85, 48, 0.08);
}
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-checkbox.active,
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-radio.active {
  background: rgba(44, 85, 48, 0.08);
  color: #2d5016;
  font-weight: 500;
}
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-checkbox .count,
.filters-sidebar .filters-wrapper .filter-group .filter-options .filter-radio .count {
  color: #999;
  font-size: 12px;
  margin-left: auto;
}
.filters-sidebar .filters-wrapper .filter-group .distance-slider {
  margin-top: 16px;
  padding: 0 10px;
}
.filters-sidebar .filters-wrapper .filter-group .distance-slider .slider {
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 3px;
  outline: none;
}
.filters-sidebar .filters-wrapper .filter-group .distance-slider .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.filters-sidebar .filters-wrapper .filter-group .distance-slider .slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #999;
}
.filters-sidebar .filters-wrapper .filter-group .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filters-sidebar .filters-wrapper .filter-group .tag-cloud .tag {
  padding: 6px 14px;
  background: rgba(44, 85, 48, 0.08);
  border-radius: 20px;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
}
.filters-sidebar .filters-wrapper .filter-group .tag-cloud .tag:hover {
  background: #eee;
}
.filters-sidebar .filters-wrapper .filter-group .tag-cloud .tag.active {
  background: rgba(44, 85, 48, 0.1);
  color: #2d5016;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .filters-section .filters-sidebar .filters-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .filters-section .filters-sidebar {
    padding: 20px;
  }
  .filters-section .filters-sidebar .filters-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .filters-section .filters-sidebar .filters-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .filters-section .filters-sidebar .filters-header h3 {
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .filters-section .filters-sidebar {
    padding: 15px;
  }
  .filters-section .filters-sidebar .filters-header h3 {
    font-size: 15px;
  }
  .filters-section .filters-sidebar .filters-wrapper {
    gap: 15px;
  }
  .filters-section .filters-sidebar .filters-wrapper .filter-group h4 {
    font-size: 14px;
  }
  .filters-section .filters-sidebar .filters-wrapper .filter-group .filter-options {
    gap: 8px;
  }
  .filters-section .filters-sidebar .filters-wrapper .filter-group .filter-options .filter-checkbox,
  .filters-section .filters-sidebar .filters-wrapper .filter-group .filter-options .filter-radio {
    padding: 8px 10px;
    font-size: 13px;
  }
  .filters-section .filters-sidebar .filters-wrapper .filter-group .tag-cloud {
    gap: 6px;
  }
  .filters-section .filters-sidebar .filters-wrapper .filter-group .tag-cloud .tag {
    padding: 4px 10px;
    font-size: 12px;
  }
}
.memory-units {
  background-color: rgba(255, 255, 255, 0.9);
  max-width: 1400px;
  margin: 80px auto 60px;
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  /* 情景记忆网格布局 */
  /* 情景记忆卡片 */
  /* 分页器样式 */
}
.memory-units .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.memory-units .section-header h2 {
  font-size: 40px;
  color: #2c5530;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.memory-units .section-header .section-subtitle {
  color: #666;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.memory-units .memory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}
.memory-units .memory-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.memory-units .memory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
.memory-units .memory-card .memory-img {
  position: relative;
  height: 400px;
  overflow: hidden;
}
.memory-units .memory-card .memory-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.memory-units .memory-card:hover .memory-img img {
  transform: scale(1.05);
}
.memory-units .memory-card .memory-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(44, 85, 48, 0.9);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.memory-units .memory-card .memory-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.memory-units .memory-card .memory-content h3 {
  font-size: 18px;
  color: #2c5530;
  margin-bottom: 10px;
  font-weight: 600;
}
.memory-units .memory-card .memory-content .memory-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}
.memory-units .memory-card .memory-content .memory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.memory-units .memory-card .memory-content .memory-tags .tag {
  background-color: #f0f5f0;
  color: #2c5530;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}
.memory-units .memory-card .memory-content .memory-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.memory-units .memory-card .memory-content .memory-footer .memory-price {
  min-width: 80px;
  color: #d4af37;
  font-weight: bold;
  font-size: 20px;
}
.memory-units .memory-card .memory-content .memory-footer .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #2d5016;
  color: white;
  padding: 12px 32px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}
.memory-units .memory-card .memory-content .memory-footer .btn-outline:hover {
  opacity: 0.8;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}
.memory-units .pagination {
  width: 600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.memory-units .pagination .page-btn {
  display: block;
  padding: 10px 16px;
  border: 1px solid #ddd;
  background-color: white;
  color: #666;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 44px;
}
.memory-units .pagination .page-btn:hover {
  background-color: #f5f5f5;
  border-color: #2d5016;
  color: #2d5016;
}
.memory-units .pagination .page-btn.active {
  background-color: #2d5016;
  border-color: #2d5016;
  color: white;
  font-weight: 600;
}
.memory-units .pagination .page-btn.active:hover {
  opacity: 0.8;
  box-shadow: 0 5px 15px rgba(45, 80, 22, 0.3);
}
.memory-units .pagination .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.memory-units .pagination .page-btn.prev-btn,
.memory-units .pagination .page-btn.next-btn {
  width: auto;
  font-weight: 600;
  padding: 10px 20px;
}
.memory-units .pagination .pagination-dots {
  color: #999;
  font-size: 16px;
  margin: 0 4px;
}
footer {
  width: 100%;
  height: 334px;
  background-color: rgba(45, 80, 22, 0.9);
  padding-top: 40px;
  color: #fff;
  z-index: 3;
}
footer .footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}
footer .footer-content .footer-section {
  padding: 0 10px;
}
footer .footer-content .footer-section h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}
footer .footer-content .footer-links {
  list-style: none;
}
footer .footer-content .footer-links li {
  margin-bottom: 10px;
}
footer .footer-content .footer-links a {
  color: #d0f0d0;
  text-decoration: none;
  transition: color 0.3s ease;
}
footer .footer-content .footer-links a:hover {
  color: white;
}
footer .copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #d0f0d0;
}
