/* ZELMIO_RETENTION */

.zelmio-retention-section {
  width: min(1200px, calc(100% - 32px));
  margin: 42px auto;
}

.zelmio-retention-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 17px;
}

.zelmio-retention-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  line-height: 1.2;
}

.zelmio-retention-heading p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 14px;
}

.zelmio-retention-grid {
  display: grid;
  grid-template-columns:
    repeat(6, minmax(0,1fr));
  gap: 14px;
}

.zelmio-retention-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.zelmio-retention-card:hover {
  transform:
    translateY(-3px);
  border-color: #d1d5db;
  box-shadow:
    0 12px 28px
    rgba(15,23,42,.09);
}

.zelmio-retention-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8fafc;
}

.zelmio-retention-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zelmio-retention-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #9ca3af;
  font-weight: 800;
}

.zelmio-retention-info {
  padding: 11px;
}

.zelmio-retention-title {
  min-height: 37px;
  overflow: hidden;
  color: #374151;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.zelmio-retention-price {
  margin-top: 8px;
  color: #111827;
  font-weight: 850;
  font-size: 15px;
}


@media (max-width: 1000px) {

  .zelmio-retention-grid {
    grid-template-columns:
      repeat(4, minmax(0,1fr));
  }
}


@media (max-width: 700px) {

  .zelmio-retention-section {
    width: calc(100% - 22px);
    margin: 30px auto;
  }

  .zelmio-retention-heading h2 {
    font-size: 20px;
  }

  .zelmio-retention-grid {
    display: flex;
    overflow-x: auto;
    gap: 11px;
    padding-bottom: 7px;
    scroll-snap-type: x proximity;
  }

  .zelmio-retention-card {
    flex: 0 0 155px;
    scroll-snap-align: start;
  }
}
