@import url('https://fonts.googleapis.com/css2?family=Allura&family=Caveat:wght@400;700&family=Cinzel:wght@400;700&family=Dancing+Script:wght@400;700&family=Great+Vibes&family=Lobster&family=Marck+Script&family=Pacifico&family=Playfair+Display:wght@400;700&family=Sacramento&display=swap');

.field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.field-head label {
  margin: 0;
}

.field-head #mic {
  padding: 9px 14px;
}

.field-head + textarea {
  margin: 8px 0 12px;
}

.price strong > span {
  display: inline;
}

.price strong > b {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

.font-picker {
  margin: 4px 0 16px;
}

.font-picker > b,
.font-picker small {
  display: block;
}

.font-picker small {
  margin-top: 7px;
  color: #971016;
  font-style: italic;
}

.font-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.font-option {
  min-height: 47px;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid #d2d2ce;
  background: #fff;
  color: #8f1018;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.15;
  text-align: left;
}

.font-option:hover,
.font-option.active {
  border-color: #f40034;
  background: #fff1f3;
  color: #9d0e1c;
  box-shadow: inset 0 0 0 2px #f40034;
  transform: none;
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  header,
  footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  main,
  .grid,
  .card {
    min-width: 0;
    max-width: 100%;
  }

  .preview {
    padding: 52px 46px;
    max-width: 100%;
    overflow: hidden;
  }

  .stamp {
    min-width: 180px;
  }

  .pline {
    min-height: 36px;
  }

  .tool {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .left-tools,
  .right-tools {
    gap: 2px;
    flex-direction: row;
  }

  .left-tools {
    right: calc(100% + 5px);
  }

  .right-tools {
    left: calc(100% + 5px);
  }

  .field-head #mic {
    padding: 8px 10px;
    font-size: .8rem;
  }
}
