body {
  background: #1a1a1a;
  color: #e0e0e0;
  font-family: 'Cinzel', serif;
  margin: 0;
  padding: 0;
}

header {
  background: #0d0d0d;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

header h1 {
  margin: 0;
  font-size: 2em;
  color: #9b59b6;
}

nav a {
  color: #9b59b6;
  text-decoration: none;
  margin-left: 20px;
  font-size: 1.1em;
}

nav a:hover {
  color: #e74c3c;
}

main {
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Сетка из 4 столбцов */
  gap: 20px;
  flex: 3;
}

.art-item {
  background: #2c2c2c;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s;
}

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

.art-item img {
  width: 250px; /* Квадратный размер */
  height: 250px;
  object-fit: cover;
}

.art-item h3 {
  margin: 10px 0;
  color: #9b59b6;
}

.art-item p {
  margin: 5px 0;
  color: #e0e0e0;
}

.art-item button {
  background: #9b59b6;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
}

.art-item button:hover {
  background: #e74c3c;
}

.cart {
  flex: 1;
  background: #2c2c2c;
  padding: 20px;
  border-radius: 10px;
  position: sticky;
  top: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-item input {
  width: 50px;
  padding: 5px;
  background: #1a1a1a;
  color: #e0e0e0;
  border: 1px solid #9b59b6;
  border-radius: 5px;
}

.checkout-button {
  display: block;
  text-align: center;
  background: #9b59b6;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 20px;
}

.checkout-button:hover {
  background: #e74c3c;
}