/* PLP-specific styles */

/* Category Banner */
.category-banner {
  padding: 140px 32px 80px;
  text-align: center;
  background-color: #f5f5f4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.8s ease both;
}

.category-title {
  font-size: 56px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.category-description {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
}

/* Breadcrumb */
.breadcrumb-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 24px 32px;
  animation: fadeIn 0.6s ease 0.2s both;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.breadcrumb a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: #000;
}

.breadcrumb-separator {
  color: rgba(0, 0, 0, 0.3);
}

.breadcrumb-current {
  color: #000;
}

/* Category Navigation */
.category-nav-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.6s ease 0.3s both;
}

.category-nav-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-nav {
  display: flex;
  gap: 40px;
}

.category-nav-item {
  padding: 20px 0;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.5);
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  text-transform: uppercase;
}

.category-nav-item:hover {
  color: #000;
}

.category-nav-item.active {
  color: #000;
  border-bottom-color: #000;
}

.sort-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-select {
  padding: 10px 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #fff;
  font-size: 13px;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.sort-select:focus {
  outline: none;
  border-color: #000;
}

/* Products Section */
.products-section {
  padding: 60px 0 120px;
}

.products-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 32px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.product-item {
  text-decoration: none;
  color: inherit;
  display: block;
  animation: fadeInUp 0.6s ease both;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.15s; }
.product-item:nth-child(3) { animation-delay: 0.2s; }
.product-item:nth-child(4) { animation-delay: 0.25s; }
.product-item:nth-child(5) { animation-delay: 0.3s; }
.product-item:nth-child(6) { animation-delay: 0.35s; }
.product-item:nth-child(7) { animation-delay: 0.4s; }
.product-item:nth-child(8) { animation-delay: 0.45s; }
.product-item:nth-child(9) { animation-delay: 0.5s; }

.product-image-wrapper {
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #e7e5e4;
  margin-bottom: 16px;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-item:hover .product-image {
  transform: scale(1.05);
}

.product-details {
  padding: 0 4px;
}

.product-name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-price {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.6);
}

/* Load More */
.load-more-container {
  text-align: center;
  margin-top: 80px;
  animation: fadeIn 0.6s ease 0.6s both;
}

.load-more-btn {
  padding: 16px 48px;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.3);
  color: #000;
  font-size: 14px;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
  .category-title {
    font-size: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .category-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .category-nav-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .sort-container {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .category-banner {
    padding: 120px 16px 60px;
  }

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

  .category-description {
    font-size: 16px;
  }

  .breadcrumb-container {
    padding: 16px;
  }

  .category-nav-container {
    padding: 0 16px;
  }

  .category-nav {
    gap: 24px;
  }

  .category-nav-item {
    font-size: 12px;
    white-space: nowrap;
  }

  .products-container {
    padding: 0 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .load-more-container {
    margin-top: 60px;
  }
}
