/* "Just share the link" panel: a shop link turning into a filled-in Item */

.panel .new-badge {
  display: inline-block;
  margin: 0 auto 14px;
  padding: 7px 14px 6px;
  border-radius: 999px;
  background: #6ED7C0;
  color: #1a1a1a;
  font-family: 'gotham-rounded-bold', sans-serif;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.autofill-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 720px;
  margin: 2.5em auto 0;
}

.autofill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.autofill-link svg {
  flex: none;
  width: 18px;
  height: 18px;
  color: #3FBFA5;
}

.autofill-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Points down while the demo is stacked, right once it sits in a row */
.autofill-arrow {
  flex: none;
  width: 30px;
  height: 30px;
  color: #3FBFA5;
  transform: rotate(90deg);
}

.autofill-card {
  flex: none;
  width: 260px;
  max-width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  text-align: left;
}

.wrapper-inner section article .autofill-card img {
  display: block;
  width: 100%;
  margin: 0;
}

.autofill-card-body {
  padding: 16px 18px 18px;
}

.autofill-title {
  color: #1a1a1a;
  font-family: 'gotham-rounded-bold', sans-serif;
  font-size: 18px;
  line-height: 1.3;
}

.autofill-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  color: #1a1a1a;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  line-height: 1.3;
}

.autofill-row .autofill-label {
  color: #6b6b6b;
}

@media screen and (min-width: 768px) {
  .autofill-demo {
    flex-direction: row;
    justify-content: center;
    gap: 28px;
  }

  .autofill-arrow {
    transform: none;
  }
}
