.amfd-pill{
  margin-top: 14px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid #2ed2cc;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  max-width: 100%;
}

.amfd-topline{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.amfd-icon{
  font-size: 18px;
  line-height: 1;
}

.amfd-title{
  font-family: "RetroSide", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #13233d;
  line-height: 1;
}

.amfd-bar{
  width: 100%;
  height: 12px;
  background: #e9f7f6;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.amfd-bar-fill{
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff2ca8 0%, #2ed2cc 100%);
  transition: width .25s ease;
}

.amfd-meta{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.amfd-amount{
  font-weight: 800;
  color: #13233d;
  font-size: 13px;
}

.amfd-message{
  color: #333;
  font-size: 13px;
  line-height: 1.25;
}

.amfd-pill.is-unlocked{
  border-color: #26c281;
}

.amfd-pill.is-unlocked .amfd-bar-fill{
  background: linear-gradient(90deg, #26c281 0%, #2ed2cc 100%);
}

/* desktop / tablet: make it match the add-to-cart card shape better */
@media (min-width: 768px){
  .amfd-pill{
    border-radius: 24px;
    padding: 16px 18px;
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
  }

  .amfd-title{
    font-size: 17px;
  }

  .amfd-amount,
  .amfd-message{
    font-size: 15px;
  }

  .amfd-bar{
    height: 14px;
  }
}

/* mobile: keep the tighter softer pill/card look */
@media (max-width: 767px){
  .amfd-pill{
    border-radius: 18px;
    padding: 12px;
  }

  .amfd-title{
    font-size: 14px;
  }

  .amfd-amount,
  .amfd-message{
    font-size: 12px;
  }
}