/* CompraConfio — homepage additions (loads after product.css) */

/* Hero banner */
.hero-banner {
  display: block;
  position: relative;
  background: #e8e4e3;
}

.hero-banner img { width: 100%; height: 100%; object-fit: cover; }

.hero-desktop { display: none; }

.hero-mobile { display: block; }

.hero-mobile img { width: 100%; height: auto; }

/* Trust badges under hero */
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
}

.trust-row strong {
  display: block;
  font-size: 0.76rem;
  color: var(--ink);
  margin-bottom: 2px;
}

/* Section eyebrow */
.section-eyebrow {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Rating summary block */
.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.85rem;
  color: var(--muted);
}

.rating-summary .stars { color: var(--ink); font-size: 1.05rem; }

/* Steps */
.steps { display: grid; gap: 20px; counter-reset: step; }

.step { display: flex; gap: 14px; align-items: flex-start; }

.step-num {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
  width: 30px;
}

.step h3 { font-size: 0.95rem; margin-bottom: 4px; }
.step p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; }

/* UGC images rail (homepage) */
.ugc-item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 4px;
  background: var(--soft);
}

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .trust-row { padding: 18px; font-size: 0.74rem; }
}

@media (min-width: 1000px) {
  .hero-mobile { display: none; }
  /* Banner artwork is 1024px wide; capping it keeps the text sharp instead of
     upscaling it across the whole window. The band colour matches the artwork edges. */
  .hero-desktop { display: block; max-width: 1180px; margin: 0 auto; }
  .hero-desktop img { width: 100%; height: auto; }
  .hero-title { font-size: 2.6rem; }
  .steps { gap: 34px; }
}
