.custom-hero {
  background: var(--color-forest);
  color: var(--color-ivory);
  padding: var(--space-16) 0;
}

.custom-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  color: var(--color-ivory);
  margin: var(--space-3) 0 var(--space-4);
}

.custom-hero p {
  color: var(--color-ivory);
  opacity: 0.9;
}

.custom-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-12);
  align-items: start;
}

/* Grid items default to min-width: auto (their content's min-content
   size), so one too-wide descendant anywhere in a column can push the
   whole 1fr track — and on mobile, the whole page — wider than the
   viewport. Same bug already hit .cart-layout, .checkout-layout, and
   .pdp; this page just hadn't gotten the same fix yet. */
.custom-layout > * {
  min-width: 0;
}

@media (max-width: 900px) {
  .custom-layout { grid-template-columns: 1fr; }
}

.custom-image-thumbs {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-4);
}

.custom-image-thumbs img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: var(--border-default);
}

.custom-estimate-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--text-small);
}

.custom-estimate-total {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  border-top: var(--border-strong);
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  display: flex;
  justify-content: space-between;
}
