/* --- Global Styles & Variables --- */
:root {
  --primary-color: #5d5dff;    /* Main brand color (e.g., for buttons, links) */
  --secondary-color: #2c3e50;  /* For headings and primary text */
  --accent-color: #ff6b6b;     /* For sales, highlights, or promotions */
  --background-light: #f8f9fa; /* Light background for sections */
  --text-dark: #34495e;        /* General body text color */
  --font-body: 'Arial', sans-serif;
  --font-heading: 'Helvetica Neue', sans-serif;
}
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--background-light);
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* --- Header & Navigation --- */
.store-header {
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  text-align: center; /* Centering for simplicity */
}
.store-header h1 {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  margin: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--secondary-color);
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--primary-color);
}
/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 0;
}
.product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.product-image {
  width: 100%;
  display: block;
}
.product-info {
  padding: 20px;
  text-align: center;
}
.product-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--secondary-color);
  margin-bottom: 10px;
}
.product-price {
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.1rem;
}
/* --- Buttons --- */
.btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px;
  margin-top: 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.btn-add-to-cart {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-add-to-cart:hover {
  background-color: #4a4aef; /* A slightly darker primary color */
}
/* --- Footer --- */
.store-footer {
  background-color: var(--secondary-color);
  color: #ecf0f1;
  text-align: center;
  padding: 2rem 0;
  margin-top: 40px;
}
/* --- Responsive Design --- */
@media (max-width: 768px) {
  .store-header h1 {
    font-size: 1.5rem;
  }
  .nav-links a {
    margin: 0 8px;
  }
}