/* index.css — Home page styles */

/* ── HERO BANNER ─────────────────────────────────────── */
.hero-banner {
  width: 100%;
  background: linear-gradient(180deg, #c8d8e8 0%, #eaeded 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0 0;
  overflow: hidden;
  position: relative;
  min-height: 340px;
}
.hero-banner img {
  max-width: 1500px;
  width: 100%;
  object-fit: cover;
}
.hero-banner-placeholder {
  width: 100%; min-height: 340px;
  background: linear-gradient(135deg, #c8d8e8, #f0e8d8);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #555; font-weight: 600;
}

/* ── PRODUCT GRID ────────────────────────────────────── */
.product-grid {
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin-top: -80px;
  z-index: 1;
}

.product-card {
  background: var(--white);
  padding: 18px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  transition: box-shadow .2s;
  overflow: hidden;
}
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.14); }

.product-card__title {
  font-size: 20px;
  font-weight: 700;
  color: #0f1111;
  margin-bottom: 12px;
}
.product-card__subtitle {
  font-size: 13px;
  color: #cc0c39;
  margin-bottom: 12px;
  font-weight: 500;
}

.product-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.product-card__images.four-up { grid-template-columns: 1fr 1fr; }

.product-card__img-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.product-card__img-item img {
  width: 100%; height: 130px;
  object-fit: contain;
  border-radius: 2px;
}
.product-card__img-item span {
  font-size: 12px;
  color: #0f1111;
}
.product-card__img-item a {
  font-size: 12px; color: #0066c0;
}
.product-card__img-item a:hover { text-decoration: underline; color: #c45500; }

.product-card__see-more {
  margin-top: 10px;
  font-size: 13px;
  color: #0066c0;
  cursor: pointer;
}
.product-card__see-more:hover { color: #c45500; text-decoration: underline; }

/* ── BROWSE ROW ──────────────────────────────────────── */
.browse-row {
  max-width: 1500px;
  margin: 16px auto;
  padding: 0 16px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
}
.browse-row__header {
  padding: 14px 16px 0;
  font-size: 20px;
  font-weight: 700;
}
.browse-row__items {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 12px 16px 16px;
}
.browse-item {
  flex-shrink: 0;
  width: 170px;
  text-align: center;
  cursor: pointer;
  padding: 4px;
}
.browse-item:hover .browse-item__title { text-decoration: underline; color: #c45500; }
.browse-item img {
  width: 100%; height: 150px;
  object-fit: contain;
}
.browse-item__title {
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  color: #0f1111;
}
