.nf-configurator-debug {
  max-width: 1340px;
  margin: 0 auto 24px;
  padding: 12px 20px;
  border: 1px solid #d7e4f1;
  background: #f6fbff;
  color: #124170;
  font-family: Poppins, sans-serif;
  font-size: 13px;
}

.nf-dynamic-section {
  margin-bottom: 28px;
}

.nf-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
  gap: 12px;
}

.nf-option-grid--models {
  grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
}

.nf-option-card {
  min-height: 158px;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nf-option-card:hover {
  border-color: #91ae3b;
  box-shadow: 0 3px 12px rgba(18, 65, 112, 0.1);
}

.nf-option-radio:checked + .nf-option-card {
  border: 2px solid #91ae3b;
}

.nf-option-media {
  min-height: 88px;
  border-bottom: 1px solid #ececec;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.nf-option-media img {
  display: block;
  width: 100%;
  height: 96px;
  object-fit: contain;
}

.nf-preview-product-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.nf-quote-panel {
  margin-top: 28px;
}

.nf-quote-card {
  border: 1px solid #bdbdbd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.nf-quote-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid #e6e6e6;
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 16px;
}

.nf-quote-head strong {
  color: #124170;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.nf-quote-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e6e6e6;
}

.nf-quote-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #f8fafc;
  font-family: Poppins, sans-serif;
  font-size: 13px;
}

.nf-quote-row span {
  color: #4b4743;
}

.nf-quote-row strong {
  color: #222;
  font-weight: 600;
  text-align: right;
}

.nf-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 18px;
}

.nf-quote-contact,
.nf-copy-config {
  border: 0;
  border-radius: 37px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nf-quote-contact {
  background: #124170;
  color: #fff;
}

.nf-copy-config {
  background: #edf6ff;
  color: #124170;
}

.nf-option-label {
  color: #222;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  padding: 10px 8px 6px;
}

.nf-option-description {
  color: #4b4743;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  line-height: 15px;
  padding: 0 8px 8px;
}

.nf-option-price {
  margin-top: auto;
  background: #91ae3b;
  color: #fff;
  font-family: Poppins, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  padding: 6px 8px;
}

@media (max-width: 767px) {
  .nf-option-grid,
  .nf-option-grid--models {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .nf-option-card {
    width: 142px;
    flex: 0 0 142px;
  }

  .nf-quote-lines {
    grid-template-columns: 1fr;
  }

  .nf-quote-head {
    flex-direction: column;
  }
}
