/*
 * humm Finance — frontend widget styles.
 * Uses humm brand colors: #f47b20 (humm orange), #332e2e (humm charcoal),
 * #fff5ec (light tint). Designed to drop into PS 1.7 / 8 themes (Bootstrap 4/5)
 * without overriding theme typography.
 */

.sd-humm-widget {
  display: inline-block;
  border: 1px solid #f2c8a3;
  background: #fff5ec;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.4;
  color: #332e2e;
  max-width: 100%;
}

.sd-humm-widget--full {
  display: block;
}

.sd-humm-widget__logo {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -1px;
  color: #f47b20;
  text-transform: lowercase;
}

.sd-humm-widget__msg {
  display: inline-block;
  vertical-align: middle;
}

.sd-humm-widget__msg strong {
  color: #332e2e;
  font-weight: 700;
}

.sd-humm-widget__price {
  color: #f47b20;
  font-weight: 700;
}

.sd-humm-widget__terms {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #767373;
}

.sd-humm-widget__terms a {
  color: #767373;
  text-decoration: underline;
}

/* Top bar variant — full-width strip across the site header */
.sd-humm-topbar {
  background: #332e2e;
  color: #ffffff;
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
}

.sd-humm-topbar a {
  color: #ffffff;
  text-decoration: underline;
}

.sd-humm-topbar__logo {
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #f47b20;
  text-transform: lowercase;
  font-size: 15px;
  margin-right: 6px;
}

/* Cart-page variant — slightly more prominent panel */
.sd-humm-widget--cart {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #f47b20;
  background: #fff5ec;
}

.sd-humm-widget--cart .sd-humm-widget__logo {
  font-size: 24px;
}
