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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

header {
  text-align: center;
  margin-bottom: 40px;
}

header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  color: #7f8c8d;
}

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

.shoe-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.shoe-image {
  margin-bottom: 20px;
}

.placeholder-image {
  font-size: 4rem;
  margin-bottom: 15px;
}

.shoe-card h2 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.shoe-card p {
  color: #7f8c8d;
  margin-bottom: 20px;
}

.view-btn {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-weight: 500;
}

.view-btn:hover {
  background: #2980b9;
}

/* Styles for product pages */
.product-page {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-image {
  text-align: center;
  margin-bottom: 30px;
}

.product-image .placeholder-image {
  font-size: 6rem;
  margin-bottom: 20px;
}

.product-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
  text-align: center;
}

.product-description {
  color: #7f8c8d;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.7;
}

.product-price {
  font-size: 2rem;
  font-weight: bold;
  color: #27ae60;
  text-align: center;
  margin-bottom: 30px;
}

.back-btn {
  display: inline-block;
  background: #95a5a6;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
  margin-right: 15px;
}

.back-btn:hover {
  background: #7f8c8d;
}

.buy-btn {
  display: inline-block;
  background: #27ae60;
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease;
  font-weight: 500;
}

.buy-btn:hover {
  background: #229954;
}

.button-group {
  text-align: center;
}
