/* === STORE MODAL === */
#storeModal .modal-content {
  background: linear-gradient(180deg, #ffecd1 0%, #ffb6b9 50%, #ff8b94 100%);
  padding: 24px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  margin: 10vh auto;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #222;
  overflow-y: auto;
  overflow-x: hidden;
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  text-align: center;
  max-height: 70vh;
  scrollbar-width: none;
}

#storeModal .modal-content::-webkit-scrollbar {
  display: none;
}

#storeModal h2 {
  font-size: 24px;
  font-weight: 700;
  color: #ff4553;
  margin-bottom: 16px;
}

/* === STORE IMAGE === */
.store-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* === STORE INFO === */
.store-info {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.store-info p {
  font-size: 16px;
  color: #222;
  font-weight: bold;
}

/* === STORE ITEMS === */
.store-items {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.store-item {
  background: rgba(255, 255, 255, 0.8);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 140px;
  text-align: center;
}

.store-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 8px;
  object-fit: contain;
}

.store-item h3 {
  font-size: 18px;
  color: #ff4553;
  margin-bottom: 4px;
}

.store-item p {
  font-size: 14px;
  color: #444;
}

.store-item .price {
  font-weight: bold;
  color: #222;
}

.buy-button {
  background: #ff4553;
  color: #fff;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 14px;
}

.buy-button:hover {
  background: #ff6473;
}

/* === RESPONSIVENESS === */
@media (max-width: 400px) {
  #storeModal .modal-content {
    padding: 16px;
    width: 80%;
    max-height: 80vh;
  }

  .store-item {
    width: 100%;
  }

  .store-info p {
    font-size: 14px;
  }
}
