.jptb-bar {
  box-sizing: border-box;
  width: 100%;
  margin: 18px 0 0;
  padding: var(--jptb-padding);
  color: var(--jptb-color);
  background: var(--jptb-bg);
  border-radius: var(--jptb-radius);
  text-align: left;
}

/* The legacy payment image is replaced by the configured bar. */
.payment-logos { display: none !important; }

.jptb-bar__heading {
  margin: 0 0 10px;
  color: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.jptb-bar__text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
}

.jptb-methods {
  display: grid;
  grid-template-columns: repeat(var(--jptb-columns), minmax(0, 1fr));
  align-items: center;
  gap: var(--jptb-gap);
}

.jptb-methods--flex {
  display: flex;
  flex-wrap: wrap;
}

.jptb-methods--center { justify-content: center; }
.jptb-methods--left { justify-content: flex-start; }

.jptb-method {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 4px;
  color: inherit;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.jptb-method--highlight { border-color: currentColor; }

.jptb-method__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-width: var(--jptb-max-width);
  max-height: var(--jptb-max-height);
  object-fit: contain;
}

.jptb-message {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
}

.jptb-message--paypo { font-weight: 600; }
.jptb-message__icon { width: 20px; height: 20px; object-fit: contain; }

@media (max-width: 767px) {
  .jptb-methods { grid-template-columns: repeat(var(--jptb-mobile-columns), minmax(0, 1fr)); }
  .jptb-bar { margin-top: 14px; }
}
