* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", SimHei, Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #101828;
  line-height: 1.5;
}

.clothing-menu-ui {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-wrapper {
  display: flex;
  width: 100%;
}

.filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 320px;
  min-width: 320px;
  height: 100vh;
  background: #ffffff;
  box-shadow: 0px 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.filter-panel.open {
  transform: translateX(0);
}

.filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  height: 85px;
  border-bottom: 1px solid #f3f4f6;
}

.filter-header h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
}

.close-filter {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
}

.filter-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.filter-section {
  margin-bottom: 32px;
}

.filter-section h3 {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 16px;
  color: #101828;
}

.price-slider {
  padding: 0;
  position: relative;
}

.slider-track {
  position: relative;
  height: 20px;
  margin-bottom: 16px;
  padding: 0 8px;
}

.slider-track::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
}

.slider-fill {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  height: 4px;
  background: #101828;
  border-radius: 2px;
  pointer-events: none;
}

.slider-inputs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
}

.price-input {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  width: calc(100% - 16px);
  height: 20px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  pointer-events: none;
  z-index: 10;
}

.price-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #101828;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 20;
  margin-top: 0px;
}

.price-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #101828;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 20;
  margin-top: 0px;
}

.price-input::-webkit-slider-runnable-track {
  height: 20px;
  background: transparent;
  margin-top: 0px;
}

.price-input::-moz-range-track {
  height: 20px;
  background: transparent;
  margin-top: 0px;
}

.slider-values {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #4a5565;
  line-height: 20px;
  margin-top: 16px;
  padding: 0 8px;
}

.season-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.season-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  height: 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.season-option span:first-child {
  font-size: 14px;
}

.season-option span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: #364153;
}

.category-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-option {
  padding: 0 28px;
  height: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #364153;
  cursor: pointer;
  transition: background 0.2s;
}

.filter-footer {
  padding: 24px;
  border-top: 1px solid #f3f4f6;
}

.reset-filter {
  width: 100%;
  padding: 12px;
  background: #f3f4f6;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #101828;
  cursor: pointer;
  transition: background 0.2s;
}

.reset-filter:hover {
  background: #e5e7eb;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  height: 72px;
  border-bottom: 1px solid #000000;
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 50;
}

.menu-toggle {
  display: flex;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}

.page-header h1 {
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
  letter-spacing: -0.6px;
}

.hero-banner {
  width: 100%;
  background: #f3f4f6;
  background-image: url('.figma/image/mlt2gbtb-dyxffpo.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: background-image 0.8s ease-in-out;
}

.hero-content {
  background: rgba(0, 0, 0, 0.3);
  padding: 152px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content h2 {
  font-size: 60px;
  font-weight: 300;
  line-height: 60px;
  letter-spacing: -1.5px;
  color: #ffffff;
  animation: slideUp 0.6s ease;
}

.hero-content p {
  font-size: 20px;
  font-weight: 300;
  line-height: 28px;
  color: #ffffff;
  opacity: 0.9;
  animation: slideUp 0.6s ease 0.1s both;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.products-section {
  padding: 74px 16px;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
  text-align: center;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 40px;
  color: #101828;
}

.section-header p {
  font-size: 16px;
  line-height: 24px;
  color: #4a5565;
}

.loading {
  text-align: center;
  padding: 60px 20px;
  color: #86868b;
  font-size: 16px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 402px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6a7282;
  line-height: 16px;
}

.product-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #101828;
}

.product-price {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #101828;
}

.season-section {
  background: #f9fafb;
  padding: 80px 16px;
}

.season-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.season-card {
  width: 224px;
  height: 224px;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  border-radius: 16px;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.season-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
}

.season-icon {
  font-size: 72px;
  font-weight: 500;
  line-height: 72px;
}

.season-name {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #101828;
}

.cases-section {
  background: #ffffff;
  padding: 80px 16px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.case-card {
  position: relative;
  width: 100%;
  height: 351px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
}

.case-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f3f4f6;
}

.case-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
}

.case-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-info h3 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: #ffffff;
}

.case-info p {
  font-size: 16px;
  line-height: 24px;
  color: #ffffff;
  opacity: 0.9;
}

.case-quantity {
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  opacity: 0.75 !important;
}

.page-footer {
  background: #101828;
  padding: 16px;
  text-align: center;
}

.page-footer p {
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  opacity: 0.75;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 0;
  border-radius: 18px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close {
  color: #86868b;
  float: right;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
}

.close:hover {
  color: #1d1d1f;
}

.modal-body-content {
  padding: 0;
}

.modal-body-content img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 18px 18px 0 0;
}

.modal-info {
  padding: 24px;
}

.modal-info h2 {
  margin: 0 0 8px 0;
  font-size: 28px;
  font-weight: 600;
}

.modal-info .modal-meta {
  display: flex;
  gap: 8px;
  color: #6a7282;
  font-size: 14px;
  margin-bottom: 16px;
}

.modal-info .price {
  font-size: 24px;
  color: #1d1d1f;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-info .description {
  color: #1d1d1f;
  line-height: 1.6;
  font-size: 15px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .hero-content {
    padding: 80px 16px;
  }
  
  .hero-content h2 {
    font-size: 36px;
    line-height: 40px;
  }
  
  .hero-content p {
    font-size: 16px;
    line-height: 24px;
  }
  
  .section-header h2 {
    font-size: 28px;
    line-height: 32px;
  }
  
  .season-cards {
    gap: 16px;
  }
  
  .season-card {
    width: 160px;
    height: 160px;
  }
  
  .season-icon {
    font-size: 48px;
    line-height: 48px;
  }
  
  .season-name {
    font-size: 16px;
    line-height: 24px;
  }
  
  .case-card {
    height: 280px;
  }
  
  .case-info {
    padding: 24px;
  }
  
  .case-info h3 {
    font-size: 20px;
    line-height: 28px;
  }
  
  .case-info p {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 20px;
  }
  
  .products-section {
    padding: 48px 16px;
  }
  
  .season-section,
  .cases-section {
    padding: 48px 16px;
  }
}