/* SHOP SECTION STYLING */
.shop-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  gap: 40px;
  padding: 40px 20px;
}

/* Left Sidebar */
.sidebar {
  width: 220px;
  flex-shrink: 0;
}

.filter-section {
  margin-bottom: 32px;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-title .arrow {
  font-size: 12px;
  transition: transform 0.3s;
}

/* Size Filter */
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.size-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.size-btn:hover,
.size-btn.active {
  border-color: #000;
  background: #000;
  color: white;
}

/* Checkbox Filters */
.checkbox-group {
  margin-bottom: 24px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  cursor: pointer;
}

.checkbox-item label {
  font-size: 14px;
  cursor: pointer;
  flex: 1;
}

.count {
  font-size: 13px;
  color: #666;
}

/* Main Content */
.main-content {
  flex: 1;
}

.search-bar {
  width: 100%;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 14px;
  margin-bottom: 32px;
  background: white;
}

.search-bar:focus {
  outline: none;
  border-color: #000;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid #f0f0f0;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 280px;
  background: #f5f5f5;
  position: relative;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 16px;
  background: white;
}

.product-category {
  font-size: 12px;
  color: #888;
  text-transform: capitalize;
  margin-bottom: 6px;
  font-weight: 400;
}

.product-name {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #000;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  font-size: 16px;
  font-weight: 600;
  color: #000;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination button {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.pagination button:hover,
.pagination button.active {
  background: #000;
  color: white;
  border-color: #000;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.6s ease forwards;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .shop-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
  }

  .sidebar {
    width: 100%;
    order: 2;
  }

  .filter-section {
    margin-bottom: 20px;
  }

  .size-options {
    gap: 6px;
  }

  .size-btn {
    width: 35px;
    height: 35px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
  }

  .product-image {
    height: 200px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: 14px;
  }

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

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
