/* ====== GRID ====== */

.boiler-grid {
display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .boiler-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .boiler-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== CARD ====== */

.boiler-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;

  border-radius: 30px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
    height: auto;
}

/* iOS hover */
.boiler-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* ====== IMAGE ====== */

.boiler-image-wrap {
  position: relative;
  width: 100%;
  background: #f4f6f8;
}

.boiler-image {
     width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ====== BADGES ====== */

.boiler-badge {
  position: absolute;
  top: 16px;
  left: 16px;

  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;

  color: #1e4fd6;
  background: rgba(30, 79, 214, 0.1);

  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.boiler-for {
  font-size: 13px;
  color: #333;
  margin-bottom: 14px;
  line-height: 1.4;
  margin-top: 0;
}

.boiler-for span {
  font-weight: 500;
  color: #666;
}

/* ====== CONTENT ====== */

.boiler-content {
padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Title */
.boiler-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111;
}

/* Description */
.boiler-description {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* ====== TAGS (характеристики) ====== */

.boiler-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.boiler-tag {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;

  color: #333;
  background: #f1f2f4;

  border-radius: 999px;
}

/* ====== ACTIONS ====== */

.boiler-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Primary button */
.btn-calc {
    padding: 10px 10px;
    text-align: center;
    background: #95c11f;
    color: #ffffff;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
    font-weight: 600;
    width: 100%;
}

.btn-calc:hover {
  background: #5880C0;
}

.btn-calc:active {
  transform: scale(0.97);
}

/* Secondary link */
.link-more {
  font-size: 14px;
    color: #999;
    white-space: nowrap;
}

.link-more:hover {
  text-decoration: underline;
}

.boiler-requirements {
  margin-top: 80px;
  padding: 40px;
  background: #f8f9fb;
  border-radius: 30px;
}

.boiler-requirements h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.requirements-intro {
  font-size: 16px;
  color: #555;
  margin-bottom: 28px;
  max-width: 720px;
}

.requirements-grid {
display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.requirement-item {
border-radius: 15px;
    padding: 20px;
    margin: 0px;
    font-size: 14px;
    color: white;
    background: #d9f5ff2b;
        line-height: 1.3;
}

/* Мобилка */
@media (max-width: 640px) {
  .requirements-grid {
margin: 0px;
        grid-template-columns: repeat(2, 1fr);
  }

  .boiler-content {
    padding: 20px;
}
.boiler-card {
  border-radius: 20px;
}
}