/* Delior Products — matches the Energies spec-card layout */

.delior-products {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 80px;
  color: #fff;
}

/* Appended below the theme's Energies content, so it needs less top padding. */
.delior-products--solar {
  padding-top: 8px;
}

.delior-products__intro {
  max-width: 820px;
  margin-bottom: 56px;
}

.delior-products__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: #fff;
}

.delior-products__lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.delior-products__group {
  margin-bottom: 72px;
}

.delior-products--solar .delior-products__group {
  margin-bottom: 24px;
}

.delior-products__group-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: #fff;
}

.delior-products__group-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #e11d2a;
  margin-top: 12px;
}

.delior-products__group-lead {
  color: rgba(255, 255, 255, 0.6);
  margin: 16px 0 32px;
  font-size: 0.98rem;
  max-width: 760px;
}

.delior-products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* Four solar lights sit better as a 2x2 / 4-up grid than stretched thirds. */
.delior-products--solar .delior-products__grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.delior-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 26px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.delior-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
}

/* White product cut-outs sit on a white panel so they don't read as a
   floating white box on the dark card. */
.delior-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  margin-bottom: 22px;
  padding: 14px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.delior-card__media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.delior-card--dark .delior-card__media {
  background: rgba(255, 255, 255, 0.04);
}

.delior-card--dark .delior-card__media img {
  mix-blend-mode: normal;
}

.delior-card__placeholder {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.35);
}

.delior-card--dark .delior-card__placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.delior-card__name {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 8px;
  color: #fff;
}

.delior-card__tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin: 0 0 26px;
}

.delior-card__specs {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex-grow: 1;
}

.delior-card__specs li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.delior-card__specs li:last-child {
  border-bottom: none;
}

.delior-card__spec-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.delior-card__spec-value {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: right;
}

.delior-card__cta {
  display: block;
  text-align: center;
  padding: 15px 20px;
  background: #16a34a;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.25s ease;
}

.delior-card__cta:hover {
  background: #128a3e;
}

@media (max-width: 640px) {
  .delior-products {
    padding: 44px 18px 60px;
  }

  .delior-products__group {
    margin-bottom: 52px;
  }

  .delior-card__media {
    height: 200px;
  }
}
