.quantity-container {
  margin: 1rem 0;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-control input {
  width: 60px;
  text-align: center;
  font-size: 1rem;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #f9f9f9;
}

.qty-control button {
  padding: 5px 12px;
  font-size: 1.2rem;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.qty-control button:hover {
  background-color: #ddd;
}



body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #222;
}

.navbar {
  background: #f4f4f4;
  padding: 1rem 2rem;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.product-images {
  flex: 1 1 45%;
  max-width: 500px;
  overflow: hidden;
}

.product-details {
  flex: 1 1 45%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-images img#main-image {
  width: 100%;
  transition: transform 0.4s ease;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.product-images img#main-image:hover {
  transform: scale(1.2);
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.thumbnail-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
}

.thumbnail-gallery img:hover {
  border-color: #000;
}

.price {
  font-size: 1.5rem;
  color: #e91e63;
  margin: 1rem 0 0.5rem;
}

button {
  padding: 12px 24px;
  background-color: #111;
  color: white;
  border: none;
  font-size: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

button:hover {
  background-color: #333;
}

.description-tabs h3 {
  margin-top: 1.5rem;
  font-size: 1.2rem;
}

footer {
  background: #f4f4f4;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .product-container {
    flex-direction: column;
    padding: 1rem;
  }

  .product-images img#main-image:hover {
    transform: none;
  }
}
.quantity-container {
  margin: 1rem 0;
}

.qty-wrapper {
  position: relative;
  width: 200px;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
  background: #f9f9f9;
}

.qty-wrapper input {
  width: 100%;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 1rem;
  pointer-events: none;
}

.qty-btn {
  width: 30px;
  height: 100%;
  background: #e0e0e0;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}

.qty-btn:hover {
  background: #ccc;
}

