body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #111;
}

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: linear-gradient(to bottom right, #ffffff, #f9f9f9);
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: fadeInUp 0.6s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1), 0 14px 28px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}

.image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
  border-bottom: 1px solid #eee;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 24px;
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #000;
}

.product-desc-main {
  font-size: 1rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
}

.product-desc-small {
  font-size: 0.90rem;
  color: #666;
  margin-bottom: 15px;
}

.code-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
}

.product-code {
  color: #7f6000;
  font-weight: 800;
  font-size: 1.6rem;
}

.product-price {
  font-weight: bold;
  color: #000;
  font-size: 1.5rem;
}

.price-convert select {
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.like-buy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.like-button {
  cursor: pointer;
  font-size: 22px;
  user-select: none;
  transition: transform 0.2s ease;
}

.like-button:hover {
  transform: scale(1.3);
}

.buy-now {
  background-color: #000;
  color: white;
  padding: 20px 36px;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.buy-now:hover {
  background-color: #a67c00;
  transform: scale(1.05);
}

#zoomModal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#zoomImg {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}

@media(max-width: 480px) {
  .product-title { font-size: 1.5rem; }
  .product-desc-main { font-size: 0.90rem; }
  .product-desc-small { font-size: 0.8rem; }
  .buy-now { padding: 16px 26px; font-size: 1.1rem; }
  .product-code, .product-price { font-size: 1.2rem; }
}

