/* shop.css */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f2f2f2;
}

.navbar {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
}

.navbar .cart {
  font-size: 1.2rem;
  cursor: pointer;
}

.shop-container {
  display: flex;
  padding: 20px;
  
}

.filters {
  width: 220px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-right: 20px;
}

.filters h3 {
  margin-bottom: 10px;
}

.filters label {
  display: block;
  margin: 8px 0;
  font-size: 0.95rem;
}

.products-grid {
  display: flex;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  flex-direction: row;
  
}

.product-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
 
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.product-item h4 {
  font-size: 1rem;
  margin: 10px 0 5px;
}

.product-item p {
  font-weight: bold;
  margin-bottom: 10px;
}

.product-item button {
  background-color: #00c46d;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.product-item button:hover {
  background-color: #00a85b;
}





/* buynow css */

/* Modal Style */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  color: black;
  text-align: center;
  position: relative;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
