#shop {
  margin-bottom: 40px;
  background-color: #F5F5F5;
  color: #242424;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(51, 51, 51, 0.5);
  transition: background-color 0.3s ease, color 0.3s ease;
}

#shop h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #242424;
  text-align: left;
}

.shop-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-top: 20px;
}

.shop-item {
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 320px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.shop-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.shop-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.shop-info {
  text-align: center;
}

.shop-info label {
  display: block;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 6px;
  color: #242424;
}

.shop-info p {
  font-size: 1em;
  color: #777;
  margin-bottom: 12px;
}

.shop-buy-button {
  background-color: #242424;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none !important;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  display: inline-block;
}

.shop-buy-button:hover {
  background-color: #c7c7c7;
  color: #242424 !important;
}

.shop-image-container {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.shop-image-container img {
  width: 100%;
  display: block;
  transition: opacity 0.3s ease;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
}

.shop-image-container .img-primary {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.shop-image-container .img-hover {
  opacity: 0;
  z-index: 2;
}

.shop-item:hover .img-hover {
  opacity: 1;
}

.shop-item:hover .img-primary {
  opacity: 0;
}

.color-options {
  margin-bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}

.color-dot:hover {
  transform: scale(1.1);
}

.color-dot.selected {
  border-color: #0078ff;
}

.shop-image-container {
  aspect-ratio: 1 / 1;
  height: auto;
}

.shop-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

