/* Reset & basics */
* {
  box-sizing: border-box;
}
body, html {
  margin: 0; padding: 0;
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #333;
}

.site-header {
  background: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10000;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #007bff;
  text-decoration: none;
}

.menu-btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #007bff;
}

.side-nav {
  position: fixed;
  top: 0; left: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  padding: 20px;
  box-shadow: 2px 0 6px rgba(0,0,0,0.15);
  transition: left 0.3s ease;
  z-index: 11000;
  display: flex;
  flex-direction: column;
}

.side-nav.open {
  left: 0;
}

.side-nav .close-btn {
  align-self: flex-end;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 30px;
}

.side-nav a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 600;
  color: #333;
  border-bottom: 1px solid #eee;
}

.side-nav a.active {
  color: #007bff;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 10000;
}

.overlay.show {
  display: block;
}

main {
  padding: 20px;
}

.button {
  background: #007bff;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  margin-top: 10px;
}

/* Bottom Navigation for smartphones */
.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid #ddd;
    justify-content: space-around;
    padding: 8px 0;
    z-index: 10000;
  }
  .bottom-nav a {
    color: #666;
    font-size: 12px;
    flex-grow: 1;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    padding: 2px 0;
  }
  .bottom-nav a.active {
    color: #007bff;
  }
  .bottom-nav a svg {
    display: block;
    margin: 0 auto 2px;
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
}

/* Products page */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0; /* no gap for smartphone */
  margin-top: 20px;
}

.product-card {
  background: white;
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

.product-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.product-card h3 {
  margin: 8px 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.price {
  color: #007bff;
  font-weight: 700;
  margin-bottom: 12px;
}

.buy-btn {
  background: #007bff;
  border: none;
  padding: 10px 16px;
  color: white;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

/* Contact Form */
.contact-form {
  max-width: 400px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-form button {
  background: #007bff;
  border: none;
  padding: 12px;
  color: white;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}
