/* HOTFIX 53c — Schatprijs widget in hero */
.schatprijs-widget {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(12, 26, 31, 0.10);
  position: relative;
  font-family: 'DM Sans', system-ui, sans-serif;
  max-width: 460px;
  width: 100%;
}
.schatprijs-widget::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, #ff6a1a, #f59e0b, #0f4c5c);
  border-radius: 17px;
  z-index: -1;
  opacity: 0.55;
}
.schatprijs-widget__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.schatprijs-widget__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ff6a1a;
  text-transform: uppercase;
}
.schatprijs-widget__badge {
  background: #fef3c7;
  color: #92400e;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.schatprijs-widget__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #0c1a1f;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.schatprijs-widget__field {
  margin-bottom: 12px;
}
.schatprijs-widget__label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #52525b;
  margin-bottom: 6px;
}
.schatprijs-widget__input,
.schatprijs-widget__select {
  width: 100%;
  background: #fafafa;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  color: #18181b;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.schatprijs-widget__input:focus,
.schatprijs-widget__select:focus {
  border-color: #ff6a1a;
}
.schatprijs-widget__row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}
.schatprijs-widget__btn {
  width: 100%;
  padding: 14px 22px;
  background: #ff6a1a;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s;
  font-family: inherit;
}
.schatprijs-widget__btn:hover:not(:disabled) {
  background: #b81818;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 106, 26, 0.25);
}
.schatprijs-widget__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.schatprijs-widget__result {
  background: #e6eef0;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #093644;
  display: none;
}
.schatprijs-widget__result--visible { display: block; animation: spFadeIn 0.4s ease; }
@keyframes spFadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
.schatprijs-widget__result-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}
.schatprijs-widget__result-row strong { color: #0c1a1f; }
.schatprijs-widget__error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
  display: none;
}
.schatprijs-widget__error--visible { display: block; }
.schatprijs-widget__success {
  text-align: center;
  padding: 20px 0;
}
.schatprijs-widget__success-icon {
  width: 56px;
  height: 56px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 12px;
  font-weight: 800;
}
.schatprijs-widget__success-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0c1a1f;
}
.schatprijs-widget__success-text {
  font-size: 14px;
  color: #52525b;
  line-height: 1.5;
}
.schatprijs-widget__step { display: none; }
.schatprijs-widget__step--active { display: block; }
.schatprijs-widget__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  color: #52525b;
}

.hero-layout__visual--schatprijs {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

@media (max-width: 768px) {
  .schatprijs-widget { padding: 20px; max-width: 100%; }
  .schatprijs-widget__row { grid-template-columns: 1fr; }
}

@media (min-width: 1024px) {
  .hero-layout__visual--schatprijs {
    justify-content: flex-end;
    max-width: 460px;
    margin-left: auto;
  }
}

/* ═══ HOTFIX 53d-fix2 — Widget in hero-context (witte bg) ═══ */
body.home .hero-home .schatprijs-widget,
.hero-layout__visual .schatprijs-widget {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  box-shadow: 0 12px 32px rgba(12, 26, 31, 0.08);
  max-width: 460px;
  margin: 0;
}
body.home .hero-home .schatprijs-widget::before {
  opacity: 0.4;
}
/* ═══ END ═══ */
