.gs-cost-examples {
  padding: 64px 0;
  background: rgba(var(--bg-a), 1);
}

.gs-cost-examples__header {
  display: flex;
  max-width: 860px;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 0 auto 48px;
  text-align: center;
}

.gs-cost-examples__eyebrow {
  color: rgba(var(--cl-f), 1);
  font: 700 13px/16px var(--font-family);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gs-cost-examples__heading {
  margin: 0;
  color: rgba(var(--cl-d), 1);
  font: 800 clamp(36px, 3.6vw, 48px)/1.1 var(--font-family2);
  letter-spacing: -.025em;
  text-wrap: pretty;
}

.gs-cost-examples__description {
  margin: 0;
  color: rgba(var(--cl-d), 1);
  font: 400 18px/28px var(--font-family);
}

.gs-cost-examples__description strong {
  color: rgba(var(--cl-d), 1);
  font-weight: 600;
}

.gs-cost-examples__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.gs-cost-examples__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(var(--bg-a), 1);
  box-shadow: inset 0 0 0 1px var(--br-a);
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.18s ease;
}

a.gs-cost-examples__card:hover,
a.gs-cost-examples__card:focus-visible {
  box-shadow: 0 8px 20px rgba(var(--cl-d), 0.12), inset 0 0 0 1px var(--br-a);
  color: inherit;
  text-decoration: none;
}

.gs-cost-examples__diagram {
  display: flex;
  height: 104px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(var(--bg-c), 1);
}

.gs-cost-examples__diagram svg {
  display: block;
  max-width: 100%;
  height: 80px;
}

.gs-cost-examples__shape {
  fill: rgba(var(--cl-f), 0.08);
  stroke: rgba(var(--cl-f), 1);
  stroke-width: 1.5px;
  vector-effect: non-scaling-stroke;
}

.gs-cost-examples__details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gs-cost-examples__dimensions,
.gs-cost-examples__title {
  color: rgba(var(--cl-d), 1);
  font: 600 18px/24px var(--font-family);
  font-variant-numeric: tabular-nums;
}

.gs-cost-examples__title {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

.gs-cost-examples__specification {
  color: rgba(var(--cl-d), 0.78);
  font: 400 14px/20px var(--font-family);
}

.gs-cost-examples__price-row {
  display: flex;
  flex-wrap: wrap; /* narrow 5-column cards: "Configure ›" moves under the price instead of running past the card (V4, 2026-12-02) */
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  row-gap: 4px;
  margin-top: auto;
}

.gs-cost-examples__price {
  color: rgba(var(--cl-d), 1);
  font: 800 26px/30px var(--font-family2);
  letter-spacing: -0.02em;
}

/* Price with a prefix ("from") and/or a unit ("per sq ft"): prefix + price on one line, the unit on the next. */
.gs-cost-examples__price-row--stack {
  flex-wrap: wrap;
  align-items: flex-end;
  row-gap: 6px;
}

.gs-cost-examples__price-stack {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.gs-cost-examples__price-stack .gs-cost-examples__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 4px;
}

.gs-cost-examples__price--unit {
  font-size: 22px;
  line-height: 26px;
}

.gs-cost-examples__price-value {
  white-space: nowrap;
}

.gs-cost-examples__price-prefix,
.gs-cost-examples__unit {
  color: rgba(var(--cl-d), 0.78);
  font: 600 12px/16px var(--font-family);
  letter-spacing: 0;
}

.gs-cost-examples__price-prefix {
  white-space: nowrap;
}

.gs-cost-examples__configure {
  flex: 0 0 auto;
  color: rgba(var(--cl-f), 1);
  font: 600 14px/20px var(--font-family);
  white-space: nowrap;
}

.gs-cost-examples__tag {
  display: inline-flex;
  max-width: 100%;
  min-height: 26px;
  align-self: flex-start;
  align-items: center;
  overflow: hidden;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(var(--bg-h), 1);
  color: rgba(var(--cl-d), 0.86);
  font: 600 12px/16px var(--font-family);
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  .gs-cost-examples__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gs-cost-examples {
    padding: 48px 0;
  }

  .gs-cost-examples__header {
    gap: 14px;
    margin-bottom: 32px;
  }

  .gs-cost-examples__description {
    font-size: 16px;
    line-height: 24px;
  }

  .gs-cost-examples__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .gs-cost-examples__card {
    padding: 16px;
  }
}

@media (max-width: 479px) {
  .gs-cost-examples__grid {
    grid-template-columns: 1fr;
  }
}
