/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  padding-bottom: 70px; /* space for footer */
  color: #111; /* default dark text */
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #000;   /* Black header */
  color: #fff;        /* White text */
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 32px; margin-right: 8px; }
.logo span {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
}

.language-select {
    display: flex;
    align-items: center;
}
.language-select img {
    height: 20px;
    margin-right: 5px;
}
.language-select select {
    padding: 5px 10px;
    border-radius: 4px;
    border: none;
    background: #222;
    color: #fff;
    cursor: pointer;
}


/* PAGE TITLE */
.page-title {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
}
.page-title h1 {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  color: #000; /* Black title */
  text-align: center;
}

/* PRODUCT GRID */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* ✅ auto responsive */
  gap: 15px;
  padding: 15px;
}
.product {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product img {
  width: 100%;
  height: auto;
  max-height: 160px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 8px;
}
.product h3 {
  font-size: clamp(13px, 1.6vw, 15px);
  margin: 6px 0 4px;
  color: #000; /* Black text */
  height: 2.4em; /* ~2 lines */
  line-height: 1.2;
  overflow: hidden;
}
.product .desc {
  font-size: clamp(12px, 1.4vw, 13px);
  color: #555;
  margin-bottom: 6px;
  height: 2.4em;
  line-height: 1.2;
  overflow: hidden;
}
.product .price {
  font-size: clamp(13px, 1.6vw, 15px);
  font-weight: bold;
  color: #000; /* Black price */
  margin: 6px 0;
}
.buy-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #000;  /* Black button */
  color: #fff;
  border-radius: 6px;
  font-size: clamp(12px, 1.4vw, 13px);
  text-decoration: none;
  transition: 0.3s ease;
}
.buy-btn:hover { background: #444; } /* Dark gray hover */



/* RESPONSIVE BREAKPOINTS */
@media (max-width: 768px) {
  .header { flex-wrap: wrap; }
  .language-select { padding: 4px 8px; }
  .product img { max-height: 120px; }
}
@media (max-width: 480px) {
  .products { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
  .product img { max-height: 100px; }
  .buy-btn { padding: 5px 10px; }
}
