/* ═══════════════════════════════════════════════
   Li8 Brands — products.css
   Internal category page (24-image product grid)
   Matches the "Combo Gift Sets" catalogue design
═══════════════════════════════════════════════ */

.product-hero {
  position: relative;
  background: var(--navy, #16204e);
  color: #fff;
  padding: 40px 0 44px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.product-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.product-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.product-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(9,15,40,0.92) 0%, rgba(9,15,40,0.8) 45%, rgba(9,15,40,0.92) 100%);
}
.product-hero .container { position: relative; z-index: 2; }
.product-breadcrumb {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.product-breadcrumb a { color: rgba(255,255,255,0.65); transition: color .2s; }
.product-breadcrumb a:hover { color: #fff; }
.product-breadcrumb .current { color: var(--gold-light, #f6d7a6); }
.product-hero h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.product-hero p {
  max-width: 620px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.78);
  font-size: .92rem;
  line-height: 1.6;
}
.product-hero .button-primary { padding: 11px 26px; font-size: .92rem; display: inline-block; }

.product-section {
  background: var(--cream-mid, #f8f1ea);
  padding: 24px 0 72px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--white, #fff);
  border: 1px solid var(--border, rgba(22,32,78,0.08));
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(22,32,78,0.06));
  transition: all .22s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg, 0 16px 48px rgba(22,32,78,0.13));
}
.product-card-img {
  aspect-ratio: 1/1;
  background: var(--cream-dark, #f2e8de);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: default !important;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  cursor: default !important;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img .placeholder-icon {
  font-size: 2.2rem;
  color: var(--text-light, #8892aa);
  opacity: .5;
}
.product-quick-enquire {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  transform: translateY(100%);
  background: linear-gradient(0deg, rgba(22,32,78,0.92), rgba(22,32,78,0));
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  text-align: center;
  padding: 22px 10px 10px;
  transition: transform .28s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.product-card:hover .product-quick-enquire { transform: translateY(0); }
.product-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.product-card-body h3 {
  font-size: .98rem;
  font-weight: 800;
  color: var(--navy, #16204e);
  margin-bottom: 4px;
}
.product-card-body .product-desc {
  font-size: .82rem;
  color: var(--text-muted, #5a6382);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}
.product-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border, rgba(22,32,78,0.08));
}
.product-price {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--navy, #16204e);
}
.product-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy, #16204e);
  background: transparent;
  border: 1.5px solid var(--navy, #16204e);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: all .2s ease;
}
.product-add-btn:hover {
  background: var(--gold, #cf7b1c);
  border-color: var(--gold, #cf7b1c);
  color: #fff;
}

.product-bottom-cta { text-align: center; margin-top: 48px; }
.product-bottom-cta .button-primary { padding: 14px 30px; font-size: .97rem; }

/* Trust strip under hero */
.product-trust-strip {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.product-trust-strip span {
  font-size: .74rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Related categories */
.related-categories {
  background: var(--white, #fff);
  padding: 56px 0 64px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.related-card {
  display: block;
  border-radius: var(--radius-md, 16px);
  overflow: hidden;
  border: 1px solid var(--border, rgba(22,32,78,0.08));
  background: var(--cream-mid, #f8f1ea);
  transition: all .22s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md, 0 6px 24px rgba(22,32,78,0.09)); }
.related-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; cursor: default !important; }
.related-card span {
  display: block;
  padding: 10px 12px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy, #16204e);
  text-align: center;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; }
}
