/* Mahavir ID and Plastic - कस्टम CSS स्टाइल्स */

/* ग्लोबल स्टाइल्स */
body {
  font-family: 'Noto Sans', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* कंटेनर */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* नेव्हबार */
.web-nav {
  background: #2563eb;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.web-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.web-nav h1 {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* हिरो सेक्शन */
.web-hero {
  background: linear-gradient(to right, #bfdbfe, #dbeafe);
  padding: 4rem 0;
  text-align: center;
}

.web-hero h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.web-hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.shop-now {
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.25rem;
  text-decoration: none;
  font-weight: 600;
}

.shop-now:hover {
  background: #1e40af;
}

/* सर्च सेक्शन */
.search-section {
  padding: 2rem 0;
}

.web-search {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.25rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.web-search:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 5px rgba(37, 99, 235, 0.3);
}

/* प्रॉडक्ट्स सेक्शन */
.products-section {
  padding: 2rem 0;
}

.products-section h3 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.web-product-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.web-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.web-product-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.web-product-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.web-product-card .category {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.web-product-card .price {
  font-size: 1.125rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.web-product-card .stock {
  font-size: 0.875rem;
  color: #6b7280;
}

.web-product-card button {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 0.5rem;
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
}

.web-product-card button:hover {
  background: #1e40af;
}

.error,
.no-products {
  text-align: center;
  color: #dc2626;
  font-size: 1rem;
}

/* ऑफर्स सेक्शन */
.web-offers {
  background: #f3f4f6;
  padding: 2rem 0;
}

.web-offers h3 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.web-offer-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid #2563eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.web-offer-card:hover {
  transform: translateX(5px);
}

.web-offer-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.web-offer-card p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.web-offer-card button {
  background: #2563eb;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.25rem;
  font-weight: 600;
  cursor: pointer;
}

.web-offer-card button:hover {
  background: #1e40af;
}

/* फूटर */
.web-footer {
  background: #2563eb;
  color: white;
  padding: 1rem 0;
  border-top: 4px solid #1e40af;
  text-align: center;
}

.web-footer p {
  margin: 0.25rem 0;
}

/* रिस्पॉन्सिव्ह डिझाइन */
@media (max-width: 640px) {
  .web-nav .container {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .web-hero h2 {
    font-size: 2rem;
  }

  .web-product-card {
    padding: 1rem;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* Marathi टेक्स्टसाठी फॉन्ट सपोर्ट */
.web-product-card h4,
.web-offer-card h4 {
  font-family: 'Noto Sans Devanagari', sans-serif;
}