.giftcards-page {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.giftcards-table th {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  border-bottom-width: 1px;
}

.giftcards-table td {
  vertical-align: top;
}

.giftcards-code {
  display: grid;
  gap: .2rem;
}

.giftcards-code__value {
  font-weight: 700;
  color: #111827;
  overflow-wrap: anywhere;
}

.giftcards-meta {
  color: #6b7280;
  font-size: .82rem;
  overflow-wrap: anywhere;
}

.giftcards-person {
  display: grid;
  gap: .18rem;
}

.giftcards-amount {
  font-weight: 700;
  color: #111827;
}

.giftcards-orders {
  display: grid;
  gap: .65rem;
}

.giftcards-order {
  border: 1px solid #e5e7eb;
  border-radius: .9rem;
  padding: .85rem .95rem;
  background: #fff;
  display: grid;
  gap: .45rem;
}

.giftcards-order__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.giftcards-order__items {
  color: #334155;
  font-size: .9rem;
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  .giftcards-table thead {
    display: none;
  }

  .giftcards-table,
  .giftcards-table tbody,
  .giftcards-table tr,
  .giftcards-table td {
    display: block;
    width: 100%;
  }

  .giftcards-table tr {
    padding: .85rem;
    border-bottom: 1px solid #eef2f7;
  }

  .giftcards-table tr:last-child {
    border-bottom: 0;
  }

  .giftcards-table td {
    border-bottom: 0;
    padding: .32rem 0;
    text-align: left !important;
    overflow-wrap: anywhere;
  }

  .giftcards-table td[colspan] {
    text-align: center !important;
  }

  .giftcards-table td:not([colspan])::before {
    content: attr(data-label);
    display: block;
    margin-bottom: .12rem;
    color: #94a3b8;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .giftcards-order__top {
    display: grid;
  }
}
