* { box-sizing: border-box; }
body {
  font-family: "Segoe UI", "Noto Sans Thai", sans-serif;
  margin: 0;
  background: #f5f5f5;
  color: #222;
}
.shopee-navbar {
  background: #ee4d2d;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.shopee-logo {
  font-weight: bold;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.shopee-search-bar {
  flex: 1;
  display: flex;
  min-width: 240px;
  max-width: 700px;
  background: white;
  border-radius: 3px;
  overflow: hidden;
}
.shopee-search-bar input {
  flex: 1;
  border: none;
  padding: 10px 14px;
  font-size: 0.95rem;
  outline: none;
}
.shopee-search-bar button {
  background: #ee4d2d;
  color: white;
  border: none;
  padding: 0 22px;
  cursor: pointer;
  font-size: 0.95rem;
}
.shopee-search-bar button:hover { background: #d73211; }

.shopee-container {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 16px;
}

.shopee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.product-card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease;
}
.product-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

.product-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #ffe8e0, #ffd2c2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ee4d2d;
  overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 10px; }
.product-name {
  font-size: 0.85rem;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  margin-bottom: 6px;
}
.product-price { color: #ee4d2d; font-weight: bold; font-size: 1rem; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #888;
}

.shopee-footer-note {
  text-align: center;
  color: #999;
  font-size: 0.8rem;
  padding: 24px;
}
